/* Unsubscribed. brand tokens and base styles (v1, 2026-10-28).
   Idea: the "unsubscribe" link, reclaimed. One red strike cancels the
   subscription; everything else is calm paper and ink. The strike is the
   only loud thing on any page. */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Colour */
  --paper: #f4f6f8;        /* page */
  --paper-2: #e9edf1;      /* bands, table heads */
  --ink: #0f1419;          /* text */
  --ink-2: #3f4a55;        /* secondary text */
  --ink-3: #74808b;        /* captions, labels */
  --rule: #d3d9df;         /* hairlines */
  --strike: #d7263d;       /* the cancel red: strike-throughs, primary button, one accent per view */
  --strike-ink: #ffffff;
  --saved: #1f8a5b;        /* money saved, "done" */
  --term-bg: #0b0f14;      /* terminal block */
  --term-fg: #d6e2ec;
  --term-green: #5ee39c;
  --term-dim: #6b7a86;
  /* Type */
  --display: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  /* Scale */
  --radius: 4px;
  --measure: 64ch;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1419; --paper-2: #161c23; --ink: #e9eef2; --ink-2: #b6c0c9; --ink-3: #7f8b96; --rule: #27313a;
    --strike: #ff4d5e; --strike-ink: #0f1419; --saved: #3fcf8a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1419; --paper-2: #161c23; --ink: #e9eef2; --ink-2: #b6c0c9; --ink-3: #7f8b96; --rule: #27313a;
  --strike: #ff4d5e; --strike-ink: #0f1419; --saved: #3fcf8a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
a { color: var(--ink); }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; font-weight: 800; max-width: 18ch; }
h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; font-weight: 800; max-width: 30ch; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.lead { font-size: 20px; color: var(--ink-2); max-width: var(--measure); }
.muted { color: var(--ink-3); }

/* The strike: a word cancelled by hand. */
.strike { position: relative; display: inline-block; white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: -1%; right: -1%; top: 54%; height: 0.08em; background: var(--strike); transform: rotate(-1.5deg); border-radius: 2px; }

/* Header and wordmark */
header.top { padding-block: 16px; border-bottom: 1px solid var(--rule); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; line-height: 1; }
.wordmark .mark { width: 26px; height: 26px; flex: none; }
.wordmark .wm { display: inline-block; white-space: nowrap; }
.wordmark .strike::after { top: 50%; height: 0.09em; }
.wordmark.lg { font-size: 34px; gap: 16px; }
.wordmark.lg .mark { width: 47px; height: 47px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
nav a { color: var(--ink-2); text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--ink); text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); }
.btn.primary { background: var(--strike); color: var(--strike-ink); }
.btn.ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn:focus-visible { outline: 3px solid var(--strike); outline-offset: 2px; }
.btn[disabled] { opacity: 0.6; cursor: default; }

section { padding-block: 64px; }
section + section { border-top: 1px solid var(--rule); }
.band { background: var(--paper-2); }
.stack { display: grid; gap: 18px; }

/* Terminal */
.term { background: var(--term-bg); color: var(--term-fg); border-radius: 6px; padding: 18px 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; min-width: 0; overflow-x: auto; }
.term .bar { display: flex; gap: 6px; margin-bottom: 12px; }
.term .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4650; display: block; }
.term .p { color: var(--term-green); }
.term .d { color: var(--term-dim); }
.term .c { animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .term .c { animation: none; } }

/* Tables, forms, details */
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.tablewrap { overflow-x: auto; }
form { display: grid; gap: 14px; max-width: 560px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
input, select { font: inherit; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
input:focus-visible, select:focus-visible { outline: 3px solid var(--strike); outline-offset: 1px; }
details { border-top: 1px solid var(--rule); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; font-family: var(--mono); color: var(--ink-3); }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }
.ok { padding: 12px 14px; border: 1px solid var(--saved); border-radius: var(--radius); font-size: 15px; }
.err { padding: 12px 14px; border: 1px solid var(--strike); border-radius: var(--radius); font-size: 15px; }
footer { padding-block: 28px 40px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--ink-3); }

/* Screens gallery */
.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.screen { display: grid; gap: 8px; min-width: 0; }
.screen img { width: 100%; height: auto; max-width: 100%; border: 1px solid var(--rule); border-radius: 6px; display: block; }
.screen figcaption { font-size: 14px; color: var(--ink-2); }
.screen figcaption b { color: var(--ink); }

@media (max-width: 820px) {
  .screens { grid-template-columns: 1fr; }
  section { padding-block: 48px; }
}
/* Phone header: the section links go; About and Waitlist stay beside the logo. */
@media (max-width: 600px) {
  nav a.sec { display: none; }
}
