    /* Same blues as the Thingys app. */
    :root {
      --bg: #ADE8F4;
      --surface: #ffffff;
      --fg: #08222d;
      --muted: #36505c;
      --accent: #0077B6;
      --accent-light: #3f8fd9;
      --accent-fg: #ffffff;
      --border: #74c9dc;
      --danger: #b3261e;
      --ok: #1b7a3d;
      --radius: 16px;
    }

    * { box-sizing: border-box; }

    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .wrap {
      width: 100%;
      max-width: 960px;
      margin: 0 auto;
      padding: 0 20px;
    }

    a { color: var(--accent); }
    :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

    .skip {
      position: absolute;
      left: -9999px;
      top: 0;
      background: var(--accent);
      color: var(--accent-fg);
      padding: 0.6rem 1rem;
      border-radius: 0 0 8px 0;
      z-index: 10;
    }
    .skip:focus { left: 0; }

    /* Header */
    header {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      padding: 1.25rem 0;
    }

    header img {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: block;
      border: 1px solid var(--border);
      background: var(--surface);
    }

    .wordmark {
      font-family: "Pacifico", cursive;
      font-size: 1.8rem;
      line-height: 1;
      color: var(--accent);
    }

    .pill {
      margin-left: auto;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--accent-fg);
      background: var(--accent);
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
    }

    /* Hero */
    .hero {
      padding: 2.5rem 0 3.5rem;
      text-align: center;
    }

    h1 {
      margin: 0 auto 1rem;
      max-width: 14em;
      font-size: clamp(2.2rem, 7vw, 3.7rem);
      line-height: 1.08;
      letter-spacing: -0.02em;
    }

    h1 em { font-style: normal; color: var(--accent); }

    .lead {
      margin: 0 auto 2rem;
      max-width: 34em;
      color: var(--muted);
      font-size: 1.1rem;
    }

    /* Sign-up card */
    .signup {
      margin: 0 auto;
      max-width: 480px;
      text-align: left;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: 0 14px 34px rgba(0, 119, 182, 0.22);
    }

    .signup h2 {
      margin: 0 0 0.25rem;
      font-size: 1.25rem;
      text-align: left;
    }

    .signup .sub { margin: 0 0 1.25rem; color: var(--muted); font-size: 0.95rem; }

    .field { margin: 0 0 1.1rem; padding: 0; border: 0; min-width: 0; }

    .field > label,
    .field > legend {
      display: block;
      padding: 0;
      margin-bottom: 0.4rem;
      font-size: 0.9rem;
      font-weight: 650;
    }

    .opt { font-weight: 400; color: var(--muted); }

    .field > input[type="text"], .field > input[type="email"], .field > input[type="tel"] {
      width: 100%;
      font: inherit;
      /* 16px+ stops iOS Safari zooming the page when a field is focused. */
      font-size: 1rem;
      color: var(--fg);
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 0.8rem 0.9rem;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .field > input[type="text"]::placeholder, .field > input[type="email"]::placeholder, .field > input[type="tel"]::placeholder { color: #6b8590; }

    .field > input[type="text"]:focus, .field > input[type="email"]:focus, .field > input[type="tel"]:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.22);
    }

    input[aria-invalid="true"] { border-color: var(--danger); }
    input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2); }

    .field-error {
      margin: 0.4rem 0 0;
      color: var(--danger);
      font-size: 0.85rem;
      font-weight: 500;
    }
    .field-error[hidden] { display: none; }

    /* Segmented phone choice */
    .segmented { display: flex; gap: 0.5rem; flex-wrap: wrap; }
    .segmented label {
      flex: 1 1 0;
      min-width: 5.5rem;
      position: relative;
    }
    .segmented input {
      position: absolute;
      opacity: 0;
      inset: 0;
      cursor: pointer;
    }
    .segmented span {
      display: block;
      text-align: center;
      padding: 0.65rem 0.5rem;
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--accent);
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }
    .segmented input:checked + span {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--accent-fg);
    }
    .segmented input:focus-visible + span {
      outline: 3px solid var(--accent);
      outline-offset: 2px;
    }

    /* Consent */
    .check {
      display: flex;
      gap: 0.65rem;
      align-items: flex-start;
      font-size: 0.88rem;
      color: var(--muted);
      cursor: pointer;
    }
    .check input {
      flex: none;
      width: 1.25rem;
      height: 1.25rem;
      margin: 0.1rem 0 0;
      accent-color: var(--accent);
    }

    .btn {
      width: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      font: inherit;
      font-weight: 700;
      font-size: 1rem;
      color: var(--accent-fg);
      background: linear-gradient(145deg, var(--accent), var(--accent-light));
      border: 0;
      border-radius: 10px;
      padding: 0.9rem 1rem;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
      transition: filter 0.15s ease, transform 0.1s ease;
    }
    .btn:hover { filter: brightness(1.06); }
    .btn:active { transform: scale(0.99); }
    .btn[disabled] { opacity: 0.75; cursor: progress; }

    .spinner {
      width: 1rem;
      height: 1rem;
      border: 2px solid rgba(255, 255, 255, 0.45);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
    }
    .spinner[hidden] { display: none; }
    @keyframes spin { to { transform: rotate(360deg); } }

    .form-error {
      margin: 0.9rem 0 0;
      padding: 0.7rem 0.85rem;
      color: var(--danger);
      background: #fdecea;
      border: 1px solid #f3b8b3;
      border-radius: 10px;
      font-size: 0.9rem;
    }
    .form-error[hidden] { display: none; }

    .fine { margin: 1rem 0 0; color: var(--muted); font-size: 0.8rem; text-align: center; }

    /* Honeypot: off-screen rather than display:none, which some bots skip. */
    .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

    /* Success */
    .thanks { display: none; text-align: center; padding: 0.75rem 0; }
    .thanks:focus { outline: none; }
    .signup.done form,
    .signup.done > h2,
    .signup.done > .sub { display: none; }
    .signup.done .thanks { display: block; }
    .thanks .tick {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 3rem;
      height: 3rem;
      margin-bottom: 0.6rem;
      border-radius: 50%;
      background: var(--ok);
      color: #fff;
      font-size: 1.5rem;
    }
    .thanks strong { display: block; font-size: 1.2rem; margin-bottom: 0.3rem; }
    .thanks p { margin: 0; color: var(--muted); }

    .trust {
      margin: 1.25rem auto 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.4rem 1.25rem;
      padding: 0;
      list-style: none;
      color: var(--muted);
      font-size: 0.85rem;
    }
    .trust li::before { content: "\2713\00a0"; color: var(--accent); font-weight: 700; }

    /* Sections */
    section { padding: 2.5rem 0; }

    h2.title {
      margin: 0 0 0.5rem;
      font-size: clamp(1.5rem, 4.5vw, 2rem);
      letter-spacing: -0.01em;
      text-align: center;
    }

    .section-lead {
      margin: 0 auto 2rem;
      max-width: 34em;
      text-align: center;
      color: var(--muted);
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1rem;
    }

    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.25rem;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    @media (hover: hover) {
      .card:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(0, 119, 182, 0.18); }
    }

    .card .icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      margin-bottom: 0.75rem;
      border-radius: 11px;
      background: rgba(0, 119, 182, 0.12);
      color: var(--accent);
    }

    .card h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
    .card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

    .promise {
      text-align: center;
      border-radius: var(--radius);
      padding: 2.25rem 1.25rem;
      background: var(--accent);
      color: var(--accent-fg);
    }
    .promise h2 { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 4vw, 1.8rem); }
    .promise p { margin: 0 auto; max-width: 36em; color: rgba(255, 255, 255, 0.92); }
    .promise a { color: #fff; }

    footer {
      padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
      text-align: center;
      color: var(--muted);
      font-size: 0.85rem;
    }
    footer a { margin-left: 0.5rem; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      * { transition: none !important; }
      .spinner { animation-duration: 2s; }
    }

    .material-symbols-outlined {
      font-family: "Material Symbols Outlined";
      font-weight: normal;
      font-style: normal;
      font-size: 24px;
      line-height: 1;
      letter-spacing: normal;
      text-transform: none;
      white-space: nowrap;
      direction: ltr;
      -webkit-font-feature-settings: "liga";
      font-feature-settings: "liga";
      -webkit-font-smoothing: antialiased;
    }
