/* PikPilot site, dark. Its font, Be Vietnam Pro, is served from the site: the page loads nothing
   from anyone else.
   Motion is slow and quiet: things rise into place as they scroll in (app.js adds .is-in), a few
   panels drift up and down, light streaks pass behind the hero. All of it stops for people who
   ask their system for less motion. */
/* Be Vietnam Pro (SIL Open Font License 1.1, assets/fonts/OFL.txt), served from this site: four
   weights, each split into the Vietnamese, Latin Extended and Latin sets, so that a browser fetches
   only the sets a page uses. Until a file arrives the text shows in the system font (swap). */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-vietnamese-500-normal.woff2) format("woff2"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format("woff2"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format("woff2"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #08090b;
  --bg-2: #0e1013;
  --panel: #121418;
  --panel-2: #171a1f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f4f4f2;
  --soft: #a3a8b0;
  --faint: #6f747c;
  --accent: #8b9dff;
  --accent-2: #b59cff;
  --red: #ef5b5b;
  --amber: #f0b44c;
  --green: #4cc38a;
  --blue: #5b9bff;
  --violet: #a78bfa;
  --radius: 18px;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --slow: 1.4s;
}

* { box-sizing: border-box; }
/* clip, not hidden, on both: the hero's light streaks reach past the edges on purpose. hidden on the
   body alone let a phone widen its layout to them (393 px on a 375 px screen, the page moved
   sideways); clip cuts them without making the body a scroll box, so the header still sticks. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; margin: 0; font-weight: 700; }
p { margin: 0; }
kbd { font: 600 13px ui-monospace, "Cascadia Mono", Consolas, monospace; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* A faint light from the top of the page: a background of the body, not a layer of its own. */
body { background: radial-gradient(ellipse 80% 900px at 50% -120px, rgba(139, 157, 255, .14), transparent 70%) no-repeat, var(--bg); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(8, 9, 11, .72); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.mark { filter: invert(1); }
.nav { display: flex; gap: 26px; font-size: 14px; }
.nav a { color: var(--soft); text-decoration: none; transition: color .3s; }
.nav a:hover { color: var(--ink); }
.top-row .btn { justify-self: end; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-white { background: #fff; color: #0b0c0e; }
.btn-white:hover { background: #e9e9ef; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn-line:hover { border-color: rgba(255, 255, 255, .3); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

.spark { color: var(--accent); }
.kicker { color: var(--accent); font-size: 16px; font-weight: 500; margin-bottom: 14px; letter-spacing: -.01em; }

/* ---- Hero ------------------------------------------------------------------------------------- */
.hero { position: relative; padding: 56px 0 24px; }
.streaks { position: absolute; inset: -40px -10vw 0; pointer-events: none; z-index: 0; overflow: hidden; }
.streaks i { position: absolute; width: 2px; height: 220px; border-radius: 2px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .55), transparent); opacity: .5; }
.streaks i:nth-child(1) { left: 22%; top: -40px; transform: rotate(16deg); animation: streak 14s var(--ease) infinite; }
.streaks i:nth-child(2) { left: 36%; top: -60px; transform: rotate(12deg); height: 160px; animation: streak 18s var(--ease) infinite 3s; }
.streaks i:nth-child(3) { left: 58%; bottom: 40px; transform: rotate(18deg); height: 140px; animation: streak 16s var(--ease) infinite 6s; }
.streaks i:nth-child(4) { right: 6%; top: 40%; width: 380px; height: 1.5px; transform: rotate(-12deg);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, .5), transparent); animation: sweep 20s var(--ease) infinite 1s; }
@keyframes streak { 0%, 100% { translate: 0 -30px; opacity: .15; } 50% { translate: 0 30px; opacity: .6; } }
@keyframes sweep { 0%, 100% { translate: -60px 0; opacity: .1; } 50% { translate: 60px 0; opacity: .55; } }

.frame { position: relative; z-index: 1; border-radius: 22px; padding: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-2); box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4) inset; translate: 0 var(--py, 0); }
.frame-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 30px; padding: 0 8px 8px; }
.dots { display: flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-2); }
.frame-title { font-size: 12px; color: var(--faint); letter-spacing: .02em; }
.labels { display: flex; gap: 5px; justify-self: end; }
.labels i { width: 14px; height: 14px; border-radius: 4px; }
.l-red { background: var(--red); } .l-amber { background: var(--amber); } .l-green { background: var(--green); } .l-blue { background: var(--blue); }
.frame-body { position: relative; border-radius: 14px; overflow: hidden; background: #000; isolation: isolate; }
.hero-photo { width: 100%; aspect-ratio: 1672 / 941; object-fit: cover; }
.frame-body::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5, 6, 8, .92) 0%, rgba(5, 6, 8, .78) 30%, rgba(5, 6, 8, .1) 58%, transparent 70%),
              linear-gradient(0deg, rgba(5, 6, 8, .55), transparent 35%); }
.hero-copy { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: min(540px, 48%); padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; text-decoration: none;
  padding: 6px 12px; border-radius: 999px; background: rgba(139, 157, 255, .14); border: 1px solid rgba(139, 157, 255, .35); color: #d8deff; margin-bottom: 22px; transition: background-color .3s; }
.pill:hover { background: rgba(139, 157, 255, .24); }
h1 { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.04em; }
.lead { margin-top: 20px; font-size: clamp(15px, 1.4vw, 18px); color: #c5c9cf; max-width: 470px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { text-align: center; margin-top: 26px; font-size: 14px; color: var(--faint); }
/* Under the download button: which systems, how large, where the Mac version comes from. */
.dl-note { margin-top: 14px; font-size: 13px; color: #9aa0a8; }
.actions-center { justify-content: center; margin-top: 0; }

/* Little tags that hang about the frame, like notes on a desk. */
.tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  background: rgba(23, 26, 31, .92); border: 1px solid var(--line-2); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .8); white-space: nowrap; }
.tag-1 { right: 8%; top: 22%; }
.tag-2 { right: -14px; top: 58%; }
.tag-3 { left: 46%; bottom: -16px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.d-red { background: var(--red); } .d-amber { background: var(--amber); } .d-green { background: var(--green); } .d-blue { background: var(--blue); } .d-violet { background: var(--violet); }

/* Slow drift, three tempos so nothing moves in step. */
.float-a { animation: float 11s ease-in-out infinite; }
.float-b { animation: float 14s ease-in-out infinite -4s; }
.float-c { animation: float 17s ease-in-out infinite -8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- Formats strip ---------------------------------------------------------------------------- */
.formats { text-align: center; padding: 110px 0 70px; }
.formats h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -.02em; color: #e9e9ec; margin-bottom: 30px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 11px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.chips b { color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.rule { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin-block: 0; }

/* ---- Bento -------------------------------------------------------------------------------------- */
.bento-section { padding: 120px 0 40px; }
.bento-head { margin-bottom: 52px; max-width: 760px; }
.bento-head h2 { font-size: clamp(40px, 6.4vw, 84px); letter-spacing: -.045em; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(120px, auto); gap: 18px; }
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; translate: 0 var(--py, 0);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }
.panel-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.panel h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 14px; }
.panel-note { font-size: 13px; color: var(--faint); margin-top: 12px; line-height: 1.5; }
.p-ai { grid-column: 1 / span 4; grid-row: span 3; }
.p-stack { grid-column: 5 / span 4; grid-row: span 2; margin-top: 70px; }
.p-clock { grid-column: 9 / span 4; grid-row: span 3; }
.p-hist { grid-column: 1 / span 4; grid-row: span 2; }
.p-keys { grid-column: 5 / span 4; grid-row: span 2; }
.p-card { grid-column: 9 / span 4; grid-row: span 2; margin-top: -30px; }

.ai-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ai-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ai-list li span { margin-left: auto; color: var(--soft); font-variant-numeric: tabular-nums; }
.ai-list .sub { color: var(--soft); padding-left: 19px; font-size: 14px; }
.big { font-size: clamp(48px, 6vw, 72px); font-weight: 300; letter-spacing: -.05em; line-height: 1; margin-top: 6px; }
.big small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--soft); }
.stack-cards { position: relative; height: 70px; margin-top: 18px; }
.stack-cards i { position: absolute; left: 0; bottom: 0; width: 92px; height: 60px; border-radius: 8px; border: 1px solid var(--line-2);
  background: linear-gradient(135deg, #2d3a4f, #1b2230); }
.stack-cards i:nth-child(2) { left: 10px; bottom: 6px; background: linear-gradient(135deg, #3a4f3a, #1f2a1f); }
.stack-cards i:nth-child(3) { left: 20px; bottom: 12px; background: linear-gradient(135deg, #4f3a46, #2a1f26); }
.cams { display: grid; gap: 8px; }
.cams div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.cams span { margin-left: auto; font-weight: 500; font-size: 13px; color: var(--soft); }
.cams .offset { color: var(--amber); font-weight: 700; }
.sure { color: var(--green); font-size: 13px; margin-top: 12px; }
.timeline { display: flex; gap: 6px; margin-top: 18px; }
.timeline i { flex: 1; height: 34px; border-radius: 6px; background: #20252d; border-bottom: 3px solid var(--blue); }
.timeline i.b { border-bottom-color: var(--green); }
.hist { width: 100%; height: 70px; margin-bottom: 14px; }
.hist path { mix-blend-mode: screen; }
.h-r { fill: rgba(239, 91, 91, .65); } .h-g { fill: rgba(76, 195, 138, .6); } .h-b { fill: rgba(91, 155, 255, .65); }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--line); }
.kv span { color: var(--faint); }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.keys span { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.keys kbd { align-self: flex-start; padding: 4px 9px; border-radius: 7px; background: #262a31; border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--ink); }
.bar { height: 6px; border-radius: 6px; background: #23272e; margin-top: 18px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; }
.js .p-card:not(.is-in) .bar i { transform: scaleX(.05); }
.p-card .bar i { transition: transform 2.6s var(--ease) .5s; }

/* ---- Feature grid ------------------------------------------------------------------------------- */
.section { padding: 130px 0 20px; }
.section > h2 { font-size: clamp(30px, 4.2vw, 48px); text-align: center; margin-bottom: 50px; letter-spacing: -.035em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 26px; transition: border-color .5s, background-color .5s; }
.card:hover { border-color: var(--line-2); background: var(--panel-2); }
.card svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.card h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--soft); line-height: 1.55; }

/* ---- Spotlights --------------------------------------------------------------------------------- */
.spot { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding: 140px 0 0; }
.spot-flip { grid-template-columns: 7fr 5fr; }
.spot-flip .spot-text { order: 2; }
.spot h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; letter-spacing: -.035em; }
.spot p:not(.kicker) { color: var(--soft); }
.spot p + p { margin-top: 12px; }
.shot { margin: 0; padding: 8px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95); }
.shot img { border-radius: 13px; background: #15171a; }

/* ---- Privacy, steps, call ---------------------------------------------------------------------- */
.privacy { margin-top: 150px; }
.privacy-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; padding: 64px; border-radius: 26px;
  background: radial-gradient(ellipse at 0% 0%, rgba(139, 157, 255, .12), transparent 55%), var(--panel); border: 1px solid var(--line); }
.privacy h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; }
.privacy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.privacy li { color: var(--soft); padding-left: 26px; position: relative; }
.privacy li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--accent); box-shadow: 4px 4px 0 rgba(139, 157, 255, .35); }
.privacy strong { color: var(--ink); font-weight: 650; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { display: flex; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.steps span { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: #fff; color: #0b0c0e; font-weight: 700; border-radius: 9px; }
.steps h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--soft); }

.cta { text-align: center; padding: 140px 0 150px; }
.cta h2 { font-size: clamp(32px, 5vw, 60px); letter-spacing: -.045em; margin-bottom: 34px; }

.foot { border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 28px 0 40px; }
.brand-foot { font-size: 15px; color: var(--ink); }

/* ---- Scroll reveal and lazy images (only once app.js has run: without it, all is shown) -------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); filter: blur(8px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease), filter var(--slow) var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .frame[data-reveal] { transform: translateY(46px) scale(.97); }
.js .frame[data-reveal].is-in { transform: none; }
.js img[loading="lazy"] { opacity: 0; transition: opacity 1.2s var(--ease); }
.js img[loading="lazy"].is-loaded { opacity: 1; }

/* Back to the top: bottom right, shown once the page is scrolled down (app.js adds .is-shown);
   always there when the script does not run. */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(23, 26, 31, .82); border: 1px solid var(--line-2); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, border-color .3s, background-color .3s; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { border-color: rgba(255, 255, 255, .3); background: rgba(35, 39, 46, .92); transform: translateY(-2px); }
.to-top:focus-visible { border-radius: 50%; }
.js .to-top:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
@media (max-width: 760px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .to-top { transition: none; }
  .js [data-reveal], .js .frame[data-reveal], .js img[loading="lazy"] { opacity: 1; transform: none; filter: none; transition: none; }
  .float-a, .float-b, .float-c, .streaks i { animation: none; }
  .frame, .panel { translate: none; }
  .js .p-card:not(.is-in) .bar i { transform: none; }
}

/* ---- Narrow screens ----------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .p-ai, .p-stack, .p-clock, .p-hist, .p-keys, .p-card { grid-column: auto; grid-row: auto; margin-top: 0; }
  .spot, .spot-flip, .privacy-inner { grid-template-columns: 1fr; gap: 30px; }
  .spot-flip .spot-text { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .tag-2 { right: 10px; }
}
@media (max-width: 760px) {
  h1 br, h2 br { display: none; }
  .top-row { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { padding-top: 28px; }
  .frame { padding: 6px; border-radius: 18px; }
  .frame-bar { height: 24px; padding-bottom: 6px; }
  .frame-body::after { background: linear-gradient(0deg, rgba(5, 6, 8, .96) 38%, rgba(5, 6, 8, .2) 70%, transparent); }
  .frame-body { display: flex; flex-direction: column; }
  .hero-copy { position: relative; width: auto; padding: 0 20px 26px; margin-top: -40px; }
  .hero-photo { aspect-ratio: 4 / 3; object-position: 60% 50%; }
  .actions .btn { width: 100%; }
  .tag { display: none; }
  .formats { padding: 80px 0 50px; }
  .bento-section, .section { padding-top: 90px; }
  .bento, .grid { grid-template-columns: 1fr; }
  .spot { padding-top: 100px; }
  .privacy { margin-top: 100px; }
  .privacy-inner { padding: 34px 24px; }
  .cta { padding: 100px 0 110px; }
}
