
:root {
  --ink:#0d1520;
  --muted:#61707f;
  --line:#dfe6ee;
  --soft:#f8fbff;
  --soft2:#f0faf5;
  --card:#ffffff;
  --blue:#2b6cff;
  --blue2:#19b481;
  --green:#20b26b;
  --orange:#3cc48f;
  --shadow:0 18px 50px rgba(36,56,84,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size:17px; line-height:1.55;
  color:var(--ink);
  background:#ffffff;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{width:min(1420px, calc(100% - 56px)); margin:auto}
nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.84);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(223,230,238,.9);
}
.navin{height:74px; display:flex; align-items:center; justify-content:space-between}
.brand{font-size:22px; font-weight:900; letter-spacing:-.05em}
.brand em{font-style:normal; color:var(--blue)}
.navlinks{display:flex; gap:26px; align-items:center; font-size:14px; color:#506070}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:46px; padding:0 18px; border-radius:14px;
  border:1px solid var(--line); background:#fff; font-weight:800; font-size:14px;
  box-shadow:0 8px 24px rgba(29,49,74,.04);
}
.btn.primary{background:linear-gradient(135deg,var(--blue),var(--blue2)); color:#fff; border-color:transparent}
.btn.ghost{background:rgba(255,255,255,.85)}
header.hero{padding:64px 0 40px; min-height:calc(100vh - 74px); display:flex; align-items:center}
.kicker{
  display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:800; color:#567;
  padding:10px 14px; border-radius:999px; background:#fff; border:1px solid #e6edf5;
}
.kicker:before{content:""; width:9px; height:9px; border-radius:50%; background:var(--green); box-shadow:0 0 0 6px rgba(32,178,107,.12)}
h1{
  margin:22px 0 18px; max-width:1180px;
  font-size:clamp(50px, 7.6vw, 112px); line-height:.94; letter-spacing:-.07em;
}
.lead{font-size:clamp(19px,1.55vw,25px); line-height:1.55; color:var(--muted); max-width:920px}
.ctas{display:flex; flex-wrap:wrap; gap:12px; margin-top:26px}
.stats{display:flex; gap:20px; flex-wrap:wrap; margin-top:34px}
.stat{
  min-width:148px; background:#fff; border:1px solid #e7edf4; border-radius:18px;
  padding:18px 18px 16px; box-shadow:0 10px 25px rgba(29,49,74,.05)
}
.stat b{display:block; font-size:36px; letter-spacing:-.05em}
.stat span{display:block; margin-top:4px; font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:#738191}
.hero-grid{display:grid; grid-template-columns:1.2fr .8fr; gap:18px; margin-top:34px}
.hero-card{
  background:#fff; border:1px solid #e6edf5; border-radius:28px; box-shadow:var(--shadow); overflow:hidden;
}
.hero-photo{aspect-ratio: 16 / 9; object-fit:cover; width:100%}
.hero-copy{padding:22px 24px 24px}
.hero-copy small{display:block; color:var(--blue); font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase}
.hero-copy h3{margin:9px 0 11px; font-size:37px; line-height:1.05; letter-spacing:-.045em}
.hero-copy p{margin:0; color:var(--muted); line-height:1.55}
.hero-side{display:grid; grid-template-rows:1fr 1fr; gap:18px}
.side-card{
  position:relative; overflow:hidden;
  border-radius:28px; min-height:330px; background:#fff; border:1px solid #e6edf5; box-shadow:var(--shadow);
}
.side-card img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.side-card .overlay{
  position:absolute; inset:auto 16px 16px 16px; padding:18px;
  border-radius:22px; background:rgba(255,255,255,.88); backdrop-filter: blur(8px);
  border:1px solid rgba(255,255,255,.55);
}
.side-card h4{margin:0 0 7px; font-size:25px; letter-spacing:-.04em}
.side-card p{margin:0; color:#5f6c78; font-size:14px; line-height:1.45}
section{padding:110px 0}
.eyebrow{font-size:12px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:var(--blue); margin-bottom:12px}
h2{font-size:clamp(38px,5.2vw,74px); line-height:1.02; letter-spacing:-.055em; margin:0 0 18px; max-width:1150px}
.sub{font-size:19px; line-height:1.6; color:var(--muted); max-width:900px}
.photo-strip{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-top:34px}
.photo-tile{
  overflow:hidden; border-radius:24px; background:#fff; border:1px solid #e6edf5; box-shadow:var(--shadow)
}
.photo-tile img{width:100%; aspect-ratio:4/3; object-fit:cover}
.photo-tile .cap{padding:16px 18px}
.photo-tile .cap b{display:block; font-size:20px; letter-spacing:-.02em; margin-bottom:6px}
.photo-tile .cap span{color:#64717c; font-size:14px; line-height:1.45}
.evidence{
  background:
    linear-gradient(180deg, #f8fbff, #fdfcff),
    linear-gradient(135deg, rgba(43,108,255,.03), rgba(32,178,107,.045));
}
.evidence-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:34px}
.metric{
  background:#fff; border:1px solid var(--line); border-radius:22px; padding:24px;
  box-shadow:0 12px 28px rgba(28,48,74,.05);
}
.metric b{display:block; font-size:48px; letter-spacing:-.05em; margin-bottom:8px}
.metric p{margin:0; font-size:14px; line-height:1.5; color:#677480}
.modules{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:34px}
.module{
  background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; box-shadow:0 10px 24px rgba(28,48,74,.04);
}
.module .ico{width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:linear-gradient(135deg,#edf4ff,#eafaf2); color:var(--blue); font-weight:900; margin-bottom:14px}
.module h3{margin:0 0 9px; font-size:20px; letter-spacing:-.02em}
.module p{margin:0; font-size:13px; color:#687581; line-height:1.45}
.agents-band{
  background:
    radial-gradient(circle at 10% 0%, rgba(43,108,255,.08), transparent 25%),
    radial-gradient(circle at 100% 0%, rgba(32,178,107,.07), transparent 25%),
    linear-gradient(180deg,#fff,#f9fbff);
}
.agent-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:34px}
.agent{
  background:#fff; border:1px solid var(--line); border-radius:20px; padding:20px; box-shadow:0 10px 24px rgba(28,48,74,.04);
}
.agent strong{display:block; margin-bottom:7px; font-size:18px}
.agent p{margin:0; color:#66737e; font-size:13px; line-height:1.45}
.safety-layout{display:grid; grid-template-columns:.9fr 1.1fr; gap:44px; align-items:start}
.rules{display:grid; gap:12px}
.rule{background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px; box-shadow:0 10px 24px rgba(28,48,74,.04)}
.rule b{display:block; margin-bottom:6px}
.rule span{font-size:14px; line-height:1.5; color:#68747f}
.cta-box{
  margin:16px auto 84px; padding:58px 54px; border-radius:30px;
  background:linear-gradient(135deg,#eff7ff,#f4fbf7 55%,#f0faf5);
  border:1px solid #e4ebf2; box-shadow:var(--shadow);
}
footer{padding:24px 0 40px; color:#7a8794; font-size:13px}
@media (max-width: 980px){
  .hero-grid, .safety-layout {grid-template-columns:1fr}
  .hero-side {grid-template-columns:1fr 1fr; grid-template-rows:none}
  .evidence-grid {grid-template-columns:repeat(2,1fr)}
  .modules {grid-template-columns:repeat(2,1fr)}
  .agent-grid {grid-template-columns:repeat(2,1fr)}
  .photo-strip {grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
  .wrap{width:min(100% - 24px, 1180px)}
  .navlinks a:not(.btn){display:none}
  header.hero{padding-top:34px; min-height:0; display:block}
  section{padding:64px 0}
  .hero-side, .photo-strip, .evidence-grid, .modules, .agent-grid {grid-template-columns:1fr}
  .cta-box{padding:28px 22px; margin-bottom:38px}
}

/* ═══ Movement ═══════════════════════════════════════════════════════════
   Every animation here is slow enough to be felt rather than watched. The
   test applied throughout: if you notice it moving, it is too fast. */

/* The photographs breathe. Different durations and directions so that no two
   are ever in step — the moment two images move together they read as one
   sliding panel rather than as photographs. */
@keyframes kenburns{from{transform:scale(1.02)}to{transform:scale(1.10) translate3d(-1.2%,-1%,0)}}
.hero-photo{animation:kenburns 30s ease-in-out infinite alternate;will-change:transform}
.side-card img{animation:kenburns 38s ease-in-out infinite alternate;will-change:transform}
.hero-side .side-card:nth-child(2) img{animation-duration:47s;animation-direction:alternate-reverse}
.photo-tile img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.photo-tile:hover img{transform:scale(1.045)}

/* The live dot actually pulses, because a status light that never moves is
   telling you nothing. */
@keyframes livepulse{
  0%,100%{box-shadow:0 0 0 6px rgba(32,178,107,.14)}
  50%{box-shadow:0 0 0 12px rgba(32,178,107,.04)}
}
.kicker:before{animation:livepulse 3.4s ease-in-out infinite}

/* The ground drifts. Forty seconds for a few per cent of travel — it registers
   as depth rather than as motion. */
@keyframes skydrift{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(2%,1.6%,0) scale(1.05)}
}
body::before{
  content:"";position:fixed;inset:-8%;z-index:-1;pointer-events:none;
  background:
    radial-gradient(circle at 0% 0%, #eff7ff 0, transparent 35%),
    radial-gradient(circle at 100% 10%, #ecf9f2 0, transparent 35%),
    linear-gradient(180deg, #ffffff, #fbfdff 55%, #ffffff);
  animation:skydrift 40s ease-in-out infinite alternate;
  will-change:transform;
}

/* Reveal on scroll — from a VISIBLE resting state. Content parked at zero
   opacity is content that does not exist for anyone who lands mid-page, for a
   screenshot, or for a reader whose observer never fires. */
.rise{opacity:.5;transform:translateY(16px);
  transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1)}
.rise.in{opacity:1;transform:none}

/* What can be touched looks touchable. */
.module,.agent,.photo-tile,.metric,.rule,.stat,.side-card,.hero-card{
  transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s,border-color .28s}
.module:hover,.agent:hover,.photo-tile:hover,.metric:hover,.rule:hover{
  transform:translateY(-5px);box-shadow:0 24px 48px rgba(28,48,74,.11);border-color:#d7e3f3}
.btn{transition:transform .18s cubic-bezier(.2,.7,.2,1),box-shadow .18s,filter .18s}
.btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(29,49,74,.12)}
.btn.primary:hover{filter:saturate(1.12) brightness(1.04)}
.navlinks a:not(.btn){position:relative}
.navlinks a:not(.btn):after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:2px;
  background:var(--blue);transition:right .3s cubic-bezier(.2,.7,.2,1);border-radius:2px}
.navlinks a:not(.btn):hover:after{right:0}
.stat b{font-variant-numeric:tabular-nums}

/* ═══ Your first week ═══════════════════════════════════════════════════ */
.week{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:34px;counter-reset:w}
.step{position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;
  padding:26px 24px 24px;box-shadow:0 10px 24px rgba(28,48,74,.04)}
.step .day{font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  color:var(--blue)}
.step h3{margin:10px 0 8px;font-size:21px;letter-spacing:-.03em}
.step p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.55}
@media(max-width:980px){.week{grid-template-columns:1fr}}

/* ═══ The sign-in window ════════════════════════════════════════════════
   The same room as the landing page: the radius, the shadow, the gradient
   button and the brand all carry across, so signing in feels like walking
   through a door rather than arriving somewhere else. */
.scrim{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;
  overflow-y:auto;scrollbar-gutter:stable both-edges;
  background:rgba(13,21,32,.55);backdrop-filter:blur(4px);opacity:0;pointer-events:none;
  transition:opacity .18s ease}
.scrim.open{opacity:1;pointer-events:auto}
/* The window is centred by the scrim's grid; a RESTING transform on the card
   moved it 14px down and shrank it 1.5%, and the class that was supposed to
   clear it on open never took effect — so it sat permanently off-centre.
   An entrance animation cannot leave a residue: it runs once and finishes at
   the element's natural position, whatever the cascade is doing. */
.signin{width:100%;background:#fff;border:1px solid #e6edf5;border-radius:28px;
  padding:34px 32px 30px;box-shadow:0 40px 90px rgba(18,32,53,.28)}
.scrim.open .signin{animation:signinrise .2s cubic-bezier(.2,.7,.2,1)}
/* Opacity only. A transform on this card has now caused two separate bugs —
   it sat uncleared and pushed the window off centre twice — and the entrance
   reads just as well as a fade. Nothing here can leave a residue that moves
   the window, because nothing here moves the window. */
@keyframes signinrise{
  from{opacity:0}
  to{opacity:1}
}

/* Nothing behind the window keeps animating while it is open. Three Ken Burns
   photographs and a drifting ground, each compositing under a backdrop blur,
   is work the reader can feel in the cursor. */
body.signing .hero-photo,
body.signing .side-card img,
body.signing::before{animation-play-state:paused}
.signin .brand{font-size:22px;font-weight:900;letter-spacing:-.05em;display:block}
.signin h3{margin:16px 0 6px;font-size:27px;letter-spacing:-.045em;line-height:1.1}
.signin .sub{font-size:14.5px;margin:0 0 22px}
.field{display:block;margin-bottom:14px}
.field span{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;
  text-transform:uppercase;color:#738191;margin-bottom:7px}
.field input{width:100%;min-height:48px;padding:0 15px;border:1px solid var(--line);
  border-radius:14px;background:var(--soft);font:inherit;font-size:15px;color:var(--ink);
  transition:border-color .2s,box-shadow .2s,background .2s}
.field input:focus{outline:none;border-color:var(--blue);background:#fff;
  box-shadow:0 0 0 4px rgba(43,108,255,.12)}
.signin .btn{width:100%;margin-top:8px}
.signin .foot{margin:18px 0 0;font-size:13px;color:#7a8794;text-align:center}
.signin .foot a{color:var(--blue);font-weight:700}
.closex{position:absolute;top:18px;right:20px;width:34px;height:34px;border-radius:50%;
  border:1px solid var(--line);background:#fff;color:#8592a0;font-size:17px;line-height:1;
  display:grid;place-items:center;cursor:pointer}
.closex:hover{color:var(--ink);border-color:#cfdae8}
.signwrap{position:relative;width:min(430px,100%);margin:auto}

@media (prefers-reduced-motion: reduce){
  *,*:before,*:after{animation:none!important;transition:none!important}
  .rise{opacity:1;transform:none}
}

/* ── the two doors ──────────────────────────────────────────────────────
   Signing in and joining are different acts, so they are different panels
   rather than one form that changes its mind. The third route — a business
   with no invitation at all — is a conversation, not a form, and says so. */
.tabs{display:flex;gap:6px;padding:5px;background:var(--soft);border:1px solid var(--line);
  border-radius:16px;margin:18px 0 20px}
.tab{flex:1;min-height:40px;border:0;border-radius:12px;background:transparent;cursor:pointer;
  font:inherit;font-size:14px;font-weight:800;color:#738191;transition:background .2s,color .2s,box-shadow .2s}
.tab[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 4px 12px rgba(29,49,74,.07)}
.panel[hidden]{display:none}
.hint{margin:0 0 16px;padding:13px 15px;border-radius:14px;background:var(--soft2);
  border:1px solid #dcefe5;font-size:13.5px;line-height:1.5;color:#4d6a5c}
.signin .alt{margin:16px 0 0;padding-top:15px;border-top:1px solid var(--line);
  font-size:13px;color:#7a8794;text-align:center;line-height:1.5}
.signin .alt a{color:var(--blue);font-weight:700}
.forgot{display:block;margin-top:10px;font-size:13px;color:var(--blue);font-weight:700;text-align:right}


/* ── touch targets ──────────────────────────────────────────────────────
   A link that is legible is not necessarily tappable. These four sit at
   15–34px tall, under the 44px a thumb reliably hits, so on a touch screen
   they get the height without the type getting bigger. */
@media (max-width: 640px){
  .closex{width:44px;height:44px;font-size:20px}
  .forgot{min-height:44px;display:flex;align-items:center;justify-content:flex-end;padding:0}
  .signin .alt a,.signin .foot a{display:inline-block;padding:11px 6px;line-height:22px}
  .navin .brand{display:inline-flex;align-items:center;min-height:44px}
  .tab{min-height:46px}
  footer a{display:inline-block;padding:10px 2px}
}

/* An error the reader can actually see. `[hidden]` is only a UA style at
   specificity 0,0,1 — any class rule setting display would silently beat it,
   so the rule is stated here rather than assumed. */
.err{margin:0 0 14px;padding:11px 14px;border-radius:12px;background:#fdeeec;
  border:1px solid #f6cdc6;color:#a3392a;font-size:14px;line-height:1.45}
.err[hidden]{display:none}
#signgo:disabled{opacity:.65;cursor:progress}

/* Both sign-in panels occupy the SAME grid cell, so the window is always the
   height of the taller one and switching tabs cannot resize it. It used to
   jump: the join panel is taller, the scrim centres its child, so changing tab
   changed the height and the whole window moved under the cursor. Crossfading
   in a fixed box is the fix; animating the height would still move the edges. */
.panels{display:grid}
.panels > .panel{grid-area:1 / 1; transition:opacity .2s ease}
.panels > .panel[hidden]{display:block; visibility:hidden; opacity:0; pointer-events:none}

/* The route to the long read sits in the prose, where a reader who has just
   met the eleven modules is most likely to want it — not in the nav, where it
   competed for a click with the sections it introduces. */
.readmore{margin:30px 0 0;font-size:17.5px;line-height:1.6;color:var(--muted);max-width:70ch}
.readmore a{font-weight:800;color:var(--blue);border-bottom:2px solid rgba(43,108,255,.28);
  padding-bottom:1px;transition:border-color .2s,color .2s}
.readmore a:hover{border-bottom-color:var(--blue)}

/* Off-screen photographs stop moving. `will-change` promotes a layer for as
   long as it is set, so leaving it on three full-bleed images permanently
   costs memory on every device for an effect only visible at the top. */
@media (prefers-reduced-motion: no-preference){
  .hero-photo,.side-card img{animation-play-state:running}
}

/* The tab strip is hidden when the reader arrives on a link that has already
   decided which door they are coming through. */
.tabs[hidden]{display:none}
#join-set .field:last-of-type{margin-bottom:16px}
