:root {
  color-scheme: light;
  --ivory: #f7f5ef;
  --ivory-deep: #eeebe2;
  --card: #fffefa;
  --ink: #17161b;
  --soft: #55515f;
  --muted: #77717f;
  --gold: #b99243;
  --gold-bright: #d1b06a;
  --lavender: #7c6aff;
  --line: #dcd6ca;
  --line-strong: #c9c0b1;
  --success: #34705a;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--ivory); }
body {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 24% at 52% 4%, rgba(124,106,255,.10), transparent 72%),
    radial-gradient(ellipse 45% 24% at 15% 20%, rgba(185,146,67,.09), transparent 72%),
    var(--ivory);
  font-size: 1rem;
  line-height: 1.62;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .25;
  background-image: linear-gradient(rgba(23,22,27,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(23,22,27,.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 55%);
}
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; z-index: 100; top: .7rem; left: .7rem; padding: .75rem 1rem; border-radius: 999px; color: #fff; background: var(--ink); font-weight: 750; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header {
  width: min(calc(100% - 2rem), 72rem);
  min-height: 4.75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(201,192,177,.8);
}
.site-header > *, .grid > *, .step > *, .footer-row > * { min-width: 0; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-size: .8rem; font-weight: 850; letter-spacing: .18em; text-decoration: none; }
.wordmark img { width: 2.3rem; height: 2.3rem; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(72,58,138,.18)); }
.header-nav, .footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.2rem; }
.header-nav a, .footer-nav a { color: var(--soft); font-size: .86rem; font-weight: 650; text-decoration: none; }
.header-nav a:hover, .footer-nav a:hover { color: var(--ink); }
.button {
  min-height: 3rem;
  padding: .82rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 780;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #17130b; background: linear-gradient(105deg, var(--gold-bright), var(--gold)); box-shadow: 0 12px 28px rgba(127,91,27,.2); }
.button-secondary { color: #fff; background: var(--ink); box-shadow: 0 12px 26px rgba(23,22,27,.16); }
.button-outline { color: var(--ink); border-color: var(--line-strong); background: rgba(255,254,250,.62); }
.wrap { width: min(calc(100% - 2rem), 72rem); margin: 0 auto; padding: clamp(4.5rem,9vw,7.5rem) 0 5rem; }
.hero { padding-bottom: clamp(3rem,7vw,5rem); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 1.1rem; color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; text-wrap: balance; }
h1 { max-width: 14ch; font-size: clamp(3rem,8vw,6.5rem); font-weight: 800; line-height: .96; }
h2 { font-size: clamp(1.55rem,3vw,2.35rem); font-weight: 790; line-height: 1.08; }
h3 { font-size: 1.05rem; font-weight: 780; line-height: 1.25; }
.gradient-text { color: transparent; background: linear-gradient(105deg, #a87d2f 5%, #b99243 48%, #7464e8 100%); background-clip: text; -webkit-background-clip: text; }
.lead { max-width: 47rem; margin: 1.5rem 0 0; color: var(--soft); font-size: clamp(1.05rem,2vw,1.22rem); line-height: 1.72; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.grid { margin-top: 2rem; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.25rem; }
.card { padding: clamp(1.35rem,3vw,2rem); border: 1px solid var(--line); border-radius: 1.4rem; background: rgba(255,254,250,.88); box-shadow: 0 22px 70px rgba(61,51,35,.07); }
.card, .lead, .small, .bubble, .legal-article { overflow-wrap: anywhere; }
.card > h2 { margin-bottom: 1.25rem; }
.step { display: grid; grid-template-columns: 2.5rem minmax(0,1fr); gap: .9rem; margin: 1.35rem 0; }
.num { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ink); font-size: .82rem; font-weight: 850; box-shadow: 0 8px 20px rgba(23,22,27,.16); }
.small, .updated { color: var(--muted); }
.phone { max-width: 25rem; margin: 1.5rem auto 0; padding: 3.25rem 1rem 1.15rem; border: 7px solid var(--ink); border-radius: 2.2rem; background: #e7e3db; box-shadow: 0 24px 50px rgba(23,22,27,.18); }
.bubble { margin: .65rem 0; padding: .9rem 1rem; border-radius: 1.1rem 1.1rem 1.1rem .3rem; background: #fffefa; font-size: .91rem; line-height: 1.5; box-shadow: 0 6px 15px rgba(23,22,27,.06); }
.reply { width: max-content; margin: .65rem 0 .65rem auto; padding: .62rem 1rem; border-radius: 1.1rem 1.1rem .3rem 1.1rem; color: #17130b; background: linear-gradient(105deg, var(--gold-bright), var(--gold)); font-weight: 820; }
.confirm { border-left: 4px solid var(--success); }
.full { grid-column: 1 / -1; }
.terms-list { padding-left: 1.25rem; columns: 2; column-gap: 3rem; }
.terms-list li { margin: 0 0 1rem; break-inside: avoid; }
.notice { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(185,146,67,.28); border-left: 4px solid var(--gold); border-radius: .9rem; background: rgba(185,146,67,.1); }
.legal-wrap { width: min(calc(100% - 2rem), 58rem); }
.legal-article { margin-top: 2rem; padding: clamp(1.4rem,5vw,3rem); }
.legal-article h2 { margin: 2rem 0 .55rem; font-size: clamp(1.3rem,3vw,1.75rem); }
.legal-article h2:first-child { margin-top: 0; }
.site-footer { width: min(calc(100% - 2rem), 72rem); margin: 0 auto; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer p { margin: 1rem 0 0; font-size: .83rem; }
:focus-visible { outline: 3px solid rgba(124,106,255,.5); outline-offset: 4px; }
@media (max-width: 48rem) {
  .site-header { min-height: 4.4rem; }
  .header-nav a:not(.button) { display: none; }
  .header-nav .button { min-height: 2.65rem; padding: .65rem 1rem; }
  .wrap { padding-top: 3.5rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .terms-list { columns: 1; }
}
@media (max-width: 28rem) {
  .site-header { width: min(calc(100% - 1.5rem), 72rem); gap: .5rem; }
  .header-nav .button { max-width: 8.2rem; white-space: normal; text-align: center; line-height: 1.15; }
  .wrap, .site-footer { width: min(calc(100% - 1.5rem), 72rem); }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .phone { border-width: 5px; padding-inline: .7rem; }
}
@media (max-width: 25rem) {
  .wordmark { font-size: .7rem; letter-spacing: .13em; }
  .wordmark img { width: 2rem; height: 2rem; }
  .header-nav .button { font-size: .8rem; padding-inline: .8rem; }
  .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
