  /* ---------- Auth modal (Supabase) ---------- */
  /* ===================== Auth / Onboarding ===================== */
  .auth-overlay {
    position: fixed; inset: 0;
    z-index: 500;
    display: none;
    background: var(--ink);
  }
  .auth-overlay.open { display: block; }
  body.auth-locked { overflow: hidden; }

  .auth-screen {
    position: absolute; inset: 0;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .auth-screen.active { display: flex; }
  .signup-screen { background: var(--bg); }
  .login-screen, .email-screen, .forgot-screen, .reset-screen { background: var(--ink); }

  /* Shared centered pane for the card-style screens */
  .auth-pane {
    width: 100%; max-width: 440px;
    margin: 0 auto;
    min-height: 100%;
    padding: max(48px, calc(env(safe-area-inset-top) + 36px)) 26px max(30px, calc(env(safe-area-inset-bottom) + 18px));
    display: flex; flex-direction: column;
    position: relative;
  }

  .auth-icon-badge {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--ink);
    display: grid; place-items: center;
    margin: 6px auto 20px;
    box-shadow: 0 12px 30px rgba(17,34,64,0.28);
  }
  .auth-icon-badge.outline {
    background: rgba(255,255,255,0.04);
    box-shadow: none; border: 1px solid rgba(255,255,255,0.18);
  }
  .wh-heart { width: 40px; height: 40px; display: block; }

  .auth-h1 {
    font-family: var(--font-head);
    font-size: clamp(26px, 7.5vw, 32px); font-weight: 800;
    text-align: center; margin: 0; color: var(--text);
    letter-spacing: -0.02em; line-height: 1.08;
  }
  .auth-h1.light { color: #fff; }
  .auth-h1 .teal { color: var(--brand); }
  .auth-sub {
    text-align: center; color: var(--muted);
    font-size: 15px; margin: 14px auto 0; max-width: 320px; line-height: 1.5;
  }
  .auth-sub.light { color: rgba(252,252,250,0.72); }

  /* Coral heart divider rule */
  .heart-rule { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 14px 0 2px; }
  .heart-rule::before, .heart-rule::after {
    content: ""; height: 2px; width: 32px; background: var(--cta); border-radius: 2px; opacity: .9;
  }
  .heart-rule svg { width: 15px; height: 15px; color: var(--cta); }

  /* Social / outline / submit buttons */
  .btn-social {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 14px 16px; margin-top: 12px;
    background: #fff; color: #20242e;
    border: 1px solid var(--border); border-radius: 14px;
    font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer;
    transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: var(--shadow-sm);
  }
  .btn-social:hover { box-shadow: var(--shadow); }
  .btn-social:active { transform: translateY(1px); }
  .btn-social.dark { background: rgba(255,255,255,0.07); color: #fff; border-color: rgba(255,255,255,0.16); box-shadow: none; }
  .btn-social.dark:hover { background: rgba(255,255,255,0.12); }
  .btn-social .social-ico { width: 20px; height: 20px; display: grid; place-items: center; flex-shrink: 0; }
  .btn-social .social-ico svg { width: 20px; height: 20px; }

  .btn-outline-teal {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 16px;
    background: transparent; color: var(--brand);
    border: 1.5px solid var(--brand); border-radius: 14px;
    font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer;
    transition: background .15s ease;
  }
  .btn-outline-teal:hover { background: var(--brand-soft); }
  .btn-outline-teal svg { width: 18px; height: 18px; }

  .auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 2px; color: var(--muted-2); font-size: 13px; }
  .auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
  .auth-or.light { color: rgba(255,255,255,0.5); }
  .auth-or.light::before, .auth-or.light::after { background: rgba(255,255,255,0.14); }

  .auth-field { margin-bottom: 16px; }
  .auth-field label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
  .auth-field.dark label { color: rgba(252,252,250,0.85); }
  .auth-input-wrap { position: relative; display: flex; align-items: center; }
  .auth-field input {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--border); border-radius: 12px;
    font-size: 15px; background: #fff; color: var(--text);
  }
  .auth-input-wrap input { padding-right: 46px; }
  .auth-field.dark input { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.16); color: #fff; }
  .auth-field.dark input::placeholder { color: rgba(252,252,250,0.4); }
  .auth-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,165,164,0.18); }
  .auth-input-wrap .field-ico, .auth-input-wrap .pw-toggle {
    position: absolute; right: 14px; color: var(--muted-2);
    display: grid; place-items: center; background: none; border: none;
  }
  .auth-input-wrap .pw-toggle { cursor: pointer; padding: 4px; }
  .auth-field.dark .field-ico, .auth-field.dark .pw-toggle { color: rgba(252,252,250,0.5); }
  .auth-input-wrap .field-ico svg, .auth-input-wrap .pw-toggle svg { width: 20px; height: 20px; }

  .forgot-link { display: block; margin: -2px 0 6px auto; font-size: 13px; }

  .auth-error {
    background: #fef2f2; color: #b91c1c;
    border: 1px solid #fecaca; border-radius: 10px;
    padding: 10px 12px; font-size: 13px; font-weight: 500; margin: 4px 0 14px;
  }
  .auth-success {
    background: #ecfdf5; color: #065f46;
    border: 1px solid #a7f3d0; border-radius: 10px;
    padding: 12px 14px; font-size: 13px; font-weight: 500; margin: 4px 0 14px; line-height: 1.5;
  }
  .auth-success strong { display: block; margin-bottom: 4px; font-weight: 700; }
  .auth-submit-spinner {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.4); border-top-color: white;
    border-radius: 50%; animation: auth-spin 0.8s linear infinite;
    margin-right: 8px; vertical-align: -2px;
  }
  @keyframes auth-spin { to { transform: rotate(360deg); } }
  .auth-submit {
    width: 100%; padding: 15px 16px;
    background: var(--cta); color: white;
    border: none; border-radius: 14px;
    font-family: var(--font-head); font-weight: 700; font-size: 16px;
    cursor: pointer; transition: background .15s; margin-top: 6px;
    box-shadow: 0 8px 22px rgba(255,107,87,0.32);
  }
  .auth-submit:hover:not(:disabled) { background: var(--cta-dark); }
  .auth-submit:disabled { opacity: 0.6; cursor: wait; }

  .link-teal { background: none; border: none; color: var(--brand); font-family: var(--font-head); font-weight: 700; cursor: pointer; font-size: inherit; padding: 0; }
  .link-teal:hover { text-decoration: underline; }
  .auth-switch { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--muted); }
  .auth-switch.light { color: rgba(252,252,250,0.7); }

  .auth-back {
    position: absolute; top: max(20px, calc(env(safe-area-inset-top) + 8px)); left: 16px;
    width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center; cursor: pointer;
    background: transparent; border: none; color: var(--text); z-index: 3;
  }
  .login-screen .auth-back, .email-screen .auth-back, .forgot-screen .auth-back, .reset-screen .auth-back { color: rgba(255,255,255,0.85); }
  .auth-back svg { width: 24px; height: 24px; }

  /* ===== Reskinned Log in (v108) — on-brand split layout ===========
     Replaces the old teal login. Scoped tokens (navy #0F1B3D / coral
     #FF6B57 / cream #FAF8F4 + Hanken Grotesk), matching the rest of the
     redesign. Keeps email+password auth and the existing #loginForm /
     liEmail / liPassword / liSubmit / data-oauth wiring. */
  .login-screen { background: #fff; }
  .wlog {
    flex: 1; min-height: 100%; display: flex; background: #fff;
    font-family: "Hanken Grotesk", sans-serif; color: #0F1B3D;
  }
  .wlog *, .wlog *::before, .wlog *::after { box-sizing: border-box; }

  /* left · brand / photo panel */
  .wlog-photo { position: relative; width: 560px; flex-shrink: 0; overflow: hidden; }
  .wlog-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .wlog-photo-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,28,0.46) 0%, rgba(8,12,28,0.18) 40%, rgba(8,12,28,0.82) 100%); }
  .wlog-photo-inner { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 40px 44px; }
  .wlog-brand { display: flex; align-items: center; gap: 10px; }
  .wlog-brand img { height: 19px; width: auto; display: block; }
  .wlog-brand span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.88); }
  .wlog-photo-copy { margin-top: auto; }
  .wlog-eyebrow { display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
  .wlog-headline { margin: 0; font-family: "Hanken Grotesk", sans-serif; font-weight: 700; letter-spacing: -0.03em; font-size: 40px; line-height: 1.08; color: #fff; text-wrap: balance; }
  .wlog-photo-sub { margin: 16px 0 0; max-width: 360px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.82); text-wrap: pretty; }

  /* right · form panel */
  .wlog-formwrap { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 40px; }
  .wlog-topright { position: absolute; top: 26px; right: 30px; font-size: 13.5px; color: color-mix(in oklab, #0F1B3D 56%, white); }
  .wlog-link { background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: #FF6B57; cursor: pointer; }
  .wlog-link:hover { text-decoration: underline; }
  .wlog-close { position: absolute; top: 22px; left: 22px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #FAF8F4; border: 1px solid color-mix(in oklab, #0F1B3D 9%, white); color: color-mix(in oklab, #0F1B3D 56%, white); cursor: pointer; z-index: 4; }
  .wlog-close:hover { background: #fff; color: #0F1B3D; }
  .wlog-close svg { width: 18px; height: 18px; }

  .wlog-form { width: 380px; max-width: 100%; }
  .wlog-form-brand { display: none; }
  .wlog-h1 { margin: 0; font-family: "Hanken Grotesk", sans-serif; font-weight: 700; letter-spacing: -0.03em; font-size: 34px; line-height: 1.1; color: #0F1B3D; }
  .wlog-sub { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: color-mix(in oklab, #0F1B3D 56%, white); text-wrap: pretty; }

  /* provider buttons */
  .wlog-providers { margin-top: 26px; display: flex; flex-direction: column; gap: 11px; }
  .wlog-prov { position: relative; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 11px; font-family: "Hanken Grotesk", sans-serif; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; transition: transform .08s ease, box-shadow .15s ease, background .15s ease; }
  .wlog-prov svg { flex-shrink: 0; }
  .wlog-prov-apple { background: #0F1B3D; color: #fff; border: none; box-shadow: 0 8px 20px rgba(8,12,28,0.18); }
  .wlog-prov-google { background: #fff; color: #0F1B3D; border: 1px solid color-mix(in oklab, #0F1B3D 9%, white); }
  .wlog-prov:active { transform: translateY(1px); }
  .wlog-lastused { display: none; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; }
  .wlog-lastused.show { display: inline-flex; }
  .wlog-lastused::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: currentColor; }
  .wlog-prov-apple .wlog-lastused { background: rgba(255,255,255,0.16); color: rgba(255,255,255,0.92); }
  .wlog-prov-google .wlog-lastused { background: color-mix(in oklab, #FF6B57 12%, white); color: #FF6B57; }

  /* divider */
  .wlog-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
  .wlog-divider::before, .wlog-divider::after { content: ""; flex: 1; height: 1px; background: color-mix(in oklab, #0F1B3D 9%, white); }
  .wlog-divider span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: color-mix(in oklab, #0F1B3D 56%, white); }

  /* fields */
  .wlog-field { margin-bottom: 14px; }
  .wlog-field label { display: block; font-size: 12.5px; font-weight: 700; color: #0F1B3D; margin-bottom: 7px; }
  .wlog-input-wrap { position: relative; display: flex; align-items: center; }
  .wlog-input-wrap input { width: 100%; height: 52px; border-radius: 14px; border: 1px solid color-mix(in oklab, #0F1B3D 12%, white); background: #FAF8F4; padding: 0 46px 0 16px; font-family: "Hanken Grotesk", sans-serif; font-size: 15px; color: #0F1B3D; }
  .wlog-input-wrap input::placeholder { color: color-mix(in oklab, #0F1B3D 40%, white); }
  .wlog-input-wrap input:focus { outline: none; border-color: #FF6B57; background: #fff; box-shadow: 0 0 0 3px color-mix(in oklab, #FF6B57 18%, transparent); }
  .wlog-field-ico, .wlog-pw { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; }
  .wlog-field-ico svg, .wlog-pw svg { width: 18px; height: 18px; }
  .wlog-pw { background: none; border: none; padding: 4px; cursor: pointer; color: color-mix(in oklab, #0F1B3D 45%, white); }
  .wlog-forgot { display: block; margin: 2px 0 0 auto; background: none; border: none; padding: 4px 0; font: inherit; font-size: 13px; font-weight: 700; color: #FF6B57; cursor: pointer; }
  .wlog-forgot:hover { text-decoration: underline; }

  /* submit (text-only so authBtnBusy's textContent restore is clean) */
  .wlog-submit { width: 100%; height: 54px; margin-top: 14px; border: none; border-radius: 15px; background: #FF6B57; color: #fff; font-family: "Hanken Grotesk", sans-serif; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: 0 10px 24px color-mix(in oklab, #FF6B57 30%, transparent); transition: background .15s; }
  .wlog-submit:hover:not(:disabled) { background: #f0563f; }
  .wlog-submit:disabled { opacity: 0.65; cursor: wait; }

  .wlog .auth-error, .wlog .auth-success { margin: 13px 0 0; }
  .wlog-terms { margin: 22px 0 0; text-align: center; font-size: 11px; line-height: 1.5; color: color-mix(in oklab, #0F1B3D 42%, white); text-wrap: pretty; }
  .wlog-terms span { text-decoration: underline; }

  /* responsive: collapse the photo panel, stack the form */
  @media (max-width: 880px) {
    .wlog-photo { display: none; }
    .wlog-formwrap { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 56px 22px max(28px, calc(env(safe-area-inset-bottom) + 16px)); }
    .wlog-form { width: 100%; max-width: 400px; margin: 0 auto; }
    .wlog-topright { position: static; order: 2; margin: 22px auto 0; text-align: center; }
    .wlog-form-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
    .wlog-form-brand img { height: 20px; width: auto; }
    .wlog-form-brand span { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, #0F1B3D 56%, white); }
  }

  /* ===== Welcome / landing screen ===== */
  .welcome-screen { background: var(--ink); }
  .welcome-screen::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("images/hero-welcome.jpg");
    background-size: cover; background-position: center top;
  }
  /* Soft warm-white wash over the whole text area up top so the dark
     navy text stays readable on the bright sky, fading to a clear photo
     through the middle, then darkening to solid Midnight at the bottom
     for the features + buttons. */
  .welcome-scrim {
    position: absolute; inset: 0;
    background:
      /* subtle darkening just behind the status bar so the white clock /
         battery stay legible — the hero still shows through it */
      linear-gradient(180deg,
        rgba(17,34,64,0.50) 0px,
        rgba(17,34,64,0.30) 38px,
        rgba(17,34,64,0.0) 88px),
      /* warm-white wash over the headline + subtitle, fading to a clear
         photo, then darkening to solid Midnight for the bottom controls */
      linear-gradient(180deg,
        rgba(250,248,243,0.62) 0%,
        rgba(250,248,243,0.55) 16%,
        rgba(250,248,243,0.46) 28%,
        rgba(250,248,243,0.34) 38%,
        rgba(250,248,243,0.14) 46%,
        rgba(250,248,243,0.0) 53%,
        rgba(17,34,64,0.0) 60%,
        rgba(17,34,64,0.45) 71%,
        rgba(17,34,64,0.90) 87%,
        rgba(17,34,64,1) 100%);
  }
  .welcome-inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; min-height: 100%;
    width: 100%; max-width: 480px; margin: 0 auto;
    padding: max(46px, calc(env(safe-area-inset-top) + 30px)) 24px max(26px, calc(env(safe-area-inset-bottom) + 16px));
  }
  .welcome-top { text-align: center; }
  .welcome-bottom { margin-top: auto; padding-top: 26px; }
  .wh-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 16px; }
  .wh-logo-mark {
    width: 60px; height: 60px; border-radius: 16px; background: var(--ink);
    display: grid; place-items: center; box-shadow: 0 12px 30px rgba(17,34,64,0.4);
  }
  .wh-logo-mark .wh-heart { width: 36px; height: 36px; }
  .wh-wordmark { font-family: var(--font-head); font-weight: 800; font-size: 28px; letter-spacing: 0.01em; color: var(--ink); line-height: 1; }
  .wh-wordmark span { color: var(--brand); }
  .wh-wordmark small {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 12px; letter-spacing: 0.42em; font-weight: 700;
    color: var(--ink); margin-top: 8px; padding-left: 0.42em;
  }
  .wh-wordmark small::before, .wh-wordmark small::after {
    content: ""; height: 2px; width: 22px; background: var(--brand); border-radius: 2px; flex: none;
  }
  .welcome-tagline {
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(30px, 8.5vw, 40px); line-height: 1.05;
    color: var(--ink); margin: 4px 0 0; letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(252,252,250,0.85), 0 0 22px rgba(252,252,250,0.75);
  }
  .welcome-tagline .teal { color: var(--brand); }
  .welcome-sub {
    color: #0e1d36; font-size: 15px; line-height: 1.5; font-weight: 600;
    margin: 12px auto 0; max-width: 320px;
    text-shadow: 0 1px 2px rgba(252,252,250,0.95), 0 0 12px rgba(252,252,250,0.9), 0 0 22px rgba(250,248,243,0.7);
  }
  .welcome-features { display: flex; justify-content: center; gap: 4px; margin: 0 0 22px; }
  .welcome-feature { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .welcome-feature .wf-icon { width: 30px; height: 30px; display: grid; place-items: center; color: rgba(252,252,250,0.95); }
  .welcome-feature .wf-icon svg { width: 26px; height: 26px; }
  .welcome-feature .wf-label { font-size: 11px; font-weight: 600; line-height: 1.2; color: rgba(252,252,250,0.94); }

  .btn-pill {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px; border-radius: 16px;
    font-family: var(--font-head); font-weight: 700; font-size: 16px; cursor: pointer; border: none;
    transition: background .15s ease, transform .08s ease;
  }
  .btn-pill:active { transform: translateY(1px); }
  .btn-pill svg { width: 20px; height: 20px; }
  .btn-pill-cta { background: var(--cta); color: #fff; box-shadow: 0 10px 26px rgba(255,107,87,0.42); }
  .btn-pill-cta:hover { background: var(--cta-dark); }
  .btn-pill-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.22); margin-top: 12px; }
  .btn-pill-ghost:hover { background: rgba(255,255,255,0.14); }
  .btn-pill-ghost svg { color: var(--brand); }

  /* Mountains illustration on the create-account screen */
  .signup-illustration { position: relative; margin: 26px -26px 4px; }
  .signup-illustration img {
    display: block; width: 100%; height: auto;
    /* soft top fade so the illustration blends into the sandstone screen */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%);
    mask-image: linear-gradient(180deg, transparent 0, #000 24%);
  }
  .signup-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

  /* ===================== Home / Trips / Inbox / Profile ===================== */
  .home-hello { font-size: 14px; color: var(--muted); font-weight: 600; }
  .home-title { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--text); margin: 2px 0 2px; letter-spacing: -0.02em; }
  .home-sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
  .start-trip-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px; border-radius: 16px; background: var(--cta); color: #fff;
    font-family: var(--font-head); font-weight: 700; font-size: 16px; border: none; cursor: pointer;
    box-shadow: 0 10px 24px rgba(255,107,87,0.34); transition: background .15s ease, transform .08s ease;
  }
  .start-trip-btn:hover { background: var(--cta-dark); }
  .start-trip-btn:active { transform: translateY(1px); }
  .start-trip-btn svg { width: 20px; height: 20px; }

  .home-section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 12px; }
  .home-section-head h2 { font-size: 17px; font-family: var(--font-head); font-weight: 800; margin: 0; color: var(--text); }
  .home-section-head .view-all { background: none; border: none; color: var(--brand); font-weight: 700; font-size: 13px; cursor: pointer; }

  .trip-card-list { display: flex; flex-direction: column; gap: 12px; }
  .trip-card {
    display: flex; align-items: center; gap: 14px; padding: 10px;
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    cursor: pointer; text-align: left; width: 100%;
    box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .08s ease;
  }
  .trip-card:hover { box-shadow: var(--shadow); }
  .trip-card:active { transform: translateY(1px); }
  .trip-card-thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--bg-soft-2) center/cover no-repeat; flex: none; display: grid; place-items: center; color: var(--muted-2); }
  .trip-card-thumb svg { width: 24px; height: 24px; }
  .trip-card-body { flex: 1; min-width: 0; }
  .trip-card-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--text); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .trip-card-meta { color: var(--muted); font-size: 13px; margin: 3px 0 0; }
  .trip-card-meta2 { margin-top: 2px; }
  .trip-card-chev { color: var(--muted-2); flex: none; }

  .suggested-card { position: relative; border-radius: 18px; overflow: hidden; min-height: 168px; display: flex; align-items: flex-end; color: #fff; background: var(--ink) center/cover no-repeat; cursor: pointer; }
  .suggested-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,34,64,0) 28%, rgba(17,34,64,0.86) 100%); }
  .suggested-card-body { position: relative; z-index: 1; padding: 18px; }
  .suggested-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 22px; margin: 0 0 4px; }
  .suggested-card p { margin: 0; font-size: 13px; color: rgba(252,252,250,0.88); }

  .home-empty { text-align: center; color: var(--muted); padding: 22px; border: 1px dashed var(--border-strong); border-radius: 16px; font-size: 14px; }

  /* Placeholder screens (Inbox / empty states) */
  .placeholder-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; color: var(--muted); }
  .placeholder-screen .ph-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
  .placeholder-screen .ph-icon svg { width: 30px; height: 30px; }
  .placeholder-screen h2 { font-family: var(--font-head); margin: 0 0 6px; color: var(--text); font-size: 20px; }
  .placeholder-screen p { margin: 0; font-size: 14px; max-width: 300px; line-height: 1.5; }

  /* Profile */
  .profile-head { display: flex; align-items: center; gap: 14px; margin: 8px 0 22px; }
  .profile-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 22px; flex: none; }
  .profile-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin: 0; color: var(--text); }
  .profile-email { color: var(--muted); font-size: 13px; margin: 2px 0 0; }
  .profile-list { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
  .profile-row { display: flex; align-items: center; gap: 12px; padding: 15px 16px; background: none; border: none; border-bottom: 1px solid var(--border); cursor: pointer; text-align: left; width: 100%; font-size: 15px; color: var(--text); font-weight: 600; }
  .profile-row:last-child { border-bottom: none; }
  .profile-row:hover { background: var(--bg-soft); }
  .profile-row svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
  .profile-row .pr-chev { margin-left: auto; color: var(--muted-2); }
  .profile-row.danger { color: var(--danger); }
  .profile-row.danger svg { color: var(--danger); }
  .profile-foot { text-align: center; color: var(--muted-2); font-size: 12px; margin: 18px 0 0; }

  /* ===================== Start-a-Trip wizard ===================== */
  .wizard-overlay { position: fixed; inset: 0; z-index: 480; display: none; background: var(--bg); flex-direction: column; }
  .wizard-overlay.open { display: flex; }
  .wizard-top { display: flex; align-items: center; padding: max(16px, calc(env(safe-area-inset-top) + 10px)) 16px 8px; }
  .wizard-close { width: 38px; height: 38px; border: none; background: none; cursor: pointer; color: var(--text); display: grid; place-items: center; }
  .wizard-close svg { width: 22px; height: 22px; }
  .wizard-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; flex: 1; text-align: center; color: var(--text); }
  .wizard-progress { display: flex; align-items: center; padding: 6px 48px 12px; }
  .wizard-progress .wstep { width: 13px; height: 13px; border-radius: 50%; background: var(--border-strong); flex: none; transition: background .2s ease; }
  .wizard-progress .wstep.done { background: var(--brand); }
  .wizard-progress .wline { flex: 1; height: 2px; background: var(--border-strong); transition: background .2s ease; }
  .wizard-progress .wline.done { background: var(--brand); }
  .wizard-body { flex: 1; overflow-y: auto; padding: 14px 24px 16px; width: 100%; max-width: 480px; margin: 0 auto; }
  .wizard-h1 { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.12; color: var(--text); margin: 8px 0 6px; letter-spacing: -0.02em; }
  .wizard-step-sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; line-height: 1.45; }
  .wizard-search { position: relative; margin-bottom: 20px; }
  .wizard-search input { width: 100%; padding: 14px 44px; border: 1px solid var(--border); border-radius: 12px; font-size: 15px; background: #fff; color: var(--text); }
  .wizard-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,165,164,0.12); }
  .wizard-search .s-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
  .wizard-search .s-loc { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--brand); background: none; border: none; cursor: pointer; padding: 4px; }
  .wizard-search .s-ico svg, .wizard-search .s-loc svg { width: 20px; height: 20px; }
  .wizard-section-label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 4px 0 8px; }
  .dest-list { display: flex; flex-direction: column; }
  .dest-item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; background: none; border: none; border-bottom: 1px solid var(--border); cursor: pointer; text-align: left; width: 100%; border-radius: 8px; }
  .dest-item:hover { background: var(--bg-soft); }
  .dest-item.selected { background: var(--brand-soft); }
  .dest-thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft-2) center/cover no-repeat; flex: none; display: grid; place-items: center; color: var(--muted-2); }
  .dest-thumb svg { width: 20px; height: 20px; }
  .dest-info { flex: 1; min-width: 0; }
  .dest-name { font-weight: 700; font-size: 15px; color: var(--text); }
  .dest-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
  .dest-item .chev { color: var(--muted-2); flex: none; }
  .wizard-field { margin-bottom: 20px; }
  .wizard-field label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
  .wizard-input { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 15px; background: #fff; color: var(--text); }
  .wizard-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,165,164,0.12); }
  .traveler-stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 12px; padding: 9px 14px; background: #fff; }
  .traveler-stepper .ts-label { font-size: 15px; font-weight: 600; color: var(--text); }
  .traveler-stepper .ts-controls { display: flex; align-items: center; gap: 16px; }
  .traveler-stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text); display: grid; place-items: center; }
  .traveler-stepper button:hover { border-color: var(--brand); color: var(--brand); }
  .traveler-stepper .ts-count { min-width: 22px; text-align: center; font-weight: 700; font-size: 16px; color: var(--text); }
  .wizard-hint { font-size: 12px; color: var(--muted-2); margin: 6px 0 0; }
  .wizard-footer { padding: 10px 24px max(16px, calc(env(safe-area-inset-bottom) + 12px)); width: 100%; max-width: 480px; margin: 0 auto; }
  .wizard-next { width: 100%; padding: 15px; border: none; border-radius: 14px; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px; cursor: pointer; transition: background .15s ease; }
  .wizard-next:hover { background: var(--brand-dark); }
  .wizard-next:disabled { opacity: .45; cursor: not-allowed; }
  /* ---- Create-a-Trip wizard additions (Trip Name step) ---- */
  .wizard-back { width: 38px; height: 38px; border: none; background: none; cursor: pointer; color: var(--text); display: grid; place-items: center; flex: none; }
  .wizard-back svg { width: 24px; height: 24px; }
  .wizard-skip { flex: none; border: none; background: none; color: var(--brand); font-family: var(--font-body); font-weight: 700; font-size: 15px; cursor: pointer; padding: 8px 6px; }
  .wizard-skip[hidden] { display: none; }
  .wizard-illus { display: block; margin: 4px auto 16px; width: 196px; max-width: 60%; height: auto; }
  .wizard-name-wrap { position: relative; margin-bottom: 16px; }
  .wizard-name-wrap .wizard-input { padding-right: 60px; }
  .name-counter { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 600; color: var(--muted-2); pointer-events: none; }
  .wizard-callout { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border: 1px solid rgba(14,165,164,0.20); border-radius: 14px; padding: 13px 15px; }
  .wizard-callout .wc-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(14,165,164,0.16); color: var(--brand); display: grid; place-items: center; }
  .wizard-callout .wc-ico svg { width: 19px; height: 19px; }
  .wizard-callout .wc-title { font-weight: 700; font-size: 14px; color: var(--text); margin: 1px 0 3px; }
  .wizard-callout .wc-text { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 0; }
  .wizard-secondary { display: block; width: 100%; text-align: center; background: none; border: none; color: var(--brand); font-family: var(--font-body); font-weight: 700; font-size: 15px; padding: 14px 0 2px; cursor: pointer; }
  .wizard-secondary:hover { color: var(--brand-dark); }
  .wizard-secondary[hidden] { display: none; }
  /* ---- When step: "I don't know yet" + inline range calendar ---- */
  .wiz-unknown { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px; cursor: pointer; margin-bottom: 16px; }
  .wiz-unknown input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
  .wiz-unknown .wu-box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-strong); display: grid; place-items: center; margin-top: 1px; transition: background .15s ease, border-color .15s ease; }
  .wiz-unknown .wu-check { width: 14px; height: 14px; color: #fff; opacity: 0; }
  .wiz-unknown input:checked ~ .wu-box { background: var(--brand); border-color: var(--brand); }
  .wiz-unknown input:checked ~ .wu-box .wu-check { opacity: 1; }
  .wiz-unknown .wu-title { display: block; font-weight: 700; font-size: 14px; color: var(--text); }
  .wiz-unknown .wu-sub { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
  .wiz-cal { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px 12px 10px; }
  .wiz-cal[hidden] { display: none; }
  .cal-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
  .cal-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); }
  .cal-nav { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--text); }
  .cal-nav:hover { border-color: var(--brand); color: var(--brand); }
  .cal-nav:disabled { opacity: .3; cursor: default; border-color: var(--border); color: var(--text); }
  .cal-nav svg { width: 18px; height: 18px; }
  .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
  .cal-dow-cell { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted-2); padding-bottom: 6px; }
  .cal-day { position: relative; height: 40px; border: none; padding: 0; cursor: pointer; font-family: var(--font-body); background-color: transparent; background-repeat: no-repeat; background-position: center; }
  .cal-day-inner { display: grid; place-items: center; width: 36px; height: 36px; margin: 2px auto; border-radius: 50%; font-size: 14px; font-weight: 600; color: var(--text); }
  .cal-day.disabled { cursor: default; }
  .cal-day.disabled .cal-day-inner { color: var(--border-strong); }
  .cal-day:not(.disabled):hover .cal-day-inner { background: var(--bg-soft); }
  .cal-day.today .cal-day-inner { box-shadow: inset 0 0 0 1.5px var(--brand); }
  .cal-day.in-range { background-image: linear-gradient(var(--brand-soft), var(--brand-soft)); background-size: 100% 36px; }
  .cal-day.range-start { background-image: linear-gradient(to right, transparent 50%, var(--brand-soft) 50%); background-size: 100% 36px; }
  .cal-day.range-end { background-image: linear-gradient(to left, transparent 50%, var(--brand-soft) 50%); background-size: 100% 36px; }
  .cal-day.range-start .cal-day-inner, .cal-day.range-end .cal-day-inner, .cal-day.range-single .cal-day-inner { background: var(--brand); color: #fff; box-shadow: none; }
  .wiz-cal-summary { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; min-height: 18px; }
  .wiz-cal-summary[hidden] { display: none; }
  .wiz-cal-summary strong { color: var(--text); }
  /* ---- Invite Buddies step ---- */
  .invite-row { display: flex; gap: 10px; align-items: stretch; }
  .invite-row .wizard-input { flex: 1; min-width: 0; }
  .invite-add-btn { flex: none; padding: 0 20px; border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-family: var(--font-head); font-weight: 700; font-size: 14px; border-radius: 12px; cursor: pointer; transition: background .15s ease, color .15s ease; }
  .invite-add-btn:hover { background: var(--brand); color: #fff; }
  .invite-err { color: #dc2626; font-size: 12px; font-weight: 600; margin-top: 6px; }
  .invite-err[hidden] { display: none; }
  .invite-list-label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin: 18px 0 8px; }
  .invite-list { display: flex; flex-direction: column; gap: 8px; }
  .invite-chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 11px 10px 11px 14px; }
  .invite-email { font-size: 14px; color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .invite-remove { flex: none; width: 28px; height: 28px; border: none; background: none; color: var(--muted-2); cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
  .invite-remove:hover { color: var(--cta); background: var(--bg-soft); }
  .invite-remove svg { width: 16px; height: 16px; }
  .invite-info { align-items: center; margin-top: 18px; }
  #wizInviteListWrap[hidden] { display: none; }

  .home-view { max-width: 640px; }

  /* ===== New-user welcome (empty Home) ===== */
  body.home-welcome .main { padding: 0 !important; }
  .home-welcome-screen { width: 100%; max-width: 560px; margin: 0 auto; }
  .hw-hero {
    position: relative;
    background: var(--ink) center/cover no-repeat;
    background-image: url("images/welcome-hero.jpg");
    padding: max(22px, calc(env(safe-area-inset-top) + 16px)) 22px 64px;
  }
  /* gentle light veil up top so the navy logo/title stay crisp on the sky */
  .hw-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(250,248,243,0.45) 0%, rgba(250,248,243,0.12) 24%, rgba(250,248,243,0) 46%);
    pointer-events: none;
  }
  .hw-hero > * { position: relative; z-index: 1; }
  .hw-top { display: flex; align-items: flex-start; justify-content: space-between; }
  .hw-logo { display: flex; align-items: center; gap: 11px; }
  .hw-logo .wh-logo-mark { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 6px 16px rgba(17,34,64,0.28); }
  .hw-logo .wh-logo-mark .wh-heart { width: 28px; height: 28px; }
  .hw-logo .wh-wordmark { font-size: 22px; }
  .hw-logo .wh-wordmark small { font-size: 10px; letter-spacing: 0.32em; margin-top: 4px; gap: 8px; }
  .hw-logo .wh-wordmark small::before, .hw-logo .wh-wordmark small::after { width: 16px; }
  .hw-bell {
    width: 42px; height: 42px; border: none; background: none; cursor: pointer;
    color: var(--ink); display: grid; place-items: center; margin: -4px -8px 0 0;
  }
  .hw-bell svg { width: 26px; height: 26px; }
  .hw-title {
    font-family: var(--font-head); font-weight: 800; color: var(--ink);
    font-size: clamp(30px, 9vw, 38px); line-height: 1.08; letter-spacing: -0.02em; margin: 26px 0 0;
    text-shadow: 0 1px 1px rgba(250,248,243,0.5);
  }
  .hw-sub { color: var(--ink); font-size: 17px; line-height: 1.4; margin: 10px 0 4px; font-weight: 500; text-shadow: 0 1px 1px rgba(250,248,243,0.5); }
  .hw-card {
    position: relative; margin-top: -30px;
    background: var(--bg); border-radius: 28px 28px 0 0;
    padding: 24px 22px calc(28px + env(safe-area-inset-bottom));
    min-height: 40vh;
  }
  .hw-doodle { display: block; width: 100%; max-width: 320px; height: auto; margin: 4px auto 2px; mix-blend-mode: multiply; }
  .hw-empty-title { font-family: var(--font-head); font-weight: 800; font-size: 24px; text-align: center; color: var(--ink); margin: 6px 0 0; letter-spacing: -0.01em; }
  .hw-empty-sub { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.5; margin: 8px auto 0; max-width: 330px; }
  .hw-plan-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px; margin-top: 22px; border: none; border-radius: 14px;
    background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px;
    cursor: pointer; transition: background .15s ease, transform .08s ease;
    box-shadow: 0 8px 22px rgba(14,165,164,0.28);
  }
  .hw-plan-btn:hover { background: var(--brand-dark); }
  .hw-plan-btn:active { transform: translateY(1px); }
  .hw-plan-btn svg { width: 20px; height: 20px; }
  .hw-inspo {
    width: 100%; display: flex; align-items: center; gap: 14px; margin-top: 18px;
    padding: 15px 16px; background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: 16px; cursor: pointer; text-align: left;
  }
  .hw-inspo:hover { background: var(--bg-soft-2); }
  .hw-inspo-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); flex: none; }
  .hw-inspo-icon svg { width: 28px; height: 28px; }
  .hw-inspo-text { flex: 1; min-width: 0; }
  .hw-inspo-text strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); margin-bottom: 2px; }
  .hw-inspo-text span { font-size: 13px; color: var(--muted); line-height: 1.4; }
  .hw-inspo .hw-inspo-chev { color: var(--muted-2); flex: none; }
  @media (min-width: 760px) {
    .home-welcome-screen { max-width: 560px; box-shadow: var(--shadow-lg); border-radius: 0 0 24px 24px; overflow: hidden; margin-top: 0; }
  }

  @media (min-width: 560px) {
    .welcome-features { gap: 14px; }
    .welcome-feature .wf-icon { width: 34px; height: 34px; }
  }

  /* ===================== Onboarding (redesign) ===================== */
  .onb-overlay {
    --navy:#0F1B3D; --coral:#FF6B57; --coral-dark:#F0563F; --cream:#FAF8F4;
    --onb-sans:'Hanken Grotesk',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
    position:fixed; inset:0; z-index:1200; display:none;
    font-family:var(--onb-sans); color:#fff; background:var(--navy);
    -webkit-font-smoothing:antialiased; overflow:hidden;
  }
  .onb-overlay.open { display:block; }
  .onb-overlay *, .onb-overlay *::before, .onb-overlay *::after { box-sizing:border-box; }
  .onb-logo { display:inline-flex; align-items:center; }
  .onb-logo img { height:30px; width:auto; display:block; }
  .onb-navlink, .onb-skip { font:600 14px/1 var(--onb-sans); color:rgba(255,255,255,.6); text-decoration:none; cursor:pointer; background:none; border:none; padding:0; transition:color .15s; }
  .onb-navlink:hover, .onb-skip:hover { color:#fff; }
  .onb-eyebrow { font:600 13px/1 var(--onb-sans); letter-spacing:.2em; text-transform:uppercase; color:var(--coral); margin:0 0 18px; }
  .onb-sub { font:400 16.5px/1.55 var(--onb-sans); color:rgba(255,255,255,.82); margin:18px 0 0; max-width:28rem; }
  .onb-btn { display:inline-flex; align-items:center; gap:10px; font:600 15px/1 var(--onb-sans); border-radius:999px; padding:15px 26px; cursor:pointer; border:none; text-decoration:none; transition:transform .12s, background .15s, border-color .15s; white-space:nowrap; }
  .onb-btn svg { width:18px; height:18px; }
  .onb-btn:active { transform:translateY(1px); }
  .onb-btn-coral { background:var(--coral); color:#fff; }
  .onb-btn-coral:hover { background:var(--coral-dark); }
  .onb-btn-ghost { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.5); }
  .onb-btn-ghost:hover { border-color:#fff; background:rgba(255,255,255,.08); }
  .onb-arrow { width:56px; height:56px; flex:none; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,.10); border:1.5px solid rgba(255,255,255,.32); color:#fff; cursor:pointer; transition:background .15s; }
  .onb-arrow:hover { background:rgba(255,255,255,.22); }
  .onb-arrow svg { width:22px; height:22px; }
  .onb-dots { display:flex; align-items:center; gap:8px; }
  .onb-dot { width:8px; height:8px; border-radius:999px; background:rgba(255,255,255,.28); transition:width .25s, background .25s; }
  .onb-dot.active { width:30px; background:var(--coral); }

  /* ---- Landing ---- */
  .onb-landing { position:absolute; inset:0; display:flex; flex-direction:column; background-size:cover; background-position:center; }
  .onb-landing__scrim { position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,16,38,.42) 0%, rgba(10,16,38,.05) 26%, rgba(10,16,38,.30) 62%, rgba(10,16,38,.86) 100%); }
  .onb-landing__nav { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; padding:24px clamp(20px,5vw,64px); }
  .onb-landing__links { display:flex; align-items:center; gap:30px; }
  .onb-landing__hero { position:relative; z-index:1; margin-top:auto; padding:0 clamp(20px,5vw,64px) clamp(40px,7vh,76px); }
  .onb-landing__title { font-weight:800; letter-spacing:-0.04em; line-height:.97; font-size:clamp(46px,7.4vw,94px); margin:0; max-width:13ch; }
  .onb-landing__sub { font:400 clamp(16px,1.6vw,20px)/1.5 var(--onb-sans); color:rgba(255,255,255,.9); margin:22px 0 30px; max-width:34ch; }
  .onb-landing__cta { display:flex; gap:14px; flex-wrap:wrap; }
  @media (max-width:720px) {
    .onb-landing__links .onb-navlink:not(.is-login), .onb-landing__links .onb-btn { display:none; }
  }

  /* ---- Carousel ---- */
  .onb-step { position:absolute; inset:0; display:grid; grid-template-columns:1fr 1fr; }
  .onb-step__panel { position:relative; z-index:1; background:var(--navy); display:flex; flex-direction:column; padding:clamp(28px,4vw,52px); }
  .onb-step__top { display:flex; align-items:center; justify-content:space-between; }
  .onb-step__body { margin-top:auto; margin-bottom:auto; max-width:29rem; }
  .onb-step__h { font-weight:700; letter-spacing:-0.03em; line-height:1.05; font-size:clamp(33px,3.4vw,49px); margin:0; }
  .onb-step__foot { display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .onb-step__hint { font:400 13px/1.4 var(--onb-sans); color:rgba(255,255,255,.5); margin:14px 0 0; }
  .onb-step__photo { background-size:cover; background-position:center; }
  @media (max-width:820px) {
    .onb-step { grid-template-columns:1fr; }
    .onb-step__photo { position:absolute; inset:0; z-index:0; }
    .onb-step__panel { background:linear-gradient(180deg, rgba(10,16,38,.30) 0%, rgba(10,16,38,0) 30%, rgba(10,16,38,.55) 58%, rgba(10,16,38,.95) 100%); }
    .onb-step__body { margin-top:auto; margin-bottom:6px; }
  }

  /* ---- Add-to-Home-Screen install sheet (slides up over the Landing) ---- */
  .onb-install { position:fixed; inset:0; z-index:1300; pointer-events:none; }
  .onb-install.open { pointer-events:auto; }
  .onb-install__scrim { position:absolute; inset:0; background:rgba(8,13,32,.4); opacity:0; transition:opacity .4s; }
  .onb-install.open .onb-install__scrim { opacity:1; }
  .onb-install__sheet { position:absolute; left:0; right:0; bottom:0; width:100%; max-width:460px; margin:0 auto; background:var(--cream); border-radius:26px 26px 0 0; padding:9px 18px calc(18px + env(safe-area-inset-bottom,0px)); box-shadow:0 -10px 44px rgba(8,13,32,.3); transform:translateY(110%); transition:transform .42s cubic-bezier(.32,.72,0,1); touch-action:none; }
  .onb-install.open .onb-install__sheet { transform:translateY(0); }
  .onb-install__handle { width:40px; height:5px; border-radius:999px; background:rgba(15,27,61,.16); margin:6px auto 14px; }
  .onb-install__hero { position:relative; border-radius:18px; overflow:hidden; background:var(--navy); background-size:cover; background-position:center; height:148px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
  .onb-install__hero::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(8,13,32,.12), rgba(8,13,32,.6)); }
  .onb-install__tile { position:relative; z-index:1; width:76px; height:76px; }
  .onb-install__tileinner { width:100%; height:100%; border-radius:18px; overflow:hidden; border:3px solid rgba(255,255,255,.75); box-shadow:0 10px 24px rgba(0,0,0,.35); }
  .onb-install__tileinner img { width:100%; height:100%; display:block; }
  .onb-install__new { position:absolute; top:-7px; right:-11px; z-index:2; background:var(--coral); color:#fff; font:700 9px/1 var(--onb-sans); letter-spacing:.07em; padding:4px 7px; border-radius:999px; box-shadow:0 2px 6px rgba(0,0,0,.2); }
  .onb-install__herocap { position:relative; z-index:1; margin-top:12px; font:700 10px/1 var(--onb-sans); letter-spacing:.15em; text-transform:uppercase; color:rgba(255,255,255,.92); }
  .onb-install__title { font:800 21px/1.2 var(--onb-sans); letter-spacing:-0.02em; color:var(--navy); text-align:center; margin:16px 0 14px; }
  .onb-install__steps { background:#fff; border-radius:18px; padding:2px 14px; box-shadow:0 1px 3px rgba(8,13,32,.07); }
  .onb-install__step { display:flex; align-items:center; gap:12px; padding:13px 0; }
  .onb-install__step + .onb-install__step { border-top:1px solid rgba(15,27,61,.06); }
  .onb-install__num { flex:none; width:26px; height:26px; border-radius:50%; background:var(--navy); color:#fff; font:700 13px/1 var(--onb-sans); display:flex; align-items:center; justify-content:center; }
  .onb-install__txt { flex:1; font:400 14px/1.35 var(--onb-sans); color:#46546e; }
  .onb-install__txt b { color:var(--navy); font-weight:700; }
  .onb-install__ico { flex:none; width:38px; height:38px; border-radius:11px; background:var(--cream); display:flex; align-items:center; justify-content:center; }
  .onb-install__ico svg { width:19px; height:19px; }
  .onb-install__note { text-align:center; font:600 12.5px/1.3 var(--onb-sans); color:var(--navy); margin:14px 0 2px; }
  .onb-install__note b { color:var(--coral); }
  .onb-install__later { display:block; width:100%; text-align:center; background:none; border:none; font:600 14px/1 var(--onb-sans); color:#8a93a6; padding:12px 0 2px; cursor:pointer; }
  /* "Add to Home Screen" button on the Landing (navy pill + coral W tile) */
  .onb-btn-block { width:100%; justify-content:center; }
  .onb-homebtn { display:inline-flex; align-items:center; justify-content:center; gap:11px; width:100%; background:var(--navy); color:#fff; border:none; border-radius:999px; padding:14px 22px; font:600 15px/1 var(--onb-sans); cursor:pointer; transition:transform .12s, background .15s; }
  .onb-homebtn:hover { background:#16244d; }
  .onb-homebtn:active { transform:translateY(1px); }
  .onb-homebtn__ico { flex:none; width:27px; height:27px; border-radius:7px; background:var(--coral); display:flex; align-items:center; justify-content:center; }
  .onb-homebtn__ico img { width:18px; height:18px; display:block; }
  /* Landing CTAs stack full-width on phones (per the mobile design) */
  @media (max-width:680px) {
    .onb-landing__cta { flex-direction:column; align-items:stretch; gap:11px; }
    .onb-landing__title { font-size:clamp(54px,15vw,80px); }
  }

