/* Zeigvox website. One stylesheet for every page. */

@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff;
  --soft: #f7f7f9;
  --ink: #0e141d;
  --ink-2: #2a313c;
  --muted: #5f6672;
  --faint: #8c929c;
  --line: #e8e9ed;
  --line-2: #d9dbe1;
  --mark: #d61f69;
  --mark-soft: #fdf0f5;
  --ok: #17865a;
  --radius: 14px;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --page: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--f-body); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--mark-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.02em; color: var(--muted); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mark); }

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 0;
  font: 550 0.97rem/1 var(--f-body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, border-color .18s, color .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(14, 20, 29, .24), 0 6px 16px -6px rgba(14, 20, 29, .45);
}
.btn-primary:hover { transform: translateY(-1px); background: #19212d; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 4px rgba(14, 20, 29, .2), 0 12px 24px -8px rgba(14, 20, 29, .5); }
.btn-secondary {
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(14, 20, 29, .05);
}
.btn-secondary:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #c3c6ce, 0 6px 16px -8px rgba(14, 20, 29, .22); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 0 14px; }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; pointer-events: none; }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 68px;
  transition: background-color .25s, box-shadow .25s, backdrop-filter .25s;
}
.nav.solid { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 8px; }
.nav-logo { display: flex; align-items: center; margin-right: auto; padding: 6px 0; transition: opacity .25s, transform .25s var(--ease); }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) {
  padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 0.93rem; font-weight: 500;
  transition: background-color .15s, color .15s;
}
.nav-links a:not(.btn):hover { background: var(--soft); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-account { margin-left: 8px; }
.nav-avatar { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; text-decoration: none; font-size: 0.9rem; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; transition: box-shadow .15s; }
.nav-avatar:hover { box-shadow: inset 0 0 0 1px #c3c6ce; }
.nav-avatar img, .nav-avatar .initial { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.nav-avatar .initial { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 0.8rem; }
/* On the home page the menu stays out of the way until you start scrolling. */
.nav { transition: background-color .25s, box-shadow .25s, opacity .4s var(--ease), transform .4s var(--ease); }
.is-home .nav:not(.shown) { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.is-home .nav:not(.shown):focus-within { opacity: 1; transform: none; pointer-events: auto; }
/* On the home page the big logo is the brand until it scrolls away. */
.is-home .nav:not(.solid) .nav-logo { opacity: 0; transform: translateY(-4px); pointer-events: none; }
@media (max-width: 720px) {
  .nav-links .hide-sm { display: none; }
  .nav-logo img { height: 26px; }
}

/* ---------- home: intro ---------- */
.intro { position: relative; height: 180vh; height: 180svh; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px 24px 40px; text-align: center;
}
.hero { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 760px; }
.hero-logo { position: relative; width: min(64vw, 330px); margin-bottom: 34px; transform-origin: 50% 50%; will-change: transform; }
.hero-logo img { width: 100%; height: auto; }
.hero-text { display: flex; flex-direction: column; align-items: center; will-change: opacity, transform; }
.hero-text .lead { max-width: 36rem; margin: 20px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-note { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--faint); font-size: 0.88rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: var(--ok); }

/* The logo writes itself on: a soft-edged mask sweeps left to right. */
@property --reveal { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.draw {
  --reveal: 0%;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--reveal) - 8%), transparent var(--reveal));
  mask-image: linear-gradient(90deg, #000 calc(var(--reveal) - 8%), transparent var(--reveal));
  animation: draw 1.5s cubic-bezier(.55, .1, .3, 1) .25s forwards;
}
@keyframes draw { to { --reveal: 112%; } }
/* Then the cursor at the end of the line clicks once. */
.click { position: absolute; left: 91.5%; top: 47.5%; width: 0; height: 0; pointer-events: none; }
.click::before, .click::after {
  content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  opacity: 0;
}
.click::before { background: var(--mark); animation: tap .5s var(--ease) 1.62s both; }
.click::after { border: 2px solid var(--mark); animation: ripple .9s var(--ease) 1.62s both; }
@keyframes tap { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(.6); } }
@keyframes ripple { 0% { opacity: .7; transform: scale(.4); } 100% { opacity: 0; transform: scale(4.2); } }
.press { animation: press .34s var(--ease) 1.6s; }
@keyframes press { 40% { transform: scale(.985); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 500 0.75rem/1 var(--f-mono); letter-spacing: .04em; color: var(--faint); text-transform: uppercase;
}
.scroll-hint span { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fade-in .6s ease 2.1s forwards; }
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--line-2), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 1.8s ease-in-out 2.4s infinite; }
@keyframes drip { to { top: 110%; } }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- sections ---------- */
section.block { padding: clamp(56px, 7vw, 88px) 0; }
.block-head { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 44px); }
.block-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.block-head .lead { margin-top: 18px; }
.soft { background: var(--soft); }
.rule { border-top: 1px solid var(--line); }

/* steps: text next to a real screenshot */
.steps { display: grid; gap: clamp(40px, 6vw, 72px); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.step:nth-child(even) .step-text { order: 2; }
.step-num { font: 500 0.82rem/1 var(--f-mono); color: var(--mark); margin-bottom: 16px; }
.step h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); letter-spacing: -0.025em; line-height: 1.15; }
.step p { margin-top: 14px; color: var(--muted); font-size: 1.04rem; max-width: 30rem; }
.step ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.step li { display: flex; gap: 10px; align-items: baseline; font-size: 0.97rem; color: var(--ink-2); }
.step li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }
.shot {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 2px 4px rgba(14, 20, 29, .04), 0 24px 48px -24px rgba(14, 20, 29, .22);
}
.shot img { width: 100%; height: auto; aspect-ratio: 1232 / 672; }
@media (max-width: 860px) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-text { order: 0; }
}

/* tools list */
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.tool {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 0.97rem;
}
.tools-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 0.95rem; }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; }
.card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.card h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.card.no h3 .dot { background: var(--mark); }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.card li { display: flex; gap: 12px; color: var(--ink-2); font-size: 0.98rem; }
.card li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.card.yes li svg { color: var(--ok); }
.card.no li svg { color: var(--mark); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.fact { padding: 24px 28px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.fact strong { display: block; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.fact p { color: var(--muted); font-size: 0.94rem; }
.trust-link { margin-top: 28px; text-align: center; color: var(--muted); font-size: 0.95rem; }
.trust-link a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 860px) { .trust-grid, .facts { grid-template-columns: 1fr; } }

/* pricing */
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); margin-top: 28px; }
.billing button {
  height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: 500 0.9rem/1 var(--f-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color .15s, color .15s, box-shadow .15s;
}
.billing button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 20, 29, .08), 0 0 0 1px var(--line); }
.billing .save { font: 500 0.72rem/1 var(--f-mono); color: var(--ok); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 32px; box-shadow: inset 0 0 0 1px var(--line); }
.plan.featured { box-shadow: inset 0 0 0 1px var(--ink), 0 24px 48px -28px rgba(14, 20, 29, .35); }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 1.1rem; }
.badge { font: 500 0.72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .03em; padding: 6px 9px; border-radius: 999px; background: var(--mark-soft); color: var(--mark); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price b { font-size: 2.9rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); }
.price-sub { color: var(--faint); font-size: 0.9rem; min-height: 1.5em; }
.plan p.desc { color: var(--muted); margin: 14px 0 24px; font-size: 0.97rem; }
.plan ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 11px; }
.plan li { display: flex; gap: 11px; font-size: 0.96rem; color: var(--ink-2); }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ink); }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--faint); font-size: 0.9rem; margin-top: 24px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--soft); border-radius: var(--radius); transition: background-color .2s, box-shadow .2s; }
.faq details:hover { background: #f1f1f4; }
.faq details[open] { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 12px 28px -18px rgba(14, 20, 29, .25); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 20px 18px 24px; font-weight: 550; font-size: 1.02rem; letter-spacing: -0.01em; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat,
    #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 40rem; }

/* closing call to action */
.closing { text-align: center; padding: clamp(64px, 9vw, 104px) 0; }
.closing img { width: 180px; margin: 0 auto 30px; }
.closing .lead { margin: 18px auto 0; max-width: 32rem; }
.closing .hero-cta { margin-top: 34px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 52px; font-size: 0.92rem; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer img { height: 26px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .fine { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--faint); font-size: 0.85rem; }

/* ---------- inner pages ---------- */
.page { padding: 116px 0 72px; }
.page-head { max-width: 44rem; margin-bottom: 48px; }
.page-head .lead { margin-top: 16px; }
.narrow { max-width: 760px; }

/* install */
.install-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.install-steps > li { counter-increment: s; position: relative; padding: 28px 28px 28px 84px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.install-steps > li::before {
  content: counter(s); position: absolute; left: 28px; top: 26px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 0.92rem/1 var(--f-body);
}
.install-steps h3 { margin-bottom: 8px; }
.install-steps p { color: var(--muted); }
.install-steps p + p { margin-top: 10px; }
.install-steps .btn { margin-top: 18px; }
.install-steps .opt { font: 500 0.72rem/1 var(--f-mono); text-transform: uppercase; color: var(--faint); margin-left: 8px; letter-spacing: .03em; vertical-align: middle; }
.cmd { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 0.88rem/1.6 var(--f-mono); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); margin-top: 16px; }
.tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 0.88rem/1 var(--f-body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 20, 29, .08), 0 0 0 1px var(--line); }
.tab-panel { margin-top: 14px; }
.tab-panel[hidden] { display: none; }
.tab-panel ol { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 8px; }
code.inline { font: 0.86em var(--f-mono); background: var(--soft); padding: 2px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 560px) { .install-steps > li { padding: 76px 22px 24px; } .install-steps > li::before { left: 22px; top: 24px; } }

/* sign in */
.auth { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 100px 20px 60px; background: var(--soft); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 22px; padding: 40px 36px 32px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(14, 20, 29, .25); text-align: center; }
.auth-card .logo { width: 150px; margin: 0 auto 28px; }
.auth-card h1 { font-size: 1.7rem; letter-spacing: -0.03em; }
.auth-card .lead { font-size: 0.98rem; margin-top: 10px; }
.providers { display: grid; gap: 10px; margin-top: 28px; }
.provider { --h: 50px; width: 100%; justify-content: center; font-size: 0.98rem; }
.provider svg { width: 20px; height: 20px; }
.auth-small { margin-top: 24px; color: var(--faint); font-size: 0.84rem; line-height: 1.55; }
.auth-small a { color: var(--muted); text-underline-offset: 2px; }
.auth-promise { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; text-align: left; }
.auth-promise div { display: flex; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.auth-promise svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--ok); }
.notice { margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: 0.9rem; text-align: left; background: var(--mark-soft); color: #9d0f48; }
.notice[hidden] { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* account */
.account-grid { display: grid; gap: 16px; max-width: 760px; }
.profile { display: flex; align-items: center; gap: 18px; }
.profile .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; }
.profile .avatar.initial { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.5rem; font-weight: 600; }
.profile h2 { font-size: 1.5rem; letter-spacing: -0.025em; }
.profile p { color: var(--muted); margin-top: 4px; }
.rows { margin-top: 24px; border-top: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.row span:first-child { color: var(--muted); }
.row span:last-child { font-weight: 500; text-align: right; }
.plan-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.plan-line h3 { display: flex; align-items: center; gap: 10px; }
.card .muted { color: var(--muted); margin-top: 8px; font-size: 0.96rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.skeleton { color: transparent !important; background: linear-gradient(90deg, var(--soft), #eeeff2, var(--soft)) 0 0 / 200% 100%; border-radius: 8px; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* legal */
.legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); max-width: 66ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 10px 0; }
.legal li { margin: 7px 0; }
.legal a { color: var(--mark); text-underline-offset: 2px; }
.legal .summary { margin: 0 0 12px; padding: 20px 22px; border-radius: var(--radius); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.legal .table-wrap { overflow-x: auto; margin: 14px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; }
.legal code { font: 0.88em var(--f-mono); background: var(--soft); padding: 1px 6px; border-radius: 5px; }
.updated { color: var(--faint); margin-top: 10px; font-size: 0.93rem; }

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 100px 24px; }
.lost .lead { margin: 14px auto 30px; max-width: 28rem; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 8px); background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 0.92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; }
  .draw { --reveal: 112%; }
  .reveal { opacity: 1; transform: none; }
}

/* The logo animations wait until the image has loaded (home.ts adds .ready). */
.draw, .press, .click::before, .click::after { animation-play-state: paused; }
.ready .draw, .ready .press, .ready .click::before, .ready .click::after { animation-play-state: running; }
/* Without the scroll effect (reduced motion), the hero is a normal first screen. */
.intro.still { height: auto; }
.intro.still .stage { position: relative; height: auto; min-height: 100vh; min-height: 100svh; }
.intro.still .scroll-hint { display: none; }
.hero-text { opacity: 0; }
.intro.still .hero-text { opacity: 1; }
.state-icon { width: 44px; height: 44px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--ink); }
.state-icon svg { width: 44px; height: 44px; }
.state-icon .spinner { width: 26px; height: 26px; }

/* delete account */
.danger-text { color: #b42318; }
.danger-text:hover { background: #fef3f2; }
.btn-danger { background: #b42318; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(180, 35, 24, .3); }
.btn-danger:hover { transform: translateY(-1px); background: #a01f15; }
.confirm-dialog { width: min(460px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(14, 20, 29, .45); }
.confirm-dialog::backdrop { background: rgba(14, 20, 29, .35); backdrop-filter: blur(3px); }
.confirm-dialog form { padding: 28px; display: grid; gap: 12px; }
.confirm-dialog h2 { font-size: 1.35rem; letter-spacing: -0.02em; }
.confirm-dialog p { color: var(--ink-2); font-size: 0.96rem; }
.confirm-dialog p.muted { color: var(--muted); font-size: 0.9rem; }
.confirm-dialog label { margin-top: 6px; font-size: 0.92rem; color: var(--ink-2); }
.text-input { height: 44px; padding: 0 14px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 0.98rem var(--f-body); color: var(--ink); background: #fff; }
.text-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.confirm-dialog .notice { margin: 0; }
