@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-600.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
}

:root {
  --navy: #040543;
  --white: #ffffff;
  --paper: #f4f5f7;
  --sand: #c4a37a;
  --ink: #040543;
  --muted: #3a3b57;
  --line: rgba(4, 5, 67, 0.14);
  --line-strong: rgba(4, 5, 67, 0.28);
  --danger: #7a1f2b;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --header: 4.75rem;
  --shadow: 0 18px 40px rgba(4, 5, 67, 0.06);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.price-figure,
.panel-price {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 4.75rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  line-height: 1.08;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
  outline: 3px solid var(--sand);
  outline-offset: 2px;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 118px;
  height: 53px;
}

.nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.nav-toggle {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
}

.button:hover,
.header-cta:hover {
  background: #16165a;
}

.button.secondary,
.header-cta.secondary {
  background: transparent;
  color: var(--navy);
}

.button:focus-visible,
.header-cta:focus-visible,
.text-link:focus-visible,
.nav-list a:focus-visible,
.logo:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.75rem;
}

.text-link {
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  padding: 2.75rem 0 3.25rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.offer-line {
  margin-top: 1.35rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.motif {
  position: absolute;
  right: -2rem;
  bottom: -1.5rem;
  width: min(520px, 90vw);
  height: auto;
  color: var(--navy);
  opacity: 0.08;
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.hero-panel img {
  width: min(240px, 70%);
  height: auto;
}

.panel-price {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.95;
}

.panel-price span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

.sand-rule {
  width: 3rem;
  height: 2px;
  background: var(--sand);
  border: 0;
  margin: 0;
}

section {
  padding: 4.25rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p,
.prose p + p {
  margin-top: 1rem;
}

.paper {
  background: var(--paper);
}

.split {
  display: grid;
  gap: 1.5rem;
}

.prose {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.075rem;
}

.prose.follow {
  margin-top: 1.5rem;
}

.plain-list {
  max-width: 40rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.plain-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 2px;
  background: var(--navy);
}

section h2 {
  margin-bottom: 1rem;
}

.close h2 {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.aside-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
}

.aside-card .panel-price {
  color: var(--navy);
}

.aside-card .panel-price span {
  color: var(--muted);
}

.aside-card p + p {
  margin-top: 0.75rem;
  color: var(--muted);
}

h3 {
  margin-bottom: 1rem;
}

.area-grid,
.step-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-card,
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
}

.paper .area-card {
  background: var(--white);
}

.icon {
  width: 36px;
  height: 36px;
  color: var(--navy);
  margin-bottom: 1rem;
}

.area-card p,
.step p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.price-tag {
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.who-grid {
  display: grid;
  gap: 2rem;
}

.form-section {
  background:
    linear-gradient(180deg, var(--paper) 0, var(--paper) 100%);
}

.form-layout {
  display: grid;
  gap: 1.5rem;
}

.form-card,
.success {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1rem 1.4rem;
}

form {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 1.15rem;
}

label,
legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.75rem;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.hint,
.optional,
.req {
  margin-left: auto;
  font-weight: 500;
  color: var(--muted);
}

.req {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.5;
}

input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.error {
  margin: 0.4rem 0 0;
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 500;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.choices,
.pills {
  display: grid;
  gap: 0.65rem;
}

.pills {
  grid-template-columns: repeat(auto-fit, minmax(4.6rem, 1fr));
}

.choice,
.pill {
  position: relative;
}

label.choice,
label.pill {
  display: block;
  margin: 0;
}

.choice input,
.pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice-body,
.pill span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}

.pill span {
  justify-content: center;
  text-align: center;
  font-weight: 600;
}

.choice-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.choice-name {
  font-weight: 600;
}

.choice-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.choice-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--navy);
}

.choice input:checked + .choice-body,
.pill input:checked + span {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
  background: #f7f7fb;
}

.choice input:focus + .choice-body,
.pill input:focus + span,
.choice input:focus-visible + .choice-body,
.pill input:focus-visible + span {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
}

.total strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.total span {
  color: var(--sand);
  font-size: 0.95rem;
}

.form-actions {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.form-actions .button {
  width: 100%;
}

.button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.success {
  display: none;
}

.success.is-visible {
  display: block;
}

.success h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.success p {
  margin-top: 0.9rem;
  font-size: 1.15rem;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.close {
  background: var(--navy);
  color: var(--white);
}

.close .wrap {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
}

.close p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  max-width: 40rem;
}

.close .button {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.close .text-link {
  color: var(--sand);
}

.close .button:focus-visible,
.close .text-link:focus-visible {
  outline-color: var(--sand);
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.footer-logo {
  width: 132px;
  height: 132px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a {
  color: var(--sand);
  font-weight: 600;
}

.site-footer a:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 3px;
}

@media (max-width: 759px) {
  .motif {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.2rem;
    cursor: pointer;
    font-weight: 600;
  }

  .nav-check:focus-visible + .nav-toggle {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
  }

  .nav-list {
    display: none;
  }

  .nav-check:checked ~ nav .nav-list {
    display: grid;
    position: absolute;
    right: 1rem;
    top: calc(var(--header) - 0.15rem);
    min-width: 220px;
    padding: 0.6rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 20;
  }

  .nav-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.55rem;
    border-radius: 8px;
  }

  .header-cta {
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .logo img {
    width: 96px;
    height: 43px;
  }
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    padding: 4.5rem 0 5rem;
    gap: 3rem;
  }

  .hero-panel {
    min-height: 420px;
  }

  .split,
  .who-grid,
  .form-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }

  .area-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-card,
  .success {
    padding: 1.75rem 1.6rem 1.8rem;
  }

  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }

  .choices {
    grid-template-columns: 1fr 1fr;
  }

  .form-actions .button {
    width: auto;
    min-width: 220px;
  }

  .form-layout .intro {
    position: sticky;
    top: calc(var(--header) + 1.5rem);
  }
}

@media (min-width: 1080px) {
  .area-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
