/* Plus Jakarta Sans — local for offline use */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/PlusJakartaSans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:root {
  /* CodedOK brand 2026 — see /docs/brand or the brand pack PDF.
     Deep Tide (primary) + Signal Teal (accent) + warm working-paper
     backgrounds. No gradients, no nautical clichés. */
  --ink:    #1C252B; --ink2: #243036; --ink3: #2B3940;   /* Harbour Black + warmer steps */
  --sea:    #0F4C5C; --seal: #1E7A86; --seap: rgba(30,122,134,.10);  /* Deep Tide + Signal Teal */

  /* Status accents — kept muted to match the workmanlike palette. */
  --green:  #4F7A52; --grnp: rgba(79,122,82,.10);   /* Kelp Green */
  --amber:  #C58A2A; --ampp: rgba(197,138,42,.10);  /* Buoy Amber */
  --red:    #A14A3B; --redp: rgba(161,74,59,.10);   /* Rust Red */
  --purp:   #5A4FCF; --purpp:rgba(90,79,207,.10);   /* Reserved for surveyor accents */

  /* Surfaces — Fog White + Steel Mist. Feels like paper, not a dashboard. */
  --white:  #ffffff;
  --slate:  #E4E9E7;          /* Steel Mist */
  --bdr:    #D5DBD8;
  --bdr-strong: #B8C2BD;
  --page:   #F3F5F4;          /* Fog White */
  --card:   #ffffff;
  --card-2: #FBFCFB;

  /* Type — six steps from tertiary grey to Harbour Black. */
  --text:   #1C252B;          /* Harbour Black */
  --text-2: #2E3940;
  --mid:    #525C63;
  --lt:     #6B767E;
  --lt-2:   #92A0A8;

  /* Type stack — Barlow Condensed for display authority, Inter for UI. */
  --fn-display: 'Barlow Condensed', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fn:         'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fn-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Radius scale. Slightly softer per the brand pack guidance. */
  --r:    16px;
  --rs:   10px;
  --r-lg: 22px;

  --safe: env(safe-area-inset-bottom,20px);

  /* Shadow scale — tightened a touch for the calmer palette. */
  --sh-sm: 0 1px 2px rgba(28,37,43,.05);
  --sh:    0 1px 3px rgba(28,37,43,.06), 0 6px 24px rgba(28,37,43,.04);
  --sh-md: 0 1px 3px rgba(28,37,43,.08), 0 12px 28px rgba(28,37,43,.07);
  --sh-lg: 0 8px 16px rgba(28,37,43,.08), 0 24px 56px rgba(28,37,43,.10);

  /* Motion. Single ease curve everywhere for cohesive feel. */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 140ms var(--ease);
  --t-base: 220ms var(--ease);
  --t-slow: 320ms var(--ease);
}
/* Base size bumped 15 -> 17px. Anything fixed at small px in component
   styles below also scales up because em-based metrics inherit. */
html,body{font-family:var(--fn);background:var(--ink);color:var(--text);min-height:100vh;font-size:17px;line-height:1.55;overflow-x:hidden;letter-spacing:-.005em;}
@media(min-width:520px){body{display:flex;justify-content:center;align-items:flex-start;padding:32px 0 64px;}.shell{width:393px;min-height:852px;border-radius:44px;overflow:hidden;box-shadow:0 60px 120px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.08);}}

/* SHELL */
.shell{display:none;flex-direction:column;background:var(--page);position:relative;}
.shell.on{display:flex;animation: shellIn 200ms var(--ease);}
/* Opacity-only — no transform — so we don't create a stacking context
   that breaks position:sticky on the bnav while the animation runs. */
@keyframes shellIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .shell.on { animation: none; }
}

/* Mobile: lock the shell to viewport height so .scroll becomes the scroll
   context and .bnav stays pinned to the bottom (instead of scrolling away).
   100dvh handles iOS Safari's collapsing URL bar; 100vh is the fallback. */
@media (max-width: 519px) {
  html, body { height: 100vh; height: 100dvh; overflow: hidden; }
  body { padding: 0; display: block; }
  .shell.on {
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
  }
}

/* STATUS BAR — also serves as the safe-area-top spacer for iOS PWA */
.sb{height:max(50px, env(safe-area-inset-top, 0px));display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-size:12px;font-weight:600;flex-shrink:0;}
.sb-dk{background:var(--ink);color:rgba(255,255,255,.7);}
.sb-lt{background:var(--page);color:var(--text);}
.sb-cd{background:var(--card);color:var(--text);}

/* iOS Safari (non-PWA) chrome compensation. Safari's URL bar overlaps
   the top of the page and the bottom toolbar overlaps the bottom —
   env(safe-area-inset-*) only reports the OS status bar, not the
   browser chrome. body.safari-chrome is set by app.js when iOS Safari
   is detected and the app is NOT running standalone. */
body.safari-chrome .sb { min-height: 90px; height: max(90px, calc(env(safe-area-inset-top, 0px) + 50px)); }
body.safari-chrome .bnav { padding-bottom: max(28px, calc(env(safe-area-inset-bottom, 0px) + 24px)); }
body.safari-chrome .fab,
body.safari-chrome .floating-fab { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }

/* SCROLL */
.scroll{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.scroll::-webkit-scrollbar{display:none;}

/* TOP BAR */
.tbar{background:var(--card);padding:12px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--bdr);flex-shrink:0;}

/* Large iOS-style page header — used on Tools and other top-level screens. */
.lt-head{
  background:var(--card);
  padding:18px 20px 16px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-shrink:0;
  border-bottom:1px solid var(--bdr);
}
.lt-title{font-size:30px;font-weight:800;color:var(--text);letter-spacing:-.8px;line-height:1.05;}
.lt-sub{font-size:14px;color:var(--mid);margin-top:6px;line-height:1.45;max-width:280px;}
.lt-avatar{flex-shrink:0;}
.tbar-title{font-size:18px;font-weight:700;color:var(--text);}
.back{display:flex;align-items:center;gap:3px;color:var(--sea);font-size:15px;font-weight:500;cursor:pointer;border:none;background:none;font-family:var(--fn);}

/* BOTTOM NAV — glove-friendly tap targets, subtle active state.
   Solid background (no backdrop-filter) so iOS Safari doesn't repaint
   the whole nav on every scroll frame — that's what makes the scroll
   feel laggy / "off" with sticky elements. */
.bnav{
  background:var(--card);
  border-top:1px solid var(--bdr);
  display:flex;
  padding:6px 0 max(6px, var(--safe));
  flex-shrink:0;
  position:sticky;
  bottom:0;
  z-index:50;
}
.bni{
  flex:1;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  cursor:pointer;border:none;background:none;font-family:var(--fn);
  padding:8px 0 6px;min-height:50px;
  color:var(--lt);
  transition: color var(--t-fast);
}
.bni:active { transform: scale(.96); transition: transform 80ms ease; }
.bni-ic{ font-size:24px; line-height:1; position:relative; transition: transform var(--t-fast); filter: grayscale(.15); }
.bni-lb{ font-size:11px; font-weight:600; color:inherit; letter-spacing:.01em; }
.bni.on { color:var(--sea); }
.bni.on .bni-ic { filter: grayscale(0); transform: translateY(-1px); }
.bni.on .bni-lb { color:var(--sea); font-weight:700; }
.bni.on::before{
  content:''; position:absolute; top:0; left:50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--sea);
}

/* CARDS */
.card{background:var(--card);border-radius:var(--r);border:1px solid var(--bdr);overflow:hidden;box-shadow:var(--sh);transition:box-shadow var(--t-base), border-color var(--t-base);}
.mx{margin:0 16px;}

/* SECTION LABEL */
.slbl{font-size:13px;font-weight:700;letter-spacing:-.01em;color:var(--mid);padding:22px 20px 10px;display:flex;align-items:center;justify-content:space-between;text-transform:none;}
.slbl-act{font-size:14px;font-weight:600;color:var(--sea);transition: opacity var(--t-fast);}
.slbl-act:hover { opacity: .75; }

/* CHIPS */
.chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;}
.chip-ok{background:var(--grnp);color:var(--green);}
.chip-am{background:var(--ampp);color:var(--amber);}
.chip-rd{background:var(--redp);color:var(--red);}
.chip-bl{background:var(--seap);color:var(--sea);}
.chip-pu{background:var(--purpp);color:var(--purp);}
.chip-dot{width:5px;height:5px;border-radius:50%;background:currentColor;}

/* ROW ITEMS */
.row{display:flex;align-items:center;gap:14px;padding:16px;min-height:64px;border-bottom:1px solid var(--bdr);cursor:pointer;transition:background .1s;}
.row:last-child{border-bottom:none;}
.row:active{background:var(--slate);}
.row-ic{width:44px;height:44px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:22px;}
.row-ic.ok{background:var(--grnp);}
.row-ic.am{background:var(--ampp);}
.row-ic.rd{background:var(--redp);}
.row-ic.bl{background:var(--seap);}
.row-ic.pu{background:var(--purpp);}
.row-ic.dk{background:rgba(255,255,255,.08);}
.row-body{flex:1;min-width:0;}
.row-name{font-size:16px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.row-sub{font-size:13px;color:var(--mid);margin-top:2px;}
.chev{color:var(--lt);font-size:18px;flex-shrink:0;}

/* BUTTONS */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:54px;padding:0 24px;border-radius:14px;
  font-family:var(--fn);font-size:16px;font-weight:700;letter-spacing:-.01em;
  cursor:pointer;border:none;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: 0 1px 2px rgba(15,23,42,.06);
}
.btn:active { transform: scale(.97); }
.btn-full{width:100%;}
.btn-sea{background:var(--sea);color:white;}
.btn-sea:active{opacity:.85;}
.btn-ink{background:var(--ink);color:white;}
.btn-out{background:transparent;color:var(--text);border:1.5px solid var(--bdr);}
.btn-red{background:var(--red);color:white;}
.btn-green{background:var(--green);color:white;}
.btn-sm{height:44px;padding:0 16px;font-size:14px;border-radius:10px;}
.btn-xs{height:30px;padding:0 10px;font-size:12px;border-radius:7px;}

/* PROGRESS */
.prog{height:6px;border-radius:3px;background:var(--bdr);overflow:hidden;}
.prog-fill{height:100%;border-radius:3px;transition:width .4s ease;}
.prog-fill.ok{background:var(--green);}
.prog-fill.am{background:var(--amber);}
.prog-fill.rd{background:var(--red);}
.prog-fill.bl{background:var(--sea);}

/* TABS */
.tabbar{display:flex;overflow-x:auto;padding:0 16px;gap:2px;border-bottom:1px solid var(--bdr);background:var(--card);flex-shrink:0;}
.tabbar::-webkit-scrollbar{display:none;}
.tab{padding:12px 14px;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;border:none;background:none;color:var(--lt);border-bottom:2px solid transparent;margin-bottom:-1px;font-family:var(--fn);}
.tab.on{color:var(--sea);border-bottom-color:var(--sea);}
.tc{display:none;}
.tc.on{display:block;}

/* TIMELINE */
.tl{padding:16px;display:flex;flex-direction:column;}
.tli{display:flex;gap:14px;padding-bottom:18px;position:relative;}
.tli::before{content:'';position:absolute;left:15px;top:26px;bottom:0;width:2px;background:var(--bdr);}
.tli:last-child::before{display:none;}
.tl-dot{width:20px;height:20px;border-radius:50%;flex-shrink:0;margin-top:2px;border:2px solid var(--bdr);background:white;z-index:1;display:flex;align-items:center;justify-content:center;font-size:8px;}
.tl-dot.ok{border-color:var(--green);background:var(--grnp);}
.tl-dot.am{border-color:var(--amber);background:var(--ampp);}
.tl-dot.rd{border-color:var(--red);background:var(--redp);}
.tl-dot.up{border-color:var(--ink2);background:var(--ink2);}
.tl-title{font-size:13px;font-weight:500;color:var(--text);}
.tl-date{font-size:12px;color:var(--lt);margin-top:1px;}

/* FORM */
.fg{display:flex;flex-direction:column;gap:5px;padding:13px 16px 0;}
.fg:last-child{padding-bottom:13px;}
.fl{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--lt);}
.fi,.fs{height:48px;padding:0 14px;border-radius:var(--rs);border:1.5px solid var(--bdr);font-family:var(--fn);font-size:15px;color:var(--text);background:var(--slate);outline:none;-webkit-appearance:none;width:100%;}
.fi:focus,.fs:focus{border-color:var(--sea);background:white;box-shadow:0 0 0 3px var(--seap);}
.fta{min-height:90px;padding:12px 14px;border-radius:var(--rs);border:1.5px solid var(--bdr);font-family:var(--fn);font-size:15px;color:var(--text);background:var(--slate);outline:none;width:100%;resize:none;line-height:1.5;}
.fta:focus{border-color:var(--sea);background:white;box-shadow:0 0 0 3px var(--seap);}
.divider{height:1px;background:var(--bdr);}

/* SHEET */
.bdrop{position:fixed;inset:0;background:rgba(10,15,30,.6);z-index:100;display:none;align-items:flex-end;backdrop-filter:blur(2px);}
.bdrop.on{display:flex;}
.sheet{background:var(--card);width:100%;border-radius:24px 24px 0 0;max-height:88vh;overflow-y:auto;animation:shup .28s cubic-bezier(.32,.72,0,1);}
@keyframes shup{from{transform:translateY(100%);}to{transform:translateY(0);}}
.sh-pull{width:40px;height:4px;border-radius:2px;background:var(--bdr);margin:12px auto 0;}
.sh-head{padding:12px 20px 16px;display:flex;align-items:center;justify-content:space-between;}
.sh-title{font-size:18px;font-weight:700;color:var(--text);}
.sh-x{background:var(--slate);border:none;width:30px;height:30px;border-radius:50%;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--mid);}

/* STAT GRID */
.sgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 16px;}
.scard{background:var(--card);border-radius:var(--rs);border:1px solid var(--bdr);padding:14px 16px;box-shadow:var(--sh);}
.scard-lbl{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--lt);margin-bottom:5px;}
.scard-val{font-size:28px;font-weight:700;line-height:1;}
.scard-val.ok{color:var(--green);}
.scard-val.am{color:var(--amber);}
.scard-val.rd{color:var(--red);}
.scard-val.bl{color:var(--sea);}
.scard-sub{font-size:11px;color:var(--lt);margin-top:4px;}

/* COMPLIANCE RING */
.ring-wrap{position:relative;width:96px;height:96px;flex-shrink:0;}
.ring-wrap svg{transform:rotate(-90deg);}
.ring-val{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.ring-pct{font-size:22px;font-weight:700;color:var(--text);}
.ring-pct-lbl{font-size:10px;font-weight:600;color:var(--lt);}

/* INSPECTION BADGE */
.insp-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:8px;font-size:12px;font-weight:700;}
.insp-badge.rdy{background:var(--grnp);color:var(--green);}
.insp-badge.notready{background:var(--redp);color:var(--red);}
.insp-badge.soon{background:var(--ampp);color:var(--amber);}

/* SCAN STATE */
.scan-frame{border:2px dashed var(--sea);border-radius:14px;aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:rgba(15,76,92,.04);}

/* Three-way add-record option cards on s-scan. */
.scan-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--bdr);
  text-align: left;
  font-family: var(--fn);
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform 120ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.scan-opt:active { transform: scale(.99); }
.scan-opt:hover { border-color: var(--bdr-strong); box-shadow: var(--sh); }
.scan-opt-primary {
  background: linear-gradient(180deg, var(--seap) 0%, rgba(15,76,92,.04) 100%);
  border-color: rgba(15,76,92,.25);
}
.scan-opt-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.scan-opt-text { flex: 1; min-width: 0; }
.scan-opt-title { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -.1px; }
.scan-opt-sub { font-size: 12px; color: var(--mid); margin-top: 3px; line-height: 1.4; }
.scan-opt-arrow { font-size: 20px; color: var(--lt); flex-shrink: 0; }

.quick-add-tile {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: transform 120ms ease, border-color 200ms ease;
}
.quick-add-tile:active { transform: scale(.985); }
.quick-add-tile:hover { border-color: var(--bdr-strong); }
.ai-pulse{width:48px;height:48px;border-radius:50%;background:var(--seap);border:3px solid var(--sea);border-top-color:transparent;animation:spin .8s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}
.conf-bar{height:4px;border-radius:2px;background:var(--bdr);overflow:hidden;margin-top:6px;}
.conf-fill{height:100%;border-radius:2px;background:var(--green);transition:width .6s ease;}

/* NOTIF DOT */
.notif-dot{position:absolute;top:-2px;right:-2px;width:8px;height:8px;border-radius:50%;background:var(--red);border:2px solid var(--card);}

/* URGENCY STRIP */
.urg{display:flex;gap:8px;padding:0 16px;overflow-x:auto;}
.urg::-webkit-scrollbar{display:none;}
.urg-pill{flex-shrink:0;display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:10px;cursor:pointer;}
.urg-pill.rd{background:var(--redp);border:1px solid rgba(220,38,38,.2);}
.urg-pill.am{background:var(--ampp);border:1px solid rgba(217,119,6,.2);}
.urg-pill.ok{background:var(--grnp);border:1px solid rgba(22,163,74,.2);}
.urg-num{font-size:20px;font-weight:700;}
.urg-lbl{font-size:11px;font-weight:600;color:var(--mid);}

/* CALENDAR GRID */
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:0 16px;}
.cal-day{aspect-ratio:1;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;color:var(--lt);}
.cal-day.hd{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;}
.cal-day.today{background:var(--sea);color:white;font-weight:700;}
.cal-day.has-ev{position:relative;}
.cal-day.has-ev::after{content:'';position:absolute;bottom:3px;left:50%;transform:translateX(-50%);width:4px;height:4px;border-radius:50%;background:var(--amber);}
.cal-day.has-rd::after{background:var(--red);}
.cal-day.has-ok::after{background:var(--green);}
.cal-day.cur-mo{color:var(--text);}
.cal-day.other-mo{color:var(--bdr);}

/* CREW ROLE BADGE */
.role-badge{display:inline-flex;align-items:center;gap:5px;background:var(--seap);color:var(--sea);border-radius:6px;padding:3px 8px;font-size:11px;font-weight:700;}

/* ACTION CARD */
.action-card{background:var(--card);border-radius:var(--r);border:1px solid var(--bdr);padding:14px 16px;margin-bottom:10px;display:flex;align-items:center;gap:14px;box-shadow:var(--sh);}
.action-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;}
.action-num{font-size:22px;font-weight:700;color:var(--text);margin-left:auto;flex-shrink:0;}

/* VESSEL HEALTH */
.vh-bar{height:8px;border-radius:4px;background:var(--bdr);overflow:hidden;flex:1;}

/* INSPECTION PACK PREVIEW */
.pack-section{background:var(--slate);border-radius:10px;padding:12px 14px;margin-bottom:10px;}
.pack-sec-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--lt);margin-bottom:8px;}
.pack-row{display:flex;align-items:center;justify-content:space-between;padding:4px 0;}
.pack-key{font-size:13px;color:var(--mid);}
.pack-val{font-size:13px;font-weight:600;color:var(--text);}

/* GAP ANALYSIS */
.gap-item{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid var(--bdr);}
.gap-item:last-child{border:none;}
.gap-sev{width:4px;border-radius:2px;flex-shrink:0;align-self:stretch;}
.gap-sev.rd{background:var(--red);}
.gap-sev.am{background:var(--amber);}
.gap-sev.ok{background:var(--green);}
.gap-title{font-size:13px;font-weight:600;color:var(--text);}
.gap-desc{font-size:12px;color:var(--lt);margin-top:2px;line-height:1.5;}

/* ANIMATIONS */
@keyframes fadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
.shell.on .scroll>*{animation:fadeUp .2s ease both;}
.shell.on .scroll>*:nth-child(2){animation-delay:.04s;}
.shell.on .scroll>*:nth-child(3){animation-delay:.08s;}
.shell.on .scroll>*:nth-child(4){animation-delay:.12s;}
.shell.on .scroll>*:nth-child(5){animation-delay:.16s;}

/* MISC */
.spacer{height:24px;}
.pb24{padding-bottom:24px;}
.avatar{width:36px;height:36px;border-radius:50%;background:var(--ink2);color:white;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0;}

/* ═══════════════════════════════════════════════════════════════
   v2 VISUAL POLISH — hero cards, vessel covers, animated rings,
   crew chips, ticket-style rows, McCollam Marine surveyor palette.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* McCollam Marine surveyor brand */
  --mm-navy: #0a0f1a;
  --mm-deep: #0f1729;
  --mm-blue: #1e40af;
  --mm-blue-soft: #3b5fff;
  --mm-grey: #6b7589;

  /* Subtle background mesh used on hero cards */
  --mesh-1: radial-gradient(circle at 0% 0%, rgba(15,76,92,.16) 0%, transparent 45%),
            radial-gradient(circle at 100% 0%, rgba(124,58,237,.12) 0%, transparent 45%),
            radial-gradient(circle at 50% 100%, rgba(22,163,74,.10) 0%, transparent 45%);
  --mesh-mm: radial-gradient(circle at 0% 0%, rgba(30,64,175,.30) 0%, transparent 50%),
             radial-gradient(circle at 100% 100%, rgba(15,76,92,.14) 0%, transparent 55%);
}

/* HERO CARD — used on home & vessel detail */
.hero {
  position: relative;
  background: var(--ink);
  background-image: var(--mesh-1);
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(255,255,255,.10) 0%, transparent 60%);
  pointer-events: none;
}

/* HERO-HOME — wow variant used on the operator home screen.
   Adds a second radial sheen, deeper shadow, and richer gradient. */
.hero-home {
  background-image:
    radial-gradient(120% 80% at 100% 0%, rgba(30,122,134,.28) 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(79,122,82,.16) 0%, transparent 60%),
    linear-gradient(180deg, #1C252B 0%, #0F4C5C 100%);
  box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06);
}
.hero-home::before {
  background:
    radial-gradient(circle at 85% -10%, rgba(255,255,255,.12) 0%, transparent 55%),
    radial-gradient(circle at 0% 110%, rgba(15,76,92,.18) 0%, transparent 55%);
}

/* Subtle drifting starfield in the hero background. Each star is a small
   white dot rendered as a radial gradient — cheap and works offline. */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 24%, rgba(255,255,255,.65) 50%, transparent 100%),
    radial-gradient(1px 1px at 72% 18%, rgba(255,255,255,.55) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 38% 72%, rgba(134,239,172,.6) 50%, transparent 100%),
    radial-gradient(1px 1px at 88% 60%, rgba(255,255,255,.45) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 12% 88%, rgba(125,211,252,.55) 50%, transparent 100%),
    radial-gradient(1px 1px at 60% 92%, rgba(255,255,255,.45) 50%, transparent 100%),
    radial-gradient(1px 1px at 92% 30%, rgba(255,255,255,.4) 50%, transparent 100%);
  animation: heroDrift 18s ease-in-out infinite;
}
@keyframes heroDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .55; }
  50%      { transform: translate3d(2px, -3px, 0); opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stars { animation: none; }
}

/* Hero top row — big ring on the left, status on the right. */
.hero-top-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-ring-wrap {
  position: relative;
  width: 124px;
  height: 124px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.hero-ring-wrap svg circle:first-child { stroke: rgba(255,255,255,.08); }
.hero-ring-wrap svg circle:last-child { stroke-width: 10; }
.hero-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.hero-ring-pct {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1;
}
.hero-ring-percent {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  margin-left: 1px;
  letter-spacing: -.4px;
}
.hero-summary {
  flex: 1;
  min-width: 0;
}
.hero-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-headline {
  font-size: 20px;
  font-weight: 800;
  color: white;
  letter-spacing: -.4px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.hero-sub {
  font-size: 12px;
  color: rgba(255,255,255,.62);
  line-height: 1.45;
  margin-bottom: 8px;
}

/* Hero CTA — full-width inspection pack button. Glassy and primary. */
.hero-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 14px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(15,76,92,.95) 0%, rgba(7,116,141,.95) 100%);
  color: white;
  font-family: var(--fn);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15,76,92,.35), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform 120ms ease, box-shadow 200ms ease;
}
.hero-cta:active { transform: scale(.985); }
.hero-cta:hover { box-shadow: 0 10px 28px rgba(15,76,92,.45), inset 0 1px 0 rgba(255,255,255,.22); }
.hero-cta-ic { font-size: 19px; }
.hero-cta-lbl { flex: 1; text-align: left; }
.hero-cta-arrow { font-size: 18px; opacity: .9; }
.hero-mm {
  background: var(--mm-navy);
  background-image: var(--mesh-mm);
}

/* Animated ring — replaces flat ring on hero */
@keyframes ringFill { from { stroke-dashoffset: 251.2; } }
.ring-anim circle:last-child { animation: ringFill 1.1s cubic-bezier(.32,.72,0,1) both; }

/* METRIC TILE — bigger, glassy stat */
.tile {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tile-num { font-size: 22px; font-weight: 700; color: white; line-height: 1; letter-spacing: -.4px; }
.tile-num.rd { color: #fca5a5; }
.tile-num.am { color: #fbbf24; }
.tile.tile-sm { padding: 8px 10px; gap: 2px; border-radius: 10px; }
.tile.tile-sm .tile-num { font-size: 17px; letter-spacing: -.3px; }
.tile.tile-sm .tile-lbl { font-size: 10px; }
.tile-num.ok { color: #86efac; }
.tile-lbl { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .07em; }

/* QUICK ACTION TILE — modern row card */
.qa-tile {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base), border-color var(--t-base);
  box-shadow: var(--sh-sm);
  min-height: 72px;
}
.qa-tile:active { transform: scale(.985); }
.qa-tile:hover { border-color: var(--bdr-strong); box-shadow: var(--sh); }
.qa-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  flex-shrink: 0;
}
.qa-icon.rd { background: var(--redp); color: var(--red); }
.qa-icon.am { background: var(--ampp); color: var(--amber); }
.qa-icon.ok { background: var(--grnp); color: var(--green); }
.qa-icon.bl { background: var(--seap); color: var(--sea); }
.qa-icon.pu { background: var(--purpp); color: var(--purp); }
.qa-title { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing:-.1px; }
.qa-sub { font-size: 13px; color: var(--mid); margin-top: 2px; line-height:1.4; }

/* VESSEL COVER CARD */
.vcover {
  position: relative;
  background: var(--ink2);
  background-image: linear-gradient(135deg, var(--ink) 0%, var(--ink2) 50%, var(--ink3) 100%),
                    radial-gradient(circle at 90% 0%, rgba(15,76,92,.20) 0%, transparent 50%);
  background-blend-mode: overlay;
  color: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.05);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vcover:active { transform: scale(.99); }
.vcover .vc-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 100%, rgba(255,255,255,.05) 0%, transparent 40%),
    repeating-linear-gradient(135deg, transparent 0px, transparent 18px, rgba(255,255,255,.025) 18px, rgba(255,255,255,.025) 19px);
  pointer-events: none;
}
.vcover-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
  position: relative; z-index: 1;
}
.vcover-name { font-size: 17px; font-weight: 700; color: white; letter-spacing: -.3px; line-height: 1.1; }
.vcover-meta { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 3px; }
.vcover-emoji {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}
.vcover-emoji.vcover-photo {
  background: var(--slate);
  border-color: rgba(255,255,255,.15);
  padding: 0;
}
.vcover-emoji.vcover-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.vcover-emoji.vcover-photo,
.vcover-emoji.vcover-photo-empty { cursor: pointer; position: relative; }
.vcover-cam {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px; height: 20px;
  background: var(--sea);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  border: 2px solid var(--ink);
}
.vcover-body {
  background: var(--card); color: var(--text);
  padding: 14px 18px;
  position: relative; z-index: 1;
}
.vcover-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px;
}
.vcover-stat {
  border-radius: 9px; padding: 9px 4px;
  text-align: center;
}
.vcover-stat .num { font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: -.3px; }
.vcover-stat .lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.vcover-stat.rd { background: var(--redp); }
.vcover-stat.rd .num, .vcover-stat.rd .lbl { color: var(--red); }
.vcover-stat.am { background: var(--ampp); }
.vcover-stat.am .num, .vcover-stat.am .lbl { color: var(--amber); }
.vcover-stat.ok { background: var(--grnp); }
.vcover-stat.ok .num, .vcover-stat.ok .lbl { color: var(--green); }
.vcover-stat.bl { background: var(--seap); }
.vcover-stat.bl .num, .vcover-stat.bl .lbl { color: var(--sea); }

/* TICKET ROW — cert/equipment with rich detail */
.ticket {
  display: flex; align-items: stretch;
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease;
}
.ticket:active { transform: scale(.99); }
.ticket-stripe { width: 5px; flex-shrink: 0; }
.ticket-stripe.rd { background: linear-gradient(180deg, var(--red) 0%, #8a3e2f 100%); }
.ticket-stripe.am { background: linear-gradient(180deg, var(--amber) 0%, #a37322 100%); }
.ticket-stripe.ok { background: linear-gradient(180deg, var(--green) 0%, #15803d 100%); }
.ticket-stripe.bl { background: linear-gradient(180deg, var(--sea) 0%, #0e7490 100%); }
.ticket-body { flex: 1; padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.ticket-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--slate);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.ticket-text { flex: 1; min-width: 0; }
.ticket-name { font-size: 14px; font-weight: 600; color: var(--text); }
.ticket-sub { font-size: 11px; color: var(--lt); margin-top: 2px; line-height: 1.45; }
/* Vessel context chip on Records rows — Records aggregates across the
   whole fleet, so each row needs to declare which boat it belongs to. */
.ticket-vessel {
  display: inline-block;
  background: var(--slate);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: -.1px;
}
.ticket-end {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  flex-shrink: 0;
}

/* COUNTDOWN BADGE — bigger, more prominent than chip */
.cb { display: inline-flex; flex-direction: column; align-items: center; padding: 4px 10px; border-radius: 8px; min-width: 52px; }
.cb-num { font-size: 14px; font-weight: 800; line-height: 1; letter-spacing: -.3px; }
.cb-lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.cb.rd { background: var(--redp); color: var(--red); }
.cb.am { background: var(--ampp); color: var(--amber); }
.cb.ok { background: var(--grnp); color: var(--green); }

/* CREW CARD */
.crewc {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: var(--sh);
}
.crewc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.crewc-av {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.crewc-name { font-size: 15px; font-weight: 700; color: var(--text); }
.crewc-role { font-size: 11px; color: var(--lt); margin-top: 1px; }

/* CREW VESSEL CHIP */
.vchip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--seap); color: var(--sea);
  border-radius: 7px; padding: 3px 8px;
  font-size: 11px; font-weight: 700;
}
.vchip-x {
  margin-left: 2px; opacity: .6;
  width: 14px; height: 14px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 12px;
}
.vchip-x:hover { background: rgba(15,76,92,.2); opacity: 1; }
.vchip.add {
  background: transparent; color: var(--sea);
  border: 1.5px dashed rgba(15,76,92,.4);
  cursor: pointer;
}
.vchip.add:hover { background: var(--seap); border-style: solid; }

/* ════════════════════════════════════════════════════════════════
   LANDING (s-land) — break out of the mobile shell on desktop and
   give the marketing surface a magazine-style layout. The landing
   uses its OWN brand pack (navy + cyan + Plus Jakarta Sans, the
   original CodedOK identity) — scoped via custom-property overrides
   so the rest of the app keeps Deep Tide / Signal Teal / Barlow.
   ════════════════════════════════════════════════════════════════ */

#s-land {
  --ink:   #0a1628; --ink2: #1a3560; --ink3: #1e3454;
  --sea:   #0891b2; --seal: #06b6d4; --seap: rgba(8,145,178,.12);
  --green: #16a34a; --grnp: rgba(22,163,74,.12);
  --amber: #d97706; --ampp: rgba(217,119,6,.13);
  --red:   #dc2626; --redp: rgba(220,38,38,.12);
  --slate: #f1f5f9; --bdr:  #e2e8f0;
  --text:  #0f172a; --mid:  #475569; --lt:   #94a3b8;
  --page:  #f8fafc; --card: #ffffff;
  --fn-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --fn:         'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--fn);
  background: var(--page);
  color: var(--text);
  letter-spacing: -.005em;
}

#s-land .scroll { padding-bottom: 0; background: var(--page); color: var(--text); }

#s-land .ld-eyebrow {
  font-family: var(--fn);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--seal);
  margin-bottom: 14px;
}
#s-land .ld-eyebrow.on-dark { color: #7ED9E6; }

#s-land .ld-h1 {
  font-family: var(--fn-display);
  font-size: clamp(46px, 9.5vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: white;
  margin: 0 0 22px;
}
/* Highlight class on the H1's last line — used to be an inline
   style="color:..." span, which broke when the headline ran through
   the word-splitter. Now a stable class. */
#s-land .ld-h1 .hl { color: var(--seal); }
#s-land .ld-h2 {
  font-family: var(--fn-display);
  font-size: clamp(28px, 4.6vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.018em;
  color: var(--text);
  margin: 0 0 16px;
}
#s-land .ld-h2.on-dark { color: white; }
#s-land .ld-h2 {
  font-family: var(--fn-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--text);
  margin: 0 0 18px;
}
#s-land .ld-h2.on-dark { color: white; }

#s-land .ld-sub {
  font-family: var(--fn);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,.72);
  max-width: 38ch;
}
#s-land .ld-sub.on-light { color: var(--mid); }

#s-land .ld-icon {
  width: 26px; height: 26px;
  display: inline-block;
  color: var(--sea);
}
#s-land .ld-icon.on-dark { color: var(--seal); }

/* Code-tag chip — set in monospace so it reads as technical, not
   marketing. Used in the hero credibility row. */
#s-land .ld-code-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fn-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: -.01em;
}

/* Phone mockup that sits beside the hero copy on wide viewports.
   Mirrors the real s-home layout: dark top strip with greeting +
   avatar, hero block with score ring + 3 tiles, a vessel card, and
   a fixed bnav. Update when the real app changes. */
#s-land .ld-mock {
  width: 100%;
  max-width: 264px;
  flex-shrink: 0;
  border-radius: 38px;
  background: #000;
  padding: 7px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
}
/* On narrow viewports the mockup sits below the hero copy. Centre it
   and cap the width so it never overflows. */
@media (max-width: 720px) {
  #s-land .ld-mock { margin: 32px auto 0; }
}
/* On the desktop hero grid, prevent the column from trying to expand
   beyond the mockup's natural width. */
@media (min-width: 720px) {
  #s-land .ld-hero-grid > .ld-mock { justify-self: end; }
}
#s-land .ld-mock-screen {
  border-radius: 32px;
  background: #F3F5F4;
  overflow: hidden;
  position: relative;
}
#s-land .ld-mock-notch {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 4;
}
#s-land .ld-mock-status {
  background: #1C252B; color: white;
  padding: 32px 16px 14px;
  font-family: var(--fn);
}
#s-land .ld-mock-status-row { display: flex; align-items: center; justify-content: space-between; }
#s-land .ld-mock-greet { font-size: 9px; color: rgba(255,255,255,.45); letter-spacing: .05em; }
#s-land .ld-mock-h    { font-size: 14px; font-weight: 700; margin-top: 1px; letter-spacing: -.01em; }
#s-land .ld-mock-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--seal); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
#s-land .ld-mock-hero {
  background: linear-gradient(180deg, #1C252B 0%, #0F4C5C 100%);
  padding: 14px 16px 16px;
}
#s-land .ld-mock-hero-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
#s-land .ld-mock-ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(var(--green) 0deg 295deg, rgba(255,255,255,.14) 295deg 360deg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
#s-land .ld-mock-ring::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #0F4C5C; }
#s-land .ld-mock-ring-text {
  position: relative; z-index: 1; color: white;
  font-family: var(--fn-display); font-size: 18px; font-weight: 700;
  line-height: 1; letter-spacing: -.02em;
}
#s-land .ld-mock-ring-text span { font-size: 10px; color: rgba(255,255,255,.55); margin-left: 1px; }
#s-land .ld-mock-summary { color: white; font-family: var(--fn); flex: 1; min-width: 0; }
#s-land .ld-mock-summary .label    { font-size: 8px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 2px; }
#s-land .ld-mock-summary .headline { font-size: 12px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
#s-land .ld-mock-summary .sub      { font-size: 9px; color: rgba(255,255,255,.55); margin-top: 2px; line-height: 1.4; }
#s-land .ld-mock-tiles { display: flex; gap: 5px; }
#s-land .ld-mock-tile {
  flex: 1; background: rgba(255,255,255,.07);
  border-radius: 8px; padding: 7px 6px;
  text-align: center; color: white; font-family: var(--fn);
}
#s-land .ld-mock-tile .n    { font-size: 15px; font-weight: 700; letter-spacing: -.02em; font-family: var(--fn-display); line-height: 1; }
#s-land .ld-mock-tile .n.rd { color: #FF8E7E; }
#s-land .ld-mock-tile .n.am { color: #FCBF60; }
#s-land .ld-mock-tile .n.gn { color: #A7D6AB; }
#s-land .ld-mock-tile .l    { font-size: 7px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
#s-land .ld-mock-section     { padding: 12px 14px 0; font-family: var(--fn); }
#s-land .ld-mock-section-lbl { font-size: 8px; color: var(--lt); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 6px; }
#s-land .ld-mock-card {
  background: white; border: 1px solid var(--bdr);
  border-radius: 12px; padding: 10px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 1px 2px rgba(28,37,43,.04);
}
#s-land .ld-mock-photo {
  width: 44px; height: 44px; border-radius: 8px;
  background: linear-gradient(135deg, #1E7A86 0%, #0F4C5C 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0;
}
#s-land .ld-mock-card-body { flex: 1; min-width: 0; font-family: var(--fn); }
#s-land .ld-mock-card-name { font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: -.01em; line-height: 1.2; display: flex; align-items: center; gap: 5px; }
#s-land .ld-mock-card-sub  { font-size: 8px; color: var(--mid); margin-top: 1px; }
#s-land .ld-mock-pill      { font-size: 8px; font-weight: 700; padding: 2px 5px; border-radius: 4px; letter-spacing: .04em; }
#s-land .ld-mock-pill.gn   { background: rgba(79,122,82,.16);  color: #4F7A52; }
#s-land .ld-mock-pill.rd   { background: rgba(161,74,59,.16);  color: #A14A3B; }
#s-land .ld-mock-mini-ring {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fn-display); font-size: 10px; font-weight: 700;
  color: white; flex-shrink: 0;
}
#s-land .ld-mock-mini-ring.gn { background: conic-gradient(var(--green) 0deg 360deg); }
#s-land .ld-mock-mini-ring.am { background: conic-gradient(var(--amber) 0deg 255deg, var(--bdr) 255deg 360deg); }
#s-land .ld-mock-bnav {
  display: flex; align-items: center; justify-content: space-around;
  padding: 8px 8px 14px;
  background: white; border-top: 1px solid var(--bdr);
  margin-top: 12px;
}
#s-land .ld-mock-bnav-item    { font-size: 13px; opacity: .35; }
#s-land .ld-mock-bnav-item.on { opacity: 1; color: var(--sea); }

/* How-it-works step number — gives weight to a section that
   otherwise just reads as bulleted text. */
#s-land .ld-step-num {
  font-family: var(--fn-display);
  font-size: 56px; font-weight: 700;
  color: var(--sea); line-height: 1; letter-spacing: -.04em;
  opacity: .85;
}

/* Hairline section divider. */
#s-land .ld-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--bdr) 50%, transparent 100%);
}

/* ──────────────────────────────────────────────────────────────
   PREMIUM TOUCHES — sticky nav, floating CTA, hero logo entrance,
   live-counting numbers, watermark, parallax.
   ────────────────────────────────────────────────────────────── */

/* Sticky nav that materialises after the hero scrolls past. iOS-style
   backdrop blur. Hidden by default; .visible state is toggled by the
   landing scroll listener. */
#s-land .ld-stickynav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px 22px;
  background: rgba(28,37,43,.72);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  font-family: var(--fn);
}
#s-land .ld-stickynav.visible { transform: translateY(0); opacity: 1; }
#s-land .ld-stickynav .brand {
  display: flex; align-items: center; gap: 9px;
  color: white; font-family: var(--fn-display);
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
}
#s-land .ld-stickynav .actions { display: flex; align-items: center; gap: 8px; }
#s-land .ld-stickynav .signin {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 10px;
  cursor: pointer; font-family: var(--fn);
}
#s-land .ld-stickynav .start {
  background: var(--sea); color: white;
  border: none; padding: 9px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: var(--fn); letter-spacing: -.005em;
  box-shadow: 0 2px 8px rgba(15,76,92,.32);
}

/* Floating bottom Start-free bar — slides up on scroll past hero.
   Mobile-first: full-width pill at the foot of viewport. */
#s-land .ld-floatcta {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 91;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 18px;
  background: rgba(15,76,92,.96);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.04);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  color: white; font-family: var(--fn);
}
#s-land .ld-floatcta.visible { transform: translateY(0); opacity: 1; }
#s-land .ld-floatcta .blurb { flex: 1; min-width: 0; }
#s-land .ld-floatcta .l1 { font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
#s-land .ld-floatcta .l2 { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 2px; }
#s-land .ld-floatcta .btn-go {
  background: white; color: var(--sea);
  border: none; padding: 10px 16px; border-radius: 11px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: var(--fn); letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .15s var(--ease);
}
#s-land .ld-floatcta .btn-go:active { transform: scale(.96); }
@media (min-width: 720px) {
  #s-land .ld-floatcta { left: auto; right: 24px; bottom: 24px; max-width: 380px; }
}

/* Hero brand-mark — bigger, with a soft entrance animation on first
   paint. The mark itself is the existing inline SVG; this just adds
   a wrapper that drops + scales in. */
#s-land .ld-hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  animation: ld-mark-in 800ms cubic-bezier(.22, 1, .36, 1) both;
}
#s-land .ld-hero-mark svg { filter: drop-shadow(0 12px 28px rgba(30,122,134,.45)); }
#s-land .ld-hero-mark .name {
  font-family: var(--fn-display);
  font-size: 30px; font-weight: 700;
  color: white; letter-spacing: -.025em;
}
@keyframes ld-mark-in {
  0%   { opacity: 0; transform: translateY(-12px) scale(.92); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Watermark brand-mark behind certain sections — sits low and large,
   adds visual continuity between full-bleed sections. */
#s-land .ld-watermark {
  position: absolute;
  pointer-events: none;
  opacity: .04;
  z-index: 0;
}

/* Live-counting numbers — they're rendered to their final value first
   so the page validates without JS, then JS replaces with 0 and counts
   up on scroll-in. CSS gives them the display face automatically. */
#s-land .ld-count {
  font-family: var(--fn-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -.025em;
}

/* "Trusted by" / proof strip — a flexible row that can hold logos or
   a stats run. */
#s-land .ld-proof {
  background: white;
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 26px 22px;
}
#s-land .ld-proof-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 22px;
  text-align: center;
}
#s-land .ld-proof-stat .num {
  font-family: var(--fn-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--sea);
  line-height: 1;
  letter-spacing: -.025em;
}
#s-land .ld-proof-stat .lbl {
  font-size: 11px; color: var(--mid);
  text-transform: uppercase; letter-spacing: .12em;
  font-weight: 600;
  margin-top: 8px;
}

/* Parallax hook — the hero illustration shifts slightly slower than
   the scroll. Applied via JS by adjusting --y on the element. */
#s-land [data-parallax] {
  will-change: transform;
  transform: translate3d(0, var(--y, 0px), 0);
}

/* Magnetic press — every primary CTA gets a tactile press feel.
   Apple-tier easing curve: cubic-bezier(.32, .72, 0, 1). */
#s-land .btn { transition: transform .2s cubic-bezier(.32, .72, 0, 1), filter .2s cubic-bezier(.32, .72, 0, 1), box-shadow .3s cubic-bezier(.32, .72, 0, 1); }
#s-land .btn:active { transform: scale(.97); filter: brightness(.95); }
#s-land .btn-sea:hover { box-shadow: 0 8px 22px rgba(15,76,92,.28); }

/* Marquee credibility band — endlessly scrolling row of code names.
   Uses two copies of the same content so the loop is seamless. */
#s-land .ld-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 0 30px;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
#s-land .ld-marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ld-marquee 32s linear infinite;
  font-family: var(--fn-mono);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
  white-space: nowrap;
}
#s-land .ld-marquee-track span { display: inline-flex; align-items: center; gap: 28px; }
#s-land .ld-marquee-track svg { opacity: .55; flex-shrink: 0; }
@keyframes ld-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  #s-land .ld-marquee-track { animation: none; }
}

/* Full-viewport editorial sections — when the photo IS the moment,
   give it the whole screen. Override the previous fixed min-heights
   on the in-the-field and in-the-yard sections via .ld-vh class. */
#s-land .ld-vh {
  min-height: 92vh !important;
  display: flex;
  align-items: center;
}
#s-land .ld-vh.bottom { align-items: flex-end; }
@media (max-width: 720px) {
  /* On phones, 92vh is too aggressive — the user can't see the whole
     beat in one tap. Drop to 70vh for usable storytelling rhythm. */
  #s-land .ld-vh { min-height: 70vh !important; }
}

/* Flatter, Apple-y card surfaces — strip box-shadows that read as
   web-templatey, replace with a single hairline border. */
#s-land .ld-feature { box-shadow: none; }
#s-land .ld-feature:hover { box-shadow: 0 6px 18px rgba(28,37,43,.06); }
#s-land .ld-plan { box-shadow: none; }
#s-land .ld-plan.featured { box-shadow: 0 18px 44px rgba(15,76,92,.10); }

/* Asymmetric feature grid — desktop 2-col, mobile 1-col. */
#s-land .ld-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
#s-land .ld-feature {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
#s-land .ld-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(15,76,92,.35);
  box-shadow: 0 12px 32px rgba(28,37,43,.08);
}
#s-land .ld-feature .ld-feature-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(15,76,92,.08);
  color: var(--sea);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
#s-land .ld-feature h3 {
  font-family: var(--fn-display);
  font-size: 19px; font-weight: 700; letter-spacing: -.015em;
  color: var(--text); margin: 0 0 6px;
}
#s-land .ld-feature p {
  font-size: 13.5px; line-height: 1.6; color: var(--mid); margin: 0;
}

/* Pricing card — taller, breathier than generic SaaS cards. */
#s-land .ld-plans {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
#s-land .ld-plan {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 18px;
  padding: 26px 24px 22px;
  position: relative;
}
#s-land .ld-plan.featured {
  border: 2px solid var(--sea);
  box-shadow: 0 16px 40px rgba(15,76,92,.12);
}
#s-land .ld-plan-tag {
  position: absolute; top: -11px; left: 22px;
  background: var(--sea); color: white;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  letter-spacing: .08em;
}
#s-land .ld-plan-name {
  font-family: var(--fn-display);
  font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -.02em;
  margin-bottom: 4px;
}
#s-land .ld-plan-price {
  font-family: var(--fn-display);
  font-size: 44px; font-weight: 700; color: var(--sea); letter-spacing: -.03em;
  line-height: 1; margin: 14px 0 4px;
}
#s-land .ld-plan-price small { font-size: 14px; font-weight: 500; color: var(--mid); letter-spacing: 0; }
#s-land .ld-plan-blurb { font-size: 13px; color: var(--mid); line-height: 1.55; margin-bottom: 16px; min-height: 38px; }
#s-land .ld-plan ul { list-style: none; padding: 0; margin: 0 0 4px; }
#s-land .ld-plan li {
  font-size: 13.5px; color: var(--text); line-height: 1.55;
  margin: 7px 0; padding-left: 22px; position: relative;
}
#s-land .ld-plan li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6L5 8L9 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* FAQ accordions — strip native disclosure arrow, replace with a
   custom + that rotates on open. */
#s-land .ld-faq { background: var(--card); border: 1px solid var(--bdr); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
#s-land .ld-faq summary {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--fn);
  font-size: 15px; font-weight: 600; color: var(--text);
  user-select: none;
}
#s-land .ld-faq summary::-webkit-details-marker { display: none; }
#s-land .ld-faq summary::after {
  content: '+';
  font-size: 22px; font-weight: 300; color: var(--sea);
  transition: transform .25s var(--ease);
  font-family: var(--fn-display);
}
#s-land .ld-faq[open] summary::after { transform: rotate(45deg); }
#s-land .ld-faq-body {
  padding: 0 22px 18px;
  font-size: 14px; line-height: 1.65; color: var(--mid);
}

/* Scroll-reveal: elements with [data-reveal] start hidden + nudged,
   then fade in when they enter the viewport (driver in app.js). */
#s-land [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
#s-land [data-reveal].in {
  opacity: 1; transform: translateY(0);
}

/* Desktop breakout — landing escapes the 393px shell frame.
   Uses :has() to scope to the landing-on body state. */
@media (min-width: 720px) {
  #s-land .ld-features { grid-template-columns: 1fr 1fr; gap: 18px; }
  #s-land .ld-plans    { grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: stretch; }
  #s-land .ld-plan     { display: flex; flex-direction: column; }
  #s-land .ld-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 64px; align-items: center;
  }
}

@media (min-width: 520px) {
  /* Stop centering the body when the landing is on — let it go full
     bleed. :has() selector works in modern browsers; on the rare
     case it doesn't (old Firefox), the landing falls back to the
     centered shell, which still looks fine. */
  body:has(#s-land.on) {
    display: block !important;
    padding: 0 !important;
    align-items: stretch !important;
  }
  body:has(#s-land.on) #s-land.on {
    width: 100vw !important;
    max-width: none !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body:has(#s-land.on) #s-land .scroll {
    overflow-y: visible;
    max-height: none;
  }
}

/* ──────────────────────────────────────────────────────────────────
   Landing rebuild v2 — clean nav/cyan/Plus Jakarta language. These
   rules sit at the end of the #s-land block so they take precedence
   over older variants without removing them.
   ────────────────────────────────────────────────────────────────── */

/* Shared wrap + section primitives */
#s-land .ld-wrap          { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; box-sizing: border-box; }
#s-land .ld-wrap--narrow  { max-width: 880px; }
#s-land .ld-section       { padding: 88px 0; }
#s-land .ld-section--white    { background: #fff; color: var(--text); }
#s-land .ld-section--light    { background: var(--slate); color: var(--text); }
#s-land .ld-section--offwhite { background: #f4f6fa; color: var(--text); }
#s-land .ld-section--dark     { background: linear-gradient(180deg, #0a1628 0%, #0d1f3a 100%); color: #fff; }
#s-land .ld-section-head      { margin: 0 0 44px; max-width: 720px; }
#s-land .ld-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
#s-land .ld-lead {
  font-size: 18px; line-height: 1.6; color: var(--mid); margin: 0; max-width: 680px;
}
#s-land .ld-section-head--center .ld-lead { margin-left: auto; margin-right: auto; }
#s-land .ld-lead--on-dark { color: rgba(255,255,255,.78); }
#s-land .ld-eyebrow--on-dark { color: #67e8f9; }
#s-land .ld-h2--on-dark { color: #fff; }

/* Hero — primary headline + nav row + phone mockup */
#s-land .ld-hero {
  position: relative; overflow: hidden;
  padding: 32px 22px 84px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}
#s-land .ld-hero-glow {
  position: absolute; inset: -200px -100px auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle at 50% 50%, rgba(6,182,212,.18), transparent 65%);
  pointer-events: none; z-index: 0;
}
#s-land .ld-hero-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto 56px; padding: 0 4px;
}
#s-land .ld-hero-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none;
  letter-spacing: -.01em;
}
#s-land .ld-hero-signin {
  background: transparent; border: 1px solid var(--bdr); color: var(--text);
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  cursor: pointer; font-family: var(--fn); transition: background .2s, border-color .2s;
}
#s-land .ld-hero-signin:hover { background: #fff; border-color: var(--sea); }
#s-land .ld-hero-grid {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
#s-land .ld-hero-copy { max-width: 620px; }
#s-land .ld-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--seap); color: #0e7490;
  padding: 7px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 22px; text-transform: none;
}
#s-land .ld-hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sea);
  box-shadow: 0 0 0 4px rgba(8,145,178,.18);
}
#s-land .ld-h1 {
  font-family: var(--fn-display);
  font-weight: 800; font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.02; letter-spacing: -.028em;
  color: var(--ink); margin: 0 0 22px;
}
#s-land .ld-h1 .hl { color: var(--sea); }
#s-land .ld-hero-sub {
  font-size: 19px; line-height: 1.55; color: var(--mid);
  margin: 0 0 30px; max-width: 560px;
}
#s-land .ld-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
#s-land .ld-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 24px; border-radius: 999px;
  font-family: var(--fn); font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s cubic-bezier(.32,.72,0,1), box-shadow .25s, background .2s, color .2s;
  text-decoration: none; white-space: nowrap;
}
#s-land .ld-cta:active { transform: scale(.97); }
#s-land .ld-cta-primary {
  background: var(--sea); color: #fff;
  box-shadow: 0 8px 22px rgba(8,145,178,.28);
}
#s-land .ld-cta-primary:hover { background: #0e7490; box-shadow: 0 12px 28px rgba(8,145,178,.34); }
#s-land .ld-cta-ghost {
  background: #fff; color: var(--ink); border-color: var(--bdr);
}
#s-land .ld-cta-ghost:hover { border-color: var(--sea); color: var(--sea); }
#s-land .ld-cta-ghost-dark {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22);
}
#s-land .ld-cta-ghost-dark:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
#s-land .ld-cta-sm { padding: 11px 18px; font-size: 14px; }
#s-land .ld-cta-full { width: 100%; }
#s-land .ld-hero-trust {
  display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--mid);
  margin-top: 6px;
}
#s-land .ld-hero-trust .t-tick {
  color: var(--green); font-weight: 800; margin-right: 4px;
}

/* Alert strip */
#s-land .ld-alert {
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
  border-bottom: 1px solid rgba(217,119,6,.25);
}
#s-land .ld-alert a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 1180px; margin: 0 auto; padding: 11px 22px;
  font-size: 13px; color: #78350f; text-decoration: none; font-weight: 500;
  text-align: center;
}
#s-land .ld-alert-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(217,119,6,.18);
}
#s-land .ld-alert-link { color: #92400e; font-weight: 700; }
#s-land .ld-alert a:hover .ld-alert-link { text-decoration: underline; }

/* Built-for strip */
#s-land .ld-builtfor {
  background: #fff;
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 18px 0;
}
#s-land .ld-builtfor .ld-wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 22px; font-size: 13px;
}
#s-land .ld-builtfor-label {
  font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lt);
}
#s-land .ld-builtfor-item {
  display: inline-flex; align-items: center; gap: 7px; color: var(--mid); font-weight: 500;
}
#s-land .ld-builtfor-item svg { color: var(--sea); }

/* PBL chips */
#s-land .ld-pbl-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px;
}
#s-land .ld-pbl-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--bdr);
  padding: 9px 14px; border-radius: 999px;
  font-size: 13px; color: var(--mid); font-weight: 500;
}
#s-land .ld-pbl-chip strong {
  background: var(--seap); color: #0e7490;
  padding: 2px 8px; border-radius: 6px; font-weight: 800; font-size: 12px;
  letter-spacing: .02em;
}

/* Grids */
#s-land .ld-grid-3, #s-land .ld-grid-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
#s-land .ld-grid-features { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* Problem cards */
#s-land .ld-pcard {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
#s-land .ld-pcard:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10,22,40,.08); border-color: #cbd5e1; }
#s-land .ld-pcard-ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
#s-land .ld-pcard--red   .ld-pcard-ic { background: var(--redp);  color: var(--red); }
#s-land .ld-pcard--amber .ld-pcard-ic { background: var(--ampp);  color: var(--amber); }
#s-land .ld-pcard--cyan  .ld-pcard-ic { background: var(--seap);  color: var(--sea); }
#s-land .ld-pcard h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0; color: var(--ink); }
#s-land .ld-pcard p  { font-size: 15px; line-height: 1.6; color: var(--mid); margin: 0; }

/* How-it-works steps */
#s-land .ld-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px; padding: 26px;
}
#s-land .ld-step h3 { font-size: 19px; font-weight: 700; margin: 14px 0 8px; color: #fff; letter-spacing: -.01em; }
#s-land .ld-step p  { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0; }
#s-land .ld-step-num {
  font-family: var(--fn-display);
  font-size: 13px; font-weight: 800; letter-spacing: .14em;
  color: #67e8f9;
}

/* Feature cards */
#s-land .ld-feature {
  background: #fff; border: 1px solid var(--bdr); border-radius: 16px;
  padding: 22px;
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
#s-land .ld-feature-ic {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--seap); color: var(--sea);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
#s-land .ld-feature h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; color: var(--ink); }
#s-land .ld-feature p  { font-size: 14px; line-height: 1.55; color: var(--mid); margin: 0; }

/* Codes alignment band */
#s-land .ld-codes-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px;
}
#s-land .ld-code-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85);
}
#s-land .ld-code-row strong { color: #fff; font-weight: 700; margin-right: 6px; }
#s-land .ld-code-arrow { color: #67e8f9; font-weight: 700; }

/* Editorial blocks (full-bleed photographic moments) */
#s-land .ld-editorial {
  position: relative; overflow: hidden;
  min-height: 460px;
  display: flex; align-items: center;
  padding: 64px 22px; color: #fff;
}
#s-land .ld-editorial-content {
  position: relative; z-index: 1; max-width: 720px;
  margin: 0 auto;
}
#s-land .ld-editorial-content--bottom { align-self: flex-end; padding-bottom: 12px; }
#s-land .ld-editorial-bg {
  position: absolute; inset: 0; z-index: 0;
}
#s-land .ld-editorial-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.45) 0%, rgba(10,22,40,.85) 100%);
}
#s-land .ld-editorial-bg--field {
  background:
    radial-gradient(circle at 30% 30%, rgba(8,145,178,.35), transparent 55%),
    linear-gradient(135deg, #0a1628 0%, #1e3454 100%);
}
#s-land .ld-editorial-bg--yard {
  background:
    radial-gradient(circle at 75% 70%, rgba(6,182,212,.30), transparent 60%),
    linear-gradient(135deg, #0d1f3a 0%, #0a1628 100%);
}
#s-land .ld-editorial-quote {
  font-family: var(--fn-display);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 14px; color: #fff;
}
#s-land .ld-editorial-sub {
  font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.82); margin: 0 0 22px;
  max-width: 580px;
}

/* Partners */
#s-land .ld-partner {
  background: #fff; border: 1px solid var(--bdr); border-radius: 18px;
  padding: 28px;
}
#s-land .ld-partner-logo {
  height: 56px; display: flex; align-items: center; margin-bottom: 16px;
}
#s-land .ld-partner-logo img { max-height: 56px; max-width: 200px; object-fit: contain; }
#s-land .ld-partner-name {
  font-family: var(--fn-display);
  font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.015em;
  margin-bottom: 4px;
}
#s-land .ld-partner-kind {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 14px;
}
#s-land .ld-partner p {
  font-size: 15px; line-height: 1.6; color: var(--mid); margin: 0 0 16px;
}
#s-land .ld-partner-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--bdr); padding-top: 14px;
}
#s-land .ld-partner-list li {
  font-size: 13.5px; line-height: 1.55; color: var(--mid);
  padding: 6px 0 6px 22px; position: relative;
}
#s-land .ld-partner-list li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 12px; height: 12px;
  background: var(--seap); border-radius: 50%;
}
#s-land .ld-partner-list li::after {
  content: ''; position: absolute; left: 3px; top: 16px;
  width: 6px; height: 6px;
  background: var(--sea); border-radius: 50%;
}

/* Pricing — uses .ld-grid-3 already; add plan-specific styles */
#s-land .ld-plan {
  background: #fff; border: 1px solid var(--bdr); border-radius: 18px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
#s-land .ld-plan--featured {
  border: 2px solid var(--sea);
  box-shadow: 0 22px 50px rgba(8,145,178,.18);
}
#s-land .ld-plan-tag {
  position: absolute; top: -12px; left: 24px;
  background: var(--sea); color: #fff;
  padding: 5px 11px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
}
#s-land .ld-plan-name {
  font-family: var(--fn-display);
  font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sea); margin: 0;
}
#s-land .ld-plan-blurb {
  font-size: 13.5px; line-height: 1.5; color: var(--mid); margin: 2px 0 10px; min-height: 36px;
}
#s-land .ld-plan-price {
  font-family: var(--fn-display);
  font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -.02em;
  line-height: 1; margin-bottom: 12px;
}
#s-land .ld-plan-price small {
  font-size: 13px; font-weight: 500; color: var(--mid); letter-spacing: 0;
}
#s-land .ld-plan-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  border-top: 1px solid var(--bdr); padding-top: 18px;
}
#s-land .ld-plan-list li {
  font-size: 14px; line-height: 1.5; color: var(--text);
  padding: 6px 0 6px 24px; position: relative;
}
#s-land .ld-plan-list li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  color: var(--sea); font-weight: 800;
}

/* Also-available row */
#s-land .ld-also { margin-top: 44px; }
#s-land .ld-also-eyebrow { margin-bottom: 16px; }
#s-land .ld-also-card {
  background: #fff; border: 1px solid var(--bdr); border-radius: 14px;
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
#s-land .ld-also-name { font-weight: 700; font-size: 15px; color: var(--ink); }
#s-land .ld-also-sub  { font-size: 13px; color: var(--mid); margin-top: 2px; }
#s-land .ld-also-price {
  font-family: var(--fn-display);
  font-weight: 800; font-size: 22px; color: var(--sea); letter-spacing: -.015em;
  white-space: nowrap;
}
#s-land .ld-also-price small { font-size: 12px; font-weight: 500; color: var(--mid); }

#s-land .ld-disclosure {
  margin-top: 28px; padding: 14px 18px;
  background: #fff; border: 1px dashed var(--bdr); border-radius: 12px;
  font-size: 13px; color: var(--mid); line-height: 1.5; text-align: center;
}
#s-land .ld-disclosure strong { color: var(--text); }

/* Provenance */
#s-land .ld-provenance {
  padding: 72px 22px;
  background: #fff;
  border-top: 1px solid var(--bdr);
  text-align: center;
}
#s-land .ld-provenance-inner { max-width: 760px; }
#s-land .ld-provenance-quote {
  font-family: var(--fn-display);
  font-size: clamp(22px, 3vw, 30px); font-weight: 600;
  line-height: 1.4; letter-spacing: -.01em;
  color: var(--ink); margin: 12px 0 18px;
}
#s-land .ld-provenance-quote strong { color: var(--sea); font-weight: 800; }
#s-land .ld-provenance-sub { font-size: 14px; color: var(--mid); margin: 0; }
#s-land .ld-provenance-sub a { color: var(--sea); font-weight: 600; text-decoration: none; }
#s-land .ld-provenance-sub a:hover { text-decoration: underline; }

/* Final CTA (rounded card on light bg) */
#s-land .ld-finalcta-wrap { padding: 56px 22px 80px; background: #f4f6fa; }
#s-land .ld-finalcta {
  position: relative; overflow: hidden;
  max-width: 1100px; margin: 0 auto;
  background: linear-gradient(135deg, #0a1628 0%, #0d1f3a 60%, #0e3a52 100%);
  border-radius: 28px;
  padding: 64px 32px;
  color: #fff;
  box-shadow: 0 32px 64px rgba(10,22,40,.20);
}
#s-land .ld-finalcta-glow-a, #s-land .ld-finalcta-glow-b {
  position: absolute; pointer-events: none; z-index: 0;
}
#s-land .ld-finalcta-glow-a {
  inset: -180px auto auto -180px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(6,182,212,.32), transparent 65%);
}
#s-land .ld-finalcta-glow-b {
  inset: auto -180px -180px auto; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(8,145,178,.28), transparent 65%);
}
#s-land .ld-finalcta-inner {
  position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center;
}
#s-land .ld-finalcta-inner .ld-h2 { margin-bottom: 14px; }
#s-land .ld-finalcta-sub {
  font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.78);
  margin: 0 0 26px;
}
#s-land .ld-finalcta-ctas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px;
}
#s-land .ld-finalcta-trust {
  font-size: 13px; color: rgba(255,255,255,.55); margin-top: 4px;
}

/* Footer */
#s-land .ld-footer {
  background: #0a1628; color: rgba(255,255,255,.7);
  padding: 56px 22px 32px;
}
#s-land .ld-footer-top {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08);
}
#s-land .ld-footer-brand p {
  font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); margin: 12px 0 0;
  max-width: 320px;
}
#s-land .ld-footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fn-display);
  font-weight: 800; font-size: 19px; color: #fff; text-decoration: none;
  letter-spacing: -.01em;
}
#s-land .ld-footer h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin: 0 0 12px;
}
#s-land .ld-footer ul { list-style: none; padding: 0; margin: 0; }
#s-land .ld-footer li { padding: 4px 0; }
#s-land .ld-footer a {
  color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px;
  transition: color .15s;
}
#s-land .ld-footer a:hover { color: #fff; }
#s-land .ld-footer-disclaimer {
  padding: 24px 0; font-size: 12px; line-height: 1.6;
  color: rgba(255,255,255,.55);
}
#s-land .ld-footer-disclaimer strong { color: rgba(255,255,255,.85); }
#s-land .ld-footer-bot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-top: 18px; font-size: 12px; color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Desktop breakouts for the rebuild */
@media (min-width: 760px) {
  #s-land .ld-grid-3        { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  #s-land .ld-grid-2        { grid-template-columns: 1fr 1fr; gap: 22px; }
  #s-land .ld-grid-features { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  #s-land .ld-section       { padding: 110px 0; }
  #s-land .ld-hero          { padding: 32px 32px 110px; }
  #s-land .ld-hero-grid     { grid-template-columns: minmax(0, 1.2fr) auto; gap: 64px; align-items: center; }
  #s-land .ld-footer-top    { grid-template-columns: 2fr 1fr 1fr; }
  #s-land .ld-finalcta      { padding: 84px 64px; }
}
@media (min-width: 1024px) {
  #s-land .ld-grid-features { grid-template-columns: repeat(4, 1fr); }
  #s-land .ld-h1            { font-size: clamp(56px, 5.4vw, 84px); }
}

/* ════════════════════════════════════════════════════════════════
   end landing
   ════════════════════════════════════════════════════════════════ */

/* Auth loading state — spinner inside buttons + full-screen overlay
   for the longer handleSignedIn round-trip. Designed to feel
   intentional rather than a stalled tap. */
.auth-spin {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: white;
  animation: auth-spin .7s linear infinite;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 8px;
}
.auth-spin-lg {
  width: 44px; height: 44px;
  border-width: 3px;
  border-color: rgba(243,245,244,.25);
  border-top-color: #F3F5F4;
  margin: 0;
  vertical-align: middle;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }

#auth-loading-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(28,37,43,.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fn);
  animation: auth-overlay-in 180ms var(--ease);
}
.auth-loading-card {
  text-align: center;
  color: #F3F5F4;
  max-width: 280px;
  padding: 28px 24px;
}
.auth-loading-msg {
  font-size: 15px;
  font-weight: 600;
  margin-top: 18px;
  letter-spacing: -.1px;
  font-family: var(--fn-display);
}
@keyframes auth-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* SECTION HEADING — Barlow Condensed gives compact, authoritative
   stacks for page titles and big numbers (compliance scores, totals). */
.h-display {
  font-family: var(--fn-display);
  font-size: 30px; font-weight: 700; letter-spacing: -.2px;
  line-height: 1.0;
  color: white;
  text-transform: none;
}
/* Apply the display face automatically to common heading tags so we
   don't have to hand-add the class everywhere. */
h1, h2, h3, .slbl {
  font-family: var(--fn-display);
  letter-spacing: -.2px;
}
.slbl { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
/* Monospace stack for cert numbers, IDs, dates in dense tables. */
.mono { font-family: var(--fn-mono); font-feature-settings: "tnum" 1; }
.invoice-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.invoice-logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  padding: 4px;
}
.h-section {
  font-size: 18px; font-weight: 800; color: var(--text);
  letter-spacing: -.3px;
  margin: 24px 16px 10px;
}
.h-section-row {
  margin: 18px 16px 8px;
  display: flex; align-items: center; justify-content: space-between;
}

/* MCA CATEGORY PILL */
.cat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.10);
  color: white;
  border-radius: 6px; padding: 3px 8px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
}

/* INSPECTION PILL — replaces old insp-badge with more polish */
.insp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 9px;
  font-size: 11px; font-weight: 700;
  letter-spacing: -.1px;
}
.insp-pill.rdy { background: linear-gradient(135deg, rgba(22,163,74,.15) 0%, rgba(22,163,74,.05) 100%); color: var(--green); border: 1px solid rgba(22,163,74,.25); }
.insp-pill.notready { background: linear-gradient(135deg, rgba(220,38,38,.15) 0%, rgba(220,38,38,.05) 100%); color: var(--red); border: 1px solid rgba(220,38,38,.3); }

/* MCCOLLAM MARINE WORDMARK + HULL MOTIF (inline, no asset dependency) */
.mm-mark { display: flex; align-items: center; gap: 10px; }
.mm-mark-svg { flex-shrink: 0; }
.mm-mark-words { line-height: 1; }
.mm-mark-name { font-family: 'Times New Roman', Cambria, Georgia, serif; font-size: 18px; font-weight: 700; color: white; letter-spacing: .5px; }
.mm-mark-tag { font-family: 'Times New Roman', Cambria, Georgia, serif; font-size: 9px; color: rgba(255,255,255,.6); margin-top: 2px; letter-spacing: .15em; text-transform: uppercase; }

/* SURVEYOR HEADER */
.sv-hero {
  background: var(--mm-navy);
  background-image: var(--mesh-mm);
  position: relative;
  overflow: hidden;
}
.sv-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 90% -20%, rgba(30,64,175,.4) 0%, transparent 60%);
  pointer-events: none;
}

/* TAB UNDERLINE — sliding indicator (no JS) */
.tabbar.tabbar-v2 .tab { position: relative; padding: 14px 16px; }
.tabbar.tabbar-v2 .tab.on::after {
  content: '';
  position: absolute; left: 16px; right: 16px; bottom: -1px;
  height: 2.5px; border-radius: 2px;
  background: var(--sea);
}

/* EMPTY STATE */
.empty {
  text-align: center;
  padding: 32px 24px;
}
.empty-art {
  width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--seap) 0%, rgba(15,76,92,.05) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.empty-h { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.empty-sub { font-size: 13px; color: var(--lt); line-height: 1.55; max-width: 240px; margin: 0 auto 16px; }

/* SUBTLE FAB-style add button anchored bottom-right of a screen body */
.fab {
  position: absolute; right: 18px; bottom: calc(72px + var(--safe));
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sea);
  color: white; font-size: 24px; font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 12px 28px rgba(15,76,92,.5), 0 4px 12px rgba(15,76,92,.3);
  transition: transform .15s ease;
  z-index: 30;
}
.fab:active { transform: scale(.94); }

/* PULSE for urgent items */
@keyframes pulse-rd {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,.45); }
  50%      { box-shadow: 0 0 0 6px rgba(220,38,38,0); }
}
.pulse-rd { animation: pulse-rd 1.8s ease-in-out infinite; }

/* SECTION DIVIDER */
.sdiv {
  height: 1px; background: var(--bdr);
  margin: 12px 16px;
}

/* SHEET HANDLE (re-styled) */
.sheet-actions {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 14px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.sheet-act {
  background: transparent;
  border: none;
  font-family: var(--fn);
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; gap: 12px;
}
.sheet-act:hover { background: var(--slate); }
.sheet-act.danger { color: var(--red); }

/* ═══════════════════════════════════════════════════════════════
   ADMIN DESKTOP MODE — Joe's workspace.
   Same desktop pattern as the surveyor view but purple-themed
   (CodedOK platform owner, not McCollam Marine).
   ═══════════════════════════════════════════════════════════════ */

.ad-sidebar { display: none; }

@media (min-width: 1024px) {
  body.desktop-admin {
    display: block !important;
    padding: 0 !important;
    background: var(--page);
    overflow: hidden;
  }
  body.desktop-admin .shell {
    width: 100vw !important;
    max-width: none !important;
    min-height: 100vh !important;
    height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 240px;
    overflow: hidden;
  }
  body.desktop-admin .shell.on { display: flex !important; flex-direction: column; }
  body.desktop-admin .scroll { overflow-y: auto; }
  body.desktop-admin .bnav { display: none !important; }
  body.desktop-admin .sb { display: none !important; }

  body.desktop-admin .ad-sidebar {
    display: flex !important;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 240px;
    background: #0E0B1A;
    background-image:
      radial-gradient(circle at 0% 0%, rgba(124,58,237,.30) 0%, transparent 60%),
      radial-gradient(circle at 100% 100%, rgba(59,95,255,.18) 0%, transparent 60%);
    color: white;
    flex-direction: column;
    padding: 22px 14px;
    z-index: 100;
    border-right: 1px solid rgba(255,255,255,.06);
  }

  .ad-sb-brand {
    padding: 0 8px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 14px;
  }

  .ad-sb-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
  .ad-sb-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: transparent; border: none;
    color: rgba(255,255,255,.7);
    font-family: var(--fn);
    font-size: 13px; font-weight: 500;
    text-align: left; border-radius: 9px;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
    position: relative;
    width: 100%;
  }
  .ad-sb-item:hover { background: rgba(255,255,255,.06); color: white; }
  .ad-sb-item.on {
    background: rgba(124,58,237,.4); color: white; font-weight: 600;
  }
  .ad-sb-item.on::before {
    content: ''; position: absolute;
    left: -14px; top: 8px; bottom: 8px; width: 3px;
    background: #a78bfa; border-radius: 0 2px 2px 0;
  }
  .ad-sb-ic { font-size: 16px; line-height: 1; flex-shrink: 0; width: 18px; text-align: center; }
  .ad-sb-lbl { flex: 1; }
  .ad-sb-count {
    background: #7c3aed; color: white;
    font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 8px;
  }
  .ad-sb-foot {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 12px;
  }
  .ad-sb-user {
    font-size: 11px; color: rgba(255,255,255,.5);
    padding: 0 12px 8px;
  }
  .ad-sb-exit {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.75);
    font-family: var(--fn);
    font-size: 12px; font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s ease;
  }
  .ad-sb-exit:hover { background: rgba(255,255,255,.06); color: white; }

  /* Admin workspace pages */
  body.desktop-admin #ad-home-scroll,
  body.desktop-admin #ad-review-scroll {
    padding: 0 !important;
    height: 100vh !important;
  }

  /* Two-pane editor layout */
  .ad-editor-grid {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    height: 100vh;
    overflow: hidden;
  }
  .ad-editor-grid > .col {
    overflow-y: auto;
    border-right: 1px solid var(--bdr);
  }
  .ad-editor-grid > .col:last-child { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN editor — works on mobile too, single-column there.
   ═══════════════════════════════════════════════════════════════ */

.ad-section-list {
  display: flex; flex-direction: column;
  padding: 16px;
}
.ad-section-item {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--fn);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px;
  transition: background .12s ease, border-color .12s ease;
}
.ad-section-item:hover { background: var(--slate); }
.ad-section-item.on {
  background: rgba(124,58,237,.10);
  border-color: rgba(124,58,237,.35);
}
.ad-section-item .ic {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--slate);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ad-section-item.done .ic { background: var(--grnp); color: var(--green); }
.ad-section-item .body { flex: 1; min-width: 0; }
.ad-section-item .ttl { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-section-item .ref { font-size: 10px; color: var(--lt); margin-top: 1px; }

.ad-pane {
  padding: 24px 28px;
}
.ad-pane h1 { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.4px; margin-bottom: 4px; }
.ad-pane h2 { font-size: 14px; font-weight: 700; color: var(--text); margin: 16px 0 6px; }

.ad-input-readonly {
  background: var(--slate);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--fn);
  font-size: 13px;
  line-height: 1.55;
  color: var(--mid);
  white-space: pre-wrap;
  margin-bottom: 12px;
}

.ad-textarea {
  width: 100%;
  min-height: 220px;
  background: white;
  border: 1.5px solid var(--bdr);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--fn);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ad-textarea:focus {
  border-color: var(--purp);
  box-shadow: 0 0 0 4px rgba(124,58,237,.10);
}

.ad-notes {
  width: 100%;
  min-height: 70px;
  background: rgba(217,119,6,.04);
  border: 1.5px solid rgba(217,119,6,.2);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--fn);
  font-size: 12px;
  line-height: 1.55;
  color: var(--mid);
  outline: none;
  resize: vertical;
}

.ad-action-bar {
  position: sticky; bottom: 0;
  background: var(--card);
  border-top: 1px solid var(--bdr);
  padding: 12px 16px;
  display: flex; gap: 10px;
  z-index: 10;
}

/* ═══════════════════════════════════════════════════════════════
   SURVEYOR DESKTOP MODE — full-viewport workspace with left sidebar.
   Activated on body when surveyor mode is on AND viewport ≥1024px.
   Mobile / tablet falls back to the standard phone-frame layout.
   ═══════════════════════════════════════════════════════════════ */

.sv-sidebar { display: none; }

@media (min-width: 1024px) {
  body.desktop-surveyor {
    display: block !important;
    padding: 0 !important;
    background: var(--page);
    overflow: hidden;
  }
  body.desktop-surveyor .shell {
    width: 100vw !important;
    max-width: none !important;
    min-height: 100vh !important;
    height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 240px;
    overflow: hidden;
  }
  body.desktop-surveyor .shell.on {
    display: flex !important;
    flex-direction: column;
  }
  body.desktop-surveyor .scroll {
    overflow-y: auto;
  }
  body.desktop-surveyor .bnav { display: none !important; }
  body.desktop-surveyor .sb { display: none !important; }

  /* Sidebar */
  body.desktop-surveyor .sv-sidebar {
    display: flex !important;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 240px;
    background: var(--mm-navy);
    background-image:
      radial-gradient(circle at 0% 0%, rgba(30,64,175,.25) 0%, transparent 60%),
      radial-gradient(circle at 100% 100%, rgba(15,76,92,.10) 0%, transparent 60%);
    color: white;
    flex-direction: column;
    padding: 22px 14px;
    z-index: 100;
    border-right: 1px solid rgba(255,255,255,.06);
  }

  .sv-sb-brand {
    padding: 0 8px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 14px;
  }
  .sv-sb-brand .mm-mark { gap: 8px; }
  .sv-sb-brand .mm-mark-name { font-size: 14px; }
  .sv-sb-brand .mm-mark-tag { font-size: 8px; }

  .sv-sb-nav {
    display: flex; flex-direction: column;
    gap: 2px; flex: 1;
  }
  .sv-sb-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,.7);
    font-family: var(--fn);
    font-size: 13px; font-weight: 500;
    text-align: left;
    border-radius: 9px;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
    position: relative;
    width: 100%;
  }
  .sv-sb-item:hover {
    background: rgba(255,255,255,.06);
    color: white;
  }
  .sv-sb-item.on {
    background: rgba(30,64,175,.4);
    color: white;
    font-weight: 600;
  }
  .sv-sb-item.on::before {
    content: ''; position: absolute;
    left: -14px; top: 8px; bottom: 8px; width: 3px;
    background: var(--mm-blue-soft);
    border-radius: 0 2px 2px 0;
  }
  .sv-sb-ic { font-size: 16px; line-height: 1; flex-shrink: 0; width: 18px; text-align: center; }
  .sv-sb-lbl { flex: 1; }
  .sv-sb-count {
    background: var(--mm-blue);
    color: white;
    font-size: 10px; font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
  }

  .sv-sb-foot {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 12px;
  }
  .sv-sb-user {
    font-size: 11px; color: rgba(255,255,255,.5);
    padding: 0 12px 8px;
  }
  .sv-sb-exit {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.75);
    font-family: var(--fn);
    font-size: 12px; font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
  }
  .sv-sb-exit:hover { background: rgba(255,255,255,.06); color: white; }

  /* Surveyor home hero on desktop — clean banner instead of cramped header */
  body.desktop-surveyor #s-surveyor-home > div[style*="background:var(--ink)"] {
    padding: 24px 32px !important;
    border-bottom: 1px solid var(--bdr);
  }
  body.desktop-surveyor #s-surveyor-home .h-display { font-size: 26px !important; }
  body.desktop-surveyor #s-surveyor-home .tile { padding: 12px 16px; }
  body.desktop-surveyor #s-surveyor-home .tile-num { font-size: 22px; }
  body.desktop-surveyor #s-surveyor-home > div[style*="background:var(--ink)"] > div:first-child {
    margin: 0 0 16px !important;
  }
  body.desktop-surveyor #s-surveyor-home > div[style*="background:var(--ink)"] > div:nth-child(2) {
    margin-bottom: 0 !important;
  }

  /* Cap content width nicely on wide desktops */
  body.desktop-surveyor #sv-home-scroll,
  body.desktop-surveyor #sv-vessel-scroll,
  body.desktop-surveyor #sv-job-scroll,
  body.desktop-surveyor #sv-quote-scroll,
  body.desktop-surveyor #sv-insp-scroll {
    padding: 8px 32px 32px;
  }

  /* Vessels grid on desktop — 2 columns */
  body.desktop-surveyor #sv-home-scroll [style*="display:flex;flex-direction:column;gap:10px"] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 12px !important;
  }

  /* Inbox cards on desktop — 2 columns */
  body.desktop-surveyor #sv-home-scroll > div[style*="padding:0 16px"]:has(.card) {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 12px !important;
    padding: 0 0 !important;
  }

  /* Surveyor branded hero on individual screens — desktop variant */
  body.desktop-surveyor .hero-mm {
    padding: 24px 32px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  body.desktop-surveyor .hero-mm .h-display { font-size: 26px !important; }

  /* Surveyor screens: hide the back buttons inside heroes (sidebar is the nav) */
  body.desktop-surveyor #s-surveyor-vessel .hero-mm > div:first-child .back,
  body.desktop-surveyor #s-surveyor-job .hero-mm > div:first-child .back {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE COMPACTION — tighten heroes, tiles and headers below 520px
   so above-the-fold content shows actions, not just decoration.
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 519px) {
  /* Hero containers — reduce padding */
  .hero { padding: 14px !important; }

  /* Compliance ring — drop from 96 to 76 across the app */
  .ring-wrap { width: 76px !important; height: 76px !important; }
  .ring-wrap > svg { width: 76px !important; height: 76px !important; }
  .ring-pct { font-size: 19px !important; }
  .ring-pct-lbl { font-size: 9px !important; }

  /* Inline 26px ring text used on home — override */
  .hero .ring-val > div:first-child { font-size: 19px !important; }
  .hero .ring-val span { font-size: 11px !important; }

  /* Display headings — slightly smaller */
  .h-display { font-size: 20px !important; letter-spacing: -.4px !important; }

  /* Tiles in hero strips */
  .tile { padding: 8px 10px !important; }
  .tile-num { font-size: 17px !important; }
  .tile-lbl { font-size: 9px !important; }

  /* Quick action / qa-tile — small but reasonable */
  .qa-tile { padding: 12px !important; }
  .qa-icon { width: 36px !important; height: 36px !important; font-size: 17px !important; }
  .qa-title { font-size: 13px !important; }
  .qa-sub { font-size: 11px !important; }

  /* Top dark header on home — less bottom padding */
  #s-home > div[style*="background:var(--ink)"] {
    padding: 0 18px 12px !important;
  }
  #home-greeting > div:first-child { font-size: 11px !important; margin-bottom: 1px !important; }
  #home-greeting .h-display { font-size: 18px !important; }

  /* Section headings — slightly smaller */
  .h-section { font-size: 14px !important; margin: 14px 16px 6px !important; }
  .h-section-row { margin: 14px 16px 6px !important; }
  .slbl { padding: 14px 20px 6px !important; font-size: 10px !important; }

  /* Vessel detail / surveyor vessel hero compaction */
  #s-vessel-detail > div[style*="background:var(--ink)"],
  #s-surveyor-vessel .hero-mm,
  #s-surveyor-job .hero-mm {
    padding: 12px 14px 14px !important;
  }
  .vcover-emoji { width: 38px !important; height: 38px !important; font-size: 18px !important; }
  .vcover-name { font-size: 15px !important; }
  .vcover-stat .num { font-size: 15px !important; }
  .vcover-stat .lbl { font-size: 8px !important; }

  /* Vessel cover card body padding */
  .vcover-body { padding: 12px 14px !important; }
  .vcover-head { padding: 14px 14px 10px !important; }

  /* Status badges */
  .insp-pill { font-size: 10px !important; padding: 5px 9px !important; }
  .cat-pill { font-size: 9px !important; padding: 2px 7px !important; }

  /* Action card margins */
  .action-card { padding: 12px !important; }

  /* Surveyor home tile-strip horizontal compaction */
  #s-surveyor-home > div[style*="background:var(--ink)"],
  #s-surveyor-home > div.sv-hero {
    padding: 0 16px 14px !important;
  }

  /* Login card — slightly tighter on small screens */
  .auth-content { padding: 0 22px calc(28px + env(safe-area-inset-bottom)) !important; }
  .auth-card { padding: 16px !important; }
  .auth-h1 { font-size: 24px !important; margin-top: 18px !important; }
  .auth-sub { font-size: 13px !important; margin-top: 6px !important; }
  .auth-mark { width: 56px !important; height: 56px !important; margin-top: 18px !important; }

  /* Tickets + crew cards padding */
  .ticket-body { padding: 10px 12px !important; gap: 10px !important; }
  .ticket-name { font-size: 13px !important; }
  .ticket-sub { font-size: 11px !important; }
  .ticket-ic { width: 34px !important; height: 34px !important; font-size: 15px !important; }

  .crewc { padding: 12px !important; }
  .crewc-av { width: 38px !important; height: 38px !important; }
  .crewc-name { font-size: 14px !important; }

  /* Bottom nav slightly tighter */
  .bnav { padding: 8px 0 calc(8px + var(--safe)) !important; }
  .bni-ic { font-size: 19px !important; }
  .bni-lb { font-size: 9px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   AUTH SCREENS — login + magic-link sent.
   Full-bleed dark background with mesh, premium feel.
   ═══════════════════════════════════════════════════════════════ */

.auth-shell {
  background: var(--ink) !important;
  position: relative;
  overflow: hidden;
}
.auth-shell .auth-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 0%, rgba(15,76,92,.45) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(30,122,134,.20) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(30,122,134,.10) 0%, transparent 60%),
    linear-gradient(180deg, #1C252B 0%, #0F4C5C 100%);
  pointer-events: none;
}
.auth-shell .auth-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 85% 15%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 35% 85%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 75% 50%, rgba(255,255,255,.25), transparent);
  background-size: 100% 100%;
  pointer-events: none;
  opacity: .65;
}

.auth-wave {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 200px;
  pointer-events: none;
  overflow: hidden;
}
.auth-wave svg {
  position: absolute; bottom: 0; left: 0;
  width: 200%; height: 100%;
  animation: wave-drift 18s linear infinite;
}
@keyframes wave-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.auth-content {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column;
  padding: 0 28px calc(32px + env(safe-area-inset-bottom));
  /* Make the auth shell scrollable. On mobile the parent .shell.on
     is overflow:hidden + fixed-height, so .auth-content has to own
     the scroll context — otherwise the sign-up form (taller than a
     phone viewport once role-picker + name + business + email +
     password + create button are stacked) gets clipped at the
     bottom with no way to reach Submit. */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

.auth-mark {
  margin: 24px auto 0;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(15,76,92,.25), inset 0 1px 0 rgba(255,255,255,.06);
  animation: auth-fade-up .5s cubic-bezier(.32,.72,0,1) both;
}

@keyframes auth-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-h1 {
  font-size: 28px; font-weight: 800; color: white;
  letter-spacing: -.6px; line-height: 1.1;
  text-align: center;
  margin-top: 24px;
  animation: auth-fade-up .5s .08s cubic-bezier(.32,.72,0,1) both;
}
.auth-sub {
  font-size: 14px; color: rgba(255,255,255,.55);
  line-height: 1.55; text-align: center;
  margin-top: 8px;
  max-width: 280px;
  margin-left: auto; margin-right: auto;
  animation: auth-fade-up .5s .12s cubic-bezier(.32,.72,0,1) both;
}

.auth-card {
  /* margin-top: auto pushed the card to the bottom of the viewport
     when content fit, which looked elegant — but when the sign-up
     form grows past the viewport height the auto margin combined
     with overflow:hidden parent ate the top half of the card. Use
     a normal top margin so it flows from the hero copy down and
     scrolls naturally. */
  margin: 28px 0 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: auth-fade-up .5s .16s cubic-bezier(.32,.72,0,1) both;
  flex-shrink: 0;
}

.auth-input {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--fn);
  font-size: 15px;
  color: white;
  outline: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.auth-input::placeholder { color: rgba(255,255,255,.35); }
.auth-input:focus {
  border-color: var(--seal);
  background: rgba(15,76,92,.08);
  box-shadow: 0 0 0 4px rgba(15,76,92,.15);
}

.auth-btn {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: none;
  font-family: var(--fn);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  letter-spacing: -.1px;
}
.auth-btn:active { transform: scale(.99); }
.auth-btn-primary {
  background: linear-gradient(180deg, var(--seal) 0%, var(--sea) 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(15,76,92,.4), inset 0 1px 0 rgba(255,255,255,.15);
}
.auth-btn-primary:hover { box-shadow: 0 10px 28px rgba(15,76,92,.5), inset 0 1px 0 rgba(255,255,255,.15); }
.auth-btn-social {
  background: white;
  color: #1C252B;
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.auth-btn-social.dark {
  background: #000;
  color: white;
}

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.35);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  margin: 16px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1; height: 1px;
  background: rgba(255,255,255,.10);
}

.auth-fineprint {
  font-size: 11px; color: rgba(255,255,255,.4);
  text-align: center; line-height: 1.6;
  margin-top: 18px;
}
.auth-fineprint a { color: rgba(255,255,255,.7); text-decoration: none; }

.auth-demo-link {
  display: block;
  margin: 14px auto 0;
  font-size: 13px; font-weight: 600;
  color: var(--seal);
  text-align: center;
  cursor: pointer;
  background: none; border: none;
  font-family: var(--fn);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s ease;
}
.auth-demo-link:hover { background: rgba(255,255,255,.05); color: white; }

/* Demo-mode floating badge */
/* DEMO BADGE — hidden. Sign-out lives in Account → Sign out so we don't
   float a floating pill over screen titles or the bottom nav. */
.demo-badge { display: none !important; }

/* JURISDICTION */
.jur-panel{border-radius:12px;padding:14px 16px;margin-bottom:10px;}
.jur-panel.uk{background:rgba(0,56,168,.08);border:1px solid rgba(0,56,168,.15);}
.jur-panel.ie{background:rgba(22,90,54,.08);border:1px solid rgba(22,90,54,.15);}
.jur-panel.shared{background:var(--seap);border:1px solid rgba(15,76,92,.15);}
.jur-flag{font-size:18px;flex-shrink:0;}
.jur-title{font-size:13px;font-weight:700;color:var(--text);}
.jur-sub{font-size:11px;color:var(--lt);margin-top:2px;}
.jur-status{font-size:11px;font-weight:700;padding:3px 9px;border-radius:6px;white-space:nowrap;}
.jur-status.ready{background:var(--grnp);color:var(--green);}
.jur-status.action{background:var(--ampp);color:var(--amber);}
.jur-status.critical{background:var(--redp);color:var(--red);}
.jur-status.missing{background:rgba(124,58,237,.12);color:var(--purp);}
.jur-selector{display:flex;gap:8px;}
.jur-opt{flex:1;padding:12px 8px;border-radius:10px;border:2px solid var(--bdr);background:var(--card);text-align:center;cursor:pointer;transition:all .15s;}
.jur-opt.on{border-color:var(--sea);background:var(--seap);}
.jur-opt-flag{font-size:22px;margin-bottom:4px;}
.jur-opt-lbl{font-size:12px;font-weight:600;color:var(--text);}
.deficiency-item{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid var(--bdr);}
.deficiency-item:last-child{border:none;}
.def-sev{width:4px;border-radius:2px;flex-shrink:0;align-self:stretch;}
.def-sev.critical{background:var(--red);}
.def-sev.major{background:var(--amber);}
.def-sev.minor{background:var(--sea);}
.def-title{font-size:13px;font-weight:600;color:var(--text);}
.def-meta{font-size:11px;color:var(--lt);margin-top:2px;line-height:1.5;}
.def-jur{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:700;background:var(--seap);color:var(--sea);border-radius:4px;padding:2px 6px;margin-top:4px;}
.disclaimer{background:rgba(124,58,237,.07);border:1px solid rgba(124,58,237,.15);border-radius:10px;padding:12px 14px;display:flex;gap:10px;align-items:flex-start;margin:0 16px;}

/* ════════════════════════════════════════════════════════════════
   DESKTOP — break the auth shell out of the 393px mobile column.
   Same pattern as the landing's body:has(#s-land.on) override:
   keep the centered mobile preview for the app interior, but let
   the entry-point screens (login/signup, onboarding) fill the
   viewport on desktop so first impressions look like a real product.
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 520px) {
  body:has(#s-login.on),
  body:has(#s-onboard.on) {
    display: block !important;
    padding: 0 !important;
    align-items: stretch !important;
  }
  body:has(#s-login.on) #s-login.on,
  body:has(#s-onboard.on) #s-onboard.on {
    width: 100vw !important;
    max-width: none !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  /* Two-column hero + form layout for sign-in / sign-up on desktop.
     The form card stays a comfortable reading width; the left half
     carries the brand + tagline so the screen doesn't feel empty. */
  #s-login.on .auth-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 48px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 100vh;
  }
  #s-login.on .auth-mark { margin: 0 0 24px; }
  #s-login.on .auth-h1 {
    text-align: left;
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-top: 0;
  }
  #s-login.on .auth-sub {
    text-align: left;
    font-size: 18px;
    line-height: 1.55;
    max-width: 480px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 16px;
  }
  #s-login.on .auth-card {
    margin: 0;
    max-width: 460px;
    width: 100%;
    padding: 32px;
    justify-self: end;
  }
  /* Stack the hero above the form when there isn't quite enough room
     for two columns to breathe (e.g. small laptops in split-screen). */
  @media (max-width: 880px) {
    #s-login.on .auth-content {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 48px 32px 64px;
    }
    #s-login.on .auth-h1 { font-size: 40px; text-align: center; }
    #s-login.on .auth-sub { text-align: center; margin: 16px auto 0; }
    #s-login.on .auth-mark { margin: 0 auto 24px; }
    #s-login.on .auth-card { justify-self: stretch; max-width: 480px; margin: 0 auto; }
  }
  #s-onboard.on .scroll {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px;
  }
}

/* ════════════════════════════════════════════════════════════════
   QR POPUP — desktop-only "Open on phone" floating button + modal.
   Hidden on mobile (the app is already on the phone) and on
   standalone PWA installs. The QR encodes https://codedok.com so
   scanning lands the visitor on the same site, where the mobile
   smart-banner offers Add-to-Home-Screen.
   ════════════════════════════════════════════════════════════════ */
.qr-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  background: #0F4C5C;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.qr-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.30); }
.qr-fab svg { width: 18px; height: 18px; }
.qr-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,22,40,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: qrFade 180ms ease both;
}
@keyframes qrFade { from { opacity: 0 } to { opacity: 1 } }
.qr-modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,.40);
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
}
.qr-modal-card h3 {
  font-size: 22px; font-weight: 800; letter-spacing: -.5px;
  margin: 0 0 6px;
}
.qr-modal-card p {
  font-size: 14px; color: #475569; line-height: 1.5;
  margin: 0 0 22px;
}
.qr-modal-card img {
  width: 220px; height: 220px;
  display: block;
  margin: 0 auto 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
.qr-modal-card .qr-url {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #0F4C5C;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 6px 10px;
}
.qr-modal-card .qr-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: 0;
  font-size: 26px; line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
}
.qr-modal-card .qr-close:hover { color: #0f172a; }
@media (max-width: 519px) {
  /* Phone visitors don't need a "scan to open on phone" prompt. */
  .qr-fab, .qr-modal-overlay { display: none !important; }
}
.disclaimer-txt{font-size:11px;color:var(--mid);line-height:1.6;}

/* ════════════════════════════════════════════════════════════════
   LANDING — CINEMATIC DARK OVERLAY
   Flips the entire s-land brand pack to a deep navy-black palette
   with cyan accents, massive editorial type, subtle gradient meshes
   and elevated dark cards. No HTML restructuring — overrides the
   existing .ld-* class system so the reveal animations and section
   flow stay intact. Tone: Apple / Anthropic, not bright SaaS.
   ════════════════════════════════════════════════════════════════ */

#s-land {
  /* IMPORTANT: in the original landing pack --ink / --ink2 / --ink3
     are *text* colors (dark navy on a light page). The dark-mode
     overlay flips the page background, so --ink also has to flip
     to a LIGHT colour or every h3 / .ld-pcard h3 / .ld-feature h3
     / .ld-also-name (which use `color: var(--ink)`) will render
     dark-on-dark and disappear. */
  --ink:   #f8fafc !important;
  --ink2:  #cbd5e1 !important;
  --ink3:  rgba(248,250,252,.65) !important;
  --sea:   #06b6d4 !important;
  --seal:  #67e8f9 !important;
  --seap:  rgba(6,182,212,.12) !important;
  --slate: rgba(255,255,255,.04) !important;
  --bdr:   rgba(255,255,255,.08) !important;
  --text:  #f8fafc !important;
  --mid:   rgba(248,250,252,.65) !important;
  --lt:    rgba(248,250,252,.40) !important;
  --page:  #050614 !important;
  --card:  #0f111c !important;
  background: #050614 !important;
  color: #f8fafc !important;
}
body:has(#s-land.on) { background: #050614 !important; }

/* Flip every section variant to dark. Original landing used white/
   off-white/light to stagger the page rhythm — we keep the rhythm
   via subtle gradient shifts but never break the dark canvas. */
#s-land .ld-section--white,
#s-land .ld-section--offwhite {
  background: #050614 !important;
  color: #f8fafc !important;
}
#s-land .ld-section--light {
  background: linear-gradient(180deg, #050614 0%, #0a0d22 100%) !important;
  color: #f8fafc !important;
}
#s-land .ld-section--dark {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(6,182,212,.10) 0%, transparent 50%),
    linear-gradient(180deg, #0a0d22 0%, #050614 100%) !important;
  color: #f8fafc !important;
}

/* HERO — full-bleed cinematic, twin glows, massive type */
#s-land .ld-hero {
  background: #050614 !important;
  position: relative;
  isolation: isolate;
}
#s-land .ld-hero-glow {
  background:
    radial-gradient(ellipse 60% 50% at 25% 25%, rgba(6,182,212,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(8,145,178,.14) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(11,52,82,.30) 0%, transparent 70%) !important;
  opacity: 1 !important;
}

/* TYPOGRAPHY — cinematic display sizing */
#s-land .ld-h1 {
  font-size: clamp(48px, 9vw, 104px) !important;
  font-weight: 800 !important;
  letter-spacing: -3.5px !important;
  line-height: 0.96 !important;
  color: #f8fafc !important;
}
#s-land .ld-h1 .hl {
  color: #67e8f9 !important;
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#s-land .ld-h2 {
  font-size: clamp(34px, 5vw, 64px) !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px !important;
  line-height: 1.05 !important;
  color: #f8fafc !important;
}
#s-land .ld-h2--on-dark,
#s-land .ld-h2.on-dark { color: #f8fafc !important; }
#s-land .ld-h3 {
  color: #f8fafc !important;
  font-weight: 700 !important;
  letter-spacing: -.4px !important;
}
#s-land .ld-sub,
#s-land .ld-lead,
#s-land .ld-hero-sub,
#s-land .ld-section p,
#s-land .ld-feature-body,
#s-land .ld-feature-blurb {
  color: rgba(248,250,252,.65) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}
#s-land .ld-sub.on-light,
#s-land .ld-section--light p,
#s-land .ld-section--light .ld-lead,
#s-land .ld-section--offwhite p,
#s-land .ld-section--offwhite .ld-lead {
  color: rgba(248,250,252,.65) !important;
}
#s-land .ld-eyebrow,
#s-land .ld-hero-eyebrow {
  color: #67e8f9 !important;
  text-transform: uppercase;
  letter-spacing: .22em !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
#s-land .ld-eyebrow.on-dark,
#s-land .ld-eyebrow--on-dark { color: #67e8f9 !important; }
#s-land .ld-hero-eyebrow-dot { background: #67e8f9 !important; box-shadow: 0 0 12px #67e8f9; }

/* TRUST ROW */
#s-land .ld-hero-trust { color: rgba(248,250,252,.55) !important; }
#s-land .ld-hero-trust .t-tick { color: #67e8f9 !important; }

/* CTAs — cinematic buttons */
#s-land .ld-cta {
  font-family: var(--fn) !important;
  font-weight: 700 !important;
  transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms ease, background 180ms ease !important;
}
#s-land .ld-cta-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
  color: #050614 !important;
  border: 0 !important;
  box-shadow: 0 12px 40px rgba(6,182,212,.35), inset 0 1px 0 rgba(255,255,255,.25) !important;
}
#s-land .ld-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(6,182,212,.50), inset 0 1px 0 rgba(255,255,255,.30) !important;
}
#s-land .ld-cta-ghost,
#s-land .ld-cta-ghost-dark {
  background: rgba(255,255,255,.04) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#s-land .ld-cta-ghost:hover,
#s-land .ld-cta-ghost-dark:hover {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.22) !important;
  transform: translateY(-1px);
}

/* HERO SIGN-IN BUTTON */
#s-land .ld-hero-signin {
  background: rgba(255,255,255,.04) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  font-weight: 600 !important;
}
#s-land .ld-hero-brand,
#s-land .ld-hero-brand span { color: #f8fafc !important; }

/* ALERT TAPE — top */
#s-land .ld-alert {
  background: rgba(6,182,212,.08) !important;
  border-bottom: 1px solid rgba(6,182,212,.18) !important;
  color: #f8fafc !important;
}
#s-land .ld-alert a,
#s-land .ld-alert a:hover { color: #f8fafc !important; text-decoration: none; }
#s-land .ld-alert strong { color: #f8fafc !important; }
#s-land .ld-alert-link { color: #67e8f9 !important; }
#s-land .ld-alert-dot {
  background: #67e8f9 !important;
  box-shadow: 0 0 12px rgba(103,232,249,.7) !important;
}

/* STICKY NAV */
#s-land .ld-stickynav {
  background: rgba(5,6,20,.80) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
#s-land .ld-stickynav .brand,
#s-land .ld-stickynav .brand * { color: #f8fafc !important; }
#s-land .ld-stickynav .signin {
  color: #f8fafc !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}
#s-land .ld-stickynav .start {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
  color: #050614 !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(6,182,212,.30) !important;
}

/* FLOATING BOTTOM CTA */
#s-land .ld-floatcta {
  background: rgba(15,17,28,.92) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.50) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#s-land .ld-floatcta .l1 { color: #f8fafc !important; }
#s-land .ld-floatcta .l2 { color: rgba(248,250,252,.55) !important; }
#s-land .ld-floatcta .btn-go {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
  color: #050614 !important;
  font-weight: 700 !important;
}

/* BUILT-FOR STRIP */
#s-land .ld-builtfor {
  background: rgba(255,255,255,.02) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
#s-land .ld-builtfor-label { color: rgba(248,250,252,.45) !important; }
#s-land .ld-builtfor-item { color: rgba(248,250,252,.75) !important; }

/* CARDS — features, plans, partners, FAQ */
#s-land .ld-plan,
#s-land .ld-card,
#s-land .ld-feature,
#s-land .ld-feature-card,
#s-land .ld-partner,
#s-land .ld-faq-q,
#s-land .ld-quote-card,
#s-land .ld-step,
#s-land .ld-pbl-item,
#s-land .ld-problem-card {
  background: rgba(15,17,28,.65) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#s-land .ld-feature h3,
#s-land .ld-feature-name,
#s-land .ld-faq-q h3,
#s-land .ld-step-title,
#s-land .ld-pbl-title,
#s-land .ld-partner-name,
#s-land .ld-plan-name {
  color: #f8fafc !important;
}
#s-land .ld-plan-blurb,
#s-land .ld-feature-blurb,
#s-land .ld-step-blurb,
#s-land .ld-pbl-body,
#s-land .ld-partner-kind {
  color: rgba(248,250,252,.65) !important;
}
#s-land .ld-plan-price { color: #f8fafc !important; }
#s-land .ld-plan-price small { color: rgba(248,250,252,.55) !important; }
#s-land .ld-plan-list li,
#s-land .ld-partner-list li {
  color: rgba(248,250,252,.75) !important;
}
#s-land .ld-plan--featured {
  background: linear-gradient(180deg, rgba(17,20,46,.95) 0%, rgba(11,15,40,.95) 100%) !important;
  border-color: rgba(6,182,212,.45) !important;
  box-shadow: 0 30px 90px rgba(6,182,212,.18), 0 0 0 1px rgba(6,182,212,.18) inset !important;
}
#s-land .ld-plan-tag {
  background: #06b6d4 !important;
  color: #050614 !important;
  font-weight: 800 !important;
}

/* CODES ALIGNMENT — keep dark band tight */
#s-land .ld-codes { padding-top: 96px !important; padding-bottom: 96px !important; }
#s-land .ld-code-tag {
  background: rgba(6,182,212,.12) !important;
  color: #67e8f9 !important;
  border: 1px solid rgba(6,182,212,.30) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}

/* PROVENANCE */
#s-land .ld-provenance {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(6,182,212,.08) 0%, transparent 70%),
    #0a0d22 !important;
  color: #f8fafc !important;
}
#s-land .ld-provenance-quote { color: #f8fafc !important; }
#s-land .ld-provenance-sub { color: rgba(248,250,252,.55) !important; }
#s-land .ld-provenance-sub a { color: #67e8f9 !important; }

/* EDITORIAL SECTIONS — kept but recolored cinematic */
#s-land .ld-editorial {
  background: #050614 !important;
}
#s-land .ld-editorial-bg {
  filter: brightness(.55) saturate(1.1);
}
#s-land .ld-editorial-quote { color: #f8fafc !important; }
#s-land .ld-editorial-sub { color: rgba(248,250,252,.75) !important; }

/* FINAL CTA */
#s-land .ld-finalcta-wrap {
  background: #050614 !important;
}
#s-land .ld-finalcta {
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(6,182,212,.20) 0%, transparent 60%),
    linear-gradient(180deg, #0a0d22 0%, #050614 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 40px 100px rgba(0,0,0,.55) !important;
}
#s-land .ld-finalcta h2 { color: #f8fafc !important; }
#s-land .ld-finalcta p { color: rgba(248,250,252,.70) !important; }

/* FOOTER */
#s-land .ld-footer {
  background: #050614 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  color: rgba(248,250,252,.55) !important;
}
#s-land .ld-footer h4 { color: #f8fafc !important; }
#s-land .ld-footer a { color: rgba(248,250,252,.65) !important; text-decoration: none; }
#s-land .ld-footer a:hover { color: #67e8f9 !important; }
#s-land .ld-footer-disclaimer {
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  color: rgba(248,250,252,.55) !important;
}
#s-land .ld-footer-bot {
  color: rgba(248,250,252,.40) !important;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* PHONE MOCK — elevate with cyan glow */
#s-land .ld-mock {
  filter: drop-shadow(0 40px 80px rgba(6,182,212,.20)) drop-shadow(0 20px 40px rgba(0,0,0,.50));
}
#s-land .ld-mock-screen {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 30px 60px rgba(0,0,0,.5);
}

/* DIVIDERS / RULES inside dark sections */
#s-land hr,
#s-land .ld-rule { border-color: rgba(255,255,255,.10) !important; }

/* SECTION HEADINGS rhythm — more breathing room */
@media (min-width: 768px) {
  #s-land .ld-section { padding-top: 120px !important; padding-bottom: 120px !important; }
}

/* CINEMATIC PATCH — additional landing classes that the first sweep
   missed. These selectors had hardcoded `background: #fff` and were
   rendering as bright white panels on the now-dark canvas, with the
   inner text invisible because the text colours had already been
   flipped to white by the cinematic overlay. */

/* Problem cards (5. Problem section). Class is .ld-pcard (NOT
   .ld-problem-card as the first sweep guessed). */
#s-land .ld-pcard {
  background: rgba(15,17,28,.65) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#s-land .ld-pcard:hover {
  border-color: rgba(6,182,212,.35) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.30) !important;
}
#s-land .ld-pcard h3 { color: #f8fafc !important; }
#s-land .ld-pcard p  { color: rgba(248,250,252,.70) !important; }

/* Irish PBL pill chips (4. PBL moat section). Class is .ld-pbl-chip. */
#s-land .ld-pbl-chip {
  background: rgba(15,17,28,.65) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(248,250,252,.75) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#s-land .ld-pbl-chip strong {
  background: rgba(6,182,212,.16) !important;
  color: #67e8f9 !important;
}

/* Final CTA wrapper had a light grey background that became a
   bright slab in dark mode. */
#s-land .ld-finalcta-wrap {
  background: #050614 !important;
}

/* Hero "Sign in" pill hover — was flashing to white on hover. */
#s-land .ld-hero-signin:hover {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.22) !important;
}

/* ════════════════════════════════════════════════════════════════
   PHONE MOCK — rebuild to mirror the actual s-home screen.
   Replaces the old "On course" green-ring + white-vessel-card mock
   with the live operator home: orange warn ring, "4 items adrift",
   red urgent badge, Inspection pack CTA, three urgent action cards,
   labelled bottom-nav. Whole device dark; no white slabs.
   ════════════════════════════════════════════════════════════════ */

/* Device shell — slightly larger to fit the new content */
#s-land .ld-mock { max-width: 290px !important; }
#s-land .ld-mock-screen {
  background: #0a0d22 !important;
}

/* Header bar */
#s-land .ld-mock-status {
  background: #050614 !important;
  padding: 30px 14px 12px !important;
}
#s-land .ld-mock-greet {
  font-size: 10px !important;
  color: rgba(255,255,255,.55) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
#s-land .ld-mock-h {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -.4px !important;
  color: #fff !important;
  margin-top: 2px !important;
}
#s-land .ld-mock-iconrow {
  display: flex; align-items: center; gap: 6px;
}
#s-land .ld-mock-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: rgba(255,255,255,.85);
}
#s-land .ld-mock-avatar {
  width: 26px !important; height: 26px !important;
  font-size: 9px !important;
  background: #67e8f9 !important;
  color: #050614 !important;
  margin-left: 2px;
}

/* Compliance hero card */
#s-land .ld-mock-hero {
  background: linear-gradient(180deg, #0F4C5C 0%, #0a3845 100%) !important;
  padding: 14px 14px 14px !important;
  margin: 10px 10px 0 !important;
  border-radius: 14px !important;
}
#s-land .ld-mock-ring {
  width: 70px !important; height: 70px !important;
}
#s-land .ld-mock-ring--warn {
  background: conic-gradient(#f97316 0deg 295deg, rgba(255,255,255,.10) 295deg 360deg) !important;
}
#s-land .ld-mock-ring::after {
  background: #0F4C5C !important;
  inset: 5px !important;
}
#s-land .ld-mock-ring-text {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #fff !important;
}
#s-land .ld-mock-ring-text span {
  font-size: 9px !important;
  color: rgba(255,255,255,.65) !important;
}
#s-land .ld-mock-summary .label {
  font-size: 8px !important;
  color: rgba(255,255,255,.55) !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}
#s-land .ld-mock-summary .headline {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -.2px;
}
#s-land .ld-mock-summary .sub {
  font-size: 9px !important;
  color: rgba(255,255,255,.65) !important;
  line-height: 1.4;
  margin-top: 3px;
}
#s-land .ld-mock-urgent-badge {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 4px 9px;
  font-size: 9px; font-weight: 700;
  background: rgba(220,38,38,.18);
  color: #fca5a5;
  border: 1px solid rgba(220,38,38,.35);
  border-radius: 6px;
  letter-spacing: .02em;
}
#s-land .ld-mock-tiles { gap: 5px !important; margin-bottom: 10px; }
#s-land .ld-mock-tile {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 8px;
  padding: 8px 4px;
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
}
#s-land .ld-mock-tile .l {
  color: rgba(255,255,255,.55) !important;
}
#s-land .ld-mock-pack {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
}
#s-land .ld-mock-pack-icon { font-size: 13px; }
#s-land .ld-mock-pack-label { flex: 1; letter-spacing: -.01em; }
#s-land .ld-mock-pack-arrow { font-size: 14px; opacity: .85; }

/* Action cards section */
#s-land .ld-mock-section {
  padding: 14px 10px 0 !important;
  background: transparent !important;
}
#s-land .ld-mock-section-lbl {
  color: rgba(255,255,255,.50) !important;
  letter-spacing: .12em !important;
  font-size: 9px !important;
  padding: 0 4px;
}
#s-land .ld-mock-action {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 8px 8px 8px 10px;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
#s-land .ld-mock-action-ic {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
#s-land .ld-mock-action-ic--red {
  background: rgba(220,38,38,.16);
  border: 1px solid rgba(220,38,38,.30);
}
#s-land .ld-mock-action-body {
  flex: 1; min-width: 0;
}
#s-land .ld-mock-action-name {
  font-size: 10px; font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#s-land .ld-mock-action-sub {
  font-size: 8px;
  color: rgba(255,255,255,.55);
  margin-top: 1px;
}
#s-land .ld-mock-action-cta {
  font-size: 8px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  padding: 5px 7px;
  border-radius: 5px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Labelled bottom nav (matches the live operator home) */
#s-land .ld-mock-bnav {
  background: #050614 !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  margin-top: 10px !important;
  padding: 6px 4px 10px !important;
}
#s-land .ld-mock-bnav-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 12px !important;
  opacity: 1 !important;
  color: rgba(255,255,255,.40) !important;
  flex: 1;
}
#s-land .ld-mock-bnav-item em {
  font-size: 7px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: capitalize;
  color: rgba(255,255,255,.40);
}
#s-land .ld-mock-bnav-item.on {
  color: #67e8f9 !important;
}
#s-land .ld-mock-bnav-item.on em {
  color: #67e8f9;
}

/* ════════════════════════════════════════════════════════════════
   LANDING v7 — Apple-like simple
   Mobile-first stack of solid dark cards. Desktop adds wider grids,
   bigger type, alternating feature layouts, and a phone mock beside
   the hero. ZERO backdrop-filter, ZERO fixed/sticky-with-blur, ZERO
   animation on mobile, ZERO IntersectionObserver. Just safe CSS.
   ════════════════════════════════════════════════════════════════ */

#s-land .cdk-page {
  background: #050614 !important;
  color: #f1f5f9 !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
}

/* TOP BAR — static at top of scroll, NOT sticky/fixed */
#s-land .cdk-topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
}
#s-land .cdk-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #f1f5f9; text-decoration: none;
  font-weight: 700; font-size: 17px; letter-spacing: -.01em;
}
#s-land .cdk-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: #06b6d4; color: #050614;
  display: inline-grid; place-items: center;
  font-weight: 900; font-size: 16px;
}
#s-land .cdk-launch-pill {
  display: none;
  background: rgba(6,182,212,.14);
  border: 1px solid rgba(6,182,212,.30);
  color: #67e8f9;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  margin-left: 4px;
}
@media (min-width: 600px) { #s-land .cdk-launch-pill { display: inline-block; } }
#s-land .cdk-topbar-actions { display: flex; gap: 8px; }
#s-land .cdk-topbar-signin {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  color: #f1f5f9;
  font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 10px;
  cursor: pointer;
}
#s-land .cdk-topbar-start {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #050614;
  border: 0;
  font-family: inherit; font-size: 13px; font-weight: 700;
  padding: 8px 14px; border-radius: 10px;
  cursor: pointer;
  display: none;
}
@media (min-width: 600px) { #s-land .cdk-topbar-start { display: inline-block; } }

/* SHARED — eyebrow + headings + CTAs */
#s-land .cdk-eyebrow {
  display: inline-block;
  color: #67e8f9;
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
#s-land .cdk-eyebrow.ok { color: #10b981; }
#s-land .grad {
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #06b6d4;
}
#s-land .cdk-cta {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 16px; font-weight: 700;
  padding: 15px 22px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
#s-land .cdk-cta-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #050614;
  box-shadow: 0 12px 32px rgba(6,182,212,.30);
}
#s-land .cdk-cta-ghost {
  background: rgba(255,255,255,.04);
  color: #f1f5f9;
  border: 1px solid rgba(255,255,255,.14);
}
#s-land .cdk-cta-full { width: 100%; }
#s-land .cdk-link {
  color: #67e8f9;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  margin-top: 16px; display: inline-block;
}
#s-land .cdk-link:hover { color: #06b6d4; }

/* HERO */
#s-land .cdk-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 56px;
}
#s-land .cdk-h1 {
  font-size: clamp(40px, 9vw, 80px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.02;
  margin: 14px 0 20px;
  color: #f1f5f9;
}
#s-land .cdk-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(248,250,252,.70);
  margin: 0 0 28px;
  max-width: 560px;
}
#s-land .cdk-sub strong { color: #f8fafc; }
#s-land .cdk-ctas {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 360px;
}
#s-land .cdk-ctas-center { align-items: center; }
#s-land .cdk-trust {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(248,250,252,.55);
}
#s-land .cdk-trust span::first-letter { color: #10b981; margin-right: 4px; }

/* PHONE MOCK — visible on tablet+ widths, hidden on mobile */
#s-land .cdk-phone { display: none; }
@media (min-width: 880px) {
  #s-land .cdk-phone { display: block; justify-self: end; }
}
#s-land .cdk-phone-frame {
  width: 300px; height: 600px;
  border-radius: 42px;
  background: #050614;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 50px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
  padding: 6px;
}
#s-land .cdk-phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
#s-land .cdk-phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #0F4C5C 0%, #0a3845 28%, #050614 80%);
  padding: 38px 18px 18px;
  color: #f1f5f9;
  box-sizing: border-box;
}
#s-land .cdk-mock-greet { font-size: 10px; color: rgba(255,255,255,.55); }
#s-land .cdk-mock-title { font-size: 17px; font-weight: 800; margin-top: 2px; letter-spacing: -.3px; }
#s-land .cdk-mock-card {
  margin-top: 14px;
  display: flex; align-items: center; gap: 14px;
}
#s-land .cdk-mock-ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(#10b981 0deg 295deg, rgba(255,255,255,.10) 295deg 360deg);
  display: grid; place-items: center;
  font-size: 19px; font-weight: 700;
  position: relative;
  flex-shrink: 0;
}
#s-land .cdk-mock-ring::before {
  content: '';
  position: absolute; inset: 4px; border-radius: 50%;
  background: #0F4C5C;
}
#s-land .cdk-mock-ring { color: #fff; }
#s-land .cdk-mock-ring > * { position: relative; }
#s-land .cdk-mock-ring small { font-size: 10px; opacity: .65; }
#s-land .cdk-mock-meta { flex: 1; min-width: 0; }
#s-land .cdk-mock-label { font-size: 8px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .12em; }
#s-land .cdk-mock-status { font-size: 14px; font-weight: 700; margin-top: 2px; }
#s-land .cdk-mock-sub { font-size: 10px; color: rgba(255,255,255,.55); margin-top: 2px; }
#s-land .cdk-mock-tiles { display: flex; gap: 5px; margin-top: 12px; }
#s-land .cdk-mock-tile {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
}
#s-land .cdk-mock-tile .n { font-size: 16px; font-weight: 700; line-height: 1; }
#s-land .cdk-mock-tile .n.ok   { color: #67e8f9; }
#s-land .cdk-mock-tile .n.warn { color: #fbbf24; }
#s-land .cdk-mock-tile .n.crit { color: #f87171; }
#s-land .cdk-mock-tile .l { font-size: 8px; color: rgba(255,255,255,.55); margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }
#s-land .cdk-mock-list-title {
  margin-top: 16px;
  font-size: 8px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
#s-land .cdk-mock-vessel {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
}
#s-land .cdk-mock-v-ic {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #06b6d4, #0F4C5C);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
#s-land .cdk-mock-v-body { flex: 1; min-width: 0; }
#s-land .cdk-mock-v-name { font-size: 11px; font-weight: 700; }
#s-land .cdk-mock-v-sub { font-size: 9px; color: rgba(255,255,255,.55); margin-top: 1px; }
#s-land .cdk-mock-v-pill {
  font-size: 8px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 4px;
}
#s-land .cdk-mock-v-pill.ok   { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.35); color: #6ee7b7; }
#s-land .cdk-mock-v-pill.warn { background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.35); color: #fcd34d; }

/* FEATURE SECTIONS — stacked on mobile, side-by-side on desktop */
#s-land .cdk-feature {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
}
#s-land .cdk-feature-copy { }
#s-land .cdk-feature-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 14px 0 18px;
  color: #f1f5f9;
}
#s-land .cdk-feature-body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(248,250,252,.70);
  margin: 0;
  max-width: 520px;
}
#s-land .cdk-feature-visual {
  margin-top: 32px;
}
#s-land .cdk-card-mini {
  background: #0f111c;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 24px;
  color: #f1f5f9;
}
#s-land .cdk-card-mini.cdk-card-ok {
  background: linear-gradient(180deg, rgba(16,185,129,.05) 0%, #0f111c 100%);
  border-color: rgba(16,185,129,.30);
}
#s-land .cdk-mini-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
#s-land .cdk-mini-row:last-of-type { border-bottom: 0; }
#s-land .cdk-mini-row .k {
  font-size: 12px; color: rgba(248,250,252,.55);
  text-transform: uppercase; letter-spacing: .1em;
}
#s-land .cdk-mini-row .v {
  font-size: 14px; font-weight: 600; color: #f1f5f9;
}
#s-land .cdk-mini-row .v.ok { color: #6ee7b7; }
#s-land .cdk-mini-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 10px;
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.30);
  color: #67e8f9;
  font-size: 11px; font-weight: 700;
  border-radius: 8px;
  letter-spacing: .04em;
}
#s-land .cdk-mini-tag.ok {
  background: rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.30);
  color: #6ee7b7;
}
#s-land .cdk-mini-stat-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
#s-land .cdk-mini-stat-row:last-of-type { border-bottom: 0; }
#s-land .cdk-mini-stat-row .num {
  font-size: 28px; font-weight: 800;
  width: 48px;
  font-variant-numeric: tabular-nums;
}
#s-land .cdk-mini-stat-row .num.ok   { color: #10b981; }
#s-land .cdk-mini-stat-row .num.warn { color: #f59e0b; }
#s-land .cdk-mini-stat-row .l { font-size: 14px; color: rgba(248,250,252,.70); }
#s-land .cdk-mini-big {
  font-size: 80px; font-weight: 800;
  letter-spacing: -3px;
  color: #10b981;
  line-height: 1;
}
#s-land .cdk-mini-big small {
  font-size: 28px;
  font-weight: 600;
  color: rgba(248,250,252,.55);
}
#s-land .cdk-mini-sub {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(248,250,252,.65);
}

/* CODES STRIP — three cards */
#s-land .cdk-codes-section,
#s-land .cdk-pricing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
}
#s-land .cdk-section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 14px 0 32px;
  color: #f1f5f9;
}
#s-land .cdk-codes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: left;
}
#s-land .cdk-code-card {
  background: #0f111c;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 22px;
}
#s-land .cdk-code-tag {
  display: inline-block;
  background: rgba(6,182,212,.14);
  border: 1px solid rgba(6,182,212,.30);
  color: #67e8f9;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 12px;
}
#s-land .cdk-code-card h3 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -.3px;
  margin: 0 0 8px;
  color: #f1f5f9;
}
#s-land .cdk-code-card p {
  font-size: 14px; line-height: 1.55;
  color: rgba(248,250,252,.65);
  margin: 0;
}

/* PRICING */
#s-land .cdk-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: left;
}
#s-land .cdk-plan {
  background: #0f111c;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 26px;
  position: relative;
  display: flex; flex-direction: column;
}
#s-land .cdk-plan-featured {
  border-color: rgba(6,182,212,.50);
  box-shadow: 0 20px 50px rgba(6,182,212,.16);
}
#s-land .cdk-plan-badge {
  position: absolute; top: -10px; right: 16px;
  background: #06b6d4; color: #050614;
  font-size: 10px; font-weight: 800;
  letter-spacing: .12em;
  padding: 4px 10px; border-radius: 5px;
}
#s-land .cdk-plan-name {
  font-size: 14px; font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase; letter-spacing: .1em;
}
#s-land .cdk-plan-price {
  font-size: 44px; font-weight: 800;
  color: #f1f5f9;
  margin: 8px 0;
  letter-spacing: -1.5px;
}
#s-land .cdk-plan-price small {
  font-size: 14px; font-weight: 500;
  color: rgba(248,250,252,.55);
  letter-spacing: 0;
  margin-left: 2px;
}
#s-land .cdk-plan-blurb {
  font-size: 14px; line-height: 1.5;
  color: rgba(248,250,252,.65);
  margin: 0 0 16px;
}
#s-land .cdk-plan-list {
  list-style: none; padding: 0; margin: 0 0 20px;
  font-size: 13px;
  color: rgba(248,250,252,.75);
}
#s-land .cdk-plan-list li {
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
}
#s-land .cdk-plan-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #06b6d4;
  font-weight: 700;
}
#s-land .cdk-plan .cdk-cta { margin-top: auto; }

/* FINAL CTA */
#s-land .cdk-final-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
#s-land .cdk-final {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(6,182,212,.20) 0%, transparent 65%),
    linear-gradient(180deg, #0f111c 0%, #050614 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 48px 24px;
  text-align: center;
}
#s-land .cdk-final-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 12px 0 12px;
  color: #f1f5f9;
}
#s-land .cdk-final-sub {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(248,250,252,.65);
  margin: 0 0 26px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

/* FOOTER */
#s-land .cdk-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 56px;
  text-align: center;
  color: rgba(248,250,252,.45);
  font-size: 12px;
  line-height: 1.6;
}
#s-land .cdk-footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: #f1f5f9;
  font-weight: 700;
  margin-bottom: 6px;
}
#s-land .cdk-footer-meta { margin: 4px 0 14px; }
#s-land .cdk-footer-links {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: center;
  margin: 12px 0;
}
#s-land .cdk-footer-links a {
  color: rgba(248,250,252,.65);
  text-decoration: none;
}
#s-land .cdk-footer-links a:hover { color: #67e8f9; }
#s-land .cdk-footer-copy { margin-top: 12px; font-size: 11px; color: rgba(248,250,252,.35); }

/* ═══════ DESKTOP ENHANCEMENTS — apply only on wider screens ════ */
@media (min-width: 768px) {
  #s-land .cdk-hero {
    padding: 64px 32px 96px;
  }
  #s-land .cdk-ctas {
    flex-direction: row;
    max-width: none;
  }
  #s-land .cdk-feature {
    padding: 96px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  #s-land .cdk-feature-visual { margin-top: 0; }
  #s-land .cdk-feature--alt .cdk-feature-copy { order: 2; }
  #s-land .cdk-feature--alt .cdk-feature-visual { order: 1; }
  #s-land .cdk-codes,
  #s-land .cdk-plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  #s-land .cdk-codes-section,
  #s-land .cdk-pricing-section {
    padding: 96px 32px;
  }
  #s-land .cdk-final {
    padding: 80px 56px;
  }
}

@media (min-width: 880px) {
  #s-land .cdk-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
  }
}

/* ═══════ MOBILE SAFETY — defensive overrides ═════════════════ */
/* In case any leftover .ld-* / .ldx-* rule from previous landings
   still applies, force scroll context properties here too. */
@media (max-width: 720px) {
  #s-land .cdk-page {
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }
  #s-land .cdk-page * {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   LANDING v8 — imagery + richer features
   Adds: full-bleed atmospheric banner using hero-boat.svg, illustration
   cards using in-the-field.svg + in-the-yard.svg, a beefier cert-
   extract mock with a doc icon and head row. All asset paths are
   relative to the served root (Cloudflare Worker serves /app/* at /).
   ════════════════════════════════════════════════════════════════ */

/* ATMOSPHERIC BANNER — full-bleed SVG with overlay copy */
#s-land .cdk-banner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 16px 0;
}
#s-land .cdk-banner img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
}
#s-land .cdk-banner-overlay {
  position: absolute;
  left: 32px; right: 32px; bottom: 24px;
  max-width: 720px;
  color: #f1f5f9;
}
#s-land .cdk-banner-overlay p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
  color: rgba(248,250,252,.92);
}
@media (min-width: 768px) {
  #s-land .cdk-banner { padding: 32px 32px 0; }
  #s-land .cdk-banner img { height: 320px; }
  #s-land .cdk-banner-overlay p { font-size: 18px; max-width: 580px; }
}

/* ILLUSTRATION CARDS — used by feature 2 + feature 3 */
#s-land .cdk-illus {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #0f111c;
}
#s-land .cdk-illus img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media (min-width: 768px) {
  #s-land .cdk-illus img { height: 320px; }
}
#s-land .cdk-illus figcaption {
  padding: 14px 18px;
  font-size: 13px;
  color: rgba(248,250,252,.70);
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(13,20,36,.85);
}
#s-land .cdk-illus figcaption .cdk-eyebrow { margin-right: 8px; }

/* BEEFIER CERT-EXTRACT MOCK */
#s-land .cdk-mini-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#s-land .cdk-mini-doc {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #06b6d4 0%, #0F4C5C 100%);
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
#s-land .cdk-mini-doc-label {
  font-size: 14px; font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -.01em;
}
#s-land .cdk-mini-doc-sub {
  font-size: 11px;
  color: rgba(248,250,252,.55);
  margin-top: 2px;
}

/* MONO style for IDs */
#s-land .v.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  letter-spacing: -.01em;
  color: #67e8f9;
}

/* ATMOSPHERIC GRADIENT under select sections for variety */
#s-land .cdk-feature:nth-of-type(even of .cdk-feature) {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(6,182,212,.06) 0%, transparent 60%);
}
#s-land .cdk-codes-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(6,182,212,.08) 0%, transparent 70%);
}

/* Trust pills — ok dot color */
#s-land .cdk-trust span.ok::first-letter,
#s-land .cdk-trust span.ok { color: rgba(248,250,252,.55); }
#s-land .cdk-trust span.ok::first-letter { color: #10b981; }
@supports (-webkit-text-fill-color: initial) {
  #s-land .cdk-trust span.ok { color: rgba(248,250,252,.55); }
}

/* Ensure hero phone mock ring number reads correctly */
#s-land .cdk-mock-ring span { color: #fff; font-weight: 700; font-size: 18px; }
#s-land .cdk-mock-ring span small { font-size: 10px; opacity: .7; }

/* ════════════════════════════════════════════════════════════════
   FULL-BLEED LANDING — no :has() dependency
   The base style.css locks `.shell` to 393px × 852px on screens
   ≥520px so the auth/app shells render as a phone preview on
   desktop. The landing must break out of that frame to look like
   a real marketing page. The original codebase used
   `body:has(#s-land.on) { ... }` which is correct but quietly
   fails on browsers older than Safari 15.4 / Chrome 105.
   This block uses a body class (`.shell-fullbleed`) toggled by
   go() in app.js — works in every browser, no exception.
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 520px) {
  body.shell-fullbleed {
    display: block !important;
    padding: 0 !important;
    align-items: stretch !important;
  }
  body.shell-fullbleed #s-land.on {
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body.shell-fullbleed #s-land .scroll {
    overflow-y: visible !important;
    max-height: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   LANDING v8 — Mac / desktop polish
   Macs (and big external monitors) ship the most demanding browsers
   for this page: retina rendering exposes any font-smoothing miss,
   Safari has its own prefix rules, and large viewports need both
   wider max-widths and hover states because the cursor is present.
   This block tunes for that without touching mobile.
   ════════════════════════════════════════════════════════════════ */

/* RETINA / MAC FONT SMOOTHING
   The default on macOS is "subpixel-antialiased" which makes white
   text on dark a touch heavy. -webkit-font-smoothing: antialiased
   produces the cleaner, lighter rendering matching Apple's own
   marketing pages. Pair with -moz-osx for Firefox on Mac. */
#s-land .cdk-page,
#s-land .cdk-page * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* GRADIENT TEXT — Safari needs the -webkit- prefix on both
   background-clip and text-fill-color. Already covered, but
   re-declaring explicitly here in case any inherited rule
   re-clobbers them. */
#s-land .grad {
  background: -webkit-linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* HOVER STATES — Macs have cursors; the page should react.
   Wrapped in @media (hover: hover) so touch devices don't get
   stuck-hover states. */
@media (hover: hover) and (pointer: fine) {
  #s-land .cdk-cta-primary,
  #s-land .cdk-cta-ghost,
  #s-land .cdk-topbar-signin,
  #s-land .cdk-topbar-start {
    transition: transform 200ms cubic-bezier(.22,1,.36,1),
                box-shadow 200ms ease,
                background 200ms ease,
                border-color 200ms ease;
  }
  #s-land .cdk-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(6,182,212,.42),
                0 0 0 1px rgba(103,232,249,.4) inset;
  }
  #s-land .cdk-cta-ghost:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.24);
    transform: translateY(-1px);
  }
  #s-land .cdk-topbar-signin:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.24);
  }
  #s-land .cdk-topbar-start:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(6,182,212,.45);
  }
  #s-land .cdk-plan,
  #s-land .cdk-code-card,
  #s-land .cdk-card-mini,
  #s-land .cdk-illus {
    transition: transform 280ms cubic-bezier(.22,1,.36,1),
                border-color 280ms ease,
                box-shadow 280ms ease;
  }
  #s-land .cdk-plan:hover,
  #s-land .cdk-code-card:hover,
  #s-land .cdk-card-mini:hover,
  #s-land .cdk-illus:hover {
    transform: translateY(-3px);
    border-color: rgba(103,232,249,.30);
    box-shadow: 0 24px 60px rgba(0,0,0,.40);
  }
  #s-land .cdk-link {
    transition: color 160ms ease, transform 160ms ease;
    display: inline-block;
  }
  #s-land .cdk-link:hover {
    color: #06b6d4;
    transform: translateX(2px);
  }
  #s-land .cdk-brand:hover .cdk-logo { transform: rotate(-4deg); }
  #s-land .cdk-logo { transition: transform 240ms cubic-bezier(.22,1,.36,1); }
}

/* LARGE DESKTOP (≥ 1200px) — Macs and external monitors */
@media (min-width: 1200px) {
  #s-land .cdk-h1 {
    font-size: 92px;
    letter-spacing: -3px;
  }
  #s-land .cdk-feature-title {
    font-size: 64px;
    letter-spacing: -2px;
  }
  #s-land .cdk-section-title {
    font-size: 56px;
    letter-spacing: -1.5px;
  }
  #s-land .cdk-final-title {
    font-size: 56px;
  }
  #s-land .cdk-sub {
    font-size: 20px;
    max-width: 620px;
  }
  #s-land .cdk-feature-body {
    font-size: 18px;
    max-width: 560px;
  }
  #s-land .cdk-banner img { height: 380px; }
  #s-land .cdk-hero { padding: 96px 48px 120px; }
  #s-land .cdk-feature { padding: 120px 48px; }
  #s-land .cdk-codes-section,
  #s-land .cdk-pricing-section { padding: 120px 48px; }
  #s-land .cdk-final { padding: 96px 64px; }
}

/* EXTRA-WIDE (≥ 1600px) — cap content + breathe */
@media (min-width: 1600px) {
  #s-land .cdk-topbar,
  #s-land .cdk-hero,
  #s-land .cdk-feature,
  #s-land .cdk-codes-section,
  #s-land .cdk-pricing-section,
  #s-land .cdk-footer {
    max-width: 1320px;
  }
  #s-land .cdk-banner { max-width: 1520px; }
}

/* HIGH-DPI SVG CRISPNESS
   SVGs are vector so they scale, but on a 2x display ensure no
   accidental rasterisation by giving them a perspective context. */
#s-land .cdk-illus img,
#s-land .cdk-banner img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* CUSTOM SCROLLBAR FOR MAC CHROME (Safari hides scrollbars by default
   when no mouse, so this is mostly Chrome on Mac). Avoids the bright
   default scrollbar contrasting with the dark page. */
#s-land .cdk-page::-webkit-scrollbar { width: 10px; }
#s-land .cdk-page::-webkit-scrollbar-track { background: #050614; }
#s-land .cdk-page::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.10);
  border-radius: 5px;
}
#s-land .cdk-page::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,.18);
}
#s-land .cdk-page { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.10) #050614; }

/* SELECTION COLOR — feel detail, but Macs see selection a lot */
#s-land .cdk-page ::selection {
  background: rgba(34,211,238,.35);
  color: #fff;
}

/* FOCUS RINGS — Mac users keyboard-navigate too */
@media (hover: hover) {
  #s-land .cdk-cta:focus-visible,
  #s-land .cdk-topbar-signin:focus-visible,
  #s-land .cdk-topbar-start:focus-visible,
  #s-land .cdk-link:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 3px;
  }
}

/* ════════════════════════════════════════════════════════════════
   LANDING v9 — additional selling sections
   Adds: trust strip (codes + cert badges), pain section, feature
   bullet lists, outcomes (stats row), comparison (old vs new),
   FAQ accordion. All mobile-safe (no backdrop-filter, no fixed
   positioning, no animations on mobile).
   ════════════════════════════════════════════════════════════════ */

/* ── TRUST STRIP ───────────────────────────────────────────── */
#s-land .cdk-trust-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 24px;
  text-align: center;
}
@media (min-width: 768px) {
  #s-land .cdk-trust-strip { padding: 8px 32px 32px; }
}
#s-land .cdk-trust-items {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px;
  margin-top: 14px;
}
#s-land .cdk-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15,17,28,.7);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: rgba(248,250,252,.75);
  font-weight: 500;
}
#s-land .cdk-trust-item .ldx-flag { font-size: 13px; }
#s-land .cdk-eyebrow .cdk-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── PAIN SECTION ──────────────────────────────────────────── */
#s-land .cdk-pain {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
}
@media (min-width: 768px) { #s-land .cdk-pain { padding: 96px 32px; } }
#s-land .cdk-pain-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
#s-land .cdk-pain-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  #s-land .cdk-pain-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  #s-land .cdk-pain-head { margin-bottom: 48px; }
}
#s-land .cdk-pain-card {
  background: #0f111c;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 24px;
}
#s-land .cdk-pain-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
#s-land .cdk-pain-card h3 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -.3px;
  margin: 0 0 8px;
  color: #f1f5f9;
}
#s-land .cdk-pain-card p {
  font-size: 14px; line-height: 1.55;
  color: rgba(248,250,252,.65);
  margin: 0;
}

/* ── SECTION LEAD ──────────────────────────────────────────── */
#s-land .cdk-section-lead {
  font-size: 17px; line-height: 1.55;
  color: rgba(248,250,252,.70);
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
}

/* ── FEATURE BULLET LIST ───────────────────────────────────── */
#s-land .cdk-feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 18px;
  font-size: 15px;
  color: rgba(248,250,252,.80);
  line-height: 1.55;
}
#s-land .cdk-feature-list li {
  padding: 4px 0;
}

/* ── OUTCOMES ──────────────────────────────────────────────── */
#s-land .cdk-outcomes {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16,185,129,.08) 0%, transparent 70%);
}
@media (min-width: 768px) { #s-land .cdk-outcomes { padding: 96px 32px; } }
#s-land .cdk-outcome-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}
@media (min-width: 768px) {
  #s-land .cdk-outcome-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
#s-land .cdk-outcome {
  background: #0f111c;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 28px 24px;
}
#s-land .cdk-outcome-num {
  font-size: 56px; font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: #10b981;
}
#s-land .cdk-outcome-num small {
  font-size: 18px;
  font-weight: 600;
  color: rgba(248,250,252,.55);
  letter-spacing: 0;
  margin-left: 4px;
}
#s-land .cdk-outcome-label {
  font-size: 15px; font-weight: 700;
  margin: 12px 0 8px;
  color: #f1f5f9;
}
#s-land .cdk-outcome p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(248,250,252,.65);
  margin: 0;
}

/* ── COMPARISON ────────────────────────────────────────────── */
#s-land .cdk-compare {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
}
@media (min-width: 768px) { #s-land .cdk-compare { padding: 96px 32px; } }
#s-land .cdk-compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}
@media (min-width: 768px) {
  #s-land .cdk-compare-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
#s-land .cdk-compare-col {
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.10);
}
#s-land .cdk-compare-old {
  background: #0f111c;
}
#s-land .cdk-compare-new {
  background: linear-gradient(180deg, rgba(16,185,129,.06) 0%, #0f111c 100%);
  border-color: rgba(16,185,129,.30);
}
#s-land .cdk-compare-head {
  font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(248,250,252,.55);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#s-land .cdk-compare-new .cdk-compare-head {
  color: #6ee7b7;
  border-bottom-color: rgba(16,185,129,.30);
}
#s-land .cdk-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#s-land .cdk-compare-list li {
  font-size: 14px;
  line-height: 1.55;
  padding: 8px 0;
  color: rgba(248,250,252,.80);
}
#s-land .cdk-compare-old li { color: rgba(248,250,252,.55); }

/* ── FAQ ───────────────────────────────────────────────────── */
#s-land .cdk-faq {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 20px;
}
@media (min-width: 768px) { #s-land .cdk-faq { padding: 96px 32px; } }
#s-land .cdk-faq .cdk-eyebrow,
#s-land .cdk-faq .cdk-section-title { text-align: center; display: block; }
#s-land .cdk-faq-list {
  margin-top: 32px;
  display: flex; flex-direction: column;
  gap: 10px;
}
#s-land .cdk-faq-item {
  background: #0f111c;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow: hidden;
}
#s-land .cdk-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  position: relative;
  padding-right: 48px;
}
#s-land .cdk-faq-item summary::-webkit-details-marker { display: none; }
#s-land .cdk-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 400;
  color: rgba(248,250,252,.55);
  transition: transform 240ms ease;
}
#s-land .cdk-faq-item[open] summary::after {
  content: '−';
  color: #67e8f9;
}
#s-land .cdk-faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(248,250,252,.70);
}
#s-land .cdk-faq-item a { color: #67e8f9; }

/* ── FINAL CTA TRUST LINE ──────────────────────────────────── */
#s-land .cdk-final-trust {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(248,250,252,.45);
  letter-spacing: .02em;
}

/* ── DESKTOP UPGRADES FOR NEW SECTIONS (≥1200px) ──────────── */
@media (min-width: 1200px) {
  #s-land .cdk-outcome-num { font-size: 72px; letter-spacing: -3px; }
  #s-land .cdk-pain-card { padding: 32px; }
  #s-land .cdk-pain-card h3 { font-size: 20px; }
  #s-land .cdk-compare-col { padding: 36px; }
  #s-land .cdk-faq-item summary { font-size: 17px; padding: 22px 26px; padding-right: 56px; }
  #s-land .cdk-faq-item p { padding: 0 26px 24px; font-size: 15px; }
}

/* ════════════════════════════════════════════════════════════════
   LANDING v10 — cream top bar + navy hero + italic-serif accent
   Modelled on the user-shared mockup. Cream top, dark navy hero
   with an editorial italic-serif clause, detailed phone mock with
   floating side cards, light feature/pricing sections, navy
   surveyor and final-CTA bands. Mobile-safe — no backdrop-filter,
   no animations, no fixed-with-blur.
   ════════════════════════════════════════════════════════════════ */

#s-land .cdk-page-v10 {
  background: #fafbfc !important;
  color: #0f172a !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── TOP BAR (cream) ──────────────────────────────────────── */
#s-land .v10-bar {
  background: #f7f3e9;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
#s-land .v10-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
#s-land .v10-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.4px;
  flex-shrink: 0;
}
#s-land .v10-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #050614;
  display: inline-grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(8,145,178,.30);
}
#s-land .v10-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
#s-land .v10-nav-link {
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
#s-land .v10-nav-link:hover {
  background: rgba(15,23,42,.06);
  color: #0f172a;
  text-decoration: none;
}
#s-land .v10-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
#s-land .v10-signin {
  background: transparent;
  border: 0;
  color: #0f172a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 4px;
  cursor: pointer;
}
#s-land .v10-signin:hover { color: #1e40af; }
#s-land .v10-start {
  background: #0f172a;
  color: #fff;
  border: 0;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 160ms ease, background 160ms ease;
}
#s-land .v10-start:hover { transform: translateY(-1px); background: #1e293b; }
#s-land .v10-start .arrow { font-size: 16px; }

@media (max-width: 980px) {
  #s-land .v10-nav { display: none; }
}
@media (max-width: 600px) {
  #s-land .v10-bar-inner { padding: 14px 18px; }
  #s-land .v10-signin { display: none; }
}

/* ─── HERO ─────────────────────────────────────────────────── */
#s-land .v10-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(34,211,238,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(30,64,175,.18) 0%, transparent 60%),
    linear-gradient(180deg, #0d1b3a 0%, #0a1428 60%, #08111f 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
#s-land .v10-hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 35% at 50% 60%, rgba(6,182,212,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#s-land .v10-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 28px 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 920px) {
  #s-land .v10-hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 64px; padding: 96px 32px 120px; }
}
@media (max-width: 600px) {
  #s-land .v10-hero-inner { padding: 48px 20px 64px; gap: 40px; }
}

#s-land .v10-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #f1f5f9;
}
#s-land .v10-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px rgba(16,185,129,.6);
}
#s-land .v10-eyebrow.v10-eyebrow-dark {
  background: rgba(15,23,42,.05);
  border-color: rgba(15,23,42,.10);
  color: #0f172a;
}
#s-land .v10-eyebrow.v10-eyebrow-dark .v10-eyebrow-dot { background: #10b981; box-shadow: none; }
#s-land .v10-eyebrow.v10-eyebrow-light { background: rgba(255,255,255,.08); color: #fff; }

#s-land .v10-h1 {
  margin: 28px 0 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.02;
  color: #fff;
}
#s-land .v10-italic {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -1px;
  color: #cbd5e1;
}
#s-land .v10-sub {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(241,245,249,.78);
  max-width: 540px;
}
#s-land .v10-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
#s-land .v10-ctas-center { justify-content: center; }
#s-land .v10-cta-primary {
  background: #fff;
  color: #0f172a;
  border: 0;
  padding: 16px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
#s-land .v10-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.30); }
#s-land .v10-cta-primary .arrow { font-size: 16px; color: #0891b2; }
#s-land .v10-cta-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  padding: 15px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}
#s-land .v10-cta-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.30); text-decoration: none; }
#s-land .v10-play {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: inline-grid;
  place-items: center;
  font-size: 9px;
  color: #fff;
}

#s-land .v10-trust {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: rgba(241,245,249,.72);
}
#s-land .v10-tick {
  display: inline-flex;
  width: 18px; height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(16,185,129,.18);
  color: #10b981;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ─── PHONE MOCK ────────────────────────────────────────────── */
#s-land .v10-phone {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  justify-self: end;
}
@media (max-width: 600px) { #s-land .v10-phone { max-width: 320px; } }

#s-land .v10-phone-frame {
  position: relative;
  background: #0a0f1a;
  border-radius: 38px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 60px 120px rgba(0,0,0,.50),
    0 0 0 1px rgba(255,255,255,.04);
}
#s-land .v10-phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; border-radius: 0 0 14px 14px;
  background: #000;
  z-index: 3;
}
#s-land .v10-phone-screen {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34,211,238,.08) 0%, transparent 70%),
    linear-gradient(180deg, #0a1428 0%, #0a0f1a 100%);
  border-radius: 32px;
  padding: 44px 14px 14px;
  min-height: 580px;
  color: #fff;
}
#s-land .v10-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 0 8px 14px;
  letter-spacing: -.2px;
}
#s-land .v10-status-icons { font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.85); }

#s-land .v10-vessel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 12px 14px;
}
#s-land .v10-vessel-lbl {
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
}
#s-land .v10-vessel-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: -.3px;
}
#s-land .v10-bell {
  font-size: 18px;
  opacity: .85;
}

#s-land .v10-comp-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#s-land .v10-comp-lbl {
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
}
#s-land .v10-comp-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 4px 0 10px;
}
#s-land .v10-comp-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#s-land .v10-tile {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}
#s-land .v10-tile.ok { background: rgba(16,185,129,.14); color: #6ee7b7; }
#s-land .v10-tile.warn { background: rgba(245,158,11,.14); color: #fcd34d; }
#s-land .v10-tile.crit { background: rgba(239,68,68,.14); color: #fca5a5; }
#s-land .v10-ring {
  width: 76px; height: 76px;
  flex-shrink: 0;
}
#s-land .v10-ring svg { width: 100%; height: 100%; }

#s-land .v10-cert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 6px;
}
#s-land .v10-cert.crit { background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.24); }
#s-land .v10-cert-ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
#s-land .v10-cert-ic.ok { background: rgba(16,185,129,.18); color: #10b981; }
#s-land .v10-cert-ic.warn { background: rgba(245,158,11,.18); color: #f59e0b; }
#s-land .v10-cert-ic.crit { background: rgba(239,68,68,.20); color: #ef4444; }
#s-land .v10-cert-body { flex: 1; min-width: 0; }
#s-land .v10-cert-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: #fff;
}
#s-land .v10-cert-sub {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 1px;
}
#s-land .v10-cert-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#s-land .v10-cert-pill.ok { background: rgba(16,185,129,.18); color: #6ee7b7; }
#s-land .v10-cert-pill.warn { background: rgba(245,158,11,.18); color: #fcd34d; }

#s-land .v10-scan-card {
  margin-top: 10px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #0a0f1a;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
#s-land .v10-scan-ic { font-size: 22px; }
#s-land .v10-scan-title { font-size: 14px; font-weight: 800; letter-spacing: -.2px; flex: 1; }
#s-land .v10-scan-sub { font-size: 11px; font-weight: 500; opacity: .75; }
#s-land .v10-scan-arrow { font-size: 18px; font-weight: 700; }

/* Floating side cards */
#s-land .v10-float {
  position: absolute;
  background: #fff;
  color: #0f172a;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0,0,0,.30), 0 0 0 1px rgba(255,255,255,.06);
  z-index: 4;
  max-width: 240px;
}
#s-land .v10-float-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 800; color: #0f172a; }
#s-land .v10-float-sub { font-size: 11px; color: #64748b; margin-top: 1px; }
#s-land .v10-float-ic {
  width: 30px; height: 30px;
  background: #f1f5f9;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}
#s-land .v10-float-check {
  width: 24px; height: 24px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
#s-land .v10-float-sms {
  top: 38%;
  right: -20px;
}
#s-land .v10-float-scan {
  top: 16%;
  left: -32px;
}
@media (max-width: 600px) {
  #s-land .v10-float { display: none; }
}

/* ─── TRUST STRIP ───────────────────────────────────────────── */
#s-land .v10-trust-strip {
  background: #f7f3e9;
  border-bottom: 1px solid rgba(15,23,42,.08);
  padding: 14px 24px;
  text-align: center;
}
#s-land .v10-trust-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  letter-spacing: .02em;
}

/* ─── SECTIONS ─────────────────────────────────────────────── */
#s-land .v10-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 28px;
}
@media (max-width: 600px) {
  #s-land .v10-section { padding: 56px 20px; }
}
#s-land .v10-section-tinted { background: #f5f1e6; max-width: none; padding-left: 0; padding-right: 0; }
#s-land .v10-section-tinted > * { max-width: 1240px; margin-left: auto; margin-right: auto; padding: 0 28px; }
@media (max-width: 600px) {
  #s-land .v10-section-tinted > * { padding: 0 20px; }
}
#s-land .v10-section-navy {
  background: #0a1428;
  color: #fff;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
#s-land .v10-section-navy > * { max-width: 1240px; margin-left: auto; margin-right: auto; padding: 0 28px; }
@media (max-width: 600px) {
  #s-land .v10-section-navy > * { padding: 0 20px; }
}
#s-land .v10-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
#s-land .v10-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 16px 0 0;
  color: #0f172a;
}
#s-land .v10-h2-light { color: #fff; }

/* ─── FEATURES (3-up) ──────────────────────────────────────── */
#s-land .v10-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 768px) {
  #s-land .v10-features { grid-template-columns: repeat(3, 1fr); }
}
#s-land .v10-feature {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 1px 0 #e2e8f0;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
#s-land .v10-feature:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 44px rgba(15,23,42,.10);
}
#s-land .v10-feature-ic {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #0a0f1a;
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
}
#s-land .v10-feature h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.4px;
  margin: 0 0 10px;
  color: #0f172a;
}
#s-land .v10-feature p {
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* ─── HOW IT WORKS (3 steps) ───────────────────────────────── */
#s-land .v10-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 768px) {
  #s-land .v10-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
#s-land .v10-step {
  position: relative;
}
#s-land .v10-step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #0891b2;
  line-height: 1;
  margin-bottom: 16px;
  opacity: .9;
}
#s-land .v10-step h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin: 0 0 10px;
  color: #0f172a;
}
#s-land .v10-step p {
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* ─── FOR SURVEYORS (navy band) ────────────────────────────── */
#s-land .v10-section-navy { padding: 96px 0; }
#s-land .v10-surv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 880px) {
  #s-land .v10-surv-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
#s-land .v10-eyebrow-light { color: #67e8f9; }
#s-land .v10-surv-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(241,245,249,.85);
}
#s-land .v10-surv-list li { padding: 4px 0; }
#s-land .v10-link-light {
  color: #67e8f9;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
#s-land .v10-link-light:hover { color: #06b6d4; text-decoration: none; }
#s-land .v10-surv-mock {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px;
}
#s-land .v10-surv-tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
#s-land .v10-surv-tab-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #fff;
}
#s-land .v10-surv-tab-pill {
  font-size: 11px;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.06);
  padding: 4px 8px;
  border-radius: 5px;
}
#s-land .v10-surv-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
#s-land .v10-surv-row:last-child { border-bottom: 0; }
#s-land .v10-surv-row .ic { font-size: 16px; }
#s-land .v10-surv-row .lbl { color: #f1f5f9; }
#s-land .v10-surv-row .val {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
}
#s-land .v10-surv-row .val.ok { background: rgba(16,185,129,.18); color: #6ee7b7; }
#s-land .v10-surv-row .val.warn { background: rgba(245,158,11,.18); color: #fcd34d; }
#s-land .v10-surv-row .val.crit { background: rgba(239,68,68,.20); color: #fca5a5; }

/* ─── PRICING ──────────────────────────────────────────────── */
#s-land .v10-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  #s-land .v10-plans { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
#s-land .v10-plan {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 #e2e8f0;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
#s-land .v10-plan:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(15,23,42,.10); }
#s-land .v10-plan-featured {
  border-color: #0891b2;
  box-shadow: 0 24px 56px rgba(8,145,178,.20);
}
#s-land .v10-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #0a0f1a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
#s-land .v10-plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #475569;
}
#s-land .v10-plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #0f172a;
  margin: 8px 0;
}
#s-land .v10-plan-price small {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0;
  margin-left: 2px;
}
#s-land .v10-plan-blurb {
  font-size: 14px;
  color: #475569;
  margin: 0 0 18px;
  line-height: 1.5;
}
#s-land .v10-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 14px;
  color: #1e293b;
}
#s-land .v10-plan ul li { padding: 6px 0; }
#s-land .v10-plan-btn {
  margin-top: auto;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  width: 100%;
}
#s-land .v10-plan-btn.primary {
  background: #0f172a;
  color: #fff;
}
#s-land .v10-plan-btn.ghost {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}
#s-land .v10-plan-btn:hover { transform: translateY(-1px); }

/* ─── FAQ ──────────────────────────────────────────────────── */
#s-land .v10-faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#s-land .v10-faq-q {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}
#s-land .v10-faq-q summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  position: relative;
  padding-right: 52px;
}
#s-land .v10-faq-q summary::-webkit-details-marker { display: none; }
#s-land .v10-faq-q summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #64748b;
}
#s-land .v10-faq-q[open] summary::after { content: '−'; color: #0891b2; }
#s-land .v10-faq-q p {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}
#s-land .v10-faq-q a { color: #0891b2; }

/* ─── FINAL CTA (navy) ──────────────────────────────────────── */
#s-land .v10-final-wrap {
  padding: 64px 28px 88px;
}
#s-land .v10-final {
  max-width: 1000px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(34,211,238,.18) 0%, transparent 60%),
    linear-gradient(180deg, #0d1b3a 0%, #0a0f1a 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#s-land .v10-final-h {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 18px 0 14px;
  color: #fff;
}
#s-land .v10-final-sub {
  font-size: 16px;
  color: rgba(241,245,249,.78);
  max-width: 540px;
  margin: 0 auto 30px;
  line-height: 1.55;
}
@media (max-width: 600px) {
  #s-land .v10-final-wrap { padding: 48px 18px 64px; }
  #s-land .v10-final { padding: 44px 22px; border-radius: 18px; }
}

/* ─── FOOTER ───────────────────────────────────────────────── */
#s-land .v10-footer {
  background: #0a0f1a;
  color: rgba(255,255,255,.65);
  padding: 48px 28px 56px;
}
#s-land .v10-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}
#s-land .v10-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}
/* Footer logo uses the same cyan-gradient as the top bar — no
   per-context override needed; the brand mark stays consistent. */
#s-land .v10-footer-meta { margin: 6px 0 16px; }
#s-land .v10-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 14px 0;
}
#s-land .v10-footer-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
}
#s-land .v10-footer-links a:hover { color: #67e8f9; }
#s-land .v10-footer-copy { font-size: 11px; color: rgba(255,255,255,.40); margin-top: 14px; }

/* ─── MOBILE GUARD ─────────────────────────────────────────── */
@media (max-width: 720px) {
  #s-land .cdk-page-v10 * {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   LANDING v10 — SPV Code 2025 explainer section
   Sits between the trust strip and the features. Lead with the
   1 December 2025 urgency; explain the five biggest changes in a
   6-up grid (one cell is a contrasted "cost" callout); close with
   a dark CTA band positioning CodedOK as the answer + link to the
   full blog explainer.
   ════════════════════════════════════════════════════════════════ */
#s-land .v10-spv {
  background: linear-gradient(180deg, #f5f1e6 0%, #efeadb 100%);
  padding: 96px 28px;
}
@media (max-width: 600px) {
  #s-land .v10-spv { padding: 56px 20px; }
}
#s-land .v10-spv-hero {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}
#s-land .v10-spv-deadline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0a1428;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(10,20,40,.18);
}
#s-land .v10-spv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 12px rgba(239,68,68,.7);
  animation: v10-spv-pulse 2s ease-in-out infinite;
}
@keyframes v10-spv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.15); }
}
@media (max-width: 720px) {
  #s-land .v10-spv-dot { animation: none; }
}
#s-land .v10-spv-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: #0a1428;
  margin: 0 0 20px;
}
#s-land .v10-spv-em {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -1px;
  color: #0891b2;
}
#s-land .v10-spv-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #1e293b;
  max-width: 720px;
  margin: 0 auto;
}
#s-land .v10-spv-lead strong { color: #0a1428; font-weight: 700; }

#s-land .v10-spv-grid {
  max-width: 1240px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  #s-land .v10-spv-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1100px) {
  #s-land .v10-spv-grid { grid-template-columns: repeat(3, 1fr); }
}
#s-land .v10-spv-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 1px 0 rgba(15,23,42,.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
#s-land .v10-spv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(15,23,42,.10);
}
#s-land .v10-spv-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #0891b2;
  line-height: 1;
  margin-bottom: 16px;
}
#s-land .v10-spv-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin: 0 0 8px;
  color: #0a1428;
}
#s-land .v10-spv-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}
#s-land .v10-spv-card p strong { color: #0a1428; font-weight: 700; }

#s-land .v10-spv-card--accent {
  background: linear-gradient(180deg, #fee2e2 0%, #fef2f2 100%);
  border-color: rgba(239,68,68,.22);
}
#s-land .v10-spv-card--accent .v10-spv-num { color: #dc2626; font-size: 32px; }
#s-land .v10-spv-card--accent h3 { color: #7f1d1d; }
#s-land .v10-spv-card--accent p { color: #7c2d12; }
#s-land .v10-spv-card--accent p strong { color: #7f1d1d; }

#s-land .v10-spv-cta {
  max-width: 1100px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(34,211,238,.18) 0%, transparent 60%),
    linear-gradient(135deg, #0d1b3a 0%, #0a1428 100%);
  border-radius: 24px;
  padding: 56px 40px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 80px rgba(10,20,40,.20);
}
@media (max-width: 600px) {
  #s-land .v10-spv-cta { padding: 40px 24px; border-radius: 18px; }
}
#s-land .v10-spv-cta-h {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.15;
  color: #fff;
  margin: 14px 0 16px;
}
#s-land .v10-spv-cta-p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(241,245,249,.85);
  margin: 0 0 28px;
  max-width: 720px;
}
#s-land .v10-spv-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
#s-land .v10-spv-cta .v10-cta-ghost { color: #67e8f9; border-color: rgba(103,232,249,.30); }
#s-land .v10-spv-cta .v10-cta-ghost:hover { color: #06b6d4; background: rgba(255,255,255,.06); }

/* ════════════════════════════════════════════════════════════════
   LANDING v11 — iOS-style redesign
   White-first palette, generous whitespace, soft shadows, larger
   border-radius, big bold typography, a single accent colour
   (#0891b2 cyan). Each section says one thing. No backdrop-filter,
   no fixed-with-blur, animations CSS-only. Apple-product-page rhythm.
   ════════════════════════════════════════════════════════════════ */

#s-land .ios-page {
  background: #ffffff !important;
  color: #1d1d1f !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── TOP BAR (white, minimal) ──────────────────────────────── */
#s-land .ios-bar {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
#s-land .ios-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
#s-land .ios-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1d1d1f;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.3px;
  flex-shrink: 0;
}
#s-land .ios-logo {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(8,145,178,.30);
}
#s-land .ios-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
#s-land .ios-nav-link {
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 160ms ease;
}
#s-land .ios-nav-link:hover {
  background: rgba(0,0,0,.04);
  text-decoration: none;
}
#s-land .ios-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
#s-land .ios-signin {
  background: transparent;
  border: 0;
  color: #1d1d1f;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 6px;
  cursor: pointer;
}
#s-land .ios-signin:hover { color: #0891b2; }
#s-land .ios-start {
  background: #1d1d1f;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
#s-land .ios-start:hover { transform: translateY(-1px); background: #2d2d30; }

@media (max-width: 980px) { #s-land .ios-nav { display: none; } }
@media (max-width: 600px) {
  #s-land .ios-bar-inner { padding: 14px 18px; }
  #s-land .ios-signin { display: none; }
}

/* ─── SHARED PILL (eyebrow) ────────────────────────────────── */
#s-land .ios-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8,145,178,.08);
  border: 1px solid rgba(8,145,178,.20);
  color: #0891b2;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}
#s-land .ios-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0891b2;
}
#s-land .ios-pill-dark {
  background: rgba(29,29,31,.06);
  border-color: rgba(29,29,31,.10);
  color: #1d1d1f;
}
#s-land .ios-pill-dark .ios-pill-dot { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.40); }

/* ─── HERO ─────────────────────────────────────────────────── */
#s-land .ios-hero {
  background:
    radial-gradient(ellipse 80% 50% at 18% 8%, rgba(6,182,212,.14) 0%, transparent 60%),
    radial-gradient(ellipse 70% 45% at 82% 0%, rgba(99,102,241,.10) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(8,145,178,.06) 0%, transparent 70%),
    #ffffff;
  padding: 64px 28px 64px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) {
  #s-land .ios-hero { padding-top: 40px; }
}
#s-land .ios-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────
   CINEMATIC HERO — harbour photo right, dark navy left, iPhone
   mockup floats over the seam. Replaces the centred hero on the
   landing.
   ────────────────────────────────────────────────────────────── */
#s-land .ios-hero-cinema {
  background: #050912;
  padding: 0;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
#s-land .ios-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#s-land .ios-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
#s-land .ios-hero-bg-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      #050912 0%,
      rgba(5,9,18,.98) 36%,
      rgba(5,9,18,.88) 52%,
      rgba(5,9,18,.50) 70%,
      rgba(5,9,18,.20) 100%
    ),
    linear-gradient(180deg,
      rgba(5,9,18,.40) 0%,
      transparent 30%,
      transparent 70%,
      rgba(5,9,18,.60) 100%
    );
}
#s-land .ios-hero-cinema .ios-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 96px 40px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  text-align: left;
}
#s-land .ios-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 560px;
}
#s-land .ios-hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
#s-land .ios-hero-stage .iphone-hero {
  margin: 0;
  transform: perspective(1600px) rotateY(-12deg) rotateX(3deg) translateZ(0);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,.75),
    0 30px 60px -20px rgba(8,145,178,.35);
}

/* Light-on-dark text variants for the cinematic hero. Specificity
   bumped (chained class) so they win the cascade over the base
   .ios-h1 / .ios-italic / .ios-sub rules that come later in the file. */
#s-land .ios-h1.ios-h1-light { color: #fff; text-shadow: 0 4px 32px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.45); }
/* The H1 carries the SEO keyword line + brand display line together
   so the page has a single semantic H1 that contains the keyword
   Google ranks on, while the brand line stays the visual hero. */
#s-land .ios-h1-seo {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(103,232,249,.85);
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
#s-land .ios-h1-display {
  display: block;
}
#s-land .ios-italic.ios-italic-light {
  background: linear-gradient(120deg, #67e8f9 0%, #a78bfa 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
#s-land .ios-sub.ios-sub-light { color: rgba(255,255,255,.88); max-width: 560px; margin-left: 0; margin-right: 0; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
#s-land .ios-trust-row.ios-trust-row-light { color: rgba(255,255,255,.85); justify-content: flex-start; margin-bottom: 0; }
#s-land .ios-trust-row.ios-trust-row-light .ios-check {
  background: rgba(52,199,89,.20);
  color: #6ee7a7;
}
#s-land .ios-pill-glow {
  background: rgba(255,255,255,.08);
  color: #67e8f9;
  border: 1px solid rgba(103,232,249,.30);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
#s-land .ios-hero-cinema .ios-cta-row { justify-content: flex-start; }

@media (max-width: 960px) {
  #s-land .ios-hero-cinema .ios-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px 24px 48px;
    text-align: center;
  }
  #s-land .ios-hero-copy { align-items: center; text-align: center; max-width: 100%; }
  #s-land .ios-hero-cinema .ios-cta-row { justify-content: center; }
  #s-land .ios-trust-row-light { justify-content: center; }
  #s-land .ios-hero-stage .iphone-hero { transform: none; }
  #s-land .ios-hero-bg-fade {
    background:
      linear-gradient(180deg,
        rgba(5,9,18,.55) 0%,
        rgba(5,9,18,.90) 70%,
        #050912 100%
      );
  }
}
@media (max-width: 720px) {
  /* No backdrop-filter on mobile (sw v87 freeze rule). */
  #s-land .ios-pill-glow { -webkit-backdrop-filter: none; backdrop-filter: none; }
  #s-land .ios-hero-cinema { min-height: auto; }
  #s-land .ios-hero-cinema .ios-hero-inner { padding: 56px 18px 40px; }
}
#s-land .ios-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.02;
  margin: 28px 0 24px;
  color: #1d1d1f;
}
#s-land .ios-italic {
  display: block;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -2px;
  color: #0891b2;
  margin-top: 2px;
}
@media (max-width: 600px) {
  #s-land .ios-h1 { letter-spacing: -1.5px; }
  #s-land .ios-italic { letter-spacing: -1px; }
}
#s-land .ios-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  color: #6e6e73;
  max-width: 620px;
  margin: 0 auto 36px;
}
#s-land .ios-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
#s-land .ios-cta-row-center { justify-content: center; }
#s-land .ios-cta-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #fff;
  border: 0;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(8,145,178,.30);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
#s-land .ios-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(8,145,178,.45);
}
#s-land .ios-cta-primary .arrow { font-size: 17px; }
#s-land .ios-cta-primary.ios-cta-light {
  background: #fff;
  color: #0891b2;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
#s-land .ios-cta-secondary {
  color: #0891b2;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 15px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#s-land .ios-cta-secondary:hover { color: #06b6d4; text-decoration: none; }
#s-land .ios-cta-secondary::after { content: '›'; font-size: 18px; font-weight: 700; }
#s-land .ios-cta-link {
  color: #67e8f9;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
#s-land .ios-cta-link:hover { color: #fff; text-decoration: none; }

#s-land .ios-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  font-size: 14px;
  color: #6e6e73;
  margin-bottom: 56px;
}
#s-land .ios-check {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  background: rgba(52,199,89,.12);
  color: #34c759;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  margin-right: 6px;
  vertical-align: -3px;
}

/* ─── HERO PRODUCT CARD (replaces phone bezel) ─────────────── */
#s-land .ios-product-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 28px 80px rgba(15,23,42,.12),
    0 8px 24px rgba(15,23,42,.05);
  text-align: left;
  border: 1px solid rgba(0,0,0,.04);
}
#s-land .ios-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
#s-land .ios-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8e8e93;
}
#s-land .ios-card-vessel {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.4px;
  color: #1d1d1f;
  margin-top: 2px;
}
#s-land .ios-card-pill {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
#s-land .ios-card-pill.ok {
  background: rgba(52,199,89,.14);
  color: #248a3d;
}
#s-land .ios-card-status {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 0 22px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
#s-land .ios-card-ring {
  position: relative;
  width: 88px; height: 88px;
  flex-shrink: 0;
}
#s-land .ios-card-ring svg { width: 100%; height: 100%; }
#s-land .ios-card-ring-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.6px;
  color: #1d1d1f;
}
#s-land .ios-card-ring-num span {
  font-size: 13px;
  color: #8e8e93;
  margin-left: 1px;
}
#s-land .ios-card-meta { flex: 1; min-width: 0; }
#s-land .ios-card-meta-line {
  font-size: 14px;
  color: #1d1d1f;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
#s-land .ios-card-meta-line .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
#s-land .ios-card-meta-line .dot.ok { background: #34c759; }
#s-land .ios-card-meta-line .dot.warn { background: #ff9500; }
#s-land .ios-card-meta-line .dot.crit { background: #ff3b30; }
#s-land .ios-card-action {
  margin-top: 18px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
#s-land .ios-card-action-ic {
  font-size: 22px;
}
#s-land .ios-card-action-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.2px;
}
#s-land .ios-card-action-sub {
  font-size: 12px;
  opacity: .78;
  margin-top: 1px;
}
#s-land .ios-card-action-arrow {
  margin-left: auto;
  font-size: 22px;
  font-weight: 700;
  opacity: .85;
}

/* ─── SECTION SHELL ─────────────────────────────────────────── */
#s-land .ios-section {
  padding: 96px 28px;
}
@media (max-width: 600px) { #s-land .ios-section { padding: 64px 20px; } }
#s-land .ios-section-gray { background: #f5f5f7; }
#s-land .ios-section-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
#s-land .ios-section-narrow {
  max-width: 760px;
}
#s-land .ios-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 22px 0 18px;
  color: #1d1d1f;
}
#s-land .ios-section-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: #6e6e73;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* ─── SPV CODE GRID ────────────────────────────────────────── */
#s-land .ios-code-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: left;
  margin-bottom: 64px;
}
@media (min-width: 720px) {
  #s-land .ios-code-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1080px) {
  #s-land .ios-code-grid { grid-template-columns: repeat(3, 1fr); }
}
#s-land .ios-code-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
#s-land .ios-code-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
#s-land .ios-code-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #0891b2;
  margin-bottom: 12px;
}
#s-land .ios-code-num.warn { color: #ff3b30; font-size: 22px; }
#s-land .ios-code-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.4px;
  margin-bottom: 8px;
  color: #1d1d1f;
}
#s-land .ios-code-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: #6e6e73;
}
#s-land .ios-code-card-warn {
  background: linear-gradient(180deg, #fff5f4 0%, #fff 100%);
  border-color: rgba(255,59,48,.20);
}
#s-land .ios-code-card-warn .ios-code-name { color: #d70015; }

/* ─── SPV CTA (inside the same section) ────────────────────── */
#s-land .ios-code-cta {
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(34,211,238,.18) 0%, transparent 60%),
    linear-gradient(135deg, #0d1b3a 0%, #0a1428 100%);
  border-radius: 24px;
  padding: 48px 40px;
  color: #fff;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 600px) { #s-land .ios-code-cta { padding: 36px 22px; border-radius: 18px; } }
#s-land .ios-code-cta h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 14px;
}
#s-land .ios-code-cta p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  margin: 0 0 24px;
}

/* ─── FEATURE SECTIONS (alternating) ───────────────────────── */
#s-land .ios-feature {
  padding: 96px 28px;
  background: #ffffff;
}
#s-land .ios-feature-gray { background: #f5f5f7; }
@media (max-width: 600px) { #s-land .ios-feature { padding: 64px 20px; } }
#s-land .ios-feature-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 820px) {
  #s-land .ios-feature-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
  #s-land .ios-feature-alt .ios-feature-text { order: 2; }
  #s-land .ios-feature-alt .ios-feature-visual { order: 1; }
}
#s-land .ios-feature-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0891b2;
}
#s-land .ios-feature-h {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.02;
  margin: 14px 0 20px;
  color: #1d1d1f;
}
#s-land .ios-feature-body {
  font-size: 17px;
  line-height: 1.6;
  color: #6e6e73;
  max-width: 480px;
}

/* Feature visual cards (replace phone bezels with clean rounded surfaces) */
#s-land .ios-snap-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 24px 60px rgba(15,23,42,.10),
    0 6px 18px rgba(15,23,42,.04);
  border: 1px solid rgba(0,0,0,.04);
  max-width: 440px;
  justify-self: center;
  width: 100%;
}
#s-land .ios-snap-card-ok {
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  border-color: rgba(52,199,89,.20);
}
#s-land .ios-snap-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin-bottom: 18px;
}
#s-land .ios-snap-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
#s-land .ios-snap-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #1d1d1f;
}
#s-land .ios-snap-sub {
  font-size: 12px;
  color: #8e8e93;
  margin-top: 2px;
}
#s-land .ios-snap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
#s-land .ios-snap-row:last-of-type { border-bottom: 0; }
#s-land .ios-snap-row .k {
  font-size: 12px;
  color: #8e8e93;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}
#s-land .ios-snap-row .v {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
}
#s-land .ios-snap-row .v.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #0891b2;
}
#s-land .ios-snap-row .v.ok { color: #248a3d; }
#s-land .ios-snap-tag {
  margin-top: 16px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(8,145,178,.10);
  border: 1px solid rgba(8,145,178,.22);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #0891b2;
  letter-spacing: -.01em;
}
#s-land .ios-snap-tag.ok {
  background: rgba(52,199,89,.12);
  border-color: rgba(52,199,89,.24);
  color: #248a3d;
}
#s-land .ios-snap-stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
#s-land .ios-snap-stat-row:last-of-type { border-bottom: 0; }
#s-land .ios-snap-stat-row .big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.2px;
  width: 60px;
  line-height: 1;
}
#s-land .ios-snap-stat-row .big.ok { color: #34c759; }
#s-land .ios-snap-stat-row .big.warn { color: #ff9500; }
#s-land .ios-snap-stat-row .lbl {
  font-size: 15px;
  color: #1d1d1f;
}
#s-land .ios-snap-big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -4px;
  color: #34c759;
  line-height: 1;
}
#s-land .ios-snap-big span {
  font-size: 32px;
  color: #8e8e93;
  margin-left: 2px;
}
#s-land .ios-snap-big-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #248a3d;
  margin-top: 8px;
}
#s-land .ios-snap-divider {
  height: 1px;
  background: rgba(0,0,0,.06);
  margin: 22px 0 14px;
}
#s-land .ios-snap-meta {
  font-size: 14px;
  color: #6e6e73;
  margin-bottom: 14px;
}

/* ─── PRICING ──────────────────────────────────────────────── */
#s-land .ios-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
@media (min-width: 820px) { #s-land .ios-plans { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
#s-land .ios-plan {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
#s-land .ios-plan:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(15,23,42,.10); }
#s-land .ios-plan-featured {
  border-color: #0891b2;
  box-shadow: 0 24px 60px rgba(8,145,178,.20);
}
#s-land .ios-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
#s-land .ios-plan-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8e8e93;
  margin-bottom: 4px;
}
#s-land .ios-plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #1d1d1f;
  margin-bottom: 6px;
}
#s-land .ios-plan-price small {
  font-size: 14px;
  font-weight: 500;
  color: #8e8e93;
  letter-spacing: 0;
  margin-left: 2px;
}
#s-land .ios-plan-blurb {
  font-size: 14px;
  color: #6e6e73;
  margin: 0 0 22px;
  line-height: 1.5;
}
#s-land .ios-plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 14px;
  color: #1d1d1f;
}
#s-land .ios-plan-list li {
  padding: 7px 0;
  position: relative;
  padding-left: 22px;
}
#s-land .ios-plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0891b2;
  font-weight: 700;
}
#s-land .ios-plan-btn {
  margin-top: auto;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  width: 100%;
  transition: transform 160ms ease;
}
#s-land .ios-plan-btn.primary {
  background: #1d1d1f;
  color: #fff;
}
#s-land .ios-plan-btn.ghost {
  background: #f5f5f7;
  color: #1d1d1f;
}
#s-land .ios-plan-btn:hover { transform: translateY(-1px); }

/* ─── FAQ ──────────────────────────────────────────────────── */
#s-land .ios-faq {
  margin-top: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#s-land .ios-faq-q {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
}
#s-land .ios-faq-q summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  position: relative;
  padding-right: 52px;
}
#s-land .ios-faq-q summary::-webkit-details-marker { display: none; }
#s-land .ios-faq-q summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #8e8e93;
}
#s-land .ios-faq-q[open] summary::after { content: '−'; color: #0891b2; }
#s-land .ios-faq-q p {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #6e6e73;
}
#s-land .ios-faq-q a { color: #0891b2; }

/* ─── FINAL CTA ────────────────────────────────────────────── */
#s-land .ios-final {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(6,182,212,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(99,102,241,.18) 0%, transparent 60%),
    linear-gradient(180deg, #050912 0%, #0c1a36 100%);
  padding: 120px 28px;
  text-align: center;
  color: #fff;
}
@media (max-width: 600px) { #s-land .ios-final { padding: 80px 20px; } }
#s-land .ios-final-inner { max-width: 800px; margin: 0 auto; }
#s-land .ios-final-h {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.02;
  margin: 0 0 18px;
  color: #fff;
}
#s-land .ios-final .ios-italic {
  background: linear-gradient(120deg, #67e8f9 0%, #a78bfa 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
#s-land .ios-final-sub {
  font-size: 19px;
  color: rgba(255,255,255,.80);
  margin: 0 0 32px;
  line-height: 1.5;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
#s-land .ios-footer {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 48px 28px 56px;
}
#s-land .ios-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: #8e8e93;
  line-height: 1.7;
}
#s-land .ios-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d1d1f;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}
#s-land .ios-footer-meta { margin: 6px 0 16px; color: #8e8e93; }
#s-land .ios-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 14px 0;
}
#s-land .ios-footer-links a {
  color: #1d1d1f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
#s-land .ios-footer-links a:hover { color: #0891b2; }
#s-land .ios-footer-copy { font-size: 12px; color: #8e8e93; margin-top: 14px; }

/* ─── JOURNAL / LATEST ARTICLES ────────────────────────────── */
#s-land .ios-journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
  margin-top: 12px;
}
@media (min-width: 720px) { #s-land .ios-journal-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { #s-land .ios-journal-grid { grid-template-columns: repeat(3, 1fr); } }
#s-land .ios-journal-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
#s-land .ios-journal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.10);
  text-decoration: none;
  color: inherit;
}
#s-land .ios-journal-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0891b2;
}
#s-land .ios-journal-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.4px;
  line-height: 1.25;
  margin: 6px 0 0;
  color: #1d1d1f;
}
#s-land .ios-journal-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #6e6e73;
  margin: 0;
}
#s-land .ios-journal-read {
  margin-top: auto;
  padding-top: 4px;
  color: #0891b2;
  font-size: 13px;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════
   IPHONE MOCKUPS — used for hero + each feature visual
   Reusable .iphone frame with Dynamic Island, status bar, home
   indicator, soft drop shadow. Inside it sits one of four screen
   variants: Home dashboard (hero), Camera scanner, PDF importer,
   Inspection pack ready. Each variant is a sequence of .iphone-*
   blocks with realistic iOS styling.
   ════════════════════════════════════════════════════════════════ */

#s-land .iphone {
  position: relative;
  width: 320px;
  height: 660px;
  border-radius: 48px;
  background: #1a1a1c;
  padding: 12px;
  box-shadow:
    0 60px 120px rgba(15,23,42,.25),
    0 24px 48px rgba(15,23,42,.18),
    0 0 0 1px rgba(0,0,0,.06) inset;
  flex-shrink: 0;
  margin: 0 auto;
}
#s-land .iphone-hero {
  /* Slight 3D tilt on desktop only; gives the hero phone presence */
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-origin: center;
}
@media (max-width: 880px) {
  #s-land .iphone { width: 280px; height: 580px; padding: 10px; border-radius: 42px; }
  #s-land .iphone-hero { transform: none; }
}
#s-land .iphone-feature {
  margin: 0 auto;
}

#s-land .iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #f2f2f7;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Plus Jakarta Sans', sans-serif;
  display: flex;
  flex-direction: column;
}
#s-land .iphone-screen-dark { background: #0a0a0c; color: #fff; }

#s-land .iphone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
}

#s-land .iphone-statusbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 6px;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.2px;
  flex-shrink: 0;
}
#s-land .iphone-statusbar-light { color: #fff; }
#s-land .iphone-time { font-variant-numeric: tabular-nums; }
#s-land .iphone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#s-land .iphone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: rgba(0,0,0,.35);
  border-radius: 3px;
  z-index: 10;
}
#s-land .iphone-home-indicator.light { background: rgba(255,255,255,.50); }

/* ─── SHARED IN-APP CHROME ─────────────────────────────────── */
#s-land .iphone-app {
  flex: 1;
  overflow: hidden;
  padding: 14px 16px 60px;
  position: relative;
}
#s-land .iphone-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
#s-land .iphone-app-greet {
  font-size: 11px;
  color: #8e8e93;
  font-weight: 500;
}
#s-land .iphone-app-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -.6px;
  line-height: 1.05;
}
#s-land .iphone-app-title.small { font-size: 16px; font-weight: 700; }
#s-land .iphone-back { color: #0891b2; font-size: 14px; font-weight: 500; }
#s-land .iphone-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}

#s-land .iphone-section-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8e8e93;
  margin: 18px 4px 8px;
}

/* ─── SCREEN 1: HOME / FLEET DASHBOARD ────────────────────── */
#s-land .iphone-comp-card {
  background: linear-gradient(135deg, #0F4C5C 0%, #0a3a47 100%);
  color: #fff;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
#s-land .iphone-comp-ring {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
#s-land .iphone-comp-ring svg { width: 100%; height: 100%; transform: rotate(0); }
#s-land .iphone-comp-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.4px;
}
#s-land .iphone-comp-num span { font-size: 9px; opacity: .7; }
#s-land .iphone-comp-meta { flex: 1; min-width: 0; }
#s-land .iphone-comp-lbl {
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
}
#s-land .iphone-comp-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: -.3px;
}
#s-land .iphone-comp-sub { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 1px; }

#s-land .iphone-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
#s-land .iphone-tile {
  background: #fff;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
#s-land .iphone-tile-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
#s-land .iphone-tile-num.ok { color: #34c759; }
#s-land .iphone-tile-num.warn { color: #ff9500; }
#s-land .iphone-tile-num.crit { color: #ff3b30; }
#s-land .iphone-tile-lbl {
  font-size: 9px;
  color: #8e8e93;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

#s-land .iphone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 5px;
}
#s-land .iphone-row-ic {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
#s-land .iphone-row.ok .iphone-row-ic { background: rgba(52,199,89,.14); color: #34c759; }
#s-land .iphone-row.warn .iphone-row-ic { background: rgba(255,149,0,.14); color: #ff9500; }
#s-land .iphone-row.crit .iphone-row-ic { background: rgba(255,59,48,.14); color: #ff3b30; }
#s-land .iphone-row-body { flex: 1; min-width: 0; }
#s-land .iphone-row-name {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -.2px;
}
#s-land .iphone-row-sub { font-size: 11px; color: #8e8e93; margin-top: 1px; }
#s-land .iphone-row-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
#s-land .iphone-row-pill.ok { background: rgba(52,199,89,.14); color: #248a3d; }
#s-land .iphone-row-pill.warn { background: rgba(255,149,0,.14); color: #c25e00; }
#s-land .iphone-row-pill.crit { background: rgba(255,59,48,.14); color: #d70015; }

#s-land .iphone-fab {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(8,145,178,.40);
}

#s-land .iphone-tabbar {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 56px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  border-top: .5px solid rgba(0,0,0,.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 12px;
}
#s-land .iphone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 9px;
  color: #8e8e93;
  font-weight: 500;
  padding-top: 6px;
}
#s-land .iphone-tab.on { color: #0891b2; }
#s-land .iphone-tab-ic { font-size: 18px; line-height: 1; }
@media (max-width: 720px) {
  #s-land .iphone-tabbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}

/* ─── SCREEN 2: CAMERA SCANNER (dark) ─────────────────────── */
#s-land .iphone-scanner {
  flex: 1;
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.10) 30%, rgba(0,0,0,.10) 70%, rgba(0,0,0,.85) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, #1c2530 0%, #0a0a0c 100%);
  padding: 16px 18px;
  color: #fff;
}
#s-land .iphone-scanner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
#s-land .iphone-scanner-paper {
  position: relative;
  background: #fdfaf1;
  color: #1a1a1a;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 20px 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.65);
}
#s-land .iphone-scanner-paper-hdr {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3b3b3b;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d4d4d4;
}
#s-land .iphone-scanner-paper-row {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  padding: 3px 0;
  letter-spacing: -.1px;
}
#s-land .iphone-scanner-paper-row span:first-child { color: #6b6b6b; }
#s-land .iphone-scanner-paper-row span:last-child { font-weight: 600; color: #1a1a1a; font-family: ui-monospace, monospace; font-size: 9px; }

#s-land .iphone-scanner-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #34c759;
  border-style: solid;
  filter: drop-shadow(0 0 6px rgba(52,199,89,.7));
}
#s-land .iphone-scanner-corner.tl { top: 70px; left: 28px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
#s-land .iphone-scanner-corner.tr { top: 70px; right: 28px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
#s-land .iphone-scanner-corner.bl { bottom: 180px; left: 28px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
#s-land .iphone-scanner-corner.br { bottom: 180px; right: 28px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

#s-land .iphone-scanner-line {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #34c759, transparent);
  box-shadow: 0 0 18px rgba(52,199,89,.8);
  animation: iphone-scan 2.4s linear infinite;
}
@keyframes iphone-scan {
  0% { top: 80px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: calc(100% - 200px); opacity: 0; }
}
@media (max-width: 720px) { #s-land .iphone-scanner-line { animation: none; top: 50%; } }

#s-land .iphone-scanner-detect {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 28px;
  background: rgba(255,255,255,.95);
  color: #1d1d1f;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
#s-land .iphone-scanner-detect-dot {
  width: 10px; height: 10px;
  background: #34c759;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(52,199,89,.7);
  animation: iphone-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes iphone-pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}
@media (max-width: 720px) { #s-land .iphone-scanner-detect-dot { animation: none; } }

/* ─── SCREEN 3: PDF IMPORTER ──────────────────────────────── */
#s-land .iphone-import-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
#s-land .iphone-import-doc {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 8px;
}
#s-land .iphone-import-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -.2px;
}
#s-land .iphone-import-sub { font-size: 11px; color: #8e8e93; margin-top: 2px; }
#s-land .iphone-import-bar {
  height: 4px;
  background: #f2f2f7;
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0 6px;
}
#s-land .iphone-import-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #06b6d4, #34c759);
  border-radius: 4px;
}
#s-land .iphone-import-status { font-size: 11px; color: #0891b2; font-weight: 600; }

#s-land .iphone-import-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 4px;
}
#s-land .iphone-import-row .ic {
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
}
#s-land .iphone-import-row.ok .ic { background: #34c759; color: #fff; }
#s-land .iphone-import-row.warn .ic { background: #ff9500; color: #fff; }
#s-land .iphone-import-row .body { flex: 1; min-width: 0; }
#s-land .iphone-import-row .n { font-size: 12px; font-weight: 600; color: #1d1d1f; letter-spacing: -.1px; }
#s-land .iphone-import-row .s { font-size: 10px; color: #8e8e93; margin-top: 1px; }

/* ─── SCREEN 4: INSPECTION PACK READY ─────────────────────── */
#s-land .iphone-pack {
  flex: 1;
  padding: 22px 18px 18px;
  text-align: center;
  overflow: hidden;
}
#s-land .iphone-pack-check {
  display: flex; justify-content: center;
  margin: 4px 0 14px;
}
#s-land .iphone-pack-h {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -.4px;
  margin-bottom: 4px;
}
#s-land .iphone-pack-sub { font-size: 12px; color: #8e8e93; margin-bottom: 16px; }
#s-land .iphone-pack-doc {
  position: relative;
  width: 110px;
  margin: 0 auto 16px;
}
#s-land .iphone-pack-doc-page {
  background: #fff;
  border-radius: 8px;
  padding: 16px 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  position: relative;
  z-index: 3;
}
#s-land .iphone-pack-doc-line {
  height: 4px;
  background: #d4d4d8;
  border-radius: 2px;
  margin-bottom: 5px;
}
#s-land .iphone-pack-doc-line.lg { width: 60%; background: #0891b2; height: 5px; margin-bottom: 8px; }
#s-land .iphone-pack-doc-line.short { width: 40%; }
#s-land .iphone-pack-doc-stack {
  position: absolute;
  top: 4px; left: 4px;
  right: -4px; bottom: -4px;
  background: #f2f2f7;
  border-radius: 8px;
  z-index: 1;
}
#s-land .iphone-pack-doc-stack::before {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  right: -4px; bottom: -4px;
  background: #e5e5ea;
  border-radius: 8px;
  z-index: -1;
}
#s-land .iphone-pack-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 5px;
  text-align: left;
}
#s-land .iphone-pack-row > span { font-size: 18px; line-height: 1; flex-shrink: 0; }
#s-land .iphone-pack-row .n { font-size: 12px; font-weight: 600; color: #1d1d1f; }
#s-land .iphone-pack-row .s { font-size: 10px; color: #8e8e93; margin-top: 1px; }
#s-land .iphone-pack-cta {
  margin-top: 12px;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
}

/* Hide the old .ios-product-card if anywhere in DOM */
#s-land .ios-product-card { display: none !important; }

/* ─── BUILT FOR BOATS LIKE THESE — photo gallery ───────────── */
#s-land .ios-boats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
  text-align: left;
}
@media (min-width: 720px) { #s-land .ios-boats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1080px) { #s-land .ios-boats-grid { grid-template-columns: repeat(4, 1fr); } }

#s-land .ios-boat-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px rgba(15,23,42,.06);
  transition: transform 240ms ease, box-shadow 240ms ease;
  display: flex;
  flex-direction: column;
}
#s-land .ios-boat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 56px rgba(15,23,42,.10);
}
#s-land .ios-boat-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5f5f7;
}
#s-land .ios-boat-card figcaption {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#s-land .ios-boat-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0891b2;
}
#s-land .ios-boat-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #1d1d1f;
  margin-top: 2px;
}
#s-land .ios-boat-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #6e6e73;
  margin-top: 6px;
}

/* ─── MOBILE GUARD ─────────────────────────────────────────── */
@media (max-width: 720px) {
  #s-land .ios-page * {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
  }
  #s-land .ios-bar { position: static; }
  #s-land .ios-boat-card img { aspect-ratio: 16 / 10; }
}

/* ──────────────────────────────────────────────────────────────
   ANNOUNCEMENT BAR — sits above the nav on the landing
   ────────────────────────────────────────────────────────────── */
#s-land .ios-announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #0c1a36 0%, #103559 50%, #0c1a36 100%);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background 200ms ease;
}
#s-land .ios-announce:hover { background: linear-gradient(90deg, #0c1a36 0%, #134172 50%, #0c1a36 100%); color: #fff; }
#s-land .ios-announce-tag {
  background: #06b6d4;
  color: #0c1a36;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 3px 8px;
  border-radius: 999px;
}
#s-land .ios-announce-arrow {
  font-weight: 700;
  opacity: .8;
  transition: transform 200ms ease;
}
#s-land .ios-announce:hover .ios-announce-arrow { transform: translateX(3px); opacity: 1; }
@media (max-width: 600px) {
  #s-land .ios-announce { font-size: 12px; padding: 9px 14px; gap: 9px; }
  #s-land .ios-announce-msg { line-height: 1.3; }
}

/* ──────────────────────────────────────────────────────────────
   DEMO BUTTONS — visually distinct web vs mobile cards
   ────────────────────────────────────────────────────────────── */
#s-land .ios-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #1d1d1f;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
#s-land .ios-demo-btn:hover {
  transform: translateY(-2px);
  border-color: #06b6d4;
  box-shadow: 0 12px 28px rgba(8,145,178,.15);
}
#s-land .ios-demo-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #fff;
  flex-shrink: 0;
}
#s-land .ios-demo-ic svg { width: 20px; height: 20px; }
#s-land .ios-demo-mob .ios-demo-ic {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}
#s-land .ios-demo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
#s-land .ios-demo-lbl {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -.2px;
}
#s-land .ios-demo-sub {
  font-size: 12px;
  font-weight: 500;
  color: #6e6e73;
  margin-top: 2px;
}
#s-land .ios-demo-btn-light {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
#s-land .ios-demo-btn-light .ios-demo-lbl { color: #fff; }
#s-land .ios-demo-btn-light .ios-demo-sub { color: rgba(255,255,255,.65); }
#s-land .ios-demo-btn-light:hover { border-color: rgba(6,182,212,.6); background: rgba(255,255,255,.10); }

/* ──────────────────────────────────────────────────────────────
   PROOF STRIP — stats row between hero and gallery
   ────────────────────────────────────────────────────────────── */
#s-land .ios-proof {
  background: #0c1a36;
  padding: 40px 28px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
#s-land .ios-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
#s-land .ios-proof-stat {
  text-align: center;
  flex: 1 1 140px;
}
#s-land .ios-proof-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
#s-land .ios-proof-lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
}
#s-land .ios-proof-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.10);
}
@media (max-width: 720px) {
  #s-land .ios-proof-divider { display: none; }
  #s-land .ios-proof { padding: 28px 18px; }
  #s-land .ios-proof-stat { flex: 1 1 45%; }
}

/* ──────────────────────────────────────────────────────────────
   COMPARISON — spreadsheet vs CodedOK side-by-side
   ────────────────────────────────────────────────────────────── */
#s-land .ios-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
#s-land .ios-compare-col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 28px 28px 32px;
  text-align: left;
  position: relative;
}
#s-land .ios-compare-was {
  background: #f5f5f7;
}
#s-land .ios-compare-now {
  background: linear-gradient(180deg, #0c1a36 0%, #102a4a 100%);
  color: #fff;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 28px 60px -20px rgba(8,145,178,.30);
}
#s-land .ios-compare-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6e6e73;
  margin-bottom: 18px;
  padding: 4px 10px;
  background: rgba(15,23,42,.05);
  border-radius: 6px;
}
#s-land .ios-compare-tag-now {
  background: rgba(6,182,212,.15);
  color: #67e8f9;
}
#s-land .ios-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#s-land .ios-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
}
#s-land .ios-compare-was li { color: #6e6e73; }
#s-land .ios-compare-now li { color: rgba(255,255,255,.92); }
#s-land .ios-compare-x {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  background: rgba(239,68,68,.10);
  color: #ef4444;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
#s-land .ios-compare-check {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  background: rgba(52,199,89,.15);
  color: #34c759;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 720px) {
  #s-land .ios-compare { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  #s-land .ios-compare-col { padding: 22px 20px 26px; }
}

/* ──────────────────────────────────────────────────────────────
   MOBILE DEMO FRAME — demo-mobile.codedok.com only.
   On desktop, wrap the entire app shell in an iPhone bezel so
   visitors can SEE the mobile experience without owning a phone.
   On phones (≤720px) the frame disappears and the app fills the
   screen exactly like the real install would.
   ────────────────────────────────────────────────────────────── */
@media (min-width: 721px) {
  body.demo-mobile-frame {
    background:
      radial-gradient(1200px 600px at 20% 0%, #1a2540 0%, transparent 60%),
      radial-gradient(900px 500px at 80% 100%, #0c1a36 0%, transparent 60%),
      #05080f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 16px 48px;
  }
  body.demo-mobile-frame::before {
    content: 'Mobile preview · demo-mobile.codedok.com';
    color: rgba(255,255,255,.55);
    font: 600 12px/1 'Plus Jakarta Sans', sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 24px;
  }
  body.demo-mobile-frame > .shell {
    width: 390px;
    height: 844px;
    max-height: calc(100vh - 100px);
    border-radius: 56px;
    overflow: hidden;
    background: #000;
    box-shadow:
      0 0 0 12px #1a1a1c,
      0 0 0 14px #2a2a2e,
      0 60px 120px -20px rgba(0,0,0,.6),
      0 30px 60px -10px rgba(0,0,0,.4);
    position: relative;
  }
  body.demo-mobile-frame > .shell::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    z-index: 9999;
    pointer-events: none;
  }
  body.demo-mobile-frame > .shell > .scroll {
    padding-top: 50px;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* On real phones, no frame — the app fills the screen as normal. */
@media (max-width: 720px) {
  body.demo-mobile-frame { background: #fff; padding: 0; }
  body.demo-mobile-frame::before { display: none; }
  body.demo-mobile-frame > .shell { box-shadow: none; border-radius: 0; }
}