/* Tracktor website. No external fonts, scripts or trackers. Dark is the default.
   Look: the new app icon. Flat, calm, warm orange on neutral backgrounds; translucent stacked glass panes, no glows. */
:root {
  --o1: #ffb33f;                 /* icon background, top */
  --o2: #f2610a;                 /* icon background, bottom */
  --accent: #ffae45;             /* accent text on dark */
  --accent-bg: rgba(255, 174, 69, .14);
  --ink-on-accent: #2a1405;
  --bg: #0b0b0d;
  --bg-2: #121215;
  --card: #17171b;
  --text: #f5f5f7;
  --muted: #a3a3aa;
  --line: rgba(255, 255, 255, .085);
  --hi: rgba(255, 255, 255, .06);
  --chip: rgba(255, 255, 255, .07);
  --glass: rgba(255, 255, 255, .04);
  --glass-strong: rgba(24, 24, 28, .72);
  --glass-line: rgba(255, 255, 255, .12);
  --pane-1: rgba(222, 119, 20, .22);
  --pane-2: rgba(169, 83, 10, .16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 34px -22px rgba(0, 0, 0, .7);
  --shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 40px 80px -36px rgba(0, 0, 0, .75);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.2, .9, .25, 1);
  --max: 1160px;
  --r: 28px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --accent: #b4520a;
  --accent-bg: rgba(242, 97, 10, .09);
  --bg: #f5f4f2;
  --bg-2: #ecebe8;
  --card: #ffffff;
  --text: #1c1c1f;
  --muted: #66666d;
  --line: rgba(20, 16, 10, .075);
  --hi: rgba(255, 255, 255, .9);
  --chip: rgba(20, 16, 10, .055);
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .85);
  --pane-1: rgba(255, 211, 158, .55);
  --pane-2: rgba(255, 194, 122, .4);
  --shadow-sm: 0 1px 2px rgba(40, 28, 14, .05), 0 14px 34px -24px rgba(40, 28, 14, .25);
  --shadow: 0 2px 6px rgba(40, 28, 14, .06), 0 40px 80px -40px rgba(40, 28, 14, .35);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; transition: background-color .4s ease, color .4s ease;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif; }
h1 { font-size: clamp(42px, 6.2vw, 80px); line-height: 1; letter-spacing: -.04em; font-weight: 750; }
h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -.03em; font-weight: 720; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; font-weight: 660; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
figure { margin: 0; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow, .tag { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); max-width: 640px; text-wrap: pretty; }
.grad { background: linear-gradient(180deg, var(--o1), var(--o2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .grad { background-image: linear-gradient(180deg, #f08a1c, #d9560a); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(32px, 4vw, 48px); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 12px 0 auto; z-index: 60; display: flex; justify-content: center; pointer-events: none; padding-inline: 12px; }
.nav-inner {
  pointer-events: auto; display: flex; align-items: center; gap: 18px; padding: 7px 8px 7px 7px; border-radius: 999px;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-line); box-shadow: 0 10px 34px rgba(0, 0, 0, .18); max-width: 100%;
}
.home { --hm: 12px; --hg: 18px; position: relative; display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-right: var(--hm); border-radius: 999px; color: var(--muted); background: var(--chip); transition: color .2s; }
/* A hairline halfway between the back button and the brand: leaving the site is separate from its own navigation. */
.home::after { content: ""; position: absolute; top: 7px; bottom: 7px; right: calc((var(--hm) + var(--hg)) / -2); width: 1px; background: rgba(127, 127, 127, .3); }
.home:hover { color: inherit; }
.home svg { width: 14px; height: 14px; }
.home:focus-visible, .brand:focus-visible, .nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 760; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 16px; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .72; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--chip); position: relative; }
.seg button { all: unset; cursor: pointer; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; position: relative; z-index: 1; transition: color .3s; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.seg button[aria-pressed="true"] { color: var(--text); }
.seg .thumb { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 999px; background: var(--card); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: linear-gradient(100deg, #f88a1c, var(--o2)); color: #fff; white-space: nowrap; text-decoration: none; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 128px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; justify-items: start; }
.hero-icon { width: 76px; height: 76px; margin-bottom: 22px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18)); }
.hero h1 { margin: 14px 0 20px; }
.hero .lede { margin-bottom: 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px 11px 14px; border-radius: 16px; background: var(--text); color: var(--bg); min-width: 200px; text-decoration: none; transition: transform .3s var(--spring); }
.store.alt { background: var(--glass); color: var(--text); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi); }
.store:active { transform: scale(.97); }
.store:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; font-weight: 750; opacity: .7; }
.store b { display: block; font-size: 16.5px; font-weight: 650; white-space: nowrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note span::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.hero-stage .phone { width: min(300px, 66vw, calc((100svh - 170px) * .46)); position: relative; z-index: 2; will-change: transform; }
/* The icon's stacked cards, behind the phone */
.pane { position: absolute; z-index: 1; width: min(300px, 66vw, calc((100svh - 170px) * .46)); aspect-ratio: 1206 / 2622; border-radius: 15% / 7%;
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pane.p1 { background: var(--pane-1); transform: translate(9%, -3.5%) scale(.95); }
.pane.p2 { background: var(--pane-2); transform: translate(18%, -7%) scale(.9); z-index: 0; }

.chip-float {
  position: absolute; z-index: 3; display: flex; align-items: center; padding: 9px 14px 9px 9px; border-radius: 18px;
  background: var(--glass-strong); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi), var(--shadow-sm);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  font-size: 14px; line-height: 1.25; white-space: nowrap; will-change: transform;
}
.chip-row { display: flex; gap: 10px; align-items: center; }
.ci { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 15px; font-weight: 800; background: var(--accent-bg); color: var(--accent); }
.chip-float b { display: block; font-weight: 650; }
.chip-float small { color: var(--muted); font-size: 12.5px; }
.chip-float.c1 { top: 13%; left: -2%; }
.chip-float.c2 { top: 47%; right: -4%; }
.chip-float.c3 { bottom: 11%; left: 2%; }
.bob { animation: bob 7s ease-in-out infinite; }
.c2 .bob { animation-delay: -2.4s; } .c3 .bob { animation-delay: -4.6s; }
@keyframes bob { 50% { translate: 0 -7px; } }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; border-radius: 2px; background: currentColor; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- Device frames ---------- */
.phone { --bz: 8px; position: relative; padding: var(--bz); }
.screen { position: relative; border-radius: 13.68% / 6.29%; overflow: hidden; background: #000;
  box-shadow: 0 0 0 calc(var(--bz) - 1px) #0d0d10, 0 0 0 var(--bz) #2f2f35, var(--shadow); }
.screen > img, .screen > video { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: contain; background: #000; transition: opacity .3s ease; }
.screen img.swapping, .screen video.swapping, .part.swapping { opacity: .25; }
.tablet { padding: 12px; border-radius: 34px; background: #1b1b1f; box-shadow: 0 0 0 1px #34343a, var(--shadow); }
.tablet .screen { border-radius: 22px; box-shadow: none; }
.tablet .screen > video { aspect-ratio: 2420 / 1668; }
.float-part { width: min(300px, 100%); border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.float-part video { width: 100%; aspect-ratio: 1206 / 2330; object-fit: cover; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile {
  position: relative; grid-column: span 4; display: flex; flex-direction: column; gap: 20px; overflow: hidden; cursor: pointer; min-width: 0;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 24px 20px;
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-sm);
  transition: border-color .3s ease, transform .4s var(--spring), background-color .4s ease, opacity .8s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
:root[data-theme="dark"] .tile { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .025)); }
.tile:hover { border-color: color-mix(in srgb, var(--o1) 40%, var(--line)); transform: translateY(-2px); }
.tile:active { transform: scale(.99); }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile > .tile-copy + * { margin-block: auto; }
.tile-copy { display: grid; gap: 7px; }
.tile-copy h3 { font-size: 21px; }
.tile-copy p { color: var(--muted); font-size: 15px; max-width: 44ch; }
.tile-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; font-weight: 700; background: var(--accent-bg); color: var(--accent); margin-bottom: 4px; }
.more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 650; color: var(--accent); }
.more::after { content: "→"; transition: transform .4s var(--spring); }
.tile:hover .more::after { transform: translateX(3px); }
.t-library { grid-column: span 7; }
.t-categories { grid-column: span 5; }
.t-listen, .t-kitchen { grid-column: span 6; }
.tile.mini { grid-column: span 3; gap: 16px; padding: 20px 20px 18px; }
.mini .tile-copy h3 { font-size: 18px; }
.mini .tile-copy p { font-size: 14px; }

/* Small inner glass cards used by the demos */
.lr, .df-msg, .df-match, .dcal-note, .dl-bar, .ds-field, .demo-kitchen, .demo-more > span, .dc-grid span {
  background: var(--glass-strong); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi);
}
:root[data-theme="light"] :is(.lr, .df-msg, .df-match, .dcal-note, .dl-bar, .ds-field, .demo-kitchen, .demo-more > span, .dc-grid span) { background: rgba(255, 255, 255, .85); }

/* Library demo */
.demo-lib { display: grid; gap: 8px; }
.lr { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: 16px; overflow: hidden; }
.lr-art { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; flex: none; background: var(--chip); }
.lr-t { display: grid; min-width: 0; flex: 1; }
.lr-t b { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-t small { font-size: 12.5px; color: var(--muted); }
.lr-score, .lr-count { font-size: 12.5px; font-weight: 750; padding: 3px 8px; border-radius: 8px; background: var(--accent-bg); color: var(--accent); }
.lr.rule .lr-art { color: var(--accent); background: var(--accent-bg); font-size: 15px; }
.lr-done { position: absolute; inset: 0 auto 0 0; width: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 0; overflow: hidden; white-space: nowrap;
  font-size: 13px; font-weight: 750; color: var(--ink-on-accent); background: linear-gradient(180deg, var(--o1), var(--o2)); transition: width .7s var(--spring); }
.lr-stars { display: flex; gap: 2px; opacity: 0; transition: opacity .4s ease; }
.lr-stars i { width: 9px; height: 9px; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); background: var(--accent); transform: scale(0); transition: transform .35s var(--spring); }
.lr-stars i.off { background: var(--chip); }
.demo-lib.swipe .lr-done { width: 100%; padding-right: 14px; }
.demo-lib.rated .lr-done { width: 0; transition-duration: .4s; }
.demo-lib.rated .lr-stars { opacity: 1; }
.demo-lib.rated .lr-stars i { transform: scale(1); }
.demo-lib.rated .lr-st { visibility: hidden; position: relative; }
.demo-lib.rated .lr-st::after { content: attr(data-done); visibility: visible; position: absolute; left: 0; color: var(--accent); font-weight: 650; }
.lr-stars i:nth-child(2) { transition-delay: .05s; } .lr-stars i:nth-child(3) { transition-delay: .1s; } .lr-stars i:nth-child(4) { transition-delay: .15s; } .lr-stars i:nth-child(5) { transition-delay: .2s; }
.lr-stars i:nth-child(6) { transition-delay: .25s; } .lr-stars i:nth-child(7) { transition-delay: .3s; } .lr-stars i:nth-child(8) { transition-delay: .35s; } .lr-stars i:nth-child(9) { transition-delay: .4s; } .lr-stars i:nth-child(10) { transition-delay: .45s; }

/* Categories demo */
.demo-cats { display: grid; gap: 12px; justify-items: center; }
.dc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; max-width: 340px; }
.dc-grid span { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-size: 20px; transition: transform .45s var(--spring), border-color .3s, background-color .3s; }
.dc-grid span.on { transform: scale(1.1); border-color: color-mix(in srgb, var(--o1) 60%, transparent); background: var(--accent-bg); }
.dc-name { font-size: 14px; font-weight: 650; color: var(--muted); min-height: 1.5em; }

/* Search demo */
.demo-search { display: grid; gap: 10px; }
.ds-field { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 13px; font-size: 15px; color: var(--muted); }
.ds-q { color: var(--text); font-weight: 600; }
.ds-caret { width: 2px; height: 17px; background: var(--accent); margin-left: -6px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ds-res { display: flex; flex-wrap: wrap; gap: 6px; min-height: 66px; align-content: flex-start; }
.ds-res span { font-size: 12.5px; padding: 5px 9px; border-radius: 999px; background: var(--chip); animation: pop .45s var(--spring) both; }
.ds-res span b { color: var(--accent); margin-left: 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.94); } }

/* Calendar demo */
.demo-cal { display: grid; gap: 10px; }
.dcal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.dcal-week span { display: grid; gap: 3px; justify-items: center; font-size: 11px; color: var(--muted); padding: 6px 0; border-radius: 11px; transition: background-color .4s; }
.dcal-week span b { font-size: 15px; color: var(--text); font-weight: 650; }
.dcal-week span i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.dcal-week span i.none { background: transparent; }
.dcal-week span.today { background: var(--accent-bg); }
.dcal-week span.today b { color: var(--accent); }
.dcal-note { display: flex; gap: 10px; align-items: center; padding: 9px 12px 9px 9px; border-radius: 15px; font-size: 14px; line-height: 1.25; transition: opacity .4s, transform .5s var(--spring); }
.dcal-note small { display: block; color: var(--muted); font-size: 12.5px; }
.demo-cal.wait .dcal-note { opacity: 0; transform: translateY(8px); }

/* Friends demo */
.demo-friends { display: grid; gap: 8px; }
.df-msg { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px 10px 10px; border-radius: 16px 16px 16px 6px; font-size: 14px; line-height: 1.3; transition: opacity .4s, transform .5s var(--spring); }
.df-msg small { display: block; color: var(--muted); font-size: 12px; }
.df-msg em { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.df-av, .df-avs i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12.5px; font-weight: 750; font-style: normal; background: linear-gradient(180deg, var(--o1), var(--o2)); color: var(--ink-on-accent); }
.df-match { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 15px; font-size: 14px; transition: opacity .4s, transform .5s var(--spring); }
.df-match b { margin-left: auto; color: var(--accent); font-size: 15px; }
.df-avs { display: flex; }
.df-avs i { width: 26px; height: 26px; border: 2px solid var(--bg); margin-right: -8px; }
.df-avs i:nth-child(2) { background: #e9e4dc; color: #3a2a14; } .df-avs i:nth-child(3) { background: #8a8a92; color: #fff; }
.df-avs + span { margin-left: 8px; }
.demo-friends.wait .df-msg, .demo-friends.wait .df-match { opacity: 0; transform: translateY(8px); }
.demo-friends.wait .df-match { transition-delay: 0s; }
.df-match { transition-delay: .35s; }

/* Listen demo */
.demo-listen { display: grid; gap: 12px; }
.dl-text { font-family: "New York", "Iowan Old Style", Charter, Georgia, serif; font-size: 17px; line-height: 1.45; color: var(--muted); min-height: 4.4em; }
.dl-text span { transition: color .35s ease, background-color .35s ease; border-radius: 5px; padding: 0 2px; margin: 0 -2px; }
.dl-text span.now { color: var(--text); background: var(--accent-bg); }
.dl-bar { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; }
.dl-play { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, var(--o1), var(--o2)); color: var(--ink-on-accent); }
.dl-meta { flex: 1; display: grid; gap: 5px; font-size: 13.5px; }
.dl-track { height: 4px; border-radius: 2px; background: var(--chip); overflow: hidden; }
.dl-track i { display: block; height: 100%; width: 30%; background: var(--accent); border-radius: 2px; transition: width .9s linear; }
.dl-bar small { color: var(--muted); font-weight: 650; }

/* Kitchen demo */
.demo-kitchen { border-radius: 18px; padding: 12px 14px; display: grid; gap: 8px; }
.dk-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.dk-step { display: inline-flex; align-items: center; gap: 10px; padding: 3px; border-radius: 999px; background: var(--chip); font-size: 14px; font-weight: 700; }
.dk-step i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--card); }
:root[data-theme="dark"] .dk-step i { background: rgba(255, 255, 255, .1); }
.dk-n { min-width: 1ch; text-align: center; }
.dk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: 13.5px; color: var(--muted); }
.dk-list b { color: var(--text); font-variant-numeric: tabular-nums; display: inline-block; transition: color .3s; }
.dk-list b.bump { animation: bump .5s var(--spring); color: var(--accent); }
@keyframes bump { 40% { transform: translateY(-3px); } }
.dk-timer { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line); }
.dk-timer b { margin-left: auto; color: var(--accent); font-variant-numeric: tabular-nums; }

/* Small tiles */
.demo-more { display: grid; gap: 6px; }
.demo-more > span { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 12px; font-size: 13px; }
.demo-more i { font-style: normal; color: var(--accent); font-weight: 700; min-width: 2.6em; font-size: 12px; letter-spacing: -.05em; }
.demo-import { display: grid; gap: 8px; }
.di-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.di-chips span { font-size: 12px; font-weight: 650; padding: 4px 9px; border-radius: 999px; background: var(--chip); }
.di-bar { height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.di-bar i { display: block; height: 100%; width: 72%; border-radius: 3px; background: linear-gradient(90deg, var(--o1), var(--o2)); }
.demo-import.go .di-bar i { animation: fill 3.6s var(--ease-out) both; }
@keyframes fill { from { width: 4%; } }
.demo-import small { font-size: 12px; color: var(--muted); }
.demo-fold { display: grid; place-items: center; height: 92px; perspective: 600px; }
.df-dev { display: flex; transform: rotateX(16deg) rotateY(-18deg); transform-style: preserve-3d; }
.df-dev .half { width: 54px; height: 76px; background: #0d0d10; border: 3px solid #3a3a40; overflow: hidden; position: relative; }
.df-dev .half::before { content: ""; position: absolute; inset: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--pane-1) 0 10px, transparent 10px 13px), repeating-linear-gradient(0deg, transparent 0 11px, rgba(0, 0, 0, .55) 11px 14px); }
.df-dev .l { border-radius: 10px 2px 2px 10px; border-right: 0; }
.df-dev .r { border-radius: 2px 10px 10px 2px; border-left: 0; transform-origin: 0 50%; transition: transform 1.1s var(--spring); }
.demo-fold.folded .r { transform: rotateY(-150deg); }
.demo-icons { display: flex; justify-content: center; gap: 8px; }
.demo-icons img { width: 48px; height: 48px; transition: transform .5s var(--spring), opacity .4s; opacity: .55; }
.demo-icons img.on { transform: translateY(-4px) scale(1.08); opacity: 1; }

/* ---------- Privacy strip ---------- */
.privacy-strip { padding-top: 24px; }
.pr-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pr-points li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; font-weight: 600; font-size: 15.5px;
  background: var(--glass); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi); }
.pr-points li > span:first-child { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-bg); color: var(--accent); font-size: 15px; }
.pr-more { margin-top: 22px; }
.link-btn { all: unset; cursor: pointer; color: var(--accent); font-weight: 650; font-size: 16px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand b { display: block; font-size: 17px; }
.foot-brand small { display: block; color: var(--muted); font-size: 14px; }
.foot-meta { display: grid; gap: 2px; color: var(--muted); font-size: 13.5px; text-align: right; }
.foot-meta a { color: var(--accent); text-decoration: none; }
.foot-meta a:hover { text-decoration: underline; }

/* ---------- Sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(8, 8, 10, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s ease; }
:root[data-theme="light"] .sheet-backdrop { background: rgba(40, 32, 22, .28); }
.sheet-backdrop.show { opacity: 1; }
.sheet {
  position: fixed; z-index: 81; left: 50%; top: 50%; width: min(1080px, calc(100vw - 32px)); height: min(880px, calc(100svh - 40px));
  translate: -50% -50%; border-radius: 32px; overflow: hidden; background: var(--bg); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--hi), 0 50px 120px -30px rgba(0, 0, 0, .6);
  transition: opacity .3s ease, transform .45s var(--spring); opacity: 0; transform: scale(.97);
}
.sheet.show { opacity: 1; transform: none; }
.sheet:focus { outline: none; }
.sheet-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.sheet-inner { padding: clamp(28px, 5vw, 56px); }
.sheet-body { display: grid; gap: clamp(40px, 6vw, 72px); }
.sheet-close { all: unset; position: absolute; z-index: 3; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 15px;
  background: var(--glass-strong); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .3s var(--spring); }
.sheet-close:active { transform: scale(.92); }
.sheet-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sh-head { display: grid; gap: 12px; padding-right: 40px; }
.sh-head .lede { max-width: 720px; }
.block { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.block.solo { grid-template-columns: 1fr; }
.block:nth-of-type(even):not(.solo) .copy { order: 2; }
.copy { display: grid; gap: 10px; align-content: start; }
.copy h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }
.copy > p { color: var(--muted); font-size: 16.5px; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15.5px; color: var(--muted); }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.ticks b { color: var(--text); font-weight: 650; }
.media { display: flex; gap: clamp(12px, 2.4vw, 28px); justify-content: center; align-items: flex-start; }
.media figure { flex: 0 1 230px; min-width: 0; display: grid; gap: 10px; justify-items: center; }
.media.three figure { flex-basis: 190px; }
figcaption { font-size: 13px; color: var(--muted); text-align: center; text-wrap: balance; }
.media .phone { width: 100%; }
figure.wide { display: grid; gap: 14px; }
figure.wide .tablet { width: min(860px, 100%); margin-inline: auto; }
figure.wide figcaption { font-size: 15px; max-width: 620px; margin-inline: auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cards.two { grid-template-columns: 1fr 1fr; }
.cards.one { grid-template-columns: minmax(0, 560px); }
.card { padding: 18px 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi); display: grid; gap: 6px; align-content: start; }
:root[data-theme="dark"] .card { background: rgba(255, 255, 255, .04); }
.card p { color: var(--muted); font-size: 14.5px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.trio figure { display: grid; gap: 14px; justify-items: center; }
.trio .phone { width: min(240px, 100%); }
.trio figcaption { display: grid; gap: 4px; max-width: 30ch; }
.trio figcaption b { color: var(--text); font-size: 16px; }
.sheet-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 6vw, 64px); padding-top: 18px; border-top: 1px solid var(--line); }
.sheet-nav button { all: unset; cursor: pointer; font-weight: 650; font-size: 15px; color: var(--accent); padding: 8px 2px; }
.sheet-nav button:focus-visible { outline: 2px solid var(--accent); border-radius: 6px; }
body.sheet-open { overflow: hidden; }

/* Listen: player parts */
.parts { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.parts-stack { display: grid; gap: 22px; justify-items: center; }
.parts-stack figure { display: grid; gap: 8px; justify-items: center; }
.part { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); }
.part.mini { width: min(400px, 100%); }
.part.panel { width: min(320px, 84%); }
.part.bubble { width: 80px; }
.follow-modes { display: grid; gap: 8px; margin-top: 8px; }
.follow-modes button { all: unset; cursor: pointer; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.follow-modes button small { color: var(--muted); font-size: 13.5px; }
.follow-modes button[aria-pressed="true"] { border-color: color-mix(in srgb, var(--o1) 55%, transparent); background: var(--accent-bg); }
.follow-modes button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Categories explorer */
.explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.cat-list { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.cat-btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 10px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  background: var(--glass); border: 1px solid var(--line); transition: background-color .25s, border-color .25s; }
.cat-btn em { font-style: normal; }
.cat-btn[aria-selected="true"] { background: var(--accent-bg); border-color: color-mix(in srgb, var(--o1) 55%, transparent); color: var(--accent); }
.cat-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cat-panel { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: start; }
.cat-panel h3 { font-size: 26px; display: flex; gap: 10px; align-items: center; }
.cat-desc { color: var(--muted); margin: 8px 0 14px; }
.cat-info { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-info span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--chip); }
.cat-panel .phone { width: 100%; }
.cat-anim { animation: pop .5s var(--spring) both; }

/* App icons */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
.icon-grid figure { display: grid; gap: 8px; justify-items: center; }
.icon-grid img { width: min(96px, 100%); height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .16)); }

/* ---------- iPhone Duo (duo.js draws the device) ---------- */
.duo-wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.duo-wrap .copy { order: 2; }
.duo-stage { position: relative; height: 500px; perspective: 2200px; perspective-origin: 50% 40%; display: grid; place-items: center; }
.duo-rig { position: relative; width: calc(var(--w) * 2); height: var(--h); transform-style: preserve-3d; will-change: transform; }
.duo-slab { position: absolute; top: 0; width: var(--w); height: var(--h); transform-style: preserve-3d; }
.duo-slab.left { left: 0; }
.duo-slab.right { left: var(--w); transform-origin: 0 50% calc(var(--t) / 2); will-change: transform; }
.ply { position: absolute; inset: 0; background: linear-gradient(160deg, #d9d9de, #9c9ca3 45%, #6e6e76); filter: brightness(calc(.8 + var(--k) * .3)); }
.duo-slab.left .ply, .duo-slab.left .duo-face { border-radius: calc(var(--w) * .15) var(--hr, 6px) var(--hr, 6px) calc(var(--w) * .15); }
.duo-slab.right .ply, .duo-slab.right .duo-face { border-radius: var(--hr, 6px) calc(var(--w) * .15) calc(var(--w) * .15) var(--hr, 6px); }
.duo-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.duo-face.front { overflow: visible; background: #050506; transform: translateZ(calc(var(--t) / 2 + .5px)); }
.duo-face.back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2 + .5px)); background: linear-gradient(150deg, #cfcfd4, #a3a3aa 45%, #85858c); }
.duo-slab.right .duo-face.back { background: #050506; }
.duo-screen { position: absolute; top: var(--bz); bottom: var(--bz); width: calc(var(--w) - var(--bz)); height: calc(var(--h) - var(--bz) * 2); background: #000; }
.duo-slab.left .duo-screen { right: -1px; z-index: 1; border-radius: calc(var(--w) * .12) 0 0 calc(var(--w) * .12); }
.duo-slab.right .duo-screen { left: 0; border-radius: 0 calc(var(--w) * .12) calc(var(--w) * .12) 0; }
.duo-screen.outer { left: 50% !important; top: 50%; bottom: auto; width: var(--ow); height: var(--oh); transform: translate(-50%, -50%); border-radius: calc(var(--w) * .11) !important; }
.duo-face .shade { position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: 0; pointer-events: none; }
.duo-slab.right .duo-face.front .shade { background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .15)); }
.duo-face.front::after, .duo-face.back::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(125deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 38%); }
.duo-slab .duo-face.front::after { background-size: 200% 100%; }
.duo-slab.left .duo-face.front::after { background-position: left top; }
.duo-slab.right .duo-face.front::after { background-position: right top; }
.duo-cams { position: absolute; top: 7%; left: 9%; width: 34%; aspect-ratio: 1; border-radius: 26%; background: rgba(20, 20, 24, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.duo-cams i { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3b4a66, #08080b 60%); box-shadow: 0 0 0 2px #2a2a30; }
.duo-cams i:nth-child(1) { top: 8%; left: 8%; } .duo-cams i:nth-child(2) { bottom: 8%; left: 8%; } .duo-cams i:nth-child(3) { top: 31%; right: 8%; }
.duo-shadow { position: absolute; bottom: 30px; width: 62%; height: 30px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, .45), transparent 70%); filter: blur(8px); }
:root[data-theme="light"] .duo-shadow { background: radial-gradient(rgba(40, 28, 14, .25), transparent 70%); }
.duo-states { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.duo-states button { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 650; background: var(--chip); transition: background-color .25s, color .25s, transform .3s var(--spring); }
.duo-states button:active { transform: scale(.96); }
.duo-states button[aria-pressed="true"] { background: linear-gradient(180deg, var(--o1), var(--o2)); color: var(--ink-on-accent); }
.duo-states button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.duo-caption { display: grid; color: var(--muted); font-size: 15.5px; }
.duo-caption > span { grid-area: 1 / 1; transition: opacity .3s ease, visibility .3s; }
.duo-caption > span.off { opacity: 0; visibility: hidden; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform 1s var(--spring); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.rise { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.2s var(--spring); transition-delay: var(--d, 0s); }
.rise.in { opacity: 1; transform: none; }
.tile.reveal.in:hover { transform: translateY(-2px); }
.no-js .reveal, .no-js .rise { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .t-library, .t-categories { grid-column: span 12; }
  .tile { grid-column: span 6; }
  .t-calendar, .t-friends { grid-column: span 6; }
  .t-discover { grid-column: span 12; }
  .tile.mini { grid-column: span 6; }
  .chip-float.c2 { right: 0; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 108px; }
  .hero-stage { min-height: 540px; }
  .block, .parts, .duo-wrap, .explorer { grid-template-columns: 1fr; }
  .block:nth-of-type(even):not(.solo) .copy, .duo-wrap .copy { order: 0; }
  .pr-points { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .home { --hm: 8px; --hg: 8px; }
  body { font-size: 16px; }
  .nav-inner { gap: 8px; padding-left: 7px; }
  .brand span { display: none; }
  .pill { display: none; }
  .hero-stage { min-height: 470px; }
  .hero-stage .phone, .pane { width: min(230px, 58vw); }
  .chip-float { font-size: 12.5px; padding: 7px 10px 7px 7px; }
  .chip-float .ci { width: 26px; height: 26px; font-size: 13px; }
  .chip-float small { display: none; }
  .chip-float.c1 { left: 0; } .chip-float.c3 { left: 0; }
  .store { min-width: 0; flex: 1 1 140px; padding: 10px 12px; gap: 9px; }
  .store b { font-size: 14.5px; }
  .store svg { width: 22px; height: 22px; }
  .hero-icon { width: 60px; height: 60px; margin-bottom: 16px; }
  .dc-grid { max-width: 280px; gap: 6px; }
  .tile, .tile.mini, .t-calendar, .t-friends { grid-column: span 12; padding: 20px 18px 18px; }
  .pr-points { grid-template-columns: 1fr; }
  .cards, .cards.two, .trio { grid-template-columns: 1fr; }
  .trio .phone { width: min(220px, 70%); }
  .phone { --bz: 5px; }
  .media figure { flex-basis: 46%; }
  .media.three figure { flex-basis: 31%; }
  .media.three figcaption { font-size: 11.5px; }
  .cat-panel { grid-template-columns: 1fr; }
  .cat-panel .phone { width: min(220px, 70%); justify-self: center; }
  .duo-stage { height: 340px; }
  .foot-meta { text-align: left; }
  /* Bottom sheet */
  .sheet { left: 0; top: auto; bottom: 0; translate: none; width: 100%; height: calc(100svh - 10px); border-radius: 24px 24px 0 0; border-bottom: 0; transform: translateY(100%); opacity: 1; }
  .sheet.show { transform: none; }
  .sheet-close { top: 12px; right: 12px; }
  .sheet-inner { padding: 32px 16px calc(28px + env(safe-area-inset-bottom)); }
  .sh-head { padding-right: 44px; }
  .icon-grid { gap: 8px; }
  .sheet-nav { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- Reduced motion & transparency ---------- */
@media (prefers-reduced-motion: reduce) {
  .pill .dot { animation: none; }
  html { scroll-behavior: auto; }
  .reveal, .rise { transform: none !important; transition: opacity .3s ease; }
  .bob, .eq i, .ds-caret, .cat-anim, .ds-res span { animation: none !important; }
  .sheet, .sheet.show { transition: opacity .2s ease; transform: none; }
  .tile:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-inner, .chip-float, .pane, .sheet-close { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card); }
}

/* Narrow phones: the Dutch theme labels are longer, keep the menu on one line. */
@media (max-width: 400px) { .seg button { padding: 6px 8px; } }
