  :root {
    --cream: #fdfaf5;
    --navy: #001d45;
    --orange: #ff4b11;
    --blue: #0572d5;
    --teal: #0ab6a2;
    --white: #fff;
    --line: #e8e4de;
    --border: #c9cfde;
    --muted: #7886a2;
    --radius-input: 13px;
    --radius-card: 17px;
    --serif: "Libre Baskerville", Georgia, serif;
    --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--cream);
    color: var(--navy);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; }
  .art { object-fit: contain; }
  a { color: inherit; text-decoration: none; }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

  .wrap { width: min(1320px, 100% - 32px); margin-inline: auto; }

  /* header */
  .header { display: flex; align-items: center; justify-content: space-between; height: 145px; }
  .logo img { width: 295px; height: 84px; }
  .nav { display: flex; align-items: center; gap: 51px; font-weight: 500; font-size: 18px; }
  .nav a:not(.btn-nav):hover { color: var(--blue); }
  .btn-nav {
    display: inline-flex; align-items: center; justify-content: center;
    width: 136px; height: 55px; border-radius: 14px;
    background: var(--blue); color: var(--white); font-weight: 500; font-size: 18px;
    transition: background .15s;
  }
  .btn-nav:hover { background: #045fb3; }

  /* hero */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 540px) 369px 440px;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 45px;
  }
  .intro { padding: 40px 0 0; }
  .headline {
    position: relative;
    font-family: var(--serif); font-weight: 700;
    font-size: 62px; line-height: 75px; letter-spacing: -3.3px;
    white-space: nowrap;
  }
  .headline .hats { position: relative; color: var(--orange); }
  .headline .hats::after {
    content: ""; position: absolute; left: 0; top: 26px;
    width: 220px; height: 68px;
    background: url(assets/underline.svg) no-repeat 0 0 / 100% 100%;
    pointer-events: none;
  }
  .lede { margin-top: 20px; max-width: 492px; font-size: 17px; line-height: 33px; }
  .benefits { display: flex; flex-wrap: wrap; gap: 20px 24px; margin-top: 35px; list-style: none; }
  .benefit { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; line-height: 22px; white-space: nowrap; }
  .benefit img { flex: none; height: 65px; width: auto; }

  .house { padding-top: 100px; }
  .house img { width: 369px; height: 410px; }

  .signup { padding-top: 32px; }
  .card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
    box-shadow: 0 5px 9px rgba(10, 28, 59, .1);
    padding: 33px 29px 26px;
  }
  .card h2 { font-size: 23px; line-height: 33px; font-weight: 700; text-align: center; }
  .fields { display: flex; flex-direction: column; gap: 20px; padding-top: 25px; }
  .field { position: relative; }
  .field img { position: absolute; left: 20px; top: 50%; width: 23px; height: 23px; transform: translateY(-50%); pointer-events: none; }
  .field input {
    width: 100%; height: 61px; padding: 0 12px 0 59px;
    background: var(--white); border: 1.4px solid var(--border); border-radius: var(--radius-input);
    font: 400 16px/22px var(--sans); color: var(--navy);
  }
  .field input::placeholder { color: var(--muted); }
  .field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5, 114, 213, .18); }
  .btn-primary {
    height: 64px; border: 0; border-radius: var(--radius-input);
    background: var(--orange); color: var(--white);
    font: 600 22px/28px var(--sans); cursor: pointer; transition: background .15s;
  }
  .btn-primary:hover { background: #e63d05; }
  .privacy {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding-top: 20px; font-size: 15px; line-height: 22px; color: var(--muted);
  }
  .privacy img { width: 18px; height: 18px; }
  .thanks { display: none; text-align: center; padding: 60px 0 40px; }
  .thanks p { font-size: 17px; line-height: 27px; margin-top: 10px; color: var(--muted); }
  .card.done form { display: none; }
  .card.done .thanks { display: block; }

  /* how it works */
  .how {
    width: min(1280px, 100% - 32px); margin-inline: auto;
    border-block: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 23px;
    height: 140px; padding-inline: 50px;
    scroll-margin-top: 20px;
  }
  .step { display: flex; align-items: center; gap: 23px; font-weight: 500; font-size: 15px; line-height: 23px; }
  .step .num {
    flex: none; width: 43px; height: 43px; border-radius: 22px;
    display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: 22px;
  }
  .step .art { flex: none; height: 73px; width: auto; }
  .step span.label { width: 180px; }
  .next { flex: none; width: 29px; height: 29px; }

  /* footer */
  .footer { display: flex; align-items: center; justify-content: space-between; height: 125px; }
  .footer .brand { display: flex; align-items: center; gap: 28px; }
  .footer .name { font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 32px; }
  .footer .copy { font-weight: 500; font-size: 12px; color: var(--muted); }
  .footer nav { display: flex; gap: 65px; font-weight: 500; font-size: 14px; }
  .footer nav a:hover { color: var(--blue); }

  /* medium screens: drop the house so the form and copy keep room */
  @media (max-width: 1240px) {
    .hero { grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; }
    .house { display: none; }
    .nav { gap: 32px; }
  }
  @media (max-width: 1100px) {
    .how { padding-inline: 24px; }
    .step { gap: 14px; }
    .step span.label { width: auto; }
  }

  /* mobile */
  @media (max-width: 860px) {
    .header { height: 90px; }
    .logo img { width: 182px; height: 52px; }
    .nav a:not(.btn-nav) { display: none; }
    .btn-nav { width: 91px; height: 43px; border-radius: 12px; font-size: 16px; }

    .hero { display: flex; flex-direction: column; gap: 28px; padding-bottom: 32px; }
    .intro { padding: 40px 0 0; }
    .hero > * { min-width: 0; }
    .headline { font-size: min(50px, 10.6vw); line-height: 1.2; letter-spacing: -0.053em; }
    .headline .hats::after { top: .42em; width: 3.55em; height: 1.1em; }
    .lede { margin-top: 20px; font-size: 17px; line-height: 1.9; }
    .benefits { flex-direction: column; flex-wrap: nowrap; gap: 13px; margin: 28px 0 0; padding-left: 18px; }
    .house { display: block; padding-top: 0; }
    .house img { width: 100%; height: auto; margin-inline: auto; max-width: 358px; }
    .signup { padding-top: 0; }
    .card { padding: 34px 21px 26px; }
    .btn-primary { font-size: 20px; }

    .how {
      flex-direction: column; align-items: flex-start; height: auto;
      padding: 19px 14px; gap: 0; border-inline: 0;
    }
    .step { height: 82px; }
    .next { display: none; }
    .footer { flex-direction: column; justify-content: center; height: 150px; gap: 22px; }
    .footer .brand { gap: 14px; }
    .footer nav { gap: 36px; }
  }

  /* inner pages */
  .nav a[aria-current="page"] { color: var(--blue); }
  .page { padding: 20px 0 70px; }
  .page-head { max-width: 760px; padding: 20px 28px 0; }
  .eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
  .page h1 { font-family: var(--serif); font-weight: 700; font-size: 52px; line-height: 1.15; letter-spacing: -2.4px; margin-top: 10px; }
  .page .sub { font-size: 19px; line-height: 32px; margin-top: 20px; }
  .steps { display: grid; gap: 24px; margin: 48px 28px 0; max-width: 1000px; }
  .step-card {
    display: grid; grid-template-columns: 43px 73px 1fr; gap: 24px; align-items: start;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
    box-shadow: 0 5px 9px rgba(10, 28, 59, .06); padding: 28px 32px;
  }
  .step-card .num { width: 43px; height: 43px; border-radius: 22px; display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: 22px; }
  .step-card .art { width: 73px; height: auto; }
  .step-card h2 { font-size: 23px; line-height: 30px; }
  .step-card p { font-size: 17px; line-height: 28px; margin-top: 8px; }
  .step-card ul { margin: 10px 0 0 20px; font-size: 17px; line-height: 28px; }
  .honest { margin: 48px 28px 0; max-width: 1000px; padding: 28px 32px; border-left: 5px solid var(--orange); background: var(--white); border-radius: 0 var(--radius-card) var(--radius-card) 0; }
  .honest h2 { font-size: 23px; line-height: 30px; }
  .honest p { font-size: 17px; line-height: 28px; margin-top: 8px; }
  .cta { margin: 48px 28px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
  .cta p { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -1px; }
  .cta .btn-primary { display: inline-flex; align-items: center; padding: 0 32px; }
  .faq { margin: 44px 28px 0; max-width: 820px; border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-weight: 700; font-size: 20px; line-height: 28px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 28px; font-weight: 500; color: var(--orange); }
  .faq details[open] summary::after { content: "\2013"; }
  .faq details p { font-size: 17px; line-height: 28px; padding: 0 40px 24px 0; }
  @media (max-width: 860px) {
    .page-head, .steps, .honest, .cta, .faq { margin-left: 0; margin-right: 0; }
    .page-head { padding: 20px 0 0; }
    .page h1 { font-size: 38px; letter-spacing: -1.6px; }
    .step-card { grid-template-columns: 43px 1fr; padding: 22px 20px; gap: 16px; }
    .step-card .art { display: none; }
    .honest { padding: 22px 20px; }
  }

  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .form-error { color: #b42318; font-size: 15px; line-height: 22px; text-align: center; margin-top: -6px; }
  .btn-primary:disabled { opacity: .7; cursor: wait; }

  .prose { margin: 44px 28px 0; max-width: 760px; }
  .prose h2 { font-size: 23px; line-height: 30px; margin-top: 36px; }
  .prose h2:first-child { margin-top: 0; }
  .prose p, .prose li { font-size: 17px; line-height: 28px; margin-top: 10px; }
  .prose ul { margin: 6px 0 0 22px; }
  .prose a, .contact-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card .mail { font-weight: 700; font-size: 19px; }
  @media (max-width: 860px) { .prose { margin-left: 0; margin-right: 0; } }
