:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 80px 28px;
}

main {
  width: 100%;
  max-width: 760px;
}

header {
  padding: 0 4px;
  margin-bottom: 40px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6.8vw, 76px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

header p {
  margin: 16px 0 0;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.022em;
  color: #6e6e73;
}

.enquiry {
  padding: 36px;
  background: #f5f5f7;
  border-radius: 24px;
}

.purchase {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 2px solid #fff;
}

.purchase-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.price {
  margin: 0;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

body[data-view="buy-now"] h2 {
  margin-bottom: 0;
}

body[data-view="buy-now"] .enquiry.is-expanded h2 {
  margin-bottom: 28px;
}

h2 {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.032em;
}

form,
.field {
  display: grid;
}

form {
  gap: 24px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  min-width: 0;
  gap: 9px;
}

label {
  padding-left: 2px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: #1d1d1f;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input {
  height: 52px;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.optional {
  color: #6e6e73;
  font-weight: 400;
}

input:focus,
textarea:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgb(0 113 227 / 14%);
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

#form-status {
  flex: 1;
  margin: 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.45;
}

#form-status:empty {
  display: none;
}

button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: background-color 120ms ease;
}

button:hover {
  background: #0077ed;
}

button:active {
  background: #0068d1;
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

button:focus-visible {
  outline: 3px solid #0071e3;
  outline-offset: 4px;
}

#enquiry-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 32px;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  color: #1d1d1f;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
}

#enquiry-toggle:hover {
  color: #0071e3;
}

#enquiry-toggle svg {
  width: 20px;
  height: 20px;
}

#enquiry-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

body[data-view="buy-now"] button[type="submit"] {
  background: #fff;
  color: #1d1d1f;
}

body[data-view="buy-now"] button[type="submit"]:hover {
  background: #ebebef;
}

@media (max-width: 540px) {
  body {
    padding: 56px 20px;
  }

  header {
    margin-bottom: 32px;
  }

  header p {
    font-size: 19px;
    margin-top: 12px;
  }

  .enquiry {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  button {
    width: 100%;
  }

  #buy-now {
    width: auto;
    padding-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  input,
  textarea,
  button {
    transition: none;
  }
}
