/* Neural W web system, version 2.
   The motion idea: everything is built from layers, like the mark.
   Things fall into place, flip like a departure board, or tilt back into the stack. */

@property --hw { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --sk { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

:root {
  --white: #FFFFFF;
  --mist: #F3F5FA;
  --mist-2: #E9EDF5;
  --ice: #EEF1FF;
  --ice-2: #DDE3FF;
  --ink: #080B16;
  --ink-2: #262B3A;
  --ink-3: #585E70;
  --ink-4: #8A90A2;
  --night: #05070E;
  --night-2: #0C1020;
  --night-3: #151B31;
  --blue: #0029FF;
  --blue-2: #0022D6;
  --blue-3: #0018A0;
  --blue-4: #4D6BFF;
  --blue-ice: #C9D2FF;
  --lime: #D1FC0C;
  --lime-2: #BCE600;
  --lime-ink: #2C3800;
  --lime-soft: #F1FFC4;
  --coral: #FD4A30;
  --coral-2: #E23A20;
  --coral-soft: #FFE9E5;
  --coral-ink: #9A1C0C;
  --line: rgba(8, 11, 22, .09);
  --line-2: rgba(8, 11, 22, .16);
  --d-text: #F2F4FA;
  --d-text-2: #AEB4C6;
  --d-text-3: #7C8397;
  --d-line: rgba(255, 255, 255, .1);
  --added-bg: #E4FD7C;
  --added-fg: #2C3800;
  --removed-bg: #FFE1DB;
  --removed-fg: #9A1C0C;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --ease-back: cubic-bezier(.3, 1.45, .45, 1);
  --ease-drop: cubic-bezier(.34, 1.56, .5, 1);
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --isoX: 56deg;
  --isoZ: -38deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.site { position: relative; width: 100%; min-height: 100%; background: var(--white); overflow-x: clip; }
.wrap { width: min(1240px, calc(100% - 80px)); margin: 0 auto; position: relative; }
.wide { width: min(1400px, calc(100% - 48px)); margin: 0 auto; position: relative; }

/* ---------- type: Archivo, wide for display, narrow for flaps ---------- */
.mono { font-family: var(--mono); }
.x { font-variation-settings: "wdth" 112; }
.xx { font-variation-settings: "wdth" 125; }
.nx { font-variation-settings: "wdth" 75; }
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.label .sq { width: 18px; height: 12px; position: relative; flex-shrink: 0; }
.label .sq i { position: absolute; left: 0; width: 12px; height: 7px; border-radius: 2px; transform: skewX(-24deg); }
.label .sq i:nth-child(1) { top: 5px; background: var(--blue); }
.label .sq i:nth-child(2) { top: 2.5px; left: 2px; background: var(--lime); }
.label .sq i:nth-child(3) { top: 0; left: 4px; background: var(--coral); }
.display { font-size: clamp(54px, 8vw, 132px); line-height: .9; letter-spacing: -.045em; font-weight: 800; font-variation-settings: "wdth" 110; margin: 0; }
.h2 { font-size: clamp(40px, 5.3vw, 86px); line-height: .94; letter-spacing: -.04em; font-weight: 800; font-variation-settings: "wdth" 108; margin: 0; text-wrap: balance; }
.h3 { font-size: clamp(25px, 2.3vw, 36px); line-height: 1.04; letter-spacing: -.03em; font-weight: 760; font-variation-settings: "wdth" 104; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.32vw, 21px); line-height: 1.52; letter-spacing: -.008em; font-weight: 420; margin: 0; text-wrap: pretty; }
.body { font-size: 15.5px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.muted { color: var(--ink-3); }

/* highlighter: new values are lime, old values are struck in coral, like the product */
.hl { background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-position: 0 88%; background-size: var(--hw) 44%; padding: 0 .05em; margin: 0 -.03em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: --hw 1.1s var(--ease) .35s; }
[data-in] .hl, [data-in].hl, .hl.on { --hw: 100%; }
.hl-b { background-image: linear-gradient(var(--blue), var(--blue)); background-repeat: no-repeat; background-position: 0 96%; background-size: var(--hw) .09em; transition: --hw 1.1s var(--ease) .35s; }
[data-in] .hl-b, .hl-b.on { --hw: 100%; }
.hl-l { color: var(--lime); }
.strike { position: relative; white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: -.04em; top: 54%; height: .09em; width: calc(var(--sk) + .08em); background: var(--coral); border-radius: .05em; transform: rotate(-2deg); transition: --sk .6s var(--ease) .4s; }
[data-in] .strike, .strike.on { --sk: 100%; }
.mk-old { background: var(--removed-bg); color: var(--removed-fg); border-radius: 4px; padding: 0 .22em; text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.mk-new { background: var(--added-bg); color: var(--added-fg); border-radius: 4px; padding: 0 .22em; font-weight: 650; }

/* ---------- buttons: a face sitting on its own layers ---------- */
.btn { position: relative; display: inline-flex; height: 54px; font-size: 15px; font-weight: 650; letter-spacing: -.005em; white-space: nowrap; isolation: isolate; cursor: pointer; }
.btn::before, .btn::after { content: ""; position: absolute; inset: 0; border-radius: 15px; z-index: 0; transition: transform .45s var(--ease-back); }
.btn::before { background: var(--lime); transform: translate(3px, 3px); }
.btn::after { background: var(--coral); transform: translate(6px, 6px); z-index: -1; }
.btn .face { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 100%; width: 100%; padding: 0 24px; border-radius: 15px; background: var(--blue); color: #fff; transition: transform .45s var(--ease-back), background-color .3s ease; }
.btn .arr { width: 18px; height: 18px; display: grid; place-items: center; transition: transform .5s var(--ease); }
.btn:hover .face { transform: translate(-3px, -3px); }
.btn:hover::before { transform: translate(4px, 4px); }
.btn:hover::after { transform: translate(9px, 9px); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active .face { transform: translate(2px, 2px); transition-duration: .12s; }
.btn:active::before { transform: translate(2px, 2px); transition-duration: .12s; }
.btn:active::after { transform: translate(3px, 3px); transition-duration: .12s; }
.btn-ink .face { background: var(--ink); }
.btn-ink::before { background: var(--blue); }
.btn-ink::after { background: var(--lime); }
.btn-lime .face { background: var(--lime); color: var(--ink); }
.btn-lime::before { background: var(--ink); }
.btn-lime::after { background: var(--blue); }
.btn-white .face { background: #fff; color: var(--ink); }
.btn-white::before { background: var(--lime); }
.btn-white::after { background: var(--coral); }
.btn-flat::before, .btn-flat::after { display: none; }
.btn-ghost::before, .btn-ghost::after { display: none; }
.btn-ghost .face { background: transparent; color: var(--ink); box-shadow: 0 0 0 1.5px var(--line-2) inset; }
.btn-ghost:hover .face { transform: none; background: rgba(8,11,22,.04); }
.btn-dghost::before, .btn-dghost::after { display: none; }
.btn-dghost .face { background: rgba(255,255,255,.06); color: var(--d-text); box-shadow: 0 0 0 1.5px rgba(255,255,255,.2) inset; }
.btn-dghost:hover .face { transform: none; background: rgba(255,255,255,.12); }
.btn-sm { height: 40px; font-size: 14px; }
.btn-sm .face { padding: 0 16px; border-radius: 11px; }
.btn-sm::before, .btn-sm::after { border-radius: 11px; }
.btn-sm::before { transform: translate(2px, 2px); }
.btn-sm::after { transform: translate(4px, 4px); }
.btn-sm:hover::before { transform: translate(3px, 3px); }
.btn-sm:hover::after { transform: translate(6px, 6px); }
.btn-sm:hover .face { transform: translate(-2px, -2px); }

/* ---------- nav: a thin bar that takes the colour of the section under it ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 68px; pointer-events: none; }
.nav-in { pointer-events: auto; position: relative; height: 100%; width: min(1320px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .45s ease, background-color .45s ease; pointer-events: none; }
[data-scrolled] .nav::before { opacity: 1; }
.nav-logo { display: flex; align-items: center; height: 58px; flex: 0 0 auto; }
.brand-character { display: block; width: 48px; height: 51px; flex: 0 0 auto; transition: transform .55s var(--ease-back), filter .35s ease; }
.brand-character img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-character .brand-inverse { display: none; }
.brand-word { margin-left: 5px; font-family: "Fredoka", "Archivo", system-ui, sans-serif; font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.055em; color: var(--ink); white-space: nowrap; transition: color .35s ease, transform .55s var(--ease-back); }
.nav-logo:hover .brand-character { transform: translateY(-3px) rotate(-6deg); }
.nav-logo:hover .brand-word { transform: translateX(2px); }
.brand-display { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; color: #fff; font-family: "Fredoka", "Archivo", system-ui, sans-serif; font-weight: 700; font-size: clamp(44px, 4.6vw, 68px); letter-spacing: -.055em; white-space: nowrap; }
.brand-display img { display: block; width: clamp(100px, 10vw, 150px); height: auto; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 9px; }
.nav-links a { --pill: var(--lime); --pill-ink: var(--ink); --lean: -2deg; position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 750; line-height: 1.2; white-space: nowrap; color: var(--pill-ink); background: var(--pill); border-radius: 13px 17px 12px 16px; box-shadow: 2px 3px 0 var(--ink); transform: rotate(var(--lean)); transition: transform .3s var(--ease-back), box-shadow .3s ease; }
.nav-links a:nth-child(2) { --pill: var(--blue); --pill-ink: #fff; --lean: 1.5deg; }
.nav-links a:nth-child(3) { --pill: var(--coral); --lean: -1deg; }
.nav-links a:nth-child(4) { --pill: #fff; --lean: 2deg; }
.nav-links a::after { content: ""; position: absolute; left: 10px; top: 4px; width: 15px; height: 3px; background: var(--pill-ink); opacity: .22; border-radius: 99px; }
.nav-links a:hover { color: var(--pill-ink); transform: translateY(-3px) rotate(calc(var(--lean) * -1)); box-shadow: 3px 6px 0 var(--ink); }
.nav-links a:active, .nav-links a[aria-current="page"] { transform: translateY(2px) rotate(0deg); box-shadow: 1px 1px 0 var(--ink); }
.nav-links a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.nav-links a.nav-w { display: inline-flex; align-items: center; font-weight: 750; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-sign { padding: 9px 12px; font-size: 14px; font-weight: 560; color: var(--ink-2); border-radius: 10px; transition: color .35s ease; }
.nav-sign:hover { color: var(--ink); }
.nav-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--pp, 0)); }
/* tones */
[data-tone="dark"] .nav::before { background: rgba(8,11,22,.8); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
[data-tone="blue"] .nav::before { background: rgba(0,34,214,.82); box-shadow: 0 1px 0 rgba(255,255,255,.12); }
[data-tone="lime"] .nav::before { background: rgba(209,252,12,.86); box-shadow: 0 1px 0 rgba(8,11,22,.1); }
[data-tone="dark"] .nav-sign, [data-tone="blue"] .nav-sign { color: rgba(255,255,255,.78); }
[data-tone="dark"] .nav-links a, [data-tone="blue"] .nav-links a { color: var(--pill-ink); border-color: rgba(255,255,255,.75); }
[data-tone="dark"] .nav-links a:focus-visible, [data-tone="blue"] .nav-links a:focus-visible { outline-color: var(--lime); }
[data-tone="dark"] .nav-logo .brand-word, [data-tone="blue"] .nav-logo .brand-word { color: #fff; }
[data-tone="blue"] .nav-logo .brand-standard { display: none; }
[data-tone="blue"] .nav-logo .brand-inverse { display: block; }
[data-tone="blue"] .nav-prog { background: var(--lime); }
[data-tone="dark"] .nav-prog { background: var(--lime); }
[data-tone="blue"] .nav .btn .face { background: #fff; color: var(--blue-2); }
[data-tone="blue"] .nav .btn::before { background: var(--lime); }
[data-tone="blue"] .nav .btn::after { background: var(--ink); }
[data-tone="lime"] .nav .btn .face { background: var(--ink); color: var(--lime); }
[data-tone="lime"] .nav .btn::before { background: var(--blue); }
[data-tone="lime"] .nav .btn::after { background: #fff; }

/* ---------- arrivals: things fall into place ---------- */
[data-js] .drop { opacity: 0; translate: 0 -34px; rotate: var(--dr, -2.5deg); }
[data-js] [data-in] .drop, [data-js] .drop[data-in] { opacity: 1; translate: 0 0; rotate: 0deg; transition: opacity .35s ease, translate .9s var(--ease-drop), rotate .9s var(--ease-drop); transition-delay: calc(var(--d, 0) * 80ms); }
[data-js] .rise { opacity: 0; translate: 0 26px; }
[data-js] [data-in] .rise, [data-js] .rise[data-in] { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
/* headline lines slide up out of a mask */
.lines .ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.lines .ln > span { display: inline-block; }
[data-js] .lines .ln > span { translate: 0 108%; rotate: 3deg; transform-origin: 0 100%; }
[data-js] .lines[data-in] .ln > span, [data-js] [data-in] .lines .ln > span { translate: 0 0; rotate: 0deg; transition: translate 1.05s var(--ease), rotate 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + var(--d, 0) * 80ms); }
/* flaps fall down onto their hinge */
[data-js] .flipin { transform-origin: 50% 0; transform: perspective(900px) rotateX(-92deg); opacity: 0; }
[data-js] [data-in] .flipin, [data-js] .flipin[data-in] { transform: none; opacity: 1; transition: transform .8s var(--ease-drop), opacity .2s ease; transition-delay: calc(var(--d, 0) * 70ms); }

/* ---------- split flap ---------- */
.flap { display: inline-flex; gap: var(--fgap, .05em); vertical-align: middle; font-family: var(--sans); font-weight: 800; font-variation-settings: "wdth" 72; line-height: 1; --fbg: #151A2C; --ffg: #FFFFFF; --fr: .1em; }
.fc { position: relative; display: inline-block; width: var(--fw, .7em); height: var(--fh, 1.22em); perspective: 3.2em; border-radius: var(--fr); box-shadow: 0 .04em 0 rgba(0,0,0,.35), 0 .12em .2em -.08em rgba(0,0,0,.45); }
.fc > i { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: var(--fbg); color: var(--ffg); font-style: normal; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.fc > i::before { content: attr(data-c); position: absolute; left: 0; right: 0; height: 200%; display: grid; place-items: center; white-space: pre; }
.fc .ft, .fc .fu { top: 0; border-radius: var(--fr) var(--fr) 0 0; }
.fc .ft::before, .fc .fu::before { top: 0; }
.fc .fb, .fc .fd { bottom: 0; border-radius: 0 0 var(--fr) var(--fr); }
.fc .fb::before, .fc .fd::before { top: -100%; }
.fc .ft, .fc .fu { background-image: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 70%); }
.fc .fb, .fc .fd { background-image: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0) 40%); }
.fc .fu { z-index: 2; transform-origin: 50% 100%; }
.fc .fd { z-index: 2; transform-origin: 50% 0; transform: rotateX(90deg); }
.fc::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(1px, .03em); background: rgba(0,0,0,.42); z-index: 3; }
.fc.go .fu { animation: fuA var(--fd, 120ms) ease-in forwards; }
.fc.go .fd { animation: fdA var(--fd, 120ms) ease-out forwards; }
.fc.go2 .fu { animation: fuB var(--fd, 120ms) ease-in forwards; }
.fc.go2 .fd { animation: fdB var(--fd, 120ms) ease-out forwards; }
@keyframes fuA { from { transform: rotateX(0deg); filter: brightness(1); } to { transform: rotateX(-90deg); filter: brightness(.55); } }
@keyframes fuB { from { transform: rotateX(0deg); filter: brightness(1); } to { transform: rotateX(-90deg); filter: brightness(.55); } }
@keyframes fdA { 0%, 45% { transform: rotateX(90deg); filter: brightness(1.5); } 100% { transform: rotateX(0deg); filter: brightness(1); } }
@keyframes fdB { 0%, 45% { transform: rotateX(90deg); filter: brightness(1.5); } 100% { transform: rotateX(0deg); filter: brightness(1); } }
.flap.lt { --fbg: #FFFFFF; --ffg: var(--ink); }
.flap.lt .fc { box-shadow: 0 0 0 1px var(--line-2), 0 .06em .14em -.06em rgba(8,11,22,.35); }
.flap.lt .fc::after { background: rgba(8,11,22,.14); }
.flap.lm { --ffg: var(--lime); }
.flap.bl { --fbg: var(--blue); --ffg: #fff; }
.flap.cr { --fbg: var(--coral); --ffg: #fff; }
.flap.ic { --fbg: var(--ice); --ffg: var(--blue-2); }
.flap.ic .fc { box-shadow: 0 0 0 1px rgba(0,41,255,.14); }
.flap.ic .fc::after { background: rgba(0,41,255,.16); }

/* ---------- stamps ---------- */
.stamp { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 6px; border: 2.5px solid currentColor; border-radius: 9px; font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); background: rgba(255,255,255,.55); rotate: var(--sr, -7deg); mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.72) 61%, #000 64%), linear-gradient(#000, #000); -webkit-mask-composite: source-in; }
.stamp.ok { color: #1B8A3E; }
.stamp.bl { color: var(--blue); }
.stamp.ink { color: var(--ink); }
[data-js] .stamp.slam { opacity: 0; scale: 2.3; }
[data-js] [data-in] .stamp.slam, [data-js] .stamp.slam.on { animation: slam .55s var(--ease) forwards; animation-delay: var(--sd, .2s); }
@keyframes slam { 0% { opacity: 0; scale: 2.3; } 55% { opacity: 1; scale: .94; } 72% { scale: 1.03; } 100% { opacity: 1; scale: 1; } }

/* ---------- keycaps ---------- */
.keys { display: flex; flex-wrap: wrap; gap: 10px; }
.key { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-width: 92px; height: 64px; padding: 9px 12px 10px; border-radius: 12px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 0 0 1px var(--line-2) inset, 0 5px 0 #D6DAE5, 0 6px 0 1px rgba(8,11,22,.12), 0 14px 22px -12px rgba(8,11,22,.35); transform: translateY(0); transition: transform .14s ease, box-shadow .14s ease, background-color .2s ease; }
.key .k1 { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.key .k2 { font-size: 15px; font-weight: 720; letter-spacing: -.01em; }
.key::after { content: ""; position: absolute; right: 10px; top: 10px; width: 7px; height: 7px; border-radius: 99px; background: #D5D9E3; transition: background-color .2s ease, box-shadow .2s ease; }
.key:hover { transform: translateY(1px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 4px 0 #D6DAE5, 0 5px 0 1px rgba(8,11,22,.12), 0 12px 20px -12px rgba(8,11,22,.35); }
.key:active, .key[aria-pressed="true"] { transform: translateY(5px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 0 0 #D6DAE5, 0 1px 0 1px rgba(8,11,22,.12), 0 4px 10px -8px rgba(8,11,22,.35); }
.key[aria-pressed="true"] { background: #FBFCFF; }
.key[aria-pressed="true"]::after { background: var(--lime); box-shadow: 0 0 0 2px rgba(209,252,12,.35), 0 0 10px rgba(160,200,0,.9); }
.keys.dk .key { background: #1A2034; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 5px 0 #0B0E19, 0 6px 0 1px rgba(0,0,0,.4), 0 14px 22px -12px rgba(0,0,0,.6); }
.keys.dk .key .k1 { color: var(--d-text-3); }
.keys.dk .key:active, .keys.dk .key[aria-pressed="true"] { transform: translateY(5px); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 0 0 #0B0E19, 0 1px 0 1px rgba(0,0,0,.4); background: #222944; }
.keys.dk .key::after { background: #333A52; }
.keys.dk .key[aria-pressed="true"]::after { background: var(--lime); }

/* ---------- section changes ----------
   [data-leave] sticks at its own bottom edge and gets --x as the next section covers it.
   iso: the section tilts back into the mark's isometric angle and shows its layers.
   .seam: the next section opens through a W shaped cut.
   .fwave: a wall of flaps turns the screen to the next colour and spells the next chapter. */
[data-js] [data-leave] { position: sticky; top: min(0px, calc(100vh - var(--h, 100vh))); }
/* iso: only the pinned screen tilts, so it reads as one card lying back onto the stack, with its layers showing */
[data-js] [data-leave="iso"] { background: transparent !important; }
[data-js] [data-leave="iso"] > .pin { transform-origin: 50% 46%; will-change: transform;
  transform: perspective(1900px) translate3d(0, calc(var(--x, 0) * -16vh), 0) rotateX(calc(var(--x, 0) * 50deg)) rotateZ(calc(var(--x, 0) * -22deg)) scale(calc(1 - var(--x, 0) * .46));
  border-radius: calc(var(--x, 0) * 34px);
  box-shadow: 0 calc(var(--x, 0) * 12px) 0 var(--l1, var(--lime)), 0 calc(var(--x, 0) * 24px) 0 var(--l2, var(--coral)), 0 calc(var(--x, 0) * 36px) 0 var(--l3, var(--ink)), 0 calc(var(--x, 0) * 120px) 90px -30px rgba(8,11,22,calc(var(--x, 0) * .45)); }
[data-js] [data-leave][data-gone] { visibility: hidden; }
[data-js] [data-leave="fall"] { transform-origin: 50% 100%; transform: perspective(1800px) rotateX(calc(var(--x, 0) * -12deg)) translate3d(0, calc(var(--x, 0) * 10vh), 0) scale(calc(1 - var(--x, 0) * .08)); filter: brightness(calc(1 - var(--x, 0) * .3)); }
.cover { position: relative; z-index: 2; }
.cover.soft { border-radius: 36px 36px 0 0; box-shadow: 0 -30px 70px -40px rgba(5,7,14,.5); }
[data-js] .seam { --k: calc(1 - var(--e, 1)); --dp: calc(var(--k) * 58vh); clip-path: polygon(0 0, 22% var(--dp), 50% calc(var(--dp) * .38), 78% var(--dp), 100% 0, 100% 100%, 0 100%); }
[data-js] .seam > .seam-edge { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--dp) + 14px); z-index: 60; pointer-events: none; background: var(--coral); clip-path: polygon(0 0, 22% var(--dp), 50% calc(var(--dp) * .38), 78% var(--dp), 100% 0, 100% 14px, 78% calc(var(--dp) + 14px), 50% calc(var(--dp) * .38 + 14px), 22% calc(var(--dp) + 14px), 0 14px); opacity: calc(clamp(0, var(--k) * 12, 1)); }
[data-js] .seam[data-arrived] { clip-path: none; }
.seam-edge { display: none; }
[data-js] .seam > .seam-edge { display: block; }

/* flap wave chapter card */
.fwave { position: relative; height: 210vh; background: var(--b); }
.fwave .fw-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--a); }
.fwave .fw-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--rows), 1fr); gap: 2px; background: color-mix(in srgb, var(--b) calc(clamp(0, (var(--p, 0) - .12) * 2.4, 1) * 100%), var(--a)); perspective: 1400px; }
.fwave .fw-grid.mb { display: none; }
.fwave .t { position: relative; font-style: normal; transform-style: preserve-3d; --lp: clamp(0, calc((var(--p, 0) * 1.9 - var(--dl)) * 3.4), 1); transform: rotateX(calc(var(--lp) * -180deg)); }
.fwave .t > b, .fwave .t > s { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 4px; }
.fwave .t > b { background: var(--a); }
.fwave .t > s { background: var(--b); transform: rotateX(180deg); display: grid; place-items: center; text-decoration: none; font-weight: 800; font-variation-settings: "wdth" 70; font-size: min(11vh, 9.2vw); line-height: 1; color: var(--c, #fff); }
.fwave .t > s::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0,0,0,.35); }
.fwave .t.ch > s { background: var(--tb, var(--b)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.fwave .fw-cap { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 2; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cc, rgba(255,255,255,.7)); opacity: clamp(0, calc((var(--p, 0) - .55) * 6), 1); white-space: nowrap; }
.fwave .fw-grid::after { content: ""; position: absolute; inset: 0; background: var(--b); opacity: clamp(0, calc((var(--p, 0) - .86) * 8), 1); pointer-events: none; }

/* ---------- iso helpers ---------- */
.iso { transform-style: preserve-3d; transform: rotateX(var(--isoX)) rotateZ(var(--isoZ)); }
.box { position: absolute; transform-style: preserve-3d; }
.box > i { position: absolute; display: block; }

/* ---------- template chips and badges ---------- */
.tchip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 7px; border-radius: 7px; font-size: 12px; font-weight: 650; letter-spacing: -.005em; white-space: nowrap; }
.tchip svg { width: 13px; height: 13px; }
.t-price { background: #EEF1FF; color: #0022D6; }
.t-comp { background: #FFEEEA; color: #B42A15; }
.t-jobs { background: #F1FFC4; color: #4A5C00; }
.t-tend { background: #F1ECFF; color: #5B3FD6; }
.t-grant { background: #E6F8EE; color: #0E7A3D; }
.t-rule { background: #E0F7F3; color: #0B6B5E; }
.t-integ { background: #E4F4FF; color: #075985; }
.t-news { background: #EDEFF3; color: #394053; }
.t-sig { background: #FFE8F4; color: #A3165E; }
.t-docs { background: #E9ECF5; color: #1E2A4A; }
.t-any { background: #F0F2F6; color: #262B3A; }
.imp { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.imp i { width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.imp.hi { background: var(--coral-soft); color: var(--coral-2); }
.imp.md { background: var(--ice); color: var(--blue-2); }
.imp.lo { background: #F0F2F6; color: var(--ink-3); }
.smp { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 10.5px; font-weight: 600; color: var(--ink-3); }
.stat { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.stat.sup { background: var(--ink); color: var(--lime); }
.stat.beta { background: var(--ice); color: var(--blue-2); }
.stat.exp { background: var(--coral-soft); color: var(--coral-2); }

/* ---------- change card: the product's own result ---------- */
.cc { position: relative; background: #fff; border-radius: 18px; padding: 20px 22px 16px; box-shadow: 0 0 0 1px rgba(8,11,22,.08), 0 26px 60px -30px rgba(8,11,22,.4); text-align: left; color: var(--ink); }
.cc.hi::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--coral); }
.cc-h { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.cc-h .ago { margin-left: auto; font-size: 12px; color: var(--ink-4); }
.cc-t { margin: 12px 0 0; font-size: 21px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; font-variation-settings: "wdth" 104; text-wrap: balance; }
.cc-s { margin-top: 5px; font-size: 12.5px; color: var(--ink-3); }
.cc-f { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--mist); box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; gap: 9px; }
.cc-f .fh { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.fr { display: grid; grid-template-columns: minmax(84px, 118px) auto auto auto 1fr; align-items: center; gap: 8px; font-size: 13px; }
.fr .fl { color: var(--ink-3); font-size: 12.5px; }
.fr .fo { font-family: var(--mono); font-size: 12.5px; background: var(--removed-bg); color: var(--removed-fg); padding: 2px 6px; border-radius: 5px; text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 1.5px; white-space: nowrap; }
.fr .fa { color: var(--ink-4); font-size: 13px; }
.fr .fn { font-family: var(--mono); font-size: 12.5px; font-weight: 700; background: var(--added-bg); color: var(--added-fg); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.fr .fd { justify-self: start; font-family: var(--mono); font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 99px; background: #E7F7EC; color: #0E7A3D; }
.fr .fd.up { background: var(--coral-soft); color: var(--coral-2); }
.fr .fd.nd { background: #F0F2F6; color: var(--ink-3); }
.cc-sum { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.cc-ai { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed rgba(0,41,255,.32); background: rgba(238,241,255,.45); }
.cc-ai .ah { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); }
.cc-ai p { margin: 7px 0 0; font-size: 13.2px; line-height: 1.5; color: var(--ink-2); }
.cc-ai p.act { font-weight: 650; color: var(--ink); display: flex; gap: 7px; }
.cc-ft { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.cc-ft .vp { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 9px; background: var(--ice); color: var(--blue-2); }
.cc-ft .src { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; color: var(--ink-3); }

/* ---------- browser frame ---------- */
.bf { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(8,11,22,.09), 0 40px 80px -40px rgba(8,11,22,.5); }
.bf-bar { height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #FAFBFD; }
.bf-bar .dots { display: flex; gap: 6px; }
.bf-bar .dots i { width: 10px; height: 10px; border-radius: 99px; background: #E2E5EC; }
.bf-url { flex: 1; min-width: 0; height: 24px; border-radius: 7px; background: #F0F2F6; display: flex; align-items: center; gap: 7px; padding: 0 10px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-url svg { width: 11px; height: 11px; flex-shrink: 0; }

/* ---------- url box ---------- */
.urlbox { position: relative; display: flex; align-items: center; gap: 10px; width: min(620px, 100%); height: 68px; padding: 7px 14px 7px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1.5px var(--ink), 6px 6px 0 var(--ink); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.urlbox:focus-within { box-shadow: 0 0 0 2px var(--blue), 6px 6px 0 var(--blue); transform: translate(-1px, -1px); }
.urlbox .ub-ic { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.urlbox .ub-f { position: relative; flex: 1; min-width: 0; height: 100%; }
.urlbox input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; font-weight: 500; color: var(--ink); }
.urlbox .ub-ph { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--ink-4); pointer-events: none; white-space: nowrap; overflow: hidden; transition: opacity .25s ease; }
.urlbox input:not(:placeholder-shown) + .ub-ph { opacity: 0; }
.urlbox .rot { position: relative; display: inline-block; height: 1.3em; overflow: hidden; color: var(--ink-2); font-family: var(--mono); font-size: 14.5px; }
.urlbox .rot span { display: block; height: 1.3em; line-height: 1.3em; animation: rot 11s var(--ease-io) infinite; }
@keyframes rot { 0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-100%); } 40%, 56% { transform: translateY(-200%); } 60%, 76% { transform: translateY(-300%); } 80%, 96% { transform: translateY(-400%); } 100% { transform: translateY(-500%); } }
.urlbox .btn { height: 50px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-3); }
.ticks span { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 15px; height: 15px; color: var(--blue); }

/* ---------- misc shared ---------- */
.pill { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 13px 0 11px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pill .pd { width: 8px; height: 8px; border-radius: 99px; background: var(--coral); box-shadow: 0 0 0 3px rgba(253,74,48,.18); }
.kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line-2) inset, 0 1px 0 var(--line-2); font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 12px; background: var(--mist); box-shadow: 0 0 0 1px var(--line) inset; }
.seg button { position: relative; z-index: 1; height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13px; font-weight: 650; color: var(--ink-3); transition: color .35s ease, background-color .3s ease, box-shadow .3s ease; }
.seg button[aria-pressed="true"] { color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 3px 0 rgba(8,11,22,.1); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 3; background: var(--ink); color: var(--d-text-2); padding: 110px 0 0; overflow: hidden; }
.foot .fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.foot .flogo { display: flex; align-items: center; color: var(--d-text); }
.foot .flogo .brand-character { width: 56px; height: 59px; }
.foot .flogo .brand-word { color: #fff; font-size: 32px; }
.foot h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--d-text-3); }
.foot .fcol a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--d-text-2); transition: color .3s ease, transform .4s var(--ease); }
.foot .fcol a:hover { color: var(--lime); transform: translateX(4px); }
.foot .fcol .contact-pending { margin: 6px 0 12px; max-width: 240px; font-size: 14px; line-height: 1.5; color: var(--d-text-3); }
.foot .fbase { margin-top: 70px; padding: 22px 0; border-top: 1px solid var(--d-line); display: flex; justify-content: space-between; gap: 30px; font-size: 12.5px; color: var(--d-text-3); }
.foot .bands { position: relative; height: 64px; margin-top: 30px; }
.foot .bands i { position: absolute; left: 0; right: 0; transform-origin: 0 50%; transform: scaleX(clamp(0, calc((var(--p, 1) - var(--k) * .07 - .2) * 3.2), 1)); }
.foot .bands i:nth-child(1) { top: 0; height: 6px; background: var(--coral); --k: 0; }
.foot .bands i:nth-child(2) { top: 12px; height: 16px; background: var(--lime); --k: 1; }
.foot .bands i:nth-child(3) { top: 34px; height: 24px; background: var(--blue); --k: 2; }
.foot .bands i:nth-child(4) { display: none; }
.foot .giant { position: relative; margin-top: 8px; color: #fff; }
.foot .giant .gw { display: block; width: max-content; max-width: 100%; margin-left: -.02em; padding: .08em .02em 0; white-space: nowrap; font-size: clamp(54px, 15vw, 210px); line-height: .9; font-weight: 900; letter-spacing: -.09em; font-variation-settings: "wdth" 108; translate: 0 calc((1 - clamp(0, calc((var(--p, 1) - .45) * 2.4), 1)) * 60%); }
.foot .giant-clip { overflow: hidden; }
/* A slow band of brand colour travels left to right, with short white glints. */
@supports (background-clip: text) {
  .foot .giant .gw { color: transparent; background-image: linear-gradient(90deg, #fff 0%, #fff 18%, var(--blue) 25%, #fff 29%, var(--lime) 35%, #fff 39%, var(--coral) 45%, #fff 51%, #fff 100%); background-size: 300% 100%; background-clip: text; -webkit-background-clip: text; animation: footerSignal 8s linear infinite; }
}
@keyframes footerSignal { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.foot .flegal { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot .flegal a:hover { color: var(--lime); }
.foot .flegal .contact-pending { color: var(--d-text-3); }
.demo-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.demo-controls button { border: 1px solid currentColor; border-radius: 99px; padding: 7px 12px; font-size: 12px; font-weight: 650; color: inherit; background: transparent; }
.demo-controls button:hover { color: var(--blue); background: #fff; }
.demo-controls button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.demo-track { display: block; width: 100%; height: 3px; background: rgba(128,138,162,.25); border-radius: 99px; margin-top: 7px; overflow: hidden; }
.demo-track i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.lim2 .demo-track i { background: var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { gap: 6px; }
  .nav-links a { padding: 9px 10px; font-size: 12px; }
  .foot .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { height: 110px; }
  .nav-in { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 54px 44px; column-gap: 10px; row-gap: 0; align-content: start; }
  .nav-logo { grid-column: 1; grid-row: 1; }
  .nav-right { grid-column: 2; grid-row: 1; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 6px; }
  .nav-links a { padding: 8px 10px; font-size: 12px; flex: 1 1 auto; }
  .nav::before { opacity: 1; }
  .site .ef > .pin, .site .eh > .pin, .site .ring-s > .pin, .site .vault > .pin { padding-top: 122px; }
  .site .noise > .pin, .site .facts > .pin { padding-top: 122px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .wide { width: calc(100% - 28px); }
  .nav { height: 106px; }
  .nav-in { width: calc(100% - 28px); gap: 8px; }
  .nav-sign { display: none; }
  .nav-logo { height: 46px; }
  .nav-logo .brand-character { width: 37px; height: 40px; }
  .nav-logo .brand-word { font-size: 21px; margin-left: 3px; }
  .brand-display { gap: 9px; font-size: clamp(38px, 9vw, 54px); }
  .brand-display img { width: 92px; }
  .nav-links a.nav-w { font-size: 12px; padding: 8px 10px; }
  .btn { height: 50px; }
  .btn-sm { height: 38px; font-size: 13px; }
  .urlbox { height: auto; flex-wrap: wrap; padding: 12px; }
  .urlbox .ub-f { height: 44px; flex-basis: calc(100% - 30px); }
  .urlbox .btn { width: 100%; }
  .foot .fgrid { grid-template-columns: 1fr; gap: 28px; }
  .foot .fbase { flex-direction: column; }
  .fr { grid-template-columns: minmax(70px, 90px) auto auto auto; }
  .fr .fd { display: none; }
  .fwave { height: 170vh; }
  .fwave .fw-grid.dk { display: none; }
  .fwave .fw-grid.mb { display: grid; }
  .fwave .t > s { font-size: min(9vh, 11vw); }
}
@media (max-width: 350px) { .nav-links a, .nav-links a.nav-w { padding: 8px 6px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-js] .drop, [data-js] .rise, [data-js] .flipin, [data-js] .lines .ln > span { opacity: 1 !important; translate: none !important; rotate: none !important; transform: none !important; }
  [data-js] .seam { clip-path: none; }
  [data-js] [data-leave="iso"] > .pin, [data-js] [data-leave="fall"] { transform: none; filter: none; box-shadow: none; }
  [data-js] .stamp.slam { opacity: 1; scale: 1; }
  .foot .giant .gw { color: #fff; background: none; }
}
