/* The production teaser (teaser.html, docs/BETA_TEASER.md). Always dark: the colours
   are the app's Graphite theme (styles-dark.css). */
:root {
  color-scheme: dark;
  --tz-page: #14171b;
  --tz-band: #181b20;
  --tz-card: #1c2026;
  --tz-field: #20252c;
  --tz-line: #353b43;
  --tz-rule: #262b32;
  --tz-ink: #e7eaee;
  --tz-strong: #ffffff;
  --tz-soft: #b4bcc6;
  --tz-muted: #9aa3ae;
  --tz-brand: #1d8a86;
  --tz-brand-hover: #23a39e;
  --tz-link: #7fd1c9;
  --tz-accent: #e2774f;
  --tz-danger: #ef6a64;
  --tz-focus: #5aa2ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--tz-page);
  color: var(--tz-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

a { color: var(--tz-link); }
a:hover { color: var(--tz-strong); }
:is(a, button, input):focus-visible { outline: 2px solid var(--tz-focus); outline-offset: 2px; }

.tz { min-height: 100vh; display: flex; flex-direction: column; }
.tz main { flex: 1; }
.tz-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.tz-nav { max-width: 1120px; width: 100%; margin: 0 auto; padding: 20px 16px; display: flex; align-items: center; gap: 10px; }
.tz-nav img { display: block; }
.tz-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.tz-pill { padding: 3px 8px; border: 1px solid var(--tz-line); border-radius: 999px; color: var(--tz-muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

.tz-hero { max-width: 760px; margin: 0 auto; padding: clamp(48px, 10vw, 88px) 16px clamp(64px, 10vw, 96px); text-align: center; }
.tz-mark { display: block; margin: 0 auto 32px; }
.tz-eyebrow { margin: 0 0 14px; color: var(--tz-link); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.tz-hero h1 { margin: 0; color: var(--tz-strong); font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; }
.tz-lead { max-width: 34rem; margin: 22px auto 34px; color: var(--tz-soft); font-size: 1.18rem; line-height: 1.55; }

.tz-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 30rem; margin: 0 auto; }
.tz-form input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid #454c55; border-radius: 6px; background: var(--tz-field); color: var(--tz-ink); font: inherit; font-size: 1rem; }
.tz-form input::placeholder { color: #7d8691; }
.tz-form button, .tz-confirm { min-height: 48px; padding: 0 22px; border: 1px solid var(--tz-brand); border-radius: 6px; background: var(--tz-brand); color: #fff; font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; }
.tz-form button:hover, .tz-confirm:hover { background: var(--tz-brand-hover); border-color: var(--tz-brand-hover); }
.tz-form button:disabled, .tz-confirm:disabled { opacity: 0.6; cursor: progress; }
.tz-turnstile { flex: 1 1 100%; display: flex; justify-content: center; }
.tz-turnstile:empty { display: none; }
.tz-hidden-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tz-error { margin: 10px 0 0; color: var(--tz-danger); font-size: 0.9rem; font-weight: 600; }
.tz-consent { max-width: 30rem; margin: 14px auto 0; color: var(--tz-muted); font-size: 0.86rem; line-height: 1.5; }

.tz-status { max-width: 30rem; margin: 0 auto; padding: 18px 20px; border: 1px solid #2c5f5c; border-radius: 10px; background: #182a2b; text-align: left; }
.tz-status p { margin: 0; color: var(--tz-soft); line-height: 1.5; }
.tz-status .tz-status-title { margin: 0 0 4px; color: var(--tz-strong); font-weight: 800; }
.tz-confirm { margin-top: 14px; }

.tz-features { border-top: 1px solid var(--tz-rule); background: var(--tz-band); padding: clamp(56px, 9vw, 80px) 0 clamp(64px, 9vw, 88px); }
.tz-features h2 { margin: 0 0 40px; color: var(--tz-strong); font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; text-align: center; }
.tz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.tz-grid article { padding: 28px 26px; border: 1px solid var(--tz-line); border-radius: 12px; background: var(--tz-card); }
.tz-num { margin: 0 0 16px; color: var(--tz-accent); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.tz-grid h3 { margin: 0 0 10px; color: var(--tz-strong); font-size: 1.2rem; line-height: 1.25; }
.tz-grid article p:last-child { margin: 0; color: var(--tz-soft); font-size: 0.98rem; line-height: 1.55; }
.tz-more { margin: 32px 0 0; color: var(--tz-muted); font-size: 0.95rem; text-align: center; }

.tz-footer { border-top: 1px solid var(--tz-rule); }
.tz-footer-row { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--tz-muted); font-size: 0.86rem; }

/* The unsubscribe page (unsubscribe.html) uses the same frame. */
.tz-unsub { max-width: 560px; margin: 0 auto; padding: clamp(48px, 10vw, 96px) 16px; text-align: center; }
.tz-unsub h1 { margin: 0 0 14px; color: var(--tz-strong); font-size: clamp(1.8rem, 5vw, 2.4rem); letter-spacing: -0.02em; }
.tz-unsub p { color: var(--tz-soft); line-height: 1.55; }

/* The privacy notice (privacy.html), in the same frame. The table scrolls on its own on a phone. */
.tz-legal { box-sizing: border-box; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vw, 72px) 16px; color: var(--tz-soft); line-height: 1.6; }
.tz-legal h1 { margin: 0 0 6px; color: var(--tz-strong); font-size: clamp(1.8rem, 5vw, 2.4rem); letter-spacing: -0.02em; }
.tz-legal h2 { margin: 36px 0 10px; color: var(--tz-strong); font-size: 1.2rem; }
.tz-legal-date { margin: 0; color: var(--tz-muted); font-size: 0.9rem; }
.tz-legal table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 0.9rem; }
.tz-legal th, .tz-legal td { padding: 10px 12px; border: 1px solid var(--tz-line); text-align: left; vertical-align: top; min-width: 9rem; }
.tz-legal th { background: var(--tz-card); color: var(--tz-strong); }
.tz-legal strong { color: var(--tz-ink); }
