/* impeccable-disable nested-cards -- the visuals are mock-ups of app windows: a window on a backdrop, cards inside a panel, on purpose */
/* MacClipper website: light, elegant, Apple-like (Stefan, 2026-11-04), and VISUAL (Stefan, 2026-11-05: "words almost
   never [grab attention] ... we need VISUAL elements", one per feature). Palette from the icon: white and mist bands,
   near-black ink, navy accent and the one navy contrast band, marigold sparingly. Each feature stage gets its own
   colored backdrop (sun, sky, coral, leaf, night, rose); no teal, purple or cream.
   Fill rule: every container differs from what it sits on — white windows on colored stages, stages on white/mist
   bands, white tiles on mist, mist tiles on white. */
:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --mist: #F5F5F7;
  --ink: #1D1D1F;
  --ink-2: #515154;
  --ink-3: #6E6E73;
  --line: #D2D2D7;
  --navy: #1B2A4E;
  --navy-2: #13203D;
  --navy-hover: #26396A;
  --marigold: #FFC23A;
  --marigold-ink: #5C3D00;
  --coral: #F0564A;      /* strokes and shapes only */
  --coral-ink: #C2362B;  /* coral for text, and fills under white text (5.3:1) */
  --blue: #2F5FE0;       /* 5.3:1 with white */
  --green: #23803A;      /* 4.9:1 with white */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1120px;
  --shadow: 0 1px 0 rgb(0 0 0 / .04), 0 24px 50px -24px rgb(0 0 0 / .3);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--navy); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto;
  padding: 0 24px; }
.band { padding: 112px 0; }
.band.mist { background: var(--mist); }

/* Top bar. Named exception to the fill rule: frosted white over the white hero is Apple's own pattern; the hairline
   border below it separates it, and over the other bands its fill differs anyway. */
.nav { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .82);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgb(0 0 0 / .08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.brand img { width: 26px; height: 26px; }
.nav nav { display: flex; gap: 24px; font-size: 14px; }
.nav nav a { color: var(--ink-2); text-decoration: none; }
.nav nav a:hover { color: var(--ink); }

/* ---------- Type ---------- */
h1 { font: 700 clamp(46px, 7.4vw, 84px)/1.02 var(--display); letter-spacing: -.032em; margin: 0; text-wrap: balance; }
h2 { font: 700 clamp(34px, 4.8vw, 56px)/1.06 var(--display); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--marigold-ink); margin: 0 0 12px; letter-spacing: .01em; }
.intro { font-size: 21px; line-height: 1.45; color: var(--ink-2); max-width: 40ch; margin: 18px 0 0; text-wrap: pretty; }
kbd { font: 13px var(--mono); background: var(--mist); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--ink); white-space: nowrap; }
.mist kbd { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 84px 0 0; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 100%, rgb(255 194 58 / .28), transparent 70%), var(--paper); }
.hero .icon { width: 124px; height: 124px; display: block; margin: 0 auto 26px; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .18)); }
.hero .lead { font: 400 clamp(21px, 2.6vw, 27px)/1.35 var(--display); letter-spacing: -.01em; color: var(--ink-2); max-width: 32ch; margin: 20px auto 0; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #FFFFFF; text-decoration: none;
  font-size: 17px; font-weight: 500; padding: 13px 24px; border-radius: 980px; border: 0; }
.button[aria-disabled="true"] { cursor: default; }
.cta .fine { color: var(--ink-2); font-size: 14px; }

.desk { margin: 64px auto 0; max-width: 1060px; padding: 0 0 72px; perspective: 1600px; }
.panel { background: var(--mist); border-radius: 24px; padding: 22px; text-align: left; box-shadow: 0 1px 0 rgb(0 0 0 / .05), 0 40px 80px -36px rgb(0 0 0 / .35);
  transform: rotateX(8deg); transform-origin: 50% 100%; }
.panel .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 4px 16px; }
.panel .search { flex: 1; max-width: 340px; background: var(--paper); border-radius: 9px; padding: 7px 12px; font-size: 14px; color: var(--ink); display: flex; align-items: center; min-height: 34px; }
.panel .search .ph { color: var(--ink-3); }
.panel .search .q:not(:empty) ~ .ph { display: none; }
.panel .keys { display: flex; gap: 4px; }
.panel .keys kbd { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--paper); border-radius: 14px; padding: 12px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-height: 176px; min-width: 0;
  outline: 2px solid transparent; transition: outline-color .4s; }
.card.fresh { outline-color: var(--marigold); }
.card.enter { animation: cardIn .6s cubic-bezier(.22, 1, .36, 1); }
.card.dim { opacity: .3; transition: opacity .3s; }
@keyframes cardIn { from { opacity: 0; transform: translateX(-30px) scale(.9); } }
.card .kind { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card .body { font-size: 13px; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.card .meta { font-size: 11px; color: var(--ink-3); }
.card .swatch { border-radius: 9px; display: flex; align-items: flex-end; padding: 8px; font: 12px var(--mono); background: var(--marigold); color: var(--marigold-ink); }
.card .shot { border-radius: 9px; background: linear-gradient(160deg, #DCE3F2, #B9C6E4); position: relative; overflow: hidden; }
.card .shot::after { content: ""; position: absolute; left: 14%; right: 30%; top: 22%; height: 9px; border-radius: 5px; background: rgb(255 255 255 / .85);
  box-shadow: 0 18px 0 rgb(255 255 255 / .7), 0 36px 0 -2px rgb(255 255 255 / .6); }
.card .link { border-radius: 9px; background: linear-gradient(135deg, #FF8A65, #F0564A); color: #fff; font-size: 12px; font-weight: 600; padding: 8px; display: flex; align-items: flex-end; }
.card code { font: 12px/1.45 var(--mono); }
.card .secret { font: 12px var(--mono); color: transparent; text-shadow: 0 0 7px rgb(29 29 31 / .55); user-select: none; }
.card .lock { font-size: 11px; color: var(--navy); font-weight: 600; }

/* ---------- Section heads, feature rows, stages ---------- */
.head { max-width: 760px; margin-bottom: 56px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .intro { margin-inline: auto; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature.flip .copy { order: 2; }
.feature .intro { font-size: 19px; }

.stage { border-radius: 28px; padding: 48px; display: grid; place-items: center; min-height: 380px; position: relative; overflow: hidden; }
.s-sun   { background: linear-gradient(140deg, #FFE7A3, #FFB45E); }
.s-sky   { background: linear-gradient(140deg, #DDE7FF, #A9C1FF); }
.s-coral { background: linear-gradient(140deg, #FFD9D3, #FF9A8B); }
.s-leaf  { background: linear-gradient(140deg, #E0F4D9, #A7DA98); }
.s-night { background: linear-gradient(140deg, #22345E, #0E1830); }
.s-rose  { background: linear-gradient(140deg, #FFE3EC, #FFB3C7); }
.s-deep  { background: linear-gradient(140deg, #2B3F70, #0B1530); }
.stage.s-sun { min-height: 0; padding: 56px; }

.win { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; width: 100%; }
.chrome { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--mist); font-size: 12px; color: var(--ink-3); }
.chrome i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.chrome i:nth-child(2) { background: #FEBC2E; }
.chrome i:nth-child(3) { background: #28C840; }
.chrome span { margin-left: 10px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--blue); vertical-align: -0.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Text expander */
.mail { max-width: 760px; font-size: 18px; }
.mail .row { padding: 10px 22px; border-bottom: 1px solid var(--mist); color: var(--ink-2); font-size: 15px; }
.mail .row b { color: var(--ink-3); font-weight: 500; margin-right: 6px; }
.mail .text { padding: 22px 22px 26px; min-height: 150px; line-height: 1.6; }
.mail .typed .ab { background: rgb(255 194 58 / .45); border-radius: 4px; padding: 0 2px; }
.mail .typed .done { background: rgb(255 194 58 / .25); border-radius: 4px; transition: background 1.2s; }
.mail .typed .done.settle { background: transparent; }
.snip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 22px 22px; padding: 12px 16px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 14px; }
.snip .abbr { font: 600 14px var(--mono); background: var(--marigold); color: var(--marigold-ink); padding: 2px 8px; border-radius: 6px; }
.snip .arrow { color: var(--marigold); }
.snip .full { color: rgb(255 255 255 / .85); }

/* Paste Stack (8 s loop, CSS only) */
.stack-demo { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; width: 100%; }
.stack { display: grid; gap: 10px; }
.stack-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-align: center; margin-top: 4px; }
.chip { background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 14px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip em { font-style: normal; font-weight: 700; font-size: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; }
.form label { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--mist); font-size: 14px; color: var(--ink-3); }
.form .f { flex: 1; background: var(--mist); border-radius: 8px; padding: 7px 10px; color: var(--ink); min-height: 34px; font-size: 15px; }
.form .press { display: flex; gap: 4px; justify-content: flex-end; padding: 14px 20px; }
.play .c1 { animation: chip1 8s infinite; } .play .f1 { animation: fill1 8s infinite; }
.play .c2 { animation: chip2 8s infinite; } .play .f2 { animation: fill2 8s infinite; }
.play .c3 { animation: chip3 8s infinite; } .play .f3 { animation: fill3 8s infinite; }
.play .press { animation: press 8s infinite; }
@keyframes chip1 { 0%, 18% { opacity: 1; transform: none; } 24%, 92% { opacity: 0; transform: translateX(60px) scale(.9); } 100% { opacity: 1; } }
@keyframes chip2 { 0%, 40% { opacity: 1; transform: none; } 46%, 92% { opacity: 0; transform: translateX(60px) scale(.9); } 100% { opacity: 1; } }
@keyframes chip3 { 0%, 62% { opacity: 1; transform: none; } 68%, 92% { opacity: 0; transform: translateX(60px) scale(.9); } 100% { opacity: 1; } }
@keyframes fill1 { 0%, 21% { color: transparent; outline: 2px solid transparent; } 24% { color: var(--ink); outline: 2px solid var(--blue); } 34%, 92% { color: var(--ink); outline: 2px solid transparent; } 100% { color: transparent; } }
@keyframes fill2 { 0%, 43% { color: transparent; outline: 2px solid transparent; } 46% { color: var(--ink); outline: 2px solid var(--blue); } 56%, 92% { color: var(--ink); outline: 2px solid transparent; } 100% { color: transparent; } }
@keyframes fill3 { 0%, 65% { color: transparent; outline: 2px solid transparent; } 68% { color: var(--ink); outline: 2px solid var(--blue); } 78%, 92% { color: var(--ink); outline: 2px solid transparent; } 100% { color: transparent; } }
@keyframes press { 0%, 19%, 25%, 41%, 47%, 63%, 69%, 100% { transform: none; opacity: .5; } 22%, 44%, 66% { transform: translateY(2px); opacity: 1; } }

/* ---------- Bento tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento .t-wide { grid-column: span 2; }
.tile { background: var(--paper); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.band:not(.mist) .tile { background: var(--mist); }
.tile h3 { font: 700 22px/1.2 var(--display); letter-spacing: -.012em; margin: 22px 0 8px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 16px; }
.viz { border-radius: 16px; height: 170px; position: relative; overflow: hidden; display: grid; place-items: center; padding: 16px; }

.boards { background: linear-gradient(140deg, #FFF1C9, #FFD27A); align-content: center; gap: 14px; }
.boards .tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.boards .tabs span { padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; background: rgb(255 255 255 / .7); color: var(--ink-2); }
.boards .tabs span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: var(--c); }
.boards .b1 { --c: var(--coral); } .boards .b2 { --c: var(--navy); } .boards .b3 { --c: var(--blue); } .boards .b4 { --c: var(--green); }
.play .boards .tabs span { animation: tab 8s infinite; }
.play .boards .b2 { animation-delay: 2s; } .play .boards .b3 { animation-delay: 4s; } .play .boards .b4 { animation-delay: 6s; }
@keyframes tab { 0%, 22% { background: var(--navy); color: #fff; } 25%, 100% { background: rgb(255 255 255 / .7); color: var(--ink-2); } }
.boards .minis { display: flex; gap: 10px; }
.boards .minis i { width: 74px; height: 64px; border-radius: 10px; box-shadow: var(--shadow);
  background: linear-gradient(#E3E6EE, #E3E6EE) 10px 14px / 46px 6px no-repeat, linear-gradient(#E3E6EE, #E3E6EE) 10px 26px / 36px 6px no-repeat, linear-gradient(var(--c, var(--marigold)), var(--c, var(--marigold))) 10px 44px / 18px 8px no-repeat, var(--paper); }
.boards .minis i:nth-child(1) { --c: var(--coral); } .boards .minis i:nth-child(2) { --c: var(--navy); } .boards .minis i:nth-child(3) { --c: var(--blue); } .boards .minis i:nth-child(4) { --c: var(--green); }
.play .boards .minis i { animation: bob 2s infinite; }
.boards .minis i:nth-child(2) { animation-delay: .15s; } .boards .minis i:nth-child(3) { animation-delay: .3s; } .boards .minis i:nth-child(4) { animation-delay: .45s; }
@keyframes bob { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-6px); } }

.plain { background: linear-gradient(140deg, #E2EAFF, #BCD0FF); font-size: 17px; }
.plain > div { background: var(--paper); border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow); grid-area: 1 / 1; }
.plain .rich { font-family: Georgia, serif; } .plain .rich b { color: var(--coral-ink); } .plain .rich a { color: var(--blue); text-decoration: underline; }
.plain .flat { opacity: 0; }
.play .plain .rich { animation: swapA 5s infinite; } .play .plain .flat { animation: swapB 5s infinite; }
@keyframes swapA { 0%, 40% { opacity: 1; transform: none; } 50%, 90% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; } }
@keyframes swapB { 0%, 40% { opacity: 0; transform: translateY(8px); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.hot { background: linear-gradient(140deg, #FFDCD6, #FFA597); align-content: center; gap: 14px; }
.hot .caps { display: flex; gap: 6px; justify-content: center; }
.hot kbd { font-size: 18px; padding: 6px 12px; background: var(--paper); }
.hot .out { background: var(--paper); border-radius: 10px; padding: 9px 14px; font-size: 13px; box-shadow: var(--shadow); opacity: 0; }
.play .hot kbd { animation: keydown 4s infinite; } .play .hot .out { animation: pop 4s infinite; }
@keyframes keydown { 0%, 25%, 45%, 100% { transform: none; border-bottom-width: 2px; } 30%, 40% { transform: translateY(2px); border-bottom-width: 1px; } }
@keyframes pop { 0%, 35% { opacity: 0; transform: scale(.9); } 42%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.tags { background: linear-gradient(140deg, #DFF3D8, #A9DB9B); grid-template-columns: auto auto; gap: 18px; }
.mini-card { background: var(--paper); border-radius: 12px; padding: 14px; width: 260px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 6px; }
.mini-card .t { font-size: 14px; width: 100%; margin-bottom: 4px; }
.tg { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; }
.g1 { background: #FFE7A3; color: var(--marigold-ink); } .g2 { background: #DDE7FF; color: var(--navy); }
.mini-card .note { width: 100%; font-size: 12px; color: var(--ink-3); margin-top: 4px; padding: 6px 8px; border-radius: 6px; background: var(--mist); }
.arch { font-size: 13px; font-weight: 600; color: var(--navy); background: rgb(255 255 255 / .7); padding: 10px 14px; border-radius: 10px; }
.play .tg { animation: pop 6s infinite; } .play .g2 { animation-delay: .3s; } .play .mini-card .note { animation: pop 6s .6s infinite; }

/* ---------- Markup (9 s loop) ---------- */
.markup { max-width: 640px; }
.tools { display: flex; gap: 6px; justify-content: center; padding: 10px; background: var(--mist); }
.tools span { width: 34px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-size: 15px; color: var(--ink-2); background: var(--paper); }
.shotview { position: relative; aspect-ratio: 400 / 240; background: linear-gradient(160deg, #F4F6FB, #E4E9F4); }
.fake { position: absolute; inset: 8% 10%; background: var(--paper); border-radius: 10px; padding: 6%; box-shadow: 0 6px 20px -10px rgb(0 0 0 / .3); }
.fh { height: 12%; width: 40%; border-radius: 4px; background: var(--navy); margin-bottom: 7%; }
.fl { height: 7%; border-radius: 4px; background: #E3E6EE; margin-bottom: 4%; }
.w70 { width: 70%; } .w50 { width: 50%; } .w60 { width: 60%; }
.fbtn { position: relative; display: inline-block; font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); padding: 4px 12px; border-radius: 6px; margin: 2% 0 5%; }
.fbtn::after { content: ""; position: absolute; inset: -7px -9px; border: 3px solid var(--coral); border-radius: 8px; clip-path: inset(0 100% 100% 0); }
.play .fbtn::after { animation: boxIn 9s infinite; }
@keyframes boxIn { 0%, 26% { clip-path: inset(0 100% 100% 0); } 32% { clip-path: inset(0 0 100% 0); } 38%, 92% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { opacity: 0; } }
.email { position: absolute; right: 6%; bottom: 10%; font-size: 12px; color: var(--ink-2); }
.shotview svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.shotview path, .shotview rect { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.shotview .arrow { stroke-dasharray: 200; stroke-dashoffset: 200; }
.shotview .head { stroke-dasharray: 40; stroke-dashoffset: 40; }
.shotview .box { stroke-dasharray: 320; stroke-dashoffset: 320; }
.badge { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--coral-ink); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; transform: scale(0); box-shadow: 0 4px 10px -3px rgb(0 0 0 / .35); }
.n1 { left: 11%; top: 46%; } .n2 { left: 47%; top: 71%; }
.blurbox { position: absolute; right: 13%; bottom: 15%; width: 38%; height: 12%; border-radius: 6px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); background: rgb(255 255 255 / .2); opacity: 0; }
.play .arrow { animation: draw 9s infinite; } .play .head { animation: drawHead 9s infinite; } .play .box { animation: drawBox 9s infinite; }
.play .n1 { animation: badge1 9s infinite; } .play .n2 { animation: badge2 9s infinite; } .play .blurbox { animation: blurIn 9s infinite; }
.play .tl1 { animation: tool1 9s infinite; } .play .tl2 { animation: tool2 9s infinite; } .play .tl3 { animation: tool3 9s infinite; } .play .tl4 { animation: tool4 9s infinite; }
@keyframes draw { 0%, 6% { stroke-dashoffset: 200; } 18%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes drawHead { 0%, 18% { stroke-dashoffset: 40; } 21%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes drawBox { 0%, 26% { stroke-dashoffset: 320; } 38%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes badge1 { 0%, 44% { transform: scale(0); } 48% { transform: scale(1.2); } 51%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes badge2 { 0%, 52% { transform: scale(0); } 56% { transform: scale(1.2); } 59%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes blurIn { 0%, 64% { opacity: 0; } 70%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tool1 { 0%, 4%, 22%, 100% { background: var(--paper); color: var(--ink-2); } 5%, 21% { background: var(--coral-ink); color: #fff; } }
@keyframes tool2 { 0%, 24%, 40%, 100% { background: var(--paper); color: var(--ink-2); } 25%, 39% { background: var(--coral-ink); color: #fff; } }
@keyframes tool3 { 0%, 42%, 60%, 100% { background: var(--paper); color: var(--ink-2); } 43%, 59% { background: var(--coral-ink); color: #fff; } }
@keyframes tool4 { 0%, 62%, 74%, 100% { background: var(--paper); color: var(--ink-2); } 63%, 73% { background: var(--coral-ink); color: #fff; } }

/* ---------- Whole page (8 s loop) ---------- */
.full-demo { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 28px; align-items: center; width: 100%; }
.browser .url { background: var(--paper); border-radius: 6px; padding: 3px 12px; flex: 1; text-align: center; }
.viewport { height: 280px; overflow: hidden; position: relative; }
.page { padding: 16px; display: grid; gap: 12px; }
.page .p-hero { height: 120px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.page .p-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.page .p-row i { height: 80px; border-radius: 8px; background: #E9EEF8; }
.page .p-text { height: 12px; border-radius: 6px; background: #E3E6EE; width: 90%; }
.page .p-text.s { width: 60%; }
.page .p-band { height: 100px; border-radius: 10px; background: linear-gradient(135deg, #FFD27A, var(--coral)); }
.page .p-foot { height: 60px; border-radius: 8px; background: var(--ink); }
.play .viewport .page { animation: scrollPage 8s infinite; }
@keyframes scrollPage { 0%, 8% { transform: none; } 62%, 100% { transform: translateY(-360px); } }
.result { display: grid; gap: 12px; justify-items: center; }
.strip { width: 110px; height: 196px; background: var(--paper); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.page.mini { transform: scale(.32); transform-origin: 0 0; width: 344px; }
.play .strip .page { animation: reveal 8s infinite; }
@keyframes reveal { 0%, 8% { clip-path: inset(0 0 100% 0); } 62%, 94% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); } }
.saved { font-size: 12px; font-weight: 600; color: #fff; background: var(--green); padding: 5px 10px; border-radius: 99px; white-space: nowrap; opacity: 0; }
.play .saved { animation: savedPop 8s infinite; }
@keyframes savedPop { 0%, 64% { opacity: 0; transform: translateY(6px); } 68%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- Copy text from screen (7 s loop) ---------- */
.ocr-demo { width: 100%; max-width: 560px; display: grid; gap: 18px; }
.slide { position: relative; background: linear-gradient(150deg, #FFFFFF, #EEF1F8); border-radius: 12px; padding: 36px 34px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }
.s-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--coral-ink); }
.s-title { font: 700 30px/1.15 var(--display); letter-spacing: -.02em; margin: 10px 0 12px; color: var(--navy); }
.s-sub { font-size: 15px; color: var(--ink-2); }
.marquee { position: absolute; left: 28px; top: 56px; width: 0; height: 0; border: 2px dashed var(--blue); background: rgb(58 111 247 / .1); border-radius: 4px; opacity: 0; }
.play .marquee { animation: marquee 7s infinite; }
@keyframes marquee { 0%, 8% { width: 0; height: 0; opacity: 1; } 34% { width: calc(100% - 56px); height: var(--mh, 84px); opacity: 1; } 44% { background: rgb(58 111 247 / .35); } 50%, 100% { width: calc(100% - 56px); height: var(--mh, 84px); opacity: 0; } }
.copied { background: var(--paper); border-radius: 12px; padding: 12px 16px; font-size: 15px; display: flex; gap: 12px; align-items: center; opacity: 0; box-shadow: var(--shadow); }
.copied .ok { font-size: 12px; font-weight: 700; color: #fff; background: var(--green); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.play .copied { animation: copiedIn 7s infinite; }
@keyframes copiedIn { 0%, 46% { opacity: 0; transform: translateY(10px); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- Color picker (driven by site.js) ---------- */
.color-demo { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: center; width: 100%; }
.art { position: relative; height: 300px; border-radius: 16px; overflow: hidden; background: #FFF6E5; box-shadow: var(--shadow); }
.art i { position: absolute; display: block; }
.art .a1 { left: -10%; top: -20%; width: 60%; height: 80%; border-radius: 50%; background: #FFC23A; }
.art .a2 { right: -8%; top: 10%; width: 50%; height: 60%; border-radius: 30px; background: #1B2A4E; transform: rotate(12deg); }
.art .a3 { left: 20%; bottom: -25%; width: 45%; height: 70%; border-radius: 50%; background: #F0564A; }
.art .a4 { right: 12%; bottom: 8%; width: 22%; height: 30%; border-radius: 50%; background: #3A6FF7; }
.art .a5 { left: 42%; top: 18%; width: 16%; height: 22%; border-radius: 8px; background: #2F9E44; transform: rotate(-14deg); }
.loupe { position: absolute; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 10px 30px -6px rgb(0 0 0 / .5), inset 0 0 0 1px rgb(0 0 0 / .15);
  left: 22%; top: 30%; transition: left .9s cubic-bezier(.5, 0, .2, 1), top .9s cubic-bezier(.5, 0, .2, 1); background: var(--pick, #FFC23A); display: grid; place-items: center; }
.loupe span { width: 12px; height: 12px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .4); }
.readout { background: var(--paper); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.readout .sw { height: 72px; border-radius: 10px; background: var(--pick, #FFC23A); transition: background .4s; margin-bottom: 14px; }
.readout dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.readout dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); align-self: center; }
.readout dd { margin: 0; font: 14px var(--mono); }

/* ---------- More capture tiles ---------- */
.modes { background: linear-gradient(140deg, #DDE7FF, #A9C1FF); grid-template-columns: 1fr 1fr; gap: 8px; }
.modes span { background: rgb(255 255 255 / .75); border-radius: 10px; padding: 12px 8px; font-size: 13px; font-weight: 600; text-align: center; color: var(--ink-2); }
.play .modes span { animation: modeOn 6s infinite; }
.play .modes .m2 { animation-delay: 1.5s; } .play .modes .m3 { animation-delay: 3s; } .play .modes .m4 { animation-delay: 4.5s; }
@keyframes modeOn { 0%, 22% { background: var(--navy); color: #fff; } 25%, 100% { background: rgb(255 255 255 / .75); color: var(--ink-2); } }

.pin { background: linear-gradient(140deg, #FFE3EC, #FFB3C7); }
.pin .under { width: 80%; background: var(--paper); border-radius: 10px; padding: 14px; display: grid; gap: 8px; box-shadow: var(--shadow); }
.pin .under i { height: 9px; border-radius: 5px; background: #E3E6EE; }
.pin .under i:nth-child(2) { width: 70%; }
.pin .floater { position: absolute; right: 12%; top: 16%; width: 44%; height: 46%; border-radius: 8px; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 14px 30px -10px rgb(0 0 0 / .5); outline: 3px solid #fff; }
.pin .slider { position: absolute; left: 12%; right: 12%; bottom: 14px; height: 4px; border-radius: 2px; background: rgb(0 0 0 / .15); }
.pin .slider span { position: absolute; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .4); left: 90%; }
.play .pin .floater { animation: fade 5s infinite alternate; } .play .pin .slider span { animation: slide 5s infinite alternate; }
@keyframes fade { 0%, 15% { opacity: 1; } 85%, 100% { opacity: .35; } }
@keyframes slide { 0%, 15% { left: 90%; } 85%, 100% { left: 25%; } }

.imp { background: linear-gradient(140deg, #E0F4D9, #A7DA98); }
.imp img { width: 64px; height: 64px; position: relative; z-index: 1; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .25)); }
.imp span { position: absolute; font-size: 12px; font-weight: 600; background: var(--paper); padding: 5px 10px; border-radius: 99px; box-shadow: var(--shadow); white-space: nowrap; }
.imp .i1 { left: 6%; top: 12%; } .imp .i2 { right: 6%; top: 12%; } .imp .i3 { left: 50%; bottom: 10%; margin-left: -70px; }
.play .imp span { animation: suck 4.5s infinite; }
.play .imp .i2 { animation-delay: 1.5s; } .play .imp .i3 { animation-delay: 3s; }
@keyframes suck { 0%, 40% { transform: none; opacity: 1; } 70% { transform: translate(var(--dx, 60px), var(--dy, 40px)) scale(.3); opacity: 0; } 71%, 85% { transform: none; opacity: 0; } 100% { opacity: 1; } }
.imp .i1 { --dx: 70px; --dy: 50px; } .imp .i2 { --dx: -70px; --dy: 50px; } .imp .i3 { --dx: 0px; --dy: -50px; }

/* ---------- Privacy: the navy contrast band ---------- */
.band.navy { background: var(--navy-2); color: #fff; }
.navy .eyebrow { color: var(--marigold); }
.navy .intro { color: rgb(255 255 255 / .75); }
.stage.s-deep { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.vault { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 24px; width: 100%; max-width: 420px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .7); }
.vault .kind { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.vault .key { font: 600 19px var(--mono); margin: 14px 0 20px; color: transparent; text-shadow: 0 0 10px rgb(29 29 31 / .7); overflow-wrap: anywhere; }
.touch { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; position: relative; }
.touch svg { width: 44px; height: 44px; fill: none; stroke: var(--coral); stroke-width: 2.4; stroke-linecap: round; border-radius: 50%; padding: 4px; }
.touch .ulabel { position: absolute; left: 56px; opacity: 0; color: var(--green); }
.play .vault .key { animation: unblur 7s infinite; } .play .touch svg { animation: ring 7s infinite; }
.play .touch .tlabel { animation: hideL 7s infinite; } .play .touch .ulabel { animation: showL 7s infinite; }
@keyframes ring { 0%, 18% { transform: none; stroke: var(--coral); } 24% { transform: scale(1.12); } 30% { transform: none; } 38%, 82% { stroke: #3DBE5C; } 90%, 100% { stroke: var(--coral); } }
@keyframes unblur { 0%, 36% { color: transparent; text-shadow: 0 0 10px rgb(29 29 31 / .7); } 42%, 82% { color: var(--ink); text-shadow: none; } 90%, 100% { color: transparent; text-shadow: 0 0 10px rgb(29 29 31 / .7); } }
@keyframes hideL { 0%, 36% { opacity: 1; } 40%, 84% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes showL { 0%, 38% { opacity: 0; } 42%, 82% { opacity: 1; } 88%, 100% { opacity: 0; } }
.facts { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.facts li { background: rgb(255 255 255 / .07); border-radius: 18px; padding: 22px 24px; display: grid; gap: 6px; }
.facts strong { font-size: 17px; }
.facts span { color: rgb(255 255 255 / .7); font-size: 15px; }

/* ---------- Closing ---------- */
.closing { text-align: center; display: grid; justify-items: center; gap: 0; padding: 72px 24px; border-radius: 32px;
  background: radial-gradient(70% 90% at 50% 0%, rgb(255 194 58 / .35), transparent 70%), var(--mist); }
.closing img { width: 84px; height: 84px; margin-bottom: 22px; }
.closing .intro { margin: 14px auto 30px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 13px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- Text pages (privacy, support) ---------- */
.doc { padding-block: 72px 96px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(38px, 5vw, 52px); }
.doc .updated { color: var(--ink-3); font-size: 15px; margin: 12px 0 40px; }
.doc h2 { font-size: 24px; max-width: none; margin: 44px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; display: grid; gap: 6px; }
.doc .note { background: var(--mist); border-radius: 14px; padding: 18px 22px; color: var(--ink); }

/* ---------- Narrow screens ---------- */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .copy { order: 0; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards .card:nth-child(n+4) { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento.three .tile:last-child { grid-column: span 2; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .band { padding: 72px 0; }
  .nav nav { gap: 16px; }
  .nav nav a:last-child { display: none; } /* Support stays in the footer */
  .panel { transform: none; padding: 14px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards .card:nth-child(n+3) { display: none; }
  .stage, .stage.s-sun { padding: 22px; min-height: 0; border-radius: 22px; }
  .bento, .bento.three { grid-template-columns: minmax(0, 1fr); }
  .boards .minis i { width: 58px; }
  .bento .t-wide, .bento.three .tile:last-child { grid-column: auto; }
  .stack-demo { grid-template-columns: 1fr; }
  .full-demo { grid-template-columns: minmax(0, 1fr) 80px; gap: 14px; }
  .strip { width: 80px; height: 142px; }
  .page.mini { transform: scale(.232); }
  .color-demo { grid-template-columns: 1fr; }
  .art { height: 220px; }
  .tags { grid-template-columns: 1fr; }
  .mini-card { width: 100%; }
  .s-title { font-size: 24px; }
  .slide { padding: 26px 22px; }
  .marquee { left: 16px; top: 46px; --mh: 64px; }
  .mail { font-size: 16px; }
}

/* Reduced motion: every visual shows its finished state, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .f, .form .f { color: var(--ink) !important; }
  .chip { opacity: .45; }
  .shotview .arrow, .shotview .head, .shotview .box { stroke-dashoffset: 0; }
  .badge { transform: scale(1); }
  .fbtn::after { clip-path: none; }
  .blurbox, .saved, .copied, .hot .out, .vault .touch .ulabel { opacity: 1; }
  .vault .touch .tlabel { opacity: 0; }
  .vault .key { color: var(--ink); text-shadow: none; }
  .plain .flat { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .2s; }
}
