/* FileX landing page — built from scratch with ui-ux-pro-max.
   Style: Neubrutalism (bold ink outlines, flat pop colors, hard offset shadows, no gradients).
   Palette: trust blue #2563EB (brand) + orange CTA #F97316 with black text (7.9:1) + yellow / mint / pink highlights.
   Type: Outfit (headlines) + Work Sans (body). Pattern: Hero + Features + CTA, CTA in the hero and at the bottom.
   Only index.html uses this file; the other pages keep site.css. Class names match what site.js builds. */

:root {
  --paper: #FFF8E7;
  --paper-2: #FFEFC7;
  --card: #FFFFFF;
  --ink: #141414;
  --muted: #3D3A33;
  --line: #141414;
  --blue: #2563EB;
  --on-blue: #FFFFFF;
  --yellow: #FFD43B;
  --mint: #7FE0C2;
  --pink: #FF9EBB;
  --cta: #F97316;
  --on-cta: #141414;
  --good: #157F3D;
  --bad: #B42318;
  --warn: #C2410C;
  --shadow: 4px 4px 0 var(--line);
  --shadow-lg: 8px 8px 0 var(--line);
  --r: 14px;
  --r-lg: 22px;
  --b: 3px solid var(--line);
  --f-head: "Outfit", "Arial Black", system-ui, sans-serif;
  --f-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --f-pdf: #E5352B; --f-img: #EA7A0C; --f-md: #7A4FE0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141414;
    --paper-2: #1C1B18;
    --card: #1F1E1B;
    --ink: #F5F0E6;
    --muted: #D6D0C2;
    --line: #F5F0E6;
    --good: #5EE38F;
    --bad: #FF8A80;
    --warn: #FFB020;
    color-scheme: dark;
  }
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); margin: 0; text-wrap: balance; }
h1 { font-weight: 900; line-height: .98; letter-spacing: -0.035em; }
h2 { font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; font-size: clamp(32px, 5vw, 58px); }
h3 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
mark { background: var(--yellow); color: #141414; padding: 0 .14em; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: #8AB4FF; } }
.wrap { width: min(1200px, 100% - var(--gutter) - var(--gutter-r)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border: var(--b); border-radius: var(--r); background: var(--yellow); color: #141414; font-weight: 700; text-decoration: none; transition: top 150ms ease; }
.skip:focus { top: 12px; }
#top { scroll-margin-top: 90px; }
kbd { font: 700 13px var(--f-mono); padding: 2px 8px; border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 8px; background: var(--card); white-space: nowrap; }

/* ───────── Buttons: they press down into their shadow ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border: var(--b); border-radius: var(--r); box-shadow: var(--shadow); background: var(--card); color: var(--ink);
  font: 700 17px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), background-color 150ms ease; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--line); transition-duration: 60ms; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); } }
.btn-cta { background: var(--cta); color: var(--on-cta); }
.btn-plain { background: var(--card); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 19px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: 3px 3px 0 var(--line); }

/* ───────── Launch ribbon ───────── */
.offer-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 14px; padding: 10px var(--gutter-r) 14px var(--gutter);
  background: var(--yellow); color: #141414; border-bottom: var(--b); font-size: 15px; text-align: center; }
.offer-bar[hidden] { display: none; }
.offer-bar b { font-weight: 700; }
.offer-bar a { color: #141414; font-weight: 700; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.offer-bar a::after { content: " →"; white-space: pre; }
.offer-bar .dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #157F3D; border: 2px solid #141414; transform: translateY(-1px); }
.offer-line { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(20, 20, 20, .15); opacity: 0; transition: opacity 300ms ease; }
.offer-line.on { opacity: 1; }
.offer-line i { display: block; height: 100%; width: 0; background: #141414; transition: width 900ms var(--ease); }
.offer-line.low i { background: #B42318; }

/* ───────── Nav ───────── */
.nav { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: var(--b); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; width: min(1200px, 100% - var(--gutter) - var(--gutter-r)); margin-inline: auto; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 900 24px var(--f-head); letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--line); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15.5px; transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { background: var(--paper-2); } }
.nav-toggle { display: none; width: 46px; height: 46px; border: var(--b); border-radius: 12px; background: var(--card); box-shadow: 3px 3px 0 var(--line); cursor: pointer; position: relative; flex: none; }
.nav-toggle:active { transform: translate(3px, 3px); box-shadow: none; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 3px; border-radius: 2px; background: var(--ink); transition: transform 200ms var(--ease), top 200ms var(--ease); }
.nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.nav-sheet { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 10px var(--gutter-r) 18px var(--gutter); background: var(--paper); border-bottom: var(--b);
  opacity: 0; transform: translateY(-8px); transition: opacity 180ms ease, transform 200ms var(--ease); }
.nav-sheet.open { opacity: 1; transform: none; }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { display: flex; align-items: center; min-height: 54px; font: 800 24px var(--f-head); text-decoration: none; border-bottom: 2px solid var(--line); }
.nav-sheet a:last-child { border-bottom: 0; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .js .nav-toggle { display: block; }
  .nav .btn { margin-left: auto; }
  .nav-in { gap: 12px; height: 66px; }
}
@media (min-width: 901px) { .nav-sheet { display: none; } }

/* ───────── Hero ───────── */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 104px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; min-height: 40px; border: var(--b); border-radius: 999px; background: var(--card); box-shadow: 3px 3px 0 var(--line); text-decoration: none; font-weight: 600; font-size: 15px; }
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--blue); color: var(--on-blue); font-size: 13px; }
.pill span::after { content: " →"; }
.hero h1 { font-size: clamp(46px, 7.2vw, 100px); margin-top: 22px; }
.hero h1 mark { display: inline; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--muted); max-width: 36em; }
.lead b { color: var(--ink); font-weight: 700; }
.hero .lead { margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 15.5px; color: var(--muted); max-width: 36em; }
.hero-note b { color: var(--ink); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14.5px; font-weight: 600; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) center / 11px no-repeat; border: 2px solid #141414;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }

/* Launch meters */
.meter { margin-top: 20px; max-width: 460px; }
.meter[hidden] { display: none; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 14.5px; }
.meter-top b { font-weight: 700; font-variant-numeric: tabular-nums; }
.meter-top span { font-weight: 700; white-space: nowrap; }
.meter-bar { height: 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 0; background: var(--blue); border-right: 2px solid var(--line); transition: width 900ms var(--ease); }
.meter.low .meter-bar i { background: var(--cta); }
.meter.low .meter-top span { color: var(--warn); }

/* Hero art: the demo window with stickers */
.hero-art { position: relative; padding: 18px 10px 10px 0; }
.sticker { position: absolute; z-index: 3; padding: 8px 14px; border: var(--b); border-radius: 12px; box-shadow: 3px 3px 0 #141414; font: 800 16px var(--f-head); color: #141414; letter-spacing: -0.01em; pointer-events: none; }
.s-yellow { background: var(--yellow); top: -6px; right: 6%; transform: rotate(6deg); }
.s-pink { background: var(--pink); bottom: -14px; left: -12px; transform: rotate(-5deg); }
@media (prefers-color-scheme: dark) { .sticker { border-color: #141414; } }
@media (max-width: 520px) { .s-pink { left: 4px; } }

/* ───────── The ring demo ───────── */
.demo { position: relative; border: var(--b); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; user-select: none; -webkit-user-select: none; }
.demo-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-bottom: var(--b); background: var(--paper-2); }
.demo-bar i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #141414; }
.demo-bar i:nth-child(1) { background: #FF5F57; } .demo-bar i:nth-child(2) { background: #FEBC2E; } .demo-bar i:nth-child(3) { background: #28C840; }
.demo-bar h2 { margin-left: 8px; font: 800 15px var(--f-head); letter-spacing: 0; text-transform: uppercase; }
#demo-hint { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); }
.demo-body { display: grid; gap: 14px; padding: clamp(16px, 2.6vw, 26px); }
.files { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { --c: var(--f-img); display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 6px 14px 6px 6px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink);
  font: 600 15px var(--f-body); cursor: grab; touch-action: none; box-shadow: 3px 3px 0 var(--line); transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background-color 150ms ease; }
.chip:active { cursor: grabbing; transform: translate(3px, 3px); box-shadow: none; }
.chip[aria-pressed="true"] { background: var(--yellow); color: #141414; }
.chip .ext { display: grid; place-items: center; min-width: 40px; height: 32px; padding-inline: 6px; border: 2px solid #141414; border-radius: 8px; background: var(--c); color: #fff; font: 800 11.5px var(--f-mono); }
.chip.is-dragging { opacity: .35; }
.ghost { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; will-change: transform; }
.ghost .chip { background: var(--yellow); color: #141414; box-shadow: 6px 6px 0 #141414; transform: rotate(-3deg); }
.ring-stage { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; touch-action: none; }
.ring { width: 100%; height: 100%; display: block; overflow: visible; }
.ring .slice { cursor: pointer; outline: none; }
.ring .slice path { fill: var(--paper-2); stroke: var(--line); stroke-width: 3; transition: fill 120ms ease, transform 200ms var(--ease); transform-origin: 200px 200px; }
.ring .slice text { font: 800 17px var(--f-head); fill: var(--ink); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.ring .slice.is-over path, .ring .slice:focus-visible path, .ring .slice.is-chosen path { fill: var(--blue); }
.ring .slice.is-over path, .ring .slice:focus-visible path { transform: scale(1.04); }
.ring .slice.is-over text, .ring .slice:focus-visible text, .ring .slice.is-chosen text { fill: #fff; }
@media (hover: hover) and (pointer: fine) { .ring .slice:hover path { fill: var(--yellow); transform: scale(1.025); } .ring .slice:hover text { fill: #141414; } .ring .slice.is-chosen:hover path { fill: var(--blue); } .ring .slice.is-chosen:hover text { fill: #fff; } }
.ring .track { fill: none; stroke: var(--paper-2); stroke-width: 10; }
.ring .progress { fill: none; stroke: var(--blue); stroke-width: 10; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 200px 200px; stroke-dasharray: 440; stroke-dashoffset: 440; }
.ring .center-hint { font: 700 15px var(--f-body); fill: var(--muted); text-anchor: middle; }
.ring .center-big { font: 900 40px var(--f-head); fill: var(--ink); text-anchor: middle; }
.ring .center-small { font: 600 12.5px var(--f-mono); fill: var(--muted); text-anchor: middle; }
.ring .tick { fill: none; stroke: var(--good); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; }
.ring-stage.is-done .tick { animation: draw 360ms var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ring-swap { transition: opacity 140ms ease; }
.ring-swap.is-out { opacity: 0; }
.out { display: grid; gap: 8px; min-height: 52px; }
.out-empty { padding: 12px 14px; border: 2px dashed var(--line); border-radius: 12px; font-size: 14.5px; color: var(--muted); }
.out-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--mint); color: #141414; font: 600 13.5px var(--f-mono); animation: pop 260ms var(--ease) backwards; }
.out-line b { font-weight: 800; }
.out-line .where { margin-left: auto; font: 700 13px var(--f-body); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.demo-safe { font-size: 13.5px; color: var(--muted); }

/* ───────── Format marquee ───────── */
.band { background: #141414; color: var(--yellow); border-block: var(--b); padding-block: 14px 10px; }
@media (prefers-color-scheme: dark) { .band { background: var(--yellow); color: #141414; border-color: #141414; } }
.ticker { overflow: hidden; }
.ticker-row { display: flex; gap: 34px; width: max-content; animation: slide 60s linear infinite; }
.ticker-row span { font: 800 26px var(--f-head); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker-row span::after { content: "✦"; margin-left: 34px; font-size: .7em; vertical-align: .15em; }
@keyframes slide { to { transform: translateX(-50%); } }
.ticker-wrap.paused .ticker-row { animation-play-state: paused; }
.ticker-pause { display: block; margin: 8px auto 0; min-height: 36px; padding: 0 14px; border: 2px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 600 13px var(--f-body); cursor: pointer; }
@media (pointer: coarse) { .ticker-pause { min-height: 44px; } }

/* ───────── Sections ───────── */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.sec-tint { background: var(--paper-2); border-block: var(--b); }
.sec-head { max-width: 48rem; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-top: 18px; }
.sec-head.center .lead { margin-inline: auto; }
.kicker { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); font: 800 13px var(--f-head); text-transform: uppercase; letter-spacing: .08em; }
.fine { margin-top: 22px; font-size: 14px; color: var(--muted); }
.fine.center { text-align: center; max-width: 60em; margin-inline: auto; }

/* Colored blocks (always dark text, also in dark mode) */
.c-yellow { background: var(--yellow); color: #141414; }
.c-mint { background: var(--mint); color: #141414; }
.c-pink { background: var(--pink); color: #141414; }
.c-blue { background: var(--blue); color: #FFFFFF; }
.c-ink { background: #141414; color: #FFF8E7; }
@media (prefers-color-scheme: dark) { .c-ink { background: #2A2926; } }
.c-yellow, .c-mint, .c-pink { --muted: #2E2B25; }
.c-blue, .c-ink { --muted: #EDE8DC; }

/* Numbers */
.numbers { padding-block: clamp(48px, 6vw, 72px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { display: grid; gap: 2px; padding: 22px 24px; border: var(--b); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.stat b { font: 900 clamp(44px, 5.4vw, 72px)/1 var(--f-head); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat span { font-weight: 600; font-size: 16px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Problem vs fix */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 800px) { .vs { grid-template-columns: minmax(0, 1fr); } }
.vs-card { padding: clamp(24px, 3.4vw, 40px); border: var(--b); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--card); }
.vs-card.us { background: var(--blue); color: #fff; }
.vs-tag { font: 800 13px var(--f-head); text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.vs-card h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; margin: 6px 0 20px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vs-card li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 17px; font-weight: 500; }
.vs-card li::before { content: ""; width: 24px; height: 24px; border: 2px solid currentColor; border-radius: 50%; background: center / 12px no-repeat; }
.vs-card.them li::before { background-color: #FFE1DE; border-color: #141414; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.vs-card.us li::before { background-color: var(--mint); border-color: #141414; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { position: relative; padding: 28px 26px 30px; border: var(--b); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.step .num { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border: var(--b); border-radius: 50%; background: var(--card); color: var(--ink); font: 900 26px var(--f-head); }
.step.c-blue .num { background: #fff; color: #141414; border-color: #141414; }
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { font-size: 16.5px; }
.step kbd { color: #141414; background: #fff; border-color: #141414; }
.keys { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border: var(--b); border-radius: 14px; background: var(--card); }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 700 15px var(--f-body); cursor: pointer; transition: background-color 150ms ease; }
.seg button[aria-selected="true"] { background: #141414; color: #FFF8E7; }
@media (prefers-color-scheme: dark) { .seg button[aria-selected="true"] { background: var(--yellow); color: #141414; } }
.keys-note { max-width: 62em; padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--r); background: var(--card); font-size: 15.5px; }
.keys-note[hidden] { display: none; }
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 36px; }
.mid-cta span { font-weight: 600; color: var(--muted); }

/* Features: bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 26px; border: var(--b); border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--card);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--line); } }
.tile.t-wide { grid-column: span 2; }
.tile .ico { width: 34px; height: 34px; margin-bottom: auto; padding-bottom: 14px; box-sizing: content-box; }
.tile h3 { font-size: 22px; }
.tile p { font-size: 16px; color: var(--muted); }
.tile .big { font: 900 72px/0.9 var(--f-head); letter-spacing: -0.05em; margin-bottom: auto; color: #141414; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile.t-wide { grid-column: auto; } .tile { min-height: 0; } }
.shots { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }
.win { margin: 0; border: var(--b); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; }
.win:first-child { grid-column: 1 / span 8; grid-row: 1; }
.win-2 { grid-column: 6 / span 7; grid-row: 1; margin-top: 16%; position: relative; z-index: 1; transform: rotate(1.5deg); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding-inline: 14px; border-bottom: var(--b); background: var(--paper-2); }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #141414; }
.win-bar i:nth-child(1) { background: #FF5F57; } .win-bar i:nth-child(2) { background: #FEBC2E; } .win-bar i:nth-child(3) { background: #28C840; }
.win-bar span { margin-left: 8px; font: 700 13px var(--f-body); }
.win img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; } .win:first-child, .win-2 { grid-column: auto; grid-row: auto; margin-top: 0; transform: none; } }

/* Formats */
.fmt-search { position: relative; width: min(680px, 100%); margin-inline: auto; }
.fmt-search svg { position: absolute; left: 20px; top: 50%; width: 24px; height: 24px; translate: 0 -50%; pointer-events: none; }
.fmt-search input { width: 100%; height: 66px; padding: 0 22px 0 58px; border: var(--b); border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  font: 600 20px var(--f-body); -webkit-appearance: none; appearance: none; }
.fmt-search input::placeholder { color: var(--muted); opacity: .8; }
.fmt-search input:focus { outline: none; box-shadow: 6px 6px 0 var(--blue); }
.fmt-try { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; }
.fmt-try button { min-height: 40px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 700 14px var(--f-mono); cursor: pointer; transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .fmt-try button:hover { background: var(--yellow); color: #141414; } }
@media (pointer: coarse) { .fmt-try button { min-height: 44px; } }
.fmt-results { width: min(680px, 100%); margin: 16px auto 0; display: grid; gap: 10px; }
.fmt-results:empty { display: none; }
.fmt-hit { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 14px; align-items: center; padding: 14px 18px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 3px 3px 0 var(--line); animation: pop 220ms var(--ease) backwards; }
.fmt-hit .badge { grid-row: span 2; display: grid; place-items: center; min-width: 56px; height: 44px; padding-inline: 8px; border: 2px solid #141414; border-radius: 10px; background: var(--yellow); color: #141414; font: 800 13px var(--f-mono); }
.fmt-hit b { font: 800 18px var(--f-head); }
.fmt-hit small { grid-column: 2; font-size: 14px; color: var(--muted); }
.fmt-hit .ok { grid-row: span 2; grid-column: 3; font-size: 13.5px; font-weight: 700; color: var(--good); text-align: right; }
.fmt-hit .ok.ro { color: var(--muted); font-weight: 600; }
@media (max-width: 520px) { .fmt-hit { grid-template-columns: auto 1fr; } .fmt-hit .ok { grid-column: 2; grid-row: auto; text-align: left; } }
.fmt-none { text-align: center; padding: 14px; font-weight: 600; color: var(--muted); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; margin-top: 44px; }
.cat { display: grid; gap: 4px; align-content: start; padding: 16px 18px; border: 2px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  box-shadow: 3px 3px 0 var(--line); transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background-color 150ms ease; }
.cat:active { transform: translate(3px, 3px); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .cat:hover { background: var(--yellow); color: #141414; } .cat:hover .ex { color: #2E2B25; } }
.cat .n { font: 900 32px/1 var(--f-head); letter-spacing: -0.03em; }
.cat .name { font-weight: 700; font-size: 16.5px; }
.cat .ex { font: 600 12.5px var(--f-mono); color: var(--muted); }
.pops { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.pop { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: 3px 3px 0 var(--line); text-decoration: none; font: 800 16px var(--f-head);
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background-color 150ms ease; }
.pop:active { transform: translate(3px, 3px); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .pop:hover { background: var(--mint); color: #141414; } }

/* Reviews (real ones only, from config.js) */
.reviews[hidden] { display: none; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.rev { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px; border: var(--b); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.rev:nth-child(3n+2) { background: var(--yellow); color: #141414; }
.rev .stars { color: #C2410C; letter-spacing: 2px; }
.rev .stars span { opacity: .3; }
.rev blockquote { margin: 0; font: 600 19px/1.4 var(--f-body); }
.rev blockquote::before { content: "\201C"; } .rev blockquote::after { content: "\201D"; }
.rev figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 14.5px; }
.rev figcaption b { font-weight: 800; }
.rev .src a { font-weight: 700; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 960px; margin-inline: auto; align-items: stretch; }
@media (max-width: 780px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3.4vw, 40px); border: var(--b); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.plan.pro { background: var(--yellow); color: #141414; box-shadow: var(--shadow-lg); --muted: #2E2B25; --line: #141414; }
.plan-sticker { position: absolute; top: -18px; right: 22px; bottom: auto; left: auto; transform: rotate(4deg); }
.plan-label { font: 800 14px var(--f-head); text-transform: uppercase; letter-spacing: .06em; }
.plan-price { font: 900 clamp(46px, 6vw, 66px)/1 var(--f-head); letter-spacing: -0.04em; }
.plan-price small { font: 600 17px var(--f-body); letter-spacing: 0; margin-left: 8px; }
.was-price { margin-left: 12px; font-size: .42em; font-weight: 700; letter-spacing: 0; text-decoration: line-through; text-decoration-thickness: 3px; opacity: .6; vertical-align: .6em; }
.was-price[hidden] { display: none; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16.5px; font-weight: 500; }
.plan li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border: 2px solid #141414; border-radius: 50%; background: var(--mint) center / 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.plan-note { font-size: 14.5px; color: var(--muted); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.pro .meter-bar { background: #FFF8E7; border-color: #141414; }
.plan.pro .meter-bar i { background: var(--blue); border-color: #141414; }
.plan.pro .btn { border-color: #141414; box-shadow: 4px 4px 0 #141414; }
.glance { max-width: 960px; margin: 32px auto 0; padding: 8px clamp(20px, 3vw, 32px) 4px; border: var(--b); border-radius: var(--r-lg); background: var(--card); }
.glance h3 { padding: 16px 0 8px; font-size: 18px; }
.glance dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 640px) { .glance dl { grid-template-columns: minmax(0, 1fr); } }
.glance div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 2px solid var(--line); font-size: 15.5px; }
.glance dt { color: var(--muted); font-weight: 500; }
.glance dd { margin: 0; font-weight: 700; text-align: right; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { border: var(--b); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.faq details[open] { box-shadow: 6px 6px 0 var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 22px; cursor: pointer; font: 800 19px var(--f-head); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--line); border-radius: 50%; font: 800 20px/1 var(--f-head); transition: transform 200ms var(--ease), background-color 150ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: #141414; }
.faq .ans { padding: 0 22px 22px; color: var(--muted); max-width: 66ch; }
.faq .ans a { font-weight: 700; color: var(--ink); }

/* Final CTA + downloads */
.final { padding-top: clamp(64px, 8vw, 104px); }
.download { padding: clamp(32px, 6vw, 72px) clamp(22px, 5vw, 64px); border: var(--b); border-radius: 28px; background: var(--blue); color: #fff; box-shadow: 10px 10px 0 var(--line); text-align: center; }
.download .kicker { color: #141414; background: var(--yellow); border-color: #141414; }
.download h2 { font-size: clamp(34px, 5.6vw, 66px); max-width: 15em; margin-inline: auto; }
.download .lead { color: #EAF0FF; margin: 16px auto 0; }
.dl-primary { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.dl-primary .btn { border-color: #141414; box-shadow: 5px 5px 0 #141414; }
.dl-primary small { font-size: 14.5px; color: #EAF0FF; font-weight: 500; }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 36px auto 0; text-align: left; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }
.dl { position: relative; display: grid; gap: 2px; min-height: 72px; padding: 14px 52px 14px 18px; border: var(--b); border-color: #141414; border-radius: 16px; background: #FFFFFF; color: #141414; text-decoration: none; box-shadow: 4px 4px 0 #141414;
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background-color 150ms ease; }
.dl:active { transform: translate(4px, 4px); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .dl:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #141414; } }
.dl b { font: 800 17px var(--f-head); }
.dl span { font-size: 13.5px; color: #3D3A33; }
.dl::after { content: ""; position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; translate: 0 -50%; background: #141414;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0l-4.5-4.5M12 15l4.5-4.5M5 19h14'/%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' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0l-4.5-4.5M12 15l4.5-4.5M5 19h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.dl.is-yours { background: var(--yellow); }
.dl.is-yours::before { content: "Your computer"; position: absolute; top: -12px; left: 14px; padding: 1px 8px; border: 2px solid #141414; border-radius: 999px; background: var(--mint); font: 800 11px var(--f-head); text-transform: uppercase; letter-spacing: .06em; }
.download .small { max-width: 72ch; margin: 22px auto 0; font-size: 14.5px; color: #EAF0FF; }

/* Footer */
.foot { margin-top: clamp(56px, 8vw, 96px); padding-block: 36px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: var(--b); background: var(--paper-2); font-size: 14.5px; }
.foot-in { display: grid; gap: 22px; }
.foot-top, .foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot nav a, .foot-convs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; border-radius: 8px; text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover, .foot-convs a:hover { background: var(--yellow); color: #141414; } }
.foot-convs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.foot-convs span { font-weight: 800; margin-right: 6px; }
.foot-bottom p { color: var(--muted); }
@media (pointer: coarse) { .foot nav a, .foot-convs a { min-height: 44px; } }

/* Sticky phone bar (built by site.js) */
.sticky-cta { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 14px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--paper); border-top: var(--b); transform: translateY(110%); transition: transform 250ms var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1 1 auto; min-height: 50px; background: var(--cta); color: var(--on-cta); box-shadow: 3px 3px 0 var(--line); }
.sticky-cta p { margin: 0; max-width: 11em; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--muted); }
.sticky-cta.has-meter::before { content: ""; position: absolute; left: 0; top: -3px; height: 5px; width: var(--p, 0); background: var(--blue); }
.sticky-cta.has-meter.low::before { background: var(--cta); }
@media (max-width: 900px) { .sticky-cta { display: flex; } .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); } }
@media (max-height: 460px) and (orientation: landscape) { .sticky-cta { display: none; } }

/* Scroll reveal: quick rise, never on the hero */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Small phones */
@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .btn-lg { font-size: 18px; }
  .nav .btn-sm { padding: 0 12px; }
  .brand { font-size: 21px; }
  .vs-card, .plan, .step, .tile { padding: 22px; }
  .demo-bar #demo-hint { margin-left: 0; width: 100%; }
}
@media (max-width: 360px) { .nav .btn-sm span, .nav .btn-sm { font-size: 13px; } h1 { overflow-wrap: anywhere; } }

/* Accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 6px; }
  .ticker-row span:nth-child(n+25) { display: none; }
  .ticker-pause { display: none; }
}
@media print { .nav, .offer-bar, .sticky-cta, .band, .hero-art { display: none; } body { background: #fff; } }

/* Highlighter: a flat band behind the words that stays inside its line, so it never covers the line above */
mark { background: linear-gradient(transparent 22%, var(--yellow) 22%, var(--yellow) 94%, transparent 94%); border-radius: 0; padding: 0 .1em; }
.hero h1 { line-height: 1.02; }
.s-yellow { top: -20px; right: -10px; }
@media (max-width: 520px) { .s-yellow { right: 4px; } }

/* Colored tiles win over the default tile background */
.tile.c-yellow { background: var(--yellow); color: #141414; }
.tile.c-mint { background: var(--mint); color: #141414; }
.tile.c-pink { background: var(--pink); color: #141414; }
.tile.c-blue { background: var(--blue); color: #FFFFFF; }
.tile.c-ink { background: #141414; color: #FFF8E7; }
@media (prefers-color-scheme: dark) { .tile.c-ink { background: #2A2926; } }
/* Secondary text on blue is pure white: #EDE8DC on #2563EB was 4.23:1, white is 5.17:1 */
.c-blue, .tile.c-blue, .step.c-blue { --muted: #FFFFFF; }
.download .lead, .download .small, .dl-primary small { color: #FFFFFF; }
@media (pointer: coarse), (max-width: 900px) { .offer-bar a, .ticker-pause { min-height: 44px; } }

/* Buy: secondary trial link and the checkout reassurance */
.plan-alt { align-self: center; padding: 8px 6px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; color: inherit; text-underline-offset: 3px; }
.buy-note { font-size: 13.5px; color: var(--muted); text-align: center; }
.buy-line { margin-top: 18px; font-weight: 600; color: #FFFFFF; }
.buy-line a { color: #FFFFFF; font-weight: 800; text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-flex; min-height: 44px; align-items: center; }
.faq .ans a.js-buy { color: var(--ink); }

/* Pay-first: "How buying works" steps and the "What you get" list */
.buy-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: bs; }
.buy-steps li { counter-increment: bs; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; }
.buy-steps li::before { content: counter(bs); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border: var(--b); border-radius: 50%; background: var(--yellow); color: #141414; font: 900 18px var(--f-head); }
.buy-steps b { font: 800 17px var(--f-head); align-self: end; }
.buy-steps span { font-size: 15px; color: var(--muted); }
.get-list { list-style: none; margin: 34px auto 0; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
@media (max-width: 860px) { .get-list { grid-template-columns: minmax(0, 1fr); } }
.get-list li { display: grid; gap: 2px; padding: 16px 18px; border: var(--b); border-color: #141414; border-radius: 16px; background: #FFFFFF; color: #141414; box-shadow: 4px 4px 0 #141414; }
.get-list b { font: 800 17px var(--f-head); }
.get-list span { font-size: 14px; color: #3D3A33; }
.dl-primary .btn > span { display: inline; }
