/* =========================================================
   CCCCorners — landing styles
   Light / dark tokens, Apple-like type, dark-yellow accent
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f8f7f3;
  --surface: #ffffff;
  --surface-2: #f2f1ec;
  --text: #1d1d1f;
  --text-2: #55555a;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, 0.1);
  --line-soft: rgba(0, 0, 0, 0.06);
  --accent: #ecc342;          /* the light app icon */
  --accent-strong: #e0b024;
  --accent-ink: #8c6300;      /* accent used for text/links on light bg */
  --accent-icon: #d4a11e;     /* feature icons */
  --accent-soft: rgba(236, 195, 66, 0.16);
  --on-accent: #1d1d1f;
  --btn-bg: linear-gradient(180deg, #e0ad25 0%, #c4920f 100%);
  --btn-bg-hover: linear-gradient(180deg, #d4a01a 0%, #b4850a 100%);
  --btn-text: #ffffff;
  --btn-shadow: 0 6px 18px -8px rgba(170, 120, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
  --btn-text-shadow: 0 1px 1px rgba(120, 80, 0, .35);
  --star-empty: rgba(0, 0, 0, 0.16);
  --footer-bg: #f5f5f7;
  --shot-bg: #ffffff;
  --chip-k-bg: rgba(236, 195, 66, .26);
  --chip-k-border: rgba(212, 161, 30, .45);
  --chip-k-text: #7a5500;
  --icon-edge: #b98a1c;
  --icon-edge-back: #9c7210;
  --icon-shadow: rgba(170, 120, 0, .38);
  --header-bg: rgba(255, 255, 255, 0.72);
  --shadow-lg: 0 30px 60px -20px rgba(30, 25, 10, 0.25), 0 10px 25px -10px rgba(30, 25, 10, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(0, 0, 0, 0.05);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1080px;
  --max-wide: 1240px;
  --gutter: 22px;
  --get-w: 88px;     /* width of the theme switch in the top strip (desktop) */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0b;
    --bg-alt: #111113;
    --surface: #161618;
    --surface-2: #1d1d20;
    --text: #f5f5f7;
    --text-2: #a8a8ad;
    --text-3: #7c7c82;
    --line: rgba(255, 255, 255, 0.12);
    --line-soft: rgba(255, 255, 255, 0.07);
    --accent: #ecc342;
    --accent-strong: #f5d05a;
    --accent-ink: #f2c94c;
    --accent-icon: #ecc342;
    --accent-soft: rgba(236, 195, 66, 0.14);
    --header-bg: rgba(14, 14, 16, 0.72);
    --btn-bg: #ecc342;
    --btn-bg-hover: #f5d05a;
    --btn-text: #1d1d1f;
    --btn-shadow: 0 6px 18px -8px rgba(236, 195, 66, .45);
    --star-empty: rgba(255, 255, 255, 0.22);
    --footer-bg: #161618;
    --shot-bg: #1e1e1e;
    --chip-k-bg: rgba(236, 195, 66, .24);
    --chip-k-border: rgba(236, 195, 66, .55);
    --chip-k-text: #f6d872;
    --gloss-k: .45;
    --icon-edge: #262624;
    --icon-edge-back: #1a1a19;
    --icon-shadow: rgba(0, 0, 0, .7);
    --btn-text-shadow: none;
    --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 10px 25px -10px rgba(0, 0, 0, 0.6);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-alt: #111113;
  --surface: #161618;
  --surface-2: #1d1d20;
  --text: #f5f5f7;
  --text-2: #a8a8ad;
  --text-3: #7c7c82;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --accent: #ecc342;
  --accent-strong: #f5d05a;
  --accent-ink: #f2c94c;
  --accent-icon: #ecc342;
  --accent-soft: rgba(236, 195, 66, 0.14);
  --header-bg: rgba(14, 14, 16, 0.72);
  --btn-bg: #ecc342;
  --btn-bg-hover: #f5d05a;
  --btn-text: #1d1d1f;
  --btn-shadow: 0 6px 18px -8px rgba(236, 195, 66, .45);
  --star-empty: rgba(255, 255, 255, 0.22);
  --footer-bg: #161618;
  --shot-bg: #1e1e1e;
  --chip-k-bg: rgba(236, 195, 66, .24);
  --chip-k-border: rgba(236, 195, 66, .55);
  --chip-k-text: #f6d872;
  --gloss-k: .45;
  --icon-edge: #262624;
  --icon-edge-back: #1a1a19;
  --icon-shadow: rgba(0, 0, 0, .7);
  --btn-text-shadow: none;
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 10px 25px -10px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

/* Light/dark-only elements (icons) */
.only-dark { display: none !important; }
.icon-layers.only-light, .icon-layers.only-dark { width: clamp(96px, 11vw, 128px); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: inline-block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}
:root[data-theme="dark"] .only-dark { display: inline-block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* ---------- Base ---------- */
/* Safari can run transitions while the page is first painted (the header flashed for a moment):
   transitions are switched off until main.js removes .preload right after the first frames. */
.preload *, .preload *::before, .preload *::after { transition: none !important; }
html.restoring body { visibility: hidden; }   /* reload: don't paint the top of the page before the position is restored */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--max-wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); }
.eyebrow { display: block; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--accent-ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.section-title { font-size: clamp(38px, 5.6vw, 64px); }
.section-sub { margin-top: 18px; font-size: clamp(18px, 1.9vw, 22px); color: var(--text-2); line-height: 1.4; letter-spacing: -0.015em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  font-size: 17px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--btn-shadow); text-shadow: var(--btn-text-shadow, none); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { min-height: 52px; padding: 14px 30px; font-size: 19px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-more { font-size: 17px; font-weight: 400; color: var(--accent-ink); display: inline; }
.link-more::after { content: "›"; display: inline-block; text-decoration: none; font-size: 1.25em; line-height: 1; transform: translateY(1px); margin-left: 4px; transition: transform .2s; }
.link-more:hover::after { transform: translate(2px, 1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }

/* ---------- Top strip (by Bohdan K.) ---------- */
.topstrip { background: var(--bg-alt); border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--text-2); position: relative; z-index: 60; }
.topstrip .container-wide { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topstrip-right { display: flex; gap: 28px; align-items: center; font-size: 14px; letter-spacing: -0.01em; } /* = .nav gap and font */
.topstrip-right span { white-space: nowrap; }
@media (max-width: 640px) { .topstrip-right .hide-sm { display: none; } }
.theme-mini { display: inline-flex; width: var(--get-w); gap: 1px; padding: 2px; border-radius: 980px; background: var(--line-soft); }
.theme-mini button { display: grid; place-items: center; flex: 1; min-width: 0; height: 24px; padding: 0; border: 0; border-radius: 980px; background: transparent; color: var(--text-3); cursor: pointer; transition: color .15s, background-color .15s; }
.theme-mini button:hover { color: var(--text); }
.theme-mini button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .14); }
.theme-mini svg { width: 14px; height: 14px; }
.theme-cycle { display: none; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--line-soft); color: var(--text); cursor: pointer; }
.theme-cycle svg { width: 16px; height: 16px; }
@media (max-width: 359px) {           /* very narrow phones: one button that cycles Auto -> Light -> Dark */
  .topstrip .theme-mini { display: none; }
  .theme-cycle { display: grid; }
}
@media (max-width: 760px) {
  .topstrip-right { gap: 16px; }
  .theme-mini { width: 108px; }
  .theme-mini button { height: 26px; }
  .theme-mini svg { width: 15px; height: 15px; }
}

.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 14px; letter-spacing: -0.01em; color: var(--text-2); }
.dropdown-toggle:hover { color: var(--text); }
.dropdown-toggle svg { width: 9px; height: 9px; transition: transform .2s; }
.dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: -10px; min-width: 250px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding: 6px 10px 8px; }
.dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text); font-size: 14px; }
.dropdown-menu a:hover { background: var(--surface-2); text-decoration: none; }
.dropdown-menu img { width: 32px; height: 32px; border-radius: 8px; }
.dropdown-menu small { display: block; color: var(--text-3); font-size: 12px; }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: var(--header-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.site-header .container-wide { display: flex; align-items: center; justify-content: space-between; height: 54px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
/* home page: header logo + name fade in once the big hero logo has scrolled away */
.brand-reveal > * { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.brand-reveal { pointer-events: none; }
.brand-reveal.shown { pointer-events: auto; }
.brand-reveal.shown > * { opacity: 1; transform: none; }
.brand-reveal.shown > :nth-child(3) { transition-delay: .05s; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-2); font-size: 14px; letter-spacing: -0.01em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav a.btn, .nav a.btn:hover { color: var(--btn-text); }
.nav .btn { min-height: 32px; padding: 6px 16px; font-size: 14px; color: var(--btn-text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4.5px 0; transition: transform .25s, opacity .25s; }
.header-get-mobile { display: none; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-get-mobile { display: inline-flex; min-height: 30px; padding: 5px 14px; font-size: 14px; }
  .header-actions { display: flex; align-items: center; gap: 12px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav a { font-size: 19px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); }
  .nav .btn { display: none; }
  .site-header.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .site-header.menu-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
}
@media (min-width: 761px) { .header-actions { display: contents; } }

/* ---------- App icon + easter egg ---------- */
.app-icon { cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.app-icon.is-spinning { animation: icon-spin 1.6s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes icon-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .app-icon.is-spinning { animation-duration: 6s; } }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: clamp(28px, 2.7vw, 38px) 0 clamp(36px, 5vw, 60px); }
.icon-tilt { position: relative; display: block; width: fit-content; margin: 0 auto 26px; }
.icon-tilt-inner { position: relative; display: block; transform-style: preserve-3d; will-change: transform; }
/* layered icon: base + floating corner brackets (parallax) */
.icon-layers { position: relative; display: block; width: clamp(96px, 11vw, 128px); aspect-ratio: 1; }
.icon-layers img { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-user-drag: none; }
/* the untouched original sits on top at rest and fades out while tilting */
.icon-original { opacity: var(--oo, 1); }
.icon-brackets { transform: translate(var(--bx, 0px), var(--by, 0px)); filter: drop-shadow(var(--bsx, 0px) var(--bsy, 2.5px) var(--bsb, 3px) rgba(var(--bracket-shadow, 90, 60, 0), var(--bso, 0))); }
.icon-gloss { position: absolute; inset: 0; border-radius: 22.5%; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 25%), rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, 0) 70%); mix-blend-mode: soft-light; opacity: calc(var(--go, 0) * var(--gloss-k, 1)); }
/* soft shadow that shifts with the tilt */
.icon-shadow { position: absolute; left: 12%; right: 12%; top: 22%; bottom: -2%; border-radius: 30%; background: var(--icon-shadow); filter: blur(var(--sb, 14px)); transform: translate(var(--sx, 0px), var(--sy, 9px)); pointer-events: none; }
.icon-tilt-inner:has(.is-spinning) .icon-gloss { opacity: 0; }
.icon-tilt .hero-icon { margin: 0 auto; }
.hero-icon { width: clamp(96px, 11vw, 128px); height: auto; margin: 0 auto 26px; filter: drop-shadow(0 14px 22px rgba(160, 120, 0, .22)); }
.hero-name { font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.hero h1 { font-size: clamp(46px, 8vw, 77px); letter-spacing: -0.035em; line-height: 1.02; margin: 0 auto; }
.hero h1 .hl { background: linear-gradient(100deg, #c9920c 0%, #ecc342 45%, #d8a51d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 24px auto 0; max-width: 640px; font-size: clamp(19px, 2.1vw, 24px); color: var(--text-2); line-height: 1.38; letter-spacing: -0.018em; }
.hero .btn-row { margin-top: 34px; }
.hero-meta { margin-top: 26px; font-size: 14px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.hero-meta .stars { color: var(--accent-strong); letter-spacing: 1px; }
.hero-meta .meta-line { flex-basis: 100%; }
.star-part { background: linear-gradient(90deg, var(--accent-strong) 60%, var(--star-empty) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-meta a { color: inherit; }

/* ---------- MacBook showcase ---------- */
/* First screen of the home page: the MacBook fits the viewport under the header (38 px strip + 54 px header),
   then grows while scrolling down. It scales from its centre, so the section's padding leaves room for that. */
.showcase { padding: clamp(14px, 2.2vw, 28px) 0 clamp(56px, 8vw, 110px); overflow: clip; }
.macbook { position: relative; width: min(100%, 1180px, calc((100svh - 92px - clamp(14px, 2.2vw, 28px) - 24px) * 4340 / 2860)); margin: 0 auto; aspect-ratio: 4340 / 2860; transform-origin: 50% 50%; will-change: transform; }
/* The screen is slightly larger than the frame's opening (it tucks under the black bezel), so no
   sub-pixel seam can show the page background while the MacBook scales (seen as white flicker on iPhone). */
.macbook-screen { position: absolute; left: 9.85%; top: 10.45%; width: 80.3%; height: 79.1%; background: #000; overflow: hidden; }
.macbook-screen video { width: 100%; height: 100%; object-fit: cover; }
/* Seamless start: the poster sits under the video as a background; the video stays transparent until the
   browser has actually drawn its first frame, then fades in over the identical poster – no black flash. */
.macbook-screen, .video-window { background-size: cover; background-position: center; background-repeat: no-repeat; }
html:not(.no-js) video[data-autoplay] { opacity: 0; transition: opacity .25s ease; }
html:not(.no-js) video[data-autoplay].frame-ready { opacity: 1; }
.macbook-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
/* Where supported (Safari 26+, Chrome), the growth is a scroll-driven CSS animation run by the
   browser itself – smooth even during iPhone momentum scrolling. Otherwise main.js does it. */
@keyframes macbook-grow { from { transform: scale(1); } to { transform: scale(1.16); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .macbook {
      animation: macbook-grow linear both;
      animation-timing-function: cubic-bezier(.11, 0, .5, 0);  /* ease-in: starts gently from its first-screen size */
      animation-timeline: scroll(root block);
      animation-range: 0px 70vh;                                /* full size after scrolling 70% of the screen */
    }
  }
}
.showcase-caption { text-align: center; color: var(--text-3); font-size: 14px; margin-top: 22px; }

/* ---------- Quick facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.fact { background: var(--bg); padding: 26px 18px; text-align: center; }
.fact strong { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.fact span { display: block; color: var(--text-2); font-size: 14px; margin-top: 6px; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Statement / why ---------- */
#why { padding-top: clamp(56px, 7.5vw, 90px); }   /* follows the hero on the same background: same gap as between other same-colour blocks (~150 px) */
.statement { font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.16; max-width: 980px; margin: 0 auto; text-align: center; color: var(--text-3); }
.statement b { color: var(--text); font-weight: 600; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.why-card { background: var(--surface); border-radius: var(--radius); padding: 32px 28px 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.why-card .ico { width: 44px; height: 44px; color: var(--accent-icon); margin-bottom: 18px; }
.why-card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.why-card p { color: var(--text-2); font-size: 16px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Video tabs ---------- */
.tabs { display: flex; justify-content: center; margin-bottom: 30px; }
.tablist { display: inline-flex; padding: 4px; gap: 2px; background: var(--surface-2); border-radius: 980px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; padding: 9px 20px; border-radius: 980px; font-size: 15px; font-weight: 500; color: var(--text-2); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px var(--line); }
/* Sliding selection: main.js adds one pill behind the tabs and moves it to the selected tab */
.tablist { position: relative; }
.tab { position: relative; z-index: 1; }
.tab-indicator { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 980px; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px var(--line); pointer-events: none; transition: transform .4s cubic-bezier(.33, 1, .68, 1), width .4s cubic-bezier(.33, 1, .68, 1);   /* ease-out cubic, same as the strip scroll in main.js */ }
.tab-indicator.no-anim { transition: none; }
.tablist.has-indicator .tab[aria-selected="true"] { background: transparent; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .tab-indicator { transition: none; } }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.tabpanels { position: relative; }
/* Switching tabs: the video window swaps instantly (its first frame is already on screen) and only the
   text fades in. Animating the opacity of anything around a video makes Safari re-layer the video when the
   animation ends, which showed up as a one-frame flash. */
.tabpanels .tabpanel { transition: none; }
.tabpanels .tabpanel:not([hidden]) .tab-copy { animation: tab-copy-in .3s ease; }
@keyframes tab-copy-in { from { opacity: 0; transform: translateY(6px); } }
/* inactive tabs are not removed from rendering: they sit transparent under the active one, with their
   video already showing its first frame – switching is a cross-fade, no image→video swap (no flicker) */
.tabpanels .tabpanel[hidden] { display: grid; position: absolute; left: 0; right: 0; top: 0; opacity: 0 !important; pointer-events: none; transition: none !important; }
.video-window { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1920 / 1242; }
/* the video overlaps the window edge by 1px: iPhone Safari leaves a hairline gap at the rounded clip,
   where whatever lay underneath showed through as coloured or black lines */
.video-window video { position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); max-width: none; height: calc(100% + 2px); object-fit: cover; }
/* once the video has decoded a frame, the poster underneath is not needed any more */
.video-window.has-frame { background-image: none !important; }
.tab-copy h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 600; margin-bottom: 14px; }
.tab-copy p { color: var(--text-2); font-size: 17px; }
.tab-copy ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.tab-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; color: var(--text); }
.tab-copy li svg { width: 20px; height: 20px; color: var(--accent-icon); margin-top: 2px; }
@media (max-width: 900px) { .tabpanel { grid-template-columns: 1fr; } .tablist { justify-content: flex-start; } .tabs { justify-content: flex-start; } }

/* ---------- Feature icon grid ---------- */
.feature-grid { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 32px; max-width: 980px; }
.feature-grid li { display: flex; flex-direction: column; align-items: flex-start; }
.feature-grid svg { width: 52px; height: 52px; color: var(--accent-icon); margin-left: -3px; margin-bottom: 14px; }
.feature-grid strong { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.feature-grid span { font-size: 15px; color: var(--text-2); margin-top: 6px; line-height: 1.4; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } .feature-grid li { align-items: center; text-align: center; } .feature-grid svg { width: 44px; height: 44px; margin-left: 0; } .feature-grid strong { font-size: 17px; } }

/* ---------- Screenshot gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 36px); margin-top: clamp(70px, 9vw, 120px); }
.shot { margin: 0; }
.shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.shot-btn img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.shot-btn:hover img { transform: scale(1.025); }
.shot-btn::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat; opacity: 0; transition: opacity .2s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.shot-btn:hover::after, .shot-btn:focus-visible::after { opacity: 1; }
.shot figcaption { margin-top: 20px; }
.shot h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.shot p { color: var(--text-2); font-size: 16px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 60px 80px 90px; }
.lightbox.open { display: flex; animation: fade-in .2s ease; }
@keyframes fade-in { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); object-fit: contain; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.26); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 18px; top: 14px; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: #f5f5f7; font-size: 15px; padding: 0 20px; }
.lb-caption span { color: rgba(255,255,255,.55); margin-left: 10px; }
@media (max-width: 700px) { .lightbox { padding: 60px 12px 110px; } .lb-prev, .lb-next { top: auto; bottom: 56px; transform: none; } .lb-caption { bottom: 18px; } }

/* ---------- Reviews teaser ---------- */
.rating-hero { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.rating-big { font-size: clamp(64px, 9vw, 104px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.rating-side { text-align: left; }
.rating-side .stars { font-size: 26px; color: var(--accent-strong); letter-spacing: 3px; line-height: 1; }
.rating-side > span, .rating-side > a { display: block; color: var(--text-2); font-size: 15px; margin-top: 6px; }
.rating-link:hover { color: var(--text); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; }
.quotes .quote { margin: 0; }
.quote { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote .stars { color: var(--accent-strong); letter-spacing: 2px; font-size: 15px; }
.quote h3 { font-size: 19px; margin: 10px 0 8px; letter-spacing: -0.015em; }
.quote p { color: var(--text-2); font-size: 16px; flex: 1; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 13px; color: var(--text-3); }
.seen-on { margin-top: 44px; text-align: center; color: var(--text-2); font-size: 16px; }
.seen-on b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Pricing ---------- */
.pricing { text-align: center; }
.price-name { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; color: var(--text-2); }
.price { font-size: clamp(64px, 9vw, 90px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin: 10px 0 8px; }
.price sup { font-size: .42em; vertical-align: .95em; letter-spacing: 0; margin-right: 2px; }
.price-once { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.price-once em { font-style: normal; color: var(--accent-ink); }
.price-note { color: var(--text-2); font-size: clamp(17px, 1.8vw, 20px); max-width: 640px; margin: 16px auto 0; }
.pricing .facts { max-width: 860px; margin: 48px auto 0; }
.pricing .fact strong { font-size: clamp(22px, 2.3vw, 28px); }   /* smaller than the price above, so it stays the focus */
.pricing .btn-row { margin-top: 44px; }
.price-small { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.chips-title { margin: clamp(70px, 9vw, 110px) 0 32px; font-size: clamp(26px, 3vw, 36px); }
.chips-sub { color: var(--text-2); margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 1000px; margin: 0 auto; }
.chip { position: relative; font-size: 14px; padding: 7px 14px; border-radius: 980px; background: var(--surface); border: 1px solid var(--line); color: var(--text); white-space: nowrap; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.chip.k { background: var(--chip-k-bg); border-color: var(--chip-k-border); color: var(--chip-k-text); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  /* "lifts off the page": grows a little in place */
  .chip:hover { z-index: 1; transform: scale(1.07); }
}

/* ---------- Docs band ---------- */
.docs-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); }
/* PDF icon: the sheet's top-right corner is cut out of the yellow shape itself (clip-path), so no yellow
   edge can show around the folded corner; the shadow follows the shape (drop-shadow, not box-shadow). */
.docs-band .doc-ico { width: 64px; height: 76px; display: grid; place-items: center; color: #1d1d1f; font-weight: 700; font-size: 14px; letter-spacing: .04em; position: relative; isolation: isolate; filter: drop-shadow(0 8px 9px rgba(180,130,0,.28)); }
.docs-band .doc-ico::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 8px; background: linear-gradient(160deg, var(--accent) 0%, var(--accent-strong) 100%); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.docs-band .doc-ico::before { content: ""; position: absolute; right: 0; top: 0; width: 14px; height: 14px; background: rgba(0,0,0,.18); clip-path: polygon(0 0, 100% 100%, 0 100%); border-bottom-left-radius: 4px; }
.docs-band h3 { font-size: 22px; margin-bottom: 4px; }
.docs-band p { color: var(--text-2); font-size: 15px; }
@media (max-width: 700px) { .docs-band { grid-template-columns: auto 1fr; } .docs-band .btn { grid-column: 1 / -1; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-group { margin-top: 44px; }
.faq-group:first-child { margin-top: 0; }
.faq-group-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.018em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq .answer { padding: 0 44px 26px 0; color: var(--text-2); font-size: 17px; }
.faq .answer p + p, .faq .answer p + ul, .faq .answer ul + p, .faq .answer p + ol, .faq .answer ol + p { margin-top: 12px; }
.faq .answer ul, .faq .answer ol { padding-left: 20px; margin: 10px 0 0; }
.faq .answer li { margin: 6px 0; }
.faq .answer .faq-shot { display: block; width: 100%; max-width: 640px; height: auto; margin-top: 14px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0,0,0,.08); }
/* file paths: one per line, italic, no bullets; long paths may wrap anywhere on narrow screens */
.faq .answer ul.paths { list-style: none; padding-left: 0; margin-top: 14px; }
.faq .answer ul.paths li { font-style: italic; margin: 10px 0; overflow-wrap: anywhere; }
.faq .answer ul.paths b { font-style: normal; margin: 0 .6em; }
.faq .answer b { color: var(--text); font-weight: 600; }
.faq .answer table { border-collapse: collapse; margin-top: 12px; font-size: 15px; width: 100%; }
.faq .answer td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line-soft); }
.faq .answer td:last-child { text-align: right; color: var(--text); white-space: nowrap; }
.kbd { font-family: var(--font); font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }

/* ---------- Changelog ---------- */
.changelog-wrap { position: relative; max-width: 980px; margin: 0 auto; }
.changelog { overflow: hidden; transition: max-height .6s cubic-bezier(.2,.7,.2,1); }
.release { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.release:first-child { border-top: 0; padding-top: 0; }
.release-ver { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.release-date { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.release-latest { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-ink); padding: 3px 9px; border-radius: 980px; }
.release ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.release li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; font-size: 16px; color: var(--text); line-height: 1.45; }
.tag { align-self: start; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; margin-top: 3px; color: var(--text-2); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tag-new { color: #b78200; }
.tag-improved { color: #3478f6; }
.tag-fixed { color: #d9572b; }
:root[data-theme="dark"] .tag-new { color: #ecc342; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag-new { color: #ecc342; } }
.changelog-fade { position: absolute; left: 0; right: 0; bottom: 64px; height: 220px; background: linear-gradient(to bottom, transparent, var(--bg-alt) 88%); pointer-events: none; transition: opacity .4s; }
.changelog-more { display: flex; justify-content: center; margin-top: 18px; position: relative; }
.changelog-wrap.expanded .changelog-fade { opacity: 0; }
@media (max-width: 700px) {
  .release { grid-template-columns: 1fr; gap: 14px; }
  .release li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.section.final-cta { padding-bottom: clamp(36px, 4.5vw, 64px); } /* tight space above the footer animation */
.final-cta .hero-icon { margin-bottom: 22px; }
.final-cta h2 { font-size: clamp(38px, 5.6vw, 64px); max-width: 16ch; margin: 0 auto; }
.final-cta p { color: var(--text-2); font-size: clamp(18px, 2vw, 22px); margin: 16px auto 0; max-width: 620px; }
.final-cta .btn-row { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--footer-bg); border-top: 1px solid var(--line-soft); color: var(--text-2); font-size: 14px; }
.footer-art { position: relative; height: clamp(200px, 26vw, 320px); padding-bottom: 56px; box-sizing: content-box; background: var(--art-bg, var(--bg)); }
.footer-art canvas { width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 78%, transparent 100%); }
.page-reviews .footer-art, .page-compare .footer-art { --art-bg: var(--bg-alt); }   /* same background as the page's last (tinted) section */
.footer-body { padding: 26px 0 34px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { max-width: 290px; line-height: 1.5; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-col img { width: 18px; height: 18px; border-radius: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 12.5px; color: var(--text-3); }
.footer-bottom p { line-height: 1.6; }
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 980px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.theme-switch button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 6px 12px; border-radius: 980px; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.theme-switch button svg { width: 14px; height: 14px; }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reviews page ---------- */
.page-hero { text-align: center; padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { font-size: clamp(46px, 7.5vw, 88px); letter-spacing: -0.035em; max-width: 14ch; margin: 0 auto; }
.page-hero p { margin: 20px auto 0; max-width: 620px; font-size: clamp(19px, 2vw, 23px); color: var(--text-2); }
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.yt-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.yt-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.yt-card div { padding: 18px 22px 22px; }
.yt-card h3 { font-size: 19px; letter-spacing: -0.015em; }
.yt-card p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) { .yt-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
/* screenshots keep only their own App Store Connect card border (outside of it is transparent) */
.asc-overall { max-width: 760px; margin: 0 auto 28px; padding: 0 10px; }
.asc-overall img { width: 100%; height: auto; }
.masonry { display: flex; gap: 20px; align-items: flex-start; }
.masonry-col { flex: 1; display: grid; gap: 20px; min-width: 0; }
.masonry-col:nth-child(2) { margin-top: 70px; }
.review-shot { margin: 0; }
.review-shot img, .asc-overall img { width: 100%; height: auto; vertical-align: top; }
@media (max-width: 700px) { .masonry { flex-direction: column; } .masonry-col:nth-child(2) { margin-top: 0; } }
.section-note { text-align: center; color: var(--text-3); font-size: 14px; margin-top: 28px; }

/* ---------- Compare page ---------- */
.page-compare #verdict { padding: clamp(56px, 7vw, 98px) 0; }
@media (min-width: 861px) {   /* desktop: the CCCCorners card sits in the middle (on phones it stays last) */
  .cmp-verdict .cmp-win { order: 1; }
  .cmp-verdict > :nth-child(2) { order: 2; }
}   /* just the three cards: less air than a full section */
.cmp-verdict { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cmp-verdict .cmp-win { border-color: var(--chip-k-border); box-shadow: 0 0 0 1px var(--chip-k-border), var(--shadow-sm); }
.cmp-verdict .cmp-win h3 { color: var(--accent-ink); }
@media (max-width: 860px) { .cmp-verdict { grid-template-columns: 1fr; } }
.cmp-legend { display: inline-flex; align-items: center; gap: 8px; margin: 0 12px; font-size: 16px; white-space: nowrap; }
.cmp-legend .cmp-yes { width: 18px; height: 18px; }
.cmp-group { max-width: 980px; margin: 0 auto clamp(44px, 6vw, 72px); }
.cmp-title { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.025em; margin-bottom: 14px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 16px; }
.cmp th, .cmp td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cmp thead th { position: sticky; top: 54px; z-index: 2; background: var(--bg); font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); border-bottom: 1px solid var(--line); padding-top: 12px; padding-bottom: 12px; }
.cmp .cmp-feat { text-align: left; width: 46%; font-weight: 400; color: var(--text); line-height: 1.35; }
.cmp tbody .cmp-feat small { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.cmp .col-macos, .cmp .col-super, .cmp .col-ccc { text-align: center; }
.cmp .col-ccc { background: var(--accent-soft); }
.cmp thead .col-ccc { color: var(--accent-ink); background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--bg); border-radius: 12px 12px 0 0; }
.cmp tbody tr:last-child .col-ccc { border-radius: 0 0 12px 12px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp-yes { width: 22px; height: 22px; margin: 0 auto; color: var(--text-2); }
.cmp .col-ccc .cmp-yes { color: var(--accent-ink); }
.cmp-legend .cmp-yes { color: var(--accent-ink); margin: 0; }
.cmp-no { color: var(--text-3); font-size: 20px; line-height: 1; }
.cmp-detail, .cmp-text { display: block; font-size: 13px; line-height: 1.3; color: var(--text-2); }
.cmp-detail { margin-top: 4px; }
.cmp .col-ccc .cmp-detail, .cmp .col-ccc .cmp-text { color: var(--text); }
.cmp-short { display: none; }
@media (max-width: 700px) {
  .cmp { font-size: 14.5px; }
  .cmp th, .cmp td { padding: 12px 5px; }
  .cmp .cmp-feat { width: 40%; padding-left: 0; }
  .cmp thead th { font-size: 11.5px; letter-spacing: 0; }
  .cmp-full { display: none; }
  .cmp-short { display: inline; }
  .cmp-detail, .cmp-text { font-size: 11.5px; overflow-wrap: anywhere; }
  .cmp-yes { width: 19px; height: 19px; }
  .cmp-legend { margin: 4px 8px; font-size: 15px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Easter egg: spinning icons ---------- */
.egg-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 120; }
.egg { position: absolute; top: 50%; width: clamp(72px, 9vw, 128px); height: auto; margin-top: calc(clamp(72px, 9vw, 128px) / -2); pointer-events: auto; opacity: 0; transition: opacity .5s ease; filter: drop-shadow(0 14px 22px rgba(160, 120, 0, .28)); }
.egg-l { left: clamp(10px, 5vw, 80px); }
.egg-r { right: clamp(10px, 5vw, 80px); }
.egg-wrap.on .egg { opacity: 1; }
