/* Video Compressor: Audio & Photo — site styles.
   Colours are the app's own tokens (lib/ui/theme/app_theme.dart), so the site
   and the app read as one product. Light is the default; dark only when the
   visitor picks it with the toggle, which is remembered. */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F4F5F8;
  --surface: #FFFFFF;
  --surface-2: #EEF0F4;
  --border: #E2E5EB;
  --text: #12141A;
  --text-2: #5B6271;
  --text-3: #666D7C;
  --accent: #367C00;
  --on-accent: #FFFFFF;
  --accent-text: #2F7400;
  --accent-wash: #EDF6E2;
  --video: #3B5BE0;
  --video-wash: #EBEFFE;
  --audio: #C4500E;
  --audio-wash: #FCEDE4;
  --image: #0A7F5F;
  --image-wash: #E6F5EF;
  --pro: #8A5F00;
  --pro-fill: #FFC233;
  --on-pro: #1A1300;
  --pro-wash: #FFF6DF;
  --glass: rgba(244, 245, 248, .82);
  --shadow: 0 30px 70px -34px rgba(18, 20, 26, .35);
  --glow: radial-gradient(60% 60% at 50% 40%, rgba(54, 124, 0, .10), transparent 70%);
  --phone-frame: linear-gradient(160deg, #ffffff, #e3e6ec);

  --heading: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --wide: 1160px;
  --measure: 70ch;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0D0E12; --surface: #16181F; --surface-2: #1F222B; --border: #2A2E39;
  --text: #F3F4F7; --text-2: #9097A6; --text-3: #838998;
  --accent: #C8F560; --on-accent: #0D0E12; --accent-text: #C8F560; --accent-wash: #1A2114;
  --video: #6A8DFF; --video-wash: #181D2E; --audio: #FF8A4C; --audio-wash: #2A1D16;
  --image: #3DDBB0; --image-wash: #1A2C2E;
  --pro: #FFC94D; --pro-fill: #FFC94D; --on-pro: #0D0E12; --pro-wash: #221D12;
  --glass: rgba(13, 14, 18, .78);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --glow: radial-gradient(60% 60% at 50% 40%, rgba(200, 245, 96, .16), transparent 70%);
  --phone-frame: linear-gradient(160deg, #2b2f3a, #121419);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Line icons from the inline sprite each page carries. */
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--heading); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; padding: 0;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 18px; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-actions { margin-left: auto; }
  .nav .btn-sm { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--heading); font-weight: 700; font-size: 17px; letter-spacing: -.01em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); text-decoration: none; }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badges a { display: block; border-radius: 10px; }
.badges .apple img { height: 52px; width: auto; }
/* Google's artwork carries its own clear space; this lines its visible edge up
   with Apple's badge without altering the artwork. */
.badges .google { margin: -8px -6px; }
.badges .google img { height: 77px; width: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 700px; background: var(--glow); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--accent-wash); color: var(--accent-text);
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); margin-bottom: 20px; }
.hero h1 .hl { color: var(--accent-text); }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 34em; margin-bottom: 30px; }
.hero .badges { margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--text-2); font-size: 14px; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--accent-text); flex: none; }

.phone {
  position: relative;
  width: min(340px, 78vw);
  margin: 0 auto;
  border-radius: 46px;
  padding: 10px;
  background: var(--phone-frame);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--border);
}
.phone img { border-radius: 37px; width: 100%; height: auto; }
.hero-visual { position: relative; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); font-size: 13px; color: var(--text-2); white-space: nowrap;
}
.float-chip strong { display: block; color: var(--text); font-family: var(--heading); font-size: 17px; line-height: 1.1; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float-chip .ic svg { width: 18px; height: 18px; }
.chip-a { left: -4%; top: 18%; }
.chip-a .ic { background: var(--accent-wash); color: var(--accent-text); }
.chip-b { right: -2%; bottom: 16%; }
.chip-b .ic { background: var(--video-wash); color: var(--video); }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .badges, .trust { justify-content: center; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}
@media (max-width: 420px) { .float-chip { display: none; } }

/* ---------- sections ---------- */
section { padding: 80px 0; scroll-margin-top: 70px; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 18px; margin: 0; }
.kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.stat { background: var(--surface); padding: 22px 20px; text-align: center; }
.stat strong { display: block; font-family: var(--heading); font-size: 30px; letter-spacing: -.02em; }
.stat span { color: var(--text-2); font-size: 14px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat strong { font-size: 24px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.step .num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--heading); font-weight: 700; font-size: 20px; margin-bottom: 20px;
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--text-2); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* media type cards */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type { border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--border); background: var(--surface); }
.type .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.type .ic svg { width: 26px; height: 26px; }
.type h3 { font-size: 26px; margin-bottom: 8px; }
.type p { color: var(--text-2); margin-bottom: 18px; }
.type.video { background: var(--video-wash); border-color: color-mix(in srgb, var(--video) 30%, transparent); }
.type.video .ic { background: color-mix(in srgb, var(--video) 22%, transparent); color: var(--video); }
.type.audio { background: var(--audio-wash); border-color: color-mix(in srgb, var(--audio) 30%, transparent); }
.type.audio .ic { background: color-mix(in srgb, var(--audio) 22%, transparent); color: var(--audio); }
.type.image { background: var(--image-wash); border-color: color-mix(in srgb, var(--image) 30%, transparent); }
.type.image .ic { background: color-mix(in srgb, var(--image) 22%, transparent); color: var(--image); }
.formats { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.formats li { font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--bg); color: var(--text-2); border: 1px solid var(--border); }
@media (max-width: 900px) { .types { grid-template-columns: 1fr; } }

/* feature rows (image + copy, alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature:nth-child(even) .feature-visual { order: 2; }
.feature-visual { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px 20px 0; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; height: 480px; background-image: var(--glow); }
.feature-visual img { width: min(300px, 80%); border-radius: 28px 28px 0 0; box-shadow: var(--shadow); }
.feature h3 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.feature p { color: var(--text-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; margin-top: 2px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature:nth-child(even) .feature-visual { order: 0; }
}

/* privacy band */
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 24px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--border); }
.pillar svg { width: 26px; height: 26px; color: var(--accent-text); margin-bottom: 16px; }
.pillar h3 { font-size: 19px; margin-bottom: 8px; }
.pillar p { color: var(--text-2); margin: 0; font-size: 15px; }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* screenshot rail */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 24px; margin: 0 -20px; scrollbar-width: thin; }
.rail figure { flex: none; width: 240px; margin: 0; scroll-snap-align: center; }
.rail img { border-radius: 26px; border: 1px solid var(--border); width: 100%; height: auto; }
.rail figcaption { text-align: center; color: var(--text-2); font-size: 14px; margin-top: 12px; }

/* pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { border-radius: var(--r-lg); padding: 32px; background: var(--surface); border: 1px solid var(--border); }
.plan.pro { background: var(--pro-wash); border-color: color-mix(in srgb, var(--pro-fill) 45%, transparent); }
.plan h3 { font-size: 26px; display: flex; align-items: center; gap: 10px; }
.plan .sub { color: var(--text-2); margin: 6px 0 22px; }
.plan .tag { font-family: var(--body); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--pro-fill); color: var(--on-pro); letter-spacing: .02em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--text-3); }
.plan.pro li svg { color: var(--pro); }
.fine { color: var(--text-3); font-size: 13.5px; text-align: center; max-width: 720px; margin: 26px auto 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-family: var(--heading); font-weight: 500; font-size: 18px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* cta */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 56px 32px; text-align: center;
  background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.cta h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 12px; }
.cta p { color: var(--text-2); font-size: 18px; margin-bottom: 28px; }
.cta .badges { justify-content: center; }
.cta img.app-icon { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 22px; box-shadow: var(--shadow); }

/* ---------- document pages (privacy, terms, support) ---------- */
.page-head { padding-top: 64px; padding-bottom: 36px; position: relative; }
.page-head::before { content: ""; position: absolute; inset: -120px 0 auto; height: 500px; background: var(--glow); pointer-events: none; z-index: -1; }
.page-head h1 { font-size: clamp(36px, 5.6vw, 58px); margin-bottom: 14px; }
.page-head p { color: var(--text-2); font-size: 18px; max-width: 40em; margin: 0; }
.meta { color: var(--text-3); font-size: 14px; margin-top: 16px !important; }

.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-bottom: 80px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 14px; }
.toc strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text-2); text-decoration: none; }
.toc a:hover, .toc a.active { background: var(--surface); color: var(--text); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } .toc { display: none; } }

.prose { max-width: var(--measure); min-width: 0; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--text-3); }
.summary-box { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-md); padding: 22px 24px; margin: 0 0 32px; }
.summary-box h2 { margin: 0 0 12px !important; font-size: 20px; }
.summary-box ul { margin: 0; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: var(--r-sm); }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--surface); font-weight: 600; color: var(--text); }
.prose td { color: var(--text-2); }
.prose tr:last-child td { border-bottom: 0; }

/* support */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.support-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; }
.support-card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-text); margin-bottom: 16px; }
.support-card .ic svg { width: 22px; height: 22px; }
.support-card h2 { font-size: 20px; margin-bottom: 8px; }
.support-card p { color: var(--text-2); font-size: 15px; flex: 1; }
.support-card .row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.search { position: relative; max-width: 820px; margin: 0 auto 22px; }
.search input {
  width: 100%; height: 54px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px; padding: 0 20px 0 50px;
}
.search input::placeholder { color: var(--text-3); }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-3); }
.faq-group { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 22px 0 4px 4px; font-family: var(--body); font-weight: 600; }
.faq-group:first-child { margin-top: 0; }
.no-results { text-align: center; color: var(--text-2); display: none; }
.checklist { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; max-width: 820px; margin: 56px auto 0; }
.checklist h2 { font-size: 22px; margin-bottom: 12px; }
.checklist ul { color: var(--text-2); margin: 0 0 16px; padding-left: 22px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all .2s; pointer-events: none; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; color: var(--text-2); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h2 { font-family: var(--body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-2); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .brand { margin-bottom: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.use .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-text); margin-bottom: 16px; }
.use .ic svg { width: 22px; height: 22px; }
.use h3 { font-size: 19px; margin-bottom: 8px; }
.use p { color: var(--text-2); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

.feature-list { margin-top: 56px; }

/* ---------- platform links ---------- */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
.platform { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); color: var(--text-2); text-decoration: none; font-size: 15px; transition: border-color .15s, transform .15s; }
.platform:hover { border-color: var(--accent); transform: translateY(-1px); }
.platform strong { display: block; color: var(--text); font-family: var(--heading); font-size: 19px; letter-spacing: -.01em; margin-bottom: 4px; }
.platform .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-text); }
.platform .ic svg { width: 24px; height: 24px; }
.platform .go { flex: none; width: 20px; height: 20px; margin-left: auto; color: var(--text-3); }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 14px; color: var(--text-3); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* ---------- platform pages ---------- */
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin-top: 28px; }
.spec div { background: var(--surface); padding: 16px 18px; }
.spec dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.spec dd { margin: 0; font-family: var(--heading); font-weight: 500; font-size: 16px; }
@media (max-width: 760px) { .spec { grid-template-columns: 1fr 1fr; } }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; max-width: var(--measure); }
.steps-list li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); color: var(--text-2); }
.steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-family: var(--heading); font-weight: 700; }
.steps-list strong { color: var(--text); }
.prose .steps-list { padding-left: 0; max-width: none; }
.prose .steps-list li { margin-bottom: 0; }

/* Every screenshot is shown twice, light and dark side by side, so the page
   itself says the app has both themes -- whichever theme the page is in. */
.phone-pair { display: flex; justify-content: center; align-items: flex-start; }
.phone-pair .phone { width: min(290px, 48vw); margin: 0; flex: none; }
.phone-pair .phone:first-child { position: relative; z-index: 1; }
.phone-pair .phone + .phone { margin: 56px 0 0 -96px; }
@media (max-width: 900px) { .phone-pair .phone + .phone { margin: 36px 0 0 -12vw; } }
.hero-visual .float-chip { z-index: 2; }
.theme-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 18px 0 0; color: var(--text-2); font-size: 14px; font-weight: 600;
}
.theme-note .swatch {
  width: 16px; height: 16px; border-radius: 50%; margin-right: 4px;
  background: linear-gradient(90deg, #F4F6F5 50%, #0E1113 50%);
  box-shadow: 0 0 0 1px var(--text-3);
}
.feature-visual { gap: 14px; padding-left: 16px; padding-right: 16px; }
.feature-visual img { width: min(220px, 46%); }
.feature-visual img + img { margin-top: 36px; }
