/* GEOfix website. Brand: navy #000033, teal #33CCCC. Light and dark follow the visitor's device. */
:root {
  --navy: #000033;
  --teal: #33cccc;
  --teal-ink: #0b6e6e;      /* teal dark enough for text on white */
  --bg: #ffffff;
  --bg-soft: #f2f6f8;
  --card: #ffffff;
  --text: #0b0b2a;
  --muted: #4a5068;
  --line: #dde3ea;
  --link: var(--teal-ink);
  --hero-bg: var(--navy);
  --hero-text: #ffffff;
  --radius: 14px;
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #04041c;
    --bg-soft: #0a0a2c;
    --card: #0e0e34;
    --text: #eef1f7;
    --muted: #a9b0c6;
    --line: #23234d;
    --link: #5fdede;
    --hero-bg: #000033;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--teal); color: var(--navy); padding: 10px 16px; z-index: 10; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 150px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { background: var(--bg-soft); box-shadow: inset 0 -2px 0 var(--teal); }
.nav a.nav-cta { background: var(--teal); color: var(--navy); font-weight: 600; }
.nav a.nav-cta:hover { filter: brightness(1.06); }
/* Phones (George 9 Nov): the logo and a menu button on one row; the links fold out below it (site.js adds the button).
   Without script the links stay visible, wrapped and centred, as before. */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .site-header .wrap { justify-content: center; }
  .nav ul { justify-content: center; }
  .nav a { padding: 6px 10px; font-size: .94rem; }
  .has-menu .site-header .wrap { justify-content: space-between; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; row-gap: 0; }
  .has-menu .brand img { width: 120px; }
  .has-menu .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--card); color: var(--text); cursor: pointer; padding: 0; }
  .nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
  .nav-toggle .x { display: none; }
  .site-header.open .nav-toggle .bars { display: none; }
  .site-header.open .nav-toggle .x { display: block; }
  .has-menu .nav { display: none; flex: 1 0 100%; }
  .has-menu .site-header.open .nav { display: block; padding: 10px 0 6px; }
  .has-menu .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .has-menu .nav a { padding: 12px 14px; font-size: 1.05rem; border-radius: 12px; }
  .has-menu .nav a.nav-cta { text-align: center; margin-top: 6px; }
}

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-text); padding: 64px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero-art { max-width: 300px; justify-self: center; width: 100%; }
.hero p.lead { font-size: 1.2rem; color: #d6dbee; max-width: 36em; }
.hero .eyebrow { color: var(--teal); }
.hero a:not(.btn) { color: var(--teal); }
@media (max-width: 860px) {
  .hero { padding: 44px 0 52px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 260px; }
}
.page-hero { background: var(--hero-bg); color: var(--hero-text); padding: 52px 0 48px; }
.page-hero p.lead { font-size: 1.15rem; color: #d6dbee; max-width: 42em; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--teal); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--link); margin-bottom: .6em; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-dark { background: var(--teal); color: var(--navy); } }

/* Sections */
section.band { padding: 72px 0; }
section.band.soft { background: var(--bg-soft); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section.band { padding: 52px 0; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { color: var(--muted); margin: .4em 0 0; padding-left: 1.2em; }
.card li { margin-bottom: .3em; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(51,204,204,.16); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; stroke: var(--link); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Two column feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 10px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--teal); font-weight: 700; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .steps li::before { background: var(--teal); color: var(--navy); } }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* Channel chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.chips li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: .95rem; }

/* Call to action band */
.cta { background: var(--navy); color: #fff; border-radius: 20px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin-bottom: .2em; }
.cta p { color: #d6dbee; margin: 0; max-width: 38em; }
@media (prefers-color-scheme: dark) { .cta { background: var(--card); border: 1px solid var(--line); } }
@media (max-width: 620px) { .cta { padding: 28px; } }

/* Details list (About, Contact) */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; gap: 2px; } dl.facts dd { margin-bottom: 12px; } }

.prose { max-width: 44em; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0 32px; font-size: .95rem; color: var(--muted); margin-top: 0; }
.footer-top { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-top img { width: 130px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.legal { border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }

.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }

@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
  @keyframes pulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
}
.prose > h2:first-child { margin-top: 0; }

/* ======================================================================== v2 (9 Nov 2026): motion and technology look.
   Everything below is progressive: content shows without scripts, and motion stops for people who ask for less. */

/* Header: glass over the page, solid once scrolled, with a scroll progress line */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,51,.35); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--teal), #7f8cff); transform-origin: 0 50%; transform: scaleX(0); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }

/* Spacing: one rhythm for sections, a little more air at large sizes, tighter on phones */
section.band { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.card { padding: clamp(20px, 2.4vw, 28px); }
.wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
@media (max-width: 620px) { .card, .steps li { padding: 20px; } .btn { padding: 12px 20px; } }

/* Technology backgrounds: a faint grid, two slow drifting glows, and a spotlight that follows the pointer */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(51,204,204,.16), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(127,140,255,.22), transparent 60%),
    radial-gradient(700px 420px at 95% -10%, rgba(51,204,204,.22), transparent 60%),
    var(--hero-bg); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); }
.hero::after, .page-hero::after { content: ""; position: absolute; z-index: -1; width: 46vmax; height: 46vmax; right: -16vmax; top: -18vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(51,204,204,.28), transparent 65%); pointer-events: none; }
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 10vw, 120px); }
.page-hero { padding: clamp(52px, 7vw, 88px) 0 clamp(48px, 6vw, 76px); }
.hero h1, .page-hero h1 { background: linear-gradient(92deg, #fff 30%, #a8f0f0 70%, #c7ccff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero h1 { max-width: 18em; }

/* Soft band backgrounds with a slight depth, and a gentle wave into the next section */
section.band.soft { background: radial-gradient(1200px 400px at 50% 0%, color-mix(in srgb, var(--teal) 7%, var(--bg-soft)), var(--bg-soft)); }
.band.tech { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.band.tech::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.band.tech .section-head p, .band.tech p { color: #c9cfe6; }
.band.tech .eyebrow { color: var(--teal); }

/* Cards: lift and a glowing edge on hover */
.card { position: relative; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: linear-gradient(135deg, var(--teal), transparent 40%, transparent 60%, #7f8cff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@media (hover: hover) {
  .grid .card:hover, .steps li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,51,.45); }
  .grid .card:hover::after { opacity: 1; }
  .grid .card:hover .icon { background: var(--teal); }
  .grid .card:hover .icon svg { stroke: var(--navy); }
}
.icon { transition: background .3s; }
.icon svg { transition: stroke .3s; }

/* Reveal on scroll (site.js adds .reveal, then .in) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero art: the phone floats, the route draws itself, the alerts slide in one by one */
@media (prefers-reduced-motion: no-preference) {
  .hero-art { animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
  @keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
  .hero-art .route { stroke-dasharray: 6 6; animation: march 1.6s linear infinite; }
  @keyframes march { to { stroke-dashoffset: -24; } }
  .hero-art .alert { opacity: 0; animation: slide-in .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero-art .alert.a1 { animation-delay: .5s; } .hero-art .alert.a2 { animation-delay: 1.1s; } .hero-art .alert.a3 { animation-delay: 1.7s; }
  @keyframes slide-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
  .hero .wrap > div:first-child > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero .wrap > div:first-child > :nth-child(2) { animation-delay: .08s; } .hero .wrap > div:first-child > :nth-child(3) { animation-delay: .16s; } .hero .wrap > div:first-child > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Live ticker under the hero: example events scroll past, pausing on hover */
.ticker { background: #00001f; color: #cfd6ee; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; font-size: .92rem; }
.ticker-track { display: flex; width: max-content; gap: 0; }
.ticker ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 12px 20px; white-space: nowrap; }
.ticker li { display: inline-flex; align-items: center; gap: 10px; }
.ticker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(51,204,204,.18); flex: none; }
.ticker .dot.red { background: #ff6b81; box-shadow: 0 0 0 4px rgba(255,107,129,.18); }
.ticker .dot.amber { background: #f5b942; box-shadow: 0 0 0 4px rgba(245,185,66,.18); }
.ticker b { color: #fff; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 48s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .ticker ul[aria-hidden] { display: none; } .ticker-track { width: auto; } .ticker ul { flex-wrap: wrap; white-space: normal; gap: 10px 28px; } }

/* Figures strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-left: 2px solid var(--teal); padding: 4px 0 4px 18px; }
.stat .num { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .45em; font-weight: 700; color: var(--teal); margin-left: 4px; letter-spacing: 0; }
.stat p { margin: 8px 0 0; color: #c9cfe6; font-size: .98rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }

/* Scroll story: text steps on the left, a phone that stays in view on the right and changes with each step */
.story { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: clamp(28px, 6vw, 80px); align-items: start; }
.story-steps { display: grid; gap: 0; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .38; transition: opacity .4s; }
.story-step.active { opacity: 1; }
.story-step .tag { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: 10px; }
.story-step .tag span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: var(--navy); font-size: .8rem; letter-spacing: 0; }
.story-step p { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.story-phone { position: sticky; top: calc(var(--hdr, 72px) + 24px); }
.story-phone .phone { position: relative; border-radius: 40px; background: #0d0d3d; padding: 12px; box-shadow: 0 40px 70px -40px rgba(0,0,51,.6), inset 0 0 0 2px rgba(51,204,204,.35); }
.story-phone .screen { position: relative; border-radius: 30px; overflow: hidden; background: #f4f7fa; aspect-ratio: 9 / 18.5; }
.story-phone .scr { position: absolute; inset: 0; padding: 44px 16px 16px; opacity: 0; transform: scale(.96); transition: opacity .5s ease, transform .5s ease; color: #0b0b2a; font-size: 13px; line-height: 1.4; }
.story[data-active="1"] .scr.s1, .story[data-active="2"] .scr.s2, .story[data-active="3"] .scr.s3, .story[data-active="4"] .scr.s4, .story:not([data-active]) .scr.s1 { opacity: 1; transform: none; }
.scr .notch { position: absolute; top: 10px; left: 50%; width: 84px; height: 20px; margin-left: -42px; border-radius: 12px; background: #0d0d3d; }
.scr .bubble { background: #fff; border: 1px solid #e1e6ec; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 10px 24px -18px rgba(0,0,51,.5); }
.scr .bubble b { display: block; color: #000033; }
.scr .bubble .meta { color: #5a6078; font-size: 12px; }
.scr .crit { border-left: 4px solid #d6455d; }
.scr .ok { border-left: 4px solid #2bb673; }
.scr .wa { background: #e7fbe9; border-color: #c9efcd; }
.scr .lbl { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5a6078; margin: 4px 0 8px; }
.scr .map { height: 46%; border-radius: 14px; margin-bottom: 10px; position: relative; overflow: hidden; background: linear-gradient(160deg, #cfe9ee, #b9dfe7); }
.scr .map::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -20%; height: 55%; background: #b8dccb; border-radius: 50% 50% 0 0; }
.scr .pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #000033; border: 3px solid #fff; left: 62%; top: 38%; box-shadow: 0 0 0 0 rgba(51,204,204,.6); }
@media (prefers-reduced-motion: no-preference) { .scr .pin { animation: ping 2s ease-out infinite; } @keyframes ping { to { box-shadow: 0 0 0 18px rgba(51,204,204,0); } } }
.scr .call { text-align: center; padding-top: 30px; }
.scr .call .avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; background: var(--teal); display: grid; place-items: center; color: #000033; font-weight: 800; font-size: 22px; }
.scr .call .btns { display: flex; justify-content: center; gap: 36px; margin-top: 40px; }
.scr .call .btns i { width: 56px; height: 56px; border-radius: 50%; display: block; }
.scr .call .btns i:first-child { background: #e5484d; } .scr .call .btns i:last-child { background: #2bb673; }
@media (max-width: 860px) {
  /* Phones: the phone sticks near the top, small, and each step's text sits in a card below it */
  .story { grid-template-columns: 1fr; gap: 0; }
  /* George 9 Nov: the text slid under the phone and showed through. The phone now sits on a solid strip the width of the
     column (fading out at its foot), so a step's card is only ever readable below it */
  .story-phone { position: sticky; top: var(--hdr, 72px); z-index: 2; width: auto; margin: 0 0 8px; order: -1; padding: 10px 0 22px;
    background: linear-gradient(to bottom, var(--bg-soft) 0, var(--bg-soft) calc(100% - 22px), transparent 100%); }
  .story-phone .phone { width: 124px; margin: 0 auto; }
  .scr .call { padding-top: 10px; } .scr .call .avatar { width: 52px; height: 52px; font-size: 16px; } .scr .call .btns { margin-top: 18px; gap: 22px; } .scr .call .btns i { width: 40px; height: 40px; }
  .story-phone .phone { border-radius: 28px; padding: 8px; }
  .story-phone .screen { border-radius: 22px; }
  .story-phone .scr { transform-origin: top center; font-size: 10.5px; padding: 30px 8px 8px; }
  .story-phone .scr .bubble { padding: 8px 9px; border-radius: 12px; margin-bottom: 7px; }
  .story-step { min-height: 88vh; justify-content: flex-end; padding: 0 0 6vh; text-align: center; align-items: center; }
  .story-step > * { position: relative; z-index: 1; }
  .story-step .body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
  .story-step h3 { font-size: 1.05rem; margin: 0 0 6px; }
  .story-step p { font-size: .95rem; line-height: 1.5; }
  .story-step .tag { margin-bottom: 6px; }
  .story .chain { margin-top: 12px; gap: 6px; justify-content: center; }
  .story .chain li { padding: 5px 10px; font-size: .82rem; }
}

/* Carousel: swipe or use the arrows; snaps card by card */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 31%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 22px;
  list-style: none; margin: 0; scrollbar-width: thin; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.carousel-track > li { scroll-snap-align: start; }
.carousel-track .card { height: 100%; display: flex; flex-direction: column; }
.carousel-track .card .more { margin-top: auto; padding-top: 14px; font-weight: 600; }
.carousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: -8px; margin-bottom: 18px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 1.2rem; cursor: pointer; transition: background .2s, opacity .2s; }
.carousel-nav button:hover:not(:disabled) { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
.carousel-track .card .art { height: 110px; border-radius: 12px; margin: -6px -6px 16px; background: linear-gradient(135deg, #000033, #0d2a5a); position: relative; overflow: hidden; }
.carousel-track .card .art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; }
.carousel-track .card .art svg { position: absolute; right: 14px; bottom: 12px; width: 54px; height: 54px; stroke: var(--teal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 620px) { .carousel-track { grid-auto-columns: 82%; } .carousel-nav { display: none; } }

/* Channel chips: a gentle glow, and the critical path shown as a chain */
.chips li { transition: transform .25s, border-color .25s; }
.chips li:hover { transform: translateY(-2px); border-color: var(--teal); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.chain li { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.chain li.arrow { border: 0; background: none; padding: 0 2px; color: var(--teal); font-weight: 800; }

/* Call to action: an animated gradient border */
.cta { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(600px 300px at 90% 120%, rgba(51,204,204,.35), transparent 60%), var(--navy); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Scroll story, step 3: an incoming call screen, as a phone shows it */
.scr.call-screen { background: radial-gradient(120% 70% at 50% 0%, #2a3a6e, #0b1230 60%, #060a1e); color: #fff; display: flex; flex-direction: column; justify-content: flex-start; padding: 40px 14px 26px; }
.call-extras { margin-top: auto; margin-bottom: 22px; }
.scr.call-screen .notch { background: #000; }
.call-top { text-align: center; padding-top: 8%; }
.call-avatar { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #1c8f9a); color: #000033; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.call-name { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.call-sub { font-size: 12.5px; color: #c4cbe3; margin-top: 4px; }
.call-extras, .call-btns { display: flex; justify-content: space-between; padding: 0 6%; }
.call-extras span, .call-btns span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: #e7eaf5; }
.call-extras i { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.call-extras svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.call-btns i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.call-btns svg { width: 26px; height: 26px; fill: #fff; }
.call-btns .decline { background: #eb4d4b; }
.call-btns .decline svg { transform: rotate(135deg); }
.call-btns .accept { background: #34c759; }
@media (prefers-reduced-motion: no-preference) {
  .story[data-active="3"] .call-btns .accept { animation: ring 1.4s ease-out infinite; }
  @keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.6); } 100% { box-shadow: 0 0 0 16px rgba(52,199,89,0); } }
}
@media (max-width: 860px) {
  .scr.call-screen { padding: 30px 8px 16px; }
  .call-avatar { width: 40px; height: 40px; font-size: 14px; margin-bottom: 8px; }
  .call-name { font-size: 15px; } .call-sub { font-size: 10px; }
  .call-extras { margin-bottom: 12px; }
  .call-extras i { width: 24px; height: 24px; } .call-extras svg { width: 12px; height: 12px; }
  .call-btns i { width: 38px; height: 38px; } .call-btns svg { width: 18px; height: 18px; }
  .call-extras span, .call-btns span { font-size: 9px; gap: 4px; }
}

/* Cookie consent banner (site.js): equal Accept and Reject, bottom of the screen, never blocks the page */
[hidden] { display: none !important; }
.consent { position: fixed; z-index: 100; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 720px; margin: 0 auto; display: flex; gap: 16px 20px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px;
  background: color-mix(in srgb, var(--card) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(0,0,51,.5); }
.consent p { margin: 0; flex: 1 1 320px; font-size: .95rem; color: var(--muted); }
.consent p b { display: block; color: var(--text); margin-bottom: 2px; }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { padding: 10px 18px; cursor: pointer; font: inherit; font-weight: 600; }
.consent-reject { background: transparent; color: var(--text); border-color: var(--line); }
.consent-reject:hover { border-color: var(--text); }

/* Privacy page: cookie table */
table.cookies { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; display: block; overflow-x: auto; }
table.cookies th, table.cookies td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cookies th { font-weight: 600; background: var(--bg-soft); }

/* Scroll story, step 2: WhatsApp quick-reply buttons */
.scr .wa-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: -4px 0 10px; }
.scr .wa-btns span { background: #fff; border: 1px solid #e1e6ec; border-radius: 10px; text-align: center; padding: 7px 4px; color: #0a7cff; font-weight: 600; font-size: 12px; }

/* ======================================================================== Platform page */
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } }
.dash { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.1); color: #cfd6ee; font-size: .8rem; font-weight: 600; }
.dash-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dash-bar span { margin-left: 8px; }
.dash-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
@media (max-width: 520px) { .dash-body { grid-template-columns: 1fr; } }
.dash-map { position: relative; min-height: 170px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #123a5c, #0b2440);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(160deg, #123a5c, #0b2440); background-size: 20px 20px, 20px 20px, auto; }
.dash-map .fence { position: absolute; left: 14%; top: 18%; width: 46%; height: 52%; border: 2px dashed rgba(51,204,204,.6); border-radius: 40% 50% 45% 55%; }
.dash-map .boat { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; }
.dash-map .b1 { left: 30%; top: 40%; } .dash-map .b2 { left: 70%; top: 66%; } .dash-map .b3 { left: 46%; top: 28%; background: #ff6b81; }
.dash-map .trail { position: absolute; left: 70%; top: 66%; width: 80px; height: 2px; background: linear-gradient(90deg, rgba(51,204,204,.8), transparent); transform-origin: 0 50%; transform: rotate(-150deg); }
.dash-cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.dash-cases li { position: relative; background: rgba(255,255,255,.07); border-radius: 10px; padding: 9px 10px 9px 14px; color: #e8ecf8; font-size: .8rem; line-height: 1.3; }
.dash-cases li::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--teal); }
.dash-cases li.crit::before { background: #ff6b81; } .dash-cases li.warn::before { background: #f5b942; } .dash-cases li.ok::before { background: #2bb673; }
.dash-cases b { display: block; } .dash-cases span { color: #aab3d3; font-size: .74rem; }
.dash-cases em { position: absolute; right: 8px; top: 8px; font-style: normal; font-size: .68rem; font-weight: 700; color: #cfd6ee; opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .dash { animation: rise .9s .2s cubic-bezier(.2,.7,.2,1) both; }
  .dash-cases li { animation: slide-in .6s cubic-bezier(.2,.7,.2,1) both; }
  .dash-cases li:nth-child(1) { animation-delay: .7s; } .dash-cases li:nth-child(2) { animation-delay: 1s; } .dash-cases li:nth-child(3) { animation-delay: 1.3s; }
  .dash-map .b3 { animation: ping-red 1.8s ease-out infinite; }
  @keyframes ping-red { 0% { box-shadow: 0 0 0 0 rgba(255,107,129,.7); } 100% { box-shadow: 0 0 0 16px rgba(255,107,129,0); } }
  .dash-map .b2 { animation: drift 9s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translate(-36px, -22px); } }
}

/* Section menu: sticks under the header, highlights the section you're in, scrolls sideways on phones */
.subnav { position: sticky; top: var(--hdr, 64px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; transition: background .25s, color .25s; }
.subnav a:hover { color: var(--text); background: var(--bg-soft); }
.subnav a[aria-current] { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .subnav a[aria-current] { background: var(--teal); color: var(--navy); } }
section[id] { scroll-margin-top: calc(var(--hdr, 64px) + 64px); }

/* Escalation timeline: the line fills and each step lights up in turn */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); }
.timeline::after { background: linear-gradient(90deg, var(--teal), #ff6b81); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.4s cubic-bezier(.4,.1,.2,1); }
.timeline.run::after { transform: scaleX(1); }
.timeline li { position: relative; padding-top: 44px; opacity: .35; transition: opacity .5s; }
.timeline.run li { opacity: 1; }
.timeline.run li:nth-child(2) { transition-delay: .6s; } .timeline.run li:nth-child(3) { transition-delay: 1.2s; } .timeline.run li:nth-child(4) { transition-delay: 1.8s; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: var(--navy); border: 3px solid var(--teal); z-index: 1; }
.timeline li:last-child::before { border-color: #ff6b81; }
.timeline .t { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.timeline b { display: block; color: #fff; font-size: 1.08rem; margin-bottom: 4px; }
.timeline p { color: #c9cfe6; margin: 0; font-size: .96rem; }
.timeline-note { margin-top: 28px; color: #c9cfe6; border-left: 3px solid #ff6b81; padding-left: 14px; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before, .timeline::after { left: 11px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; }
  .timeline::after { transform: scaleY(0); transform-origin: 50% 0; } .timeline.run::after { transform: scaleY(1); }
  .timeline li { padding: 0 0 0 44px; }
}

/* ======================================================================== For companies page */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.tabs button { font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tabs button:hover { border-color: var(--teal); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (prefers-color-scheme: dark) { .tabs button[aria-selected="true"] { background: var(--teal); color: var(--navy); border-color: var(--teal); } }
@media (max-width: 620px) { .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .tabs button { white-space: nowrap; } }
.segments.tabbed { grid-template-columns: 1fr; }
.segments.tabbed .segment { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; padding: clamp(24px, 4vw, 40px); }
.segments.tabbed .segment .icon { grid-row: span 3; width: 64px; height: 64px; border-radius: 18px; }
.segments.tabbed .segment .icon svg { width: 34px; height: 34px; }
.segments.tabbed .segment h3 { font-size: 1.5rem; margin: 0; }
.segments.tabbed .segment > p { font-size: 1.1rem; }
.segments.tabbed .segment ul { columns: 2; column-gap: 32px; }
.segments.tabbed .segment li { break-inside: avoid; }
@media (max-width: 720px) { .segments.tabbed .segment { grid-template-columns: 1fr; } .segments.tabbed .segment .icon { grid-row: auto; } .segments.tabbed .segment ul { columns: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .segment.enter { animation: panel-in .45s cubic-bezier(.2,.7,.2,1); }
  @keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* Try your brand */
.brand-try { margin-top: 18px; }
.brand-try-label { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--link); margin-bottom: 10px; }
.swatches, .names { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.swatches button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--card); background: var(--c); box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: transform .2s; }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--text); transform: scale(1.1); }
.names button { font: inherit; font-size: .92rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.names button[aria-checked="true"] { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.brand-phone { max-width: 300px; justify-self: center; width: 100%; }
.brand-phone .phone { border-radius: 40px; background: #0d0d3d; padding: 12px; box-shadow: 0 40px 70px -40px rgba(0,0,51,.6), inset 0 0 0 2px rgba(51,204,204,.35); }
.brand-phone .screen { border-radius: 30px; overflow: hidden; background: #f4f7fa; padding: 0 0 16px; color: #0b0b2a; font-size: 13px; }
.bp-head { display: flex; align-items: center; gap: 10px; padding: 34px 16px 14px; background: var(--brand); color: #fff; transition: background .5s; }
.bp-logo { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.95); color: var(--brand); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; transition: color .5s; }
.bp-name { font-size: 15px; }
.bp-map { height: 130px; margin: 12px; border-radius: 14px; position: relative; background: linear-gradient(160deg, #cfe9ee, #b9dfe7); overflow: hidden; }
.bp-map::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; background: #b8dccb; border-radius: 50% 50% 0 0; }
.bp-pin { position: absolute; left: 58%; top: 34%; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; transition: background .5s; }
.bp-card { margin: 0 12px 8px; background: #fff; border: 1px solid #e1e6ec; border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; }
.bp-card b { grid-column: 1; } .bp-card span { grid-column: 1; color: #5a6078; font-size: 12px; }
.bp-chip { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #e8f6ee; color: #1d7a4b; }
.bp-chip.on { background: color-mix(in srgb, var(--brand) 18%, #fff); color: #0b0b2a; transition: background .5s; }
.bp-btn { margin: 10px 12px 0; background: var(--brand); color: #fff; text-align: center; font-weight: 700; border-radius: 12px; padding: 11px; transition: background .5s; }
@media (prefers-reduced-motion: no-preference) {
  .brand-phone.flash .screen { animation: flash .5s ease; }
  @keyframes flash { 0% { transform: scale(.985); } 100% { transform: none; } }
}
.segments.tabbed .segment[hidden] { display: none; }
.segments.tabbed .segment.reveal { opacity: 1; transform: none; }

/* ======================================================================== Footer with legal links */
.footer-cols { display: flex; flex-direction: column; gap: 10px; }
.footer-legal a { color: var(--muted); font-size: .9rem; }

/* ======================================================================== About */
.orbit { position: relative; width: min(360px, 82vw); aspect-ratio: 1; margin: 0 auto; justify-self: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(51,204,204,.35); }
.orbit-ring.r1 { inset: 0; } .orbit-ring.r2 { inset: 22%; border-style: solid; border-color: rgba(255,255,255,.1); }
.orbit-core { position: absolute; inset: 36%; border-radius: 50%; display: grid; place-items: center; align-content: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, #4fe0e0, #1c8f9a); color: #000033; box-shadow: 0 0 0 10px rgba(51,204,204,.12), 0 0 60px rgba(51,204,204,.45); }
.orbit-core span { font-weight: 800; font-size: 1.05rem; } .orbit-core small { font-size: .7rem; font-weight: 700; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.orbit-spin { position: absolute; inset: 0; }
.orbit-spin .node { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); background: rgba(13,13,61,.9); border: 1px solid rgba(51,204,204,.5); color: #e8ecf8;
  padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.orbit-spin.s1 { transform: rotate(0deg); } .orbit-spin.s2 { transform: rotate(60deg); } .orbit-spin.s3 { transform: rotate(120deg); }
.orbit-spin.s4 { transform: rotate(180deg); } .orbit-spin.s5 { transform: rotate(240deg); } .orbit-spin.s6 { transform: rotate(300deg); }
.orbit-spin.s1 .node { transform: translate(-50%, -50%) rotate(0deg); } .orbit-spin.s2 .node { transform: translate(-50%, -50%) rotate(-60deg); }
.orbit-spin.s3 .node { transform: translate(-50%, -50%) rotate(-120deg); } .orbit-spin.s4 .node { transform: translate(-50%, -50%) rotate(-180deg); }
.orbit-spin.s5 .node { transform: translate(-50%, -50%) rotate(-240deg); } .orbit-spin.s6 .node { transform: translate(-50%, -50%) rotate(-300deg); }
@media (prefers-reduced-motion: no-preference) {
  .orbit { animation: spin 60s linear infinite; }
  .orbit .node, .orbit-core { animation: counter 60s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  /* nodes keep upright: their own rotation is set per spoke, so counter-rotate the whole orbit's turn */
  .orbit-spin.s1 .node { animation-name: c0; } .orbit-spin.s2 .node { animation-name: c60; } .orbit-spin.s3 .node { animation-name: c120; }
  .orbit-spin.s4 .node { animation-name: c180; } .orbit-spin.s5 .node { animation-name: c240; } .orbit-spin.s6 .node { animation-name: c300; }
  @keyframes c0 { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(-360deg); } }
  @keyframes c60 { from { transform: translate(-50%,-50%) rotate(-60deg); } to { transform: translate(-50%,-50%) rotate(-420deg); } }
  @keyframes c120 { from { transform: translate(-50%,-50%) rotate(-120deg); } to { transform: translate(-50%,-50%) rotate(-480deg); } }
  @keyframes c180 { from { transform: translate(-50%,-50%) rotate(-180deg); } to { transform: translate(-50%,-50%) rotate(-540deg); } }
  @keyframes c240 { from { transform: translate(-50%,-50%) rotate(-240deg); } to { transform: translate(-50%,-50%) rotate(-600deg); } }
  @keyframes c300 { from { transform: translate(-50%,-50%) rotate(-300deg); } to { transform: translate(-50%,-50%) rotate(-660deg); } }
  @keyframes counter { to { transform: rotate(-360deg); } }
}
.roles .card { padding-top: 34px; }
.role-tag { position: absolute; top: -12px; left: 22px; background: var(--navy); color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.role-tag.you { background: var(--teal); color: var(--navy); } .role-tag.both { background: linear-gradient(90deg, var(--navy), #1c8f9a); color: #fff; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: f; }
.flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 28px; height: 2px; background: linear-gradient(90deg, transparent, rgba(51,204,204,.6), transparent); }
.flow li { position: relative; counter-increment: f; text-align: center; padding-top: 70px; }
.flow li::before { content: counter(f); position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(51,204,204,.5); color: var(--teal); font-weight: 800; font-size: 1.2rem; }
.flow b { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 4px; } .flow span { color: #c9cfe6; font-size: .96rem; }
.flow::after { content: ""; position: absolute; top: 24px; left: 4%; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
@media (prefers-reduced-motion: no-preference) { .flow::after { animation: packet 4s ease-in-out infinite; } @keyframes packet { 0% { left: 4%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 95%; opacity: 0; } } }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } .flow::before, .flow::after { display: none; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* ======================================================================== Contact */
.contact-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.enquiry { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(51,204,204,.2); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #e5484d; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }
.form-actions .btn { cursor: pointer; font: inherit; font-weight: 600; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.next-steps h2 { font-size: 1.4rem; }
.next-steps ol { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: n; display: grid; gap: 18px; }
.next-steps li { counter-increment: n; position: relative; padding-left: 52px; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--teal); font-weight: 800; }
@media (prefers-color-scheme: dark) { .next-steps li::before { background: var(--teal); color: var(--navy); } }
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: -16px; width: 2px; background: var(--line); }
.next-steps b { display: block; } .next-steps span { color: var(--muted); }
.note-card p { margin: 0; }

/* ======================================================================== Legal pages */
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } }
.legal-layout > * { min-width: 0; }  /* a wide table scrolls inside its own box, never the page (cookie policy on phones) */
.toc { position: sticky; top: calc(var(--hdr, 64px) + 20px); border-left: 2px solid var(--line); padding-left: 16px; }
@media (max-width: 860px) { .toc { position: static; } }
.toc-title { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { color: var(--text); text-decoration: none; font-size: .95rem; } .toc a:hover { color: var(--link); text-decoration: underline; }
.prose h2 { scroll-margin-top: calc(var(--hdr, 64px) + 24px); font-size: 1.35rem; }
.updated { color: var(--muted); font-size: .92rem; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; }
.table-scroll table.cookies { display: table; margin: 0; }

/* Scroll story: Boat / Vehicle switch (site.js). Each version's text and screens carry data-v; only the chosen one shows */
[data-story-v] [data-v] { display: contents; }
[data-story-v="boat"] [data-v="vehicle"], [data-story-v="vehicle"] [data-v="boat"] { display: none !important; }
.story-switch { margin: 18px 0 0; }
.story-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (prefers-color-scheme: dark) { .story-switch button[aria-pressed="true"] { background: var(--teal); color: var(--navy); border-color: var(--teal); } }
