/* Tabie website. No web fonts, no third-party requests. */
:root {
  --bg: #0c0d0f;
  --bg-2: #131416;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --teal: #5ee6c8;
  --amber: #ffb86b;
  --red: #ff6961;
  --radius: 22px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(94, 230, 200, 0.3); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Same soft wallpaper as the extension, drifting very slowly */
.glow {
  position: fixed;
  inset: -20vh -20vw;
  z-index: -1;
  background:
    radial-gradient(40vw 30vw at 12% 8%, rgba(150, 155, 170, 0.16), transparent 60%),
    radial-gradient(38vw 30vw at 88% 12%, rgba(200, 120, 40, 0.18), transparent 60%),
    radial-gradient(50vw 40vw at 55% 95%, rgba(30, 150, 135, 0.22), transparent 60%);
  animation: drift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift { to { transform: translate3d(2vw, -3vh, 0) scale(1.05); } }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(12, 13, 15, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.11); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.primary { background: var(--text); color: #0c0d0f; border-color: transparent; box-shadow: 0 10px 40px rgba(94, 230, 200, 0.18); }
.btn.primary:hover { background: #fff; }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.9em;
  height: 1.9em;
  padding: 0 0.45em;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--panel-2);
  font: 600 0.8em/1 var(--font);
  color: var(--text);
}

/* ---------- hero ---------- */
.hero { padding: 88px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13.5px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 800;
}
.shine {
  background: linear-gradient(100deg, #fff 20%, var(--teal) 45%, var(--amber) 60%, #fff 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.lede { max-width: 640px; margin: 24px auto 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.lede strong { color: var(--text); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hint { margin-top: 18px; color: var(--dim); font-size: 13.5px; }
.hint kbd { margin: 0 2px; }

/* ---------- demo window ---------- */
.demo-stage { position: relative; margin: 64px auto 0; perspective: 1800px; }
.demo-stage::before {
  content: "";
  position: absolute;
  inset: 10% 8% -6%;
  background: radial-gradient(closest-side, rgba(94, 230, 200, 0.22), transparent);
  filter: blur(40px);
  z-index: -1;
}
.window {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: #16171a;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  text-align: left;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.window.in { opacity: 1; transform: none; }

/* Browser chrome with far too many tabs */
.chrome { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; background: #0f1012; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; flex: none; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.strip { display: flex; gap: 2px; min-width: 0; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.strip span {
  flex: 1 1 0;
  min-width: 14px;
  max-width: 120px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px 7px 0 0;
  background: #1c1d20;
  transition: flex 0.9s var(--ease), opacity 0.6s, background 0.4s;
}
.strip span.active { background: #16171a; flex-basis: 120px; flex-grow: 0; }
.strip b { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.strip-count { flex: none; width: 56px; text-align: right; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }

.app { padding: 18px 20px 0; }
.app-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.app-logo { width: 34px; height: 34px; }
.search {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  border-radius: 12px;
  background: #2a2b2e;
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search:focus-within { border-color: rgba(94, 230, 200, 0.5); box-shadow: 0 0 0 4px rgba(94, 230, 200, 0.12); }
.search svg { position: absolute; left: 14px; width: 17px; height: 17px; fill: var(--dim); }
.search input {
  width: 100%;
  height: 100%;
  padding: 0 14px 0 42px;
  border: 0;
  background: none;
  color: var(--text);
  font: 15.5px var(--font);
  outline: none;
}
.search input::placeholder { color: var(--dim); }
.caret { display: inline-block; width: 2px; height: 18px; background: var(--teal); }
.app-icons { display: flex; gap: 6px; color: var(--muted); }
.app-icons i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; }
.app-icons svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 640px) { .app-icons { display: none; } }

.app-meta { display: flex; height: 20px; font-variant-numeric: tabular-nums; align-items: baseline; gap: 8px; margin: 18px 2px 10px; color: var(--dim); font-size: 12.5px; font-weight: 600; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  height: 487px; /* exactly 3 rows of 153px cards; fixed so the window never resizes */
  grid-auto-rows: max-content; /* keep cards full size; extra rows scroll inside */
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  padding-right: 2px;
}
.card {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), opacity 0.35s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover, .card.cursor { border-color: rgba(255, 255, 255, 0.28); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.card.cursor { border-color: rgba(94, 230, 200, 0.6); }
.card.gone { opacity: 0; transform: scale(0.85) translateY(10px); }
.card.flash { animation: flash 0.6s var(--ease); }
@keyframes flash { 40% { transform: scale(1.04); box-shadow: 0 0 0 3px var(--teal); } }
.card-head { display: flex; align-items: center; gap: 8px; padding: 9px 11px; font-size: 13px; }
.fav { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 800; }
.card-title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; }
.card-age { flex: none; color: var(--dim); font-size: 11.5px; }
.thumb { position: relative; height: 104px; margin: 0 8px 8px; border-radius: 9px; overflow: hidden; }
.thumb::before, .thumb::after { content: ""; position: absolute; left: 12px; right: 40%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.55); top: 16px; }
.thumb::after { top: 32px; right: 22%; opacity: 0.5; }
.thumb i { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 34px; border-radius: 6px; background: rgba(255, 255, 255, 0.18); }
mark { background: rgba(255, 214, 10, 0.32); color: inherit; border-radius: 3px; padding: 0 1px; }
.empty { grid-column: 1 / -1; display: grid; place-items: center; gap: 4px; padding: 70px 0; color: var(--dim); text-align: center; }
.empty strong { color: var(--muted); font-size: 18px; font-weight: 600; }

/* Footer bar of the demo app, with a working Super Clean menu */
.app-foot { display: flex; align-items: center; gap: 4px; margin: 16px -20px 0; padding: 8px 14px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.2); font-size: 13px; color: var(--muted); }
.app-foot button, .app-foot .fake { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; }
.app-foot button:hover { background: var(--panel-2); color: var(--text); }
.app-foot svg { width: 14px; height: 14px; fill: currentColor; }
.app-foot .fake { cursor: default; }
.app-foot .reset { margin-left: auto; color: var(--teal); }
.app-foot [hidden] { display: none; }
@media (max-width: 640px) { .app-foot .fake { display: none; } }
.menu-wrap { position: relative; }
.menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 5;
  width: 230px;
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(40, 41, 45, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform-origin: bottom left;
  animation: pop 0.2s var(--ease);
}
.menu[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(6px); } }
.menu-title { padding: 4px 10px 6px; color: var(--dim); font-size: 11px; font-weight: 700; }
.menu button { display: flex; width: 100%; justify-content: space-between; height: 30px; padding: 0 10px; border-radius: 9px; color: var(--text); }
.menu button span { color: var(--dim); font-size: 12px; }
.menu button.danger { color: var(--red); }
.menu button[disabled] { color: var(--dim); cursor: default; background: none; }
.menu hr { height: 1px; margin: 4px 8px; border: 0; background: var(--line-2); }

.toast {
  position: absolute;
  left: 50%;
  bottom: 64px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.95);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  transform: translateX(-50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: pop 0.25s var(--ease);
}
.toast[hidden] { display: none; }
.demo-note { margin-top: 18px; color: var(--dim); font-size: 13.5px; text-align: center; }

/* ---------- sections ---------- */
section { padding: 120px 0 0; }
.kicker { color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
h2 { margin: 12px 0 0; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; }
h2 + p, .sub { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.center { text-align: center; }
.center h2 + p, .center .sub { margin-left: auto; margin-right: auto; }

/* Before / after counter */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; margin-top: 56px; }
.versus-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.versus-card h3 { margin: 0 0 4px; font-size: 14px; color: var(--muted); font-weight: 600; }
.big { font-size: clamp(56px, 8vw, 92px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.versus-card p { margin: 10px 0 0; color: var(--muted); }
.versus-card.after .big { color: var(--teal); }
.arrow { font-size: 40px; color: var(--dim); }
@media (max-width: 800px) { .versus { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); justify-self: center; } }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.tile {
  position: relative;
  grid-column: span 2;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile.wide { grid-column: span 3; }
.tile.full { grid-column: span 6; }
.tile h3 { margin: 18px 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.tile .ico svg { width: 22px; height: 22px; fill: var(--text); }
.tile .shot { margin: 22px -28px -28px; border-top: 1px solid var(--line); }
.tile .shot img { width: 100%; height: auto; }
@media (max-width: 900px) { .tile, .tile.wide { grid-column: span 3; } }
@media (max-width: 620px) { .tile, .tile.wide, .tile.full { grid-column: span 6; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.mini-menu { margin-top: 20px; padding: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0, 0, 0, 0.25); font-size: 13.5px; }
.mini-menu div { display: flex; justify-content: space-between; padding: 5px 10px; border-radius: 8px; }
.mini-menu div:nth-child(2) { background: var(--panel-2); }
.mini-menu span { color: var(--dim); }
.mini-menu .danger { color: var(--red); }
.mini-menu hr { height: 1px; margin: 4px 8px; border: 0; background: var(--line); }

/* Screenshot showcase */
.showcase { position: relative; margin-top: 56px; height: clamp(300px, 52vw, 620px); }
.showcase figure { position: absolute; margin: 0; width: 72%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55); transition: transform 0.8s var(--ease); }
.showcase figure img { width: 100%; height: auto; }
.showcase .s1 { left: 0; top: 0; transform: rotate(-3deg); }
.showcase .s2 { right: 0; top: 14%; transform: rotate(3deg); }
.showcase:hover .s1 { transform: rotate(-1deg) translate(-10px, -6px); }
.showcase:hover .s2 { transform: rotate(1deg) translate(10px, 6px); }

/* Keyboard */
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 48px; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--muted); }
.key-row kbd { font-size: 15px; }
.key-row .combo { display: flex; gap: 6px; flex: none; }

/* Privacy */
.privacy-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: radial-gradient(600px 300px at 0% 0%, rgba(94, 230, 200, 0.12), transparent 70%), var(--panel);
}
.zero { font-size: clamp(110px, 16vw, 200px); font-weight: 800; letter-spacing: -0.07em; line-height: 0.85; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zero small { display: block; margin-top: 14px; font-size: 18px; letter-spacing: 0; color: var(--muted); -webkit-text-fill-color: var(--muted); font-weight: 600; }
.checks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(94, 230, 200, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%235ee6c8' d='M6.4 11.6 2.8 8l1.1-1.1 2.5 2.5 5.7-5.7 1.1 1.1z'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (max-width: 860px) { .privacy-band { grid-template-columns: 1fr; padding: 32px; } }

/* Install */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; counter-reset: step; }
.step { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--text); color: #0c0d0f; font-weight: 800; }
.step h3 { margin: 16px 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step code { padding: 1px 6px; border-radius: 6px; background: var(--panel-2); font: 13px var(--mono); color: var(--text); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); max-width: 940px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .steps.steps-3 { grid-template-columns: 1fr; } }
.browsers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-size: 24px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); }

/* Chrome logo inside buttons keeps its own colours */
.btn svg.chrome-ico { width: 20px; height: 20px; flex: none; }
.btn.small svg.chrome-ico { width: 18px; height: 18px; }

/* Hero trust row: store rating + security note */
.trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.rating:hover { border-color: var(--line-2); background: var(--panel-2); }
.rating strong { color: var(--text); }
.rating .stars { display: inline-flex; gap: 2px; }
.rating .stars svg { width: 14px; height: 14px; fill: #fbbc04; }
.rating .sep { color: var(--dim); }
.rating .link { color: var(--teal); font-weight: 600; }
.secure { display: inline-flex; align-items: center; gap: 8px; }
.secure svg { width: 15px; height: 15px; fill: var(--teal); }

/* Donate */
.donate-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 44px 48px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 184, 107, 0.12), transparent 70%), var(--panel);
}
.donate-band h2 { margin-top: 6px; font-size: clamp(30px, 4vw, 44px); }
.donate-band .sub { margin: 10px 0 0; max-width: 560px; }
.donate-band .cta { margin-top: 0; flex-direction: column; align-items: stretch; }
.donate-band .cta .btn { justify-content: center; }
.donate-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: rgba(255, 105, 97, 0.14); }
.donate-ico svg { width: 34px; height: 34px; fill: var(--red); }
.donate-btn svg { fill: var(--red); }
@media (max-width: 860px) { .donate-band { grid-template-columns: 1fr; padding: 32px; text-align: center; } .donate-ico { margin: 0 auto; } .donate-band .sub { margin-left: auto; margin-right: auto; } .donate-band .cta { align-items: center; } }

/* Final CTA */
.final { padding: 140px 0 120px; text-align: center; }
.final .logo-big { width: 104px; height: 104px; margin: 0 auto 30px; filter: drop-shadow(0 20px 50px rgba(94, 230, 200, 0.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding: 72px 0 100px; }
.legal h1 { margin: 10px 0 6px; font-size: clamp(40px, 6vw, 60px); letter-spacing: -0.045em; line-height: 1.05; }
.legal .updated { color: var(--dim); font-size: 14px; }
.legal .tldr { margin: 34px 0; padding: 22px 26px; border: 1px solid rgba(94, 230, 200, 0.3); border-radius: 18px; background: rgba(94, 230, 200, 0.06); }
.legal .tldr strong { color: var(--teal); }
.legal h2 { margin: 48px 0 10px; font-size: 24px; letter-spacing: -0.02em; line-height: 1.25; }
.legal p, .legal li { color: #c7c7cc; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; }
.legal td:first-child { white-space: nowrap; font-family: var(--mono); font-size: 13px; color: var(--text); }
.legal a { color: var(--teal); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost .big { font-size: clamp(100px, 20vw, 200px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .window { opacity: 1; transform: none; }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  .app { padding: 14px 12px 0; }
  .app-foot { margin: 14px -12px 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; height: 329px; } /* exactly 3 rows of 103px cards */
  .card-head { padding: 7px 8px; font-size: 12px; gap: 6px; }
  .card-age { display: none; }
  .thumb { height: 62px; margin: 0 6px 6px; }
  .thumb::before, .thumb::after { top: 10px; height: 6px; }
  .thumb::after { top: 21px; }
  .thumb i { height: 20px; bottom: 8px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal td { padding: 2px 0; border: 0; }
  .legal td:first-child { margin-bottom: 4px; white-space: normal; }
  .showcase { height: clamp(260px, 80vw, 400px); }
  .showcase figure { width: 86%; }
  section { padding-top: 88px; }
}

/* ---------- desktop / phone only content ---------- */
.m-only, .m-status, .m-bar, .m-home-bar { display: none; }

/* ---------- phones: mobile browser demo, tidy badges ---------- */
@media (max-width: 640px) {
  .d-only { display: none !important; }
  .m-only { display: revert; }
  span.m-only { display: inline; }
  h2 br { display: none; }

  .hero { padding-top: 56px; }
  .eyebrow { max-width: 100%; white-space: nowrap; font-size: 12.5px; }
  .lede { font-size: 16.5px; }
  .cta { flex-direction: column; align-items: center; }
  .cta .btn { width: min(100%, 300px); justify-content: center; }
  .demo-stage { margin-top: 44px; }

  /* The demo becomes a phone running a mobile browser */
  .window {
    width: min(100%, 344px);
    margin: 0 auto;
    border: 9px solid #050506;
    border-radius: 46px;
    box-shadow: 0 0 0 1.5px #2c2c2f, 0 40px 90px rgba(0, 0, 0, 0.65);
    background: #121315;
  }
  .chrome { display: none; }
  .m-status { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 4px 26px 0 30px; font-size: 14px; font-weight: 600; }
  .m-sys { display: flex; align-items: center; gap: 5px; }
  .m-sys svg { height: 11px; width: auto; fill: currentColor; }
  .m-bar { display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px; border-bottom: 1px solid var(--line); }
  .m-home { width: 20px; height: 20px; fill: var(--muted); flex: none; }
  .m-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: #232427; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; }
  .m-url svg { width: 15px; height: 15px; fill: var(--dim); flex: none; }
  .m-tabs { flex: none; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 3px; border: 2px solid var(--muted); border-radius: 6px; font-size: 11px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
  .m-dots { display: grid; gap: 3px; padding: 0 2px; }
  .m-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
  .m-home-bar { display: block; width: 120px; height: 5px; margin: 8px auto 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.55); }
  .app-bar { grid-template-columns: auto 1fr; gap: 10px; }
  .app-logo { width: 30px; height: 30px; }
  .search { height: 38px; }
  .search input { font-size: 16px; } /* 16px stops iOS from zooming in on focus */
  .app-foot { padding: 6px 10px; }
  .toast { bottom: 70px; max-width: 86%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .menu { width: 220px; }

  /* Screenshots stack instead of overlapping */
  .showcase { height: auto; display: grid; gap: 16px; }
  .showcase figure { position: static; width: 100%; transform: none !important; }

  .versus { gap: 16px; margin-top: 36px; }
  .versus-card { padding: 24px; }
  .bento { margin-top: 36px; gap: 12px; }
  .tile { padding: 22px; }
  .tile .shot { margin: 18px -22px -22px; }
  .chips { gap: 6px; }
  .chip { font-size: 12.5px; padding: 4px 10px; }
  .key-row { padding: 14px 16px; font-size: 15px; }
  .privacy-band { padding: 26px; border-radius: 26px; }
  .zero { text-align: center; }
  .steps { margin-top: 32px; }
  .browsers { gap: 8px; }
  .faq summary { font-size: 16.5px; padding: 18px 0; }
  .final { padding: 100px 0 90px; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  footer nav { margin-left: 0; }
}
