/* SpeedLoader's page, and only that page: the policy pages stay on /styles.css.
   Tape stripe is the default. Its fonts load with the page; every other theme's load on click. */

@font-face { font-family: "Archivo"; font-weight: 100 900; font-display: swap; src: url("themes/tape-stripe/fonts/archivo-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-stretch: 125%; font-display: swap; src: url("themes/tape-stripe/fonts/archivo-expanded-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jersey 10"; font-display: swap; src: url("themes/tape-stripe/fonts/jersey-10-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Signature"; font-display: swap; src: url("themes/tape-stripe/fonts/signature.woff2") format("woff2"); }

:root {
  --gut: clamp(16px, 5vw, 80px);
  --paper: #F4EFE3;
  --paper-back: #DAD2BF;
  --ink: #1B1A17;
  --ink-link: #0F5F5E;
}

[data-theme="tape-stripe"] { color-scheme: dark; --bg: #121212; --s2: #1B1B1B; --text: #D4D4D4; --head: #F2F0EA; --muted: #A8A8A8; --rule: #353535; --accent: #C6B441; --onacc: #121212; --hi: #C6B441; --at: #C6B441; --ats: #C6B441; --b1: #802A29; --b2: #1B8482; --b3: #A19228; --b4: #903C46; --fw: 700; --fst: 125%; --rb: 999px; --fh: Archivo, system-ui, sans-serif; --fb: Archivo, system-ui, sans-serif; --fn: "Jersey 10", system-ui, sans-serif; }
[data-theme="signalcraft-blue"] { --nz: .8; color-scheme: dark; --bg: #0A1C33; --s2: #0E2340; --text: #EAF5F7; --head: #EAF5F7; --muted: #A8C4CC; --rule: #1C3352; --accent: #4D93E8; --onacc: #060F1E; --hi: #8FC2F5; --at: #8FC2F5; --ats: #8FC2F5; --b1: #4D93E8; --b2: #C57F35; --b3: #38A98C; --b4: #9B7FE8; --fw: 600; --fst: 100%; --rb: 6px; --fh: "Clash Display", system-ui, sans-serif; --fb: system-ui, sans-serif; --fn: "Clash Display", system-ui, sans-serif; }
[data-theme="signalcraft-blue-light"] { --nz: .8; color-scheme: light; --bg: #F3F6FB; --s2: #E8EEF8; --text: #122B33; --head: #122B33; --muted: #3F5C66; --rule: #C9D6EA; --accent: #1A5CA8; --onacc: #FFFFFF; --hi: #14487F; --at: #14487F; --ats: #14487F; --b1: #1A5CA8; --b2: #C07A2E; --b3: #0F8161; --b4: #6E4FC7; --fw: 600; --fst: 100%; --rb: 6px; --fh: "Clash Display", system-ui, sans-serif; --fb: system-ui, sans-serif; --fn: "Clash Display", system-ui, sans-serif; }
[data-theme="poolside"] { --nz: .7; color-scheme: light; --bg: #2F8EDB; --s2: #F7FBFD; --text: #0F1B22; --head: #0F1B22; --muted: #0F1B22; --rule: rgb(15 27 34 / .22); --accent: #0F1B22; --onacc: #F7FBFD; --hi: #F7FBFD; --at: #0F1B22; --ats: #3E4C9E; --b1: #FF6B6B; --b2: #F7FBFD; --b3: #1596BC; --b4: #3E4C9E; --fw: 400; --fst: 100%; --rb: 0px; --fh: "Fugaz One", system-ui, sans-serif; --fb: Manrope, system-ui, sans-serif; --fn: "Fugaz One", system-ui, sans-serif; }
[data-theme="skyline"] { color-scheme: dark; --bg: #0E1020; --s2: #1F2440; --text: #C0CAF5; --head: #E6EAFF; --muted: #A3ABD6; --rule: #2A3050; --accent: #6FE7FF; --onacc: #0E1020; --hi: #6FE7FF; --at: #6FE7FF; --ats: #6FE7FF; --b1: #6FE7FF; --b2: #E45CF0; --b3: #7AA2F7; --b4: #A5F0FF; --fw: 400; --fst: 100%; --rb: 0px; --fh: "Tilt Neon", system-ui, sans-serif; --fb: "Instrument Sans", system-ui, sans-serif; --fn: "Tilt Neon", system-ui, sans-serif; }
[data-theme="street"] { color-scheme: dark; --bg: #0E181A; --s2: #1B2D31; --text: #D8E5E3; --head: #D8E5E3; --muted: #A3B8B8; --rule: #283B3F; --accent: #FFB9AB; --onacc: #0E181A; --hi: #FF4A42; --at: #FFB9AB; --ats: #FFB9AB; --b1: #FF4A42; --b2: #73DACA; --b3: #E0AF68; --b4: #7AA2F7; --fw: 400; --fst: 100%; --rb: 0px; --fh: "Tilt Neon", system-ui, sans-serif; --fb: Saira, system-ui, sans-serif; --fn: "Tilt Neon", system-ui, sans-serif; }
[data-theme="bauhaus"] { --nz: .5; color-scheme: light; --bg: #B2C5BA; --s2: #F4F5F0; --text: #171B21; --head: #171B21; --muted: #344140; --rule: #8FA39A; --accent: #E57A60; --onacc: #171B21; --hi: #A3432D; --at: #7E2F1E; --ats: #A3432D; --b1: #E57A60; --b2: #246563; --b3: #F6CDB6; --b4: #4E787E; --fw: 400; --fst: 100%; --rb: 999px; --fh: "Krona One", system-ui, sans-serif; --fb: "Albert Sans", system-ui, sans-serif; --fn: "Krona One", system-ui, sans-serif; }
[data-theme="roseofdune"] { --nz: .5; color-scheme: light; --bg: #EDC3B3; --s2: #F5E6D3; --text: #35302A; --head: #35302A; --muted: #5E4A40; --rule: #C68D95; --accent: #8E4250; --onacc: #F5E6D3; --hi: #8E4250; --at: #6F2F3C; --ats: #8E4250; --b1: #8E4250; --b2: #C06F0A; --b3: #753A66; --b4: #A02B16; --fw: 400; --fst: 100%; --rb: 6px; --fh: Michroma, system-ui, sans-serif; --fb: "Red Hat Text", system-ui, sans-serif; --fn: Michroma, system-ui, sans-serif; }
[data-theme="memphis"] { --nz: .42; color-scheme: light; --bg: #FDF3E3; --s2: #EFE3CD; --text: #17120E; --head: #17120E; --muted: #57514A; --rule: rgb(23 18 14 / .2); --accent: #1D3FD8; --onacc: #FFFBF2; --hi: #1D3FD8; --at: #1D3FD8; --ats: #1D3FD8; --b1: #1D3FD8; --b2: #FFC800; --b3: #17120E; --b4: #BD8630; --fw: 700; --fst: 100%; --rb: 4px; --fh: Rubik, system-ui, sans-serif; --fb: "Work Sans", system-ui, sans-serif; --fn: "Rubik Mono One", system-ui, sans-serif; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
main { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.55 var(--fb);
}

a { color: var(--at); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--head); outline-offset: 2px; }

h1, h2, h3, p, ul { margin: 0; }
h1, h2 {
  color: var(--head);
  font-family: var(--fh);
  font-weight: var(--fw);
  font-stretch: var(--fst);
  overflow-wrap: break-word;
}
h2 { text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 100px); line-height: 1; letter-spacing: -0.02em; }
h1 span { display: block; color: var(--hi); }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.015em; }
h2 + p { margin-top: 24px; }
p + p { margin-top: 16px; }
section { scroll-margin-top: 16px; }

.strong { color: var(--head); font-weight: 600; }
.narrow { max-width: 760px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--onacc);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: var(--rb);
}
.button:hover { filter: brightness(1.08); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta span { color: var(--muted); font-size: 17px; }

.stripe {
  height: 26px;
  background: linear-gradient(var(--b1) 0 5px, transparent 5px 7px, var(--b2) 7px 12px, transparent 12px 14px, var(--b3) 14px 19px, transparent 19px 21px, var(--b4) 21px 26px);
}

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 18px var(--gut);
}
.brand { color: var(--text); max-width: 100%; }
.brand svg { display: block; width: 275px; max-width: 100%; height: auto; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 16px; }
.site-header nav a { color: var(--text); }
.site-header nav a.try {
  background: var(--accent);
  color: var(--onacc);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--rb);
}

.hero { padding: clamp(56px, 8vw, 120px) var(--gut) clamp(48px, 6vw, 80px); }
.hero-sub { margin-top: 32px; max-width: 760px; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; }
.hero .cta { margin-top: 36px; }

/* The stripe turning around a panel */
.t1, .t2, .t3, .t4 { border: 5px solid; border-right: 0; }
.t1 { margin-left: var(--gut); border-color: var(--b1); border-radius: 46px 0 0 46px; padding: 2px 0 2px 2px; }
.t2 { border-color: var(--b2); border-radius: 39px 0 0 39px; padding: 2px 0 2px 2px; }
.t3 { border-color: var(--b3); border-radius: 32px 0 0 32px; padding: 2px 0 2px 2px; }
.t4 { border-color: var(--b4); border-radius: 25px 0 0 25px; padding: clamp(24px, 4vw, 56px) var(--gut) clamp(24px, 4vw, 56px) clamp(20px, 4vw, 56px); }
.open .t1, .open .t2, .open .t3, .open .t4 { border-bottom: 0; }
.open .t1 { border-radius: 46px 0 0 0; padding: 2px 0 0 2px; }
.open .t2 { border-radius: 39px 0 0 0; padding: 2px 0 0 2px; }
.open .t3 { border-radius: 32px 0 0 0; padding: 2px 0 0 2px; }
.open .t4 { border-radius: 25px 0 0 0; padding: clamp(40px, 7vw, 96px) var(--gut) clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px); }

/* The run panel */
.run-name { color: var(--muted); font-size: 16px; }
.run-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-top: 8px; }
.run-count { display: flex; align-items: baseline; gap: 14px; color: var(--muted); }
.run-count b { font-family: var(--fn); font-weight: 400; font-size: clamp(84px, 11vw, 150px); line-height: 0.85; color: var(--hi); white-space: nowrap; }
.run-state { border: 1px solid var(--hi); font-weight: 600; font-size: 16px; padding: 8px 16px; border-radius: 4px; }
.run-sets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.run-sets li { border: 1px solid var(--rule); border-radius: 4px; padding: 12px 16px; font-size: 16px; line-height: 1.35; color: var(--muted); }
.run-sets li.now { border-color: var(--hi); }
.run-sets b { display: block; font-weight: 600; color: var(--head); }
.run-note { margin-top: 24px; }

/* The letter */
.letter-wrap { display: flex; justify-content: center; padding: clamp(72px, 10vw, 140px) 16px; }
.letter { position: relative; width: 100%; max-width: 760px; }
.letter::before { content: ""; position: absolute; inset: 0; background: var(--paper-back); transform: rotate(1.6deg); }
.letter-page {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  transform: rotate(-0.7deg);
  padding: clamp(28px, 6vw, 72px);
  font-size: 19px;
  line-height: 1.6;
}
.letter-page p + p { margin-top: 20px; }
.letter-page a { color: var(--ink-link); }
.letter-page a:focus-visible { outline-color: var(--ink); }
.letter-page .pull {
  margin: 28px 0;
  font-family: var(--fh);
  font-weight: var(--fw);
  font-stretch: var(--fst);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.letter-page .sign { margin-top: 28px; font-family: "Signature", cursive; font-size: 52px; line-height: 1; }
.letter-page .who { margin-top: 8px; font-size: 16px; line-height: 1.4; }

/* Feature rows */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: center;
  padding: 0 var(--gut) clamp(72px, 9vw, 120px);
}
.split.after-stripe { padding-top: clamp(72px, 9vw, 120px); }
.pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 16px;
  padding: 0 var(--gut) clamp(72px, 9vw, 120px);
}
.pair > section { background: var(--s2); padding: clamp(24px, 3.5vw, 44px); }
.pair h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.01em; }
.pair h2 + p { margin-top: 20px; }
.panel { border: 1px solid var(--rule); background: var(--s2); padding: clamp(16px, 2.5vw, 28px); }

.grid-row {
  display: grid;
  grid-template-columns: minmax(84px, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  color: var(--head);
  font-size: 15px;
}
.grid-row.head { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.25; }
.grid-row i { display: block; height: 30px; border: 1px solid var(--rule); }
.grid-row i.c1 { background: var(--b1); border-color: var(--b1); }
.grid-row i.c2 { background: var(--b2); border-color: var(--b2); }
.grid-row i.c3 { background: var(--b3); border-color: var(--b3); }
.grid-row i.c4 { background: var(--b4); border-color: var(--b4); }

.ai-count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; color: var(--muted); }
.ai-count b { font-family: var(--fn); font-weight: 400; font-size: 88px; line-height: 0.85; color: var(--ats); }
.ai-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--rule);
  color: var(--head);
  font-size: 16px;
}
.ai-state { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.ai-state i { display: flex; width: 40px; height: 22px; padding: 3px; border-radius: 999px; background: var(--muted); }
.ai-state i::after { content: ""; width: 16px; height: 16px; border-radius: 999px; background: var(--bg); }
.ai-row.on .ai-state { color: var(--ats); }
.ai-row.on .ai-state i { justify-content: flex-end; background: var(--accent); }

.matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.matrix div { border: 1px solid var(--rule); background: var(--s2); padding: 18px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.matrix span { display: block; color: var(--ats); font-size: 14px; font-weight: 600; }
.matrix b { display: block; margin: 4px 0 6px; color: var(--head); font-family: var(--fh); font-weight: var(--fw); font-stretch: var(--fst); overflow-wrap: break-word; }

/* The small stuff and the theme switcher */
.small-stuff { padding: 0 var(--gut) clamp(72px, 9vw, 120px); max-width: 1100px; }
.small-stuff h2 + p { margin-top: 20px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; }
.small-stuff strong { color: var(--hi); font-weight: 600; }
.try-on { margin-top: 28px; }
.themes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.themes button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--s2);
  color: var(--text);
  border: 2px solid var(--rule);
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  touch-action: manipulation;
}
.themes button[aria-pressed="true"] { border-color: var(--text); }
.themes i { display: block; width: 22px; height: 22px; border: 5px solid; }
.flavour { margin-top: 14px; color: var(--muted); }

/* Fair questions */
.questions { padding: clamp(72px, 9vw, 120px) var(--gut); }
.qa {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 36px clamp(32px, 5vw, 72px);
  margin-top: 40px;
}
.qa h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.25; color: var(--head); }
.whole-job { margin-top: 48px; max-width: 760px; }

/* Plans, trial and billing: plain where money is decided */
.plain { padding: 0 var(--gut) clamp(72px, 9vw, 120px); }
.plain > p, .plain > .note { max-width: 760px; }
.plain > h2 + p { margin-top: 20px; }
.note { margin-top: 16px; color: var(--head); }
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 32px 0 24px;
}
.plan { background: var(--s2); border-top: 5px solid var(--b1); padding: 28px; }
.plan:nth-child(2) { border-top-color: var(--b2); }
.plan:nth-child(3) { border-top-color: var(--b3); }
.plan h3 { font-family: var(--fh); font-weight: var(--fw); font-stretch: var(--fst); font-size: 24px; color: var(--head); }
.plan-for { margin-top: 4px; color: var(--muted); font-size: 16px; }
.price { margin-top: 18px; }
.price strong { font-family: var(--fn); font-weight: 400; font-size: 72px; line-height: 0.9; color: var(--ats); }
.price-fallback { margin-top: 18px; }
.price-alt { margin-top: 2px; color: var(--muted); font-size: 16px; }
.price s { margin-left: 8px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fine ol { padding-left: 1.25rem; }
.fine ol + p, .fine ul + p, .fine p + p { margin-top: 16px; }
.fine h2 + ol { margin-top: 20px; }
.fine ol li + li { margin-top: 6px; }
.price-founding { margin-top: 14px; font-size: 16px; }
.plan ul { margin-top: 14px; padding: 14px 0 0; border-top: 1px solid var(--rule); list-style: none; font-size: 16px; }
.plan li + li { margin-top: 4px; }

.plain h2.sub { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.01em; }
.trial-go { margin-top: 28px; }
.fine {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px clamp(32px, 6vw, 96px);
  align-items: start;
}
.fine h2 + p, .fine h2 + ul { margin-top: 20px; }
.fine ul { padding-left: 1.25rem; }
.fine li + li { margin-top: 6px; }
.fine ul + p { margin-top: 16px; }
address { font-style: normal; margin-top: 20px; }

/* Close */
.close h2 { font-size: clamp(40px, 6.6vw, 100px); line-height: 1; letter-spacing: -0.02em; }
.close h2 + p { font-size: clamp(20px, 2vw, 26px); }
.close .cta { margin-top: 24px; }

/* Phones: a shorter nav, and --nz scales down the big numbers, which are wide in some themes. */
@media (max-width: 560px) {
  .site-header nav .wide { display: none; }
  .run-count { flex-wrap: wrap; }
  .run-sets { grid-template-columns: 1fr 1fr; }
  .run-count b { font-size: calc(22vw * var(--nz, 1)); }
}
@media (max-width: 360px) {
  .price strong { font-size: 56px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 28px var(--gut); color: var(--muted); font-size: 15px; line-height: 1.5; }
.site-footer p + p { margin-top: 6px; }
.site-footer a { color: var(--muted); }
