/* the two faces used only inside the phones, to show the apps as they are designed. Served from this site (SIL Open Font Licence 1.1). */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/bricolage-grotesque-700.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/geist-latin-var.woff2) format("woff2"); }
/* The Oktane: one sans, Apple-quiet. Layout and motion after Mercury; colours are The Oktane's.
   No italics on the website. Emphasis is a second, quieter tone of the same type. */
:root {
  --paper: #E9E2D5;
  --tile: #DED6C7;
  --ink: #1C1B19;
  --mute: #5F584F;
  --line: rgba(28, 27, 25, 0.12);
  --room: #141210;
  --on-room: #EDE7DC;
  --on-mute: #A39B90;
  --ox: #7A2E22;
  --ox-hi: #8E3628;
  --ember: #B4553F;
  --moss: #2F4A3F;       /* the third colour: a deep green, the learning app's family */
  --sage: #8FA99A;
  --dusk: #241E1A;       /* the base of the moving background */
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gut: max(24px, env(safe-area-inset-left));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
em, i { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
.wrap { width: min(1200px, 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
a.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
.mute { color: var(--mute); }
.dark .mute { color: var(--on-mute); }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--ox); margin-bottom: 20px; }
.dark .eyebrow { color: #E39A86; }
.h1 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 400; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.9vw, 54px); font-weight: 400; line-height: 1.06; letter-spacing: -0.028em; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--mute); max-width: 36ch; text-wrap: pretty; }

/* buttons and the sign-up form */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ox); color: #fff; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.2s ease, transform 0.16s var(--ease); }
.btn:hover { background: var(--ox-hi); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.ghost:hover { background: rgba(127, 127, 127, 0.12); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.join { display: flex; gap: 8px; width: min(440px, 100%); }
.join input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border-radius: 999px; font: 400 16px var(--sans); color: inherit; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); }
.join input::placeholder { color: var(--mute); }
.join .btn { height: 48px; }
.fine { font-size: 13px; color: var(--mute); margin-top: 14px; }

/* header: glass that matches the section beneath */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; gap: 32px; padding: 0 max(24px, env(safe-area-inset-right)) 0 var(--gut); color: #fff; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.bar.t-room { background: rgba(20, 18, 16, 0.72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.bar.t-paper { background: rgba(233, 226, 213, 0.82); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.mark { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
.sun { width: 28px; height: 17px; fill: currentColor; }
.sun circle { fill: var(--ox); } /* the brand mark: oxblood sun, horizon in the text colour */
.bar nav { display: flex; gap: 28px; margin-left: auto; }
.bar nav a { font-size: 14px; text-decoration: none; opacity: 0.82; transition: opacity 0.2s ease; }
.bar nav a:hover, .bar nav a[aria-current] { opacity: 1; }
.bar { transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.45s var(--ease); }
.bar.hide { transform: translateY(-110%); }



/* ---------- the moving background: slow fields of oxblood, deep green, sand and ember on dusk ---------- */
.mesh { position: absolute; inset: 0; overflow: hidden; background: var(--dusk); pointer-events: none; }
.mesh i { position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%; will-change: transform; animation: m1 28s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { left: -22vmax; top: -30vmax; background: radial-gradient(circle, rgba(122, 46, 34, 0.9), rgba(122, 46, 34, 0) 62%); }
.mesh i:nth-child(2) { right: -28vmax; top: -18vmax; background: radial-gradient(circle, rgba(47, 74, 63, 0.95), rgba(47, 74, 63, 0) 62%); animation-name: m2; animation-duration: 34s; }
.mesh i:nth-child(3) { left: 8vmax; bottom: -46vmax; background: radial-gradient(circle, rgba(196, 176, 146, 0.42), rgba(196, 176, 146, 0) 60%); animation-name: m3; animation-duration: 31s; }
.mesh i:nth-child(4) { right: -6vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(180, 85, 63, 0.55), rgba(180, 85, 63, 0) 60%); animation-name: m4; animation-duration: 38s; }
.mesh i:nth-child(5) { left: 30vmax; top: -6vmax; width: 60vmax; height: 60vmax; background: radial-gradient(circle, rgba(143, 169, 154, 0.3), rgba(143, 169, 154, 0) 60%); animation-name: m5; animation-duration: 42s; }
.mesh::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 35%, rgba(20, 18, 16, 0) 40%, rgba(20, 18, 16, 0.45)); }
/* slow, wandering paths: each field drifts, turns a little and breathes in shape; nothing hurries */
@keyframes m1 { 0% { transform: translate3d(0, 0, 0) scale(1, 1) rotate(0deg); } 33% { transform: translate3d(9vmax, 6vmax, 0) scale(1.12, 0.94) rotate(8deg); } 66% { transform: translate3d(4vmax, 13vmax, 0) scale(0.96, 1.1) rotate(-6deg); } 100% { transform: translate3d(14vmax, 8vmax, 0) scale(1.15, 1.04) rotate(4deg); } }
@keyframes m2 { 0% { transform: translate3d(0, 0, 0) scale(1, 1) rotate(0deg); } 30% { transform: translate3d(-8vmax, 9vmax, 0) scale(0.92, 1.1) rotate(-7deg); } 70% { transform: translate3d(-14vmax, 4vmax, 0) scale(1.1, 0.96) rotate(5deg); } 100% { transform: translate3d(-10vmax, 14vmax, 0) scale(1.06, 1.12) rotate(-3deg); } }
@keyframes m3 { 0% { transform: translate3d(0, 0, 0) scale(1, 1); } 40% { transform: translate3d(12vmax, -8vmax, 0) scale(1.18, 1.02); } 75% { transform: translate3d(5vmax, -14vmax, 0) scale(1.04, 1.2); } 100% { transform: translate3d(16vmax, -10vmax, 0) scale(1.2, 1.1); } }
@keyframes m4 { 0% { transform: translate3d(0, 0, 0) scale(1, 1) rotate(0deg); } 35% { transform: translate3d(-10vmax, -5vmax, 0) scale(0.9, 1.06) rotate(6deg); } 70% { transform: translate3d(-4vmax, -11vmax, 0) scale(1.08, 0.92) rotate(-4deg); } 100% { transform: translate3d(-14vmax, -8vmax, 0) scale(0.94, 1) rotate(3deg); } }
@keyframes m5 { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-8vmax, 10vmax, 0) scale(1.25); } 100% { transform: translate3d(-12vmax, 4vmax, 0) scale(1.1); } }
.mesh i { animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); animation-duration: 24s; }
.mesh i:nth-child(2) { animation-duration: 29s; }
.mesh i:nth-child(3) { animation-duration: 26s; }
.mesh i:nth-child(4) { animation-duration: 33s; }
.mesh i:nth-child(5) { animation-duration: 37s; }
/* candlelight: a very slow sweep of light turning across the fields */
.mesh::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(196, 176, 146, 0) 0deg, rgba(196, 176, 146, 0.16) 40deg, rgba(196, 176, 146, 0) 90deg, rgba(180, 85, 63, 0.12) 160deg, rgba(180, 85, 63, 0) 210deg, rgba(143, 169, 154, 0.12) 280deg, rgba(196, 176, 146, 0) 330deg);
  mix-blend-mode: soft-light; animation: sweep 90s linear infinite; will-change: transform; }
.mesh.mini::before, .mesh-card .mesh::before { width: 300%; height: 300%; margin: -150% 0 0 -150%; }
@keyframes sweep { to { transform: rotate(360deg); } }
/* a warm glow that follows the pointer, softly; on touch screens it wanders by itself */
.mesh .glow { position: absolute; z-index: 1; left: 0; top: 0; width: 56vmax; height: 56vmax; margin: -28vmax 0 0 -28vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(222, 160, 120, 0.22), rgba(180, 85, 63, 0.1) 38%, rgba(180, 85, 63, 0) 66%); mix-blend-mode: screen; transform: translate3d(var(--gx, 50vw), var(--gy, 40vh), 0); will-change: transform; }
/* dust in the light: a few specks rising slowly */
.mesh .mote { position: absolute; z-index: 1; bottom: -4%; width: 3px; height: 3px; border-radius: 50%; background: rgba(236, 222, 196, 0.55); box-shadow: 0 0 6px rgba(236, 222, 196, 0.5); opacity: 0; pointer-events: none; animation: rise var(--d, 22s) linear var(--dl, 0s) infinite; will-change: transform, opacity; }
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: var(--o, 0.6); } 80% { opacity: var(--o, 0.6); } 100% { transform: translate3d(var(--sx, 20px), -110vh, 0); opacity: 0; } }
/* film grain, barely there */
.mesh .grain { position: absolute; z-index: 2; inset: -60px; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite; will-change: transform; }
@keyframes grain { 0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-24px, 14px, 0); } 40% { transform: translate3d(18px, -22px, 0); } 60% { transform: translate3d(-12px, -30px, 0); } 80% { transform: translate3d(28px, 10px, 0); } 100% { transform: translate3d(-6px, 24px, 0); } }
.mesh.paused i, .mesh.paused::before, .mesh.paused .mote, .mesh.paused .grain { animation-play-state: paused; }

/* ---------- opening: the promise, an iPhone half in view; scrolling lifts it and walks through the app ---------- */
.stage { position: relative; height: 640svh; background: var(--dusk); color: #F3EDE3; }
.stage .mesh { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); } /* the colours settle into dusk at the bottom, so the opening hands over without an edge */
.stage .pin { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; } /* the large viewport: Safari's bars come and go, the app still fills the screen */
.hcopy { position: absolute; top: calc(11svh + 44px); left: 0; right: 0; z-index: 2; text-align: center; opacity: var(--hc, 1); transform: translateY(calc((1 - var(--hc, 1)) * -40px)); }
.hcopy.gone { visibility: hidden; }
.hcopy .h1 { font-size: clamp(46px, 7.6vw, 112px); line-height: 0.98; letter-spacing: -0.045em; margin-top: 26px; color: #F6F1E8; }
.hcopy .lede { margin: 22px auto 0; max-width: 40ch; color: rgba(243, 237, 227, 0.72); }
.hcopy .fine { color: rgba(243, 237, 227, 0.66); margin-top: 14px; }
.badge2 { display: inline-flex; max-width: 100%; align-items: center; gap: 9px; padding: 9px 18px 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 15px; font-weight: 500; color: #F6F1E8; }
.badge2 svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.badge2 svg + svg { width: 18px; height: 18px; margin-right: 3px; }
.cta2 { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.pill-form { display: flex; align-items: center; width: min(470px, 100%); height: 58px; padding: 5px 5px 5px 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pill-form input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 400 16px var(--sans); color: #fff; outline: none; }
.pill-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.pill-form:focus-within { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.pill-form .btn { height: 48px; padding: 0 22px; background: #F3EDE3; color: var(--ink); }
.pill-form .btn:hover { background: #fff; }
.btn.glass { height: 58px; padding: 0 28px; background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn.glass:hover { background: rgba(255, 255, 255, 0.16); }

/* the iPhone, at its real proportions; the screen is a real capture of the app */
.device { position: absolute; z-index: 1; left: 50%; top: 0; width: var(--pw); transform: translate3d(-50%, var(--dy, 64svh), 0) scale(var(--ds, 1)); transform-origin: 50% 0; will-change: transform; --pw: min(400px, calc(88svh / 2.106)); }
.iph { position: relative; width: 100%; aspect-ratio: 1000 / 2106; padding: 2.9%; border-radius: 16.5% / 7.8%; background: #050505;
  box-shadow: 0 0 0 1.5px #9A958E, 0 0 0 2.5px #4A4540, 0 0 0 3.5px #1C1A18, inset 0 0 0 1px #2A2724, 0 70px 120px -40px rgba(0, 0, 0, 0.75); }
.hw { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #5C5751, #9A948D); }
.hw.l1 { left: -5px; top: 17%; height: 4%; }
.hw.l2 { left: -5px; top: 24.5%; height: 8%; }
.hw.l3 { left: -5px; top: 34%; height: 8%; }
.hw.r1 { right: -5px; top: 27%; height: 12%; background: linear-gradient(90deg, #9A948D, #5C5751); }
.iscr { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 14% / 6.5%; background: #F6F7F4; }
/* one screen hands over to the next: a soft cross-fade with a small rise, in the direction of the scroll */
.sh { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translate3d(0, 2.5%, 0) scale(0.985); transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); backface-visibility: hidden; }
.sh.on { opacity: 1; transform: none; z-index: 1; }
.sh.past { transform: translate3d(0, -2.5%, 0) scale(0.985); }
.caps { position: absolute; z-index: 2; left: max(var(--gut), calc(50% - 600px)); top: 50%; width: min(330px, 26vw); height: 180px; margin-top: -90px; opacity: var(--fc, 0); }
.cp { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.5s var(--ease); }
.cp.on { opacity: 1; transform: none; transition-delay: 0.1s; }
.cp span { font-size: 13px; color: rgba(243, 237, 227, 0.5); font-variant-numeric: tabular-nums; }
.cp span small { font-size: inherit; opacity: 0.6; }
.cp b { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; color: #fff; margin-top: 10px; }
.cp em { display: block; font-size: 17px; line-height: 1.45; color: rgba(243, 237, 227, 0.7); margin-top: 10px; }
.steps5 { position: absolute; z-index: 2; right: max(var(--gut), calc(50% - 600px)); top: 50%; transform: translateY(-50%); list-style: none; display: flex; flex-direction: column; gap: 4px; opacity: var(--fc, 0); }
.steps5 button { appearance: none; border: 0; background: none; padding: 8px 0 8px 18px; font: 400 15px var(--sans); color: rgba(243, 237, 227, 0.45); cursor: pointer; text-align: left; position: relative; transition: color 0.3s ease; }
.steps5 button::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: currentColor; opacity: 0.5; transition: transform 0.4s var(--ease), background-color 0.3s ease, opacity 0.3s ease; }
.steps5 li.on button { color: #fff; }
.steps5 li.on button::before { background: var(--ember); opacity: 1; transform: scale(1.4); }
.fade-dark { height: 240px; background: linear-gradient(180deg, var(--dusk) 0%, #3B2D26 22%, #6E5A4C 48%, #B09D8A 74%, #D9CDBC 90%, var(--paper) 100%); } /* warm dusk to paper, never through grey */

/* ---------- iPhone Duo: closed, open like a book, and on phones turned upright ---------- */
.duo { padding: 60px 0 150px; text-align: center; overflow: clip; }
.duo .h2 { margin-inline: auto; }
/* the guest's name and face change every few seconds */
.gcycle { display: inline-flex; align-items: center; gap: 0.18em; vertical-align: baseline; }
.gface { width: 0.86em; height: 0.86em; border-radius: 50%; object-fit: cover; align-self: center; box-shadow: 0 0 0 2px var(--paper); transition: opacity 0.35s ease, transform 0.5s var(--ease); }
.gname { display: inline-block; transition: opacity 0.35s ease, transform 0.5s var(--ease), filter 0.35s ease; }
.gcycle.swap .gname, .gcycle.swap .gface { opacity: 0; transform: translateY(0.25em); filter: blur(4px); }
.duo .lede { margin: 18px auto 0; }
.duobox { position: relative; width: min(860px, 100% - 2 * var(--gut)); margin: 64px auto 0; }
.duofine { margin-top: 28px; }
.fold { position: absolute; left: 50%; top: 50%; width: 600px; height: 417px; margin: -208.5px 0 0 -300px; transform: scale(var(--s, 1)) rotate(var(--r, 0deg)); transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1); perspective: 2400px; --fs: 11.4px; text-align: left; }
.fold.port { --fs: 15px; }
.rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateX(-150px); transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1); }
.fold.open .rig { transform: none; }
.fhalf { position: absolute; top: 0; width: 300px; height: 417px; transform-style: preserve-3d; }
.fhalf.r { left: 299px; width: 301px; transform: translateZ(-3px); background: #0A0A0A; padding: 6px 6px 6px 0; border: 2px solid #8E8984; border-left: 0; border-radius: 0 34px 34px 0; box-shadow: 0 70px 120px -40px rgba(28, 27, 25, 0.55); } /* one pixel of overlap and no ring at the hinge, so no line shows as it opens */
.fold:not(.open) .fhalf.r { visibility: hidden; }
.fhalf.l { left: 0; transform-origin: 100% 50%; transform: rotateY(180deg); transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1); } /* closed, the cover lies over the right half; it opens towards you, like a book */
.fold.open .fhalf.l { transform: rotateY(0deg); }
.face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #0A0A0A; }
.face.front { padding: 6px 0 6px 6px; border: 2px solid #8E8984; border-right: 0; border-radius: 34px 0 0 34px; }
.face.back { transform: rotateY(180deg); padding: 6px; border: 2px solid #8E8984; border-radius: 9px 34px 34px 9px; box-shadow: 0 70px 120px -40px rgba(28, 27, 25, 0.55); }
.face.back::before { content: ""; position: absolute; left: -1px; top: 18%; bottom: 18%; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #5C5751, #9A948D); }
.fscr { position: relative; width: 100%; height: 100%; overflow: hidden; background: #F6F7F4; }
.fhalf.r .fscr { border-radius: 0 27px 27px 0; }
.face.front .fscr { border-radius: 27px 0 0 27px; }
.face.back .fscr { border-radius: 4px 27px 27px 4px; }
.fhalf .inner { position: absolute; top: 0; width: 584px; height: 401px; }
.face.front .inner { left: 0; }
.fhalf.r .inner { left: -291px; }
.flat { position: absolute; left: 8px; top: 8px; width: 584px; height: 401px; border-radius: 27px; overflow: hidden; visibility: hidden; transform: translateZ(3px); }
.fold.done .flat { visibility: visible; }
/* once open, the two halves read as one device: one outer ring, no seam at the hinge */
.fold.done .fhalf .fscr { visibility: hidden; }
/* on phones the open device turns upright: the screen turns with it, then the upright layout
   cross-fades in over the turned screen (which stays until the fade is done), the way an iPhone turns its screen */
.fold.port.done .fhalf .fscr { transition: visibility 0s linear 0.6s; }
.fold.port.done .flat { animation: settle 0.55s cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes settle { from { opacity: 0; filter: blur(4px); transform: translateZ(3px) scale(0.97); } to { opacity: 1; filter: none; transform: translateZ(3px); } }

/* the learning app's practice screen, in Apple's own type */
.flat, .fhalf .inner { --bg: #F6F7F4; --sf: #fff; --sf2: #E3EEE8; --ink: #17201C; --t2: #45514B; --mu: #56625C; --ln: #E1E5E0; --celD: #8DB4A1; --celI: #1F4337; --acc: #2F5E4E;
  background: var(--bg); color: var(--ink); font: 400 var(--fs)/1.38 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--sans); letter-spacing: -0.01em; }
.sb3, .sbp { position: absolute; top: 0; left: 0; right: 0; height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font: 600 10.5px/1 -apple-system, "SF Pro Text", "Helvetica Neue", var(--sans); z-index: 3; }
.sb3 .sbr, .sbp .sbr, .lsb .sbr { width: 40px; height: 7px; }
.sbp { display: none; position: relative; height: 34px; padding: 0 24px; font-size: 14px; }
.sbp .sbr { width: 54px; height: 10px; }
.side { position: absolute; left: 0; top: 0; bottom: 0; width: 208px; background: #EEF3EF; border-right: 1px solid var(--ln); padding: 40px 18px 18px; font-size: 0.92em; }
.side .eb { font-size: 0.7em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); font-weight: 600; }
.side .dsp { font: 700 1.9em/1.02 "Bricolage Grotesque", var(--sans); letter-spacing: -0.02em; margin: 6px 0 8px; }
.side .s { color: var(--t2); line-height: 1.42; }
.side ul { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.side li { display: flex; gap: 8px; }
.side li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 0.5em; border-radius: 50%; background: var(--celD); }
.chatp { position: absolute; left: 208px; top: 0; width: 376px; height: 401px; display: flex; flex-direction: column; background: #fff; }
.chead { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 30px 0 9px; border-bottom: 1px solid #ECEDEA; background: rgba(250, 250, 250, 0.92); }
.chead .av { width: 3.1em; height: 3.1em; border-radius: 50%; overflow: hidden; background: #D9D3C8; margin-bottom: 3px; }
.chead .av img, .lnote .ico img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.chead b { font-weight: 600; font-size: 0.95em; display: flex; align-items: center; gap: 5px; }
.chead .ai { display: inline-flex; align-items: center; gap: 2px; font-style: normal; font-size: 0.62em; font-weight: 600; letter-spacing: 0.04em; color: #8A8F8C; padding: 1px 5px 1px 4px; border-radius: 999px; background: #F0F1EF; }
.chead .ai svg { width: 9px; height: 9px; fill: #8DB4A1; }
.chead small { font-size: 0.72em; color: #8A8F8C; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 8px; }
.msgs::-webkit-scrollbar { display: none; }
.when { align-self: center; font-size: 0.7em; color: #8A8F8C; margin: 2px 0 8px; }
.b { max-width: 76%; padding: 0.5em 0.82em; border-radius: 1.25em; line-height: 1.32; opacity: 0; transform: translateY(8px) scale(0.86); transition: opacity 0.25s ease, transform 0.42s cubic-bezier(0.34, 1.45, 0.64, 1); }
.b.in { opacity: 1; transform: none; }
.b.g { align-self: flex-start; background: #E9E9EB; color: #000; border-bottom-left-radius: 0.4em; transform-origin: 0 100%; }
.b.y { align-self: flex-end; background: var(--acc); color: #fff; border-bottom-right-radius: 0.4em; transform-origin: 100% 100%; }
.b + .b.g, .b.y + .b.y { margin-top: 0; }
.b.g + .b.y, .b.y + .b.g { margin-top: 6px; }
.b.typing { padding: 0.72em 0.9em; display: inline-flex; gap: 4px; }
.b.typing i { width: 0.42em; height: 0.42em; border-radius: 50%; background: #8E8E93; animation: tdot 1.2s ease-in-out infinite; }
.b.typing i:nth-child(2) { animation-delay: 0.16s; }
.b.typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes tdot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.note2 { align-self: center; max-width: 88%; text-align: center; font-size: 0.74em; color: #8A8F8C; margin: 6px 0; opacity: 0; transition: opacity 0.4s ease; }
.note2.in { opacity: 1; }
.sugg { display: flex; flex-direction: column; gap: 5px; padding: 0 12px 6px; }
.sugg button { text-align: left; appearance: none; border: 0; background: #F4F5F3; color: var(--ink); border-radius: 0.9em; padding: 0.5em 0.75em; font: inherit; font-size: 0.88em; line-height: 1.3; cursor: pointer; box-shadow: inset 0 0 0 1px #E6E8E5; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.4s var(--ease), background-color 0.2s ease; }
.sugg button.in { opacity: 1; transform: none; }
.sugg button:hover { background: #ECEFEC; }
.sugg button:active { transform: scale(0.98); }
.sugg.out button { opacity: 0; transform: translateY(6px); }
.composer { display: flex; align-items: center; gap: 6px; padding: 6px 10px 12px; }
.cfield { flex: 1; min-height: 2.1em; display: flex; align-items: center; padding: 0.3em 0.85em; border-radius: 999px; box-shadow: inset 0 0 0 1px #DADCD8; color: #A0A4A1; font-size: 0.92em; line-height: 1.25; }
.cfield.typed { color: var(--ink); }
.send { width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; background: #D8DCD9; color: #fff; flex: none; transition: background-color 0.2s ease, transform 0.2s var(--ease); }
.send svg { width: 1.1em; height: 1.1em; }
.send.ready { background: var(--acc); }
.send.press { transform: scale(0.88); }
.verdict { align-self: stretch; margin: 8px 2px 4px; border-radius: 1em; background: var(--sf2); padding: 0.8em 0.95em; opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.verdict.in { opacity: 1; transform: none; }
.verdict .k { font-size: 0.66em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); font-weight: 600; }
.verdict .rows { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 8px; font-size: 0.86em; }
.verdict .rows span { display: flex; align-items: center; gap: 6px; }
.verdict .pips { display: inline-flex; gap: 3px; }
.verdict .pips i { width: 0.42em; height: 0.42em; border-radius: 50%; background: #CBD8D0; }
.verdict .pips i.f { background: var(--acc); }
.verdict q { display: block; font-size: 0.86em; line-height: 1.38; color: var(--celI); margin: 3px 0 8px; quotes: "“" "”"; }
.verdict .again { appearance: none; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 0.8em/1 -apple-system, "SF Pro Text", var(--sans); padding: 0.62em 1.1em; cursor: pointer; }
.verdict .vbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.verdict .again.next { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(28, 27, 25, 0.22); }
/* upright, on phones: the chat takes the whole inner screen, turned to stand straight */
.fold.port .side, .fold.port .sb3 { display: none; }
.fold.port .chatp { left: 91.5px; top: -91.5px; width: 401px; height: 584px; transform: rotate(-90deg); }
.fold.port .sbp { display: flex; }
.fold.port .chead { padding-top: 6px; }
/* the lock screen on the outer display */
.lock { background: radial-gradient(120% 80% at 30% 10%, #C7DCD1, #8FB3A2 55%, #4E7565); color: #fff; text-align: center; }
.lsb { position: absolute; top: 0; left: 0; right: 0; height: 26px; display: flex; align-items: center; justify-content: flex-end; padding: 0 18px; }
.lock .cam { position: absolute; right: 16px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.3); }
.lock .lsb { padding-right: 36px; }
.ldate { margin-top: 44px; font: 600 12px/1 -apple-system, "SF Pro Display", var(--sans); opacity: 0.9; }
.ltime { font: 700 76px/1 -apple-system, "SF Pro Rounded", "SF Pro Display", var(--sans); letter-spacing: -0.02em; margin-top: 4px; }
.lnote { position: absolute; left: 10px; right: 10px; top: 182px; display: flex; gap: 9px; align-items: center; text-align: left; padding: 10px 11px; border-radius: 18px; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #111; font: 400 11px/1.3 -apple-system, "SF Pro Text", var(--sans); opacity: 0; transform: translateY(-10px) scale(0.96); transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1); }
.lnote.in { opacity: 1; transform: none; }
.lnote .ico { position: relative; width: 32px; height: 32px; flex: none; }
.lnote .ico::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid #fff; background: #A9C9B9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M7 19.5a8 8 0 0 1 16 0z' fill='%23fff' stroke='%2317201C' stroke-width='1.3'/%3E%3Ccircle cx='15' cy='10.4' r='1.4' fill='%2317201C'/%3E%3Cpath d='M5.5 20h19' stroke='%23B4372A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / cover; }
.lnote b { display: flex; justify-content: space-between; font-weight: 600; }
.lnote b span { font-weight: 400; color: #6B6B70; }
.lnote em { font-style: normal; display: block; margin-top: 1px; }
.lbtns { position: absolute; left: 22px; right: 22px; bottom: 26px; display: flex; justify-content: space-between; }
.lbtns i { width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, 0.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lock::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 34%; height: 4px; margin-left: -17%; border-radius: 999px; background: #fff; opacity: 0.9; }

/* dark sections are entered and left through a slow fade, never a hard edge */
.dark { background: var(--room); color: var(--on-room); }
.prin.dark { position: relative; padding: 220px 0; }
.prin.dark::before, .prin.dark::after { content: ""; position: absolute; left: 0; right: 0; height: 180px; pointer-events: none; }
.prin.dark::before { top: 0; background: linear-gradient(180deg, var(--paper) 0%, #D3C6B4 14%, #A28F7C 36%, #5E4C40 62%, #2A211C 84%, rgba(20, 18, 16, 0) 100%); }
.prin.dark::after { bottom: 0; background: linear-gradient(0deg, var(--paper) 0%, #D3C6B4 14%, #A28F7C 36%, #5E4C40 62%, #2A211C 84%, rgba(20, 18, 16, 0) 100%); }
.prin.dark .wrap { position: relative; z-index: 1; }

/* ---------- for teams: serious and plain, entered and left through a slow fade ---------- */
.teams2 { position: relative; background: var(--room); color: var(--on-room); padding: 220px 0 230px; }
.teams2::before, .teams2::after { content: ""; position: absolute; left: 0; right: 0; height: 200px; pointer-events: none; }
.teams2::before { top: 0; background: linear-gradient(180deg, var(--paper) 0%, #D3C6B4 14%, #A28F7C 36%, #5E4C40 62%, #2A211C 84%, rgba(20, 18, 16, 0) 100%); }
.teams2::after { bottom: 0; background: linear-gradient(0deg, var(--paper) 0%, #D3C6B4 14%, #A28F7C 36%, #5E4C40 62%, #2A211C 84%, rgba(20, 18, 16, 0) 100%); }
.teams2 .wrap { position: relative; z-index: 1; }
.teams2 .eyebrow { color: #E39A86; display: flex; align-items: center; gap: 12px; }
.tag { font-size: 12px; font-weight: 500; color: var(--on-mute); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.thead { max-width: 760px; }
.thead .h2 { color: #fff; font-size: clamp(34px, 4.4vw, 62px); }
.thead .lede { color: var(--on-mute); margin-top: 22px; max-width: 52ch; }
.tctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.teams2 .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); }
.dashbox { position: relative; margin-top: 72px; overflow: hidden; border-radius: 16px; } /* the dashboard is drawn wide and scaled down; never let its full width widen the page */
.dash { position: absolute; top: 0; left: 0; width: var(--dw, 1100px); transform: scale(var(--dk, 1)); transform-origin: 0 0; border-radius: 16px; overflow: hidden; background: #1E1B18; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 60px 120px -40px rgba(0, 0, 0, 0.8);
  --bg: #F6F7F4; --sf: #fff; --sf2: #E3EEE8; --ink: #17201C; --t2: #45514B; --mu: #56625C; --ln: #E1E5E0; --celD: #8DB4A1; --celI: #1F4337; --acc: #2F5E4E; font: 400 14px/1.4 "Geist", var(--sans); }
.dbar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; color: var(--on-mute); font-size: 12px; }
.dbar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3632; }
.dbar span { margin-left: 12px; }
.dbody { display: grid; grid-template-columns: 200px 1fr; background: var(--bg); color: var(--ink); }
.dside { display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; border-right: 1px solid var(--ln); background: #EEF3EF; }
.dside b { font-weight: 500; font-size: 14px; padding: 9px 12px; border-radius: 10px; color: var(--t2); }
.dside b.on { background: var(--sf); color: var(--ink); box-shadow: 0 0 0 1px var(--ln); }
.dmain { padding: 24px 28px 28px; }
.dtop { display: flex; justify-content: space-between; align-items: flex-end; }
.dtop .eb { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc); font-weight: 600; }
.dtop .dsp { font: 700 28px/1.05 "Bricolage Grotesque", var(--sans); letter-spacing: -0.02em; margin-top: 4px; }
.sample { font-size: 11px; color: var(--mu); padding: 4px 10px; border-radius: 999px; background: var(--sf2); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.kpis div { background: var(--sf); border: 1px solid var(--ln); border-radius: 14px; padding: 14px 16px; }
.kpis span { display: block; font-size: 12px; color: var(--mu); }
.kpis b { display: block; font: 700 26px/1.1 "Bricolage Grotesque", var(--sans); letter-spacing: -0.02em; margin-top: 6px; }
.kpis b small { font: 400 13px "Geist", var(--sans); color: var(--mu); }
.kpis i { display: block; height: 4px; border-radius: 2px; margin-top: 12px; background: linear-gradient(90deg, var(--celD) var(--w), var(--ln) var(--w)); }
.dtable { margin-top: 16px; background: var(--sf); border: 1px solid var(--ln); border-radius: 14px; overflow: hidden; }
.dtable p { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; padding: 12px 16px; border-top: 1px solid var(--ln); font-size: 14px; }
.dtable p.th { border-top: 0; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mu); background: #FAFBF9; }
.dtable .s-ok { color: var(--acc); font-weight: 500; }
.dtable .s-due { color: #8E6A2E; font-weight: 500; }
.dash.compact .dbody { grid-template-columns: 1fr; }
.dash.compact .dside { display: none; }
.dash.compact .kpis { grid-template-columns: 1fr 1fr; }
.dash.compact .dtable p { grid-template-columns: 1fr 1fr; }
.dash.compact .dtable p span:nth-child(2) { display: none; }
.dash.compact .dtable p span:last-child { text-align: right; }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 96px; }
.cols4 div { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; }
.cols4 svg { width: 26px; height: 26px; fill: none; stroke: #E39A86; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.cols4 h3 { font-size: 17px; font-weight: 500; color: #fff; }
.cols4 p { font-size: 15px; color: var(--on-mute); margin-top: 6px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.steps li { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 26px 24px 28px; }
.steps span { font-size: 13px; color: #E39A86; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 20px; font-weight: 500; color: #fff; margin-top: 18px; letter-spacing: -0.01em; }
.steps p { font-size: 15px; color: var(--on-mute); margin-top: 6px; }


/* ---------- the line of roles (Mercury's logo strip) ---------- */
.serve { padding: 100px 0 30px; text-align: center; }
.serve p { font-size: 15px; color: var(--mute); }
.marquee { overflow: hidden; margin-top: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; animation: slide 70s linear infinite; }
.marquee span { font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; color: var(--ox); padding-right: 0.8em; white-space: nowrap; }
.marquee span::after { content: "·"; padding-left: 0.8em; color: rgba(122, 46, 34, 0.35); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- feature tiles ---------- */
.feats { padding: 110px 0 140px; }
.feats .h2 { max-width: 19ch; margin-bottom: 56px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 20px; }
.tile .vis { position: relative; aspect-ratio: 16 / 11; border-radius: 18px; background: var(--tile); overflow: hidden; display: grid; place-items: center; }
.tile h3 { font-size: 17px; font-weight: 500; margin-top: 18px; letter-spacing: -0.01em; }
.tile p { font-size: 16px; color: var(--mute); margin-top: 4px; max-width: 46ch; }
.frag { background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(28, 27, 25, 0.35), 0 0 0 1px rgba(28, 27, 25, 0.05); padding: 20px 22px; width: min(76%, 360px); transition: transform 0.9s var(--ease); }
.tile:hover .frag { transform: translateY(-4px); }
.ready { display: flex; align-items: center; gap: 16px; }
.ring { width: 64px; height: 64px; flex: none; }
.ready b { display: block; font: 700 22px/1.1 "Bricolage Grotesque", var(--sans); letter-spacing: -0.02em; color: #17201C; }
.ready span { font: 400 13px "Geist", var(--sans); color: #56625C; }
.ph-word { font: 700 30px/1.05 "Bricolage Grotesque", var(--sans); letter-spacing: -0.03em; color: #17201C; }
.ph-say { display: inline-block; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: #E3EEE8; color: #1F4337; font: 500 15px "Geist", var(--sans); }
.q { font: 500 15px/1.4 "Geist", var(--sans); color: #17201C; margin-bottom: 12px; }
.qo { display: flex; justify-content: space-between; align-items: center; border: 1px solid #E1E5E0; border-radius: 12px; padding: 9px 12px; font: 400 13px "Geist", var(--sans); color: #45514B; margin-top: 6px; }
.qo.ok { border-color: #8DB4A1; background: #E3EEE8; color: #1F4337; font-weight: 500; }
.qo.ok::after { content: "✓"; }
.chk { display: flex; align-items: center; gap: 12px; }
.chk .seal { width: 40px; height: 40px; border-radius: 50%; background: #2F5E4E; color: #fff; display: grid; place-items: center; flex: none; font-size: 17px; }
.chk b { display: block; font: 600 15px "Geist", var(--sans); color: #17201C; }
.chk span { font: 400 12.5px "Geist", var(--sans); color: #56625C; }
.frag .rule { height: 1px; background: #E1E5E0; margin: 14px 0; }
.frag .eb2 { font: 600 10px "Geist", var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #2F5E4E; }
.frag .t { font: 700 20px/1.1 "Bricolage Grotesque", var(--sans); letter-spacing: -0.02em; color: #17201C; margin-top: 4px; }


/* ---------- closing ---------- */
.end { padding: 150px 0 0; text-align: center; }
.end .h1 { max-width: 15ch; margin-inline: auto; }
.end .lede { margin: 24px auto 36px; }
.end .join { margin-inline: auto; }
.end .wide { margin-top: 96px; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; }
.end .wide img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--by, 0)) scale(1.1); }

/* ---------- footer ---------- */
.foot { padding: 96px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot .grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.foot h4 { margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { color: var(--mute); text-decoration: none; transition: color 0.2s ease; }
.foot ul a:hover { color: var(--ink); }
.foot .tag { color: var(--mute); margin-top: 14px; max-width: 30ch; }
.foot .legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; color: var(--mute); font-size: 13px; }

/* ---------- about ---------- */
.ahead { padding: 190px 0 100px; }
.ahead .lede { margin-top: 28px; max-width: 44ch; }
.founder { padding: 0 0 150px; }
.founder .grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.founder figure { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tile); }
.founder figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder .name { font-size: clamp(36px, 4.4vw, 60px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.02; }
.founder .role { font-size: 17px; color: var(--mute); margin-top: 12px; }
.founder .bio { font-size: 19px; line-height: 1.55; margin-top: 36px; max-width: 34ch; text-wrap: pretty; }
.founder .links { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }
.pillars { padding: 0 0 150px; }
.pillars .h2 { margin-bottom: 48px; max-width: 16ch; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.three .pic { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.three img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.three figure:hover img { transform: scale(1.03); }
.three h3 { font-size: 17px; font-weight: 500; margin-top: 18px; }
.three p { font-size: 16px; color: var(--mute); margin-top: 4px; }
.prin { padding: 140px 0; }
.prin .h2 { max-width: 20ch; color: #fff; }
.prin ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; margin-top: 72px; counter-reset: p; }
.prin li { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px; counter-increment: p; }
.prin li::before { content: counter(p, decimal-leading-zero); display: block; font-size: 13px; color: var(--on-mute); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.prin h3 { font-size: 17px; font-weight: 500; color: #fff; }
.prin p { font-size: 15px; color: var(--on-mute); margin-top: 6px; }

/* reveal */
.js [data-r] { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.js [data-r="2"] { transition-delay: 0.08s; }
.js [data-r="3"] { transition-delay: 0.16s; }
.js [data-r].in { opacity: 1; transform: none; }


/* the four boxes sit on the same moving background, a little smaller */
.tile .vis { background: var(--dusk); }
.mesh.mini i { width: 120%; height: 120%; }
.mesh.mini i:nth-child(1) { left: -40%; top: -50%; }
.mesh.mini i:nth-child(2) { right: -50%; top: -30%; }
.mesh.mini i:nth-child(3) { left: -10%; bottom: -70%; }
.tile .frag { position: relative; z-index: 1; }

/* the closing panel, on the moving background */
.end { padding: 120px 0 140px; }
.endcard { position: relative; overflow: hidden; border-radius: 28px; min-height: 520px; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 96px 24px; color: #F3EDE3; }
.endcard .ec { position: relative; z-index: 1; width: 100%; }
.endcard .h1 { color: #F6F1E8; max-width: 15ch; margin-inline: auto; font-size: clamp(38px, 5.6vw, 80px); }
.endcard .lede { color: rgba(243, 237, 227, 0.72); margin: 22px auto 34px; }
.endcard .pill-form { margin-inline: auto; }
.endcard .fine { color: rgba(243, 237, 227, 0.66); }
.endcard .btn { background: #F3EDE3; color: var(--ink); }
/* about: Miles, Moments, Machines on the moving background, each in its own light */
.mesh-card { position: relative; display: flex; align-items: flex-end; padding: 22px; color: #fff; }
.mesh-card b { position: relative; z-index: 1; font-size: 28px; font-weight: 400; letter-spacing: -0.02em; }
.mesh-card .mesh i { width: 150%; height: 150%; }
.mesh-card .mesh i:nth-child(1) { left: -55%; top: -60%; }
.mesh-card .mesh i:nth-child(2) { right: -60%; top: -40%; left: auto; }
.mesh-card .mesh i:nth-child(3) { left: -20%; bottom: -80%; top: auto; }
.mesh-card .mesh i:nth-child(4) { right: -40%; bottom: -70%; top: auto; left: auto; }
.mesh-card .mesh i:nth-child(5) { left: 10%; top: -10%; width: 110%; height: 110%; }
.t-miles .mesh { background: #1F2A26; }
.t-moments .mesh { background: #2A1714; }
.t-machines .mesh { background: #1E1B18; }
.t-miles .mesh i:nth-child(1) { background: radial-gradient(circle, rgba(143, 169, 154, 0.6), transparent 60%); }
.t-moments .mesh i:nth-child(2) { background: radial-gradient(circle, rgba(180, 85, 63, 0.7), transparent 60%); }
.t-machines .mesh i:nth-child(2) { background: radial-gradient(circle, rgba(196, 176, 146, 0.45), transparent 60%); }
.three figure p { font-size: 16px; color: var(--mute); margin-top: 14px; }
/* footer: dark, reached through a slow fade */
.foot { background: linear-gradient(180deg, var(--paper) 0px, #D3C6B4 26px, #A28F7C 66px, #5E4C40 112px, #2A211C 152px, var(--room) 180px); color: var(--on-room); padding-top: 220px; }
.foot .grid { border-bottom-color: rgba(255, 255, 255, 0.12); }
.foot ul a, .foot .tag, .foot .legal { color: var(--on-mute); }
.foot .tag { box-shadow: none; padding: 0; border-radius: 0; font-size: 14px; font-weight: 400; }
.foot ul a:hover { color: #fff; }

/* ---------- small screens ---------- */
@media (max-width: 899px) {
  .bar { gap: 16px; height: 56px; }
  .bar nav { display: none; }
  .bar .btn { margin-left: auto; }
  /* the caption sits under the iPhone: step, name and one line */
  .caps { left: var(--gut); right: var(--gut); top: auto; bottom: calc(env(safe-area-inset-bottom) + 18px); width: auto; height: 108px; margin: 0; }
  .cp { inset: 0; text-align: center; transform: translateY(6px); }
  .cp span { display: block; font-size: 12px; letter-spacing: 0.02em; }
  .cp b { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-top: 6px; }
  .cp em { font-size: 14.5px; line-height: 1.4; max-width: 34ch; margin: 5px auto 0; }
  .fade-dark { height: 180px; }
  .steps5 { display: none; }
  .tiles { grid-template-columns: 1fr; gap: 40px; }
  .tile .vis { aspect-ratio: 4 / 3.2; }
  .feats { padding: 96px 0; }
  .teams2 { padding: 170px 0 180px; }
  .dashbox { margin-top: 48px; }
  .cols4 { grid-template-columns: 1fr 1fr; gap: 32px 20px; margin-top: 64px; }
  .steps { grid-template-columns: 1fr; margin-top: 48px; }
  .end { padding: 80px 0 100px; }
  .endcard { min-height: 0; padding: 72px 20px; border-radius: 24px; }
  .foot .grid { grid-template-columns: 1fr 1fr; }
  .foot .grid > div:first-child { grid-column: 1 / -1; }
  .foot .legal { flex-direction: column; }
  .ahead { padding: 130px 0 64px; }
  .founder .grid, .three { grid-template-columns: 1fr; }
  .founder, .pillars { padding-bottom: 96px; }
  .three { gap: 36px; }
  .three .pic { aspect-ratio: 4 / 3; }
  .prin ol { grid-template-columns: 1fr 1fr; gap: 32px 20px; margin-top: 56px; }
  .prin.dark { padding: 170px 0; }
  .duo { padding: 40px 0 110px; }
  .duobox { margin-top: 40px; }
}
@media (max-width: 699px) {
  .device { --pw: min(300px, 74vw); }
  .hcopy { top: calc(9svh + 40px); }
}
@media (max-width: 599px) {
  .badge2 .nm2 { display: none; }
  .hcopy .fine { display: none; }
  .hcopy .lede { font-size: 17px; margin-top: 18px; }
  .hcopy .h1 { margin-top: 22px; }
  .cta2 { gap: 14px; margin-top: 30px; }
  .cta2 .btn.glass { height: auto; padding: 4px 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 15px; color: rgba(243, 237, 227, 0.85); }
  .cta2 .btn.glass::after { content: " \2192"; }
  .cta2 { flex-direction: column; align-items: stretch; }
  .pill-form { width: 100%; }
  .pill-form .btn { padding: 0 16px; }
  .btn.glass { height: 50px; }
}
@media (max-width: 420px) {
  .bar .nm { display: none; }
  .cols4, .prin ol { grid-template-columns: 1fr; }
  .badge2 { font-size: 13px; padding: 8px 14px 8px 12px; }
  .pill-form { padding-left: 18px; }
  .pill-form .btn { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mesh i, .mesh::before, .mesh .mote, .mesh .grain { animation: none; }
  .mesh .mote, .mesh .glow { display: none; }
  .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee span:nth-child(n + 13) { display: none; }
  .b.typing i { animation: none; }
  .js [data-r] { opacity: 1; transform: none; transition: none; }
  .sh, .cp, .frag, .rig, .fhalf.l, .fold, .b, .sugg button, .verdict, .lnote { transition: none; }
}
@media (max-width: 340px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .bar { padding-inline: 16px; gap: 10px; }
  .mark { font-size: 15px; }
  .hcopy .h1 { font-size: 40px; }
  .badge2 { font-size: 12px; }
  .tile .vis .frag { width: 88%; padding: 16px; }
  .ph-word { font-size: 24px; }
}

/* About: a small line figure in each box, white, moving gently */
.mesh-card .fig { position: absolute; z-index: 1; left: 50%; top: 44%; width: 38%; max-width: 150px; transform: translate(-50%, -50%); fill: none; stroke: rgba(255, 255, 255, 0.82); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.mesh-card .fig .ring { stroke: rgba(255, 255, 255, 0.22); }
.f-miles .path { stroke-dasharray: 2 5; stroke: rgba(255, 255, 255, 0.5); }
.f-miles .hz { stroke: rgba(255, 255, 255, 0.4); }
.f-miles .plane { fill: rgba(255, 255, 255, 0.9); stroke: none; offset-path: path("M18 78 Q60 30 102 50"); offset-rotate: auto; animation: fly 9s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes fly { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.f-moments .flame { fill: #F2C48F; stroke: none; transform-origin: 60px 66px; animation: flicker 2.6s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(242, 196, 143, 0.8)); }
@keyframes flicker { 0%, 100% { transform: scale(1, 1); opacity: 0.95; } 30% { transform: scale(0.92, 1.08) rotate(-3deg); opacity: 1; } 60% { transform: scale(1.05, 0.95) rotate(2deg); opacity: 0.85; } }
.f-machines .dot { fill: #fff; stroke: none; }
.f-machines .hand-m { transform-origin: 60px 60px; animation: tick 60s linear infinite; }
.f-machines .hand-h { transform-origin: 60px 60px; animation: tick 720s linear infinite; }
@keyframes tick { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .f-miles .plane, .f-moments .flame, .f-machines .hand-m, .f-machines .hand-h { animation: none; } .f-miles .plane { offset-distance: 55%; } }

/* ---------- highlights, after Apple: one big card per benefit, swipe or let it play ---------- */
.hl { padding: 60px 0 120px; overflow: hidden; }
.hl-track { list-style: none; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 40px max(var(--gut), calc(50% - 600px)) 6px; scroll-padding-inline: max(var(--gut), calc(50% - 600px)); }
.hl-track::-webkit-scrollbar { display: none; }
.hcard { position: relative; flex: 0 0 min(1000px, 86vw); height: min(640px, 72svh); min-height: 460px; border-radius: 28px; overflow: hidden; scroll-snap-align: start; isolation: isolate; }
.hcard.dark, .hcard.moss { color: #F3EDE3; }
.hcard.moss .mesh { background: #1D2723; }
.hcard.light { background: #DDD5C6; }
.hcard.sage { background: linear-gradient(160deg, #D6E3DB, #B9CFC3); }
.hct { position: relative; z-index: 2; padding: 46px 50px 0; max-width: 560px; }
.hct h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -0.028em; line-height: 1.08; text-wrap: balance; }
.hct p { font-size: 17px; line-height: 1.45; margin-top: 12px; color: var(--mute); max-width: 36ch; }
.dark .hct p, .moss .hct p { color: rgba(243, 237, 227, 0.7); }
.hph { position: absolute; z-index: 2; right: 9%; bottom: -30%; width: min(310px, 34%); transition: transform 1.1s var(--ease); }
.hcard:not(.on) .hph { transform: translateY(24px); }
.hph .iph { box-shadow: 0 0 0 1.5px #9A958E, 0 0 0 2.5px #4A4540, 0 50px 90px -30px rgba(0, 0, 0, 0.6); }
.hph .iscr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hfaces { position: absolute; z-index: 2; left: 50px; bottom: 150px; display: flex; }
.hfaces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #1D2723; margin-left: -14px; }
.hfaces img:first-child { margin-left: 0; }
.hbub { position: absolute; z-index: 2; right: 7%; bottom: 60px; width: min(380px, 46%); display: flex; flex-direction: column; gap: 8px; font: 400 16px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--sans); }
.hbub p { padding: 10px 14px; border-radius: 18px; max-width: 86%; }
.hbub .b1 { align-self: flex-start; background: #E9E9EB; color: #000; border-bottom-left-radius: 6px; }
.hbub .b2 { align-self: flex-end; background: #2F5E4E; color: #fff; border-bottom-right-radius: 6px; }
.hl-ctrl { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }
.hl-dots { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(28, 27, 25, 0.08); }
.hl-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(28, 27, 25, 0.32); overflow: hidden; cursor: pointer; transition: width 0.45s var(--ease), background-color 0.3s ease; }
.hl-dots button.on { width: 44px; background: rgba(28, 27, 25, 0.16); }
.hl-dots button i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--ink); }
.hl-dots button.on i { animation: hlfill 5.5s linear forwards; }
.hl.paused .hl-dots button.on i { animation-play-state: paused; }
@keyframes hlfill { to { width: 100%; } }
.hl-play { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(28, 27, 25, 0.08); display: grid; place-items: center; cursor: pointer; }
.hl-play svg { width: 18px; height: 18px; }
.hl-play .ps { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.hl-play .pl { fill: var(--ink); display: none; }
.hl.stopped .hl-play .ps { display: none; }
.hl.stopped .hl-play .pl { display: inline; }

/* ---------- which is right for you ---------- */
.plans { padding: 120px 0 100px; }
.plans .h2 { text-align: center; margin-inline: auto; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 26px; background: #F1ECE2; box-shadow: inset 0 0 0 1px var(--line); }
.plan.feat { background: var(--dusk); color: #F3EDE3; box-shadow: 0 40px 80px -40px rgba(28, 27, 25, 0.6); }
.ptag { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 500; color: #F2C9B8; padding: 5px 11px; border-radius: 999px; background: rgba(180, 85, 63, 0.28); }
.pname { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.pprice { font-size: 15px; color: var(--mute); margin-top: 6px; }
.pfor { font-size: 16px; line-height: 1.45; margin-top: 18px; min-height: 3em; }
.feat .pprice, .feat .pfor { color: rgba(243, 237, 227, 0.72); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 26px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }
.feat ul { border-top-color: rgba(255, 255, 255, 0.14); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--moss); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat li svg { stroke: #9FC3B1; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.feat .btn { background: #F3EDE3; color: var(--ink); }
.plan .btn.ghost { color: var(--ink); }

/* ---------- questions ---------- */
.faq { padding: 40px 0 140px; }
.fgrid2 { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; letter-spacing: -0.01em; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 100% no-repeat; transition: transform 0.4s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 24px; font-size: 17px; line-height: 1.55; color: var(--mute); max-width: 56ch; }
.qa details p a { color: var(--ox); }

@media (max-width: 899px) {
  .hl { padding: 40px 0 90px; }
  .hcard { flex-basis: 86vw; height: 560px; min-height: 0; border-radius: 24px; }
  .hct { padding: 30px 26px 0; }
  .hph { right: 50%; transform: translateX(50%); width: 58%; bottom: -34%; }
  .hcard:not(.on) .hph { transform: translate(50%, 24px); }
  .hfaces { left: 26px; bottom: 210px; }
  .hfaces img { width: 52px; height: 52px; }
  .hbub { left: 26px; right: 26px; width: auto; bottom: 34px; font-size: 15px; }
  .plans { padding: 90px 0 70px; }
  .pgrid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .fgrid2 { grid-template-columns: 1fr; gap: 20px; }
  .faq { padding: 20px 0 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-dots button.on i { animation: none; width: 100%; }
  .hph { transition: none; }
}

/* the header link for the section in view, like Apple's local nav */
.bar nav a.on { opacity: 1; box-shadow: inset 0 -1.5px 0 currentColor; padding-bottom: 3px; }

/* ---------- numbers that are true today ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--line); }
.nums b { display: block; font-size: clamp(52px, 6vw, 88px); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.nums b small { font-size: 0.38em; letter-spacing: -0.01em; margin-left: 4px; color: var(--mute); }
.nums span { display: block; font-size: 16px; color: var(--mute); margin-top: 12px; max-width: 18ch; }

/* ---------- why The Oktane ---------- */
.why2 { padding: 20px 0 110px; }
.whyg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.why-c { padding: 30px 26px 32px; border-radius: 24px; background: #F1ECE2; box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.why-c:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -36px rgba(28, 27, 25, 0.45); }
.why-c svg { width: 34px; height: 34px; fill: none; stroke: var(--ox); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-c h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; margin-top: 22px; }
.why-c p { font-size: 16px; color: var(--mute); margin-top: 10px; line-height: 1.45; }

@media (max-width: 899px) {
  .nums { grid-template-columns: 1fr 1fr; gap: 32px 20px; margin-top: 64px; }
  .whyg { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .why-c { padding: 24px 20px 26px; }
  .why-c h3 { font-size: 18px; }
}
@media (max-width: 420px) {
  .whyg { grid-template-columns: 1fr; }
}

/* ---------- for teams, bold: big statements, three words, before and after, four steps ---------- */
.tbig { font-size: clamp(48px, 7.6vw, 112px); font-weight: 400; line-height: 0.98; letter-spacing: -0.045em; color: #fff; margin-top: 6px; }
.tbig span, .tmid span { color: var(--on-mute); }
.teams2 .thead { max-width: 980px; }
.teams2 .thead .lede { max-width: 46ch; font-size: clamp(18px, 1.6vw, 22px); margin-top: 28px; }
.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 110px; }
.words div { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.words b { display: block; font-size: clamp(40px, 4.6vw, 68px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.words b { font-size: clamp(40px, 4.6vw, 68px); }
.words p { font-size: 17px; color: var(--on-mute); margin-top: 14px; max-width: 26ch; }
.tmid { font-size: clamp(34px, 4.4vw, 64px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.02; color: #fff; }
.ba { margin-top: 140px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.batable { border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.batable p { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; padding: 18px 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 16px; color: var(--on-room); }
.batable p.bah { border-top: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-mute); padding-top: 20px; padding-bottom: 14px; }
.batable p span:nth-child(2) { color: var(--on-mute); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.batable p.bah span:nth-child(2) { text-decoration: none; }
.batable p span:nth-child(3) { color: #fff; display: flex; gap: 8px; align-items: flex-start; }
.batable svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: none; stroke: #9FC3B1; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow { margin-top: 140px; }
.flow ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.flow li span { display: block; font-size: clamp(56px, 6vw, 92px); font-weight: 400; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45); }
.flow h4 { margin: 18px 0 0; font-size: 22px; font-weight: 500; color: #fff; letter-spacing: -0.015em; }
.flow li p { font-size: 16px; color: var(--on-mute); margin-top: 8px; max-width: 24ch; }
.tend { margin-top: 140px; text-align: center; }
.tend .tctas { justify-content: center; }
@media (max-width: 899px) {
  .words { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .ba { grid-template-columns: 1fr; gap: 28px; margin-top: 96px; }
  .batable p { grid-template-columns: 1fr 1fr; padding: 16px 18px; font-size: 15px; }
  .batable p span:first-child { grid-column: 1 / -1; color: #fff; font-weight: 500; }
  .batable p.bah { display: none; }
  .flow { margin-top: 96px; }
  .flow ol { grid-template-columns: 1fr 1fr; gap: 36px 20px; margin-top: 40px; }
  .tend { margin-top: 96px; }
}

/* ---------- audit, 18 Nov: phone layout (desktop unchanged) ---------- */
.cta2 .btn.glass::after { margin-left: 6px; }
.ph-say { white-space: nowrap; }
@media (max-width: 599px) {
  /* bigger tap areas */
  .cta2 .btn.glass { padding: 12px 4px; }
  .bar .btn.sm { min-height: 40px; }
  .foot ul { gap: 2px; }
  .foot ul a { display: inline-block; padding: 9px 0; }
  .legal a { display: inline-block; padding: 10px 0; }


  /* sections closer together */
  .feats { padding: 64px 0 56px; }
  .plans { padding: 64px 0 40px; }
  .why2 { padding: 8px 0 64px; }
  .faq { padding: 8px 0 72px; }
  .teams2 { padding: 140px 0 150px; }
  .words { margin-top: 56px; gap: 22px; }
  .ba, .flow, .tend { margin-top: 72px; }
  .foot { padding-top: 170px; }

  /* the four feature tiles and the three plans: swipe sideways, the next card peeks in */
  .tiles, .pgrid { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 4px var(--gut) 18px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .tiles::-webkit-scrollbar, .pgrid::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 84%; scroll-snap-align: start; }
  .plan { flex: 0 0 86%; scroll-snap-align: start; }
  .pgrid { margin-top: 32px; }
  .swipe-hint { display: block; margin-top: 4px; font-size: 14px; color: var(--mute); }
  .plans .swipe-hint { text-align: center; margin-top: 10px; }

  /* why The Oktane: two by two, short */
  .whyg { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .why-c { padding: 18px 16px 20px; border-radius: 20px; }
  .why-c svg { width: 28px; height: 28px; }
  .why-c h3 { font-size: 16px; margin-top: 14px; }
  .why-c p { font-size: 14px; margin-top: 6px; }
}
@media (min-width: 600px) { .swipe-hint { display: none; } }

/* ---------- privacy policy and 404, in the site's own design ---------- */
.policy { max-width: 760px; margin: 0 auto; padding: 150px var(--gut) 120px; font-size: 17px; line-height: 1.6; }
.policy__kicker { font-size: 14px; color: var(--mute); }
.policy h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1; letter-spacing: -0.045em; font-weight: 400; margin-top: 14px; }
.policy__rule { height: 1px; background: var(--line); margin: 32px 0; }
.policy__lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--ink); margin-bottom: 28px; }
.policy__summary { margin: 36px 0; padding: 26px 28px; border-radius: 22px; background: #F1ECE2; box-shadow: inset 0 0 0 1px var(--line); }
.policy__summary h2 { margin-top: 0 !important; }
.policy__toc ol { padding-left: 1.3em; columns: 2 16rem; column-gap: 40px; }
.policy__toc li { break-inside: avoid; margin-bottom: 6px; }
.policy h2 { margin: 56px 0 14px; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; scroll-margin-top: 90px; }
.policy h3 { margin: 26px 0 8px; font-size: 18px; font-weight: 600; }
.policy p { margin: 0 0 14px; }
.policy ul, .policy ol { margin: 0 0 14px; padding-left: 1.3em; }
.policy li { margin-bottom: 7px; }
.policy li::marker { color: var(--ox); }
.policy a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(122, 46, 34, 0.5); text-underline-offset: 0.2em; }
.policy .short { color: var(--mute); font-weight: 500; }
.policy table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 15px; }
.policy th, .policy td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy th { font-weight: 600; }
.policy .cats td:last-child, .policy .cats th:last-child { white-space: nowrap; }
.policy td { overflow-wrap: anywhere; }
@media (max-width: 599px) {
  .policy { padding: 112px var(--gut) 80px; font-size: 16px; }
  .policy__summary { padding: 20px; border-radius: 18px; }
  .policy h2 { margin-top: 44px; }
  .policy table { font-size: 14px; }
  .policy th, .policy td { padding: 9px 4px; }
}
.nf { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--dusk); color: #F6F1E8; text-align: center; }
.nf .nfc { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.nf .eyebrow { color: rgba(243, 237, 227, 0.6); }
.nf .h1 { color: #F6F1E8; margin-top: 16px; }
.nf .lede { color: rgba(243, 237, 227, 0.75); margin: 20px auto 0; max-width: 34ch; }
.nfa { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.nf .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); }

/* ---------- the sign-up box: saves the address, then says thank you ---------- */
.pill-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pill-form { position: relative; transition: box-shadow 0.3s ease, background 0.3s ease; }
.pill-form .btn:disabled { cursor: default; }
.pill-form.busy .btn { opacity: 0.75; }
.pill-form.sent { background: rgba(143, 169, 154, 0.22); box-shadow: inset 0 0 0 1.5px rgba(159, 195, 177, 0.6); }
.pill-form.sent .btn { background: #9FC3B1; color: #14291F; opacity: 1; }
.join-msg { min-height: 0; margin-top: 12px; font-size: 15px; line-height: 1.4; color: rgba(243, 237, 227, 0.85); }
.join-msg:empty { display: none; }
.join-msg.ok { color: #CFE3D8; }
.join-msg.err { color: #F2B8A8; }
.cta2 .join-msg { flex-basis: 100%; text-align: center; margin-top: 0; }
.endcard .join-msg { text-align: center; }
.hcopy .fine a, .endcard .fine a { color: inherit; text-underline-offset: 0.2em; }

/* ---------- For teams page (/teams/) ---------- */
.btn.light { background: #F3EDE3; color: var(--ink); }
.btn.light:hover { background: #fff; }
.soft { color: var(--mute); }
.tpage .bar:not(.t-room):not(.t-paper) { color: #F6F1E8; }
.tp-hero { position: relative; overflow: hidden; background: var(--dusk); color: var(--on-room); padding: 168px 0 120px; }
.tp-hero > .wrap { position: relative; z-index: 1; }
.tp-hero .mesh { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.tp-hero .eyebrow { color: #E39A86; display: flex; align-items: center; gap: 12px; }
.tp-h1 { font-size: clamp(46px, 7.2vw, 108px); font-weight: 400; line-height: 0.98; letter-spacing: -0.045em; color: #F6F1E8; max-width: 13ch; }
.tp-h1 span, .tp-h2 span { color: var(--on-mute); }
.tp-hero .lede { color: rgba(243, 237, 227, 0.74); margin-top: 26px; max-width: 44ch; }
.tp-hero .btn.ghost, .tp-mgr .btn.ghost, .endcard .btn.ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); }
.tp-by { margin-top: 18px; font-size: 14px; color: rgba(243, 237, 227, 0.6); }
.tp-dash { margin-top: 80px; border-radius: 18px; }
.dash .ks { display: block; font-size: 12px; color: var(--mu); margin-top: 10px; }
.dgrid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; margin-top: 12px; }
.dcard { background: var(--sf); border: 1px solid var(--ln); border-radius: 14px; padding: 16px 18px 10px; }
.dch { font-size: 12px; color: var(--mu); }
.dcs { font-size: 15px; font-weight: 600; margin-top: 2px; margin-bottom: 6px; }
.db { display: grid; grid-template-columns: 128px 1fr 44px; gap: 12px; align-items: center; padding: 8px 0; font-size: 13.5px; }
.dtr { height: 7px; border-radius: 9px; background: #EEF0EC; overflow: hidden; }
.dtr i { display: block; height: 100%; border-radius: 9px; }
.dtr i.g { background: #3DA673; } .dtr i.a { background: #E3A33B; }
.db b, .dp b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.dash b.g, .mk .g { color: #2E8A5E; } .dash b.a, .mk .a { color: #B7791F; } .mk .r { color: #B5483A; }
.dp { display: flex; align-items: center; gap: 11px; padding: 8px 0; border-top: 1px solid var(--ln); font-size: 14px; }
.dp:first-of-type { border-top: 0; }
.dp > span:nth-child(2) { flex: 1; line-height: 1.25; }
.dp small, .mk small { display: block; font-size: 12px; color: var(--mu); }
.av { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: #fff; }
.dash.compact .dgrid { grid-template-columns: 1fr; }
.dash.compact .kpis .ks { display: none; }

.tp-three { padding: 120px 0 40px; }
.tp-three .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tp-three b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 400; letter-spacing: -0.03em; color: var(--ox); }
.tp-three p { font-size: 17px; color: var(--mute); margin-top: 8px; max-width: 30ch; }

.tp-team { padding: 110px 0 140px; }
.tp-team .h2 { max-width: 20ch; }
.tp-phones { display: flex; justify-content: center; gap: clamp(20px, 4vw, 56px); margin-top: 72px; }
.tp-phones figure { margin: 0; width: min(250px, 28vw); text-align: center; }
.tp-phones .iph { box-shadow: 0 0 0 1.5px #9A958E, 0 0 0 2.5px #4A4540, 0 40px 70px -30px rgba(28, 27, 25, 0.55); }
.tp-phones img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-phones figcaption { font-size: 15px; color: var(--mute); margin-top: 22px; }
.tp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin-top: 110px; }
.tp-grid div { border-top: 1px solid var(--line); padding-top: 22px; }
.tp-grid svg, .tp-more svg { width: 26px; height: 26px; fill: none; stroke: var(--ox); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.tp-more svg { stroke: #E39A86; }
.tp-grid h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.tp-grid p { font-size: 16px; color: var(--mute); margin-top: 6px; max-width: 34ch; }

.tp-mgr { position: relative; background: var(--room); color: var(--on-room); padding: 170px 0 160px; }
.tp-mgr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(180deg, var(--paper), rgba(20, 18, 16, 0)); opacity: 0.08; pointer-events: none; }
.tp-mgr .eyebrow, .tp-steps .eyebrow { color: #E39A86; }
.tp-h2 { font-size: clamp(36px, 4.8vw, 70px); font-weight: 400; letter-spacing: -0.038em; line-height: 1.02; color: #fff; max-width: 18ch; }
.tp-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 140px; }
.tp-row.flip .tp-txt { order: 2; }
.tp-no { font-size: 14px; color: #E39A86; font-variant-numeric: tabular-nums; }
.tp-txt h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.08; color: #fff; margin-top: 14px; }
.tp-txt > p:not(.tp-no) { font-size: 17px; line-height: 1.55; color: var(--on-mute); margin-top: 16px; max-width: 44ch; }
.tp-ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.tp-ticks li { position: relative; padding-left: 28px; font-size: 16px; color: var(--on-room); line-height: 1.45; }
.tp-ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid #9FC3B1; border-bottom: 2px solid #9FC3B1; transform: rotate(-45deg); }
.tp-mock { display: flex; justify-content: center; }
.mk { width: min(100%, 470px); background: #F6F7F4; color: #17201C; border-radius: 22px; padding: 22px 22px 20px; font: 400 14px/1.4 "Geist", var(--sans); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 90px -40px rgba(0, 0, 0, 0.9); --mu: #56625C; --ln: #E1E5E0; }
.mk-h { display: flex; justify-content: space-between; align-items: center; font: 700 22px/1.1 "Bricolage Grotesque", var(--sans); letter-spacing: -0.02em; }
.mk-s { font: 500 11px "Geist", var(--sans); letter-spacing: 0; color: var(--mu); padding: 4px 10px; border-radius: 999px; background: #E3EEE8; }
.mk-sub { font-size: 13px; color: var(--mu); margin-top: 4px; }
.mk-t { margin-top: 16px; background: #fff; border: 1px solid var(--ln); border-radius: 14px; overflow: hidden; }
.mk-t p { display: grid; grid-template-columns: 1.2fr 0.9fr 0.8fr 0.9fr; align-items: center; padding: 10px 14px; border-top: 1px solid var(--ln); font-variant-numeric: tabular-nums; }
.mk-t p.th { border-top: 0; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mu); background: #FAFBF9; }
.mk-t span:not(:first-child) { text-align: right; }
.pill { font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; }
.pill.ok { background: #E1F1E8; color: #23704B; } .pill.mid { background: #FBEFD9; color: #8E5F14; } .pill.low { background: #F8E1DC; color: #9C3A2C; }
.mk-live, .mk-acc, .mk-todo { margin-top: 14px; background: #fff; border: 1px solid var(--ln); border-radius: 14px; padding: 4px 14px; }
.mk-live p, .mk-acc p { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--ln); }
.mk-live p:first-child, .mk-acc p:first-child, .mk-todo p:first-child { border-top: 0; }
.mk-live p > span:nth-child(2) { flex: 1; line-height: 1.25; }
.mk-acc p > span:first-child { flex: 1; line-height: 1.25; }
.mk .clock { font-variant-numeric: tabular-nums; color: #2F5E4E; }
.mk-btn { font-size: 12.5px; font-weight: 500; color: #fff; background: #17201C; padding: 6px 12px; border-radius: 999px; }
.mk-qr { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--mu); }
.mk-qr svg { width: 40px; height: 40px; fill: #17201C; background: #fff; padding: 5px; border-radius: 8px; border: 1px solid var(--ln); }
.sw { width: 38px; height: 22px; border-radius: 99px; background: #D5D9D3; position: relative; flex: none; }
.sw i { position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.sw.on { background: #3DA673; } .sw.on i { left: 18px; }
.mk-h .sw { margin-left: 12px; }
.mk-todo p { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ln); }
.mk-todo p span:last-child { color: var(--mu); text-align: right; }
.mk-msg { margin-top: 14px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #E3EEE8; color: #1F4337; font-size: 13.5px; }
.mk-msg p + p { margin-top: 6px; }
.mk-btns { display: flex; gap: 8px; margin-top: 14px; }
.mk-btns b { font-weight: 500; font-size: 13.5px; padding: 10px 16px; border-radius: 999px; background: #17201C; color: #fff; }
.mk-btns b.ghost { background: transparent; color: #17201C; box-shadow: inset 0 0 0 1px #C9CFC8; }
.tp-more { margin-top: 140px; }

.tp-ba { padding: 150px 0 40px; }
.tp-ba .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.batable.light { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(28, 27, 25, 0.35); }
.batable.light p { color: var(--ink); border-top-color: var(--line); }
.batable.light p.bah { color: var(--mute); }
.batable.light p span:nth-child(2) { color: var(--mute); text-decoration-color: rgba(28, 27, 25, 0.3); }
.batable.light p span:nth-child(3) { color: var(--ink); }
.batable.light svg { stroke: #2E8A5E; }

.tp-priv { padding: 110px 0 140px; }
.tp-privcard { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--tile); }
.tp-privcard .h2 { max-width: 14ch; }
.tp-privcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-self: center; }
.tp-privcard li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--mute); }
.tp-privcard li:first-child { border-top: 0; padding-top: 0; }
.tp-privcard li b { font-weight: 500; color: var(--ink); }
.tp-note { margin-top: 18px; font-size: 14px; color: var(--mute); }

.tp-steps { background: var(--room); color: var(--on-room); padding: 150px 0; }
.tp-steps .steps { grid-template-columns: repeat(4, 1fr); }
.tp-faq { padding-top: 130px; }
.tctas.tc { justify-content: center; }

@media (max-width: 899px) {
  .tp-hero { padding: 128px 0 80px; }
  .tp-dash { margin-top: 56px; }
  .tp-three .wrap, .tp-grid { grid-template-columns: 1fr 1fr; }
  .tp-row, .tp-ba .wrap, .tp-privcard { grid-template-columns: 1fr; }
  .tp-row.flip .tp-txt { order: 0; }
  .tp-row { margin-top: 100px; gap: 36px; }
  .tp-steps .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .tp-hero { padding: 112px 0 64px; }
  .tp-hero .tctas .btn { flex: 1 1 auto; }
  .tp-three { padding: 72px 0 8px; }
  .tp-three .wrap { grid-template-columns: 1fr; gap: 28px; }
  .tp-team { padding: 72px 0 90px; }
  .tp-phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 48px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 8px; gap: 16px; scrollbar-width: none; }
  .tp-phones::-webkit-scrollbar { display: none; }
  .tp-phones figure { flex: none; width: 62vw; scroll-snap-align: center; }
  .tp-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; }
  .tp-mgr { padding: 110px 0 100px; }
  .tp-row { margin-top: 80px; }
  .mk { padding: 18px 16px 16px; border-radius: 18px; }
  .mk-t p { grid-template-columns: 1.1fr 0.8fr 0.7fr 0.9fr; padding: 10px 10px; font-size: 13px; }
  .tp-more { margin-top: 90px; }
  .tp-ba { padding: 90px 0 20px; }
  .tp-ba .wrap { gap: 32px; }
  .batable p { grid-template-columns: 1fr 1fr; padding: 14px 16px; font-size: 15px; }
  .batable p span:first-child { grid-column: 1 / -1; font-weight: 500; }
  .batable p.bah span:first-child { display: none; }
  .tp-priv { padding: 72px 0 90px; }
  .tp-privcard { gap: 28px; border-radius: 22px; }
  .tp-steps { padding: 100px 0; }
  .tp-steps .steps { grid-template-columns: 1fr; }
  .tp-faq { padding-top: 80px; }
}

@media (prefers-reduced-motion: reduce) { .fold.port.done .flat { animation: none; } .fold.port.done .fhalf .fscr { transition: none; } }

/* ---------- colour changes between dark and light sections ----------
   A curve of the section's own dark that melts into the cream through warm browns, with a fine grain
   (the shape of the reference Oktay chose, 19 Nov, in The Oktane's colours: no wine).
   "down" = dark above, cream below. "up" = cream above, dark below. The grain fades out at both edges,
   so the band never shows a line where it meets the plain section. */
:root {
  --grain2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1.8 0 0 0 -0.4 1.8 0 0 0 -0.4 1.8 0 0 0 -0.4 0 0 0 0 0.13'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}
.fade-dark, .teams2::after, .prin.dark::after, .tp-hero::after, .tp-mgr::after, .tp-steps::after {
  background:
    linear-gradient(180deg, rgba(233, 226, 213, 0) 58%, var(--paper) 100%),
    linear-gradient(180deg, var(--txd, var(--room)) 0%, color-mix(in srgb, var(--txd, var(--room)) 80%, transparent) 10%, color-mix(in srgb, var(--txd, var(--room)) 50%, transparent) 22%, color-mix(in srgb, var(--txd, var(--room)) 22%, transparent) 36%, color-mix(in srgb, var(--txd, var(--room)) 6%, transparent) 50%, transparent 60%),
    var(--grain2),
    radial-gradient(ellipse 130% 150% at 50% -18%, var(--tx-stops)),
    var(--paper);
  background-size: auto, auto, 180px 180px, auto, auto;
  background-blend-mode: normal, normal, overlay, normal, normal;
}
.teams2::before, .prin.dark::before, .tp-mgr::before, .tp-steps::before, .foot::before {
  background:
    linear-gradient(0deg, rgba(233, 226, 213, 0) 58%, var(--paper) 100%),
    linear-gradient(0deg, var(--txd, var(--room)) 0%, color-mix(in srgb, var(--txd, var(--room)) 80%, transparent) 10%, color-mix(in srgb, var(--txd, var(--room)) 50%, transparent) 22%, color-mix(in srgb, var(--txd, var(--room)) 22%, transparent) 36%, color-mix(in srgb, var(--txd, var(--room)) 6%, transparent) 50%, transparent 60%),
    var(--grain2),
    radial-gradient(ellipse 130% 150% at 50% 118%, var(--tx-stops)),
    var(--paper);
  background-size: auto, auto, 180px 180px, auto, auto;
  background-blend-mode: normal, normal, overlay, normal, normal;
}
.fade-dark, .teams2::after, .prin.dark::after, .tp-hero::after, .tp-mgr::after, .tp-steps::after,
.teams2::before, .prin.dark::before, .tp-mgr::before, .tp-steps::before, .foot::before {
  --tx-stops: var(--txd, var(--room)) 24%, rgba(42, 33, 28, 0.86) 36%, rgba(62, 50, 42, 0.64) 48%, rgba(94, 76, 64, 0.42) 60%, rgba(138, 120, 104, 0.24) 72%, rgba(186, 172, 154, 0.11) 85%, rgba(233, 226, 213, 0) 100%; }
.fade-dark, .tp-hero::after { --txd: var(--dusk); }
.fade-dark { height: 380px; }
.teams2::before, .teams2::after, .prin.dark::before, .prin.dark::after { height: 360px; }
.teams2 { padding: 370px 0 380px; }
.prin.dark { padding: 370px 0; }

/* For teams page: the hero ends in a curve, the two dark sections open and close with one */
.tp-hero { padding-bottom: 400px; }
.tp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 380px; pointer-events: none; }
.tp-mgr::before { opacity: 1; height: 360px; }
.tp-mgr::after, .tp-steps::before, .tp-steps::after { content: ""; position: absolute; left: 0; right: 0; height: 360px; pointer-events: none; }
.tp-mgr::after, .tp-steps::after { bottom: 0; }
.tp-steps::before { top: 0; }
.tp-mgr { padding: 380px 0 400px; }
.tp-steps { position: relative; padding: 380px 0 390px; }
.tp-mgr .wrap, .tp-steps .wrap { position: relative; z-index: 1; }

/* the footer opens with the same curve */
.foot { position: relative; background: var(--room); padding-top: 350px; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 320px; pointer-events: none; }
.foot .wrap { position: relative; z-index: 1; }

@media (max-width: 599px) {
  /* a gentler, shorter curve on phones */
  .fade-dark { height: 270px; }
  .teams2::before, .teams2::after, .prin.dark::before, .prin.dark::after, .tp-mgr::before, .tp-mgr::after, .tp-steps::before, .tp-steps::after, .tp-hero::after { height: 250px; }
  .foot::before { height: 230px; }
  .fade-dark, .teams2::after, .prin.dark::after, .tp-hero::after, .tp-mgr::after, .tp-steps::after,
  .teams2::before, .prin.dark::before, .tp-mgr::before, .tp-steps::before, .foot::before { --tx-stops: var(--txd, var(--room)) 22%, rgba(42, 33, 28, 0.84) 35%, rgba(62, 50, 42, 0.62) 47%, rgba(94, 76, 64, 0.4) 59%, rgba(138, 120, 104, 0.22) 72%, rgba(186, 172, 154, 0.1) 85%, rgba(233, 226, 213, 0) 100%; }
  .teams2 { padding: 270px 0 280px; }
  .prin.dark { padding: 270px 0; }
  .tp-hero { padding-bottom: 280px; }
  .tp-mgr { padding: 270px 0 280px; }
  .tp-steps { padding: 270px 0 280px; }
  .foot { padding-top: 250px; }
}
/* one pixel past the section edge, so no hairline of the dark background shows at fractional positions */
.teams2::before, .prin.dark::before, .tp-mgr::before, .tp-steps::before, .foot::before { top: -1px; }
.teams2::after, .prin.dark::after, .tp-hero::after, .tp-mgr::after, .tp-steps::after { bottom: -1px; }

/* a sixth colour in the moving background: a deep plum, darker and more violet than any pink,
   so it reads as The Oktane's own (19 Nov). It drifts slowly between the oxblood and the moss. */
.mesh i.m6 { left: 14vmax; top: 6vmax; width: 70vmax; height: 70vmax; background: radial-gradient(circle, rgba(128, 34, 112, 0.95), rgba(128, 34, 112, 0.35) 34%, rgba(128, 34, 112, 0) 62%); animation-name: m6; animation-duration: 36s; }
@keyframes m6 { 0% { transform: translate3d(0, 0, 0) scale(1, 1); } 35% { transform: translate3d(-10vmax, 8vmax, 0) scale(1.14, 0.95); } 70% { transform: translate3d(7vmax, 13vmax, 0) scale(0.94, 1.12); } 100% { transform: translate3d(12vmax, 3vmax, 0) scale(1.06, 1.02); } }
.mesh-card .mesh i.m6 { left: -35%; top: 15%; width: 130%; height: 130%; }

/* ---------- phthalo green: a second accent, for small details only (19 Nov) ----------
   Oxblood stays the main colour (buttons, eyebrows). Phthalo marks the details: numbers, ticks, icons, the plus signs.
   On dark backgrounds a lighter phthalo keeps the contrast. */
:root { --phthalo: #0F4D3A; --phthalo-lt: #5DBB9A; }
::selection { background: var(--phthalo); color: #fff; }
.nums b { color: var(--phthalo); }
.nums b small { color: rgba(15, 77, 58, 0.62); }
.plan li svg, .batable.light svg { stroke: var(--phthalo); }
.feat li svg, .batable svg { stroke: var(--phthalo-lt); }
.batable.light svg { stroke: var(--phthalo); }
.tp-ticks li::before { border-color: var(--phthalo-lt); }
.tp-grid svg { stroke: var(--phthalo); }
.tp-more svg, .cols4 svg { stroke: var(--phthalo-lt); }
.qa summary::after { background: linear-gradient(var(--phthalo), var(--phthalo)) center / 100% 1.6px no-repeat, linear-gradient(var(--phthalo), var(--phthalo)) center / 1.6px 100% no-repeat; }
.swipe-hint { color: var(--phthalo) !important; }

/* ---------- the moving background, refined (19 Nov): one warm family, calmer, a quiet technical layer ----------
   Oxblood, ember, aubergine and plum, lit by champagne. No green in the large fields: warm and cool colours
   mixed into mud where they met. The fields stay behind the content and let the site show itself.
   A very fine grid sits under the colours and fades out towards the edges; dark cards get a thin light edge. */
.mesh { --mb: #1A1412;
  background:
    radial-gradient(ellipse 75% 65% at 50% 42%, rgba(26, 20, 18, 0) 0%, rgba(26, 20, 18, 0.7) 70%, var(--mb) 100%),
    linear-gradient(rgba(243, 237, 227, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(243, 237, 227, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--mb); }
.mesh i:nth-child(1) { background: radial-gradient(circle, rgba(122, 46, 34, 0.72), rgba(122, 46, 34, 0) 62%); }
.mesh i:nth-child(2) { background: radial-gradient(circle, rgba(62, 24, 56, 0.9), rgba(62, 24, 56, 0) 62%); }
.mesh i:nth-child(3) { background: radial-gradient(circle, rgba(201, 172, 132, 0.2), rgba(201, 172, 132, 0) 60%); }
.mesh i:nth-child(4) { background: radial-gradient(circle, rgba(168, 76, 56, 0.4), rgba(168, 76, 56, 0) 60%); }
.mesh i:nth-child(5) { background: radial-gradient(circle, rgba(214, 186, 150, 0.12), rgba(214, 186, 150, 0) 60%); }
.mesh i.m6 { background: radial-gradient(circle, rgba(108, 32, 92, 0.62), rgba(108, 32, 92, 0.2) 34%, rgba(108, 32, 92, 0) 62%); }
.mesh::before { background: conic-gradient(from 0deg, rgba(214, 186, 150, 0) 0deg, rgba(214, 186, 150, 0.12) 40deg, rgba(214, 186, 150, 0) 90deg, rgba(168, 76, 56, 0.08) 170deg, rgba(168, 76, 56, 0) 220deg, rgba(108, 32, 92, 0.08) 290deg, rgba(214, 186, 150, 0) 340deg); }
.mesh .glow { background: radial-gradient(circle, rgba(226, 190, 150, 0.14), rgba(168, 76, 56, 0.06) 38%, rgba(168, 76, 56, 0) 66%); }
/* the dark cards: a thin light edge, like glass in a frame */
.endcard .mesh, .hcard .mesh, .mesh-card .mesh { border-radius: inherit; }
.endcard .mesh::after, .hcard .mesh::after, .mesh-card .mesh::after { border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 244, 228, 0.14), inset 0 0 0 1px rgba(255, 244, 228, 0.06); }
.hcard.moss .mesh, .tp-hero .mesh, .stage .mesh { background:
    radial-gradient(ellipse 75% 65% at 50% 42%, rgba(26, 20, 18, 0) 0%, rgba(26, 20, 18, 0.7) 70%, var(--mb) 100%),
    linear-gradient(rgba(243, 237, 227, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(243, 237, 227, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--mb); }
.hcard.moss .mesh { --mb: #1C1419; }
/* the About cards keep their own themes */
.t-miles .mesh { --mb: #1F2A26; }
.t-moments .mesh { --mb: #2A1714; }
.t-machines .mesh { --mb: #1E1B18; }
.t-miles .mesh i.m6, .t-miles .mesh i:nth-child(2) { opacity: 0; }


/* ---------- the moving background, sharp (19 Nov, final direction) ----------
   Two vivid colours glowing on deep black and nothing else: The Oktane's ember, made bright, and a deep sapphire.
   Where they meet they make a clean plum. No grid, no haze, no dust, no grain, no sweep: the colours do the job. */
:root { --dusk: #0D0B10; --ember-v: 206, 58, 30; --sapph: 38, 62, 176; }
.mesh, .hcard.moss .mesh, .tp-hero .mesh, .stage .mesh { --mb: #0D0B10; background: var(--mb); }
.mesh::before { display: none; }
.mesh::after { background: radial-gradient(130% 100% at 50% 45%, rgba(13, 11, 16, 0) 45%, rgba(13, 11, 16, 0.75) 100%); box-shadow: none; -webkit-mask-image: none; mask-image: none; }
.mesh .glow, .mesh .grain, .mesh .mote { display: none; }
.mesh i:nth-child(1) { left: -24vmax; top: -18vmax; width: 86vmax; height: 86vmax; background: radial-gradient(circle, rgba(var(--ember-v), 0.95) 0%, rgba(var(--ember-v), 0.55) 30%, rgba(var(--ember-v), 0) 64%); }
.mesh i:nth-child(2) { right: -26vmax; top: -12vmax; width: 84vmax; height: 84vmax; background: radial-gradient(circle, rgba(var(--sapph), 0.92) 0%, rgba(var(--sapph), 0.5) 30%, rgba(var(--sapph), 0) 64%); }
.mesh i:nth-child(3) { left: -10vmax; bottom: -50vmax; background: radial-gradient(circle, rgba(120, 20, 26, 0.6), rgba(120, 20, 26, 0) 60%); }
.mesh i:nth-child(4) { right: -8vmax; bottom: -46vmax; background: radial-gradient(circle, rgba(30, 34, 110, 0.55), rgba(30, 34, 110, 0) 60%); }
.mesh i:nth-child(5) { opacity: 0; }
.mesh i.m6 { left: 22vmax; top: 2vmax; width: 60vmax; height: 60vmax; background: radial-gradient(circle, rgba(118, 38, 112, 0.5), rgba(118, 38, 112, 0) 62%); }
/* the small feature tiles: the same two colours, smaller */
.mesh.mini i:nth-child(1) { background: radial-gradient(circle, rgba(var(--ember-v), 0.9), rgba(var(--ember-v), 0) 62%); }
.mesh.mini i:nth-child(2) { background: radial-gradient(circle, rgba(var(--sapph), 0.85), rgba(var(--sapph), 0) 62%); }
/* the About cards keep their own themes, sharpened the same way */
.mesh-card .mesh i:nth-child(n+3), .mesh-card .mesh i.m6 { opacity: 0; }
.t-miles .mesh { background: #0C1512; }
.t-miles .mesh i:nth-child(1) { opacity: 1; background: radial-gradient(circle, rgba(46, 140, 104, 0.85), rgba(46, 140, 104, 0) 62%); }
.t-miles .mesh i:nth-child(2) { opacity: 1; background: radial-gradient(circle, rgba(15, 77, 58, 0.95), rgba(15, 77, 58, 0) 62%); }
.t-moments .mesh { background: #140A0A; }
.t-moments .mesh i:nth-child(1) { background: radial-gradient(circle, rgba(var(--ember-v), 0.9), rgba(var(--ember-v), 0) 62%); }
.t-moments .mesh i:nth-child(2) { background: radial-gradient(circle, rgba(140, 26, 40, 0.9), rgba(140, 26, 40, 0) 62%); }
.t-machines .mesh { background: #0B0C14; }
.t-machines .mesh i:nth-child(1) { background: radial-gradient(circle, rgba(70, 92, 200, 0.85), rgba(70, 92, 200, 0) 62%); }
.t-machines .mesh i:nth-child(2) { background: radial-gradient(circle, rgba(var(--sapph), 0.9), rgba(var(--sapph), 0) 62%); }
/* tall screens: ember up on the left, sapphire lower on the right, so the two stay clear and never blur into one */
@media (orientation: portrait) and (max-width: 899px) {
  .mesh:not(.mini) i:nth-child(1) { left: -75vw; top: -55vw; width: 160vw; height: 160vw; }
  .mesh:not(.mini) i:nth-child(2) { right: -85vw; left: auto; top: 55vw; width: 160vw; height: 160vw; }
  .mesh:not(.mini) i.m6 { left: -5vw; top: 25vw; width: 110vw; height: 110vw; }
  .mesh-card .mesh i:nth-child(1) { left: -55%; top: -60%; width: 150%; height: 150%; }
  .mesh-card .mesh i:nth-child(2) { right: -60%; top: -10%; width: 150%; height: 150%; }
  .hcard .mesh i:nth-child(1) { left: -60%; top: -40%; width: 160%; height: 160%; }
  .hcard .mesh i:nth-child(2) { right: -70%; top: 30%; width: 160%; height: 160%; }
  .hcard .mesh i.m6 { left: -10%; top: 10%; width: 120%; height: 120%; }
}

/* ---------- squircle corners, like Apple's 60% corner smoothing (19 Nov) ----------
   The curve starts further along each side and eases into the corner, so the corners are 1.6 times the old radius.
   Browsers that draw squircles natively (corner-shape) keep their shadows. Others (Safari today) use a squircle
   shape that stretches to fit (img/squircle.svg, a superellipse cut in nine), on buttons and cards without an outer shadow. */
@supports (corner-shape: squircle) {
  .btn, .pill-form, .badge2, .tag, .sample, .ptag, .ph-say, .mk-s, .mk-btn, .mk-btns b,
  .endcard, .hcard, .plan, .why-c, .batable, .tile .vis, .steps li, .three .pic, .founder figure, .end .wide,
  .policy__summary, .dashbox, .dash, .tp-privcard, .mk, .frag, .qo, .kpis div, .dtable, .dcard, .mk-t, .mk-live, .mk-acc, .mk-todo,
  .endcard .mesh, .hcard .mesh, .mesh-card, .mesh-card .mesh, .mesh-card .mesh::after, .endcard .mesh::after, .hcard .mesh::after { corner-shape: squircle; }
  .endcard, .hcard, .tp-privcard { border-radius: 45px; }
  .plan { border-radius: 42px; }
  .why-c, .founder figure, .end .wide { border-radius: 38px; }
  .batable, .policy__summary, .mk { border-radius: 35px; }
  .frag { border-radius: 32px; }
  .tile .vis, .steps li, .three .pic, .tp-dash { border-radius: 29px; }
  .dashbox, .dash { border-radius: 26px; }
  .kpis div, .dtable, .dcard, .mk-t, .mk-live, .mk-acc, .mk-todo { border-radius: 22px; }
  .qo { border-radius: 19px; }
  @media (max-width: 899px) { .endcard, .hcard { border-radius: 38px; } .why-c { border-radius: 32px; } .policy__summary, .mk { border-radius: 29px; } .tp-privcard { border-radius: 35px; } }
}
@supports not (corner-shape: squircle) {
  .btn, .pill-form, .badge2, .tag, .ptag, .sample, .mk-btns b, .mk-btn,
  .endcard, .hcard, .plan:not(.feat), .why-c, .tile .vis, .steps li, .three .pic, .founder figure, .end .wide,
  .policy__summary, .dashbox, .tp-privcard {
    -webkit-mask-box-image: url(/img/squircle.svg?v=2) 40 fill / var(--sq, 40px) stretch; }
  .btn, .pill-form, .badge2, .tag, .ptag, .sample, .mk-btns b, .mk-btn { --sq: 999px; } /* scaled down to half the height: a soft capsule */
  .endcard, .hcard, .tp-privcard { --sq: 45px; }
  .plan { --sq: 42px; }
  .why-c, .founder figure, .end .wide { --sq: 38px; }
  .policy__summary { --sq: 35px; }
  .tile .vis, .steps li, .three .pic { --sq: 29px; }
  .dashbox { --sq: 26px; }
  @media (max-width: 899px) { .endcard, .hcard { --sq: 38px; } .why-c { --sq: 32px; } .policy__summary { --sq: 29px; } .tp-privcard { --sq: 35px; } }
  /* the mask would hide a focus ring drawn outside the button, so draw it inside */
  .btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ember); }
  /* cards with an outer shadow keep a plain curve, a little larger, so they sit well beside the squircles */
  .plan.feat { border-radius: 34px; }
  .batable, .mk { border-radius: 28px; }
  .frag { border-radius: 26px; }
}

/* dark cards: the same deep black under the colours, so no lighter rim shows at the curved corners */
.hcard.dark, .hcard.moss, .endcard, .tp-hero { background-color: #0D0B10; }
.mesh-card.t-miles { background-color: #0C1512; } .mesh-card.t-moments { background-color: #140A0A; } .mesh-card.t-machines { background-color: #0B0C14; }

/* ---------- brand colours, sharp (19 Nov, Oktay's choice) ----------
   Oxblood, glowing, on one side; phthalo green, luminous, on the other; a deep ink blue between them as the balance.
   Oxblood and green never overlap at strength (they would turn brown): the ink and the black sit between them. */
:root { --dusk: #0B0C0D; --ember-v: 158, 34, 32; --sapph: 12, 132, 98; --ink-v: 26, 40, 88; }
.mesh, .hcard.moss .mesh, .tp-hero .mesh, .stage .mesh { --mb: #0B0C0D; }
.mesh i:nth-child(1) { background: radial-gradient(circle, rgba(var(--ember-v), 1) 0%, rgba(var(--ember-v), 0.62) 30%, rgba(var(--ember-v), 0) 60%); }
.mesh i:nth-child(2) { background: radial-gradient(circle, rgba(var(--sapph), 0.98) 0%, rgba(var(--sapph), 0.58) 30%, rgba(var(--sapph), 0) 60%); }
.mesh i:nth-child(3) { background: radial-gradient(circle, rgba(92, 16, 20, 0.6), rgba(92, 16, 20, 0) 58%); }
.mesh i:nth-child(4) { background: radial-gradient(circle, rgba(6, 64, 50, 0.6), rgba(6, 64, 50, 0) 58%); }
.mesh i.m6 { background: radial-gradient(circle, rgba(var(--ink-v), 0.85), rgba(var(--ink-v), 0.35) 34%, rgba(var(--ink-v), 0) 62%); }
.hcard.dark, .hcard.moss, .endcard, .tp-hero { background-color: #0B0C0D; }
/* the About cards: Miles green, Moments oxblood, Machines ink */
.t-machines .mesh i:nth-child(1) { background: radial-gradient(circle, rgba(52, 72, 140, 0.85), rgba(52, 72, 140, 0) 62%); }
.t-machines .mesh i:nth-child(2) { background: radial-gradient(circle, rgba(var(--ink-v), 0.95), rgba(var(--ink-v), 0) 62%); }
.t-moments .mesh i:nth-child(2) { background: radial-gradient(circle, rgba(92, 16, 20, 0.9), rgba(92, 16, 20, 0) 62%); }

/* ---------- calm dark, like the For teams page (19 Nov, final) ----------
   No colour clouds anywhere: the dark sections are one warm black, flat. The words lead. */
:root { --dusk: #161514; }
.stage { background: #161514; }
.mesh, .hcard.moss .mesh, .tp-hero .mesh, .stage .mesh { --mb: #161514; background: var(--mb); -webkit-mask-image: none; mask-image: none; }
.mesh i, .mesh::before, .mesh::after, .mesh .glow, .mesh .grain, .mesh .mote { display: none !important; }
.hcard.dark, .hcard.moss, .endcard, .tp-hero { background-color: #161514; }
.t-miles .mesh { --mb: #13201B; } .t-moments .mesh { --mb: #221413; } .t-machines .mesh { --mb: #141824; }
.hcard .mesh, .endcard .mesh { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); border-radius: inherit; }

/* the opening: an outlined mark, one sentence with words you can swap, the email box, one small line */
.hmark { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 16px; border: 2.5px solid #EDEAE4; border-radius: 999px; font: 600 19px/1 "Geist", var(--sans); letter-spacing: -0.02em; color: #F6F1E8; }
.hsun { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(180deg, #E08374 0 62%, transparent 62% 70%, #E08374 70% 78%, transparent 78%); }
.hsent { margin: 44px auto 0; font: 500 clamp(32px, 4.4vw, 58px)/1.3 var(--sans); letter-spacing: -0.03em; color: #F6F1E8; }
.hsent .ln { display: block; white-space: nowrap; }
.hsent .chip { display: inline-flex; align-items: center; gap: 8px; vertical-align: baseline; padding: 0 11px 2px 6px; margin: 0 1px 0 2px; border: 0; border-radius: 0.3em; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; overflow: hidden; white-space: nowrap; transition: width 0.38s var(--ease), background 0.2s ease, transform 0.16s var(--ease); }
.hsent .chip:hover { background: rgba(255, 255, 255, 0.12); }
.hsent .chip:active { transform: scale(0.97); }
.hsent .chip > span { display: inline-block; white-space: nowrap; transition: opacity 0.22s ease, filter 0.22s ease, transform 0.32s var(--ease); }
.hsent .chip.swap > span { opacity: 0; filter: blur(4px); transform: translateY(6px); }
@supports (corner-shape: squircle) { .hsent .chip, .hmark { corner-shape: squircle; } }
.hsent .ic { width: 1em; height: 1em; flex: none; border-radius: 0.28em; transform: translateY(0.1em); background: var(--c); position: relative; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.hsent .ic::after { content: ""; position: absolute; inset: 21%; background: #fff; -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; }
.ic-glass { --c: #9E2220; --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h12l-1 7a5 5 0 0 1-4 4.9V20h4v2H7v-2h4v-6.1A5 5 0 0 1 7 9z'/%3E%3C/svg%3E"); }
.ic-time { --c: #0C8462; --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 5v5.4l3.6 2.1-1 1.7L11 13.6V7z'/%3E%3C/svg%3E"); }
.ic-bell { --c: #2C4AA0; --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 4h4v2.1A8 8 0 0 1 20 14v1H4v-1a8 8 0 0 1 6-7.9zM2 17h20v2H2z'/%3E%3C/svg%3E"); }
.hcopy .cta2 { margin-top: 44px; }
.hfine { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 20px !important; font-size: 13px; color: rgba(243, 237, 227, 0.58) !important; }
.hfine svg { width: 13px; height: 13px; fill: currentColor; }
.hfine svg + svg { width: 15px; height: 15px; margin-right: 2px; }
.hfine i { opacity: 0.6; }
@media (max-width: 599px) {
  .hmark { font-size: 16px; padding: 8px 16px 8px 13px; }
  .hsent { margin-top: 34px; font-size: min(34px, 8.4vw); line-height: 1.4; }
  .hcopy .cta2 { margin-top: 32px; }
  .hcopy .fine.hfine { display: flex; }
}
@media (max-width: 599px) { .hfine i { display: none; } .hfine { flex-direction: column; gap: 4px; } .hfine svg { display: none; } }
.hsent .chip { padding-right: 9px; }

/* ---------- every part of hospitality: one day, from the hotel breakfast to the club ----------
   The card turns from warm day to deep night, left to right. A few quiet nightlife touches at the end:
   a moon, a few stars that twinkle, a small sparkler and sound bars. Champagne and warm white, never neon. */
.night { padding: 30px 0 120px; }
.nightcard { position: relative; overflow: hidden; border-radius: 30px; padding: 76px 56px 60px; color: #F3EDE3;
  background: linear-gradient(100deg, #2B241F 0%, #201B18 34%, #151316 68%, #0B0B0F 100%); }
@supports (corner-shape: squircle) { .nightcard { corner-shape: squircle; border-radius: 48px; } }
.sky { position: absolute; right: 0; top: 0; width: 46%; height: 62%; pointer-events: none; }
.sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #F2EBDD; opacity: 0.5; animation: twinkle 4.8s ease-in-out infinite; }
.sky i:nth-child(1) { left: 22%; top: 30%; } .sky i:nth-child(2) { left: 38%; top: 14%; animation-delay: -1.1s; } .sky i:nth-child(3) { left: 55%; top: 40%; animation-delay: -2.3s; width: 1.5px; height: 1.5px; }
.sky i:nth-child(4) { left: 64%; top: 20%; animation-delay: -0.6s; } .sky i:nth-child(5) { left: 76%; top: 52%; animation-delay: -3.4s; } .sky i:nth-child(6) { left: 84%; top: 12%; animation-delay: -1.8s; width: 1.5px; height: 1.5px; }
.sky i:nth-child(7) { left: 92%; top: 36%; animation-delay: -2.9s; } .sky i:nth-child(8) { left: 47%; top: 62%; animation-delay: -4.1s; width: 1.5px; height: 1.5px; } .sky i:nth-child(9) { left: 70%; top: 70%; animation-delay: -0.3s; } .sky i:nth-child(10) { left: 30%; top: 56%; animation-delay: -3.8s; width: 1.5px; height: 1.5px; }
@keyframes twinkle { 0%, 100% { opacity: 0.18; transform: scale(0.8); } 50% { opacity: 0.85; transform: scale(1.2); } }
.moon { position: absolute; right: 64px; top: 56px; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset -9px -3px 0 0 #E9DCC4; transform: rotate(-20deg); opacity: 0.9; }
.n-eb { position: relative; font-size: 15px; font-weight: 500; color: #D9C3A0; }
.n-h { position: relative; margin-top: 18px; font-size: clamp(34px, 4.4vw, 62px); font-weight: 400; line-height: 1.04; letter-spacing: -0.035em; color: #fff; max-width: 16ch; }
.n-h span { color: rgba(243, 237, 227, 0.55); }
.n-lede { position: relative; margin-top: 20px; font-size: 18px; color: rgba(243, 237, 227, 0.68); max-width: 44ch; }
.hours { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 70px; padding-top: 34px; }
.hours::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, #E7B074, #D9C3A0 45%, #9AA3B5 80%, #C8CCD6); opacity: 0.7; }
.hours li { position: relative; }
.hours li::before { content: ""; position: absolute; left: 0; top: -39px; width: 9px; height: 9px; border-radius: 50%; background: #161514; box-shadow: 0 0 0 1.5px #D9C3A0; }
.hours li:first-child::before { background: #E7B074; box-shadow: 0 0 0 4px rgba(231, 176, 116, 0.2); }
.hours li.club::before { background: #F2EBDD; box-shadow: 0 0 0 4px rgba(242, 235, 221, 0.14); }
.hours .t { display: block; font-size: 13px; color: rgba(243, 237, 227, 0.5); font-variant-numeric: tabular-nums; }
.hours svg { display: block; width: 26px; height: 26px; margin-top: 16px; fill: none; stroke: #EDE7DC; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hours b { display: block; margin-top: 14px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.hours em { display: block; margin-top: 4px; font-size: 15px; color: rgba(243, 237, 227, 0.6); }
/* the club: a small sparkler on a bottle, and sound bars */
.spark { position: relative; display: block; width: 26px; height: 26px; margin-top: 16px; }
.spark svg { margin: 0; }
.spark i { position: absolute; left: 12px; top: 3px; width: 2px; height: 2px; border-radius: 50%; background: #F3E2BE; opacity: 0; animation: sparks 1.6s ease-out infinite; }
.spark i:nth-child(2) { --dx: -9px; --dy: -10px; } .spark i:nth-child(3) { --dx: 8px; --dy: -11px; animation-delay: 0.3s; } .spark i:nth-child(4) { --dx: -4px; --dy: -14px; animation-delay: 0.6s; }
.spark i:nth-child(5) { --dx: 11px; --dy: -5px; animation-delay: 0.9s; } .spark i:nth-child(6) { --dx: -11px; --dy: -3px; animation-delay: 1.2s; }
@keyframes sparks { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4); } }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; margin-top: 14px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: #D9C3A0; opacity: 0.75; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -0.4s; } .eq i:nth-child(3) { animation-delay: -0.8s; } .eq i:nth-child(4) { animation-delay: -0.2s; } .eq i:nth-child(5) { animation-delay: -0.6s; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@media (max-width: 899px) {
  .nightcard { padding: 60px 32px 48px; }
  .hours { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .hours::before, .hours li::before { display: none; }
}
@media (max-width: 599px) {
  .night { padding: 10px 0 80px; }
  .nightcard { padding: 48px 22px 40px; border-radius: 26px; }
  .moon { right: 26px; top: 30px; width: 26px; height: 26px; box-shadow: inset -7px -2px 0 0 #E9DCC4; }
  .sky { width: 70%; height: 30%; }
  .n-lede { font-size: 16px; }
  .hours { grid-template-columns: 1fr; gap: 0; margin-top: 40px; padding: 0 0 0 26px; }
  .hours::before { display: block; left: 4px; right: auto; top: 6px; bottom: 6px; width: 1.5px; height: auto; background: linear-gradient(180deg, #E7B074, #D9C3A0 45%, #9AA3B5 80%, #C8CCD6); }
  .hours li { display: grid; grid-template-columns: 52px 30px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 14px 0; }
  .hours li::before { display: block; left: -26px; top: 22px; }
  .hours .t { grid-row: 1 / 3; }
  .hours svg, .spark { grid-row: 1 / 3; margin-top: 0; width: 24px; height: 24px; }
  .hours b { margin-top: 0; font-size: 16px; }
  .hours em { margin-top: 0; font-size: 14px; grid-column: 3; }
  .eq { position: absolute; right: 0; top: 50%; margin-top: -8px; }
}
@media (prefers-reduced-motion: reduce) { .sky i, .spark i, .eq i { animation: none; } .spark i { opacity: 0; } }
@media (max-width: 599px) { .eq { top: 16px; margin-top: 0; } }
.nightcard { background: linear-gradient(100deg, #3A2C22 0%, #251E1A 36%, #161417 70%, #0B0B0F 100%); }

/* club lights: three soft beams sweep slowly from the top of the night side; a faint haze where they land */
.beams { position: absolute; right: 0; top: 0; width: 52%; height: 100%; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.beams i { position: absolute; top: -6%; width: 150px; height: 125%; margin-left: -75px; transform-origin: 50% 0; mix-blend-mode: screen; opacity: 0.55;
  background: linear-gradient(180deg, rgba(255, 246, 228, 0.42), rgba(255, 246, 228, 0.1) 45%, rgba(255, 246, 228, 0) 80%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(1.5px); animation: beam 9s ease-in-out infinite alternate; }
.beams i:nth-child(1) { left: 34%; --a0: 24deg; --a1: -10deg; animation-duration: 11s; }
.beams i:nth-child(2) { left: 64%; --a0: -18deg; --a1: 16deg; animation-duration: 8.5s; animation-delay: -3s;
  background: linear-gradient(180deg, rgba(196, 210, 236, 0.4), rgba(196, 210, 236, 0.08) 45%, rgba(196, 210, 236, 0) 80%); }
.beams i:nth-child(3) { left: 88%; --a0: 12deg; --a1: -26deg; animation-duration: 12.5s; animation-delay: -6s; opacity: 0.4; }
@keyframes beam { from { transform: rotate(var(--a0)); } to { transform: rotate(var(--a1)); } }
.beams b { position: absolute; left: 10%; right: -10%; bottom: -30%; height: 60%; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, rgba(255, 244, 226, 0.08), rgba(255, 244, 226, 0) 70%); }
.nightcard > :not(.beams):not(.sky) { position: relative; z-index: 1; }
@media (max-width: 599px) { .beams { width: 100%; height: 46%; } .beams i { width: 110px; margin-left: -55px; } }
@media (prefers-reduced-motion: reduce) { .beams i { animation: none; transform: rotate(var(--a0)); } }

/* night section, nightlife colours: club red light and cool white, no champagne yellow */
.nightcard { background: linear-gradient(100deg, #34161A 0%, #22121A 34%, #140E14 66%, #09090D 100%); }
.n-eb { color: #FF8A7A; }
.hours::before { background: linear-gradient(90deg, #E2453A, #F07A6E 40%, #C9D1E0 78%, #FFFFFF); opacity: 0.75; }
.hours li::before { box-shadow: 0 0 0 1.5px #F07A6E; }
.hours li:first-child::before { background: #E2453A; box-shadow: 0 0 0 4px rgba(226, 69, 58, 0.25); }
.hours li.club::before { background: #FFFFFF; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16), 0 0 14px rgba(255, 90, 76, 0.6); }
.hours .t { color: rgba(255, 196, 188, 0.6); }
.spark i { background: #FFFFFF; box-shadow: 0 0 4px #FF6A5A; }
.eq i { background: linear-gradient(0deg, #E2453A, #FF9A8C); opacity: 0.9; }
.moon { box-shadow: inset -9px -3px 0 0 #DDE3EE; }
.sky i { background: #E8EEF8; }
.beams i:nth-child(1), .beams i:nth-child(3) { background: linear-gradient(180deg, rgba(255, 70, 58, 0.55), rgba(255, 70, 58, 0.14) 45%, rgba(255, 70, 58, 0) 80%); opacity: 0.6; }
.beams i:nth-child(2) { background: linear-gradient(180deg, rgba(226, 236, 255, 0.45), rgba(226, 236, 255, 0.1) 45%, rgba(226, 236, 255, 0) 80%); }
.beams b { background: radial-gradient(ellipse at 50% 40%, rgba(255, 80, 66, 0.12), rgba(255, 80, 66, 0) 70%); }
@media (max-width: 599px) {
  .moon { box-shadow: inset -7px -2px 0 0 #DDE3EE; }
  .hours::before { background: linear-gradient(180deg, #E2453A, #F07A6E 40%, #C9D1E0 78%, #FFFFFF); }
}

/* the night section as a fan of hour cards: they rise in an arc and turn from morning cream to club black */
.nfan { position: relative; height: 340px; margin: 54px -56px -60px; overflow: hidden; }
.nfan-in { position: absolute; left: 50%; top: 34px; width: 0; height: 0; }
.nc { position: absolute; left: -86px; top: 0; width: 172px; height: 228px; padding: 18px 17px; border-radius: 24px; display: flex; flex-direction: column;
  transform: rotate(var(--a)); transform-origin: 50% 980px; transition: transform 0.6s var(--ease), box-shadow 0.4s ease;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06); }
@supports (corner-shape: squircle) { .nc { corner-shape: squircle; border-radius: 38px; } }
.nc:hover { transform: rotate(var(--a)) translateY(-14px); }
.nc:nth-child(1) { --a: -22.5deg; } .nc:nth-child(2) { --a: -13.5deg; } .nc:nth-child(3) { --a: -4.5deg; }
.nc:nth-child(4) { --a: 4.5deg; } .nc:nth-child(5) { --a: 13.5deg; } .nc:nth-child(6) { --a: 22.5deg; }
.nc .tm { font: 700 26px/1 "Bricolage Grotesque", var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nc svg { width: 24px; height: 24px; margin-top: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.nc .spark { margin-top: 16px; width: 24px; height: 24px; }
.nc .spark svg { margin-top: 0; }
.nc b { margin-top: auto; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.nc em { margin-top: 4px; font-size: 13px; line-height: 1.38; opacity: 0.72; }
.nc.c1 { background: #F3EDE3; color: #241C17; }
.nc.c2 { background: #E2D6C5; color: #241C17; }
.nc.c3 { background: #9C8A7C; color: #1C1512; }
.nc.c4 { background: #3A2627; color: #F6EEE8; }
.nc.c5 { background: #1F1218; color: #F6EEE8; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 90, 76, 0.28); }
.nc.c6 { background: #0C0A0F; color: #fff; box-shadow: 0 0 0 1px rgba(255, 90, 76, 0.55), 0 24px 60px -18px rgba(226, 69, 58, 0.6), inset 0 -40px 60px -30px rgba(226, 69, 58, 0.35); }
.nc.c6 .tm { color: #FF8A7A; }
.nc .eq { position: absolute; right: 16px; top: 22px; margin: 0; height: 16px; }
.nightcard { padding-bottom: 60px; }
@media (max-width: 899px) { .nfan { margin-left: -32px; margin-right: -32px; margin-bottom: -48px; } }
/* phones: the cards stand straight in a row you swipe */
@media (max-width: 599px) {
  .nfan { height: auto; margin: 34px -22px -40px; overflow: visible; }
  .nfan-in { position: static; width: auto; height: auto; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 22px 34px; scrollbar-width: none; }
  .nfan-in::-webkit-scrollbar { display: none; }
  .nc { position: relative; left: auto; flex: 0 0 64%; height: 210px; transform: none !important; scroll-snap-align: center; }
  .nc .eq { position: absolute; right: 16px; top: 22px; margin-top: 0; }
}
/* a wider fan, so every card can be read */
@media (min-width: 600px) {
  .nfan { height: 390px; }
  .nc:nth-child(1) { --a: -27.5deg; } .nc:nth-child(2) { --a: -16.5deg; } .nc:nth-child(3) { --a: -5.5deg; }
  .nc:nth-child(4) { --a: 5.5deg; } .nc:nth-child(5) { --a: 16.5deg; } .nc:nth-child(6) { --a: 27.5deg; }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .nc { width: 150px; height: 210px; left: -75px; transform-origin: 50% 820px; }
  .nc em { font-size: 12px; }
}

/* ---------- polish, 23 Nov 2026 (agreed with Oktay; backups: _tools/archive/*before-polish-20261123) ---------- */
/* 1. phone fixes: the demo's small print keeps a side margin; the sample "Ready for service" card stays on two lines */
.duofine { margin: 28px auto 0; padding-inline: var(--gut); max-width: 64ch; }
@media (max-width: 899px) { .duo { padding-bottom: 64px; } }
@media (max-width: 599px) {
  .serve { padding-top: 48px; }
  .ready { gap: 12px; }
  .ready .ring { width: 48px; height: 48px; }
  .ready b { font-size: 18px; }
}
/* 2. tighter spacing: less empty cream before the footer's colour change; shorter pictures on the desktop tiles */
.end { padding-bottom: 48px; }
@media (max-width: 899px) { .end { padding-bottom: 32px; } }
@media (min-width: 900px) { .tile .vis { aspect-ratio: 16 / 9; } }
/* 3. bigger tap areas: each highlight dot is now a 24px target; the dot itself is drawn the same size inside it */
.hl-dots { gap: 0; padding: 0 10px; }
.hl-dots button { width: 24px; height: 24px; padding: 8px; background-color: rgba(28, 27, 25, 0.32); background-clip: content-box; }
.hl-dots button.on { width: 60px; background-color: rgba(28, 27, 25, 0.16); }
.hl-dots button i { left: 8px; top: 8px; bottom: 8px; max-width: calc(100% - 16px); }
/* 4. phone menu: under 900px the header links open from a small "Menu" button */
.mbtn { display: none; }
@media (max-width: 899px) {
  .mbtn { display: inline-flex; align-items: center; min-height: 40px; margin-left: auto; padding: 0 6px; border: 0; background: none; color: inherit; font: 500 15px/1 var(--sans); cursor: pointer; }
  .bar .btn { margin-left: 0; }
  .bar.open { background: #161514; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar.open.t-paper { background: var(--paper); color: var(--ink); }
  .bar.open nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 4px var(--gut) 20px; background: inherit; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.45); }
  .bar.open nav a { font-size: 22px; letter-spacing: -0.01em; padding: 14px 0; opacity: 1; box-shadow: none; border-top: 1px solid rgba(127, 120, 110, 0.28); }
  .bar.open nav a:first-child { border-top: 0; }
  .bar.open nav a[aria-current], .bar.open nav a.on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 899px) {
  .bar.open nav { animation: mdrop 0.28s var(--ease) both; }
  @keyframes mdrop { from { opacity: 0; transform: translateY(-8px); } }
}

/* ======================================================================
   Overnight polish, 23 Nov 2026: stronger titles, finer motion (all pages that use this file)
   ====================================================================== */
.h2 { font-weight: 600; letter-spacing: -0.038em; }
.h2 .mute { font-weight: 600; }
/* header links: a fine line draws in on hover */
.bar nav a { position: relative; }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.bar nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.bar nav a.on::after, .bar.open nav a::after { display: none; }
/* buttons answer the finger at once, and settle back softly */
.btn { transition: background-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease; }
.btn:active { transform: scale(0.96); transition-duration: 0.08s; }
/* in-page links glide */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* reveals: a little longer and softer */
.js [data-r] { transition: opacity 0.9s var(--ease), transform 1.05s var(--ease); }
/* tap areas of at least 44px, same look */
.bar .mark { min-height: 44px; }
.bar .btn.sm { min-height: 40px; position: relative; }
.bar .btn.sm::after { content: ""; position: absolute; inset: -4px -2px; }
.hl-dots button { height: 44px; padding: 18px 8px; }
.hl-dots button i { top: 18px; bottom: 18px; }
/* the brand chip above the opening: fine hairline, like the home page (replaces the thick pill) */
.hmark { gap: 9px; height: 34px; padding: 0 16px 0 12px; border: 0; box-shadow: inset 0 0 0 1px rgba(243, 237, 227, 0.16); background: rgba(243, 237, 227, 0.05); font: 500 14px/1 var(--sans); letter-spacing: 0.01em; color: rgba(243, 237, 227, 0.84); }
.hmark .hsun { width: 13px; height: 13px; }
