  /* Tokens + reset live in form-base.css (loaded first). */

  /* ---------- Page shell ---------- */
  .page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 55fr 45fr;
  }
  @media (max-width: 960px) {
    .page { grid-template-columns: 1fr; }
  }

  /* ---------- Left (dark) panel ---------- */
  .left {
    background: var(--dk);
    color: var(--dk-ink);
    position: sticky; top: 0;
    align-self: start;
    min-height: 100vh;
    padding: 40px 64px 48px;
    display: flex; flex-direction: column;
    background-image:
      radial-gradient(900px 500px at 85% -10%, oklch(0.3 0.1 155 / 0.18), transparent 55%),
      radial-gradient(800px 500px at -10% 110%, oklch(0.35 0.08 240 / 0.15), transparent 55%);
  }
  @media (max-width: 1200px) {
    .left { padding: 36px 44px 44px; }
  }
  @media (max-width: 960px) {
    .left { position: static; min-height: 0; padding: 28px 28px 44px; }
  }

  /* Back / brand row */
  .top-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0;
  }
  .back {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px 8px 8px;
    border-radius: 10px;
    color: var(--dk-ink-2);
    font-size: 13.5px; font-weight: 500;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
  }
  .back:hover { background: oklch(1 0 0 / 0.05); color: var(--dk-ink); }
  .back svg { width: 16px; height: 16px; }

  .brand {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--dk-ink);
    font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
    text-decoration: none;
  }
  .brand-mark {
    width: 26px; height: 26px; border-radius: 7px;
    background: var(--accent);
    position: relative;
  }
  .brand-mark::after {
    content: ""; position: absolute; inset: 6px;
    border-radius: 3.5px; background: var(--dk);
  }

  /* Hero block anchored near top, with used-by pushed to bottom via flex */
  .left-hero {
    margin-top: 96px;
    max-width: 620px;
  }
  @media (max-width: 1200px) {
    .left-hero { margin-top: 72px; }
  }
  @media (max-width: 960px) {
    .left-hero { margin-top: 48px; }
  }

  /* Eyebrow */
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: "JetBrains Mono", monospace; font-size: 12px;
    color: var(--lime);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    white-space: nowrap;
  }
  .eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
    box-shadow: 0 0 0 3px oklch(0.85 0.12 115 / 0.25);
  }

  /* Headline */
  .left h1 {
    font-size: clamp(40px, 4.4vw, 60px);
    line-height: 1.05; letter-spacing: -0.03em;
    margin: 0 0 24px; font-weight: 700;
    max-width: 560px;
  }
  .left h1 .accent { color: var(--accent); display: block; }

  .left .sub {
    font-size: 17px; line-height: 1.55; color: var(--dk-ink-2);
    max-width: 520px; margin: 0;
  }

  /* Partner logos */
  .used-by {
    margin-top: 40px;
    padding-top: 0;
  }
  .used-by .label {
    font-family: "JetBrains Mono", monospace; font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--lime);
    margin: 0 0 20px;
  }
  .logo-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px 28px; align-items: center;
    max-width: 560px;
  }
  @media (max-width: 1200px) {
    .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 22px 20px; }
  }
  @media (max-width: 960px) {
    .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
  }
  @media (max-width: 520px) {
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
  }
  .logo-grid .cell {
    display: grid; place-items: center;
    height: 36px;
  }
  .logo-grid img {
    max-width: 100%; max-height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity .2s ease;
  }
  .logo-grid .cell:hover img { opacity: 0.9; }

  /* ---------- Right (form) panel ---------- */
  .right {
    padding: 48px 64px 72px;
    display: flex; align-items: center; justify-content: center;
  }
  @media (max-width: 1200px) {
    .right { padding: 44px 44px 64px; }
  }
  @media (max-width: 960px) {
    .right { padding: 40px 28px 72px; align-items: flex-start; }
  }

  .form-wrap {
    width: 100%;
    max-width: 540px;
  }

  .form-wrap h2 {
    font-size: 32px; font-weight: 700; letter-spacing: -0.025em;
    margin: 0 0 8px;
  }
  .form-wrap .lead {
    color: var(--ink-2); font-size: 14.5px;
    margin: 0 0 28px;
    line-height: 1.55;
  }

  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--ink); margin-bottom: 8px;
  }
  .field .req { color: oklch(0.58 0.18 25); margin-left: 2px; }
  .field .multi-hint {
    margin-left: 6px;
    font-weight: 500; font-size: 12px;
    color: var(--ink-3);
  }

  .input, .textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    font-family: inherit; font-size: 14.5px;
    color: var(--ink);
    background: var(--card);
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .input:focus, .textarea:focus {
    outline: none;
    border-color: var(--accent-ink);
    box-shadow: 0 0 0 3px oklch(0.66 0.12 185 / 0.18);
  }
  .textarea { resize: vertical; min-height: 96px; line-height: 1.5; padding: 12px 14px; }

  .hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
  .err { font-size: 12.5px; color: oklch(0.55 0.2 25); margin-top: 6px; display: none; }
  .field.has-error .input, .field.has-error .textarea { border-color: oklch(0.7 0.2 25); }
  .field.has-error .err { display: block; }
  .field.has-error.pills .pill-grid { box-shadow: 0 0 0 2px oklch(0.85 0.15 25 / 0.35); border-radius: calc(var(--r) + 2px); padding: 2px; }

  /* TMS pill grid */
  .pill-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  @media (max-width: 520px) {
    .pill-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .pill {
    position: relative;
    cursor: pointer;
    user-select: none;
  }
  .pill input { position: absolute; opacity: 0; pointer-events: none; }
  .pill .pill-box {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    font-size: 14px; font-weight: 500; color: var(--ink-2);
    transition: all .15s ease;
    text-align: center;
  }
  .pill:hover .pill-box { border-color: var(--line-2); color: var(--ink); }
  .pill input:checked ~ .pill-box {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
  }
  .pill .check {
    width: 16px; height: 16px; border-radius: 4px;
    border: 1.5px solid var(--line-2);
    display: grid; place-items: center;
    flex: none;
  }
  .pill input:checked ~ .pill-box .check {
    background: var(--accent);
    border-color: var(--accent);
  }
  .pill input:checked ~ .pill-box .check::after {
    content: "";
    width: 5px; height: 8px;
    border: solid white; border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -1px);
  }

  /* "Soon" badge — sits inside OpenTable pill */
  .pill .soon-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 999px;
    background: oklch(0.94 0.04 250);
    color: oklch(0.45 0.1 240);
    margin-left: 2px;
    white-space: nowrap;
  }
  .pill .pill-label { white-space: nowrap; }
  .pill.is-soon .pill-label { opacity: 0.85; }
  .pill.is-soon input:checked ~ .pill-box .soon-tag {
    background: oklch(0.94 0.04 250);
    color: oklch(0.35 0.12 240);
  }

  /* Collapsible follow-up field */
  .field.collapsible[hidden] { display: none !important; }
  .field.collapsible {
    animation: revealField .22s cubic-bezier(.2,.8,.25,1);
  }
  @keyframes revealField {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Submit */
  .submit {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--ink);
    border-radius: var(--r);
    background: var(--ink); color: var(--bg);
    font: inherit; font-weight: 600; font-size: 15px;
    cursor: pointer;
    margin-top: 24px;
    transition: background .15s ease, transform .1s ease;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    white-space: nowrap;
  }
  .submit:hover:not(:disabled) { background: oklch(0.28 0.02 250); }
  .submit:disabled { opacity: 0.55; cursor: not-allowed; }
  .submit .spinner {
    width: 14px; height: 14px; border: 2px solid oklch(1 0 0 / 0.3);
    border-top-color: var(--bg);
    border-radius: 50%; display: none;
    animation: spin 0.7s linear infinite;
  }
  .submit.is-loading .spinner { display: inline-block; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .speak-toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 13px 20px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--ink-2);
    font: inherit; font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
  }
  .speak-toggle:hover { background: var(--bg-2); border-color: var(--line-2); color: var(--ink); }
  .speak-toggle .chev { transition: transform .2s ease; }
  .speak-toggle.open .chev { transform: rotate(180deg); }

  .calendar-wrap {
    display: none;
    margin-top: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
  }
  .calendar-wrap.open { display: block; }
  .calendar-wrap iframe { width: 100%; border: 0; display: block; }

  /* Submitted state */
  .thanks { display: none; }
  .thanks.show { display: block; }
  .check-card {
    padding: 24px;
    border: 1px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 14px;
    display: flex; gap: 16px; align-items: flex-start;
    margin-bottom: 24px;
  }
  .check-card .ico {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); color: white;
    display: grid; place-items: center; flex: none;
  }
  .check-card .ico svg { width: 22px; height: 22px; }
  .check-card h3 {
    font-size: 18px; font-weight: 700; margin: 2px 0 4px;
    color: var(--accent-ink);
  }
  .check-card p {
    font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55;
  }

  .book-call-head {
    font-size: 16px; font-weight: 600; margin: 32px 0 12px;
  }

  .legal {
    margin-top: 20px;
    font-size: 12px; color: var(--ink-3); line-height: 1.6;
  }
  .legal a { color: var(--ink-2); }

  /* Form fade-hide when submitted */
  .form.hide { display: none; }
