:root {
  color-scheme: light;
  --cream: #fdf5e7;
  --ink: #0d0a1f;
  --purple: #493c7d;
  --purple-dark: #3d326b;
  --mint: #d8f0ed;
  --line: rgba(13, 10, 31, 0.10);
  --muted: #625d73;
  --white: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); }
a { color: var(--purple); }
.root-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.root-card { width: min(100%, 600px); padding: clamp(28px, 7vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: 0 24px 80px rgba(73,60,125,.10); }
.root-card h1 { margin: 12px 0 18px; font: 500 clamp(36px, 8vw, 52px)/1.05 Fraunces, Georgia, serif; color: var(--purple); letter-spacing: -.03em; }
.root-card p { font-size: 17px; line-height: 1.7; }
.root-card .muted { color: var(--muted); font-size: 14px; }
.text-link { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.logo { display: block; object-fit: contain; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner, .layout, .footer-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.tagline { color: #8a8598; font-size: 12px; font-weight: 500; }
.layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr); gap: 52px; padding-top: 58px; padding-bottom: 54px; }
.pill { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid rgba(94,191,177,.45); border-radius: 999px; background: var(--white); color: var(--purple); font-size: 12px; font-weight: 600; }
.eyebrow { margin: 28px 0 0; color: var(--purple); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 12px 0 0; font: 500 clamp(40px, 5.4vw, 60px)/1.04 Fraunces, Georgia, serif; letter-spacing: -.035em; color: var(--purple); }
.lede { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.72; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.step { padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.step b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 12px; }
.step span { display: block; margin-top: 13px; font-size: 14px; font-weight: 500; }
.document-card { display: flex; gap: 15px; margin-top: 34px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.doc-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: var(--mint); color: var(--purple); font-size: 22px; }
.document-card h2 { margin: 1px 0 4px; font-size: 16px; }
.document-card p { margin: 0; color: #817b8e; font-size: 13px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.doc-links a { font-size: 13px; font-weight: 600; text-decoration: none; }
.doc-links a:hover { text-decoration: underline; }
details { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
summary { display: flex; justify-content: space-between; padding: 18px 22px; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
.terms-frame { width: 100%; height: 520px; border: 0; border-top: 1px solid var(--line); background: #fff; }
.form-card { position: sticky; top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: 0 24px 80px rgba(73,60,125,.10); }
.form-card h2 { margin: 10px 0 6px; font: 500 30px/1.15 Fraunces, Georgia, serif; color: var(--purple); }
.small { margin: 0; color: #7d778a; font-size: 13px; line-height: 1.6; }
.signer { margin-top: 24px; padding: 18px; border: 1px solid rgba(94,191,177,.35); border-radius: 17px; background: #f5fbfa; }
.signer .label { margin: 0 0 10px; color: var(--purple); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.signer strong, .signer span { display: block; }
.signer span { margin-top: 4px; color: #777284; font-size: 13px; }
.field { display: block; margin-top: 18px; color: #454052; font-size: 13px; font-weight: 500; }
.field input { width: 100%; min-height: 50px; margin-top: 8px; padding: 0 14px; border: 1px solid rgba(13,10,31,.16); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.field input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(73,60,125,.10); }
.hint { margin: 7px 0 0; color: #9893a2; font-size: 11px; line-height: 1.5; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 22px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); font-size: 13px; line-height: 1.6; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--purple); }
.primary { width: 100%; min-height: 50px; margin-top: 18px; border: 0; border-radius: 13px; background: var(--purple); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.primary:hover { background: var(--purple-dark); }
.primary:disabled { cursor: wait; opacity: .65; }
.error { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff0f0; color: #9f2d2d; font-size: 13px; }
.fine-print { margin: 12px 0 0; color: #9a95a4; font-size: 11px; line-height: 1.55; text-align: center; }
.loading, .invalid { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 32px 20px; }
.state-card { width: min(100%, 620px); padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: #fff; text-align: center; }
.state-card h1 { margin: 14px 0 10px; font: 500 36px/1.15 Fraunces,Georgia,serif; color: var(--purple); }
.state-card p { color: var(--muted); line-height: 1.65; }
.success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; background: var(--mint); color: var(--purple); font-size: 28px; }
.receipt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; padding: 18px; border-radius: 16px; background: var(--cream); text-align: left; }
.receipt dt { color: #847f90; font-size: 11px; }
.receipt dd { margin: 5px 0 0; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; padding-top: 24px; padding-bottom: 30px; color: #918c9c; font-size: 12px; }
[hidden] { display: none !important; }
.honeypot { position: absolute; left: -9999px; }
@media (max-width: 850px) {
  .layout { grid-template-columns: 1fr; gap: 34px; padding-top: 38px; }
  .form-card { position: static; }
}
@media (max-width: 620px) {
  .header-inner, .layout, .footer-inner { width: min(100% - 32px, 1120px); }
  .tagline { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { display: flex; align-items: center; gap: 12px; }
  .step span { margin-top: 0; }
  .form-card { padding: 22px; }
  .terms-frame { height: 460px; }
  .footer-inner { flex-direction: column; gap: 6px; }
  .receipt { grid-template-columns: 1fr; }
}
