/* Layout: a store-window rhythm. A thin frosted bar, centred headline heroes, then full-bleed panels
   that alternate light and black, each one headline, one line and two actions over the thing itself. */
:root {
  --bg: #fff; --fg: #1d1d1f; --muted: #6e6e73; --tile: #f5f5f7; --line: #d2d2d7;
  --link: #0066cc; --btn: #0071e3; --btn-hi: #0077ed; --on-btn: #fff; --err: #c93400;
  --nav: rgb(255 255 255 / .8); --nav-line: rgb(0 0 0 / .08);
  --seg: #e3e3e8; --seg-on: #fff;
  --night: #000; --night-fg: #f5f5f7; --night-muted: #a1a1a6; --night-link: #2997ff; --night-edge: #000; --night-line: #333336;
  --paper: #fff; --paper-fg: #1d1d1f; --paper-muted: #6e6e73; --paper-line: #e8e8ed; --mark: #c93400; --ok: #1a7f37;
  --key: #2c2c2e; --key-fg: #f5f5f7;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / .28);
  --sel: rgb(0 113 227 / .2);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-card: 18px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #000; --fg: #f5f5f7; --muted: #a1a1a6; --tile: #161617; --line: #424245;
  --link: #2997ff; --err: #ff7a59;
  --nav: rgb(22 22 23 / .8); --nav-line: rgb(255 255 255 / .1);
  --seg: #2c2c2e; --seg-on: #636366;
  --night: #0b0b0c; --night-edge: #2c2c2e;
  --paper: #fbfbfd;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / .9);
  --sel: rgb(41 151 255 / .35);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #000; --fg: #f5f5f7; --muted: #a1a1a6; --tile: #161617; --line: #424245;
  --link: #2997ff; --err: #ff7a59;
  --nav: rgb(22 22 23 / .8); --nav-line: rgb(255 255 255 / .1);
  --seg: #2c2c2e; --seg-on: #636366;
  --night: #0b0b0c; --night-edge: #2c2c2e;
  --paper: #fbfbfd;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / .9);
  --sel: rgb(41 151 255 / .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line) transparent; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.47 var(--font); letter-spacing: -.022em; -webkit-font-smoothing: antialiased; caret-color: var(--btn); }
[hidden] { display: none !important; }
::selection { background: var(--sel); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1068px; margin-inline: auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--btn); color: var(--on-btn); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--nav); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--nav-line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px; max-width: 1024px; }
.mark { display: flex; align-items: center; gap: 7px; color: var(--fg); font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.mark:hover { text-decoration: none; }
.mark .i { font-size: 20px; }
.nav nav { display: flex; gap: clamp(16px, 3.6vw, 40px); }
.nav nav a { color: var(--fg); opacity: .8; font-size: 12px; letter-spacing: -.01em; transition: opacity .2s; }
.nav nav a:hover { opacity: 1; text-decoration: none; }
.nav nav a[aria-current] { opacity: 1; font-weight: 600; }
@media (max-width: 420px) { .mark span { display: none; } }

/* actions */
.ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 980px; background: var(--btn); color: var(--on-btn); font: 400 17px/1.2 var(--font); letter-spacing: -.022em; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--btn-hi); text-decoration: none; }
.btn.small { min-height: 36px; padding: 0 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px currentColor; }
.btn.ghost:hover { background: var(--link); color: var(--on-btn); }
.more { display: inline-flex; align-items: center; font-size: 17px; }
.more::after { content: ""; width: .4em; height: .4em; margin-left: .35em; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.night { background: var(--night); color: var(--night-fg); box-shadow: inset 0 0 0 1px var(--night-edge); }
.night .muted { color: var(--night-muted); }
.night a:not(.btn), .night .btn.ghost { color: var(--night-link); }

/* heroes */
.hero { text-align: center; padding-block: clamp(56px, 9vw, 110px) 0; overflow: hidden; }
.hero h1, .phero h1 { font-size: clamp(44px, 7.2vw, 80px); line-height: 1.04; letter-spacing: -.035em; }
.hero .sub, .phero .sub { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -.02em; margin: 14px auto 0; max-width: 30ch; }
.hero-shot { width: min(980px, 100%); margin: clamp(44px, 6vw, 72px) auto 0; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .18)); }
.phero { text-align: center; padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); }
/* motion only, no fade: the page reads complete even where animation never runs */
@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
@keyframes settle { from { transform: translateY(60px) scale(.96); } to { transform: none; } }
.hero h1, .phero h1 { animation: rise 1s cubic-bezier(.16, 1, .3, 1) both; }
.hero .sub, .phero .sub { animation: rise 1s .08s cubic-bezier(.16, 1, .3, 1) both; }
.hero .ctas, .phero .ctas { animation: rise 1s .16s cubic-bezier(.16, 1, .3, 1) both; }
.hero-shot { animation: settle 1.4s .2s cubic-bezier(.16, 1, .3, 1) both; }

/* panels */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-block: 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.tile { background: var(--tile); text-align: center; padding: clamp(44px, 5vw, 60px) 20px 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tile.full { grid-column: 1 / -1; }
.tile.night { background: var(--night); }
.tile h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.07; letter-spacing: -.03em; display: flex; align-items: center; gap: 14px; }
.tile h2 img { width: 1.25em; height: 1.25em; }
.tile .sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.22; letter-spacing: -.02em; margin-top: 8px; max-width: 28ch; }
.tile .ctas { margin-top: 18px; }
.tile .art { margin-top: auto; padding-top: clamp(32px, 4vw, 48px); width: 100%; display: flex; justify-content: center; }
.tile .art.pad { padding-bottom: clamp(32px, 4vw, 56px); }
.tile .art img.win { width: min(880px, 100%); border-radius: 12px; }
.tile .art img.peek { width: min(620px, 112%); max-width: 112%; border-radius: 12px 12px 0 0; box-shadow: var(--shadow); }
@media (max-width: 734px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* the drawn site in the Websites panel */
.browser { width: min(440px, 100%); background: var(--paper); color: var(--paper-fg); border-radius: 12px 12px 0 0; box-shadow: var(--shadow); text-align: left; overflow: hidden; font-size: 13px; letter-spacing: -.01em; }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--paper-line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-line); }
.browser .bar span { margin-left: 10px; flex: 1; text-align: center; color: var(--paper-muted); font-size: 11px; background: var(--tile); border-radius: 6px; padding: 3px 0; }
.browser .site { padding: 18px 20px 22px; display: grid; gap: 14px; }
.browser .site header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.browser .site header b { font-size: 14px; }
.browser .site header nav { display: flex; gap: 12px; color: var(--paper-muted); font-size: 11px; }
.browser .menu { display: grid; gap: 0; font-variant-numeric: tabular-nums; }
.browser .menu div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--paper-line); }
.browser .menu span:last-child { color: var(--paper-muted); }
.browser .hours { color: var(--paper-muted); font-size: 12px; }
.browser .heroline { font-size: 22px; font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }

/* segmented control */
.seg { display: inline-flex; padding: 3px; border-radius: 980px; background: var(--seg); margin-top: 22px; }
.seg button { border: 0; background: none; color: var(--fg); font: 400 14px/1 var(--font); letter-spacing: -.01em; padding: 9px 18px; border-radius: 980px; cursor: pointer; transition: background .25s, box-shadow .25s; }
.seg button[aria-pressed="true"] { background: var(--seg-on); box-shadow: 0 1px 4px rgb(0 0 0 / .14); font-weight: 600; }

/* the quote, before and after */
.doc { position: relative; width: min(640px, 100%); margin-top: 32px; padding: clamp(22px, 4vw, 44px) clamp(20px, 4vw, 44px) clamp(28px, 4vw, 48px); background: var(--paper); color: var(--paper-fg); border-radius: 14px 14px 0 0; box-shadow: var(--shadow); text-align: left; display: grid; gap: 18px; font-size: 15px; line-height: 1.5; letter-spacing: -.01em; view-transition-name: quote; }
.ln { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; }
.mk { color: var(--mark); font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.fx .now, .doc[data-state="done"] .fx .was, .doc[data-state="done"] .mk { display: none; }
.doc[data-state="done"] .fx .now { display: inline; }
.doc[data-state="done"] .fx.block .now { display: block; }
.fx:not(.block) .was { text-decoration: underline wavy var(--mark); text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-skip-ink: none; }
.n-head { font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.n-head small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; letter-spacing: -.01em; color: var(--paper-muted); }
.n-list { padding-left: 1.1em; list-style: disc; display: grid; gap: 2px; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl td { padding: 7px 0; border-bottom: 1px solid var(--paper-line); }
.tbl td:last-child { text-align: right; }
.tbl td:last-child { white-space: nowrap; }
.doc[data-state="draft"] .tbl td:last-child { text-align: left; padding-left: 14%; }
.tbl .tot td { font-weight: 600; border-bottom: 0; }
.stamp { position: absolute; top: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); color: var(--ok); border: 1.5px solid currentColor; border-radius: 7px; padding: 3px 9px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-6deg); opacity: 0; transition: opacity .4s; }
.doc[data-state="done"] .stamp { opacity: 1; }
.tally { margin-top: 14px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .ln { grid-template-columns: minmax(0, 1fr); } }
::view-transition-old(quote), ::view-transition-new(quote) { animation-duration: .45s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* bands */
.band { padding-block: clamp(72px, 10vw, 128px); }
.band.soft { background: var(--tile); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.head h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -.032em; max-width: 18ch; }
.head p { max-width: 40ch; }

/* work rail */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px 28px; padding-left: max(22px, env(safe-area-inset-left, 0px), calc((100% - 1024px) / 2 + 22px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); scroll-padding-left: max(22px, calc((100% - 1024px) / 2 + 22px)); }
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: 0 0 clamp(260px, 30vw, 320px); scroll-snap-align: start; }
.rail-ctl { display: flex; justify-content: flex-end; gap: 14px; }
.rail-ctl button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--seg); color: var(--fg); display: grid; place-items: center; cursor: pointer; font-size: 18px; transition: opacity .2s; }
.rail-ctl button:disabled { opacity: .35; cursor: default; }
.card { background: var(--tile); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 8px; min-height: 300px; min-width: 0; }
.band.soft .card { background: var(--bg); }
.card > .i { font-size: 30px; margin-bottom: 18px; }
.card h3 { font-size: 26px; line-height: 1.12; letter-spacing: -.028em; }
.card .k { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.card p { font-size: 16px; line-height: 1.45; }
.card .st { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; }

/* ships with */
.ships { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ship { background: var(--bg); border-radius: var(--r-card); padding: 28px; display: grid; gap: 10px; align-content: start; }
.ship .i { font-size: 32px; margin-bottom: 10px; color: var(--btn); }
.ship h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.022em; }
.ship p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .ships { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ships { grid-template-columns: minmax(0, 1fr); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 8px; align-content: start; }
.steps .n { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.steps h3 { font-size: 21px; letter-spacing: -.022em; }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* closing call */
.cta { text-align: center; padding-block: clamp(80px, 11vw, 140px); }
.cta h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -.035em; }
.cta .sub { font-size: clamp(19px, 2vw, 24px); margin: 14px auto 0; max-width: 34ch; }
.mailline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: 28px; font-size: 15px; }
.mailline code { font: 600 17px var(--font); letter-spacing: -.015em; word-break: break-all; }

/* services */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.feat h2 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.feat .sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.25; margin-top: 14px; max-width: 26ch; }
.feat .ctas { justify-content: flex-start; }
.specs li { font-size: clamp(19px, 2vw, 22px); letter-spacing: -.02em; padding-block: 18px; border-bottom: 1px solid var(--line); }
.specs li:first-child { border-top: 1px solid var(--line); }
.night .specs li { border-color: var(--night-line); }
@media (max-width: 760px) { .feat { grid-template-columns: minmax(0, 1fr); } }

/* work page */
.seg.filter { margin: 0 auto clamp(28px, 4vw, 44px); display: flex; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid .card.feature { grid-column: span 2; background: var(--night); color: var(--night-fg); padding-bottom: 0; overflow: hidden; }
.grid .card.feature .k { color: var(--night-muted); }
.grid .card.feature img { margin-top: auto; padding-top: 24px; width: 100%; border-radius: 10px 10px 0 0; }
.grid .card.next { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: minmax(0, 1fr); } .grid .card.feature { grid-column: auto; } }

/* shop */
.product { text-align: center; }
.appicon { width: 104px; height: 104px; margin: 0 auto 22px; }
.product h2 { font-size: clamp(44px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
.product .sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.25; margin: 12px auto 0; max-width: 34ch; }
.price { margin-top: 18px; font-size: 15px; color: var(--muted); }
.price strong { color: var(--fg); font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-right: 4px; }
.night .price strong { color: var(--night-fg); }
.product .shot { width: min(980px, 100%); margin: clamp(40px, 6vw, 64px) auto 0; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .18)); }
.ticks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(40px, 6vw, 72px); text-align: left; }
.ticks li { display: grid; gap: 10px; align-content: start; font-size: 17px; }
.ticks .i { font-size: 26px; color: var(--btn); }
.night .ticks .i { color: var(--night-link); }
@media (max-width: 900px) { .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ticks { grid-template-columns: minmax(0, 1fr); } }
.keys { display: grid; gap: 14px; justify-items: center; margin-top: clamp(40px, 6vw, 64px); }
.keys .r { display: flex; gap: 12px; }
kbd { display: grid; place-items: center; min-width: 72px; height: 72px; padding: 0 20px; border-radius: 14px; background: var(--key); color: var(--key-fg); font: 500 19px var(--font); letter-spacing: -.01em; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .45), inset 0 1px 0 rgb(255 255 255 / .08); }
kbd.hit { background: var(--btn); color: var(--on-btn); box-shadow: 0 0 0 6px rgb(0 113 227 / .28), inset 0 -3px 0 rgb(0 0 0 / .25); }
@media (prefers-reduced-motion: no-preference) { kbd.hit { animation: press 2.4s ease-in-out infinite; } }
@keyframes press { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(3px); } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 40px); align-items: start; }
.mailbox, .sheet { background: var(--tile); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; }
.mailbox h2, .sheet h2 { font-size: 28px; letter-spacing: -.028em; }
.mailbox code { font: 600 21px var(--font); letter-spacing: -.02em; word-break: break-all; }
.mailbox .ctas, .sheet .ctas { justify-content: flex-start; margin-top: 4px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
input, select, textarea { width: 100%; font: 400 17px/1.4 var(--font); letter-spacing: -.02em; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 4px var(--sel); }
#briefErr { color: var(--err); font-size: 15px; }
.briefDone { display: grid; gap: 14px; }
.briefDone pre { margin: 0; font: 14px/1.55 var(--mono); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; white-space: pre-wrap; overflow-x: auto; }
@media (max-width: 820px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.foot { background: var(--tile); color: var(--muted); font-size: 12px; line-height: 1.4; letter-spacing: -.005em; padding-block: 18px calc(24px + env(safe-area-inset-bottom, 0px)); }
.foot .wrap { max-width: 1024px; }
.foot .fine { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 22px; }
.foot-cols div { display: grid; gap: 9px; align-content: start; min-width: 0; }
.foot-cols h3 { font-size: 12px; font-weight: 600; color: var(--fg); }
.foot-cols a { color: var(--muted); }
.foot-cols a:hover { color: var(--fg); }
.foot-cols span { word-break: break-all; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  ::view-transition-old(quote), ::view-transition-new(quote) { animation: none; }
}

/* drawn laptop: a screenshot sits on a wallpaper inside a lid, over a glow */
:root { --dev-lid: #0e0e10; --dev-rim: #3a3a3d; --dev-base-hi: #e3e3e6; --dev-base-lo: #a9a9ae; --dev-notch: #8e8e93; }
.laptop { position: relative; width: min(900px, 92%); margin: clamp(48px, 6vw, 72px) auto 0; isolation: isolate; }
.laptop::before { content: ""; position: absolute; z-index: -1; inset: 18% 8% -6%; border-radius: 50%; background: var(--glow, #0071e3); opacity: .28; filter: blur(70px); }
.laptop.green { --glow: #34c77b; }
.laptop .lid { background: var(--dev-lid); border-radius: clamp(10px, 2vw, 22px) clamp(10px, 2vw, 22px) 4px 4px; padding: 2.4% 2.4% 3.2%; box-shadow: inset 0 0 0 1px var(--dev-rim), 0 0 0 1px rgb(0 0 0 / .4); }
.laptop .screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: linear-gradient(155deg, #ffd8ae 0%, #f6aebd 38%, #9cc0ff 78%, #7fa6f0 100%); }
.laptop .screen.dusk { background: radial-gradient(120% 90% at 20% 0%, #1f4d4a 0%, transparent 60%), linear-gradient(160deg, #10292e 0%, #172f4f 55%, #0a0b14 100%); }
.laptop .bar { position: absolute; inset: 0 0 auto; height: 3.2%; background: rgb(255 255 255 / .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.laptop .screen.dusk .bar { background: rgb(0 0 0 / .3); }
.laptop .win { position: absolute; left: 12%; top: 10%; width: 76%; height: auto; filter: drop-shadow(0 12px 22px rgb(0 0 0 / .32)); }
.laptop .base { position: relative; height: clamp(9px, 1.7vw, 19px); width: 114%; margin-left: -7%; background: linear-gradient(var(--dev-base-hi), var(--dev-base-lo)); border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%; }
.laptop .base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 45%; background: var(--dev-notch); border-radius: 0 0 8px 8px; opacity: .55; }
.tile .laptop { margin-top: clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 60px); }
.grid .card.feature .laptop { width: 100%; margin: 28px 0 0; }
.grid .card.feature .laptop .base { width: 104%; margin-left: -2%; border-radius: 2px 2px 0 0; }

/* Murmur-style dictation scene */
.dict { position: relative; width: min(460px, 100%); }
.note { background: var(--paper); color: var(--paper-fg); border-radius: 14px 14px 0 0; box-shadow: var(--shadow); text-align: left; padding-bottom: 92px; font-size: 15px; letter-spacing: -.01em; }
.note .bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--paper-line); }
.note .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-line); }
.note .bar span { margin-left: auto; margin-right: auto; font-size: 12px; font-weight: 600; color: var(--paper-muted); }
.note-to { padding: 10px 18px; border-bottom: 1px solid var(--paper-line); color: var(--paper-muted); font-size: 13px; }
.note-body { display: grid; padding: 16px 18px 0; line-height: 1.5; }
.note-body > span { grid-area: 1 / 1; }
.note-body .ghost { visibility: hidden; }
.dict.is-live .typed::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--btn); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pill { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 980px; background: var(--key); color: var(--key-fg); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 12px 30px -8px rgb(0 0 0 / .5), 0 0 0 1px rgb(255 255 255 / .06) inset; }
.wave { display: flex; align-items: center; gap: 3px; height: 20px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--night-link); transform: scaleY(var(--h, .3)); transition: transform .3s; }
.dict.is-live .wave i { animation: talk .9s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes talk { from { transform: scaleY(.2); } to { transform: scaleY(1); } }

.tile-like { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 64px); }
.tile-like .note { border-radius: 14px; }

/* RustDesk allow-list */
.allow { width: min(560px, 100%); margin: clamp(40px, 6vw, 64px) auto 0; background: var(--tile); border-radius: var(--r-card); padding: 8px 22px; text-align: left; box-shadow: var(--shadow); }
.allow-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.allow-row:last-child { border-bottom: 0; }
.allow-row .id { font: 500 14px var(--mono); font-variant-numeric: tabular-nums; }
.allow-row b { font-size: 13px; font-weight: 600; }
.allow-row.ok b { color: var(--ok); }
.allow-row.no { color: var(--muted); }
.allow-row.no b { color: var(--muted); }
@media (max-width: 420px) { .allow-row { grid-template-columns: minmax(0, 1fr) auto; } .allow-row span:nth-child(2) { display: none; } }

/* ChefThisWay: three phones, the middle one forward, over a warm glow */
:root { --chef-glow: #ff8a3d; }
.tile.chef h2 img { border-radius: 50%; }
.phones { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: flex-end; width: min(760px, 100%); margin-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(36px, 5vw, 60px); }
.phones::before { content: ""; position: absolute; z-index: -1; inset: 20% 18% 10%; border-radius: 50%; background: var(--chef-glow); opacity: .3; filter: blur(70px); }
.phone { flex: none; width: 31%; padding: 1.1%; background: var(--dev-lid); border-radius: 15% / 7%; box-shadow: inset 0 0 0 1px var(--dev-rim), 0 30px 50px -24px rgb(0 0 0 / .45); }
.phone img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; border-radius: 13.6% / 6.3%; }
.phone.p2, .phone.p3 { width: 27%; margin-bottom: 4%; opacity: .96; }
.phone.p2 { margin-right: -3%; transform: rotate(-5deg); }
.phone.p3 { margin-left: -3%; transform: rotate(5deg); }
.phone.p1 { position: relative; z-index: 1; }
.grid .card.chefcard .phones { width: 100%; margin-top: 24px; padding-bottom: 0; margin-bottom: -18%; }
