/* Labclone. Layout: a technical sheet on white. Huge expanded display type, quiet rounded tiles,
   and real app screens exploded into layers. The chrome is neutral; the ember of the avatar is the only colour.
   Liquid glass only on what floats above content: the bar, the spotlight, the segmented control, the top layer. */
:root {
  --bg: #FFFFFF;
  --tile: #F5F5F7;
  --tile-2: #ECECF0;
  --fg: #0F1B2D;
  --fg-2: #4D5A6C;
  --fg-3: #8A93A0;
  --hair: rgb(15 27 45 / .1);
  --grid: rgb(15 27 45 / .045);
  --link: #C2410C;
  --red: #E5321B;
  --orange: #F2711E;
  --amber: #F7A83A;
  --ember: linear-gradient(120deg, #F9B44A 0%, #F2711E 48%, #E5321B 100%);
  --glass: rgb(255 255 255 / .72);
  --glass-rim: rgb(255 255 255 / .9);
  --glass-edge: rgb(0 0 0 / .08);
  --glass-shadow: rgb(15 27 45 / .18);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--fg); font: 17px/1.5 var(--sans); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
button { font: inherit; color: inherit; letter-spacing: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h3 { font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
p { text-wrap: pretty; }
svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--fg); color: #fff; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Display type: expanded capitals, condensed grey second line ---------- */
.display { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; text-wrap: balance; }
.display .sub { display: block; margin-top: .14em; font-stretch: 62%; font-weight: 500; letter-spacing: -.01em; color: var(--fg-2); font-size: .74em; line-height: .95; }
h1.display { font-size: clamp(50px, 5.6vw, 80px); }
.pdp-info h1.display, .page-head h1.display { font-size: clamp(50px, 6.4vw, 104px); }
h2.display { font-size: clamp(38px, 5.2vw, 76px); }
.label { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); }
.label.hot { color: var(--link); }
.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.42; letter-spacing: -.016em; color: var(--fg-2); }
.lede strong { color: var(--fg); font-weight: 600; }
.fine { font-size: 14px; color: var(--fg-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--fg); color: #fff; cursor: pointer; white-space: nowrap; font: 500 15px/1 var(--mono); letter-spacing: .01em; transition: background-color .2s, transform .3s var(--spring), box-shadow .3s var(--ease); }
.btn:hover { background: #000; }
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.ember { background: var(--ember); color: var(--fg); box-shadow: 0 10px 28px -12px rgb(229 50 27 / .65); }
.btn.ember:hover { box-shadow: 0 16px 36px -12px rgb(229 50 27 / .8); }
.btn.quiet { background: var(--tile); color: var(--fg); box-shadow: inset 0 0 0 1px var(--hair); }
.btn.quiet:hover { background: var(--tile-2); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 999px; }
.more { color: var(--link); white-space: nowrap; font-weight: 500; }
.more::after { content: " \203A"; }
.more:hover { text-decoration: underline; }

/* ---------- Liquid glass ---------- */
.glass { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-rim), 0 10px 30px -12px var(--glass-shadow); }

/* ---------- Floating bar ---------- */
.nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 30; display: flex; justify-content: center; padding-inline: 16px; margin-top: 12px; pointer-events: none; }
.bar { pointer-events: auto; display: flex; align-items: center; height: 50px; padding: 0 7px 0 10px; border-radius: 999px; }
.logo { display: flex; align-items: center; gap: 9px; margin-right: 12px; font: 800 14px/1 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; }
.mark { width: 28px; height: 28px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgb(0 0 0 / .06); }
.nl { padding: 0 12px; height: 36px; display: inline-flex; align-items: center; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.nl:hover, .nl[aria-current="page"] { color: var(--fg); }
.bar .btn { margin-left: 8px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px) 24px; }
.hero h1 { margin-top: 22px; }
.hero .lede { margin-top: 28px; max-width: 30em; }
.actions { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.hero-art { display: grid; gap: 22px; }

/* ---------- Exploded app: real screens in layers ---------- */
.stack { --gap: 7.5cqw; position: relative; width: 100%; aspect-ratio: 1 / .92; container-type: inline-size; perspective: 2400px; transition: --gap .8s var(--spring); }
@property --gap { syntax: "<length>"; inherits: true; initial-value: 0px; }
.stack:hover, .card:hover .stack { --gap: 10.5cqw; }
.scene { position: absolute; left: 50%; top: 50%; width: 62cqw; height: 43cqw; margin: -7cqw 0 0 -31cqw; transform-style: preserve-3d; transform: scale(var(--s, 1)) rotateX(57deg) rotateZ(-38deg); font-size: 2.15cqw; }
.ly { position: absolute; inset: 0; border-radius: 1.1em; overflow: hidden; transform: translateZ(calc(var(--i) * var(--gap))); box-shadow: 0 0 0 1px rgb(15 27 45 / .08), -1.2em 1.6em 2.6em -1em rgb(15 27 45 / .28); background: #fff; animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
@keyframes bob { 50% { translate: 0 0 .8cqw; } }
.ly .tag { position: absolute; top: .7em; right: .8em; font: 600 .62em/1 var(--mono); letter-spacing: .1em; padding: .45em .6em; border-radius: .5em; background: var(--fg); color: #fff; }
.ly .tag.hot { background: var(--red); }

/* layer: engine (dark code) */
.ly.engine { background: #0E1116; color: #C9D1D9; padding: 1.4em 1.6em; font: 500 .78em/1.75 var(--mono); }
.ly.engine .k { color: #FF8A5B; } .ly.engine .s { color: #A5D6FF; } .ly.engine .c { color: #6E7681; }
.ly.engine .chips { position: absolute; left: 1.6em; bottom: 1.2em; display: flex; gap: .5em; }
.ly.engine .chips span { font-size: .9em; padding: .2em .7em; border-radius: 99px; background: #1F2630; color: #E6EDF3; }
.ly.engine .chips span:first-child { background: var(--ember); color: #0E1116; }

/* layer: media (generated frames) */
.ly.media { background: #F5F5F7; padding: 1.1em; display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: .7em; }
.ly.media .f { border-radius: .7em; position: relative; overflow: hidden; }
.ly.media .f:nth-child(1) { grid-row: span 2; background: linear-gradient(180deg, #FFB86B 0%, #F2711E 38%, #7A2E1F 62%, #1C1A2A 100%); }
.ly.media .f:nth-child(1)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18%; height: 30%; background: linear-gradient(170deg, transparent 40%, #0E1116 41%); opacity: .85; }
.ly.media .f:nth-child(2) { background: linear-gradient(160deg, #9BC4FF, #3F6BD8 60%, #1B2A55); }
.ly.media .f:nth-child(3) { background: linear-gradient(200deg, #FFE3B0, #E9A15A 50%, #6B4A2E); }
.ly.media .bar { position: absolute; left: 1.1em; right: 1.1em; bottom: .9em; height: .5em; border-radius: 99px; background: rgb(255 255 255 / .55); overflow: hidden; }
.ly.media .bar i { display: block; height: 100%; width: 64%; border-radius: inherit; background: #fff; animation: load 3.2s var(--ease) infinite; }
@keyframes load { from { width: 8%; } to { width: 92%; } }

/* layer: interface (app chrome) */
.ly.ui { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); }
.ly.ui .side { background: #F5F5F7; border-right: 1px solid var(--hair); display: grid; align-content: start; gap: .9em; padding: 1em .9em; }
.ly.ui .side i { display: block; height: 1.5em; border-radius: .45em; background: #E3E4E9; }
.ly.ui .side i:first-child { background: var(--ember); }
.ly.ui .main { padding: 1em 1.2em; display: grid; align-content: start; gap: .8em; }
.ly.ui .row { display: flex; gap: .5em; }
.ly.ui .chip { font-size: .7em; padding: .35em .8em; border-radius: 99px; background: #F0F1F4; color: var(--fg-2); white-space: nowrap; }
.ly.ui .chip.on { background: var(--fg); color: #fff; }
.ly.ui .canvas { height: 8.4em; border-radius: .7em; background: repeating-linear-gradient(45deg, #F3F4F6 0 .6em, #FAFAFB .6em 1.2em); border: 1px dashed #D5D8DE; }
.ly.ui .prompt { display: flex; align-items: center; gap: .6em; padding: .45em .45em .45em .9em; border-radius: .8em; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 .4em 1em -.5em rgb(0 0 0 / .2); font-size: .8em; color: var(--fg-2); }
.ly.ui .prompt span { flex: 1; white-space: nowrap; overflow: hidden; }
.ly.ui .prompt b { font-weight: 600; padding: .45em .9em; border-radius: .6em; background: var(--ember); color: var(--fg); white-space: nowrap; }

/* layer: brand (glass sheet, the part we replace) */
.ly.brand { background: rgb(255 255 255 / .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9), 0 0 0 1px rgb(15 27 45 / .08), -1.2em 1.6em 2.6em -1em rgb(15 27 45 / .22); display: grid; place-items: center; }
.ly.brand .wm { display: flex; align-items: center; gap: .6em; font: 800 2.4em/1 var(--display); font-stretch: 125%; letter-spacing: -.04em; text-transform: uppercase; color: var(--fg); }
.ly.brand .wm i { width: 1em; height: 1em; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #E5321B 0 18%, #F7A83A 34%, transparent 36%), radial-gradient(ellipse at 50% 100%, #E5321B 0 40%, #F2711E 55%, transparent 57%), #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.ly.brand .sw { position: absolute; left: 1.2em; bottom: 1.1em; display: flex; gap: .35em; }
.ly.brand .sw i { width: 1.3em; height: 1.3em; border-radius: .35em; }
.ly.brand .old { position: absolute; left: 1.2em; top: 1em; font: 600 .7em/1 var(--mono); letter-spacing: .08em; color: var(--red); text-decoration: line-through; }

/* layer: doc (manual page) */
.ly.doc { padding: 1.3em 1.6em; font-size: .78em; line-height: 1.5; color: var(--fg-2); }
.ly.doc h5 { margin: 0 0 .6em; font: 800 1.5em/1 var(--display); font-stretch: 118%; text-transform: uppercase; color: var(--fg); letter-spacing: -.02em; }
.ly.doc p { margin: 0 0 .5em; }
.ly.doc .ln { height: .55em; border-radius: 99px; background: #ECEDF1; margin: .55em 0; }
.ly.doc .ln.h { background: var(--ember); width: 34%; }

/* layer: palette */
.ly.palette { padding: 1.1em; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; }
.ly.palette div { border-radius: .6em; display: flex; align-items: flex-end; padding: .5em; font: 600 .62em/1 var(--mono); }

/* layer: checklist */
.ly.check { padding: 1.2em 1.5em; display: grid; align-content: start; gap: .65em; font-size: .82em; color: var(--fg); }
.ly.check div { display: flex; align-items: center; gap: .7em; }
.ly.check div::before { content: "✓"; width: 1.4em; height: 1.4em; flex: none; display: grid; place-items: center; border-radius: .4em; background: var(--ember); color: var(--fg); font-weight: 700; font-size: .85em; }
.ly.check div.todo::before { content: ""; background: #fff; box-shadow: inset 0 0 0 1.5px #CDD2DA; }
.ly.check .score { margin-top: .3em; font: 800 2em/1 var(--display); font-stretch: 118%; }

/* layer: blueprint */
.ly.blueprint { background: #F7F8FA; background-image: linear-gradient(rgb(15 27 45 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(15 27 45 / .06) 1px, transparent 1px); background-size: 1.2em 1.2em; }
.ly.blueprint .box { position: absolute; border: 1.5px dashed var(--orange); border-radius: .5em; }
.ly.blueprint .dim { position: absolute; font: 600 .62em/1 var(--mono); color: var(--link); }

.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.legend li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.4; }
.legend b { display: block; font-weight: 600; }
.legend span { color: var(--fg-2); }
.num { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--fg); display: grid; place-items: center; font: 600 12px var(--mono); }
.num.red { border-color: var(--red); color: var(--red); }

.spotlight { justify-self: center; width: min(100%, 400px); height: 54px; padding: 0 7px 0 16px; border-radius: 999px; display: flex; align-items: center; gap: 10px; margin-top: -8px; position: relative; z-index: 2; }
.spotlight .search { width: 18px; height: 18px; color: var(--fg-3); flex: none; }
.spotlight .q { flex: 1; min-width: 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; }
.spotlight .q::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--orange); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.spotlight .state { font: 500 12px/1 var(--mono); height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--tile-2); color: var(--fg-2); white-space: nowrap; transition: background-color .3s, color .3s; }
.spotlight .state.done { background: var(--fg); color: #fff; }

/* ---------- Sections ---------- */
.sec { padding-top: clamp(96px, 12vw, 168px); }
.sechead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }
.sechead .label { display: block; margin-bottom: 20px; }
.sechead p { color: var(--fg-2); font-size: 19px; line-height: 1.45; max-width: 30em; }

/* ---------- Tiles + glowing borders ---------- */
.tile { position: relative; background: var(--tile); border-radius: 24px; isolation: isolate; transition: background-color .3s; }
@property --la { syntax: "<number>"; inherits: true; initial-value: 0; }
.lit > * { --mx: -999px; --my: -999px; transition: --la .45s var(--ease), background-color .3s, transform .5s var(--spring); }
.lit.on > * { --la: 1; }
.lit > *::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(242 113 30 / calc(var(--la) * 1)), rgb(229 50 27 / calc(var(--la) * .5)) 40%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.lit > * > .halo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(340px circle at var(--mx) var(--my), rgb(247 168 58 / calc(var(--la) * .14)), transparent 70%); }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.how .tile { padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.how .top { display: flex; justify-content: space-between; align-items: center; }
.how .n { font: 800 64px/1 var(--display); font-stretch: 125%; letter-spacing: -.05em; color: var(--fg); }
.how .t { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--link); }
.how h3 { margin-top: auto; font: 800 24px/1 var(--display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; }
.how p { color: var(--fg-2); }
.protocol { margin-top: 16px; padding: 0 30px; }
.protocol summary { list-style: none; cursor: pointer; height: 66px; display: flex; justify-content: space-between; align-items: center; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.protocol summary::-webkit-details-marker { display: none; }
.protocol summary::after { content: "+"; font: 300 26px var(--sans); color: var(--fg-3); transition: transform .35s var(--spring); }
.protocol[open] summary::after { transform: rotate(45deg); }
.protocol ol { margin: 0 0 22px; padding: 0; list-style: none; }
.protocol li { display: grid; grid-template-columns: 40px minmax(0, 150px) minmax(0, 1fr) minmax(0, 120px) 60px; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.protocol .k { font: 500 12px var(--mono); color: var(--fg-3); }
.protocol b { font-weight: 600; }
.protocol span { color: var(--fg-2); }
.protocol .bar { height: 6px; border-radius: 99px; background: var(--ember); }
.protocol i { font: 500 12px var(--mono); font-style: normal; color: var(--fg-3); text-align: right; }

/* ---------- Examples ---------- */
.segwrap { display: flex; margin-bottom: 20px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; white-space: nowrap; height: 40px; padding: 0 18px; border-radius: 999px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); transition: color .25s; }
.seg button[aria-selected="true"] { color: var(--fg); }
.seg .pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .12), 0 0 0 .5px rgb(0 0 0 / .04); transition: transform .5s var(--spring), width .5s var(--spring); }
.example { padding: clamp(24px, 3.5vw, 44px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.example.swap { animation: swap .55s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.example .who { grid-row: span 2; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.example .stack { margin: -6% 0 -10%; }
.status { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--link); display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s ease-in-out infinite; }
.status.cool { color: var(--fg-3); }
.status.cool::before { background: var(--fg-3); animation: none; }
@keyframes pulse { 50% { opacity: .3; } }
.example h3 { font: 800 clamp(28px, 2.8vw, 40px)/.95 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.03em; }
.example .like { font-size: 14px; color: var(--fg-3); }
.kc h4 { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
.kc ul { margin: 0; padding: 0; list-style: none; }
.kc li { position: relative; display: block; padding: 12px 0 12px 28px; border-top: 1px solid var(--hair); font-size: 16px; }
.kc li::before { position: absolute; left: 2px; top: 12px; }
.kc.keep li::before, .kc .keep li::before { content: "✓"; color: var(--fg-3); }
.kc.change li::before, .kc .change li::before { content: "→"; color: var(--link); }
.target { grid-column: 2 / -1; padding-top: 20px; border-top: 1.5px solid var(--fg); display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
.target b { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.target span { flex: 1; min-width: 14em; font: 800 clamp(22px, 2.2vw, 30px)/1 var(--display); font-stretch: 105%; letter-spacing: -.02em; }

/* ---------- Products ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: grid; position: relative; padding: 14px; }
.card .box { border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.card .stack { aspect-ratio: 1 / .86; --s: .8; }
.example .stack { --s: .9; }
.pdp-visual .stack { --s: .92; }
.card .cap { padding: 18px 8px 8px; display: grid; gap: 6px; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font: 800 22px/1 var(--display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; }
.card .price { font: 600 18px/1 var(--mono); white-space: nowrap; }
.card .price small { font-size: 12px; color: var(--fg-3); margin-right: 4px; font-weight: 500; }
.card p { font-size: 15px; color: var(--fg-2); }
.card .foot2 { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.card .go { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.card .go svg { width: 15px; height: 15px; transition: transform .3s var(--spring); }
.card:hover .go svg { transform: translateX(4px); }
.card > a.cover { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; margin-top: clamp(80px, 10vw, 128px); padding-block: 22px; border-block: 1px solid var(--hair); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker .track { display: flex; gap: 40px; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker span { font: 800 28px/1 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; color: var(--fg); display: inline-flex; align-items: center; gap: 40px; }
.ticker span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ember); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Closing ---------- */
.closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding: clamp(32px, 5vw, 64px); }
.closing .avatar { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 26px; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 12px 30px -10px rgb(229 50 27 / .4); }
.closing p { margin-top: 18px; color: var(--fg-2); font-size: 19px; max-width: 32em; }

/* ---------- Shop / product pages ---------- */
.page-head { padding-top: clamp(48px, 7vw, 96px); margin-bottom: clamp(40px, 5vw, 64px); display: grid; gap: 22px; }
.page-head .lede { max-width: 30em; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.trust .tile { padding: 24px; display: grid; gap: 8px; }
.trust b { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.trust span { color: var(--fg-2); font-size: 15px; }

.crumbs { padding-top: 36px; display: flex; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.crumbs a { color: var(--link); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: 28px; }
.pdp-visual { border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; position: relative; }
.pdp-visual .label { position: absolute; left: 22px; bottom: 20px; }
.pdp-visual .label.r { left: auto; right: 22px; }
.pdp-info { display: grid; gap: 20px; justify-items: start; }

.buy { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; margin-top: 4px; }
.buy .price { font: 800 40px/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; }
.buy .price small { display: block; margin-top: 6px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--fg-2); }
.ticks li::before { content: "✓ "; color: var(--link); }

.demo { padding: clamp(24px, 3.5vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: 28px; align-items: center; }
.demo small { display: block; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.demo .in { font: 800 clamp(28px, 3vw, 44px)/1 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.03em; }
.demo .in.q { font: 600 22px/1.3 var(--sans); text-transform: none; letter-spacing: -.02em; }
.demo .arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: var(--fg); }
.demo .arrow svg { width: 20px; height: 20px; }
.demo ul { margin: 0; padding: 0; list-style: none; }
.demo li { display: block; padding: 12px 0; border-top: 1px solid var(--hair); }
.demo li:first-child { border-top: 0; padding-top: 0; }

.gets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gets .tile { padding: 26px; display: grid; gap: 10px; align-content: start; min-height: 240px; }
.gets .ico { width: 26px; height: 26px; color: var(--link); }
.gets .ico svg { width: 26px; height: 26px; }
.gets h3 { margin-top: auto; font: 800 19px/1.05 var(--display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; }
.gets p { color: var(--fg-2); font-size: 15px; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq .tile { padding: 0 26px; border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--fg-3); transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--fg-2); max-width: 64ch; }

.prose { max-width: 760px; display: grid; gap: 14px; }
.prose h2 { font: 800 26px/1 var(--display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; margin-top: 32px; }
.prose p { color: var(--fg-2); }

/* ---------- Footer ---------- */
.foot { margin-top: clamp(96px, 12vw, 168px); padding-block: 26px 44px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.foot nav a:hover { color: var(--fg); }
.legal-line { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--fg-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .example { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .example .who { grid-row: auto; grid-column: 1 / -1; }
  .target { grid-column: 1 / -1; }
  .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero, .pdp, .sechead { grid-template-columns: minmax(0, 1fr); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: minmax(0, 1fr); }
  .how .tile { min-height: 0; }
  .how h3 { margin-top: 12px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo .arrow { transform: rotate(90deg); }
  .closing { grid-template-columns: minmax(0, 1fr); }
  .protocol li { grid-template-columns: 34px minmax(0, 1fr) 54px; }
  .protocol li span, .protocol .bar { grid-column: 2; }
}
@media (max-width: 640px) {
  .grid3, .gets, .trust, .legend, .example { grid-template-columns: minmax(0, 1fr); }
  .nl.hide-sm { display: none; }
  .protocol, .faq .tile { padding-inline: 20px; }
  .actions .btn { flex: 1 1 auto; }
  .ticker span { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Simple layout (Google-like): one idea per section, centred, short text, lots of air.
   ========================================================================== */
:root { --fg: #202124; --fg-2: #5F6368; --fg-3: #80868B; --tile: #F8F9FA; --tile-2: #F1F3F4; --hair: #DADCE0; }
body { background-image: none; }

.hero.simple { display: block; text-align: center; padding-block: clamp(64px, 9vw, 120px) 0; }
.hero.simple .label { display: inline-block; }
.hero.simple h1 { margin-top: 20px; font-size: clamp(56px, 9vw, 132px); }
.hero.simple .lede { margin: 26px auto 0; max-width: 26em; }
.hero.simple .actions { justify-content: center; }
.hero.simple .stage2 { position: relative; max-width: 560px; margin: clamp(32px, 4vw, 56px) auto 0; }
.hero.simple .spotlight { margin: -12px auto 0; }

.block { padding-top: clamp(96px, 12vw, 160px); }
.block-head { text-align: center; max-width: 40em; margin: 0 auto clamp(36px, 4.5vw, 56px); display: grid; justify-items: center; gap: 14px; }
.block-head h2 { font-size: clamp(36px, 4.6vw, 64px); }
.block-head p { font-size: 19px; color: var(--fg-2); }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps3 .tile { padding: 32px 28px; display: grid; gap: 12px; justify-items: start; }
.steps3 .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); font: 600 15px var(--mono); color: var(--link); }
.steps3 h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 8px; }
.steps3 p { color: var(--fg-2); }

.cta-band { text-align: center; padding: clamp(48px, 7vw, 88px) 24px; border-radius: 28px; display: grid; justify-items: center; gap: 16px; }
.cta-band .avatar { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 12px 30px -10px rgb(229 50 27 / .4); }
.cta-band h2 { font-size: clamp(34px, 4.4vw, 60px); }
.cta-band p { color: var(--fg-2); font-size: 19px; }

.card .cap p { min-height: 0; }
.page-head.center { text-align: center; justify-items: center; }
.page-head.center .lede { margin-inline: auto; }

.pdp-info .lede { font-size: 20px; }
.gets3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gets3 .tile { padding: 28px; display: grid; gap: 10px; align-content: start; }
.gets3 .ico { width: 26px; height: 26px; color: var(--link); }
.gets3 .ico svg { width: 26px; height: 26px; }
.gets3 h3 { font-size: 20px; margin-top: 6px; }
.gets3 p { color: var(--fg-2); font-size: 16px; }
.faq.center { margin-inline: auto; }

@media (max-width: 960px) {
  .steps3, .gets3 { grid-template-columns: minmax(0, 1fr); }
}
.hero.simple .spotlight { text-align: left; }

/* ---------- Free apps ---------- */
.apps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.appcard { position: relative; padding: 14px; display: grid; gap: 4px; }
.appcard .shot { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); aspect-ratio: 1200 / 630; }
.appcard .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.appcard:hover .shot img { transform: scale(1.03); }
.appcard .shot .stack { --s: .7; aspect-ratio: 1200 / 630; }
.appcard .cap { padding: 16px 8px 8px; display: grid; gap: 6px; }
.appcard .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.appcard h3 { font: 800 22px/1 var(--display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.02em; }
.appcard p { font-size: 15px; color: var(--fg-2); }
.appcard .free { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--fg); padding: 7px 10px; border-radius: 999px; }
.appcard.soon { opacity: .75; }
.appcard.soon .free { background: var(--tile-2); color: var(--fg-2); }
.appcard > a.cover { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.tier { font: 700 18px/1 var(--mono); letter-spacing: .04em; color: var(--link); }
@media (max-width: 960px) { .apps3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Makers (Your copy / Your app) ---------- */
.maker { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
.maker-form { padding: 26px; display: grid; gap: 22px; }
.maker-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.maker-form legend { padding: 0; margin-bottom: 12px; }
.field { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--hair); background: #fff; font: inherit; color: var(--fg); resize: vertical; transition: border-color .15s, box-shadow .15s; }
.field:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgb(242 113 30 / .18); }
.err { margin: 0; color: #B3261E; font-size: 14px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: progress; }
.choice3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice3 label { position: relative; cursor: pointer; }
.choice3 input { position: absolute; opacity: 0; }
.choice3 span { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow .15s, transform .25s var(--spring); }
.choice3 b { font-weight: 600; }
.choice3 small { color: var(--fg-3); font-size: 12px; }
.choice3 input:checked + span { box-shadow: inset 0 0 0 2px var(--orange); }
.choice3 input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.palettes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
.palettes label { position: relative; display: grid; justify-items: center; gap: 6px; cursor: pointer; }
.palettes input { position: absolute; opacity: 0; }
.palettes span { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); transition: box-shadow .15s, transform .25s var(--spring); }
.palettes small { font-size: 12px; color: var(--fg-2); }
.palettes input:checked + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--fg); transform: scale(1.05); }
.palettes input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 4px; }
.preview { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -30px rgb(32 33 36 / .35); }
.preview-bar { height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--tile); border-bottom: 1px solid var(--hair); font-size: 13px; }
.preview-bar .dots { display: flex; gap: 6px; }
.preview-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #D5D7DB; }
.preview-bar .url { flex: 1; text-align: center; font: 500 12px var(--mono); color: var(--fg-2); }
.frame-wrap { position: relative; height: min(70vh, 640px); }
.frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.request { padding: 26px; display: grid; gap: 14px; }
.request pre { margin: 0; white-space: pre-wrap; font: 500 14px/1.6 var(--mono); color: var(--fg); background: #fff; border-radius: 12px; padding: 16px; box-shadow: inset 0 0 0 1px var(--hair); min-height: 160px; }
.actions.left { justify-content: flex-start; margin-top: 0; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (max-width: 960px) { .maker { grid-template-columns: minmax(0, 1fr); } .frame-wrap { height: 70vh; } }
