/* Dokie — site styles. Light by default; sections marked data-tone="dark" turn the whole page dark
   as they scroll into view (the page glides between the two). */

:root {
  --bg: #fbfbfd;
  --bg-2: #f2f2f5;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 14px 40px rgba(0, 0, 0, .07);
  --link: #0066cc;
  --red: #ff5a4e; --green: #35c86e; --blue: #2f7bff; --amber: #ffb22e;
  /* Dokie Pro's gold, taken from its icon */
  --gold-1: #eddb92; --gold-2: #c6b87d; --gold-3: #9c9268; --gold-ink: #463c17;
  --pro: linear-gradient(160deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  --radius: 28px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
  color-scheme: light;
}
:root[data-tone="dark"] {
  --bg: #000000;
  --bg-2: #111113;
  --card: #161617;
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --muted: #86868b;
  --faint: #6e6e73;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 14px 40px rgba(0, 0, 0, .4);
  --link: #2997ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.47 var(--font); letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
.card, .nav, .field, .feat, .plan, .media { transition: background-color .9s var(--ease), color .9s var(--ease), border-color .9s var(--ease); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap, .wide { padding: 0 18px; } }

/* ———————————————————————————— type */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.06; letter-spacing: -0.032em; }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.kicker { display: block; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--muted); margin-bottom: 14px; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; color: var(--muted); letter-spacing: -0.02em; font-weight: 500; }
.lede b, .copy b { color: var(--ink); font-weight: 600; }
.copy { font-size: 19px; line-height: 1.47; color: var(--muted); }
.center { text-align: center; }
.grad {
  background: linear-gradient(100deg, #ff5a4e, #ffb22e 30%, #35c86e 62%, #2f7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tag-pro, .tag-free {
  display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px; vertical-align: 2px;
  font: 700 10.5px/1.4 var(--font); letter-spacing: .06em;
}
.tag-pro { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); box-shadow: inset 0 0 0 .5px rgba(70, 60, 23, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.tag-free { color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); }

/* ———————————————————————————— buttons & fields */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none !important; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 980px;
  font: 500 17px/1 var(--font); letter-spacing: -0.02em;
  transition: transform .2s var(--ease), background .3s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: #0071e3; color: #fff; }
.btn-primary:hover { background: #0077ed; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 14px; }
.field {
  height: 46px; padding: 0 18px; border-radius: 980px; min-width: 0;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  font: 400 17px/1 var(--font); outline: none; letter-spacing: -0.02em;
}
.field:focus { border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
.field::placeholder { color: var(--faint); }

.waitlist { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 520px; margin: 0 auto; }
.waitlist .field { flex: 1 1 260px; }
.waitlist-note { font-size: 14px; color: var(--muted); margin-top: 12px; min-height: 21px; text-align: center; }
.waitlist-note.ok { color: var(--green); }
.waitlist-note.err { color: var(--red); }

/* ———————————————————————————— nav: a floating glass capsule. Its fill and its rim are made of the page
   behind it (blurred, saturated, brightened), so the colors scrolling underneath light it up */
.nav { position: sticky; top: 14px; z-index: 50; height: 0; display: flex; justify-content: center; pointer-events: none; }
.nav .pill {
  pointer-events: auto; position: relative; z-index: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 22px; width: min(760px, calc(100vw - 28px)); height: 54px; padding: 0 8px 0 18px; border-radius: 980px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .10), 0 1px 2px rgba(0, 0, 0, .05);
}
.nav .pill::before, .nav .pill::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.nav .pill::before {
  z-index: -1; background: color-mix(in srgb, var(--card) 58%, transparent);
  backdrop-filter: blur(26px) saturate(2.6) brightness(1.04); -webkit-backdrop-filter: blur(26px) saturate(2.6) brightness(1.04);
  transition: background-color .9s var(--ease);
}
.nav .pill::after {
  padding: 1.5px; z-index: 1;
  background: linear-gradient(175deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .35));
  backdrop-filter: blur(3px) saturate(4) brightness(1.25) contrast(1.15); -webkit-backdrop-filter: blur(3px) saturate(4) brightness(1.25) contrast(1.15);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
:root[data-tone="dark"] .nav .pill { box-shadow: 0 10px 34px rgba(0, 0, 0, .5); }
:root[data-tone="dark"] .nav .pill::after { background: linear-gradient(175deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, .16));
  backdrop-filter: blur(3px) saturate(4) brightness(1.9); -webkit-backdrop-filter: blur(3px) saturate(4) brightness(1.9); }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink) !important; text-decoration: none !important; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18)); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: var(--ink-2); font-size: 14px; text-decoration: none; padding: 8px 14px; border-radius: 980px; transition: background .2s; }
.nav-links a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); text-decoration: none; }
.nav .btn-sm { height: 38px; padding: 0 18px; }
@media (max-width: 560px) { .nav .pill { gap: 6px; padding-left: 12px; } .nav-links a { padding: 8px 8px; font-size: 13px; } .nav .btn-sm { padding: 0 12px; } }
@media (max-width: 430px) { .brand { font-size: 0; gap: 0; } }

/* ———————————————————————————— sections */
section { position: relative; }
.section { padding: 140px 0; }
.head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.head .lede { margin-top: 22px; }
@media (max-width: 640px) { .section { padding: 90px 0; } .head { margin-bottom: 40px; } }

/* ———————————————————————————— hero */
.hero { padding: 120px 0 0; text-align: center; overflow-x: clip; }
.hero h1 { max-width: 15ch; margin: 0 auto; }
.hero .lede { max-width: 700px; margin: 26px auto 0; }
.hero .waitlist { margin-top: 40px; }
.hero .media { margin-top: 80px; }
.icon-hero, .icon-hero.reveal.in { width: 112px; height: 112px; margin: 0 auto 30px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .16)) drop-shadow(0 2px 4px rgba(0, 0, 0, .1)); }

/* ———————————————————————————— media (real screenshots and recordings) */
.media {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-2);
  aspect-ratio: 16 / 10; box-shadow: var(--shadow);
  isolation: isolate; /* keeps videos inside the rounded corners in WebKit */
}
.media > img, .media > video { border-radius: inherit; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media.contain { background: transparent; box-shadow: none; }
.media.contain img, .media.contain video { object-fit: contain; }
.media.wide { aspect-ratio: 16 / 9; }
.media.film { aspect-ratio: 2560 / 1438; border-radius: 26px; }
.media.tall { aspect-ratio: 4 / 5; }
.media.square { aspect-ratio: 1; }
.media.strip { aspect-ratio: 21 / 7; }
/* a slot waiting for its recording: says what goes there (see SHOTS.md) */
.media .slot {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 28px;
  background:
    radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 55%),
    var(--bg-2);
}
.media .slot b { display: block; font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
.media .slot span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 46ch; line-height: 1.45; }
.media .slot i { display: inline-block; font-style: normal; font: 600 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 7px; margin-bottom: 12px; }
figure { margin: 0; }

/* ———————————————————————————— App Home (the big one) */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.points p { margin: 0; font-size: 17px; color: var(--muted); }
.points b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 6px; letter-spacing: -0.02em; font-weight: 600; }
@media (max-width: 860px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .points { grid-template-columns: 1fr; } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.tile-copy { margin-top: 20px; font-size: 17px; color: var(--muted); }
.tile-copy b { color: var(--ink); font-weight: 600; }

/* a picker under a media frame: real captures for each option */
.picker { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.picker button {
  appearance: none; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2);
  font: 500 14px/1 var(--font); padding: 10px 16px; border-radius: 980px; letter-spacing: -0.01em;
  display: inline-flex; gap: 6px; align-items: center; transition: background .25s, color .25s, border-color .25s;
}
.picker button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.swap { position: relative; }
.swap > figure { transition: opacity .6s var(--ease); }
.swap > figure:not(.on) { opacity: 0; position: absolute; inset: 0; pointer-events: none; }

/* ———————————————————————————— details (native feel) */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
@media (max-width: 860px) { .details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .details { grid-template-columns: 1fr; } }
.details p { margin: 0; font-size: 17px; color: var(--muted); }
.details p b { color: var(--ink); font-weight: 600; }

/* ———————————————————————————— pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.plan { padding: 40px; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.plan .name { font-size: 21px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.plan .name img { width: 36px; height: 36px; filter: drop-shadow(0 2px 5px rgba(0,0,0,.15)); }
.plan .price { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; margin: 18px 0 4px; }
.plan .price small { font-size: 17px; color: var(--muted); font-weight: 400; margin-left: 6px; letter-spacing: -0.02em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan.pro { position: relative; isolation: isolate; }
.plan.pro .glow { position: absolute; inset: -2px; border-radius: inherit; z-index: -1; pointer-events: none; }
.plan.pro .glow::before {
  content: ""; position: absolute; inset: -14px; border-radius: calc(var(--radius) + 14px);
  background: conic-gradient(from var(--spin), var(--gold-1), var(--gold-3), #fff3c4, var(--gold-2), var(--gold-1), var(--gold-3), var(--gold-1));
  filter: blur(22px); opacity: .55; animation: pro-spin 7s linear infinite, pro-breathe 3.5s ease-in-out infinite alternate;
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes pro-spin { to { --spin: 360deg; } }
@keyframes pro-breathe { from { opacity: .32; } to { opacity: .75; } }
/* the card's own face sits above the glow, so the glow only shows around it */
.plan.pro .glow::after { content: ""; position: absolute; inset: 2px; border-radius: calc(var(--radius) - 1px); background: var(--card); transition: background-color .9s var(--ease); }
.plan.pro::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: 1; background: conic-gradient(from var(--spin), var(--gold-1), var(--gold-3), #fff3c4, var(--gold-2), var(--gold-1)); animation: pro-spin 7s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* ———————————————————————————— all features (Apple-style list) */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px 40px; }
@media (max-width: 860px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }
.feat img { width: 48px; height: 48px; margin-bottom: 16px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .14)); }
.feat p { margin: 0; font-size: 17px; color: var(--muted); }
.feat p b { color: var(--ink); font-weight: 600; }

/* ———————————————————————————— FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 4px; }
.faq summary { cursor: pointer; list-style: none; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; color: var(--muted); font-size: 28px; line-height: .8; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .ans { overflow: hidden; }
.faq details p { margin: 0; padding-top: 12px; color: var(--muted); font-size: 17px; }
.faq summary::after { transition: transform .35s var(--ease); }
.faq details.closing summary::after { transform: none; }

/* ———————————————————————————— footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 13px; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }
footer h5 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); } footer a:hover { color: var(--ink); text-decoration: none; }
.loion-logo { display: inline-block; line-height: 0; opacity: .92; transition: opacity .2s; }
.loion-logo:hover { opacity: 1; }
.loion-logo svg { height: 30px; width: auto; display: block; }
.loion-logo .word { fill: var(--ink); }
.loion-logo .mark { fill: #00e889; }
footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* ———————————————————————————— reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); filter: blur(14px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
/* scroll-linked: big pictures narrow, shrink a touch and blur as they leave the screen (site.js sets the values) */
[data-scrub] { transform-origin: 50% 50%; }
[data-scrub].settled { transition: opacity 1s var(--ease), transform 1s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ———————————————————————————— inner pages */
.page-head { padding: 120px 0 50px; }
.page-head h1 { font-size: clamp(40px, 6vw, 76px); }
.page-head .lede { margin-top: 20px; max-width: 700px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 56px 0 14px; letter-spacing: -0.025em; }
.prose h3 { font-size: 20px; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose ul { padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; font-size: 13px; }
.notice { padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--amber) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); font-size: 15px; color: var(--ink-2); }
.muted { color: var(--muted); }

/* features page */
/* the search and filter ride along as one floating glass capsule under the menu bar pill */
.ftools { display: flex; gap: 6px; align-items: center; margin: 0 auto 30px; position: sticky; top: 80px; z-index: 5;
  width: min(640px, 100%); padding: 5px; border-radius: 980px;
  background: color-mix(in srgb, var(--card) 66%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(26px) saturate(2); -webkit-backdrop-filter: blur(26px) saturate(2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04); }
.ftools .field { flex: 1 1 auto; height: 40px; border: 0; background: transparent; padding: 0 14px; }
.ftools .field:focus { box-shadow: none; }
.ftools .seg { flex: none; background: color-mix(in srgb, var(--bg-2) 80%, transparent); }
@media (max-width: 520px) { .ftools .seg button { padding: 10px 11px; } }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 980px; background: var(--bg-2); }
.seg button { appearance: none; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; font: 500 14px/1 var(--font); padding: 10px 16px; border-radius: 980px; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.fgroup { margin-bottom: 26px; padding: 8px 8px 4px; }
.fgroup > header { display: flex; align-items: center; gap: 14px; padding: 18px 18px 12px; }
.fgroup > header img { width: 40px; height: 40px; filter: drop-shadow(0 2px 5px rgba(0,0,0,.14)); }
.fgroup > header h3 { font-size: 24px; }
.fgroup > header .count { margin-left: auto; font-size: 13px; color: var(--muted); }
.frow { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 14px 18px; border-top: 1px solid var(--line); align-items: start; }
.frow b { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.frow span.d { display: block; color: var(--muted); font-size: 15px; margin-top: 3px; line-height: 1.45; }
.frow mark { background: color-mix(in srgb, var(--amber) 40%, transparent); color: inherit; border-radius: 3px; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* download page */
.gate { max-width: 540px; margin: 0 auto; padding: 38px; }
.gate .row { display: grid; gap: 10px; margin-top: 22px; }
.gate label { font-size: 13px; font-weight: 600; color: var(--muted); }
.code-boxes { display: flex; gap: 8px; align-items: center; }
.code-boxes input { width: 100%; text-align: center; font: 600 19px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; }
.code-boxes .dash { color: var(--faint); font-weight: 600; }
.gate .btn { width: 100%; margin-top: 24px; }
.gate .msg { margin-top: 14px; font-size: 14.5px; min-height: 22px; }
.gate .msg.err { color: var(--red); }
.gate.shake { animation: shake .45s; }
@keyframes shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
.unlocked { text-align: center; }
.unlocked .icon-big { width: 112px; height: 112px; margin: 0 auto 18px; filter: drop-shadow(0 16px 26px rgba(0,0,0,.25)); }
.steps-list { text-align: left; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps-list li { counter-increment: s; display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.steps-list li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); font: 600 13px/24px var(--font); text-align: center; color: var(--ink); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 60px auto 0; }
.how .card { padding: 24px; }
.how b { display: block; margin-bottom: 6px; }
.how span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }

/* ———————————————————————————— cut-out image (App Home): no frame, just its own shape */
.media.cutout { aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; isolation: auto; }
.media.cutout img { height: auto; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .18)); }
/* App Home at about the size it has on a Mac screen (its panel is ~62% of the screen's width); the picture is cropped
   flush to the panel, so the shadow is drawn here, rounded like the panel */
.media.cutout.apphome { width: min(100%, 62vw); margin-inline: auto; }
.media.cutout.apphome img { filter: none; border-radius: 3.05% / 4.46%; box-shadow: 0 26px 70px rgba(0, 0, 0, .16), 0 4px 16px rgba(0, 0, 0, .06), 0 0 0 .5px rgba(0, 0, 0, .06); }
@media (max-width: 760px) { .media.cutout.apphome { width: 100%; } }
.media.cutout .slot { position: relative; min-height: 420px; border-radius: 28px; }

/* ———————————————————————————— split rows (left/right) */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split.flip .split-copy { order: 2; }
.split-copy img { width: 56px; height: 56px; margin-bottom: 20px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.split-copy h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; }
.split-copy .copy { margin-top: 16px; }
.picker.left { justify-content: flex-start; margin-top: 24px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 17px; color: var(--ink-2); }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 700; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; gap: 32px; } .split.flip .split-copy { order: 0; } }

/* ———————————————————————————— minimize effects: play once, on click */
.fx-tile .media, .play-once { cursor: pointer; }
.fx-tile .play, .play-once .play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; pointer-events: none;
  background: rgba(20, 20, 22, .45); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px rgba(0, 0, 0, .25); transition: opacity .3s, transform .3s var(--ease);
}
.fx-tile .media:hover .play, .play-once:hover .play { transform: scale(1.06); }
.fx-tile.playing .play, .play-once.playing .play { opacity: 0; transform: scale(.9); }
.fx-tile .media img.poster, .play-once img.poster { position: absolute; inset: 0; transition: opacity .25s; }
.fx-tile.playing .media img.poster, .play-once.playing img.poster { opacity: 0; }

/* ———————————————————————————— slideshow (made with care) */
.slideshow-wrap { max-width: 860px; margin-inline: auto; }
.slideshow { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); isolation: isolate; }
.slideshow figure { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slideshow figure.on { opacity: 1; }
.slideshow figure img { width: 100%; height: 100%; object-fit: cover; }
.slideshow figcaption {
  position: absolute; left: 50%; top: 22px; transform: translateX(-50%); white-space: nowrap;
  padding: 10px 18px; border-radius: 980px; font-size: 15px; font-weight: 500; color: #1d1d1f;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
}
@media (max-width: 640px) { .slideshow figcaption { font-size: 13px; top: 14px; white-space: normal; text-align: center; width: 80%; } }
/* the controls: a capsule of dots where the current one is a progress bar, and a play/pause button */
.ss-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 26px;
  --ss-bg: #e8e8ed; --ss-dot: #86868b; --ss-fill: #1d1d1f; --ss-track: #a1a1a6; --ss-icon: #1d1d1f; }
:root[data-tone="dark"] .ss-controls { --ss-bg: #1f2023; --ss-dot: #6b6b70; --ss-fill: #f5f5f7; --ss-track: #6b6b70; --ss-icon: #f5f5f7; }
.ss-dots { display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 24px; border-radius: 980px; background: var(--ss-bg); transition: background-color .9s var(--ease); }
.ss-dots button { appearance: none; border: 0; padding: 0; cursor: pointer; position: relative; overflow: hidden;
  width: 8px; height: 8px; border-radius: 4px; background: var(--ss-dot); transition: width .5s var(--ease), background-color .3s; }
.ss-dots button.on { width: 48px; background: var(--ss-track); cursor: default; }
.ss-dots button i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: var(--ss-fill); }
.ss-dots button.on i { animation: ss-fill var(--ss-time, 5s) linear forwards; }
.ss-controls.paused .ss-dots button.on i, .ss-controls.resting .ss-dots button.on i { animation-play-state: paused; }
@keyframes ss-fill { from { width: 0; } to { width: 100%; } }
.ss-play { appearance: none; border: 0; cursor: pointer; width: 56px; height: 56px; border-radius: 50%; background: var(--ss-bg);
  display: grid; place-items: center; color: var(--ss-icon); transition: background-color .9s var(--ease), transform .2s var(--ease); }
.ss-play:active { transform: scale(.94); }
.ss-play::before { content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='3.5' y='2' width='4.5' height='16' rx='1.6'/%3E%3Crect x='12' y='2' width='4.5' height='16' rx='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='3.5' y='2' width='4.5' height='16' rx='1.6'/%3E%3Crect x='12' y='2' width='4.5' height='16' rx='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.ss-controls.paused .ss-play::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 3.2v13.6a1.2 1.2 0 0 0 1.8 1l11-6.8a1.2 1.2 0 0 0 0-2L6.8 2.2A1.2 1.2 0 0 0 5 3.2Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 3.2v13.6a1.2 1.2 0 0 0 1.8 1l11-6.8a1.2 1.2 0 0 0 0-2L6.8 2.2A1.2 1.2 0 0 0 5 3.2Z'/%3E%3C/svg%3E"); }
