/*
  NW Cybersecurity
  Dark charcoal, warm off-white ink, heavy uppercase grotesk headlines, tracked labels with a
  royal blue dot, a cream primary button, a framed nav bar, thin royal blue glow lines with nodes,
  and tangerine used only as a rare attention point (the phone screen, one marker per page).
*/
:root {
  color-scheme: dark;
  --bg: #0d0d10;
  --panel: #15151a;
  --panel-2: #1b1b21;
  --panel-3: #232329;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --ink: #f2eee5;
  --text: #b9b6af;
  --muted: #8a8990;
  --dim: #55555d;

  --accent: #5b7cff;      /* royal blue glow: text-safe on --bg, focus, active states */
  --accent-2: #4169e1;    /* royal blue base: lines and fills only, not small text */
  --tangerine: #f28500;   /* attention only; text on it is --tangerine-ink */
  --tangerine-2: #ff9a26;
  --tangerine-ink: #141210;
  --ok: #7be06a;
  --warn: #f0c46c;
  --bad: #ff7f70;

  --cream: #efe9dd;
  --cream-ink: #121214;

  --f-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --f-text: 'Inter', system-ui, sans-serif;
  --f-code: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --margin: clamp(20px, 5.5vw, 88px);
  --r: 16px;
  --r-btn: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { padding-left: max(var(--margin), env(safe-area-inset-left)); padding-right: max(var(--margin), env(safe-area-inset-right)); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; z-index: 30; background: var(--cream); color: var(--cream-ink); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600; }
.skip:focus-visible { top: 12px; }

/* ---------- Type ---------- */
.display, .h2 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(46px, 5.4vw, 88px); line-height: 0.92; letter-spacing: -0.035em; }
.h2 { font-size: clamp(34px, 3.8vw, 60px); line-height: 0.95; letter-spacing: -0.03em; }
.h3 { font-family: var(--f-text); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
.lede { font-size: 17px; line-height: 1.6; max-width: 46ch; color: var(--text); text-wrap: pretty; }
.label { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #d3d8ea; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.meta span + span::before { content: "·"; margin-right: 14px; color: var(--dim); }
.small { font-size: 13px; color: var(--muted); }
.ink { color: var(--ink); }
code, .code { font-family: var(--f-code); font-size: 0.88em; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.ph { outline: 1.5px dashed rgba(240,196,108,.7); outline-offset: 4px; border-radius: 4px; }

/* ---------- Controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding: 0 22px; border-radius: var(--r-btn);
  background: var(--cream); color: var(--cream-ink); border: 0;
  font: 600 15px/1 var(--f-text); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 120ms var(--ease), background-color 160ms ease, box-shadow 160ms ease;
}
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 13px; }
.arrow { width: 14px; height: 14px; flex: none; }
.tlink { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.tlink .arrow { transition: transform 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #fff; }
  .btn.line:hover { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
  .tlink:hover .arrow { transform: translate(2px, -2px); }
  .tlink.down:hover .arrow { transform: translateY(3px); }
}
.price-line { display: flex; gap: 12px; align-items: baseline; font-size: 13px; color: var(--muted); }
.price-line b { color: var(--ink); font-weight: 600; font-size: 14px; }
.panel { background: var(--panel); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.pill-ctrl { display: inline-flex; align-items: center; gap: 18px; height: 46px; padding: 0 9px; border-radius: 23px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 13px; font-weight: 500; }
.pill-ctrl button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; font: inherit; }
.pill-ctrl button.word { width: auto; padding: 0 6px; }
@media (hover: hover) and (pointer: fine) { .pill-ctrl button:hover { background: rgba(255,255,255,.06); } }

/* ---------- Nav ---------- */
.navbar { margin-top: 20px; height: 62px; display: flex; align-items: center; gap: 24px; padding: 0 12px 0 22px; border-radius: 12px; background: rgba(21,21,26,.72); box-shadow: inset 0 0 0 1px var(--line); position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
.brand b { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-transform: uppercase; }
.brand-tag { padding-left: 16px; margin-left: 4px; box-shadow: inset 1px 0 0 var(--line-2); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #cfccc5; white-space: nowrap; }
.navbar ul { display: flex; gap: 30px; list-style: none; margin: 0 auto; font-size: 14px; }
.navbar ul a { text-decoration: none; color: #c4c1ba; transition: color 160ms ease; }
.navbar ul a[aria-current] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .navbar ul a:hover { color: var(--ink); } }
.nav-right { display: flex; align-items: center; gap: 18px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); cursor: pointer; font: 600 11px var(--f-text); letter-spacing: .08em; text-decoration: none; transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: rgba(255,255,255,.05); } }
.menu-btn { display: none; }
.mobile-menu { position: relative; z-index: 9; margin-top: 8px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.mobile-menu ul { list-style: none; padding: 8px; }
.mobile-menu a { display: block; padding: 14px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 17px; }
.mobile-menu a[aria-current] { background: var(--panel-2); }

/* ---------- Hero scaffold ---------- */
.hero { position: relative; min-height: max(860px, calc(100svh - 82px)); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 38% 46% at 74% 44%, rgba(65,105,225,.17) 0%, rgba(13,13,16,0) 70%),
    radial-gradient(ellipse 70% 34% at 30% 112%, rgba(65,105,225,.16) 0%, rgba(13,13,16,0) 70%),
    radial-gradient(ellipse 60% 55% at 68% 42%, #1b1b21 0%, rgba(13,13,16,0) 70%); }
.hero-top { display: flex; justify-content: space-between; margin-top: 36px; position: relative; z-index: 3; }
.bgword { position: absolute; z-index: -1; right: -2vw; top: 230px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(160px, 17vw, 290px); line-height: .8; letter-spacing: -0.05em; color: rgba(255,255,255,.035); white-space: nowrap; pointer-events: none; user-select: none; }
.bgword::before, .foot-word::before { content: attr(data-word); }
.hero-copy { position: relative; z-index: 3; max-width: 580px; margin-top: 150px; }
.hero-copy .display { margin-top: 26px; }
.hero-copy .lede { margin-top: 30px; }
.hero-copy .meta { margin-top: 16px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.hero-copy .price-line { margin-top: 20px; }
.object { position: absolute; z-index: 1; pointer-events: none; }

/* Numbered progress tabs */
.explore { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: 24px; }
.explore-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; }
.tabs a, .tabs button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--muted); font: 500 14px var(--f-text); padding: 0 0 16px; display: flex; gap: 12px; position: relative; text-decoration: none; transition: color 160ms ease; }
.tabs span { font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; padding-top: 2px; }
.tabs .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; padding: 0; }
.tabs .bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tabs .done .bar::after { --p: 1; opacity: .5; }
.tabs [aria-selected="true"], .tabs [aria-current] { color: var(--ink); }
.tabs [aria-selected="true"] span, .tabs [aria-current] span { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .tabs a:hover, .tabs button:hover { color: var(--ink); } }

/* ---------- The email object ---------- */
.mailobj { left: 41%; top: 190px; width: min(860px, 56vw); }
.mo-inner { transform: perspective(2200px) rotateY(-18deg) rotateX(10deg) rotate(-4deg); transform-origin: 10% 50%; }
.mo-card {
  position: relative; border-radius: 34px; overflow: hidden;
  background: linear-gradient(160deg, #2c2c32 0%, #1c1c21 45%, #121215 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.22), inset 1.5px 0 0 rgba(255,255,255,.08),
    1px 1px 0 #1d1d22, 2px 2px 0 #1b1b20, 3px 3px 0 #19191e, 4px 4px 0 #18181c, 5px 5px 0 #17171b,
    6px 6px 0 #16161a, 7px 7px 0 #151519, 8px 8px 0 #141418, 9px 9px 0 #131317, 10px 10px 0 #121216,
    11px 11px 0 #111114, 12px 12px 0 #101013, 14px 14px 0 #0e0e11,
    40px 70px 120px rgba(0,0,0,.65);
  color: var(--ink); font-family: var(--f-text);
}
.mo-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 32%, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%); }
.mo-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mo-bar { display: flex; align-items: center; gap: 10px; padding: 26px 34px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); font-size: 17px; color: var(--muted); }
.mo-bar i { width: 13px; height: 13px; border-radius: 50%; background: #34343b; }
.mo-bar span { margin-left: 10px; }
.mo-bar .mo-time { margin-left: auto; }
.mo-head { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; padding: 34px 34px 0; }
.mo-avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #33333a; font: 700 26px var(--f-display); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.mo-head b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.mo-head span { font-size: 19px; color: var(--muted); }
.mo-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; background: rgba(123,224,106,.1); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(123,224,106,.35); transition: color 300ms ease, background-color 300ms ease, box-shadow 300ms ease; }
.mo-subject { padding: 30px 34px 0; font: 700 38px/1.15 var(--f-display); letter-spacing: -0.02em; }
.mo-body { padding: 18px 34px 0; font-size: 20px; line-height: 1.55; color: var(--text); max-width: 760px; }
.mo-auth { display: flex; align-items: center; gap: 12px; margin: 34px 34px 0; padding: 22px 0 40px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.mo-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.05); font: 500 17px var(--f-code); color: var(--ink); white-space: nowrap; transition: opacity 300ms ease; }
.mo-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); transition: background-color 300ms ease, box-shadow 300ms ease; }
.mo-chip[data-s="bad"]::before { background: var(--bad); box-shadow: 0 0 12px var(--bad); }
.mo-chip[data-s="warn"]::before { background: var(--warn); box-shadow: 0 0 12px var(--warn); }
.mo-chip[data-s="off"] { opacity: .45; } .mo-chip[data-s="off"]::before { background: var(--dim); box-shadow: none; }
.mo-led { margin-left: auto; width: 44px; height: 9px; border-radius: 5px; background: var(--ok); box-shadow: 0 0 18px var(--ok), 0 0 4px var(--ok); transition: background-color 300ms ease, box-shadow 300ms ease; }
.mailobj[data-state="bad"] .mo-led { background: var(--bad); box-shadow: 0 0 18px var(--bad), 0 0 4px var(--bad); }
.mailobj[data-state="warn"] .mo-led { background: var(--warn); box-shadow: 0 0 18px var(--warn), 0 0 4px var(--warn); }
.mailobj[data-state="bad"] .mo-badge { background: rgba(255,127,112,.1); color: var(--bad); box-shadow: inset 0 0 0 1px rgba(255,127,112,.35); }
.mailobj[data-state="warn"] .mo-badge { background: rgba(240,196,108,.1); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(240,196,108,.35); }

/* ---------- The phone object ----------
   Sized by --pw. Inside, 1em = 16px at the 320px design width. Text that changes with
   data-state is rendered for every state and shown here. */
.phone { left: 59%; top: 118px; --pw: 290px; width: var(--pw); font-size: calc(var(--pw) / 20); }
.ph-tilt { transform: perspective(1800px) rotateY(-18deg) rotateX(8deg) rotate(-2deg); transform-origin: 40% 50%; }
.ph-body { position: relative; width: 20em; height: 41.2em; padding: .55em; border-radius: 3.3em;
  background: linear-gradient(150deg, #3b3b43 0%, #19191e 38%, #0b0b0e 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2), inset 0 0 0 .32em #09090b,
    0 0 0 1px rgba(91,124,255,.22), -2em 2.4em 5em rgba(0,0,0,.6), 0 0 6em rgba(65,105,225,.26); }
.ph-body::before { content: ""; position: absolute; left: -.22em; top: 8.5em; width: .22em; height: 2.6em; border-radius: .2em 0 0 .2em; background: #2b2b31; box-shadow: 0 3.4em 0 #2b2b31; }
.ph-body::after { content: ""; position: absolute; right: -.22em; top: 11em; width: .22em; height: 4.2em; border-radius: 0 .2em .2em 0; background: #2b2b31; }
.ph-screen { position: relative; height: 100%; border-radius: 2.8em; overflow: hidden; background: #0f0f13; color: var(--ink); font-family: var(--f-text); line-height: 1.25; }
.ph-status { position: relative; height: 3.1em; display: flex; align-items: center; justify-content: space-between; padding: 0 1.7em; }
.ph-status b { font-size: .9em; font-weight: 600; }
.ph-island { position: absolute; left: 50%; top: .7em; width: 6.2em; height: 1.8em; border-radius: 1em; background: #000; transform: translateX(-50%); }
.ph-icons { display: flex; align-items: center; gap: .3em; }
.ph-icons i { display: block; height: .65em; background: var(--ink); }
.ph-icons i:nth-child(1) { width: .95em; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ph-icons i:nth-child(2) { width: .9em; border-radius: .9em .9em .1em .1em; }
.ph-icons i:nth-child(3) { width: 1.5em; border-radius: .2em; background: linear-gradient(90deg, var(--ink) 72%, transparent 72%); box-shadow: inset 0 0 0 1px var(--ink); }
.ph-app { display: flex; align-items: center; justify-content: space-between; padding: .5em 1.25em 0; }
.ph-app b { font: 700 1.75em/1 var(--f-display); letter-spacing: -0.02em; }
.ph-compose { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; background: var(--tangerine); color: var(--tangerine-ink); }
.ph-compose svg { width: 1.1em; height: 1.1em; }
.ph-search { margin: .8em 1.25em 0; height: 2.7em; display: flex; align-items: center; gap: .6em; padding: 0 1em; border-radius: 1.35em; background: #1c1c22; color: #a3a2aa; font-size: .8em; }
.ph-search::before { content: ""; width: .8em; height: .8em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.ph-open { margin: .9em 1em 0; padding: 1em; border-radius: 1.3em; color: var(--tangerine-ink);
  background: linear-gradient(160deg, var(--tangerine-2) 0%, var(--tangerine) 55%, #e07400 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1em 2em rgba(242,133,0,.18); }
.ph-head { display: grid; grid-template-columns: auto 1fr auto; gap: .6em; align-items: center; }
.ph-head b { display: block; font-size: .88em; font-weight: 700; }
.ph-head small { display: block; font-size: .68em; opacity: .75; }
.ph-av { width: 3.2em; height: 3.2em; border-radius: 50%; display: grid; place-items: center; font: 700 .75em/1 var(--f-display); letter-spacing: .02em; background: var(--tangerine-ink); color: var(--tangerine); }
.ph-time { font-size: .66em; opacity: .7; }
.ph-subject { margin-top: .65em; font: 700 1.08em/1.2 var(--f-display); letter-spacing: -0.01em; }
.ph-snippet { margin-top: .3em; font-size: .74em; line-height: 1.4; opacity: .82; }
.ph-chips { display: flex; flex-wrap: wrap; gap: .35em; margin-top: .8em; }
.ph-chip { display: inline-flex; align-items: center; gap: .45em; padding: .45em .7em; border-radius: 1em; background: var(--tangerine-ink); color: var(--ink); font: 500 .62em var(--f-code); white-space: nowrap; }
.ph-chip::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--ok); }
.ph-chip[data-s="warn"]::before { background: var(--warn); } .ph-chip[data-s="bad"]::before { background: var(--bad); }
.ph-chip[data-s="off"] { color: #8a8990; } .ph-chip[data-s="off"]::before { background: var(--dim); }
.ph-list { list-style: none; margin-top: .7em; padding: 0 1.1em; }
.ph-row { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: .7em; align-items: center; padding: .7em 0; box-shadow: inset 0 -1px 0 rgba(255,255,255,.06); }
.ph-row .ph-av { grid-row: span 2; background: #2a2a31; color: var(--ink); }
.ph-row.unread .ph-av { background: var(--accent-2); color: #fff; }
.ph-row.unread::before { content: ""; position: absolute; left: -.75em; top: 1.9em; width: .42em; height: .42em; border-radius: 50%; background: var(--accent); }
.ph-from { font-size: .8em; font-weight: 600; }
.ph-row .ph-time { color: #8a8990; opacity: 1; }
.ph-subj { grid-column: 2 / -1; font-size: .72em; color: #a9a7a1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-row.fake .ph-av { grid-row: span 3; background: var(--tangerine-ink); color: var(--tangerine); box-shadow: inset 0 0 0 1px rgba(242,133,0,.4); }
.ph-flag { grid-column: 2 / -1; justify-self: start; margin-top: .4em; padding: .38em .75em; border-radius: 1em; font: 600 .58em var(--f-text); letter-spacing: .08em; text-transform: uppercase; background: var(--tangerine); color: var(--tangerine-ink); }
.phone[data-state="ok"] .ph-row.fake .ph-from, .phone[data-state="ok"] .ph-row.fake .ph-subj { color: #9a99a1; text-decoration: line-through; }
.phone[data-state="ok"] .ph-flag { background: rgba(91,124,255,.16); color: #9db0ff; }
.ph-home { position: absolute; left: 50%; bottom: .55em; width: 7em; height: .3em; border-radius: .2em; background: rgba(255,255,255,.55); transform: translateX(-50%); }
.ph-float-chip { position: absolute; display: flex; align-items: center; gap: .6em; padding: .7em 1em; border-radius: .9em; white-space: nowrap;
  background: rgba(21,21,26,.94); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 1.2em 2.4em rgba(0,0,0,.5);
  font: 600 .78em var(--f-text); color: var(--ink); }
.ph-float-chip i { width: .65em; height: .65em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 .8em var(--accent); }
.ph-float-chip.a { left: -7.4em; top: 14em; }
.ph-float-chip.b { right: -5.6em; top: 30em; }
.ph-float-chip.b i { background: var(--tangerine); box-shadow: 0 0 .8em var(--tangerine); }
.phone[data-state="warn"] .ph-float-chip.a i { background: var(--warn); box-shadow: 0 0 .8em var(--warn); }
.phone[data-state="bad"] .ph-float-chip.a i { background: var(--bad); box-shadow: 0 0 .8em var(--bad); }
.phone [data-show] { display: none; }
.phone[data-state="ok"] [data-show="ok"], .phone[data-state="warn"] [data-show="warn"], .phone[data-state="bad"] [data-show="bad"] { display: inline; }

/* ---------- Glow lines ----------
   Thin royal blue paths behind cards, with node dots. Two strokes instead of a blur filter. */
.glow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.g-line { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.g-wide { fill: none; stroke: var(--accent-2); stroke-width: 9; stroke-linecap: round; opacity: .16; vector-effect: non-scaling-stroke; }
.g-node { fill: var(--bg); stroke: #9db0ff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.doors-sec .sec-head, .doors-sec .doors { position: relative; z-index: 1; }
.page-head:has(.glow-head) { position: relative; isolation: isolate; padding-bottom: 72px; }
.glow-head { z-index: -1; width: 100vw; right: auto; }
@media (max-width: 767px) { .glow-head { display: none; } .page-head:has(.glow-head) { padding-bottom: 0; } }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font: 600 11px var(--f-text); letter-spacing: .08em; cursor: pointer; transition: background-color 160ms ease; }
.lang-switch .on { color: var(--ink); }
.lang-switch i { position: relative; width: 26px; height: 14px; border-radius: 7px; background: var(--panel-3); }
.lang-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transition: transform 160ms var(--ease); }
.lang-switch[aria-checked="true"] i::after { transform: translateX(12px); }
@media (hover: hover) and (pointer: fine) { .lang-switch:hover { background: rgba(255,255,255,.05); } }

/* The book object (guides) */
.bookobj { left: 52%; top: 150px; width: 30vw; max-width: 520px; }
.bookobj .obj-inner { transform: perspective(1800px) rotateY(-28deg) rotateX(8deg) rotate(-3deg); transform-origin: 30% 50%; position: relative; }
.bookobj img { border-radius: 6px 14px 14px 6px; box-shadow: 0 60px 120px rgba(0,0,0,.65), 0 20px 40px rgba(0,0,0,.5); }
.bookobj .spine { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 6px 0 0 6px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(0,0,0,.4)); }
.bookobj .sheen { position: absolute; inset: 0; border-radius: 6px 14px 14px 6px; background: linear-gradient(115deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 40%); }
.bookobj.back { z-index: 0; left: 72%; top: 330px; width: 22vw; max-width: 380px; opacity: .55; }
.bookobj.back .obj-inner { transform: perspective(1800px) rotateY(-32deg) rotateX(8deg) rotate(-3deg); }

/* ---------- Sections ---------- */
.section { padding-top: 160px; position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head .h2 { margin-top: 20px; }
.sec-head .lede { justify-self: end; }
.spec { list-style: none; }
.spec li { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; box-shadow: inset 0 -1px 0 var(--line); }
.spec li:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.spec .k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--text); }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.st.ok { color: var(--ok); } .st.warn { color: var(--warn); } .st.bad { color: var(--bad); } .st.mute { color: var(--muted); }
.st.mute::before { box-shadow: none; }

/* Forms */
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 16px var(--f-text); }
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--bad); }
.field .err { font-size: 13px; color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; min-height: 1.6em; }
.form-status.ok { color: var(--ok); } .form-status.bad { color: var(--bad); }

/* Prose (legal, about) */
.prose { max-width: 70ch; }
.prose h2 { font: 700 22px/1.25 var(--f-display); text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink); margin: 48px 0 14px; }
.prose p, .prose li { margin-top: 12px; color: var(--text); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { margin-top: 160px; padding-top: 80px; padding-bottom: 32px; box-shadow: inset 0 1px 0 var(--line); position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-blurb { margin-top: 18px; max-width: 30ch; }
.foot-grid h2 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; font-size: 14px; color: var(--text); }
.foot-grid a { text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .foot-grid a:hover { color: var(--ink); } }
.foot-word { margin-top: 96px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 12.4vw; line-height: .78; letter-spacing: -0.055em; color: rgba(255,255,255,.05); white-space: nowrap; margin-left: -0.04em; }
.foot-base { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; font-size: 13px; color: var(--muted); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { color: var(--ink); } }

/* ---------- Motion ---------- */
/* Native scrolling only. Reveals: opacity plus a 20px rise, once. Only transform and opacity animate. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(20px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
  .js .object { opacity: 0; transform: translateY(24px); transition: opacity 900ms ease, transform 1100ms var(--ease); }
  .js .object.is-in { opacity: 1; transform: none; }
  .js .glow path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease); }
  .js .glow.is-in path { stroke-dashoffset: 0; }
  .js .glow .g-node { opacity: 0; transition: opacity 400ms ease 1000ms; }
  .js .glow.is-in .g-node { opacity: 1; }
  .mo-led { animation: pulse 2.6s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .55; } }
  .swap { transition: opacity 260ms ease, transform 260ms var(--ease); }
  .swap.out { opacity: 0; transform: translateY(8px); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  .ph-float { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-3px); } }
}

/* ---------- Small desktop ---------- */
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero .phone { left: auto; right: max(var(--margin), 24px); --pw: 250px; }
  .hero:has(.phone) .hero-copy { max-width: min(520px, calc(100% - 330px)); }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 1023px) {
  .navbar ul, .nav-right .tlink { display: none; }
  .nav-right { margin-left: auto; }
  .menu-btn { display: grid; }
  .sec-head { grid-template-columns: 1fr; } .sec-head .lede { justify-self: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mailobj { left: 18%; top: 500px; width: 760px; }
  .hero:has(.phone) { min-height: 0; padding-bottom: 32px; display: flex; flex-direction: column; }
  .hero:has(.phone) .hero-top { order: 0; } .hero:has(.phone) .hero-copy { order: 1; margin-top: 72px; }
  .hero .phone { order: 2; position: relative; left: auto; top: auto; align-self: center; margin: 56px 0 8px; --pw: 270px; }
  .hero:has(.phone) .explore { order: 3; position: relative; margin-top: 40px; }
  .phone .ph-tilt { transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); }
  .glow-hero { display: none; }
  .bookobj { left: 40%; top: 520px; width: 44vw; } .bookobj.back { display: none; }
}
@media (max-width: 767px) {
  .navbar { margin-top: 12px; height: 56px; padding: 0 8px 0 14px; }
  .brand-tag { display: none; }
  .hero { min-height: 0; padding-bottom: 32px; display: flex; flex-direction: column; }
  .hero-top { order: 0; } .hero-copy { order: 1; } .hero .object { order: 2; } .explore { order: 3; }
  .hero-top .label:last-child { display: none; }
  .hero-copy { margin-top: 48px; }
  .hero .bgword { top: auto; bottom: 120px; font-size: 30vw; }
  .display { font-size: 12vw; overflow-wrap: break-word; hyphens: auto; }
  .page-head .display { font-size: 9.5vw; }
  .meta { gap: 8px 18px; } .meta span + span::before { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 18px; } .hero-actions .tlink { justify-content: center; }
  .hero .object { position: relative; left: auto; top: auto; margin-top: 32px; }
  .mailobj { width: 150%; margin-left: 4%; font-size: 0; }
  .hero .phone { --pw: 240px; margin-top: 40px; }
  .ph-float-chip.a { left: -4.6em; top: 9em; } .ph-float-chip.b { right: -3.4em; }
  .hero:has(.phone) .hero-copy { margin-top: 48px; }
  .mailobj .mo-inner { transform: perspective(1400px) rotateY(-20deg) rotateX(10deg) rotate(-4deg); zoom: .52; }
  .bookobj { width: 66%; margin-left: 14%; }
  .explore { position: relative; margin-top: 32px; }
  .tabs { display: flex; overflow-x: auto; gap: 18px; scrollbar-width: none; margin-right: calc(var(--margin) * -1); }
  .tabs li { flex: none; width: 150px; }
  .explore-head .pill-ctrl { display: none; }
  .section { padding-top: 104px; }
  .spec li { grid-template-columns: 1fr auto; } .spec li > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 16px; }
}
