:root{--ver:"7fb79033"}
/* Tue — getzyt.app
   Brand: Swiss Red #E30613, Helvetica Neue, calm and precise.
   Light and dark mode via tokens; [data-theme] overrides the system setting. */

:root {
  --red: #E30613;
  --red-deep: #B8000F;
  --red-light: #FF3B3F;
  --st-red: #FF3B30;
  --st-orange: #FF9500;
  --st-green: #34C759;
  --blue: #007AFF;
  --purple: #AF52DE;

  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --card: #FFFFFF;
  --ink: #111111;
  --ink-2: #6B6B6B;
  --ink-3: #8E8E93;
  --line: #E5E5EA;
  --pill: #EFEFF2;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 50px rgba(0,0,0,.10);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --frame: #1C1C1E;
  --frame-edge: #3A3A3C;
  --nav-bg: rgba(255,255,255,.82);
  --on-red: #FFFFFF;
  --radius: 22px;

  --font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-alt: #121214;
    --card: #1C1C1E;
    --ink: #F5F5F7;
    --ink-2: #A1A1A6;
    --ink-3: #8E8E93;
    --line: #2C2C2E;
    --pill: #2C2C2E;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px rgba(0,0,0,.6);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.45);
    --frame: #2C2C2E;
    --frame-edge: #48484A;
    --nav-bg: rgba(0,0,0,.72);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #121214;
  --card: #1C1C1E;
  --ink: #F5F5F7;
  --ink-2: #A1A1A6;
  --ink-3: #8E8E93;
  --line: #2C2C2E;
  --pill: #2C2C2E;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px rgba(0,0,0,.6);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.45);
  --frame: #2C2C2E;
  --frame-edge: #48484A;
  --nav-bg: rgba(0,0,0,.72);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
body, main { overflow-x: hidden; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
html[lang="ja"] { --font: "Helvetica Neue", Helvetica, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, sans-serif; }
html[lang="zh"] { --font: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Noto Sans CJK SC", system-ui, sans-serif; }
html[lang="hi"] { --font: "Helvetica Neue", Helvetica, "Kohinoor Devanagari", "Devanagari Sangam MN", "Nirmala UI", "Noto Sans Devanagari", system-ui, sans-serif; line-height: 1.6; }
html[lang="ja"] h1, html[lang="zh"] h1, html[lang="ja"] h2, html[lang="zh"] h2 { letter-spacing: 0; line-height: 1.2; }
html[lang="ja"] h1, html[lang="zh"] h1 { font-size: clamp(34px, 5vw, 60px); text-wrap: initial; }
html[lang="ja"] h2, html[lang="zh"] h2 { font-size: clamp(26px, 3.4vw, 40px); }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { letter-spacing: 0; line-height: 1.25; }
/* Fins en Hongaars: lange samenstellingen mogen in koppen afbreken, anders lopen ze op een telefoon buiten beeld. */
html[lang="fi"] :is(h1, h2, h3), html[lang="hu"] :is(h1, h2, h3) { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
code, .mono { font-family: var(--font); font-weight: 700; font-variant-numeric: tabular-nums; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: min(1160px, 100% - 32px); } }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 60ch; }
.hero .tagline { color: #fff; font-weight: 700; font-size: clamp(15px, 1.1vw + 7px, 19px); letter-spacing: -0.01em; margin-bottom: 14px; opacity: .92; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

section { padding: clamp(72px, 9vw, 128px) 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand .mark { width: 30px; height: 30px; }
/* Donkere modus: het logo als het donkere app-icoon (donkere plaat, witte streepjes en wijzers, rode secondewijzer). */
:root[data-theme="dark"] .tue-clock.mark .zc-face { fill: #2C2C2E; stroke: #48484A; }
:root[data-theme="dark"] .tue-clock.mark .zc-bars, :root[data-theme="dark"] .tue-clock.mark .zc-bars *,
:root[data-theme="dark"] .tue-clock.mark .zc-hour polygon, :root[data-theme="dark"] .tue-clock.mark .zc-minute polygon { fill: #F2F2F2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tue-clock.mark .zc-face { fill: #2C2C2E; stroke: #48484A; }
  :root:not([data-theme="light"]) .tue-clock.mark .zc-bars, :root:not([data-theme="light"]) .tue-clock.mark .zc-bars *,
  :root:not([data-theme="light"]) .tue-clock.mark .zc-hour polygon, :root:not([data-theme="light"]) .tue-clock.mark .zc-minute polygon { fill: #F2F2F2; }
}
.brand small { font-weight: 400; color: var(--ink-2); font-size: 13px; margin-left: 2px; }
.nav-links { display: flex; gap: 22px; margin-left: 14px; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); padding: 7px 9px; border-radius: 8px; }
.lang:hover { background: var(--pill); color: var(--ink); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; color: var(--ink-2);
}
.icon-btn:hover { background: var(--pill); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .moon { display: block; }
:root[data-theme="dark"] .icon-btn .sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .moon { display: block; }
  :root:not([data-theme="light"]) .icon-btn .sun { display: none; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { opacity: .9; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { background: var(--pill); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #FFF2F2; }
.btn-outline-white { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 860px) { .nav-links, .nav .btn-nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-red);
  background: radial-gradient(120% 90% at 85% 10%, var(--red-light) 0%, var(--red) 45%, var(--red-deep) 100%);
  padding: clamp(56px, 7vw, 96px) 0 0;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(0,0,0,.15);
}
/* Eén gecentreerde kolom boven het toestel: naam, tagline, kop, toelichting, knoppen, kleine lettertjes. */
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 4.5vw, 64px); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 860px; margin: 0 auto; }
.hero-head, .hero-side { display: flex; flex-direction: column; align-items: center; }
.hero-copy .name-note { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 14px; opacity: .92; text-align: left;
  padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.12); }
.hero-copy .name-note .clock { width: 40px; height: 40px; flex: none; }
.hero-copy .name-note b { font-size: 15px; }
.hero .tagline { margin-bottom: 12px; }
.hero h1 { color: #fff; text-wrap: balance; }
.hero .lede { color: rgba(255,255,255,.92); margin: 22px auto 30px; max-width: 46ch; text-wrap: pretty; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .stores { justify-content: center; }
.stores .btn { padding: 13px 20px; }
.hero .fine { margin: 18px auto 0; font-size: 14px; color: rgba(255,255,255,.8); max-width: 74ch; text-wrap: balance; }
.hero .fine b { color: #fff; }
.hero-visual { position: relative;
  /* Vaste hoogte = hoogste van de drie toestellen: bij het wisselen blijven knoppen en pagina staan. */
  min-height: calc(max(calc(min(1320px, 100vw - 32px) * 1089 / 1800), calc(min(1000px, 100vw - 40px) * 1863 / 2583), calc(min(330px, 74vw) * 3000 / 1470)) + clamp(16px, 2vw, 32px)); }
/* Alle drie de toestellen staan altijd op dezelfde plek, onderaan gecentreerd. Wisselen verandert alleen
   doorzichtigheid, schaal en vervaging: er verspringt niets en er hoeft niets opnieuw opgemaakt te worden. */
.hero-visual .hero-dev { position: absolute; left: 50%; bottom: clamp(16px, 2vw, 32px); z-index: 1; width: var(--w); max-width: none; margin: 0; --rot: 0deg;
  transform-origin: 50% 100%; transform: translateX(-50%) translateY(5%) scale(.92); opacity: 0; filter: blur(8px); visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.4, 0, .7, .2), filter .3s ease, visibility 0s linear .4s; }
.hero-desktop { --w: min(1320px, 100vw - 32px); }
.hero-tablet { --w: min(1000px, 100vw - 40px); }
.hero-phone { --w: min(330px, 74vw); }
.hero-visual[data-device="desktop"] .hero-desktop, .hero-visual[data-device="tablet"] .hero-tablet, .hero-visual[data-device="phone"] .hero-phone {
  z-index: 2; transform: translateX(-50%); opacity: 1; filter: none; visibility: visible; pointer-events: auto;
  transition: opacity .5s ease .18s, transform .75s cubic-bezier(.16, 1, .3, 1) .18s, filter .5s ease .18s, visibility 0s; }
/* Zonder script: één toestel per schermsoort. */
@media (min-width: 701px) and (pointer: fine) { .hero-visual:not([data-device]) .hero-desktop { opacity: 1; filter: none; visibility: visible; transform: translateX(-50%); } }
@media (min-width: 701px) and (pointer: coarse), (min-width: 701px) and (pointer: none) { .hero-visual:not([data-device]) .hero-tablet { opacity: 1; filter: none; visibility: visible; transform: translateX(-50%); } }
@media (max-width: 700px) { .hero-visual:not([data-device]) .hero-phone { opacity: 1; filter: none; visibility: visible; transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-visual .hero-dev { transition: none !important; } }
.hero-foot { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: calc(-1 * clamp(8px, 2vw, 32px)); padding-bottom: clamp(48px, 6vw, 88px); }
.hero-switch { justify-content: center; }
.hero-pick { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.hero-pick:hover { background: rgba(255,255,255,.22); }
.hero-pick[aria-pressed="true"] { background: #fff; color: var(--red); border-color: #fff; }
.hero-dev > .screen { background: #000; }
/* Eerste beeld als afbeelding eronder: geen zwart scherm zolang de video laadt. */
.hero-dev > .screen .full { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: none; }
.hero-dev > .screen > video.full { z-index: 1; background: transparent; }
/* iPad-opname is iets breder dan het 13"-scherm: helemaal tonen. */
/* iPad Air 11" (Apple Design Resources, Space Gray): het schermgat is precies 2360 × 1640, net als de opname. */
.tablet.ipad11 { aspect-ratio: 2583 / 1863; }
.tablet.ipad11::after { background-image: url("img/bezel-ipad11.png"); }
.tablet.ipad11 > .screen { left: 4.413%; top: 6.119%; width: 91.367%; height: 88.030%; border-radius: 1.6% / 2.3%; }
.tablet.ipad11 > .screen .full, .tablet.ipad11 .screen video.demo-ipad { object-fit: cover; object-position: center; }
.hero .float {
  position: absolute; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.96); color: #111;
  box-shadow: 0 18px 40px rgba(0,0,0,.28); animation: floaty 7s ease-in-out infinite alternate;
}
.hero .float b { font-size: 30px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--st-orange); }
.hero .float b span { font-size: .6em; color: #8E8E93; font-weight: 500; margin-left: 1px; }
.hero .float b.od { color: var(--st-red); } .hero .float b.wk { color: var(--st-green); }
.hero .float i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.hero .float i.today { color: var(--st-orange); background: rgba(255,149,0,.14); }
.hero .float i.overdue { color: var(--st-red); background: rgba(255,59,48,.13); }
.hero .float i.week { color: var(--st-green); background: rgba(52,199,89,.14); }
.hero .f1 { left: 2%; top: 14%; animation-delay: -2s; }
.hero .f2 { left: -4%; bottom: 26%; animation-delay: -5s; }
.hero .f3 { right: 0; top: 30%; animation-delay: -3.5s; }
@keyframes floaty { from { translate: 0 -6px; } to { translate: 0 8px; } }
@media (max-width: 900px) {
  .hero-copy .name-note { margin-bottom: 18px; }
  .hero .float b { font-size: 22px; }
  .hero .f1 { left: 0; top: 6%; } .hero .f2 { left: 0; bottom: 36%; } .hero .f3 { right: 0; top: 24%; }
}

/* Parallax + tilt: JS sets --py on [data-depth]; rotation via --rot */
[data-depth], .tilt, .tilt-r { transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg)); will-change: transform; }
.tilt { --rot: -6deg; } .tilt-r { --rot: 5deg; }

/* ---------- Device frames ----------
   Apple's official product bezels (Apple Design Resources) as an overlay; the screen content sits
   underneath in the measured cutout. Percentages come from the bezel PNGs (see site-src/README.md). */
.phone, .tablet, .mac { position: relative; }
.phone::after, .tablet::after, .mac::after { filter: drop-shadow(0 24px 40px rgba(0,0,0,.28)); }
.phone::after, .tablet::after, .mac::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: center / 100% 100% no-repeat;
}
.phone > .screen, .tablet > .screen, .mac > .screen { position: absolute; overflow: hidden; background: #000; isolation: isolate; }
.phone .screen img, .phone .screen video, .tablet .screen img, .tablet .screen video { width: 100%; height: 100%; object-fit: cover; }
.phone .screen .over { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.phone .screen.show-still .over { opacity: 1; }

/* iPhone 18 Pro Max, portrait */
/* iPhone 18 Pro Max, zwart (Apple Design Resources). Uitsparing 1320 × 2868 op 1470 × 3000: precies het formaat van de schermafbeeldingen. */
.phone { aspect-ratio: 1470 / 3000; }
.phone::after { background-image: url("img/bezel-iphone18.png"); }
/* Het scherm loopt een paar pixels onder het frame door: anders laten de twee zachte randen een dunne naad
   zien waar de achtergrond (bv. het rood van de hero) doorheen schijnt. Gemeten gat: 5.151 / 2.190 / 89.699 / 95.619 %.
   De hoek van het gat is een Apple-"squircle": een kleinere CSS-radius dekt hem helemaal. */
.phone > .screen { left: 4.6%; top: 1.95%; width: 90.8%; height: 96.1%; overflow: hidden; border-radius: 15% / 6.9%;
  /* Ook afronden als de telefoon verschoven of geschaald wordt (dan negeren browsers overflow + border-radius soms). */
  clip-path: inset(0 round 15% / 6.9%); isolation: isolate; }

/* iPad Air 13", landscape */
.tablet { aspect-ratio: 2928 / 2244; }
.tablet::after { background-image: url("img/bezel-ipad.webp"); }
.tablet > .screen { left: 3.415%; top: 4.456%; width: 93.306%; height: 91.266%; overflow: hidden; border-radius: .8% / 1.1%; clip-path: inset(0 round .8% / 1.1%); }

/* MacBook Pro 14": a macOS-style desktop (wallpaper + menu bar) with the window capture on it */
.mac { aspect-ratio: 3664 / 2245; }
.mac::after { background-image: url("img/bezel-mac.webp"); }
.mac > .screen {
  left: 8.734%; top: 2.049%; width: 82.533%; height: 88.463%; overflow: hidden; border-radius: 2.5% / 3.8%;
  background: #C9C2B8 url("img/desktop-light-v2.jpg") center top / cover no-repeat;  /* macOS-achtergrond met Dock; menubalk is HTML */
}
.mac > .screen { container-type: size; }
/* MacBook Pro 16" (hero): zelfde schermverhouding als de opname. Bezel uit Apple Design Resources, 16-inch Space Black. */
.mac.mac16 { aspect-ratio: 1800 / 1089; }
.mac.mac16::after { background-image: url("img/bezel-mac16.png"); }
/* Uitsparing in de bezel gemeten (x 154–1645, y 20–992 van 1800×1089); het scherm loopt 2–3 px onder de rand door,
   met een iets krappere hoek, zodat er in de hoeken geen kier ontstaat. */
.mac.mac16 > .screen { left: 8.45%; top: 1.7%; width: 83.1%; height: 89.6%; border-radius: 1.3% / 2.1%; clip-path: inset(0 round 1.3% / 2.1%); }
/* Menu bar */
.menubar {
  position: absolute; left: 0; right: 0; top: 0; height: 2.7cqh; z-index: 3;
  display: flex; align-items: center; gap: 1.05cqw; padding: 0 1.4cqw 0 1.8cqw;
  font-size: 1.5cqh; line-height: 1; color: #1c1c1e; white-space: nowrap; letter-spacing: -.01em;
}
.menubar .mb-app { font-weight: 700; }
.menubar .mb-apple { width: 1.15cqw; height: 1.4cqw; display: block; margin-right: .3cqw; fill: currentColor; }
.menubar .mb-right { display: flex; align-items: center; gap: 1.1cqw; margin-left: auto; }
.menubar .mb-right svg { width: 1.35cqw; height: 1.35cqw; display: block; }
.menubar .mb-batt { width: 2.1cqw; height: 1.05cqw; border: .11cqw solid rgba(28,28,30,.55); border-radius: .3cqw; position: relative; display: inline-block; }
.menubar .mb-batt i { position: absolute; left: .12cqw; top: .12cqw; bottom: .12cqw; width: 78%; background: #1c1c1e; border-radius: .12cqw; }
.menubar .mb-batt::after { content: ""; position: absolute; right: -.38cqw; top: 28%; height: 44%; width: .22cqw; background: rgba(28,28,30,.55); border-radius: 0 .1cqw .1cqw 0; }
.menubar .mb-clock { font-variant-numeric: tabular-nums; }
/* Donker: donkere achtergrond, witte menubalk. */
:root[data-theme="dark"] .mac > .screen { background-color: #1B1B2E; background-image: url("img/desktop-dark-v2.jpg"); }
:root[data-theme="dark"] .menubar { color: #fff; }
:root[data-theme="dark"] .menubar .mb-batt, :root[data-theme="dark"] .menubar .mb-batt::after { border-color: rgba(255,255,255,.6); }
:root[data-theme="dark"] .menubar .mb-batt i, :root[data-theme="dark"] .menubar .mb-batt::after { background: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mac > .screen { background-color: #1B1B2E; background-image: url("img/desktop-dark-v2.jpg"); }
  :root:not([data-theme="light"]) .menubar { color: #fff; }
  :root:not([data-theme="light"]) .menubar .mb-batt, :root:not([data-theme="light"]) .menubar .mb-batt::after { border-color: rgba(255,255,255,.6); }
  :root:not([data-theme="light"]) .menubar .mb-batt i, :root:not([data-theme="light"]) .menubar .mb-batt::after { background: #fff; }
}
/* Dock */
.dock { display: none; }
.dock-old {
  position: absolute; left: 50%; bottom: .8cqh; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: flex-end; gap: .55cqw; padding: .55cqw .7cqw; border-radius: 1.5cqw;
  background: rgba(255,255,255,.46); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 0 0 .07cqw rgba(0,0,0,.16), inset 0 .07cqw 0 rgba(255,255,255,.7), 0 .8cqw 2cqw rgba(0,0,0,.22);
}
.dock .dk {
  position: relative; display: grid; place-items: center; width: 4.1cqw; height: 4.1cqw; border-radius: 23%;
  background: linear-gradient(170deg, var(--a), var(--b));
  box-shadow: inset 0 .08cqw .1cqw rgba(255,255,255,.35), 0 .2cqw .4cqw rgba(0,0,0,.22);
}
.dock .dk svg { width: 66%; height: 66%; }
.dock .dk.running::after { content: ""; position: absolute; left: 50%; bottom: -.62cqw; width: .32cqw; height: .32cqw; margin-left: -.16cqw; border-radius: 50%; background: rgba(0,0,0,.55); }
.dock .dk-sep { width: .09cqw; height: 3.6cqw; background: rgba(0,0,0,.2); margin: 0 .25cqw; align-self: center; }
.dock .dk-tue { background: url("img/apple-touch-icon.png") center / cover no-repeat; }
.dock .dk-cal { grid-template-rows: 1.15cqw 1fr; overflow: hidden; }
.dock .dk-cal small { background: #FF3B30; color: #fff; font-size: .62cqw; font-weight: 700; letter-spacing: .06em; width: 100%; text-align: center; line-height: 1.15cqw; }
.dock .dk-cal b { font-size: 2.1cqw; line-height: 1; color: #1c1c1e; font-weight: 400; letter-spacing: -.03em; align-self: center; }
/* Windows and overlays */
.mac > .screen > img, .mac > .screen > video {
  position: absolute; left: 1.5%; top: 4.4%; width: 97%; height: 88%; object-fit: contain; object-position: center top;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.28));
}
.mac > .screen > img.over { height: auto; z-index: 2; filter: drop-shadow(0 18px 40px rgba(0,0,0,.4)); }
.mac > .screen > img.over-sheet { width: 36%; left: 32%; top: 9%; border-radius: 1.2cqw; }
.mac > .screen > img.over-win { width: 84%; left: 9%; top: 10%; }
/* Antwoord in Apple Mail, vóór het Tue-venster (hoger venster: iets smaller, naar rechts). */
.mac > .screen > img.over-mail { width: 60%; left: 34%; top: 9%; }

:root[data-theme="dark"] .dock { background: rgba(40,40,44,.5); box-shadow: 0 0 0 .08cqw rgba(255,255,255,.12), 0 .6cqw 1.6cqw rgba(0,0,0,.5); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dock { background: rgba(40,40,44,.5); box-shadow: 0 0 0 .08cqw rgba(255,255,255,.12), 0 .6cqw 1.6cqw rgba(0,0,0,.5); }
}

:root[data-theme="dark"] .mac > .screen::before { background: rgba(20,20,24,.5); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mac > .screen::before { background: rgba(20,20,24,.5); }
}
.shot { border-radius: 18px; box-shadow: var(--shadow); }

/* ---------- Flow (how it works): scroll-pinned slider ---------- */
.flow-sec { padding: 0; height: calc(100vh + 5 * 72vh); position: relative; }
.flow-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; padding-top: 60px; box-sizing: border-box; }
.flow-grid { display: grid; grid-template-columns: minmax(300px, 38%) 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; width: min(1240px, 100% - 40px); }
.flow-copy .section-head { margin-bottom: clamp(20px, 3vh, 36px); }
.flow-copy .section-head h2 { font-size: clamp(28px, 2.6vw + 10px, 44px); margin-bottom: 10px; }
.flow-copy .section-head .lede { font-size: clamp(15px, 1.1vw + 6px, 18px); }
.flow { list-style: none; padding: 0; margin: 0; position: relative; counter-reset: flow; min-height: clamp(320px, 38vh, 380px); }
.flow-step {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start;
  counter-increment: flow; padding-top: 86px;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.flow-step.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.flow-step::before {
  /* Swiss-style numeral: big, bold, red, tabular */
  content: "0" counter(flow); position: absolute; left: 0; top: -6px;
  font-size: clamp(56px, 7vh, 84px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--red);
  font-variant-numeric: tabular-nums;
}
.flow-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--ink); color: var(--bg); }
.flow-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-step h3 { font-size: clamp(20px, 1.2vw + 10px, 26px); margin-bottom: 10px; }
.flow-step p { color: var(--ink-2); font-size: clamp(14.5px, .5vw + 9px, 17px); margin-bottom: 18px; max-width: 42ch; }
.flow-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; min-height: 40px; border-radius: 999px; background: var(--pill); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.flow-pill .ai { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #FF6B9D, #AF52DE, #5AC8FA); }
.flow-pill .sync { width: 12px; height: 12px; background: var(--st-green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6M20 12a8 8 0 0 1-13.7 5.6M17 3v4h-4M7 21v-4h4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%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 24 24'%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6M20 12a8 8 0 0 1-13.7 5.6M17 3v4h-4M7 21v-4h4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.flow-dots { display: flex; gap: 8px; margin-top: 28px; }
.flow-dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .3s, width .3s; }
.flow-dots button[aria-current="true"] { background: var(--red); width: 44px; }

/* Stage: active phone large at the left, the next ones smaller to the right (bleeding off the edge) */
.flow-stage { position: relative; height: min(78vh, 760px); --w: calc(min(68vh, 660px) * 1470 / 3000); }
.flow-shot {
  position: absolute; left: 0; bottom: 0; width: var(--w); transform-origin: left bottom;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
  will-change: transform;
}
/* Default positions for no-JS / first paint (JS overrides with exact transforms) */
.flow-shot[data-i="1"] { transform: translateX(calc(var(--w) * 1.08)) scale(.66); }
.flow-shot[data-i="2"] { transform: translateX(calc(var(--w) * 1.79)) scale(.5); }
.flow-shot[data-i="3"] { transform: translateX(calc(var(--w) * 2.33)) scale(.4); }
.flow-shot[data-i="4"] { transform: translateX(calc(var(--w) * 3.28)) scale(.34); }
.flow-shot.is-past { opacity: 0; }

@media (max-width: 900px) {
  .flow-sec { height: auto; }
  .flow-pin { position: static; height: auto; overflow: visible; display: block; padding: clamp(56px, 9vw, 96px) 0 0; }
  .flow-grid { grid-template-columns: 1fr; gap: 24px; }
  .flow { min-height: 300px; }
  .flow-dots { margin-top: 12px; }
  /* phones become a swipeable, snapping strip; the text follows the strip */
  .flow-stage { height: auto; --w: 62vw; display: flex; gap: 6vw; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 8px 0 clamp(56px, 9vw, 96px); scrollbar-width: none; }
  .flow-stage::-webkit-scrollbar { display: none; }
  .flow-stage::before, .flow-stage::after { content: ""; flex: 0 0 calc(50% - var(--w) / 2); }
  .flow-shot, .flow-shot[data-i] { position: relative; left: auto; bottom: auto; flex: 0 0 var(--w); transform: none; opacity: 1; scroll-snap-align: center; }
  .flow-shot.is-past { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .flow-shot, .flow-step { transition: none; } }

/* Outlook-style reply-all draft (drawn; swap for a real screenshot when available) */
.phone > .screen.compose { container-type: inline-size; container-name: scr; background: #fff; color: #111; display: flex; flex-direction: column; }
.compose > *, .compose p { font-size: 3.6cqw; }
.compose .cp-body { font-size: 3.6cqw; }
.compose .cp-status { display: flex; align-items: center; justify-content: space-between; padding: 4.2cqw 7cqw 0; font-size: 4cqw; font-weight: 600; position: relative; height: 12cqw; }
.compose .cp-status .island { position: absolute; left: 50%; top: 3.2cqw; width: 28cqw; height: 8cqw; margin-left: -14cqw; border-radius: 5cqw; background: #000; }
.compose .cp-status .sig { width: 14cqw; height: 3.2cqw; background: #111; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 10'%3E%3Crect x='0' y='6' width='2.5' height='4' rx='.6'/%3E%3Crect x='3.5' y='4' width='2.5' height='6' rx='.6'/%3E%3Crect x='7' y='2' width='2.5' height='8' rx='.6'/%3E%3Crect x='10.5' y='0' width='2.5' height='10' rx='.6'/%3E%3Cpath d='M22 9.5l-5.5-5.6a7.8 7.8 0 0 1 11 0z'/%3E%3Crect x='30' y='1' width='12' height='8' rx='2' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Crect x='31.3' y='2.3' width='9.4' height='5.4' rx='1'/%3E%3Crect x='42.6' y='3.5' width='1.2' height='3' rx='.5'/%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 44 10'%3E%3Crect x='0' y='6' width='2.5' height='4' rx='.6'/%3E%3Crect x='3.5' y='4' width='2.5' height='6' rx='.6'/%3E%3Crect x='7' y='2' width='2.5' height='8' rx='.6'/%3E%3Crect x='10.5' y='0' width='2.5' height='10' rx='.6'/%3E%3Cpath d='M22 9.5l-5.5-5.6a7.8 7.8 0 0 1 11 0z'/%3E%3Crect x='30' y='1' width='12' height='8' rx='2' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Crect x='31.3' y='2.3' width='9.4' height='5.4' rx='1'/%3E%3Crect x='42.6' y='3.5' width='1.2' height='3' rx='.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.compose .cp-bar { display: flex; align-items: center; justify-content: space-between; padding: 3cqw 5cqw 2.5cqw; border-bottom: .3cqw solid #E5E5EA; font-weight: 600; font-size: 4.2cqw; }
.compose .cp-x { color: #0F6CBD; font-weight: 400; }
.compose .cp-send { width: 7.5cqw; height: 7.5cqw; border-radius: 50%; background: #0F6CBD; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M12 17V7m0 0-4 4m4-4 4 4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%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 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M12 17V7m0 0-4 4m4-4 4 4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.compose .cp-field { display: flex; align-items: center; gap: 2.5cqw; padding: 2.8cqw 5cqw; border-bottom: .3cqw solid #E5E5EA; }
.compose .cp-field b { color: #8E8E93; font-weight: 500; min-width: 13cqw; }
.compose .cp-field .chip { background: #E8F1FB; color: #0F6CBD; border-radius: 999px; padding: 1cqw 3cqw; font-weight: 600; }
.compose .cp-body { padding: 4cqw 5cqw 0; line-height: 1.45; }
.compose .cp-body p + p { margin-top: 2.5cqw; }
.compose .cp-quote { margin: 4cqw 5cqw 0; padding-left: 3cqw; border-left: .6cqw solid #D1D1D6; color: #8E8E93; font-size: 3.2cqw; line-height: 1.4; }
.compose .cp-app { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 2cqw; padding: 4cqw 0 6cqw; font-size: 3.4cqw; font-weight: 600; color: #0F6CBD; }
.compose .cp-app b { width: 5cqw; height: 5cqw; border-radius: 1.4cqw; background: #0F6CBD; }

.phone .screen img.fit-top { object-fit: contain; object-position: center 14%; background: #F2F2F7; }
/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 0; overflow: hidden; }
.step .num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700;
  display: grid; place-items: center; margin-bottom: 18px; font-size: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 16px; min-height: 4.5em; }
.step .phone { width: 72%; margin: 28px auto -45%; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 1fr 120px; column-gap: 20px; padding: 24px 24px 0; }
  .step .num { grid-column: 1; }
  .step h3, .step p { grid-column: 1; }
  .step p { min-height: 0; }
  .step .phone { grid-column: 2; grid-row: 1 / span 3; width: 100%; margin: 0 0 -30px; align-self: end; }
}

/* ---------- Feature sections ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature-visual.bleed-r .duo { width: 160%; }
.feature-visual.bleed-l .duo { width: 145%; margin-left: -45%; }
.feature-visual.bleed-r .mac, .feature-visual.bleed-l .mac { width: 155%; max-width: none; }
.feature-visual.bleed-l .mac { margin-left: -45%; width: 145%; }
.feature.rev .feature-copy { order: 2; }
.feature > * { min-width: 0; }
.row .meta .pill { white-space: normal; }
.feature-copy h2 { margin-bottom: 18px; }
.feature-copy p + p { margin-top: 14px; }
.feature-copy .lede { font-size: 18px; }
.feature-copy h4 { font-size: 18px; margin: 26px 0 6px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: var(--ink); font-size: 16px; }
.checks { grid-template-columns: minmax(0, 1fr); }
/* Block, not flex: inline <code> chips and long words (Thai, German) wrap with the text instead of becoming unbreakable flex items. */
.checks li { position: relative; padding-left: 32px; overflow-wrap: break-word; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23E30613'/%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.note { font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.feature-visual { position: relative; }
.feature-visual .phone { width: min(300px, 70%); margin-inline: auto; }
.duo { position: relative; }
.duo .mac { width: 100%; }
.duo .phone { position: absolute; width: 26%; right: 4%; bottom: -16%; --rot: -5deg; z-index: 3; }
.duo .phone-l { right: auto; left: 2%; --rot: 5deg; }
.duo-tablet .tablet { width: 100%; }
.duo-tablet .phone { width: 28%; bottom: -16%; }
.feature-visual.bleed-r .duo-tablet { width: 140%; margin-left: 8%; }
.duo .tablet { width: 100%; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-visual.bleed-r .duo, .feature-visual.bleed-l .duo { width: 100%; margin-left: 0; }
  .feature-visual.bleed-r .mac, .feature-visual.bleed-l .mac { width: 100%; margin-left: 0; }
  .feature.rev .feature-copy { order: 0; }
  .duo .phone { bottom: -8%; right: 0; }
  .duo .phone-l { left: 0; }
  .duo { margin-bottom: 12%; }
}

/* ---------- Live phone (countdown section) ---------- */
.live-duo { position: relative; width: min(500px, 100%); margin: 0 auto 56px; padding-left: 26%; }
.live-duo .phone-back { --rot: -8deg; }
.live-duo .phone-live { position: relative; width: 100%; z-index: 2; }
.live-duo .phone-back { position: absolute; left: 0; bottom: 6%; width: 70%; z-index: 1; opacity: .95; }
.phone > .screen.app-screen { container-type: inline-size; background: #F2F2F7; display: flex; flex-direction: column; }
.app-status { display: flex; align-items: center; justify-content: space-between; padding: 4.2cqw 7cqw 0; font-size: 4cqw; font-weight: 600; color: #111; position: relative; height: 12cqw; }
.app-status .island { position: absolute; left: 50%; top: 3.2cqw; width: 28cqw; height: 8cqw; margin-left: -14cqw; border-radius: 5cqw; background: #000; }
.app-status .sig { width: 14cqw; height: 3.2cqw; background: #111; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 10'%3E%3Crect x='0' y='6' width='2.5' height='4' rx='.6'/%3E%3Crect x='3.5' y='4' width='2.5' height='6' rx='.6'/%3E%3Crect x='7' y='2' width='2.5' height='8' rx='.6'/%3E%3Crect x='10.5' y='0' width='2.5' height='10' rx='.6'/%3E%3Cpath d='M22 9.5l-5.5-5.6a7.8 7.8 0 0 1 11 0z'/%3E%3Crect x='30' y='1' width='12' height='8' rx='2' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Crect x='31.3' y='2.3' width='9.4' height='5.4' rx='1'/%3E%3Crect x='42.6' y='3.5' width='1.2' height='3' rx='.5'/%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 44 10'%3E%3Crect x='0' y='6' width='2.5' height='4' rx='.6'/%3E%3Crect x='3.5' y='4' width='2.5' height='6' rx='.6'/%3E%3Crect x='7' y='2' width='2.5' height='8' rx='.6'/%3E%3Crect x='10.5' y='0' width='2.5' height='10' rx='.6'/%3E%3Cpath d='M22 9.5l-5.5-5.6a7.8 7.8 0 0 1 11 0z'/%3E%3Crect x='30' y='1' width='12' height='8' rx='2' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3Crect x='31.3' y='2.3' width='9.4' height='5.4' rx='1'/%3E%3Crect x='42.6' y='3.5' width='1.2' height='3' rx='.5'/%3E%3C/svg%3E") center/contain no-repeat; }
/* Tue's list as it looks today: inline title bar, coloured sections, a small countdown at the start of the meta line. */
.phone > .screen.app-screen { --a-bg: #fff; --a-ink: #111; --a-ink2: #8a8a8e; --a-line: #E5E5EA; --a-pill: #EFEFF2; --a-check: #C7C7CC; --a-btn: #F2F2F4; background: var(--a-bg); position: relative; }
.app-status { color: var(--a-ink); }
.app-status .sig { background: var(--a-ink); }
.app-head { padding: 1.5cqw 4.5cqw 2cqw; color: var(--a-ink); }
.app-bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 11cqw; }
.app-back, .app-tools { display: inline-flex; align-items: center; justify-content: center; height: 10cqw; border-radius: 6cqw; background: var(--a-btn); box-shadow: 0 .3cqw 1.2cqw rgba(0,0,0,.08); }
.app-back { width: 10cqw; }
.app-tools { gap: 5cqw; padding: 0 4cqw; }
.app-bar svg { width: 4.6cqw; height: 4.6cqw; fill: none; stroke: var(--a-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-bar svg.dots { fill: var(--a-ink); stroke: none; }
.app-head .app-title { position: absolute; left: 11.5cqw; right: 34cqw; text-align: center; font-size: 4cqw; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-head .app-sub { font-size: 3cqw; color: var(--a-ink2); margin-top: 2.5cqw; }
.app-screen .ticker { margin: 0; flex: 1; overflow: hidden; border-radius: 0; padding: 0 4.5cqw 16cqw; background: transparent; border: 0; box-shadow: none; color: var(--a-ink); }
.app-screen .sec { display: flex; align-items: center; justify-content: space-between; padding: 5cqw 0 1.5cqw; font-size: 4.6cqw; font-weight: 600; color: var(--sc); }
.app-screen .sec b { font-weight: 600; opacity: .55; margin-inline-start: 1cqw; }
.app-screen .sec svg { width: 4.4cqw; height: 4.4cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-screen .sec.overdue { --sc: var(--st-red); } .app-screen .sec.today { --sc: var(--st-orange); } .app-screen .sec.week { --sc: var(--st-green); }
.app-screen .row { --c: var(--blue); display: grid; grid-template-columns: 8.5cqw 1fr 5cqw; grid-template-areas: "check title chev" ". notes chev" ". meta chev"; column-gap: 1.5cqw; align-items: center; padding: 3.2cqw 0 3.6cqw; position: relative; }
.app-screen .row + .row::before { content: ""; position: absolute; top: 0; right: 0; left: 10cqw; border-top: 1px solid var(--a-line); }
.app-screen .sec + .row::before { content: none; }
.app-screen .row .check { grid-area: check; align-self: start; width: 6cqw; height: 6cqw; border-radius: 50%; border: .45cqw solid var(--a-check); opacity: 1; }
.app-screen .row .title { grid-area: title; margin: 0; font-size: 4.3cqw; font-weight: 400; line-height: 1.3; color: var(--a-ink); letter-spacing: 0; }
.app-screen .row .prio { color: var(--c); font-weight: 700; margin-inline-end: 1.2cqw; letter-spacing: -.05em; }
.app-screen .row .notes { grid-area: notes; margin: .8cqw 0 0; font-size: 3.6cqw; line-height: 1.35; color: var(--a-ink2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.app-screen .row .notes:empty { display: none; }
.app-screen .row .meta { grid-area: meta; margin-top: 1.6cqw; display: flex; flex-wrap: wrap; align-items: center; gap: 1cqw 2cqw; font-size: 3.1cqw; color: var(--a-ink2); }
.app-screen .row .meta svg { display: inline-block; width: 3.1cqw; height: 3.1cqw; vertical-align: -.3cqw; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-screen .row .meta .pill { background: var(--a-pill); border-radius: 3cqw; padding: .7cqw 2.2cqw; white-space: nowrap; }
.app-screen .row .meta .listname { color: var(--a-ink2); white-space: nowrap; }
.app-screen .row .count { font-size: 3.3cqw; font-weight: 600; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app-screen .row .chev { grid-area: chev; display: flex; justify-content: flex-end; }
.app-screen .row .chev svg { width: 3.6cqw; height: 3.6cqw; fill: none; stroke: var(--a-check); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-search { position: absolute; left: 4cqw; right: 4cqw; bottom: 7cqw; height: 11cqw; display: flex; align-items: center; gap: 2.4cqw; padding: 0 4cqw; border-radius: 6cqw; font-size: 4cqw; color: var(--a-ink2);
  background: color-mix(in srgb, var(--a-bg) 82%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 .5cqw 3cqw rgba(0,0,0,.12), inset 0 0 0 1px var(--a-line); }
.app-search svg { width: 4.4cqw; height: 4.4cqw; fill: none; stroke: var(--a-ink); stroke-width: 1.8; stroke-linecap: round; }
[dir="rtl"] .app-screen .row .chev svg, [dir="rtl"] .app-back svg { transform: scaleX(-1); }
/* Dark, as Tue in iOS dark mode. */
:root[data-theme="dark"] .phone > .screen.app-screen { --a-bg: #000; --a-ink: #fff; --a-ink2: #98989F; --a-line: #38383A; --a-pill: #2C2C2E; --a-check: #48484A; --a-btn: #1C1C1E; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone > .screen.app-screen { --a-bg: #000; --a-ink: #fff; --a-ink2: #98989F; --a-line: #38383A; --a-pill: #2C2C2E; --a-check: #48484A; --a-btn: #1C1C1E; }
}
@media (max-width: 900px) { .live-duo { width: min(340px, 82%); } }

/* ---------- Countdown ticker ---------- */
.ticker {
  background: var(--card); border-radius: 20px; padding: 6px 20px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.row {
  --c: var(--blue);
  display: grid; grid-template-columns: 26px 62px 1fr auto; column-gap: 12px; align-items: center;
  grid-template-areas: "check count title badge" ". . notes ." ". . meta .";
  padding: 15px 0; position: relative;
}
.row + .row::before { content: ""; position: absolute; top: 0; right: 0; left: 112px; border-top: 1px solid var(--line); }
.row .check { grid-area: check; align-self: start; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c); opacity: .75; }
.row .count {
  grid-area: count; align-self: start; font-size: 21px; font-weight: 700; line-height: 24px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.row .count .u { font-size: .72em; font-weight: 500; color: var(--ink-3); margin: 0 1px; }
.count.overdue { color: var(--st-red); } .count.today { color: var(--st-orange); } .count.week { color: var(--st-green); }
.row .title { grid-area: title; margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 0; }
.row .prio { color: var(--c); font-weight: 700; letter-spacing: -.05em; margin-right: 6px; }
.row .notes { grid-area: notes; margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.row .notes:empty { display: none; }
.row .meta { grid-area: meta; margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--ink-2); }
.row .meta svg { width: 13px; height: 13px; vertical-align: -2px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.row .meta .pill { background: var(--pill); border-radius: 7px; padding: 2px 8px; white-space: nowrap; }
.row .meta .listname { color: var(--c); white-space: nowrap; }
.badge { grid-area: badge; align-self: start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; line-height: 1.2; }
.badge:empty { display: none; }
.badge.overdue { color: var(--st-red); background: rgba(255,59,48,.13); }
.badge.today { color: var(--st-orange); background: rgba(255,149,0,.14); }
.badge.week { color: var(--st-green); background: rgba(52,199,89,.14); }
@media (max-width: 560px) {
  .ticker { padding: 4px 16px; }
  .row { grid-template-columns: 26px 1fr auto; grid-template-areas: "check title badge" ". count ." ". notes notes" ". meta meta"; column-gap: 10px; }
  .row + .row::before { left: 36px; }
  .row .count { font-size: 24px; line-height: 1.2; margin-top: 4px; }
}
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--ink-2); position: relative; z-index: 5; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ---------- AI cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 19px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .shot { margin-top: auto; border-radius: 12px; box-shadow: var(--shadow-sm); }
.card .shot-wrap { margin-top: 10px; border-radius: 12px; overflow: hidden; background: var(--bg-alt); max-height: 300px; }
.card .shot-wrap img { width: 100%; height: 300px; object-fit: cover; object-position: top left; }
.card .shot-wrap img.fit { height: auto; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } .card .shot-wrap img { height: auto; max-height: 320px; } }

/* ---------- AI rows ---------- */
.feature-visual.bleed-l .duo .mac, .feature-visual.bleed-r .duo .mac { width: 100%; margin-left: 0; }
.duo .duo-ai { position: absolute; width: 44%; right: -3%; bottom: -14%; z-index: 3; --rot: 4deg; }
/* Liggende Duo: breder, links onder voor de Mac maar rechts van de tekst (de Mac loopt rechts buiten beeld). */
/* Laatste rij (beantwoorden): ruimte voor de iPhone die onder de Mac uitsteekt. */
.ai-rows .ai-row:last-child .duo { margin-bottom: 16%; }
.duo .duo-ai-wide { width: 56%; left: 3%; right: auto; bottom: -20%; --rot: -3deg; }
.ai-rows { display: grid; gap: clamp(40px, 6vw, 80px); }
.ai-row { grid-template-columns: .75fr 1.25fr; }
.ai-row.rev { grid-template-columns: 1.25fr .75fr; }
.ai-row .feature-copy h3 { font-size: 24px; margin-bottom: 10px; }
.ai-row .feature-copy p { color: var(--ink-2); }
.ai-row .mac { max-width: none; }
@media (max-width: 900px) { .ai-row, .ai-row.rev { grid-template-columns: 1fr; } }

/* ---------- Platforms ---------- */
/* Devices: one layered composition. Mac large at the left, iPad in front at the right, iPhone in front of both, tilted and bleeding. */
.devices { position: relative; width: 118%; margin-left: -9%; aspect-ratio: 16 / 8.3; margin-top: -2%; }
.devices .mac { position: absolute; left: 0; top: 0; width: 76%; z-index: 1; }
.devices .tablet { position: absolute; left: 50%; top: 24%; width: 49%; z-index: 2; }
.devices .phone { position: absolute; right: 2%; top: 6%; width: 16.5%; z-index: 3; --rot: 6deg; }
.devices .mac video { width: 100%; }
.devices .mac.mac16 > .screen > video.full { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: none; }
@media (max-width: 900px) {
  .devices { width: 112%; margin-left: -6%; aspect-ratio: 16 / 9.6; }
  .devices .mac { width: 82%; }
  .devices .tablet { left: 44%; top: 30%; width: 54%; }
  .devices .phone { width: 19%; right: 0; }
}
.mode-toggle { display: inline-flex; gap: 4px; background: var(--pill); border-radius: 999px; padding: 4px; margin-top: 26px; }
.mode-toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.mode-toggle button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.dark-row { display: grid; grid-template-columns: 2.2fr 1.6fr .9fr; gap: 28px; align-items: end; margin-top: 48px; }
@media (max-width: 900px) { .dark-row { grid-template-columns: 1fr 1fr; } .dark-row .d-mac { grid-column: 1 / -1; } }

/* ---------- iPhone Duo (drawn, no Apple artwork) ----------
   Closed: a wide, book-like phone with a flat hinge on the left, rounded on the right, camera top right.
   Open: a near-square screen with a faint crease in the middle. */
/* Dicht en open even hoog, zoals het echte toestel: open is precies twee keer zo breed als dicht
   (het toestel in de render is 0,696 × zo hoog als de afbeelding breed is; dicht is 1,4 × zo hoog als breed). */
.fold { display: grid; grid-template-columns: 1fr 2.011fr; gap: 4%; align-items: center; width: 135%; }
.fold-closed { --rot: -4deg; }
@media (max-width: 900px) { .fold { width: 100%; } }
.fold-render { width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.25)); }
/* Duo-film (3D, eigen weergave): achtergrond zit in de video. De randen vloeien weg in de sectie,
   zodat een minimaal kleurverschil van de videocodering niet als rechthoek zichtbaar wordt. */
/* Groot: breder dan de kolom, maar opengeklapt helemaal in beeld. */
/* Duo-film naast de tekst, zo groot mogelijk: smalle tekstkolom en de film loopt door tot de rechterrand van het venster
   (maar nooit hoger dan het scherm, zodat de opengeklapte Duo helemaal in beeld blijft). */
#duo .feature { grid-template-columns: minmax(280px, 340px) 1fr; }
#duo .fold-film { max-width: none; margin-left: -2%;
  width: min(calc(102% + (100vw - min(1160px, 100vw - 40px)) / 2 - 12px), calc((100vh - 96px) * 1600 / 1132)); }
@media (max-width: 900px) { #duo .feature { grid-template-columns: 1fr; } #duo .fold-film { width: 118%; margin-left: -9%; } }
.fold-film { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1132;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect; }
.fold figure { margin: 0; }
.fold figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: center; }
.fold-body {
  position: relative; background: linear-gradient(180deg, #E4E4E6, #C9C9CD 50%, #DADADD);
  box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 48px rgba(0,0,0,.28);
}
.fold-closed .fold-body { aspect-ratio: 1000 / 1400; border-radius: 3% 11% 11% 3% / 2.2% 7.7% 7.7% 2.2%; padding: 2.6% 2.8% 2.6% 3.4%; }
.fold-closed .fold-body::before {  /* hinge */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2.4%;
  border-radius: 3% 0 0 3% / 2.2% 0 0 2.2%;
  background: linear-gradient(90deg, #B4B4B8, #8F8F94 45%, #D6D6D9);
}
.fold-open .fold-body { aspect-ratio: 1000 / 1333; border-radius: 6% / 4.5%; padding: 2.2% 2.1%; }
.fold-body .screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.fold-closed .fold-body .screen { border-radius: 1.5% 9% 9% 1.5% / 1% 6.3% 6.3% 1%; clip-path: inset(0 round 1.5% 9% 9% 1.5% / 1% 6.3% 6.3% 1%); }
.fold-closed .fold-body .screen img { object-position: center top; }
.fold-open .fold-body .screen { border-radius: 4.2% / 3.2%; }
.fold-body .screen img { width: 100%; height: 100%; object-fit: cover; }
:root[data-theme="dark"] .fold-body { background: linear-gradient(180deg, #4A4A4E, #2E2E32 50%, #3C3C40); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 24px 48px rgba(0,0,0,.5); }
:root[data-theme="dark"] .fold-closed .fold-body::before { background: linear-gradient(90deg, #5A5A5E, #3A3A3E 45%, #6A6A6E); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fold-body { background: linear-gradient(180deg, #4A4A4E, #2E2E32 50%, #3C3C40); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 24px 48px rgba(0,0,0,.5); }
  :root:not([data-theme="light"]) .fold-closed .fold-body::before { background: linear-gradient(90deg, #5A5A5E, #3A3A3E 45%, #6A6A6E); }
}
@media (max-width: 480px) { .fold { gap: 4%; } }

/* ---------- Swiss design band ---------- */
.swiss { background: var(--ink); color: var(--bg); padding: clamp(40px, 5vw, 64px) 0; }
.swiss-row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 48px); align-items: center; }
.swiss-mark { width: clamp(64px, 7vw, 96px); aspect-ratio: 1; }
.swiss-mark svg { display: block; width: 100%; height: 100%; }
.swiss-copy h2 { color: inherit; font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 8px; }
.swiss-copy p { color: inherit; opacity: .78; max-width: 52ch; font-size: 16px; }
.swiss-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.swiss-rules li { padding-left: 18px; position: relative; }
.swiss-rules li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; background: var(--red); }
@media (max-width: 800px) { .swiss-row { grid-template-columns: auto 1fr; } .swiss-rules { grid-column: 1 / -1; } }
.swiss + .audience { padding-top: clamp(72px, 9vw, 128px); }

/* ---------- Light → dark, scroll-pinned ---------- */
.modes { padding: 0; height: 280vh; position: relative; }
.modes-pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  --p: 0;
  background: rgb(calc(255 - 255 * var(--p)) calc(255 - 255 * var(--p)) calc(255 - 255 * var(--p)));
  color: rgb(calc(17 + 228 * var(--p)) calc(17 + 228 * var(--p)) calc(17 + 228 * var(--p)));
}
.modes-head { padding-top: clamp(40px, 6vh, 72px); max-width: 760px; }
.modes-head h2 { margin-bottom: 12px; }
.modes-head .lede { color: inherit; opacity: .72; }
.modes-row {
  position: absolute; left: 50%; top: clamp(200px, 26vh, 300px); width: min(1500px, 100vw); transform: translateX(-50%); height: 80vh;
}
.modes-row .mac { position: absolute; left: 0; top: 0; width: 72%; z-index: 1; }
.modes-row .tablet { position: absolute; right: 9%; top: 18%; width: 46%; z-index: 2; }
.modes-row .phone { position: absolute; right: 2.5%; top: 2%; width: 15%; z-index: 3; --rot: 5deg; }
.modes-row .screen img.dark-img { position: absolute; inset: 0; opacity: var(--p); }
.modes-row .mac > .screen > img.dark-img { inset: auto; left: 1.5%; top: 4.4%; width: 97%; height: 88%; }
.modes-row .mac > .screen { background-color: rgb(calc(227 - 200 * var(--p)) calc(228 - 200 * var(--p)) calc(230 - 200 * var(--p))); }
.modes-row .mac > .screen::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--p) * .75); pointer-events: none; }
.modes-row .mac > .screen > img { z-index: 1; }
.modes-row .mac > .screen > img.dark-img { z-index: 2; }
.modes-row .menubar { color: rgb(calc(28 + 214 * var(--p)) calc(28 + 214 * var(--p)) calc(30 + 212 * var(--p))); z-index: 3; }
@media (max-width: 900px) {
  .modes { height: 220vh; }
  .modes-row { width: 120vw; top: 210px; }
  .modes-row .mac { width: 85%; }
  .modes-row .tablet { width: 55%; right: 4%; top: 24%; }
  .modes-row .phone { width: 22%; right: -2%; }
}
@media (prefers-reduced-motion: reduce) { .modes { height: auto; } .modes-pin { position: relative; height: auto; padding-bottom: 60vh; } }

/* ---------- Trust grid ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.trust .card { gap: 10px; }
.trust .card h3 { font-size: 21px; }
.trust ul { margin: 6px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; color: var(--ink); font-size: 15.5px; }
.trust ul li { padding-left: 18px; position: relative; }
.trust ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.trust .icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(227,6,19,.1); display: grid; place-items: center; color: var(--red); }
.trust .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Audience ---------- */
.audience { text-align: center; }
.audience h2 { margin-bottom: 18px; }
.audience .lede { margin-inline: auto; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.tags span { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin-inline: auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 32px; position: relative; display: flex; flex-direction: column; }
.plan.best { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset, var(--shadow-sm); }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; color: var(--ink-2); font-weight: 600; letter-spacing: 0; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 2px; font-variant-numeric: tabular-nums; }
.plan .price b { font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.plan .price span { color: var(--ink-2); font-size: 17px; }
.plan .billed { color: var(--ink-2); font-size: 15px; min-height: 1.5em; }
.plan .trial { margin: 22px 0 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--st-green); font-size: 15px; }
.plan .trial::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st-green); }
.plan .renew { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.plan .btn { margin-top: 24px; width: 100%; padding: 14px; }
.plan .incl { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.plan .incl li::before { content: "✓"; color: var(--red); font-weight: 700; margin-right: 8px; }
.pricing-fine { max-width: 880px; margin: 26px auto 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 700; font-size: 18px; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Final CTA ---------- */
.cta {
  color: #fff; text-align: center;
  background: radial-gradient(90% 100% at 50% 100%, var(--red-light) 0%, var(--red) 50%, var(--red-deep) 100%);
}
.cta .clock { width: clamp(120px, 18vw, 180px); margin: 0 auto 28px; }
.cta h2 { color: #fff; font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.9); font-size: 19px; }
.cta .cta-main { margin-top: 36px; }
.cta .btn-big { padding: 18px 36px; font-size: 18px; background: #111; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cta .btn-big:hover { background: #000; }
.cta .btn-big::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 24 24'%3E%3Cpath d='M12 3v11m0 0-4-4m4 4 4-4M5 17v2a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%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 24 24'%3E%3Cpath d='M12 3v11m0 0-4-4m4 4 4-4M5 17v2a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.cta .stores { justify-content: center; margin-top: 22px; gap: 4px 18px; }
.cta .stores .btn { background: transparent; border-color: transparent; color: rgba(255,255,255,.85); padding: 6px 8px; font-weight: 600; font-size: 14px; }
.cta .stores .btn:hover { color: #fff; background: rgba(255,255,255,.12); }
.cta .stores .btn svg { width: 15px; height: 15px; }
.cta .fine { margin-top: 26px; }
.cta .fine { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
footer { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
footer .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
footer .brand { color: var(--ink); }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer .links a:hover { color: var(--ink); }
footer .langs { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; margin-top: 8px; }
footer .langs a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
footer .langs a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
footer .langs a:not([aria-current]):hover { background: var(--pill); color: var(--ink); }
footer .legal { margin-top: 28px; font-size: 12.5px; color: var(--ink-3); max-width: 90ch; line-height: 1.55; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero .float { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } .phone .screen .over { transition: none; } }

/* ---------- Small screens: devices stack ---------- */
@media (max-width: 600px) {
  .dark-row { grid-template-columns: 1fr; gap: 36px; }
  .dark-row .d-mac { grid-column: auto; }
  .dark-row .phone { width: 62%; margin-inline: auto; }
}

/* ---------- Donkere modus: Zwitsers blok en rode vlakken ---------- */
/* Designed in Switzerland: donker vlak in plaats van licht (--ink is in donker bijna wit). */
:root[data-theme="dark"] .swiss { background: #1C1C1E; color: #F5F5F7; }
/* Hero en slot: dieper rood, minder fel naast zwart. */
:root[data-theme="dark"] .hero { background: radial-gradient(120% 90% at 85% 10%, #C8121C 0%, #A3060F 45%, #6E0008 100%); }
:root[data-theme="dark"] .cta { background: radial-gradient(90% 100% at 50% 100%, #C8121C 0%, #A3060F 50%, #6E0008 100%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .swiss { background: #1C1C1E; color: #F5F5F7; }
  :root:not([data-theme="light"]) .hero { background: radial-gradient(120% 90% at 85% 10%, #C8121C 0%, #A3060F 45%, #6E0008 100%); }
  :root:not([data-theme="light"]) .cta { background: radial-gradient(90% 100% at 50% 100%, #C8121C 0%, #A3060F 50%, #6E0008 100%); }
}


/* ---------- List, board & calendar ---------- */
.views { display: flex; flex-direction: column; align-items: center; text-align: center; }
.views-seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--pill); }
.views-seg button { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); background: none; border: 0; padding: 8px 22px; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s; }
.views-seg button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.views-seg button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.views-copy { max-width: 680px; min-height: 5.2em; margin: 22px auto clamp(28px, 4vw, 48px); }
.views-text { margin: 0; color: var(--ink-2); font-size: 17px; }
.views-shots { display: grid; width: min(1440px, calc(100vw - 32px)); }
/* All three screenshots in one cell; the chosen one fades in. Transparent window corners, so the shadow follows the window. */
.views-shots .view-img { grid-area: 1 / 1; width: 100%; height: auto; align-self: start; opacity: 0; transition: opacity .45s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.08)) drop-shadow(0 24px 48px rgba(0,0,0,.16)); }
.views-shots .view-img.on { opacity: 1; }
@media (max-width: 700px) { .views-seg button { padding: 7px 16px; font-size: 14px; } .views-copy { min-height: 7.5em; } }

/* ---------- Natural language input (typing demo in #lists) ---------- */
.ni { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 112px); }
.ni-copy h3 { font-size: 24px; margin-bottom: 10px; }
.ni-copy p { color: var(--ink-2); margin: 0; }
.ni-demo { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 18px; min-height: 230px; }
.ni-field { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border-radius: 12px; background: var(--bg-alt); font-size: 16px; }
.ni-plus { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed var(--ink-3); }
.ni-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.ni-ph { color: var(--ink-3); display: none; }
.ni-text:empty ~ .ni-ph { display: inline; }
.ni-caret { display: none; }
.ni-text::after { content: ""; display: inline-block; width: 2px; height: 1.15em; vertical-align: -.2em; margin-inline-start: 1px; background: var(--blue); animation: ni-blink 1s steps(1) infinite; }
.ni-text:empty { display: inline-block; }
@keyframes ni-blink { 50% { opacity: 0; } }
.ni-key { margin-inline-start: auto; flex: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; background: var(--card); opacity: 0; transition: opacity .2s, transform .15s; }
.ni-chips, .ni-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.ni-chips { margin: 10px 0 0; padding-inline-start: 44px; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }
.ni-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--pill); color: var(--ink-2); }
.ni-chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.ni-chip.ni-prio b { color: var(--blue); letter-spacing: -.05em; }
.ni-chip.ni-list { color: var(--blue); }
.ni-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 12px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.ni-check { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--blue); opacity: .8; }
.ni-title { display: block; font-size: 16px; margin-bottom: 7px; }
/* States, set by site.js: typing → recognized → done. Without JS the final state shows. */
.ni-demo.is-recognized .ni-chips { opacity: 1; transform: none; }
.ni-demo.is-recognized .ni-key { opacity: 1; }
.ni-demo.is-pressed .ni-key { transform: translateY(1px); border-bottom-width: 1px; }
.ni-demo.is-done .ni-key { opacity: 0; }
.ni-demo.is-done .ni-chips { display: none; }
.ni-demo.is-done .ni-row { opacity: 1; transform: none; }
.ni-demo.is-done .ni-text { display: none; }
.ni-demo.is-done .ni-ph { display: inline; }
@media (max-width: 900px) { .ni { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .ni-chips { padding-inline-start: 0; } .ni-demo { padding: 14px; } }

/* ---------- Scripts: Arabic, Hebrew, Thai, Korean ---------- */
html[lang="ar"] { --font: "SF Arabic", "Geeza Pro", "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; line-height: 1.6; }
html[lang="he"] { --font: "SF Hebrew", "Arial Hebrew", "Segoe UI", "Noto Sans Hebrew", Arial, system-ui, sans-serif; }
html[lang="th"] { --font: "Helvetica Neue", Helvetica, Thonburi, "Sukhumvit Set", "Leelawadee UI", "Noto Sans Thai", system-ui, sans-serif; line-height: 1.65; }
html[lang="ko"] { --font: "Helvetica Neue", Helvetica, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; word-break: keep-all; }
/* Tight tracking breaks Arabic letter joining and crowds Thai and Hangul. */
html[lang="ar"] :is(*, *::before, *::after) { letter-spacing: 0 !important; }
html:is([lang="he"], [lang="th"], [lang="ko"]) :is(h1, h2, h3, h4) { letter-spacing: 0; }
html:is([lang="ar"], [lang="th"]) :is(h1, h2, h3) { line-height: 1.3; }
html[lang="ko"] :is(h1, h2, h3) { line-height: 1.25; }

/* ---------- Right-to-left (Hebrew, Arabic) ----------
   Text runs right to left; device frames, screenshots and the layered compositions stay as designed (the app UI is LTR). */
[dir="rtl"] :is(.feature, .flow-grid, .hero-visual, .devices, .modes-row, .live-duo, .fold, .phone, .tablet, .mac) { direction: ltr; }
[dir="rtl"] :is(.feature-copy, .flow-copy, .fold figcaption) { direction: rtl; }
[dir="rtl"] .brand small { margin-left: 0; margin-right: 2px; }
[dir="rtl"] .nav-links { margin-left: 0; margin-right: 14px; }
[dir="rtl"] .nav-right { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero-copy .name-note { text-align: right; }
[dir="rtl"] .flow-step::before { left: auto; right: 0; }
[dir="rtl"] :is(.swiss-rules li, .trust ul li) { padding-left: 0; padding-right: 18px; }
[dir="rtl"] :is(.swiss-rules li, .trust ul li)::before { left: auto; right: 0; }
[dir="rtl"] .plan .tag { left: auto; right: 28px; }
[dir="rtl"] .plan .incl li::before { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .checks li { padding-left: 0; padding-right: 32px; }
[dir="rtl"] .checks li::before { left: auto; right: 0; }
[dir="rtl"] .faq summary { padding: 20px 0 20px 44px; }
[dir="rtl"] .faq summary::after { right: auto; left: 6px; }
.nw { white-space: nowrap; }
footer .links a.yt { display: inline-flex; align-items: center; gap: 6px; }

/* Privacy First */
.privacy-first { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding: 36px; border-radius: 24px; background: var(--card, var(--bg)); border: 1px solid var(--line); }
.pf-icon { width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(145deg, var(--red-light), var(--red) 55%, var(--red-deep)); box-shadow: 0 12px 28px rgba(227,6,19,.28); }
.pf-icon svg { width: 54px; height: 54px; }
.pf-shield { fill: rgba(255,255,255,.18); stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.pf-lock { fill: #fff; }
.pf-shackle { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.pf-hole { fill: var(--red); }
.pf-copy h3 { font-size: 26px; margin: 6px 0 10px; }
.pf-copy p { max-width: 70ch; }
.pf-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 10px; border-radius: 999px; background: var(--pill); color: var(--ink); font-size: 14.5px; }
.pf-chips li::before { content: ""; width: 15px; height: 15px; flex: none; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M3.6 12.4l8.8-8.8'/%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 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M3.6 12.4l8.8-8.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.pf-chips li.ok { background: rgba(52,199,89,.14); }
.pf-chips li.ok::before { background: #1f9d4c;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='8' height='8' rx='1.6'/%3E%3Cpath d='M6 1.5v2.5M10 1.5v2.5M6 12v2.5M10 12v2.5M1.5 6H4M1.5 10H4M12 6h2.5M12 10h2.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='8' height='8' rx='1.6'/%3E%3Cpath d='M6 1.5v2.5M10 1.5v2.5M6 12v2.5M10 12v2.5M1.5 6H4M1.5 10H4M12 6h2.5M12 10h2.5'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pf-chips li.ok::before { background: #4cd17a; } }
:root[data-theme="dark"] .pf-chips li.ok::before { background: #4cd17a; }
@media (max-width: 700px) { .privacy-first { grid-template-columns: 1fr; padding: 24px; gap: 18px; } .pf-icon { width: 72px; height: 72px; border-radius: 20px; } .pf-icon svg { width: 44px; height: 44px; } .pf-copy h3 { font-size: 22px; } }
.ni-copy .ni-drag { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ni-drag-tag { display: inline-flex; align-items: center; gap: 5px; margin-inline-end: 4px; padding: 2px 9px 2px 7px; border-radius: 999px; background: var(--pill); color: var(--ink); font-size: 13px; font-weight: 600; vertical-align: 1px; }
.ni-drag-tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Mail drag demo (Mac): Mail + Tue, sized in em so it scales */
.ni.ni-mail { margin-top: clamp(40px, 5vw, 72px); grid-template-columns: 1fr; gap: 24px; }
.ni-mail .ni-copy { max-width: 72ch; }
.ni-mail .ni-copy .ni-drag { margin: 0; padding: 0; border: 0; }
.md-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .9em; padding: 1em; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 10.5px; line-height: 1.3; overflow: hidden; user-select: none; }
@media (min-width: 900px) { .md-stage { font-size: 13px; padding: 1.8em; gap: 1.6em; grid-template-columns: 1.65fr 1fr; } }
.md-win { background: var(--card); border: 1px solid var(--line); border-radius: .9em; overflow: hidden; box-shadow: 0 .4em 1.4em rgba(0,0,0,.08); min-width: 0; }
.md-win svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.md-tl { display: flex; gap: .45em; }
.md-tl i { width: .9em; height: .9em; border-radius: 50%; background: #ff5f57; }
.md-tl i:nth-child(2) { background: #febc2e; } .md-tl i:nth-child(3) { background: #28c840; }
.md b { font-weight: 600; }
/* Mail */
.md-mail { display: grid; grid-template-columns: minmax(0, 1fr); }
.md-side, .md-pv { display: none; }
.md-ml { min-width: 0; }
.md-mh { display: flex; align-items: center; gap: .6em; padding: .8em .9em .7em; border-bottom: 1px solid var(--line); }
.md-mh > div { min-width: 0; flex: 1; }
.md-mh b, .md-mh small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-mh b { font-size: 1.15em; color: var(--ink); }
.md-mh small { color: var(--ink-3); font-size: .85em; }
.md-ico svg { width: 1.3em; height: 1.3em; color: var(--ink-3); }
.md-m { display: flex; gap: .5em; margin: .15em .35em; padding: .55em .6em .6em .3em; border-radius: .55em; position: relative; transition: background .2s; }
.md-m + .md-m::before { content: ""; position: absolute; top: -.1em; inset-inline: .9em .5em; border-top: 1px solid var(--line); }
.md-m > div { min-width: 0; flex: 1; }
.md-dot { flex: none; width: .65em; height: .65em; margin-top: .35em; border-radius: 50%; background: #0a84ff; }
.md-read .md-dot { visibility: hidden; }
.md-r1 { display: flex; gap: .5em; align-items: baseline; }
.md-r1 b { flex: 1; min-width: 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-r1 time { flex: none; color: var(--ink-3); font-size: .85em; }
.md-sj, .md-pr { display: block; overflow: hidden; }
.md-sj { color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }
.md-pr { color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.md.s-sel1 .md-m[data-m="1"], .md.s-sel23 :is(.md-m[data-m="2"], .md-m[data-m="3"]) { background: #0a63e0; }
.md.s-sel1 .md-m[data-m="1"]::before, .md.s-sel23 :is(.md-m[data-m="2"], .md-m[data-m="3"])::before, .md.s-sel23 .md-m[data-m="3"] + .md-m::before, .md.s-sel1 .md-m[data-m="1"] + .md-m::before { opacity: 0; }
.md.s-sel1 .md-m[data-m="1"] *, .md.s-sel23 :is(.md-m[data-m="2"], .md-m[data-m="3"]) * { color: #fff !important; }
.md.s-sel1 .md-m[data-m="1"] .md-dot, .md.s-sel23 :is(.md-m[data-m="2"], .md-m[data-m="3"]) .md-dot { background: #fff; }
@media (min-width: 900px) {
  .md-mail { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr) minmax(0, 1.25fr); }
  .md-side { display: flex; flex-direction: column; gap: .2em; padding: .9em .6em; background: var(--bg-alt); border-inline-end: 1px solid var(--line); }
  .md-side .md-tl { margin: 0 0 1.1em .3em; }
  .md-side span { display: flex; align-items: center; gap: .5em; padding: .4em .5em; border-radius: .5em; color: var(--ink); }
  .md-side span.on { background: rgba(0,0,0,.08); }
  .md-side svg { width: 1.25em; height: 1.25em; color: #0a84ff; flex: none; }
  .md-side em { font-style: normal; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .md-side small { color: var(--ink-3); }
  .md-ml { border-inline-end: 1px solid var(--line); }
  .md-pv { display: block; min-width: 0; }
  .md-tb { display: flex; align-items: center; gap: 1em; justify-content: flex-end; padding: .9em 1em .8em; border-bottom: 1px solid var(--line); color: var(--ink-3); }
  .md-tb svg { width: 1.3em; height: 1.3em; }
  .md-tb i { width: 1px; height: 1.2em; background: var(--line); }
  [dir="rtl"] .md-tb svg { transform: scaleX(-1); }
  .md-pv-p { display: none; padding: 1.1em 1.3em; }
  .md-pv-p[data-p="1"], .md.s-sel23 .md-pv-p[data-p="2"] { display: block; animation: md-in .3s ease; }
  .md.s-sel23 .md-pv-p[data-p="1"] { display: none; }
  .md-pv-h { display: flex; gap: .7em; align-items: flex-start; padding-bottom: .9em; margin-bottom: .9em; border-bottom: 1px solid var(--line); }
  .md-pv-h > div { min-width: 0; flex: 1; }
  .md-pv-h b, .md-pv-h span, .md-pv-h small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .md-pv-h b { color: var(--ink); font-size: 1.05em; }
  .md-pv-h span { color: var(--ink); }
  .md-pv-h small, .md-pv-h time { color: var(--ink-3); font-size: .85em; }
  .md-av-l { width: 2.6em; height: 2.6em; font-size: .85em; }
  .md-pv p { margin: 0 0 1em; color: var(--ink); line-height: 1.5; }
  .md-ln { display: block; height: .55em; border-radius: .3em; background: var(--pill); margin-top: .6em; }
  .md-ln.s { width: 55%; }
}
@keyframes md-in { from { opacity: 0; } to { opacity: 1; } }
.md-av { flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; background: linear-gradient(180deg, #a9adb6, #80848d); color: #fff; font-style: normal; font-size: .75em; font-weight: 700; display: grid; place-items: center; }
/* Tue */
.md-tue { display: flex; flex-direction: column; }
.md-zh { display: flex; align-items: center; gap: .8em; padding: .75em .9em; border-bottom: 1px solid var(--line); }
.md-zt { min-width: 0; flex: 1; }
.md-zt b, .md-zt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-zt b { color: var(--ink); }
.md-zt small { color: var(--ink-3); font-size: .85em; }
.md-seg { display: none; }
@media (min-width: 900px) {
  .md-tue { position: relative; }
  .md-seg { display: flex; padding: .2em; border-radius: 999px; background: var(--pill); font-size: .85em; }
  .md-seg em { font-style: normal; padding: .25em .8em; border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
  .md-seg em.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
}
.md-list { flex: 1; padding: .3em .5em .6em; transition: background .2s, box-shadow .2s; }
.md.s-over-list .md-list { background: rgba(227,6,19,.06); box-shadow: inset 0 0 0 2px var(--red); }
.md-sec { display: flex; align-items: center; gap: .3em; padding: .7em .3em .3em; font-weight: 700; color: var(--ink-2); }
.md-sec.g { color: #2fa84f; }
.md-sec svg { width: 1em; height: 1em; }
.md-r { display: flex; gap: .55em; align-items: flex-start; padding: .55em .4em; border-radius: .55em; transition: background .2s, box-shadow .2s; }
.md-r > div { min-width: 0; flex: 1; }
.md-r b { display: block; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md.s-over-rem .md-target { background: rgba(227,6,19,.06); box-shadow: inset 0 0 0 2px var(--red); }
.md-c { flex: none; width: 1.3em; height: 1.3em; border: 1.5px solid var(--ink-3); border-radius: 50%; }
.md-cd { flex: none; min-width: 2.2em; color: #2fa84f; font-weight: 700; }
.md-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35em; margin-top: .3em; color: var(--ink-3); font-size: .85em; }
.md-meta > svg { width: 1.15em; height: 1.15em; }
.md-meta em { font-style: normal; display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; }
.md-pill { padding: .1em .55em .1em .4em; border-radius: 999px; background: var(--pill); color: var(--ink-2); }
.md-pill svg, .md-sub-n svg, .md-chip svg, .md-g svg { width: 1.1em; height: 1.1em; }
.md-lst { color: #0a84ff; }
.md-sub-n { display: none !important; }
.md.s-ai .md-sub-n { display: inline-flex !important; }
.md-chip { padding: .1em .55em .1em .15em; border-radius: 999px; background: var(--pill); color: var(--ink-2); }
.md-mailchip { padding: .2em .45em; }
.md-ai, .md-new { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease; }
.md.s-ai .md-ai { max-height: 12em; opacity: 1; }
.md.s-new .md-new { max-height: 12em; opacity: 1; }
.md-sr { display: flex; gap: .55em; padding: .45em .4em .45em 3.2em; border-top: 1px solid var(--line); }
.md-sr .md-c { width: 1.1em; height: 1.1em; }
.md-sr span { color: var(--ink); }
.md-sr .md-meta { margin-top: .2em; }
/* Sheet: the window Tue opens after the drop */
.md-sheet { position: absolute; inset: .6em .6em auto; z-index: 2; background: var(--card); border: 1px solid var(--line); border-radius: .9em; padding: .9em .9em .8em; box-shadow: 0 1.2em 3em rgba(0,0,0,.28); opacity: 0; transform: translateY(-1em) scale(.98); transition: opacity .3s, transform .35s cubic-bezier(.2,.7,.2,1); pointer-events: none; font-size: .92em; }
@media (min-width: 900px) { .md-sheet { inset: 3.4em .7em auto; } }
.md.s-sheet .md-sheet { opacity: 1; transform: none; }
.md-sh-sec { margin-bottom: .7em; }
.md-sh-sec > small { display: block; margin: 0 0 .3em .3em; color: var(--ink-3); font-weight: 600; font-size: .85em; }
.md-sh-box { background: var(--bg-alt); border-radius: .6em; padding: .45em .65em; display: grid; gap: .35em; }
.md-sh-box > b { color: var(--ink); }
.md-sh-m b, .md-sh-m span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-sh-m b { color: var(--ink); font-weight: 500; }
.md-sh-m span { color: var(--ink-3); font-size: .85em; }
.md-sh-m + .md-sh-m { border-top: 1px solid var(--line); padding-top: .35em; }
.md-think { display: flex; align-items: center; gap: .5em; color: var(--ink-3); }
.md-spin { width: 1em; height: 1em; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink-3); animation: md-spin .8s linear infinite; }
@keyframes md-spin { to { transform: rotate(360deg); } }
.md-sug { display: none; align-items: center; gap: .5em; color: var(--ink); }
.md-sug > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-sug > div { min-width: 0; }
.md-sug > div b, .md-sug > div span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-sug > div > span { color: var(--ink-3); font-size: .85em; }
.md-sug .md-pill { font-size: .85em; flex: none; }
.md-cb { flex: none; width: 1.15em; height: 1.15em; border-radius: .28em; background: #0a84ff; display: grid; place-items: center; }
.md-cb svg { width: .95em; height: .95em; stroke: #fff; stroke-width: 2; }
.md.s-sugg .md-sug { display: flex; animation: md-in .3s ease; }
.md.s-sugg .md-think { display: none; }
.md-note { display: none; margin: .35em .3em 0; color: var(--ink-3); font-size: .8em; line-height: 1.35; }
.md.s-sugg .md-note { display: block; }
.md-sh-ppl { display: none; }
.md.s-sugg .md-sh-ppl { display: block; }
.md-sh-btns { display: flex; justify-content: flex-end; gap: .5em; padding-top: .6em; border-top: 1px solid var(--line); }
.md-sh-btns em { font-style: normal; padding: .3em .9em; border-radius: .45em; background: var(--pill); color: var(--ink); white-space: nowrap; }
.md-sh-btns .md-primary { background: #0a84ff; color: #fff; transition: filter .15s; }
.md.s-press .md-primary { filter: brightness(.8); }
@media (max-width: 899px) { .md-sh-ppl, .md-sh-sec:first-child { display: none !important; } }
/* Drag ghost and cursor */
.md-ghost { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .2s; }
.md-ghost.on { opacity: 1; }
.md-ghost.move, .md-cursor.move { transition: transform .95s cubic-bezier(.45,.05,.25,1), opacity .2s; }
.md-g { display: inline-flex; align-items: center; gap: .45em; max-width: 15em; padding: .5em .8em; border-radius: .6em; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 .7em 1.8em rgba(0,0,0,.2); }
.md-g svg { fill: none; stroke: currentColor; stroke-width: 1.4; }
.md-g b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-ghost.multi .md-g { box-shadow: .3em .3em 0 -.1em var(--card), .3em .3em 0 0 var(--line), 0 .7em 1.8em rgba(0,0,0,.2); }
.md-n { display: none; position: absolute; inset-inline-end: -.6em; top: -.6em; min-width: 1.6em; height: 1.6em; padding: 0 .35em; border-radius: .8em; background: var(--red); color: #fff; font-size: .85em; font-weight: 700; place-items: center; }
.md-ghost.multi .md-n { display: grid; }
.md-cursor { position: absolute; left: 0; top: 0; z-index: 4; width: 1.25em; height: 1.75em; fill: #000; stroke: #fff; stroke-width: 1.2; opacity: 0; pointer-events: none; }
.md-cursor.on { opacity: 1; }
.md-lbl { display: flex; align-items: center; gap: .6em; font-size: 1.25em; font-weight: 600; color: var(--ink); margin-bottom: -.3em; }
.md-appi { width: 1.9em; height: 1.9em; border-radius: .45em; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.md-appi-mail { display: grid; place-items: center; background: linear-gradient(180deg, #5ac8fa, #0a7aff); }
.md-appi-mail svg { width: 1.35em; height: 1.35em; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.md-pill { display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; font-style: normal; }
/* Tue list row as in the app (wide): [disclosure][○] [countdown] [title + meta] [›] */
.md-ds { flex: none; width: 1em; display: grid; place-items: center; align-self: center; }
.md-dis { width: 1em; height: 1em; color: var(--ink-3); opacity: 0; transform: rotate(-90deg); transition: opacity .3s, transform .3s; }
.md.s-ai .md-dis { opacity: 1; transform: none; }
.md-r .md-c { align-self: center; }
.md-cd { align-self: center; }
.md-cd.md-nd { color: var(--ink-3); font-weight: 400; white-space: nowrap; }
.md-chev { flex: none; align-self: center; width: 1.1em; height: 1.1em; color: var(--ink-3); opacity: .6; stroke-width: 2; }
.md-sr { padding-inline-start: 5em; }
[dir="rtl"] .md-chev { transform: scaleX(-1); }
/* Tue list as in the app since 5 Nov: big coloured section headings; rows with title, then countdown + date pill + list name; › on the right */
.md-sec { display: flex; align-items: baseline; gap: .4em; padding: .7em .25em .4em; margin-bottom: .1em; border-bottom: 1px solid var(--line); font-size: 1.2em; font-weight: 700; color: var(--ink-2); }
.md-sec.g { color: #2fa84f; }
.md-sec-n { font-style: normal; opacity: .5; }
.md-sec svg { margin-inline-start: auto; align-self: center; width: .85em; height: .85em; }
.md-r { align-items: center; gap: .7em; padding: .7em .3em; border-radius: 0; }
.md-r + .md-ai + .md-new .md-sec, .md-new .md-sec { margin-top: .4em; }
.md-r b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 1.05em; }
.md-r .md-c { width: 1.55em; height: 1.55em; align-self: flex-start; margin-top: .05em; }
.md-meta { margin-top: .4em; gap: .45em; }
.md-meta .md-cd { flex: none; min-width: 0 !important; color: #2fa84f; font-weight: 700; font-size: 1.1em; }
.md-lst { color: var(--ink-3); }
.md-chev { opacity: .5; }
.md-sr { padding: .5em .3em .5em 2.6em; border-top: 0; }
.md-sr .md-c { width: 1.2em; height: 1.2em; align-self: flex-start; }
.md.s-over-rem .md-target { border-radius: .55em; }
/* People demo (Mac): Contacts + Mail + Tue. One contact card onto a reminder, then an email with Tue's sheet. */
.ct-wrap { margin-bottom: clamp(8px, 2vw, 24px); }
.ct-appi { display: grid; place-items: center; background: linear-gradient(180deg, #d9c7ae, #a88f70); }
.ct-appi svg { width: 1.4em; height: 1.4em; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.ct-th { display: flex; align-items: center; gap: .7em; padding: .7em .8em .4em; }
.ct-sf { flex: 1; min-width: 0; display: flex; align-items: center; gap: .45em; padding: .3em .6em; border-radius: .5em; background: var(--pill); color: var(--ink-3); }
.ct-sf span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-sf svg { width: 1.1em; height: 1.1em; flex: none; }
.ct-l { display: none; margin: .5em .8em 0; padding-bottom: .15em; border-bottom: 1px solid var(--line); color: var(--ink-3); font-weight: 600; font-size: .85em; }
@media (min-width: 900px) { .ct-l { display: block; } .ct-cw { padding-bottom: .6em; } }
.ct-c { display: flex; align-items: center; gap: .55em; margin: .15em .35em; padding: .45em .5em; border-radius: .5em; color: var(--ink); transition: background .2s; }
.ct-c span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-c .md-av { width: 1.9em; height: 1.9em; font-size: .7em; }
.md.ct.s-c1 .ct-c[data-c="anna"], .md.ct.s-m2 .md-m[data-m="2"] { background: #0a63e0; color: #fff; }
.md.ct.s-m2 .md-m[data-m="2"] * { color: #fff !important; }
.md.ct.s-m2 .md-m[data-m="2"] .md-dot { background: #fff; }
.md.ct.s-m2 .md-m[data-m="2"]::before, .md.ct.s-m2 .md-m[data-m="2"] + .md-m::before { opacity: 0; }
.ct-pp { display: none !important; color: var(--ink-2); }
.ct-pp svg { width: 1.2em; height: 1.2em; }
.md.ct.s-p1 .ct-pp1, .md.ct.s-p2 .ct-pp2 { display: inline-flex !important; animation: ct-pop .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes ct-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.md.ct.s-over1 .ct-t1, .md.ct.s-over2 .ct-t2 { background: rgba(227,6,19,.06); box-shadow: inset 0 0 0 2px var(--red); border-radius: .55em; }
/* Ghost: a contact card or an email */
.ct .md-ghost .ct-gm, .ct .md-ghost.mail .ct-gc { display: none; }
.ct .md-ghost.mail .ct-gm { display: inline; }
/* Sheet */
.ct-sheet { font-size: .86em; }
.ct-add { display: flex; align-items: center; gap: .55em; color: var(--ink-3); }
.ct-add i { width: 1.1em; height: 1.1em; border-radius: 50%; border: 1.5px dashed var(--ink-3); flex: none; }
.ct-pr { display: flex; align-items: center; gap: .55em; color: var(--ink); }
.ct-pr + .ct-pr { border-top: 1px solid var(--line); padding-top: .35em; }
.ct-pr > div { min-width: 0; }
.ct-pr b, .ct-pr > div > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-pr b { font-weight: 500; }
.ct-pr > div > span { color: var(--ink-3); font-size: .85em; }
.ct-pr .md-cb { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: background .2s, box-shadow .2s; }
.ct-pr .md-cb svg { opacity: 0; }
.ct-pr.on .md-cb, .md.ct.s-tick .ct-marc .md-cb { background: #0a84ff; box-shadow: none; }
.ct-pr.on .md-cb svg, .md.ct.s-tick .ct-marc .md-cb svg { opacity: 1; }
.ct-note { margin: .35em .3em 0; color: var(--ink-3); font-size: .8em; line-height: 1.35; }
@media (max-width: 899px) { .ct-sh-sub { display: none; } .ct-sheet { inset: 4em .6em auto; } }
@media (max-width: 899px) { .ct-mw .md-mh .md-tl { display: none; } .ct-float { width: 52%; inset-inline-start: 2em; } }
.md.ct.s-m2 .md-pv-p[data-p="2"] { display: block; animation: md-in .3s ease; }
.md.ct.s-m2 .md-pv-p[data-p="1"] { display: none; }
.ct-mw .md-pv-h small + small { margin-top: .1em; }
.ct-sheet .md-sh-box { grid-template-columns: minmax(0, 1fr); }
/* Mail (wide) + Tue; later Apple Contacts opens on top of Mail */
.ct-stage { grid-template-areas: "a2 a3" "mw zw"; }
.ct-a2 { grid-area: a2; } .ct-a3 { grid-area: a3; } .ct-mw { grid-area: mw; } .ct-zw { grid-area: zw; }
.ct-float { position: absolute; z-index: 3; top: 8em; inset-inline-start: 2.2em; width: 46%; opacity: 0; transform: translateY(1em) scale(.97); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.ct-float .md-lbl { margin-bottom: .5em; }
.ct-float .md-win { box-shadow: 0 1.2em 3em rgba(0,0,0,.3); }
.md.ct.s-cshow .ct-float { opacity: 1; transform: none; }
@media (min-width: 900px) { .ct-float { top: 9em; inset-inline-start: 24%; width: 26%; } }
.ct-float .md-lbl { display: inline-flex; padding: .3em .8em .3em .35em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 .4em 1.2em rgba(0,0,0,.15); font-size: 1.05em; }
/* Contacts sits low over Mail, so Mail stays visible above it */
.ct-float { top: auto; bottom: .7em; inset-inline-start: 3em; width: 44%; font-size: .92em; }
.ct-float .ct-l { display: none !important; }
@media (min-width: 900px) { .ct-float { top: auto; bottom: .9em; inset-inline-start: 30%; width: 24%; } }
/* Step 3: open the reminder in Tue, click the email in History, and it opens in its own Mail window */
.md.ct.s-rsel .ct-t2 { background: var(--pill); border-radius: .55em; }
.ct-detail { position: absolute; z-index: 2; top: 3.4em; bottom: 1.1em; inset-inline-end: 1em; width: calc(50% - 1.45em); background: var(--card); border-radius: 0 0 .9em .9em; padding: .4em .8em .9em; overflow: hidden; opacity: 0; transform: translateX(1.5em); transition: opacity .3s, transform .35s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
@media (min-width: 900px) { .ct-detail { top: 3.3em; bottom: 0; inset-inline: 0; width: auto; border-top: 1px solid var(--line); } }
.md.ct.s-detail .ct-detail { opacity: 1; transform: none; }
.ct-dh { display: flex; align-items: center; gap: .3em; color: #0a84ff; margin-bottom: .5em; }
.ct-dh .ct-back { width: 1.1em; height: 1.1em; color: #0a84ff; opacity: 1; }
[dir="rtl"] .ct-dh .ct-back { transform: scaleX(-1); }
.ct-dt { display: flex; gap: .7em; align-items: flex-start; padding-bottom: .7em; margin-bottom: .6em; border-bottom: 1px solid var(--line); }
.ct-dt .md-c { width: 1.55em; height: 1.55em; }
.ct-dt b { display: block; color: var(--ink); font-size: 1.1em; }
.ct-ds { margin-bottom: .7em; }
.ct-ds > small { display: block; margin: 0 0 .3em .3em; color: var(--ink-3); font-weight: 600; font-size: .85em; }
.ct-ds .md-sh-box { grid-template-columns: minmax(0, 1fr); }
.ct-ds .ct-pr .md-av { width: 2em; height: 2em; font-size: .7em; }
.ct-hist { display: flex; gap: .5em; align-items: flex-start; color: var(--ink); border-radius: .4em; padding: .2em; margin: -.2em; transition: background .15s; }
.ct-hist svg { width: 1.2em; height: 1.2em; flex: none; color: var(--ink-3); margin-top: .1em; }
.ct-hist span { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.md.ct.s-hpress .ct-hist { background: var(--pill); }
.ct-msg { position: absolute; z-index: 3; top: 3.2em; inset-inline: .8em; opacity: 0; transform: scale(.94); transition: opacity .3s, transform .35s cubic-bezier(.2,.7,.2,1); pointer-events: none; box-shadow: 0 1.4em 3.4em rgba(0,0,0,.32); }
@media (min-width: 900px) { .ct-msg { top: 4.2em; inset-inline: 7% auto; width: 46%; } }
.md.ct.s-msg .ct-msg { opacity: 1; transform: none; }
.ct-mt { display: flex; align-items: center; gap: 1em; padding: .7em .9em; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.ct-msg .md-tb { display: flex; flex: 1; justify-content: flex-end; align-items: center; gap: 1em; padding: 0; border: 0; color: var(--ink-3); }
.ct-msg .md-tb svg { width: 1.25em; height: 1.25em; }
.ct-msg .md-tb i { width: 1px; height: 1.1em; background: var(--line); }
.ct-mb { padding: 1em 1.2em 1.2em; }
.ct-mb .md-pv-h { display: flex; gap: .7em; align-items: flex-start; padding-bottom: .8em; margin-bottom: .8em; border-bottom: 1px solid var(--line); }
.ct-mb .md-pv-h > div { min-width: 0; flex: 1; }
.ct-mb .md-pv-h b, .ct-mb .md-pv-h span, .ct-mb .md-pv-h small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-mb .md-pv-h b { color: var(--ink); }
.ct-mb .md-pv-h span { color: var(--ink); }
.ct-mb .md-pv-h small, .ct-mb .md-pv-h time { color: var(--ink-3); font-size: .85em; }
.ct-mb .md-av-l { width: 2.6em; height: 2.6em; font-size: .85em; }
.ct-mb p { margin: 0 0 .8em; color: var(--ink); line-height: 1.5; }
.ct-mb .md-ln { display: block; height: .55em; border-radius: .3em; background: var(--pill); margin-top: .6em; }
.ct-mb .md-ln.s { width: 55%; }
/* Contacts a bit bigger */
.ct-float { font-size: 1em; width: 56%; }
@media (min-width: 900px) { .ct-float { width: 31%; inset-inline-start: 27%; } .ct-float .ct-c { padding: .55em .6em; } .ct-float .ct-c .md-av { width: 2.2em; height: 2.2em; } }
/* Opened Mail window a bit bigger */
@media (min-width: 900px) { .ct-msg { top: 3.4em; inset-inline: 4% auto; width: 56%; font-size: 1.08em; } .ct-mb { padding: 1.3em 1.5em 1.6em; } .ct-mb .md-ln { margin-top: .8em; } }
.ct-msg { top: 2.6em; inset-inline: .5em; }
@media (min-width: 900px) { .ct-msg { top: 4.6em; } }
/* Contacts twice as big */
.ct-float { width: 78%; inset-inline-start: 1.2em; font-size: 1.15em; }
@media (min-width: 900px) { .ct-float { width: 50%; inset-inline-start: 20%; font-size: 1.4em; bottom: .9em; } }
@media (min-width: 900px) { .ct-float { inset-inline-start: 9%; } }
/* Contacts: a bigger window (sidebar, list, card), text at normal size */
.ct-float { font-size: 1em; width: 72%; }
.ct-cw { display: grid; grid-template-columns: minmax(0, 1fr); }
.ct-side, .ct-cw .ct-card { display: none; }
.ct-float .ct-c { padding: .45em .5em; }
.ct-float .ct-c .md-av { width: 1.9em; height: 1.9em; }
.ct-x { display: none !important; }
@media (min-width: 900px) {
  .ct-float { width: 66%; inset-inline-start: 4%; font-size: 1em; bottom: .9em; }
  .ct-cw { grid-template-columns: minmax(0, .8fr) minmax(0, 1.15fr) minmax(0, 1.25fr); }
  .ct-side { display: flex; flex-direction: column; gap: .2em; padding: .9em .6em; background: var(--bg-alt); border-inline-end: 1px solid var(--line); }
  .ct-side .md-tl { margin: 0 0 1.1em .3em; }
  .ct-side span { display: flex; align-items: center; gap: .5em; padding: .4em .5em; border-radius: .5em; color: var(--ink); }
  .ct-side span.on { background: rgba(0,0,0,.08); }
  .ct-side svg { width: 1.25em; height: 1.25em; color: #0a84ff; flex: none; }
  .ct-side em { font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ct-list { border-inline-end: 1px solid var(--line); padding-bottom: .5em; }
  .ct-list .ct-th .md-tl { display: none; }
  .ct-float .ct-x { display: flex !important; }
  .ct-float .ct-l { display: block !important; }
  .ct-cw .ct-card { display: block; padding: 1.8em 1.3em; text-align: center; }
  .ct-big { width: 4.4em; height: 4.4em; margin: 0 auto .7em; font-size: 1em; }
  .ct-card > b { display: block; color: var(--ink); font-size: 1.3em; }
  .ct-card > span { display: block; color: var(--ink-3); margin-top: .15em; }
  .ct-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55em .8em; margin: 1.4em 0 0; padding-top: 1em; border-top: 1px solid var(--line); text-align: start; }
  .ct-card dt { color: var(--ink-3); text-align: end; font-size: .9em; }
  .ct-card dd { margin: 0; color: #0a84ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ct-card dd:first-of-type { color: var(--ink); }
}
@media (min-width: 900px) { .ct-float { width: 57%; inset-inline-start: 2.5%; } .ct-cw { height: 19.5em; } .ct-list { overflow: hidden; } }
@media (min-width: 900px) { .ct-cw { height: 23em; } }
@media (min-width: 900px) { .ct-float { width: 59%; inset-inline-start: 2%; bottom: 3em; } .ct-cw { height: 25.5em; } }
@media (min-width: 900px) { .ct-stage { padding-bottom: 6em; } .ct-float { bottom: 1.2em; } .ct-cw { height: 27em; } }
@media (max-width: 899px) { .ct-stage { padding-bottom: 4.5em; } .ct-float { bottom: .8em; } }
.md-pv-h small > span { display: inline !important; }

/* People: copy only, the Contacts animation below is the visual. */
.feature.solo { grid-template-columns: minmax(0, 780px); }

/* People demo, swapped: Apple Contacts is the base window (left), Apple Mail floats in on top of it, lower, so it sticks out. */
.ct-stage > .ct-cw { grid-area: mw; height: auto; align-self: stretch; }
.ct-float .ct-mw { grid-area: auto; }
.ct-stage > .ct-cw .ct-c { padding: .45em .5em; }
.ct-stage > .ct-cw .ct-c .md-av { width: 1.9em; height: 1.9em; }
@media (min-width: 900px) {
  .ct-stage > .ct-cw { grid-template-columns: minmax(0, .8fr) minmax(0, 1.15fr) minmax(0, 1.25fr); }
  .ct-stage > .ct-cw .ct-side { display: block; }
  .ct-stage > .ct-cw .ct-x { display: flex !important; }
  .ct-stage > .ct-cw .ct-l { display: block !important; }
  .ct-stage > .ct-cw .ct-card { display: block; padding: 1.8em 1.3em; text-align: center; }
  .ct-stage > .ct-cw .ct-list { overflow: hidden; }
  .ct-float { width: 64%; inset-inline-start: 6%; bottom: 1.2em; font-size: 1em; }
  .ct-float .ct-mw { height: 21em; }
}
@media (max-width: 899px) {
  .ct-stage > .ct-cw .ct-x { display: none; }
  .ct-float { width: 80%; inset-inline-start: 1em; bottom: .8em; font-size: 1em; }
  .ct-float .ct-mw { height: 17em; }
}
/* Mail lies lower, so it overlaps only the lower part of Contacts and sticks out below. */
@media (min-width: 900px) { .ct-stage { padding-bottom: 10em; } }
@media (max-width: 899px) { .ct-stage { padding-bottom: 8em; } .ct-float .ct-mw { height: 13em; } }
/* Pricing: Free next to Pro monthly and Pro yearly. */
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; }
.plan .renew:empty { display: none; }
.plan-free .trial { color: var(--ink-2); }
.plan-free .trial::before { background: var(--ink-3); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.plan-free h3 { margin-top: calc(12px * 1.5 + 4px); }
/* Sections whose features are part of Tue Pro. */
.pro-tag { display: inline-block; vertical-align: .1em; margin-inline-start: 10px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--red); color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
/* The live list is the app itself: right-to-left in Arabic and Hebrew, like Tue there (the phone frame stays put). */
[dir="rtl"] .phone > .screen.app-screen { direction: rtl; }
[dir="rtl"] .app-screen .row + .row::before { left: 0; right: 10cqw; }
.pro-mini { margin-inline-start: 6px; padding: 1px 6px; border-radius: 999px; border: 1px solid currentColor; font-size: .68em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: .15em; opacity: .8; }

/* Countdowns: one iPad screenshot instead of two iPhones */
.feature-visual.bleed-r .cd-ipad { width: 135%; max-width: none; }
.feature-visual .cd-ipad + .legend { margin-top: 1.6em; }
@media (max-width: 900px) { .feature-visual.bleed-r .cd-ipad { width: 100%; } }

/* Apple Watch 46 mm (geen Apple-frame: kast in CSS). Scherm 416 × 496. */
.watch { position: relative; aspect-ratio: 470 / 560; border-radius: 27% / 23%; padding: 0;
  background: linear-gradient(145deg, #4a4a4e, #1d1d1f 55%, #0b0b0c);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 18px 34px rgba(0,0,0,.3); }
.watch::before { content: ""; position: absolute; right: -4.2%; top: 22%; width: 5%; height: 17%; border-radius: 0 30% 30% 0;
  background: linear-gradient(90deg, #2a2a2c, #5a5a5e); }
.watch::after { content: ""; position: absolute; right: -2%; top: 50%; width: 2.6%; height: 22%; border-radius: 0 40% 40% 0; background: #2a2a2c; }
.watch > .screen { position: absolute; left: 5.7%; top: 5.7%; width: 88.6%; height: 88.6%; margin: 0; padding: 0; border-radius: 22% / 18.5%; overflow: hidden; background: #000; }
.watch > .screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-visual .cd-watch { position: absolute; left: -6%; bottom: 40px; width: 26%; max-width: 190px; z-index: 4; }
.devices .dv-watch { position: absolute; left: 5%; top: 56%; width: 12%; z-index: 4; }
.watch-note { margin-top: 22px; }
@media (max-width: 900px) {
  .feature-visual .cd-watch { left: 0; width: 24%; }
  .devices .dv-watch { left: 2%; top: 60%; width: 13%; }
}

/* Footer: Licht / Donker / Auto. Segmentknop in de huisstijl: een wit blokje schuift naar de keuze. */
.theme-switch { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); padding: 3px;
  background: var(--pill); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.theme-switch::before { content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3);
  background: var(--card); border-radius: 999px; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.08);
  transition: transform .35s cubic-bezier(.3,1.3,.5,1); }
.theme-switch[data-active="dark"]::before { transform: translateX(100%); }
.theme-switch[data-active="auto"]::before { transform: translateX(200%); }
[dir="rtl"] .theme-switch::before { left: auto; right: 3px; }
[dir="rtl"] .theme-switch[data-active="dark"]::before { transform: translateX(-100%); }
[dir="rtl"] .theme-switch[data-active="auto"]::before { transform: translateX(-200%); }
.theme-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 500;
  border: 0; background: transparent; color: var(--ink-3); padding: 6px 14px; border-radius: 999px; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: color .2s ease; }
.theme-switch button svg { width: 15px; height: 15px; flex: none; }
.theme-switch button:hover { color: var(--ink-2); }
.theme-switch button[aria-pressed="true"] { color: var(--ink); }
.theme-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .theme-switch::before { transition: none; } }

/* Siri & Shortcuts page */
ul.phrases { list-style: none; padding: 0; margin: 14px 0; }
ul.phrases li { padding: 9px 0; border-bottom: 1px solid var(--line); }
ul.phrases q { white-space: nowrap; }
@media (max-width: 600px) { ul.phrases q { white-space: normal; } }
table.actions td:first-child { white-space: nowrap; }
@media (max-width: 700px) { table.actions td:first-child { white-space: normal; } }
p.caution { font-size: 14px; color: var(--st-orange); margin-top: -4px; }

/* Footer, built like the OMS footer (site-src/footer.py): text lines on the left, Light / Dark / Auto
   at the top right, the countries and languages below across the full width. Mobile: one column. */
footer.site-footer { padding: 32px 0 44px; font-size: 13.5px; color: var(--ink-2); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: start; }
.site-footer .wrap > p { grid-column: 1; margin: 0 0 7px; line-height: 1.55; max-width: 92ch; }
.site-footer .wrap > p:nth-of-type(2) { font-size: 12.5px; color: var(--ink-3); }
.site-footer a { color: var(--ink-2); }
.site-footer .wrap > p a:hover { color: var(--ink); text-decoration: underline; }
.site-footer a.yt { display: inline-flex; align-items: center; gap: 5px; vertical-align: baseline; }
.site-footer .theme-switch { grid-column: 2; grid-row: 1 / span 4; justify-self: end; margin: 0; }
.flag-ch { display: inline-block; width: 0.95em; height: 0.95em; vertical-align: -0.12em; margin-inline-end: 0.4em; }
.site-footer .langs { display: block; width: auto; grid-column: 1 / -1; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.site-footer .langs-label { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.site-footer .langs-group { border-bottom: 1px solid var(--line); }
.site-footer .langs-region { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px;
  cursor: pointer; list-style: none; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.site-footer .langs-region::-webkit-details-marker { display: none; }
.site-footer .langs-region::after { content: "+"; font-size: 18px; font-weight: 400; line-height: 1; }
.site-footer .langs-group[open] .langs-region { color: var(--ink); }
.site-footer .langs-group[open] .langs-region::after { content: "–"; }
.site-footer .langs-region:hover { color: var(--ink); }
.site-footer .langs-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 18px; padding: 4px 2px 16px; }
.site-footer .langs a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 5px 0;
  border: 0; border-bottom: 1px dotted transparent; border-radius: 0; background: none; color: var(--ink); font-size: 13px; line-height: 1.4; }
.site-footer .langs a:hover { border-bottom-color: var(--ink-3); background: none; }
.site-footer .langs-lang { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.site-footer .langs a[aria-current] { color: var(--red); font-weight: 600; background: none; border-bottom-color: transparent; }
.site-footer .langs a[aria-current] .langs-lang { color: var(--red); }
@media (max-width: 600px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer .theme-switch { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
  .site-footer .langs-row { grid-template-columns: 1fr 1fr; }
}
