/* Burrow site, round 8. A light page with one dark section and a black footer, for a design-tool company.
   One bundled font; no outside request. Every colour on the page is defined here. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* the page */
  --bg: #ffffff;
  --bg-2: #f4f4f6;
  --ink: #15171c;
  --ink-2: #4a4e58;
  --ink-3: #6b6f7a;
  --line: #e3e4e9;
  --line-2: #cfd1d8;
  --link: #1a4fd6;
  --tint: #e3ebff;
  --ok: #12a150;
  /* the dark section and the footer */
  --night: #0e0f13;
  --night-2: #17181d;
  --night-3: #1f2128;
  --night-line: #2a2c34;
  --night-ink: #ffffff;
  --night-ink-2: #b4b7c0;
  --night-ink-3: #8a8e98;
  /* the code windows */
  --code-bg: #15171c;
  --code-bar: #1d1f25;
  --code-line: #2b2d34;
  --code-text: #dfe1e6;
  --code-dim: #7f838e;
  --code-key: #8eadff;
  --code-type: #f1f2f5;
  --code-str: #b9d7a8;
  --code-num: #e8c58c;
  --code-attr: #c9a8f0;
  /* the phones and the drawn app (Juniper's own colours) */
  --bezel: #0b0b0d;
  --bezel-edge: #34353a;
  --app-blue: #1d4ed8;
  --app-green: #0f7b53;
  --app-bg: #f4f5f7;
  --app-ios-bg: #f2f2f7;
  --app-ink: #0e1116;
  --app-muted: #5f6672;
  --app-line: #e3e5ea;
  --app-fill: #eef0f4;
  /* third-party logos, the colours their brand pages ship */
  --logo-supabase: #000000;
  --logo-firebase: #1f1f1f;
  --logo-stripe: #061b31;
  --figma-green: #24cb71;
  --figma-orange: #ff7237;
  --figma-blue: #00b6ff;
  --figma-red: #ff3737;
  --figma-purple: #874fff;
  /* motion and measure */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1120px;
  --gutter: max(20px, 4.5vw);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sys: -apple-system, "SF Pro Text", "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: #d6e2ff; color: var(--ink); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 6px; font-size: 14px; text-decoration: none; }
.skip:focus-visible { top: 14px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* type */
h1 { font-size: clamp(44px, 6vw, 78px); font-weight: 700; letter-spacing: -.04em; line-height: 1.01; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; max-width: 16em; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.line { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.cap { margin-top: 16px; font-size: 14px; color: var(--ink-3); text-wrap: pretty; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: -.005em; transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: #2a2d35; border-color: #2a2d35; } }

/* header: the logo and one action */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.mark { width: 24px; height: 24px; flex: none; fill: var(--ink); }

/* the header follows the section under it (script.js); without the script it stays white */
.top { transition: background-color 320ms var(--ease-out), border-color 320ms var(--ease-out); }
.top .brand { transition: color 320ms var(--ease-out); }
.top .mark { transition: fill 320ms var(--ease-out); }
.top .btn-primary { transition: background-color 320ms var(--ease-out), border-color 320ms var(--ease-out), color 320ms var(--ease-out), transform 160ms var(--ease-out); }
.top.on-dark { background-color: var(--night); border-bottom-color: var(--night); }
.top.on-dark .brand { color: var(--night-ink); }
.top.on-dark .mark { fill: var(--night-ink); }
.top.on-dark .btn-primary { background: var(--night-ink); border-color: var(--night-ink); color: var(--ink); }
.top.on-dark :focus-visible { outline-color: #8eadff; }
@media (hover: hover) and (pointer: fine) { .top.on-dark .btn-primary:hover { background: #dfe2e8; border-color: #dfe2e8; } }

/* rise into view, once (script.js adds the classes; with reduced motion nothing is hidden) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }

/* cards answer the pointer */
.card-big, .pane, .feat li, .proof li, .st { transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .feat li:hover, .pane:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(20, 22, 30, .3); }
  .proof li:hover { transform: translateY(-3px); border-color: #3a3d46; }
  .card-big:hover { transform: translateY(-3px); }
}
.js .feat li.rv.in, .js .proof li.rv.in { transition: opacity 760ms var(--ease-out), transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms var(--ease-out); }

/* the Figma section in its own card */
.scene-card { padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: linear-gradient(160deg, #e7ebf8 0%, #dbe1f3 55%, #d1d8ef 100%); border: 1px solid #c6cee6; }
.scene-card .scene { margin-top: clamp(32px, 4vh, 48px); }
.pair { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 8px 14px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-3); font-size: 15px; font-weight: 600; }
.pair-fig { width: 14px; height: 21px; }
.pair-bur { width: 20px; height: 20px; fill: var(--ink); }

/* sections */
.block { position: relative; padding-block: clamp(96px, 12vh, 144px); }
.dark + .dark, .block:not(.dark) + .block:not(.dark) { padding-top: clamp(32px, 4vh, 56px); }
.hero + .dark { padding-top: clamp(16px, 3vh, 40px); }
.block-head { display: flex; flex-direction: column; gap: 16px; }
.block-head.center { align-items: center; text-align: center; }
.block-head.center .line { max-width: 30em; }

/* 1. hero: the claim on the left, two phones on the right */
.hero { padding-block: clamp(40px, 7vh, 88px) clamp(72px, 10vh, 120px); color: var(--night-ink); background: var(--night); }
.hero .lead { color: var(--night-ink-2); }
.hero .dev { box-shadow: 0 0 0 1.5px #5a5b63, 0 0 0 3px #232428, 0 40px 90px -30px rgba(0, 0, 0, .85); }
.hero .dev::before, .hero .dev::after { background: #4a4b52; }
.hero .dev-ios::before { box-shadow: 0 9cqw 0 #4a4b52, 0 21cqw 0 #4a4b52; }
.hero .dev-label { background: rgba(255, 255, 255, .04); border-color: var(--night-line); }
.hero .dev-label b { color: var(--night-ink); }
.hero .dev-label span { color: var(--night-ink-3); }
.hero ::selection { background: #2c4aa8; color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: center; min-height: min(720px, calc(100vh - 64px)); }
.hero h1 { max-width: 10.5em; }
.lead { margin-top: 24px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 24em; text-wrap: pretty; }
.hero-pic { display: flex; flex-direction: column; align-items: center; }
.hero-cap { text-align: center; margin-top: 18px; }
/* the two phones: one frame language, two real device shapes, a label under each */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.8vw, 40px); width: min(100%, 580px); align-items: end; }
.dev-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; min-width: 0; width: 100%; }
.dev { container-type: inline-size; position: relative; width: 100%; padding: 3.2%; background: var(--bezel); box-shadow: 0 0 0 1.5px #3b3c42, 0 0 0 3px #17181b, 0 2px 4px rgba(20, 22, 30, .08), 0 40px 80px -36px rgba(20, 22, 30, .5); }
.dev::before, .dev::after { content: ""; position: absolute; width: 3px; background: #2c2d32; }
.dev-ios { border-radius: 16.5% / 7.9%; }
.dev-ios::before { left: -4px; top: 19%; height: 5%; border-radius: 2px 0 0 2px; box-shadow: 0 9cqw 0 #2c2d32, 0 21cqw 0 #2c2d32; }
.dev-ios::after { right: -4px; top: 27%; height: 9.5%; border-radius: 0 2px 2px 0; }
.dev-droid { border-radius: 11% / 5.1%; }
.dev-droid::before { right: -4px; top: 20%; height: 5.5%; border-radius: 0 2px 2px 0; }
.dev-droid::after { right: -4px; top: 30%; height: 12%; border-radius: 0 2px 2px 0; }
.dev-screen { position: relative; overflow: hidden; border-radius: 8.2% / 3.7%; background: var(--app-bg); }
.dev-screen img { width: 100%; height: auto; }
.dev-screen::after { content: ""; position: absolute; left: 50%; top: 1.45%; width: 4.4%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--bezel); }
.dev-label { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); font-size: 14px; }
.dev-label b { font-weight: 700; color: var(--ink); }
.dev-label span { color: var(--ink-3); font-weight: 500; }

/* the app on both phones: one design, each phone's own status bar, camera and tab bar */
.dev-ios .dev-screen { border-radius: 13.4% / 6.2%; }
.dev-ios .dev-screen::after { width: 31%; height: 3.5%; aspect-ratio: auto; top: 1.5%; border-radius: 99px; }
.app { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--app-bg); color: var(--app-ink); font: 400 4.5cqw/1.3 var(--sys); }
.app-ios { aspect-ratio: 9 / 19.5; }
.app-and { aspect-ratio: 9 / 20; font-family: Roboto, "Google Sans", var(--sys); }
.app svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sb { display: flex; justify-content: space-between; align-items: center; flex: none; height: 8.5%; padding: 3.2% 8% 0 10%; font-size: .95em; }
.app-and .sb { height: 6.5%; padding: 2.4% 6.5% 0 7%; font-size: .82em; }
.sb b { font-weight: 600; }
.sb-ic { display: flex; align-items: center; gap: .32em; }
.sb-ic i { display: block; background: var(--app-ink); }
.sb-ic .sig { width: 1.05em; height: .68em; clip-path: polygon(0 75%, 22% 75%, 22% 100%, 0 100%, 0 75%, 26% 52%, 48% 52%, 48% 100%, 26% 100%, 26% 52%, 52% 28%, 74% 28%, 74% 100%, 52% 100%, 52% 28%, 78% 0, 100% 0, 100% 100%, 78% 100%); }
.app-and .sb-ic .sig { width: .8em; height: .8em; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.sb-ic .wifi { width: .92em; height: .68em; clip-path: polygon(50% 100%, 0 28%, 18% 4%, 50% 0, 82% 4%, 100% 28%); }
.sb-ic .bat { width: 1.5em; height: .7em; border-radius: .22em; }
.sb-ic .bat-v { width: .5em; height: .85em; border-radius: .12em; }
.ab { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .7em; padding: .45em 5.5% 0; }
.hd { display: flex; align-items: center; gap: .6em; }
.av { display: grid; place-items: center; width: 2.25em; height: 2.25em; border-radius: 50%; background: #dbe4ff; color: #1e3a8a; font-size: .8em; font-weight: 700; flex: none; }
.hd-t { display: flex; flex-direction: column; line-height: 1.2; }
.hd-t small { font-size: .68em; color: var(--app-muted); }
.hd-t b { font-size: .95em; font-weight: 700; letter-spacing: -.01em; }
.bell { margin-left: auto; display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: #fff; color: var(--app-ink); }
.bell svg { width: 1.05em; height: 1.05em; }
.bal { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .2em; padding: 1em 1.1em .95em; border-radius: 1.15em; background: linear-gradient(135deg, #1d4ed8 0%, #2c5be8 55%, #4a78ff 100%); color: #fff; }
.bal::before { content: ""; position: absolute; right: -2.2em; top: -2.6em; width: 7em; height: 7em; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.bal::after { content: ""; position: absolute; right: 1.2em; bottom: -3.4em; width: 5.4em; height: 5.4em; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.bal span { font-size: .72em; opacity: .82; }
.bal b { font-size: 2em; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.bal em { align-self: flex-start; margin-top: .25em; padding: .22em .6em; border-radius: 99px; background: rgba(255, 255, 255, .18); font-style: normal; font-size: .64em; font-weight: 600; }
.bal small { margin-top: .5em; font-size: .62em; opacity: .75; letter-spacing: .02em; }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5em; }
.acts span { display: flex; flex-direction: column; align-items: center; gap: .35em; font-size: .64em; font-weight: 600; color: var(--app-ink); }
.acts i { display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 1.2em; background: #fff; color: var(--app-blue); }
.app-and:not(.like-ios) .acts i { border-radius: 50%; }
.acts svg { width: 1.9em; height: 1.9em; }
.wk { padding: .8em .95em .7em; border-radius: 1em; background: #fff; }
.wk-h { display: flex; justify-content: space-between; align-items: flex-end; gap: .5em; }
.wk-h span { display: flex; flex-direction: column; }
.wk-h small { font-size: .64em; color: var(--app-muted); }
.wk-h b { font-size: 1.05em; font-weight: 700; letter-spacing: -.02em; }
.wk-h em { font-style: normal; font-size: .58em; font-weight: 600; color: var(--app-green); text-align: right; max-width: 9em; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5em; height: 4.6em; margin-top: .6em; }
.bars span { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .25em; }
.bars i { display: block; width: 100%; border-radius: .35em; background: #e2e8f6; }
.bars i.today { background: var(--app-blue); }
.bars small { font-size: .5em; color: var(--app-muted); }
.list-h { display: flex; justify-content: space-between; align-items: baseline; margin-top: .1em; font-size: .88em; font-weight: 700; }
.list-h span { font-size: .78em; font-weight: 600; color: var(--app-blue); }
.list { display: flex; flex-direction: column; padding: 0 .85em; border-radius: 1em; background: #fff; }
.list p { display: flex; align-items: center; gap: .6em; padding: .5em 0; }
.list p + p { border-top: 1px solid #eef0f3; }
.ic { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; font-style: normal; font-size: 1em; flex: none; }
.ic svg { width: 1.05em; height: 1.05em; }
.ic-food { background: #fff1e6; color: #c2410c; }
.ic-person { background: #e8edff; color: #1e3a8a; font-size: .72em; font-weight: 700; width: 2.9em; height: 2.9em; }
.ic-shop { background: #e7f6ee; color: #0f7b53; }
.ic-work { background: #f1ecff; color: #6d28d9; }
.list span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.list b { font-size: .76em; font-weight: 600; white-space: nowrap; }
.list small { font-size: .6em; color: var(--app-muted); white-space: nowrap; }
.list em { font-style: normal; font-size: .76em; font-weight: 600; white-space: nowrap; }
.list em.in { color: var(--app-green); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); flex: none; padding: .5em 0 1.75em; background: rgba(250, 250, 252, .96); border-top: 1px solid #e6e8ec; }
.tabs span { display: flex; flex-direction: column; align-items: center; gap: .18em; font-size: .56em; font-weight: 500; color: #8e8e93; }
.tabs i { display: grid; place-items: center; }
.tabs svg { width: 2.4em; height: 2.4em; }
.tabs .on { color: var(--app-blue); }
.app-and:not(.like-ios) .tabs { padding: .55em 0 1.45em; background: #eef1f7; border-top: 0; }
.app-and:not(.like-ios) .tabs span { color: #4a4f5a; gap: .3em; }
.app-and:not(.like-ios) .tabs i { width: 3.4em; height: 1.85em; border-radius: 99px; }
.app-and:not(.like-ios) .tabs svg { width: 2.1em; height: 2.1em; }
.app-and:not(.like-ios) .tabs .on { color: var(--app-ink); font-weight: 700; }
.app-and:not(.like-ios) .tabs .on i { background: #d9e2ff; color: #1e3a8a; }
.homebar { position: absolute; left: 50%; bottom: 1.1%; width: 35%; height: .6%; transform: translateX(-50%); border-radius: 99px; background: var(--app-ink); }
.app-and .ab { gap: .8em; }
.app-and .homebar { width: 26%; height: .45%; bottom: .9%; opacity: .7; }

/* a different design for one phone: the dark variant */
.app.theme-dark { background: #0e1015; color: #f2f4f8; }
.theme-dark .sb-ic i, .theme-dark .homebar { background: #f2f4f8; }
.theme-dark .hd-t small, .theme-dark .wk-h small, .theme-dark .bars small, .theme-dark .list small { color: #9aa1ae; }
.theme-dark .av { background: #173b37; color: #5eead4; }
.theme-dark .bell, .theme-dark .wk, .theme-dark .list, .theme-dark .acts i { background: #191c23; color: #f2f4f8; }
.theme-dark .acts i { color: #2dd4bf; }
.theme-dark .acts span { color: #f2f4f8; }
.theme-dark .bal { background: linear-gradient(135deg, #0f766e 0%, #0d9488 55%, #14b8a6 100%); }
.theme-dark .bars i { background: #262a33; }
.theme-dark .bars i.today { background: #2dd4bf; }
.theme-dark .wk-h em, .theme-dark .list em.in { color: #34d399; }
.theme-dark .list-h span { color: #2dd4bf; }
.theme-dark .list p + p { border-top-color: #252830; }
.theme-dark .ic-food { background: #3a2414; color: #fdba74; }
.theme-dark .ic-person { background: #1c2647; color: #a5b4fc; }
.theme-dark .ic-shop { background: #123326; color: #4ade80; }
.theme-dark .ic-work { background: #2a1f45; color: #c4b5fd; }
.app-and.theme-dark .tabs { background: #12141a; }
.app-and.theme-dark .tabs span { color: #8b919d; }
.app-and.theme-dark .tabs .on { color: #f2f4f8; }
.app-and.theme-dark .tabs .on i { background: #134e4a; color: #5eead4; }

/* the phones' stage (the hero) */
.combo { margin-top: clamp(36px, 5vh, 52px); display: flex; flex-direction: column; align-items: center; gap: 36px; }
.combo-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; align-items: end; gap: clamp(20px, 4vw, 64px); width: 100%; }
.combo-stage .dev-wrap { position: relative; }
.combo .dev-droid .dev-screen { display: grid; }
.combo .dev-droid .dev-screen > .app { grid-area: 1 / 1; transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out); }
.combo .v-same, .combo .v-diff { opacity: 0; transform: scale(1.03); }

/* the phones in the hero */
.hero .combo { margin-top: 0; gap: 26px; width: min(100%, 580px); }
.hero .combo-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.8vw, 40px); }

/* the hero fills the first screen with black; the second section starts below it with room */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: clamp(88px, 11vh, 112px) !important; padding-bottom: clamp(32px, 6vh, 64px) !important; }
.hero > .wrap { width: 100%; }
.hero .hero-grid { min-height: 0; }
#designs { padding-top: clamp(120px, 15vh, 190px); }

/* the hero: two phones act out the three looks. Native to each: side by side, turned a little toward each other. Same on both:
   they glide together and the Android screen becomes the iPhone's. Different per phone: they part and the Android phone flips
   over to show a design of its own. script.js moves through the looks and the label follows; still with reduced motion. */
.looks-wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; width: min(100%, 620px); margin: clamp(40px, 6vh, 64px) auto 0; }
.duo-tilt { width: 100%; perspective: 1800px; perspective-origin: 50% 40%; }
.duo-stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.8vw, 40px); align-items: end; transform-style: preserve-3d; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.ph { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; transform-style: preserve-3d; transition: transform 1050ms cubic-bezier(.62, 0, .18, 1); }
.look-native .ph-ios { transform: rotateY(14deg); }
.look-native .ph-and { transform: rotateY(-14deg); }
.look-same .ph-ios { transform: translateX(15%) translateZ(-30px) rotateY(4deg); }
.look-same .ph-and { transform: translateX(-15%) translateZ(30px) rotateY(-4deg); z-index: 2; }
.look-diff .ph-ios { transform: translateX(-5%) rotateY(10deg); }
.look-diff .ph-and { transform: translateX(5%) rotateY(-10deg); }
.flip { position: relative; width: 100%; transform-style: preserve-3d; transition: transform 1150ms cubic-bezier(.62, 0, .18, 1); }
.look-diff .flip { transform: rotateY(180deg); }
.face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.back { position: absolute; inset: 0; transform: rotateY(180deg); }
.ph-and .front .dev-screen { display: grid; }
.ph-and .front .dev-screen > .app { grid-area: 1 / 1; transition: opacity 700ms var(--ease-out) 250ms; }
.ph-and .v-same { opacity: 0; }
.look-same .ph-and .v-same { opacity: 1; }
.look-same .ph-and .v-native { opacity: 0; }
.dev-name { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--night-ink-3); }
.mode { position: relative; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--night-line); }
.mode-item { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 20px; border: 0; border-radius: 0 12px 12px 0; background: none; font: inherit; text-align: left; color: var(--night-ink-3); cursor: pointer; transition: color 420ms var(--ease-out); }
.mode-item b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mode-item span { font-size: 14.5px; line-height: 1.45; color: var(--night-ink-3); }
.mode-item.on { color: var(--night-ink); } .mode-item.on span { color: var(--night-ink-2); }
@media (hover: hover) and (pointer: fine) { .mode-item:not(.on):hover { color: var(--night-ink-2); } }
.mode-item:focus-visible { outline: 2px solid #8eadff; outline-offset: 2px; }
.mode-ind { position: absolute; z-index: 0; left: -1px; top: 0; right: 0; height: 0; border-radius: 0 12px 12px 0; border-left: 2px solid var(--night-ink); background: rgba(255, 255, 255, .05); transition: top 560ms var(--spring), height 560ms var(--spring); }
.mode:not(.ready) .mode-item.on { background: rgba(255, 255, 255, .05); box-shadow: inset 2px 0 0 var(--night-ink); }

/* the Burrow mark: it pops in with the footer's tilt above every heading, and in the header once on load */
.top .brand .mark { animation: mark-pop 1100ms var(--spring) backwards; animation-delay: 200ms; }

/* the pet: the Burrow mark (a tooth, really) with two eyes. One walks the bottom of the page as you read (script.js); the marks
   above the headings and the footer's big mark are its family. Eyes blink; the walking one and the footer one watch the pointer. */
.pb { fill: var(--ink); }
.pw { fill: #fff; }
.pp { fill: var(--ink); }
.dark .pb, .foot .pb { fill: var(--night-ink); }
.dark .pw, .foot .pw { fill: var(--night); }
.dark .pp, .foot .pp { fill: var(--night-ink); }
.pe { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 5.2s infinite; }
.foot-pet .pe { animation-duration: 4.6s; animation-delay: -1.2s; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.08); } }
.pp { transition: transform 220ms var(--ease-out); }
/* one pet at a time: each section's own shows only while that section is the one you are in */
.sec-pet { transition: opacity 360ms var(--ease-out), transform 520ms var(--spring); }
.pets main > section:not(.is-current) .sec-pet { opacity: 0; transform: scale(.5); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* sync: the pet is the AI, beside its reply; its eyes glance at the canvas and the code as they change (10 s, with the panes) */
.bot-row { display: flex; align-items: flex-end; gap: 8px; align-self: flex-start; max-width: 100%; }
.ai-pet { flex: none; width: 26px; height: 26px; animation: ka2 10s var(--ease-out) infinite; }
.ai-pet svg { width: 100%; height: 100%; display: block; }
.ai-pet .pp { animation: ai-look 10s linear infinite; }
@keyframes ai-look { 0%, 18% { transform: translate(.7px, -.8px); } 22%, 40% { transform: translate(-1.3px, 0); } 44%, 54% { transform: translate(.7px, -.8px); } 58%, 76% { transform: translate(-1.3px, .3px); } 80%, 100% { transform: translate(.7px, -.8px); } }

/* code: the pet is the typing cursor at the end of the code */
.caret-pet { display: inline-block; width: 1.25em; height: 1.25em; margin-left: .35em; vertical-align: -.25em; }
.caret-pet svg { width: 100%; height: 100%; display: block; animation: typing .5s ease-in-out infinite alternate; }
.caret-pet .pb { fill: var(--code-text); }
.caret-pet .pw { fill: var(--code-bg); }
.caret-pet .pp { fill: var(--code-text); transform: translate(-1px, .6px); }
@keyframes typing { from { transform: translateY(0); } to { transform: translateY(-2px) rotate(-3deg); } }

/* connects to anything: the pet is "Your app"; its eyes visit each connection while data flows along the lines */
.hub-pet { display: inline-block; width: 22px; height: 22px; }
.hub-pet svg { width: 100%; height: 100%; display: block; }
.hub-core .pb { fill: var(--night-ink); }
.hub-core .pw { fill: var(--ink); }
.hub-core .pp { fill: var(--night-ink); animation: hub-look 8s steps(1) infinite; }
.hub-pet .pe { opacity: 0; transition: opacity 400ms var(--ease-out); }
.is-current .hub-pet .pe { opacity: 1; }
@keyframes hub-look { 0% { transform: translate(-1.2px, -.9px); } 25% { transform: translate(1.2px, -.9px); } 50% { transform: translate(1.2px, .9px); } 75% { transform: translate(-1.2px, .9px); } }
.hub-lines path { animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }

/* made to scale: the full stop is the pet; it is a dot until you arrive, then it scales up */
.dot-pet { display: inline-block; width: .19em; height: .19em; margin-left: .05em; vertical-align: baseline; transition: width 900ms var(--spring), height 900ms var(--spring), margin 900ms var(--spring), transform 900ms var(--spring); }
.dot-pet svg { width: 100%; height: 100%; display: block; }
.dot-pet .pb { fill: var(--night-ink); }
.dot-pet .pw { fill: var(--night); }
.dot-pet .pp { fill: var(--night-ink); }
.dot-pet .pe { opacity: 0; transition: opacity 300ms var(--ease-out) 500ms; }
.is-current .dot-pet { width: .42em; height: .42em; margin-left: .12em; transform: rotate(-12deg); animation: dot-bob 2.6s ease-in-out 900ms infinite; }
@keyframes dot-bob { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-.06em); } }
.is-current .dot-pet .pe { opacity: 1; }

/* features: asleep inside the Websites card, top right */
.feat li.later { position: relative; }
.sleep-pet { position: absolute; top: 26px; right: 24px; width: 30px; height: 30px; }
.sleep-pet svg { width: 100%; height: 100%; display: block; transform-origin: 50% 100%; animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.05, .94); } }
.sleep-pet .pb { fill: var(--ink-2); }
.sleep-pet .pe { animation: none; transform: scaleY(.14); }
.zz { position: absolute; left: 24px; top: -8px; }
.zz i { position: absolute; left: 0; top: 0; font: 700 12px/1 var(--mono); font-style: normal; color: var(--ink-3); opacity: 0; animation: zz 3s ease-out infinite; }
.zz i:nth-child(2) { animation-delay: 1s; font-size: 10px; } .zz i:nth-child(3) { animation-delay: 2s; font-size: 9px; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(12px, -26px); } }
.foot-pet .pe { opacity: 0; transition: opacity 500ms var(--ease-out) 200ms; }
.foot.is-current .foot-pet .pe { opacity: 1; }

/* no navbar: the brand and the one button live in the landing and scroll away with it */
.hero-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(28px, 5vh, 52px); text-decoration: none; color: var(--night-ink); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.hero-brand .mark { width: 26px; height: 26px; fill: var(--night-ink); animation: mark-pop 1100ms var(--spring) backwards; animation-delay: 200ms; transition: transform 420ms var(--spring); }
@media (hover: hover) and (pointer: fine) { .hero-brand:hover .mark { transform: translateY(-2px) rotate(-8deg); } }
.hero-brand:focus-visible, .btn-light:focus-visible { outline: 2px solid #8eadff; outline-offset: 4px; }
.btn-light { margin-top: 34px; background: var(--night-ink); color: var(--ink); border: 1px solid var(--night-ink); }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: #dfe2e8; border-color: #dfe2e8; } }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }

/* the landing's own bar: it scrolls away with the landing */
.landing-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 3; }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.landing-bar .hero-brand { margin-bottom: 0; }
.bar-right { display: flex; align-items: center; gap: 22px; }
.bar-link { color: var(--night-ink-2); font-size: 15px; font-weight: 600; text-decoration: none; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bar-link:hover { color: var(--night-ink); } }
.bar-link:focus-visible { outline: 2px solid #8eadff; outline-offset: 4px; }
.landing-bar .btn-light { margin-top: 0; }

@media (max-width: 640px) { .bar-link { display: none; } .float-cta { min-height: 42px; padding: 0 16px; font-size: 14px; } }

/* the waitlist, in place: one click opens the email field to the left of the button, the address is checked, and the pill turns
   into the answer with the pet popping up. The bar's copy is dark; the floating copy follows the section behind it. */
.wl { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 4px; border-radius: 99px; border: 1px solid transparent; transition: background-color 320ms var(--ease-out), border-color 320ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.wl-input { width: 0; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font: 500 15px/1 "Plus Jakarta Sans", system-ui, sans-serif; color: inherit; opacity: 0; transition: width 460ms var(--spring), padding 460ms var(--spring), opacity 240ms var(--ease-out); }
.wl-input::placeholder { color: currentColor; opacity: .45; }
.wl.open .wl-input { width: clamp(150px, 22vw, 230px); padding: 0 6px 0 14px; opacity: 1; }
.wl-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 99px; border: 0; cursor: pointer; font: 700 14px/1 "Plus Jakarta Sans", system-ui, sans-serif; white-space: nowrap; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out), opacity 240ms var(--ease-out); }
.wl-btn:active { transform: scale(.96); }
.wl.sending .wl-btn { opacity: .6; pointer-events: none; }
.wl-btn:focus-visible { outline: 2px solid #8eadff; outline-offset: 3px; border-radius: 99px; }
.wl-input:focus, .wl-input:focus-visible { outline: none; box-shadow: none; }
.wl-dark.open:focus-within, .float-cta.on-dark .wl.open:focus-within { border-color: rgba(255, 255, 255, .28); }
.wl-float.open:focus-within { border-color: var(--line-2); }
.wl.shake { animation: wl-shake 420ms var(--ease-out); }
@keyframes wl-shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
/* the answer: the field and button slide away, the pill resizes (script.js), the pet pops up from below its edge with a few
   sparks, and the words rise in. "Joined" when the sign-up service said yes; "soon" while none is connected. */
.wl-done { display: none; align-items: center; gap: 12px; padding: 4px 18px 4px 6px; min-height: 40px; }
.wl.joined .wl-input, .wl.joined .wl-btn, .wl.joined .wl-hint, .wl.soon .wl-input, .wl.soon .wl-btn, .wl.soon .wl-hint { display: none; }
.wl.joined .wl-done, .wl.soon .wl-done { display: inline-flex; }
.wl-text { display: none; flex-direction: column; gap: 2px; text-align: left; }
.wl.joined .wl-yes, .wl.soon .wl-soon { display: flex; }
.wl-t1 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.wl-t2 { font-size: 13px; font-weight: 500; opacity: .72; white-space: nowrap; }
.wl-text span span { display: inline-block; opacity: 0; transform: translateY(8px); animation: wl-word 520ms var(--ease-out) forwards; animation-delay: calc(260ms + var(--w) * 55ms); }
.wl-t2 span { animation-delay: calc(520ms + var(--w) * 40ms) !important; }
@keyframes wl-word { to { opacity: 1; transform: none; } }
.wl-petbox { position: relative; width: 30px; height: 30px; flex: none; overflow: visible; }
.wl-pet { position: absolute; inset: 0; }
.wl-pet svg { width: 100%; height: 100%; display: block; overflow: visible; transform-origin: 50% 100%; animation: wl-pop 1000ms var(--spring) both; }
@keyframes wl-pop { 0% { transform: translateY(26px) scale(.3); opacity: 0; } 40% { transform: translateY(-14px) scale(1.04, .96) rotate(-8deg); opacity: 1; } 62% { transform: translateY(0) scale(1.12, .86); } 80% { transform: translateY(-6px) rotate(5deg); } 100% { transform: none; } }
.wl-spark i { position: absolute; left: 50%; top: 40%; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: currentColor; opacity: 0; transform-origin: 50% 150%; animation: wl-spark 760ms var(--ease-out) 360ms forwards; }
.wl-spark i:nth-child(1) { transform: rotate(-70deg) translateY(-12px); } .wl-spark i:nth-child(2) { transform: rotate(-35deg) translateY(-12px); }
.wl-spark i:nth-child(3) { transform: rotate(0deg) translateY(-12px); } .wl-spark i:nth-child(4) { transform: rotate(35deg) translateY(-12px); }
.wl-spark i:nth-child(5) { transform: rotate(70deg) translateY(-12px); }
@keyframes wl-spark { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; translate: 0 -6px; } }
.wl.soon .wl-spark { display: none; }
.wl.morphing { overflow: hidden; transition: width 520ms var(--spring), background-color 320ms var(--ease-out), border-color 320ms var(--ease-out); }
.wl-hint { position: absolute; right: 10px; top: calc(100% + 12px); padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 200ms var(--ease-out), transform 260ms var(--spring); }
.wl-hint::before { content: ""; position: absolute; right: 22px; top: -5px; width: 10px; height: 10px; border-radius: 2px; background: inherit; transform: rotate(45deg); }
.wl.hint .wl-hint { opacity: 1; transform: none; }
.wl-float .wl-hint::before { top: auto; bottom: -5px; }
/* the waitlist, round two. The landing bar's copy is always open, taller, and its field grows with what you type (script.js).
   The floating copy is just the button until you click; then it opens upward into a card with room for any address. */
.wl-head { display: none; }
.wl.always { padding: 5px; gap: 6px; background: rgba(255, 255, 255, .07); border-color: var(--night-line); }
.wl.always .wl-input { width: 250px; height: 44px; padding: 0 8px 0 16px; opacity: 1; transition: width 280ms var(--ease-out); }
.wl.always .wl-btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.wl.always:focus-within { border-color: rgba(255, 255, 255, .3); }
/* floating, closed: only the button, with its own shadow, no ring */
.wl-float:not(.open):not(.joined):not(.soon) { padding: 0; border-color: transparent; background: transparent; box-shadow: none; }
.wl-float:not(.open):not(.joined):not(.soon) .wl-btn { min-height: 48px; padding: 0 22px; font-size: 15px; box-shadow: 0 12px 30px -12px rgba(20, 22, 30, .55); }
.float-cta.on-dark .wl-float:not(.open):not(.joined):not(.soon) .wl-btn { box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .9); }
/* floating, open: a card */
.wl-float.open, .wl-float.joined, .wl-float.soon { flex-direction: column; align-items: stretch; gap: 10px; width: min(360px, calc(100vw - 40px)); padding: 18px; border-radius: 22px; transform-origin: 100% 100%; animation: wl-card 460ms var(--spring); }
@keyframes wl-card { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
.wl-float.open .wl-head { display: block; margin: 2px 2px 2px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.wl-float.open .wl-input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); opacity: 1; font-size: 15.5px; }
.float-cta.on-dark .wl-float.open .wl-input { border-color: var(--night-line); background: rgba(255, 255, 255, .06); }
.wl-float.open .wl-input:focus { border-color: var(--ink-3); }
.float-cta.on-dark .wl-float.open .wl-input:focus { border-color: rgba(255, 255, 255, .35); }
.wl-float.open .wl-btn { width: 100%; min-height: 48px; border-radius: 14px; font-size: 15px; }
.wl-float.joined .wl-done, .wl-float.soon .wl-done { padding: 4px 4px; align-items: flex-start; }
.wl-float .wl-t1, .wl-float .wl-t2 { white-space: normal; }
.wl-float .wl-hint { right: 18px; }
.wl.morphing.wl-float { animation: none; }
/* the joined answer, personal: a name, the family, version 1; the floating card shows an early-member line with the address */
.wl-t3 { display: block; font-size: 12.5px; font-weight: 500; opacity: .6; white-space: nowrap; animation: wl-word 520ms var(--ease-out) 1100ms both; }
.wl-card-id { display: none; }
.wl-float.joined .wl-card-id { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed currentColor; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .55; animation: wl-word 520ms var(--ease-out) 1300ms both; }
.wl-mail { text-transform: none; letter-spacing: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.wl-float .wl-t3 { white-space: normal; }
.wl.joined .wl-petbox { width: 34px; height: 34px; }
.wl.joined .wl-pet svg { animation: wl-pop 1000ms var(--spring) both, wl-dance 1.6s ease-in-out 1100ms 2; }
@keyframes wl-dance { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg) translateY(-2px); } 75% { transform: rotate(10deg) translateY(-2px); } }
/* dark: in the landing bar, and the floating copy over dark sections */
.wl-dark, .float-cta.on-dark .wl { color: var(--night-ink); }
.wl-dark.open, .float-cta.on-dark .wl.open, .wl-dark.joined, .float-cta.on-dark .wl.joined, .wl-dark.soon, .float-cta.on-dark .wl.soon { background: rgba(255, 255, 255, .07); border-color: var(--night-line); }
.wl-dark .wl-btn, .float-cta.on-dark .wl-btn { background: var(--night-ink); color: var(--ink); }
.wl-dark .wl-hint, .float-cta.on-dark .wl-hint { background: var(--night-ink); color: var(--ink); }
.wl-dark .pb, .float-cta.on-dark .wl .pb { fill: var(--night-ink); } .wl-dark .pw, .float-cta.on-dark .wl .pw { fill: var(--night); } .wl-dark .pp, .float-cta.on-dark .wl .pp { fill: var(--night-ink); }
@media (hover: hover) and (pointer: fine) { .wl-dark .wl-btn:hover, .float-cta.on-dark .wl-btn:hover { background: #dfe2e8; } .wl-float .wl-btn:hover { background: #2a2d35; } .float-cta.on-dark .wl-float .wl-btn:hover { background: #dfe2e8; } }
/* light: the floating copy over white sections */
.wl-float { color: var(--ink); background: var(--bg); border-color: var(--line); box-shadow: 0 12px 34px -14px rgba(20, 22, 30, .45); }
.float-cta.on-dark .wl-float { box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .9); background: #17181d; }
.wl-float .wl-btn { background: var(--ink); color: #fff; }
.wl-float .wl-hint { top: auto; bottom: calc(100% + 10px); background: var(--ink); color: #fff; }
.float-cta { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity 320ms var(--ease-out), transform 420ms var(--spring); }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 640px) { .wl.always .wl-input { width: 40vw; } .wl.open:not(.wl-float) .wl-input { width: 42vw; } .wl-t1, .wl-t2 { white-space: normal; } .wl-done { max-width: 74vw; } .landing-bar .wl.open .wl-input { width: 36vw; } }
@media (max-width: 480px) { .landing-bar .wl-more { display: none; } .landing-bar .wl.open .wl-input { width: 34vw; } }

/* the waitlist's spam trap: out of sight and out of reach for people, filled only by bots */
.wl-trap { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
/* the landing's brand: the mark with its eyes (they blink and follow the pointer), a larger, tighter word; the bar holds only
   the brand and the build notes, the waitlist is the corner button */
.hero .pb { fill: var(--night-ink); } .hero .pw { fill: var(--night); } .hero .pp { fill: var(--night-ink); }
.landing-bar .bar-in { min-height: 92px; }
.landing-bar .hero-brand { gap: 12px; font-size: 24px; letter-spacing: -.022em; }
.landing-bar .hero-brand .mark { width: 34px; height: 34px; }
.brand-pet .pe { animation-duration: 4.8s; }
.brand-word { line-height: 1; padding-top: 1px; }
.landing-bar .bar-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--night-line); font-size: 14.5px; transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.bar-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .landing-bar .bar-link:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); } .landing-bar .bar-link:hover .bar-arrow { transform: translate(2px, -2px); } }
@media (max-width: 640px) { .landing-bar .bar-link { display: inline-flex; padding: 8px 13px; font-size: 13.5px; } .page-band .landing-bar .bar-link { display: none; } .landing-bar .hero-brand { font-size: 21px; } .landing-bar .hero-brand .mark { width: 30px; height: 30px; } .landing-bar .bar-in { min-height: 76px; } }
/* the landing, calm: the claim alone; the phones have their own section below it */
.hero-solo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero-solo .hero-text { align-items: center; }
.hero-solo h1 { max-width: 12.5em; font-size: clamp(48px, 7vw, 96px); }
.hero-solo .lead { max-width: 30em; margin-inline: auto; }
.hero:has(.hero-solo) { min-height: 100svh; }
.hero-solo .hero-text { padding-block: clamp(24px, 6vh, 64px); }
#looks { padding-block: clamp(96px, 13vh, 144px); }
.looks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.looks-text { display: flex; flex-direction: column; gap: clamp(32px, 5vh, 48px); max-width: 460px; }
#looks .looks-wrap { width: min(100%, 500px); margin: 0; justify-self: center; }
@media (max-width: 900px) { .looks-grid { grid-template-columns: 1fr; } .looks-text { max-width: none; } #looks .looks-wrap { width: min(100%, 440px); } }
/* your AI, your way: the key and the agent */
.kb-h { padding: 12px 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.mcpbox { margin-top: 12px; padding: 16px 20px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.mcp-h { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.mcp-tag { padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.mcp-link { flex: 1; max-width: 70px; height: 0; border-top: 2px dashed var(--line-2); }
.mcp-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mcp-tools span { padding: 5px 10px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.mcp-note { margin-top: 10px; font-size: 13px; color: var(--ink-3); }

/* 2. native: two code windows of the same screen */
.codes { margin-top: clamp(40px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); gap: 20px; }
.code { min-width: 0; display: flex; flex-direction: column; background: var(--code-bg); border: 1px solid #0c0d10; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 22, 30, .06), 0 24px 48px -28px rgba(20, 22, 30, .4); }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--code-bar); border-bottom: 1px solid var(--code-line); font-size: 13px; }
.code-bar .plat { color: var(--code-type); font-weight: 700; }
.code-bar .file { color: var(--code-dim); font-family: var(--mono); font-size: 12.5px; }
.code pre { flex: 1; overflow-x: auto; padding: 20px 22px 22px; font: 400 12px/1.7 var(--mono); color: var(--code-text); tab-size: 4; }
pre code { font: inherit; }
.k { color: var(--code-key); }
.t { color: var(--code-type); font-weight: 600; }
.s { color: var(--code-str); }
.n { color: var(--code-num); }
.a { color: var(--code-attr); }
.c { color: var(--code-dim); }
.d { color: var(--code-type); font-weight: 600; }

/* 3. from a design tool into Burrow. One scene in container units, so it scales like a screenshot; the two windows overlap the way
   windows do on a desk. Back: a design tool with its layers, canvas and design panel, the frame selected. Front: Burrow's Studio with
   its screens, canvas and logic. Three sizes of unit: the scene's (where things are), the window chrome's (u, larger on a phone so the
   words stay readable) and the app's own (the frame, the flying copy and the phone's screen are containers, so the app inside looks the
   same at any size). It plays once on arrival (script.js adds .play; a click plays it again). Narrow screens stack the windows. */
.scene-card { container: fxcard / inline-size; }
#designs .wrap { max-width: calc(1280px + 2 * var(--gutter)); }
#designs .scene-card { padding: clamp(28px, 4vw, 56px); }
.scene.fx { --k: 1; --u: calc(var(--k) * 1cqw); --fw: 12.4cqw;
  --g-x: 40.55cqw; --g-y: 13.4cqw; --g-ax: 20.3cqw; --g-ay: -5.5cqw;
  --c0x: 30cqw; --c0y: 44cqw; --c1x: 22.5cqw; --c1y: 17cqw; --c2x: 42.8cqw; --c2y: 11.5cqw; --c3x: 63.05cqw; --c3y: 30.4cqw; --c4x: 78cqw; --c4y: 50cqw;
  --p-ph: -2.09cqw; --p-sx: 3.8cqw; --p-sy: 10.8cqw; --p-rx: 10.05cqw; --p-ry: 27.44cqw; --p-stx: 14cqw;
  position: relative; margin-top: clamp(36px, 5vh, 56px); aspect-ratio: 100 / 55; container-type: inline-size; cursor: pointer; }
.fx-win { position: absolute; overflow: hidden; border-radius: calc(1 * var(--u)); background: #f5f5f7; border: 1px solid #c3c9da; box-shadow: 0 calc(.3 * var(--u)) calc(.6 * var(--u)) rgba(20, 22, 30, .06), 0 calc(2.4 * var(--u)) calc(5 * var(--u)) calc(-2 * var(--u)) rgba(20, 22, 30, .32); font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); line-height: 1.3; }
.fx-fig { left: 0; top: 0; width: 52cqw; height: 36cqw; }
.fx-bur { left: 34cqw; top: 9cqw; width: 66cqw; height: 46cqw; z-index: 2; box-shadow: 0 calc(.3 * var(--u)) calc(.6 * var(--u)) rgba(20, 22, 30, .08), 0 calc(3 * var(--u)) calc(7 * var(--u)) calc(-2.4 * var(--u)) rgba(20, 22, 30, .45); }
.fx-bar { position: relative; display: flex; align-items: center; gap: calc(.8 * var(--u)); height: calc(3.2 * var(--u)); padding: 0 calc(1.1 * var(--u)); background: #1d1e22; color: #e8e9ed; font-size: calc(.95 * var(--u)); font-weight: 600; white-space: nowrap; }
.fx-dots { display: flex; gap: calc(.45 * var(--u)); margin-right: calc(.4 * var(--u)); } .fx-dots i { width: calc(.75 * var(--u)); height: calc(.75 * var(--u)); border-radius: 50%; background: #45474e; }
.fx-bar .fig-logo { width: calc(1 * var(--u)); height: calc(1.5 * var(--u)); } .fx-bar .bur-logo { width: calc(1.3 * var(--u)); height: calc(1.3 * var(--u)); fill: #fff; }
.fx-title { opacity: .85; }
.fx-share { margin-left: auto; padding: calc(.35 * var(--u)) calc(.9 * var(--u)); border-radius: calc(.5 * var(--u)); background: #3b6bff; color: #fff; font-size: calc(.8 * var(--u)); }
.fx-tabs { display: flex; gap: calc(.2 * var(--u)); margin-left: auto; padding: calc(.25 * var(--u)); border-radius: calc(.6 * var(--u)); background: #2a2b31; font-size: calc(.8 * var(--u)); }
.fx-tabs span { padding: calc(.3 * var(--u)) calc(.7 * var(--u)); border-radius: calc(.45 * var(--u)); color: #9a9da6; }
.fx-tabs .run { color: #fff; background: #3a3c44; }
.fx-live { display: inline-flex; align-items: center; gap: calc(.4 * var(--u)); padding: calc(.3 * var(--u)) calc(.7 * var(--u)); border-radius: 99px; background: rgba(63, 207, 142, .16); color: #5be0a3; font-style: normal; font-size: calc(.8 * var(--u)); }
.fx-live i { width: calc(.55 * var(--u)); height: calc(.55 * var(--u)); border-radius: 50%; background: #3fcf8e; }
.fx-side, .fx-props, .fx-rail { position: absolute; top: calc(3.2 * var(--u)); bottom: 0; display: flex; flex-direction: column; gap: calc(.2 * var(--u)); padding: calc(1 * var(--u)) calc(.9 * var(--u)); background: #fff; font-size: calc(.82 * var(--u)); color: var(--ink-2); }
.fx-side { left: 0; width: calc(10 * var(--u)); border-right: 1px solid #e3e5ea; }
.fx-rail { left: 0; width: calc(8.5 * var(--u)); border-right: 1px solid #e3e5ea; }
.fx-props { right: 0; width: calc(10 * var(--u)); border-left: 1px solid #e3e5ea; }
.fx-side b, .fx-props b, .fx-rail b { margin-bottom: calc(.5 * var(--u)); font-size: calc(.84 * var(--u)); color: var(--ink); }
.fx-side span, .fx-rail span { padding: calc(.35 * var(--u)) calc(.5 * var(--u)); border-radius: calc(.4 * var(--u)); white-space: nowrap; }
.fx-side .sub { padding-left: calc(1.4 * var(--u)); color: var(--ink-3); }
.fx-side .on, .fx-rail .on { background: #e8eeff; color: #1d4ed8; font-weight: 600; }
.fx-props span { display: flex; align-items: center; gap: calc(.45 * var(--u)); padding: calc(.45 * var(--u)) 0; border-bottom: 1px solid #f0f1f4; white-space: nowrap; }
.fx-props em { font-style: normal; color: var(--ink-3); } .fx-props .sw { width: calc(.9 * var(--u)); height: calc(.9 * var(--u)); border-radius: calc(.2 * var(--u)); background: #f4f5f7; border: 1px solid #d5d8df; }
.fx-canvas { position: absolute; top: calc(3.2 * var(--u)); bottom: 0; left: calc(10 * var(--u)); right: calc(10 * var(--u)); background: #e9eaee; }
.fx-flabel { position: absolute; left: 6cqw; top: 1.6cqw; font-size: calc(.74 * var(--u)); font-weight: 600; color: #1d4ed8; white-space: nowrap; }
.fx-flabel em { font-style: normal; color: var(--ink-3); margin-left: calc(.4 * var(--u)); }
.fx-frame, .fx-drop, .fx-ghost { width: var(--fw); aspect-ratio: 390 / 844; }
.fx-frame { position: absolute; left: 6cqw; top: 3.4cqw; container-type: inline-size; }
.fx-sel { position: absolute; inset: calc(-.25 * var(--u)); border: calc(.12 * var(--u)) solid #3b6bff; opacity: 0; }
.fx-sel i { position: absolute; width: calc(.6 * var(--u)); height: calc(.6 * var(--u)); background: #fff; border: calc(.12 * var(--u)) solid #3b6bff; }
.fx-sel i:nth-child(1) { left: calc(-.35 * var(--u)); top: calc(-.35 * var(--u)); } .fx-sel i:nth-child(2) { right: calc(-.35 * var(--u)); top: calc(-.35 * var(--u)); } .fx-sel i:nth-child(3) { left: calc(-.35 * var(--u)); bottom: calc(-.35 * var(--u)); } .fx-sel i:nth-child(4) { right: calc(-.35 * var(--u)); bottom: calc(-.35 * var(--u)); }
.fx-stage { position: absolute; top: calc(3.2 * var(--u)); bottom: 0; left: calc(8.5 * var(--u)); right: calc(17 * var(--u)); background-color: #f6f7f9; background-image: radial-gradient(#d9dce3 calc(.12 * var(--u)), transparent calc(.14 * var(--u))); background-size: calc(1.6 * var(--u)) calc(1.6 * var(--u)); }
.fx-drop { position: absolute; left: 14.05cqw; top: 7.8cqw; display: grid; place-items: center; border: calc(.14 * var(--u)) dashed #b8bfd0; border-radius: calc(.8 * var(--u)); font-size: calc(.82 * var(--u)); font-weight: 600; color: var(--ink-3); }
.fx-phone { position: absolute; left: 13.45cqw; top: 5.71cqw; width: calc(var(--fw) / .912); padding: calc(var(--fw) * .0482); border-radius: calc(var(--fw) * .137); background: #0b0b0d; box-shadow: 0 0 0 calc(.1 * var(--u)) #3b3c42, 0 calc(1.6 * var(--u)) calc(3 * var(--u)) calc(-1.4 * var(--u)) rgba(0, 0, 0, .55); }
.fx-screen { position: relative; aspect-ratio: 1 / 2.284; overflow: hidden; border-radius: calc(var(--fw) * .089); background: #f4f5f7; container-type: inline-size; }
.fx-status { position: absolute; left: 0; right: 0; top: 0; height: 12cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 8cqw; font-size: 5cqw; font-weight: 700; color: var(--app-ink); }
.fx-status i { width: 12cqw; height: 4cqw; border-radius: 1.3cqw; background: var(--app-ink); }
.fx-toast { position: absolute; z-index: 3; left: 5cqw; right: 5cqw; top: 14cqw; padding: 3.6cqw 4.4cqw; border-radius: 4.6cqw; background: var(--app-ink); color: #fff; font-size: 5cqw; font-weight: 600; box-shadow: 0 4cqw 9cqw -4cqw rgba(0, 0, 0, .5); }
.fx-logic { position: absolute; top: calc(3.2 * var(--u)); bottom: 0; right: 0; width: calc(17 * var(--u)); padding: calc(1 * var(--u)) calc(.9 * var(--u)); background: #fff; border-left: 1px solid #e3e5ea; font-size: calc(.82 * var(--u)); }
.fx-logic b { display: block; margin-bottom: calc(.8 * var(--u)); font-size: calc(.84 * var(--u)); } .fx-logic b em { font-style: normal; font-weight: 500; color: var(--ink-3); margin-left: calc(.3 * var(--u)); }
.fx-logic ol { display: flex; flex-direction: column; gap: calc(.7 * var(--u)); }
.fx-logic li { position: relative; padding: calc(.6 * var(--u)) calc(2 * var(--u)) calc(.6 * var(--u)) calc(.7 * var(--u)); border-radius: calc(.6 * var(--u)); border: 1px solid #e3e5ea; background: #fff; font-weight: 600; color: var(--ink-2); font-size: calc(.78 * var(--u)); }
.fx-logic li i { font-style: normal; color: #1d4ed8; }
.fx-logic li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.2 * var(--u)); bottom: calc(-.75 * var(--u)); width: 1px; height: calc(.7 * var(--u)); background: #cfd4de; }
.fx-logic .ck { position: absolute; right: calc(.55 * var(--u)); top: 50%; width: calc(1.1 * var(--u)); height: calc(1.1 * var(--u)); margin-top: calc(-.55 * var(--u)); border-radius: 50%; background: var(--ok); }
.fx-logic .ck::after { content: ""; position: absolute; left: calc(.37 * var(--u)); top: calc(.2 * var(--u)); width: calc(.28 * var(--u)); height: calc(.5 * var(--u)); border-right: calc(.14 * var(--u)) solid #fff; border-bottom: calc(.14 * var(--u)) solid #fff; transform: rotate(45deg); }
.fx-ghost { position: absolute; left: 16cqw; top: 6.6cqw; z-index: 5; opacity: 0; container-type: inline-size; transform-origin: 50% 30%; }
/* the app, the same at any size: a design in the frame, the copy in flight, and the running thing on the phone's screen */
.fx-app { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4.8cqw; padding: 9cqw 8cqw; border-radius: 6cqw; background: #f4f5f7; color: var(--app-ink); font-size: 5.6cqw; line-height: 1.25; overflow: hidden; box-shadow: 0 1.5cqw 4cqw rgba(20, 22, 30, .12); }
.fx-screen .fx-app { top: 12cqw; border-radius: 0; box-shadow: none; }
.fx-ghost .fx-app { box-shadow: 0 20cqw 34cqw -12cqw rgba(20, 22, 30, .5); }
.fx-hi { display: flex; flex-direction: column; font-size: 7.4cqw; font-weight: 700; } .fx-hi small { font-size: 5cqw; font-weight: 500; color: var(--app-muted); }
.fx-bal { display: flex; flex-direction: column; padding: 7.3cqw; border-radius: 7.3cqw; background: linear-gradient(135deg, #1d4ed8, #4a78ff); color: #fff; }
.fx-bal small { font-size: 4.7cqw; opacity: .85; } .fx-bal b { font-size: 11.4cqw; letter-spacing: -.02em; }
.fx-send { position: relative; flex: none; display: grid; place-items: center; height: 17.3cqw; border-radius: 99px; background: var(--app-ink); color: #fff; font-size: 5.8cqw; font-weight: 700; }
.fx-send::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2cqw #3b6bff; opacity: 0; }
.fx-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4.1cqw; } .fx-acts i { aspect-ratio: 1; border-radius: 4.5cqw; background: #fff; }
.fx-row { display: flex; align-items: center; gap: 3.6cqw; padding: 2.7cqw 3.6cqw; border-radius: 4.5cqw; background: #fff; font-size: 5.1cqw; font-weight: 600; white-space: nowrap; }
.fx-row i { width: 10.9cqw; height: 10.9cqw; border-radius: 50%; background: #eef0f4; flex: none; } .fx-row em { margin-left: auto; font-style: normal; } .fx-row em.in { color: var(--app-green); }
.fx-pet { position: absolute; left: 61.15cqw; top: 16.8cqw; z-index: 6; width: calc(3.2 * var(--u)); height: calc(3.2 * var(--u)); transform-origin: 50% 100%; }
.fx-pet svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fx-pet .pp { transform: translate(1.1px, -.3px); }
.fx-cursor { position: absolute; left: 0; top: 0; z-index: 7; width: calc(2 * var(--u)); height: calc(2 * var(--u)); fill: var(--ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; opacity: 0; }
/* the end state is the default; before the play, the start state */
.pets #designs:not(.play) .fx-phone, .pets #designs:not(.play) .fx-logic .ck, .pets #designs:not(.play) .fx-toast, .pets #designs:not(.play) .fx-live, .pets #designs:not(.play) .fx-pet { opacity: 0; }
.fx-drop { opacity: 0; } .pets #designs:not(.play) .fx-drop { opacity: 1; }
.play .fx-sel { animation: f-sel 7600ms linear both; }
.play .fx-cursor { animation: f-cur 7600ms var(--ease-out) both; }
.play .fx-ghost { animation: f-ghost 7600ms cubic-bezier(.45, 0, .25, 1) both; }
.play .fx-drop { animation: f-drop 7600ms linear both; }
.play .fx-phone { animation: f-phone 7600ms var(--spring) both; }
.play .fx-live { animation: f-live 7600ms var(--ease-out) both; }
.play .fx-pet { animation: f-pet 7600ms var(--ease-out) both; }
.play .fx-pet .pp { animation: f-look 7600ms linear both; }
.play .fx-live-app .fx-send { animation: f-send 7600ms var(--ease-out) both; }
.play .fx-live-app .fx-send::after { animation: f-ring 7600ms var(--ease-out) both; }
.play .fx-logic li:nth-child(1) { animation: f-li1 7600ms var(--ease-out) both; } .play .fx-logic li:nth-child(2) { animation: f-li2 7600ms var(--ease-out) both; }
.play .fx-logic li:nth-child(3) { animation: f-li3 7600ms var(--ease-out) both; } .play .fx-logic li:nth-child(4) { animation: f-li4 7600ms var(--ease-out) both; }
.play .fx-logic li:nth-child(1) .ck { animation: f-ck1 7600ms var(--spring) both; } .play .fx-logic li:nth-child(2) .ck { animation: f-ck2 7600ms var(--spring) both; }
.play .fx-logic li:nth-child(3) .ck { animation: f-ck3 7600ms var(--spring) both; } .play .fx-logic li:nth-child(4) .ck { animation: f-ck4 7600ms var(--spring) both; }
.play .fx-toast { animation: f-toast 7600ms var(--spring) both; }
@keyframes f-cur { 0% { transform: translate(var(--c0x), var(--c0y)); opacity: 0; } 3.29% { opacity: 1; } 9.87% { transform: translate(var(--c1x), var(--c1y)); } 12.50% { transform: translate(var(--c1x), var(--c1y)) scale(.85); } 22.37% { transform: translate(var(--c2x), var(--c2y)) scale(.85); } 32.24% { transform: translate(var(--c3x), var(--c3y)) scale(.85); opacity: 1; } 33.95% { transform: translate(var(--c3x), var(--c3y)) scale(1); } 39.47%, 100% { transform: translate(var(--c4x), var(--c4y)); opacity: 0; } }
@keyframes f-ghost { 0%, 12.50% { opacity: 0; transform: none; } 13.16% { opacity: 1; transform: translate(0, calc(-.5 * var(--u))) scale(1.03); } 22.37% { transform: translate(var(--g-ax), var(--g-ay)) rotate(-3deg) scale(1.08); } 32.24% { opacity: 1; transform: translate(var(--g-x), calc(var(--g-y) - calc(.5 * var(--u)))) scale(1.03); } 34.21%, 48.68% { opacity: 1; transform: translate(var(--g-x), var(--g-y)); } 51.32%, 100% { opacity: 0; transform: translate(var(--g-x), var(--g-y)); } }
@keyframes f-pet { 0%, 36.18% { opacity: 0; transform: translate(var(--p-stx), var(--p-ry)); } 37.24% { opacity: 1; } 41.45% { transform: translate(calc(var(--p-stx) * .45), calc(-4.5 * var(--u))) rotate(-10deg); } 43.03% { transform: translate(0, 0) scale(1.16, .82); } 44.47% { transform: translate(0, 0); } 45.39% { transform: translate(0, calc(-.5 * var(--u))); } 46.58% { transform: translate(0, 0) scale(1.24, .76); } 48.68% { transform: translate(0, calc(var(--p-ph) - calc(1.2 * var(--u)))); } 51.32% { transform: translate(0, var(--p-ph)); } 55.92% { transform: translate(calc(var(--p-sx) * .5), calc(var(--p-ph) - calc(2 * var(--u)))) rotate(6deg); } 59.21% { transform: translate(var(--p-sx), var(--p-sy)) scale(1.14, .84); } 60.53% { transform: translate(var(--p-sx), var(--p-sy)); } 62.11% { transform: translate(var(--p-sx), var(--p-sy)) scale(1.2, .78); } 63.95%, 85.53% { transform: translate(var(--p-sx), var(--p-sy)); } 88.82% { transform: translate(calc((var(--p-sx) + var(--p-rx)) * .5), calc(var(--p-sy) - calc(2.5 * var(--u)))) rotate(8deg); } 92.11% { transform: translate(var(--p-rx), var(--p-ry)) scale(1.12, .86); } 94.08%, 100% { opacity: 1; transform: translate(var(--p-rx), var(--p-ry)); } }
@keyframes f-toast { 0%, 82.89% { opacity: 0; transform: translateY(-8cqw) scale(.96); } 86.84%, 100% { opacity: 1; transform: none; } }
@keyframes f-sel { 0%, 9.21% { opacity: 0; } 10.79%, 13.82% { opacity: 1; } 15.13%, 100% { opacity: 0; } }
@keyframes f-drop { 0%, 32.24% { opacity: 1; } 34.21%, 100% { opacity: 0; } }
@keyframes f-phone { 0%, 46.05% { opacity: 0; transform: scale(.94); } 47.37% { opacity: 1; } 52.63%, 100% { opacity: 1; transform: none; } }
@keyframes f-live { 0%, 51.32% { opacity: 0; } 54.61%, 100% { opacity: 1; } }
@keyframes f-look { 0%, 47.37% { transform: translate(0, 1.2px); } 57.89%, 63.16% { transform: translate(0, 1.4px); } 65.13%, 85.53% { transform: translate(1.3px, 0); } 89.47%, 100% { transform: translate(1.1px, -.3px); } }
@keyframes f-send { 0%, 61.84% { transform: none; background: var(--app-ink); } 62.89% { transform: scale(.93); background: #1d4ed8; } 66.45%, 100% { transform: none; background: var(--app-ink); } }
@keyframes f-ring { 0%, 62.37% { opacity: 0; transform: scale(1); } 63.42% { opacity: 1; } 69.08%, 100% { opacity: 0; transform: scale(1.18, 1.5); } }
@keyframes f-li1 { 0%, 62.76% { border-color: #e3e5ea; box-shadow: none; } 63.82%, 67.76% { border-color: #3b6bff; box-shadow: 0 0 0 calc(.28 * var(--u)) #e3ebff; } 69.74%, 100% { border-color: #e3e5ea; box-shadow: none; } }
@keyframes f-li2 { 0%, 68.03% { border-color: #e3e5ea; box-shadow: none; } 69.08%, 73.03% { border-color: #3b6bff; box-shadow: 0 0 0 calc(.28 * var(--u)) #e3ebff; } 75.00%, 100% { border-color: #e3e5ea; box-shadow: none; } }
@keyframes f-li3 { 0%, 73.29% { border-color: #e3e5ea; box-shadow: none; } 74.34%, 78.29% { border-color: #3b6bff; box-shadow: 0 0 0 calc(.28 * var(--u)) #e3ebff; } 80.26%, 100% { border-color: #e3e5ea; box-shadow: none; } }
@keyframes f-li4 { 0%, 78.55% { border-color: #e3e5ea; box-shadow: none; } 79.61%, 83.55% { border-color: #3b6bff; box-shadow: 0 0 0 calc(.28 * var(--u)) #e3ebff; } 85.53%, 100% { border-color: #e3e5ea; box-shadow: none; } }
@keyframes f-ck1 { 0%, 66.18% { opacity: 0; transform: scale(.3); } 68.55%, 100% { opacity: 1; transform: none; } }
@keyframes f-ck2 { 0%, 71.45% { opacity: 0; transform: scale(.3); } 73.82%, 100% { opacity: 1; transform: none; } }
@keyframes f-ck3 { 0%, 76.71% { opacity: 0; transform: scale(.3); } 79.08%, 100% { opacity: 1; transform: none; } }
@keyframes f-ck4 { 0%, 81.97% { opacity: 0; transform: scale(.3); } 84.34%, 100% { opacity: 1; transform: none; } }
/* narrow: the windows stack, the design tool above and Burrow below it; the side panels a phone has no room for step aside,
   the chrome grows so its words stay readable, and the card gives the scene its full width */
@media (max-width: 640px) { #designs .scene-card { padding: 28px 12px 12px; } #designs .scene-card .block-head, #designs .scene-card .pair { padding-inline: 10px; } }
@container fxcard (max-width: 640px) {
  .scene.fx { --k: 2.5; --fw: 20cqw; aspect-ratio: 100 / 130;
    --g-x: -31.75cqw; --g-y: 62.9cqw; --g-ax: -23cqw; --g-ay: 28cqw;
    --c0x: 88cqw; --c0y: 40cqw; --c1x: 62.5cqw; --c1y: 32cqw; --c2x: 39.5cqw; --c2y: 60cqw; --c3x: 30.75cqw; --c3y: 94.9cqw; --c4x: 62cqw; --c4y: 124cqw;
    --p-ph: -3.365cqw; --p-sx: 5.2cqw; --p-sy: 18.5cqw; --p-rx: 16.45cqw; --p-ry: 44.27cqw; --p-stx: 21cqw; }
  .fx-fig { width: 100cqw; height: 62cqw; }
  .fx-bur { left: 4cqw; top: 58cqw; width: 96cqw; height: 72cqw; }
  .fx-props, .fx-rail { display: none; }
  .fx-canvas { right: 0; }
  .fx-stage { left: 0; }
  .fx-flabel { left: 27.5cqw; top: 2.4cqw; }
  .fx-frame { left: 27.5cqw; top: 5.5cqw; }
  .fx-drop { left: 16.75cqw; top: 10.4cqw; }
  .fx-phone { left: 15.785cqw; top: 7.035cqw; }
  .fx-ghost { left: 52.5cqw; top: 13.5cqw; }
  .fx-pet { left: 26.75cqw; top: 68.4cqw; }
}

/* 4. design, code and AI in sync: three panes, one button */
.sync { margin-top: clamp(40px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, .95fr); gap: 16px; }
.pane { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: var(--bg-2); }
.pane-t { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pane-t svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mini-phone { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--app-ink); }
.mp-amt { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.mp-to { font-size: 14px; color: var(--app-muted); margin-bottom: 18px; }
.mp-btns { display: grid; justify-items: center; width: 100%; }
.mp-btn { grid-area: 1 / 1; display: grid; place-items: center; height: 44px; padding: 0 26px; border-radius: 99px; background: var(--app-blue); color: #fff; font-size: 15px; font-weight: 600; }
.mp-btn.b2, .mp-btn.b3 { width: 100%; }
.p-code pre { flex: 1; padding: 18px; border-radius: 12px; background: var(--code-bg); color: var(--code-text); font: 400 12px/1.75 var(--mono); overflow-x: auto; }
.alt { display: grid; }
.cl { grid-area: 1 / 1; display: block; border-radius: 4px; margin-inline: -6px; padding-inline: 6px; }
.bub { max-width: 92%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.bub.you { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bub.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bub.sys { align-self: center; max-width: 100%; text-align: center; font-size: 13px; color: var(--ink-3); background: transparent; padding: 4px 0; }
/* the still: the end of the story, for reduced motion and before the first frame */
.b1, .b2, .c1, .c2 { opacity: 0; }
@keyframes kc1 { 0%, 20% { opacity: 1; } 22%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes kc2 { 0%, 20% { opacity: 0; background: transparent; } 22% { opacity: 1; background: rgba(142, 173, 255, .22); } 36%, 55% { opacity: 1; background: transparent; } 58%, 100% { opacity: 0; } }
@keyframes kc3 { 0%, 56% { opacity: 0; background: transparent; } 58% { opacity: 1; background: rgba(142, 173, 255, .22); } 72%, 96% { opacity: 1; background: transparent; } 100% { opacity: 0; } }
@keyframes kb1 { 0%, 23% { opacity: 1; } 26%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes kb2 { 0%, 23% { opacity: 0; } 26%, 60% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes kb3 { 0%, 60% { opacity: 0; } 63%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ka1 { 0%, 3% { opacity: 0; transform: translateY(6px); } 8%, 96% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
@keyframes ka2 { 0%, 12% { opacity: 0; transform: translateY(6px); } 17%, 96% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
@keyframes ka3 { 0%, 64% { opacity: 0; transform: translateY(6px); } 69%, 96% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
.sync .c1 { animation: kc1 10s linear infinite; }
.sync .c2 { animation: kc2 10s linear infinite; }
.sync .c3 { animation: kc3 10s linear infinite; }
.sync .b1 { animation: kb1 10s linear infinite; }
.sync .b2 { animation: kb2 10s linear infinite; }
.sync .b3 { animation: kb3 10s linear infinite; }
.sync .a1 { animation: ka1 10s var(--ease-out) infinite; }
.sync .a2 { animation: ka2 10s var(--ease-out) infinite; }
.sync .a3 { animation: ka3 10s var(--ease-out) infinite; }

/* 5. your key, and anything you already run: two big cards */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card-big { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 44px); border-radius: 20px; background: var(--bg-2); }
.h-card { font-size: clamp(28px, 3vw, 40px); }
.card-big .line { font-size: 17px; }
.keybox { margin-top: auto; padding: 8px 20px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.kb-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kb-row span { color: var(--ink-3); }
.kb-row b { font-weight: 600; text-align: right; }
.kb-key { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; }
.kb-key svg { width: 15px; height: 15px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; }
.kb-ok { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ok); }
.kb-ok i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hub { position: relative; margin-top: 8px; height: 220px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.hub-core, .hub-n { position: absolute; z-index: 1; transform: translate(-50%, -50%); white-space: nowrap; }
.hub-core { left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; }
.hub-core .mark { width: 18px; height: 18px; fill: #fff; }
.hub-n { padding: 7px 12px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.n1 { left: 17.5%; top: 18%; } .n2 { left: 82.5%; top: 18%; } .n3 { left: 17.5%; top: 82%; } .n4 { left: 82.5%; top: 82%; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
.also > span { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.logos li { display: flex; align-items: center; }
.logos svg { height: 19px; width: auto; }
.logos .supabase path { fill: var(--logo-supabase); }
.logos .firebase path { fill: var(--logo-firebase); }
.logos .stripe path { fill: var(--logo-stripe); }
.logos .plus { display: none; }

/* icons: one set, drawn for this page, 24px grid, one stroke */
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); flex: none; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .ico-fill, .ico svg .ico-fill { fill: currentColor; stroke: none; }

/* 6. made to scale: the one dark section */
.dark { background: var(--night); color: var(--night-ink); }
.dark .line { color: var(--night-ink-2); }
.dark :focus-visible { outline-color: #8eadff; }
.proof { margin-top: clamp(44px, 6vh, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof li { padding: 28px; border-radius: 16px; background: var(--night-2); border: 1px solid var(--night-line); }
.proof .ico { background: var(--night-3); border-color: var(--night-line); color: #fff; }
.proof h3 { margin-top: 22px; font-size: 20px; color: var(--night-ink); }
.proof p { margin-top: 6px; font-size: 15px; color: var(--night-ink-2); text-wrap: pretty; }

/* the dark chapters: the code, your key and your backend, and scale */
.dark ::selection { background: #2c4aa8; color: #fff; }
.dark .code { border-color: var(--night-line); box-shadow: none; }
.dark .card-big { background: var(--night-2); border: 1px solid var(--night-line); }
.dark .keybox, .dark .hub { background: var(--night-3); border-color: var(--night-line); }
.dark .kb-row { border-bottom-color: var(--night-line); }
.dark .kb-row span { color: var(--night-ink-3); }
.dark .kb-key svg { stroke: var(--night-ink-3); }
.dark .kb-ok { color: #4ade80; }
.dark .kb-ok i { background: #4ade80; }
.dark .hub-lines path { stroke: #3a3d46; }
.dark .hub-core { background: var(--night-ink); color: var(--ink); }
.dark .hub-core .mark { fill: var(--ink); }
.dark .hub-n { background: var(--night-2); border-color: var(--night-line); color: var(--night-ink-2); }
.dark .also > span { color: var(--night-ink-3); }
.dark .logos .supabase path, .dark .logos .firebase path, .dark .logos .stripe path { fill: var(--night-ink); }

/* made to scale: the one section on its own black stage */
#scale { padding-block: clamp(120px, 16vh, 200px); }
.h-big { font-size: clamp(56px, 8.6vw, 124px); letter-spacing: -.05em; line-height: .98; max-width: none; }
#scale .block-head .line { font-size: clamp(19px, 1.8vw, 24px); max-width: 26em; }
#scale .proof { margin-top: clamp(56px, 8vh, 88px); gap: 18px; }
#scale .proof li { padding: 34px 32px 36px; }
#scale .proof .ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(142, 173, 255, .12); border-color: rgba(142, 173, 255, .28); color: #9db8ff; }
#scale .proof .ico svg { width: 26px; height: 26px; }
#scale .proof h3 { margin-top: 26px; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.02em; }
#scale .proof p { font-size: 16px; }

/* 7. everything in one studio */
.feat { margin-top: clamp(44px, 6vh, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feat li { padding: 24px; border-radius: 16px; background: var(--bg-2); }
.feat h3 { margin-top: 18px; font-size: 17px; }
.feat p { margin-top: 5px; font-size: 14.5px; color: var(--ink-2); text-wrap: pretty; }
.feat .later { background: transparent; border: 1px dashed var(--line-2); }
.feat .later h3, .feat .later p, .feat .later .ico { color: var(--ink-3); }

/* build notes: the list and a note */
.notes { padding-block: clamp(56px, 9vh, 104px) clamp(80px, 11vh, 128px); }
.notes h1 { font-size: clamp(40px, 5vw, 64px); }
.note-list { margin-top: clamp(40px, 5vh, 56px); border-top: 1px solid var(--line); }
.note-list li { border-bottom: 1px solid var(--line); }
.note { display: grid; grid-template-columns: 11em minmax(0, 1fr); column-gap: 32px; padding-block: 28px; text-decoration: none; color: inherit; }
.note time { grid-row: span 2; font-size: 14px; font-weight: 600; color: var(--ink-3); padding-top: 4px; }
.note h2 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.02em; max-width: none; transition: color 160ms var(--ease-out); }
.note p { margin-top: 6px; font-size: 16px; color: var(--ink-2); max-width: 40em; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .note:hover h2 { color: var(--link); } }
.post { max-width: calc(720px + 2 * var(--gutter)); padding-block: clamp(40px, 7vh, 80px) clamp(80px, 11vh, 120px); }
.post .back { font-size: 15px; font-weight: 600; margin-bottom: clamp(32px, 5vh, 48px); }
.post .back a { color: var(--ink-3); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .post .back a:hover { color: var(--ink); } }
.post time { display: block; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.post h1 { margin-top: 12px; font-size: clamp(34px, 4.4vw, 52px); }
.post-lead { margin-top: 18px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.post-body { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.post-body p, .post-body li { font-size: 18px; line-height: 1.7; color: var(--ink); text-wrap: pretty; }
.post-body p + p, .post-body p + ul, .post-body ul + p { margin-top: 20px; }
.post-body ul { display: flex; flex-direction: column; gap: 10px; }
.post-body li { position: relative; padding-left: 22px; }
.post-body li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--link); }
.post-body b { font-weight: 700; }
.post-nav { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
.post-nav a span { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.post-nav .newer { grid-column: 2; text-align: right; }
@media (hover: hover) and (pointer: fine) { .post-nav a:hover { color: var(--link); } }

/* footer: the big wordmark the owner liked, now white on black */
.foot { padding-block: 88px 44px; background: var(--night); color: var(--night-ink); }
.foot-name { font-size: clamp(64px, 12vw, 160px); font-weight: 700; letter-spacing: -.04em; line-height: .95; display: flex; align-items: center; gap: .12em; }
.foot .mark { width: .62em; height: .62em; fill: var(--night-ink); }
.foot-line { color: var(--night-ink-2); font-size: 18px; margin-top: 18px; }
.foot-small { color: var(--night-ink-3); font-size: 14px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 48px; }
.foot-small a { color: var(--night-ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: #4a4e58; }
.foot :focus-visible { outline-color: #8eadff; }
@media (hover: hover) and (pointer: fine) { .foot-small a:hover { color: var(--night-ink); text-decoration-color: var(--night-ink); } }

/* small joys: the phones float, and every Burrow mark and card icon tilts up the way the footer mark does */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }
.brand .mark, .foot-name .mark, .pair-bur, .bur-logo, .hub-core .mark, .ico { transition: transform 420ms var(--spring); }
.top .mark { transition: transform 420ms var(--spring), fill 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .brand:hover .mark, .pair:hover .pair-bur, .win-bur:hover .bur-logo, .card-big:hover .hub-core .mark { transform: translateY(-2px) rotate(-8deg); }
  .foot-name:hover .mark { transform: translateY(-.08em) rotate(-4deg); }
  .feat li:hover .ico, .proof li:hover .ico, .pane:hover .pane-t svg { transform: translateY(-4px) rotate(-8deg); }
}
.pane-t svg { transition: transform 420ms var(--spring); }

/* transitions: one language for the whole page. Things rise out of a mask, spring into place, and answer the pointer.
   Everything here stops with reduced motion. */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; animation: word-up 1000ms var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes word-up { from { transform: translateY(108%); } to { transform: translateY(0); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(70px) rotate(var(--r)) scale(.94); } to { opacity: 1; transform: none; } }
.js .block-head.rv h2:not(.h-big) { clip-path: inset(0 0 100% 0); transform: translateY(.45em); transition: clip-path 1000ms var(--ease-out), transform 1000ms var(--ease-out); }
.js .block-head.rv.in h2:not(.h-big) { clip-path: inset(-.2em -.2em -.3em -.2em); transform: none; }
@supports (animation-timeline: view()) {
  #scale .h-big { animation: big-in linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
  @keyframes big-in { from { transform: scale(.78); opacity: .15; } to { transform: none; opacity: 1; } }
}
.spot { background-image: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(26, 79, 214, .08), transparent 45%); }
.dark .spot, #scale .proof li { background-image: radial-gradient(380px circle at var(--mx, -500px) var(--my, -500px), rgba(142, 173, 255, .13), transparent 45%); }
.top .btn-primary.mag { transition: background-color 320ms var(--ease-out), border-color 320ms var(--ease-out), color 320ms var(--ease-out), transform 360ms var(--spring); }
.js .foot:not(.in) .foot-name .mark { opacity: 0; }
.js .foot.in .foot-name .mark { animation: mark-pop 1100ms var(--spring) backwards; animation-delay: 150ms; }
@keyframes mark-pop { from { opacity: 0; transform: translateY(.45em) rotate(-24deg) scale(.7); } 60% { opacity: 1; transform: translateY(-.08em) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* the other pages: a black band with the bar and the title, then white reading, then the footer */
.page-band { background: var(--night); color: var(--night-ink); padding-bottom: clamp(56px, 9vh, 104px); }
.page-band .landing-bar { position: relative; }
.band-in { padding-top: clamp(28px, 6vh, 72px); }
.page-band h1 { font-size: clamp(40px, 5.6vw, 76px); max-width: 14em; color: var(--night-ink); }
.page-band .lead { color: var(--night-ink-2); }
.band-back { display: inline-flex; gap: 8px; margin-bottom: 32px; font-size: 15px; font-weight: 600; color: var(--night-ink-3); text-decoration: none; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .band-back:hover { color: var(--night-ink); } }
.band-date { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--night-ink-3); }
.notes-wrap { padding-block: clamp(56px, 8vh, 96px) clamp(96px, 12vh, 140px); }
.post-wrap { padding-block: clamp(48px, 8vh, 96px) clamp(96px, 12vh, 140px); }
.post-col { max-width: calc(740px + 2 * var(--gutter)); }
.post-wrap .post-body { margin-top: 0; padding-top: 0; border-top: 0; }

/* the footer: the wordmark, the line, three columns of links, and who made it */
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px 64px; margin-top: 22px; }
.foot-row .foot-line { margin-top: 0; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px clamp(36px, 6vw, 96px); }
.foot-cols h3 { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--night-ink-3); }
.foot-cols a { display: block; padding-block: 5px; font-size: 15px; color: var(--night-ink-2); text-decoration: none; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { color: var(--night-ink); } }
.foot-cols a:focus-visible { outline: 2px solid #8eadff; outline-offset: 3px; border-radius: 4px; }
.foot-small { justify-content: flex-start; }
@media (max-width: 760px) { .foot-row { flex-direction: column; } }

/* the notes: section heads, the build log rows, headings inside a note, the FAQ */
.notes-h { margin-bottom: 22px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.notes-h2 { margin-top: clamp(64px, 9vh, 104px); }
.log-list { border-top: 1px solid var(--line); }
.log-list li { border-bottom: 1px solid var(--line); }
.log-row { display: grid; grid-template-columns: 11em minmax(0, 1fr) auto; align-items: baseline; gap: 24px; padding: 20px 4px; color: var(--ink); text-decoration: none; transition: background-color 200ms var(--ease-out), padding 300ms var(--spring); }
.log-row time { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.log-t { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.post-body h2 { margin-top: 44px; margin-bottom: 4px; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; max-width: none; }
.post-body h2:first-child { margin-top: 0; }
.post-body h2 + p, .post-body h2 + ul { margin-top: 12px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.6vw, 19px); font-weight: 650; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink-2); transition: transform 300ms var(--spring); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 6px; }
.faq-a { padding: 0 4px 24px; }
.faq-a p { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 40em; }
.faq-item[open] .faq-a { animation: faq-open 360ms var(--ease-out); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .log-row { grid-template-columns: 1fr auto; } .log-row time { grid-column: 1 / -1; } }

/* hero entrance, once */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.hero-in { animation: rise 700ms var(--ease-out) both; }
.hero-in.d1 { animation-delay: 80ms; }
.hero-in.d2 { animation-delay: 160ms; }

/* with motion off: every scene shows its last frame */
/* the notes: an editorial list with no tags. The newest article leads in large type; the others sit in an even grid between
   hairlines; the build log is a quiet dated list. Hover underlines the title. */
.nt-date { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.nt-feature { display: flex; flex-direction: column; gap: 16px; padding-bottom: clamp(48px, 7vh, 72px); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nt-feature h2 { max-width: 15em; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.nt-feature p { max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.nt-read { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.nt-read span { display: inline-block; transition: transform 300ms var(--spring); }
.nt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.nt-grid li { display: flex; border-bottom: 1px solid var(--line); }
.nt-item { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-block: 34px 38px; color: var(--ink); text-decoration: none; }
.nt-item h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.nt-item p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.nt-feature h2, .nt-item h3, .nt-next h2 { text-decoration: underline 1.5px transparent; text-underline-offset: .16em; transition: text-decoration-color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nt-feature:hover h2, .nt-item:hover h3, .nt-next:hover h2 { text-decoration-color: currentColor; }
  .nt-feature:hover .nt-read span, .nt-next:hover .nt-read span { transform: translateX(4px); }
  .log-row:hover .log-t { text-decoration: underline 1.5px; text-underline-offset: .2em; }
}
.nt-feature:focus-visible, .nt-item:focus-visible, .nt-next:focus-visible, .log-row:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 4px; }
.log-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: clamp(80px, 11vh, 120px) 0 20px; }
.log-head .notes-h { margin: 0; }
.log-head p { font-size: 15px; color: var(--ink-3); }
.log-row { grid-template-columns: 11em minmax(0, 1fr); }
.nt-next { display: flex; flex-direction: column; gap: 10px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nt-next + .nt-next { margin-top: 40px; }
.nt-next h2 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.025em; }
@media (max-width: 1000px) { .nt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nt-grid { grid-template-columns: 1fr; } .log-row { grid-template-columns: 1fr; gap: 4px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in, .scene *, .sync *, .hero .dev { animation: none !important; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .split .w > span, .hero .dev-wrap, #scale .h-big, .js .foot.in .foot-name .mark { animation: none !important; transform: none !important; opacity: 1 !important; }
  .js .block-head.rv h2 { clip-path: none !important; transform: none !important; }
  .combo .dev-droid .dev-screen > .app { transition: none; }
  .modes .dev-droid .dev-screen > .app, .mode span { animation: none !important; }
  .top .brand .mark, .hero-brand .mark { animation: none !important; }
  .ph, .flip, .ph-and .front .dev-screen > .app, .mode-ind, .mode-item { transition: none !important; }
  .pe { animation: none !important; }
  .ai-pet, .ai-pet .pp, .caret-pet svg, .hub-core .pp, .hub-lines path, .sleep-pet svg, .zz i { animation: none !important; }
  .dot-pet { transition: none !important; animation: none !important; }
  .float-cta, .wl, .wl-input { transition: opacity 120ms linear !important; }
  .wl-pet svg, .wl-spark i, .wl-text span span, .wl.shake { animation: none !important; }
  .wl-text span span { opacity: 1; transform: none; }
  .wl.morphing { transition: none !important; }
  .wl-float.open, .wl-float.joined, .wl-float.soon { animation: none !important; }
  .modes .v-native { opacity: 1 !important; transform: none !important; }
  .mode .m1 { background: var(--night-ink); color: var(--ink); }
  .sync .c1, .sync .c2, .sync .b1, .sync .b2 { opacity: 0; }
  .sync .c3, .sync .b3, .sync .a1, .sync .a2, .sync .a3 { opacity: 1; }
}

/* narrower screens */
@media (max-width: 1080px) {
  .feat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sync { grid-template-columns: 1fr 1fr; }
  .p-code { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .phones { width: min(100%, 520px); }
  .codes { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 1fr 1fr; }
  .status { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dev-label { flex-direction: column; align-items: center; gap: 0; padding: 6px 14px; border-radius: 14px; font-size: 13px; white-space: nowrap; }
  .sync { grid-template-columns: 1fr; }
  .p-code { grid-column: auto; grid-row: auto; }
  .proof { grid-template-columns: 1fr; }
  .proof li { padding: 24px; }
  .feat { grid-template-columns: 1fr; }
  .feat li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; }
  .feat h3 { margin-top: 0; grid-column: 2; }
  .feat p { grid-column: 2; }
  .feat .ico { grid-row: span 2; }
  .hub { height: 200px; }
  .hub-n { font-size: 12.5px; padding: 6px 10px; }
  .code pre { padding: 16px; }
  .note { grid-template-columns: 1fr; row-gap: 6px; }
  .note time { grid-row: auto; padding-top: 0; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .newer { grid-column: auto; text-align: left; }
  .foot-small { flex-direction: column; justify-content: flex-start; gap: 12px; margin-top: 48px; }
}
