/* Shared homepage design system.
   Extracted from the inline <style> that used to live in index.html so the
   AU homepage (index.html) and US homepage (us.html) render from one source.
   Loads on static hosts and the Node server alike. */

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

    /* A class with `display: flex` outranks the UA stylesheet's [hidden] rule,
       so .book-form[hidden] would otherwise stay on screen underneath the
       confirmation. Make the attribute authoritative. */
    [hidden] { display: none !important; }

    :root {
      --font-body: 'Bricolage Grotesque', sans-serif;
      --font-mono: 'Spline Sans Mono', monospace;
      --paper: #F7F3EA;
      --card: #FFFDF8;
      --ink: #0C1B2A;
      /* --sky is decorative only (fills, underlines, shadows). It is too light
         to carry text on --paper. --blue is the text-safe blue: 4.9:1 on paper,
         where the original #1a9de6 managed only 2.7:1 and failed AA. */
      --sky: #33B4FC;
      --blue: #0d6ea3;
      --muted: #33404f;
      --dim: #5c6672;
      --green: #0b7040;
      --red: #c0392b;
      --ice: #DDF2FE;
      --rule: 1.5px solid var(--ink);
      --gutter: clamp(20px, 4vw, 48px);
      --shell: 1320px;
    }

    html, body { background: var(--paper); }

    body {
      font-family: var(--font-body);
      color: var(--ink);
      min-height: 100vh;
      overflow-x: clip;
    }

    ::selection { background: var(--sky); color: var(--ink); }

    :focus-visible {
      outline: 3px solid var(--blue);
      outline-offset: 2px;
      border-radius: 2px;
    }

    @keyframes lossPulse {
      0%, 100% { background: transparent; }
      50% { background: rgba(192, 57, 43, 0.13); }
    }

    .shell { max-width: var(--shell); margin: 0 auto; }
    .eyebrow {
      font-family: var(--font-mono);
      font-size: 14px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--blue);
    }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: 8px;
      z-index: 100;
      background: var(--ink);
      color: var(--paper);
      padding: 10px 18px;
      border-radius: 8px;
      text-decoration: none;
    }
    .skip-link:focus { left: 16px; }

    /* ═══ NAV ═══ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 16px var(--gutter);
      background: var(--paper);
      border-bottom: var(--rule);
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      color: inherit;
      text-decoration: none;
    }
    .nav-logo img { width: 40px; height: 40px; display: block; }
    .nav-wordmark { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
    .nav-right {
      display: flex;
      align-items: center;
      gap: 32px;
      font-size: 15px;
      font-weight: 500;
    }
    .nav-links { display: flex; align-items: center; gap: 32px; }
    .nav-link { color: var(--ink); text-decoration: none; transition: color 0.2s; }
    .nav-link:hover { color: var(--blue); }
    .nav-cta {
      background: var(--ink);
      color: var(--paper);
      padding: 11px 22px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 600;
      white-space: nowrap;
      transition: background 0.2s, color 0.2s;
    }
    .nav-cta:hover { background: var(--sky); color: var(--ink); }

    .nav-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      background: none;
      border: var(--rule);
      border-radius: 10px;
      cursor: pointer;
      color: var(--ink);
    }

    /* Below 1100px "Account" is demoted to the footer to stop the bar crowding.
       Below 920px the links collapse into the hamburger and only the primary
       CTA stays visible. */
    @media (max-width: 1100px) {
      .nav-links { gap: 24px; }
      .nav-link--account { display: none; }
    }

    /* At phone widths the logo + wordmark + CTA pill + hamburger do not fit on
       one row: the row overflows, the hamburger is clipped past the edge, and
       the nav swallows the tap. Shrink the CTA, then drop the wordmark (the
       logo still carries the brand) so the hamburger always stays reachable. */
    @media (max-width: 920px) {
      .nav-toggle { display: inline-flex; }
      .nav-right { gap: 12px; min-width: 0; }
      .nav-cta { padding: 10px 18px; font-size: 14px; }
      .nav-wordmark { font-size: 18px; }
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        border-bottom: var(--rule);
        padding: 8px var(--gutter) 20px;
      }
      .nav-links[data-open='true'] { display: flex; }
      .nav-links .nav-link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(12, 27, 42, 0.12);
        font-size: 17px;
      }
      .nav-link--account { display: block; }
    }

    /* ═══ HERO ═══ */
    .hero {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
      gap: 48px;
      align-items: center;
      padding: clamp(120px, 16vw, 166px) var(--gutter) 88px;
      max-width: var(--shell);
      margin: 0 auto;
    }
    .hero-eyebrow {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 22px;
    }
    .hero-eyebrow::before {
      content: '';
      display: inline-block;
      width: 34px;
      height: 1.5px;
      background: var(--blue);
    }
    .hero h1 {
      font-size: clamp(42px, 6.4vw, 88px);
      line-height: 0.98;
      font-weight: 700;
      letter-spacing: -0.035em;
      margin-bottom: 28px;
      text-wrap: balance;
    }
    /* isolation keeps the -1 underline inside this stacking context, so it
       paints behind the word but never behind the page background. */
    .hl {
      position: relative;
      display: inline-block;
      isolation: isolate;
      color: var(--blue);
    }
    .hl::after {
      content: '';
      position: absolute;
      left: 0; right: 0; bottom: 4px;
      height: 10px;
      background: var(--sky);
      opacity: 0.35;
      z-index: -1;
    }
    .hero-sub {
      font-size: 20px;
      line-height: 1.55;
      max-width: 520px;
      margin-bottom: 36px;
      color: var(--muted);
      text-wrap: pretty;
    }
    .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
    .hero-secondary { margin-top: 16px; font-size: 15px; color: var(--dim); }
    .hero-secondary a { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--sky); padding-bottom: 1px; }
    .hero-secondary a:hover { color: var(--ink); }
    .industry-cta { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--sky); padding-bottom: 1px; }
    .industry-cta:hover { color: var(--ink); }
    .snapshot-teaser { padding: 40px var(--gutter); }
    .snapshot-teaser-inner { max-width: var(--shell); margin: 0 auto; background: var(--card); border: var(--rule); border-radius: 18px; box-shadow: 6px 6px 0 var(--sky); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
    .snapshot-teaser h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin: 10px 0; }
    .snapshot-teaser p { color: var(--muted); max-width: 640px; font-size: 16px; }
    .snapshot-teaser .btn-primary { flex-shrink: 0; }

    .btn-primary {
      display: inline-block;
      background: var(--sky);
      color: var(--ink);
      padding: 17px 32px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 700;
      font-size: 17px;
      border: var(--rule);
      box-shadow: 4px 4px 0 var(--ink);
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .btn-primary:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

    .btn-text {
      color: var(--ink);
      text-decoration: none;
      font-weight: 600;
      font-size: 16px;
      border-bottom: 2px solid var(--sky);
      padding-bottom: 2px;
      transition: color 0.2s;
    }
    .btn-text:hover { color: var(--blue); }

    .hero-trust {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 32px;
    }
    /* Official Xero Silver Partner badge (SVG). Height-locked; width follows the
       artwork's intrinsic ~3.69:1 ratio so it never distorts. */
    .xero-badge-img {
      display: block;
      height: 44px;
      width: auto;
      max-width: 100%;
    }

    /* ═══ LEDGER CARD (the visual hero) ═══ */
    .ledger {
      background: var(--card);
      border: var(--rule);
      border-radius: 18px;
      box-shadow: 10px 10px 0 var(--sky);
      padding: 34px;
      transform: rotate(1.5deg);
      max-width: 520px;
      margin-left: auto;
    }
    .ledger-head {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      border-bottom: 1.5px dashed var(--ink);
      padding-bottom: 16px;
      margin-bottom: 6px;
    }
    .ledger-title {
      font-family: var(--font-mono);
      font-size: 14px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-weight: 600;
    }
    .ledger-period { font-family: var(--font-mono); font-size: 13px; color: var(--dim); }
    .ledger-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 15px 10px;
      margin: 0 -10px;
      border-bottom: 1px dotted #c9c2b4;
      border-radius: 6px;
      font-size: 16px;
    }
    .ledger-row span:first-child { font-weight: 500; }
    .ledger-amount { font-family: var(--font-mono); font-weight: 600; font-size: 15px; white-space: nowrap; }
    .ledger-amount.up { color: var(--green); }
    .ledger-amount.down { color: var(--red); }

    /* The loss line is the whole point of the card — the eye should land here.
       A slow, low-contrast pulse draws it without turning the card into an ad. */
    .ledger-row--loss {
      background: rgba(192, 57, 43, 0.08);
      animation: lossPulse 3.4s ease-in-out 1.2s 3;
    }
    .ledger-row--loss .ledger-amount { font-weight: 700; }
    .ledger-loss-note {
      display: block;
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--red);
      margin-top: 3px;
      font-weight: 500;
    }
    @media (prefers-reduced-motion: reduce) {
      .ledger-row--loss { animation: none; }
    }

    .ledger-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding-top: 18px;
      font-weight: 700;
      font-size: 17px;
    }
    .ledger-total-value {
      font-family: var(--font-mono);
      color: var(--green);
      background: #d9f2e4;
      padding: 5px 11px;
      border-radius: 6px;
      font-size: 15px;
      white-space: nowrap;
    }

    /* ═══ PROBLEM ═══ */
    .problem {
      max-width: var(--shell);
      margin: 0 auto;
      padding: 90px var(--gutter);
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
      gap: clamp(28px, 5vw, 64px);
      align-items: start;
    }
    .problem h2 {
      font-size: clamp(34px, 3.6vw, 48px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.08;
      text-wrap: balance;
    }
    .problem-body { font-size: 19px; line-height: 1.65; color: var(--muted); }
    .problem-body p:first-child { margin-bottom: 20px; }
    .problem-body strong { font-weight: 700; color: var(--ink); }

    /* ═══ SECTION HEADS ═══ */
    .section {
      border-top: var(--rule);
      max-width: var(--shell);
      margin: 0 auto;
      padding: 90px var(--gutter);
    }
    .section h2 {
      font-size: clamp(32px, 3.4vw, 44px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.1;
      max-width: 640px;
      text-wrap: balance;
    }
    .section .eyebrow { display: block; margin-bottom: 18px; }
    .section-sub {
      font-size: 18px;
      line-height: 1.6;
      color: var(--muted);
      max-width: 640px;
      margin-top: 18px;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
      gap: 28px;
      margin-top: 48px;
    }

    /* ═══ INDUSTRIES ═══ */
    .industry {
      background: var(--card);
      border: var(--rule);
      border-radius: 16px;
      padding: 30px 28px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .industry:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--sky); }
    .industry-icon {
      width: 48px;
      height: 48px;
      border: var(--rule);
      border-radius: 12px;
      background: var(--ice);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 6px;
    }
    .industry h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
    .industry p { font-size: 16px; line-height: 1.6; color: var(--muted); }
    .industry-metric {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--blue);
      margin-top: auto;
      padding-top: 6px;
    }

    /* ═══ HOW IT WORKS ═══ */
    .how {
      background: var(--ink);
      color: var(--paper);
      padding: 100px var(--gutter);
    }
    .how .eyebrow { display: block; margin-bottom: 18px; color: var(--sky); }
    .how h2 {
      font-size: clamp(34px, 3.6vw, 48px);
      font-weight: 700;
      letter-spacing: -0.03em;
      margin-bottom: 60px;
      max-width: 640px;
      line-height: 1.08;
    }
    .how .card-grid { margin-top: 0; }
    .step {
      border: 1.5px solid rgba(247, 243, 234, 0.25);
      border-radius: 16px;
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      background: rgba(247, 243, 234, 0.03);
      transition: border-color 0.2s, transform 0.2s;
    }
    .step:hover { border-color: var(--sky); transform: translateY(-4px); }
    .step-head { display: flex; justify-content: space-between; align-items: center; }
    .step-num { font-family: var(--font-mono); font-size: 15px; color: var(--sky); font-weight: 600; }
    .step-icon {
      width: 46px;
      height: 46px;
      border: 1.5px solid rgba(247, 243, 234, 0.3);
      border-radius: 12px;
      background: rgba(51, 180, 252, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .step h3 { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; }
    .step p { font-size: 16px; line-height: 1.6; color: rgba(247, 243, 234, 0.78); }

    /* ═══ PRICING ═══ */
    .pricing {
      max-width: var(--shell);
      margin: 0 auto;
      padding: 100px var(--gutter);
    }
    .pricing-head { text-align: center; margin-bottom: 48px; }
    .pricing-head .eyebrow { display: block; margin-bottom: 16px; }
    .pricing-head h2 {
      font-size: clamp(34px, 3.6vw, 48px);
      font-weight: 700;
      letter-spacing: -0.03em;
      margin-bottom: 16px;
    }
    .pricing-lede {
      font-size: 18px;
      line-height: 1.6;
      color: var(--muted);
      max-width: 620px;
      margin: 0 auto 10px;
    }
    .pricing-terms {
      font-family: var(--font-mono);
      font-size: 14px;
      font-weight: 600;
      color: var(--blue);
    }
    .pricing .card-grid { margin-top: 0; align-items: stretch; }

    .plan {
      background: var(--card);
      color: var(--ink);
      border: var(--rule);
      border-radius: 16px;
      padding: 36px 32px;
      display: flex;
      flex-direction: column;
    }
    .plan--featured {
      background: var(--ink);
      color: var(--paper);
      box-shadow: 8px 8px 0 var(--sky);
    }
    .plan-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }
    .plan h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
    .plan-tag {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: var(--sky);
      color: var(--ink);
      padding: 5px 10px;
      border-radius: 999px;
      font-weight: 600;
      white-space: nowrap;
    }
    .plan-price {
      display: flex;
      align-items: baseline;
      gap: 6px;
      margin-bottom: 6px;
    }
    .plan-price .from { font-family: var(--font-mono); font-size: 13px; }
    .plan-price .amount { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
    .plan-price .per { font-size: 15px; }
    .plan-blurb { font-size: 15px; line-height: 1.55; margin-bottom: 26px; }
    .plan .muted { color: var(--dim); }
    .plan--featured .muted { color: rgba(247, 243, 234, 0.72); }
    .plan-features {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 32px;
      list-style: none;
    }
    .plan-features li {
      display: flex;
      gap: 10px;
      font-size: 15px;
      line-height: 1.45;
      align-items: baseline;
    }
    .plan-features li::before {
      content: '▲';
      color: var(--blue);
      font-weight: 700;
      flex-shrink: 0;
    }
    .plan--featured .plan-features li::before { color: var(--sky); }
    .plan-cta {
      margin-top: auto;
      text-align: center;
      background: var(--paper);
      color: var(--ink);
      border: var(--rule);
      padding: 14px 24px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 700;
      font-size: 16px;
      transition: opacity 0.15s;
    }
    .plan--featured .plan-cta {
      background: var(--sky);
      color: var(--ink);
      border-color: var(--sky);
    }
    .plan-cta:hover { opacity: 0.85; }
    .pricing-note {
      text-align: center;
      font-size: 13px;
      color: var(--dim);
      margin-top: 28px;
      font-family: var(--font-mono);
      line-height: 1.7;
    }

    /* ═══ ABOUT ═══ */
    .about { border-top: var(--rule); background: var(--card); }
    .about-inner {
      max-width: var(--shell);
      margin: 0 auto;
      padding: 100px var(--gutter);
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
      gap: clamp(40px, 5vw, 72px);
      align-items: center;
    }
    .about-photo {
      width: 100%;
      max-width: 440px;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
      border: var(--rule);
      border-radius: 16px;
      box-shadow: 10px 10px 0 var(--ink);
    }
    .founder-name {
      margin-top: 22px;
      max-width: 440px;
    }
    .founder-name strong {
      display: block;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    .founder-name span {
      display: block;
      font-size: 15px;
      color: var(--muted);
      margin-top: 4px;
      line-height: 1.5;
    }
    .founder-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 10px;
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--blue);
      text-decoration: none;
      border-bottom: 1.5px solid var(--sky);
      padding-bottom: 2px;
    }
    .founder-link:hover { color: var(--ink); }
    .about .eyebrow { display: block; margin-bottom: 18px; }
    .about h2 {
      font-size: clamp(32px, 3.4vw, 44px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 24px;
      text-wrap: balance;
    }
    .about p { font-size: 18px; line-height: 1.65; color: var(--muted); margin-bottom: 18px; }
    .about p:last-of-type { margin-bottom: 32px; }
    .about-link {
      color: var(--ink);
      text-decoration: none;
      font-weight: 700;
      font-size: 17px;
      border-bottom: 2.5px solid var(--sky);
      padding-bottom: 3px;
      transition: color 0.2s;
    }
    .about-link:hover { color: var(--blue); }

    /* ═══ FAQ ═══ */
    .faq {
      border-top: var(--rule);
      max-width: var(--shell);
      margin: 0 auto;
      padding: 100px var(--gutter);
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
      gap: clamp(28px, 5vw, 64px);
      align-items: start;
    }
    .faq .eyebrow { display: block; margin-bottom: 18px; }
    .faq h2 {
      font-size: clamp(32px, 3.4vw, 44px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.1;
    }
    .faq-list { display: flex; flex-direction: column; }
    .faq-item { border-bottom: var(--rule); }
    .faq-q {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      background: none;
      border: none;
      padding: 24px 0;
      cursor: pointer;
      text-align: left;
      font-family: var(--font-body);
      font-size: 20px;
      font-weight: 600;
      color: var(--ink);
      letter-spacing: -0.01em;
    }
    .faq-icon {
      font-family: var(--font-mono);
      font-size: 22px;
      color: var(--blue);
      flex-shrink: 0;
      transition: transform 0.2s;
    }
    .faq-q[aria-expanded='true'] .faq-icon { transform: rotate(45deg); }
    .faq-a { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
    .faq-a p {
      font-size: 17px;
      line-height: 1.6;
      color: var(--muted);
      padding: 0 40px 26px 0;
    }
    @media (prefers-reduced-motion: reduce) {
      .faq-a, .faq-icon { transition: none; }
    }

    /* ═══ LEAD MAGNET ═══ */
    .magnet {
      border-top: var(--rule);
      background: var(--card);
      padding: 72px var(--gutter);
    }
    .magnet-inner {
      max-width: var(--shell);
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
      gap: clamp(28px, 5vw, 56px);
      align-items: center;
    }
    .magnet h2 {
      font-size: clamp(26px, 2.6vw, 34px);
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.15;
      margin-bottom: 12px;
      text-wrap: balance;
    }
    .magnet p { font-size: 17px; line-height: 1.6; color: var(--muted); }
    .magnet-form { display: flex; flex-direction: column; gap: 10px; }
    .magnet-fields { display: flex; flex-wrap: wrap; gap: 12px; }
    .magnet-fields label {
      flex: 1 1 240px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-weight: 600;
    }
    .magnet input {
      padding: 14px 16px;
      border: var(--rule);
      border-radius: 10px;
      background: var(--paper);
      font-family: var(--font-body);
      font-size: 16px;
      color: var(--ink);
      width: 100%;
    }
    .magnet button {
      align-self: flex-start;
      background: var(--ink);
      color: var(--paper);
      border: var(--rule);
      padding: 14px 26px;
      border-radius: 999px;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .magnet button:hover { background: var(--sky); color: var(--ink); }

    /* ═══ BOOK ═══ */
    .book {
      background: var(--sky);
      border-top: var(--rule);
      padding: clamp(80px, 10vw, 110px) var(--gutter);
      text-align: center;
    }
    .book-inner { max-width: 760px; margin: 0 auto; }
    .book .eyebrow { display: block; color: var(--ink); margin-bottom: 20px; }
    .book h2 {
      font-size: clamp(40px, 5vw, 64px);
      font-weight: 700;
      letter-spacing: -0.035em;
      line-height: 1.02;
      margin-bottom: 22px;
      text-wrap: balance;
    }
    .book-sub {
      font-size: 19px;
      line-height: 1.6;
      margin: 0 auto 40px;
      max-width: 560px;
      font-weight: 500;
    }
    .book-form {
      max-width: 600px;
      margin: 0 auto;
      background: var(--card);
      border: var(--rule);
      border-radius: 16px;
      box-shadow: 8px 8px 0 var(--ink);
      padding: clamp(24px, 4vw, 40px);
      text-align: left;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .form-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
      gap: 18px;
    }
    .field {
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-weight: 600;
      color: var(--ink);
    }
    .field-optional { text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 400; }
    .book-form input,
    .book-form textarea {
      padding: 13px 16px;
      border: var(--rule);
      border-radius: 10px;
      background: var(--paper);
      font-family: var(--font-body);
      font-size: 16px;
      color: var(--ink);
      width: 100%;
    }
    .book-form textarea { resize: vertical; }
    .book-form input[aria-invalid='true'] { border-color: var(--red); background: rgba(192, 57, 43, 0.06); }

    .field-error {
      font-family: var(--font-body);
      font-size: 14px;
      letter-spacing: 0;
      text-transform: none;
      font-weight: 500;
      color: var(--red);
      min-height: 0;
    }
    .field-error:empty { display: none; }

    /* The honeypot must be reachable by a naive bot but invisible and
       unfocusable for a human — so it is moved off-screen, not display:none. */
    .honeypot {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .book-submit {
      background: var(--sky);
      color: var(--ink);
      padding: 16px 32px;
      border-radius: 999px;
      border: var(--rule);
      box-shadow: 4px 4px 0 var(--ink);
      font-weight: 700;
      font-size: 17px;
      font-family: var(--font-body);
      cursor: pointer;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .book-submit:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
    .book-submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }

    .form-status {
      font-size: 15px;
      line-height: 1.55;
      padding: 14px 16px;
      border-radius: 10px;
      border: 1.5px solid var(--red);
      background: rgba(192, 57, 43, 0.08);
      color: var(--ink);
    }
    .form-status:empty { display: none; }
    .form-status a { color: var(--ink); font-weight: 700; }

    .book-confirm {
      background: var(--card);
      border: var(--rule);
      border-radius: 16px;
      box-shadow: 8px 8px 0 var(--ink);
      padding: clamp(32px, 5vw, 48px);
      max-width: 600px;
      margin: 0 auto;
      text-align: center;
    }
    .book-confirm h3 {
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }
    .book-confirm p { font-size: 17px; line-height: 1.6; color: var(--muted); }
    .confirm-tick {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: #d9f2e4;
      border: var(--rule);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      font-size: 26px;
      color: var(--green);
    }

    /* ═══ FOOTER ═══ */
    .footer {
      background: var(--ink);
      color: var(--paper);
      padding: 48px var(--gutter) 36px;
    }
    .footer-inner {
      max-width: var(--shell);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      flex-wrap: wrap;
    }
    .footer-brand { display: flex; align-items: center; gap: 10px; }
    .footer-brand img { width: 30px; height: 30px; display: block; }
    .footer-brand span { font-weight: 700; font-size: 17px; }
    .footer-note {
      font-family: var(--font-mono);
      font-size: 13px;
      color: rgba(247, 243, 234, 0.72);
    }
    .footer-email {
      color: var(--sky);
      text-decoration: none;
      font-family: var(--font-mono);
      font-size: 14px;
    }
    .footer-email:hover { text-decoration: underline; }

    .footer-legal {
      max-width: var(--shell);
      margin: 32px auto 0;
      padding-top: 24px;
      border-top: 1px solid rgba(247, 243, 234, 0.2);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px 32px;
      flex-wrap: wrap;
      font-family: var(--font-mono);
      font-size: 13px;
      color: rgba(247, 243, 234, 0.72);
    }
    .footer-credentials { display: flex; gap: 8px 24px; flex-wrap: wrap; }
    .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
    .footer-links a { color: var(--sky); text-decoration: none; }
    .footer-links a:hover { text-decoration: underline; }

    /* Placeholder styling: an unfilled owner value must be impossible to mistake
       for a real registration number if this ships before the owner fills it in. */
    /* Must wrap: a long placeholder with white-space:nowrap sets the page's
       minimum content width and makes the whole site scroll sideways on a phone. */
    .todo {
      background: #ffe8a3;
      color: #5c4300;
      padding: 1px 7px;
      border-radius: 4px;
      font-weight: 700;
      overflow-wrap: anywhere;
    }
