@font-face {
  font-family: 'Kaushan Script';
  src: url('/KaushanScript-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Pale (2026-09-17, founder + partner): near-white light with warm glows is the default look;
   dark is deep jade. Cards everywhere share --cell plus the four tints. */
:root {
  --bg: #eef2ee;
  --bg-2: #e2e9e4;
  --bg-moon: #ddd9cf;
  --cell: rgba(255, 255, 255, 0.55);
  --ink: #14352f;
  --muted: #3e5a54;
  --accent: #d85a30;
  --accent-ink: #14110e;
  --accent-text: #a03c19;
  --link: var(--accent-text);
  --line: rgba(20, 53, 47, 0.16);
  --glow-a: rgba(216, 90, 48, 0.3);
  --glow-b: rgba(216, 90, 48, 0.2);
  --glow-c: rgba(216, 90, 48, 0.18);
  --peach-tint: rgba(216, 90, 48, 0.2);
  --radius: 14px;
  --gutter: 1rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #173f38;
    --bg-2: #1f4a42;
    --bg-moon: #2a3c38;
    --cell: rgba(255, 255, 255, 0.05);
    --ink: #e9f3ee;
    --muted: #b3cbc3;
    --accent-text: #f6b89f;
    --link: var(--accent-text);
    --line: rgba(233, 243, 238, 0.14);
    --glow-a: rgba(216, 90, 48, 0.3);
    --soon: #e0683f; /* "Coming soon" keeps a contrast margin on the dark background */
    --glow-b: rgba(216, 90, 48, 0.18);
    --glow-c: rgba(216, 90, 48, 0.2);
    --peach-tint: rgba(216, 90, 48, 0.22);
  }
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  background:
    radial-gradient(60rem 40rem at 110% -10%, var(--glow-a), transparent 60%),
    radial-gradient(50rem 36rem at -20% 70%, var(--glow-c), transparent 60%), var(--bg);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
a {
  color: var(--link);
  text-decoration-color: var(--accent);
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
  }
}
h1,
h2,
h3 {
  text-wrap: balance; /* even line lengths, no one-word last lines */
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
p {
  max-width: 62ch;
}
.muted {
  color: var(--muted);
}
section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  section {
    padding: 5.5rem 0;
  }
}

/* header */
header {
  height: 64px;
  display: flex;
  align-items: center;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  font-family: 'Kaushan Script', cursive;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  font-size: min(
    4rem,
    13.5vw
  ); /* full size from ~475px up; scales down so narrow phones don't scroll sideways */
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img {
  width: min(5.25rem, 17.5vw);
  height: min(5.25rem, 17.5vw);
}
@media (min-width: 768px) {
  .brand {
    font-size: 4.9rem;
  }
  .brand img {
    width: 6.3rem;
    height: 6.3rem;
  }
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
}
nav a:hover {
  color: var(--ink);
}

/* hero */
.hero {
  border-top: 0;
  padding-top: 2rem;
}
.hero .wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 3rem;
  }
  .hero .wrap {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}
.soon {
  font-family: 'Kaushan Script', cursive;
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--soon, var(--accent));
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.soon-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
}
h1 {
  font-size: clamp(2.25rem, 5.6vw, 3.6rem);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.lede {
  font-size: 1.2rem;
  max-width: 34ch;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--cell);
}
.btn-secondary:hover {
  border-color: var(--muted);
}

/* bento */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* one column on phones that never outgrows the screen */
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .bento {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
  }
  .bento .big {
    grid-row: 1 / 3;
  }
}
.cell {
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--cell);
}
.cell.big {
  background: linear-gradient(160deg, var(--bg-2), var(--peach-tint));
}
.cell.moonlit {
  background: var(--bg-moon);
}
.seasons {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.6rem;
}
.seasons li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.seasons b {
  font-weight: 600;
}
@media (min-width: 640px) {
  .seasons li {
    grid-template-columns: 8.5rem 1fr;
  }
}

/* manifesto */
.manifesto {
  background: transparent;
}
.manifesto p {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  max-width: 40ch;
  margin-top: 1.25rem;
}

/* facts */
.facts {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.facts li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
}

/* faq */
.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--accent-text);
  font-weight: 400;
  flex: none;
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  margin-top: 0.75rem;
  color: var(--muted);
}
.faq-list {
  margin-top: 2rem;
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  font-size: 0.92rem;
  color: var(--muted);
}
footer p + p {
  margin-top: 0.6rem;
}

/* header wraps on narrow screens; current page underlined */
header {
  height: auto;
  min-height: 64px;
}
header .wrap {
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
}
nav a {
  margin-left: 0;
  padding-bottom: 0.1rem;
  border-bottom: 2px solid transparent;
}
nav a[aria-current] {
  color: var(--ink);
  border-bottom-color: var(--accent-text);
}
main > section:first-child {
  border-top: 0;
}

/* four-cell wedge */
@media (min-width: 768px) {
  .bento4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}
.cell.warm {
  background: linear-gradient(160deg, var(--bg-2), var(--peach-tint));
}
.cell h3 a {
  color: inherit;
  text-decoration: none;
}
.cell .more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
}

/* long-form pages (Learn, the app page) */
.page-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: none; /* long Learn titles fit one line on desktop; text-wrap: balance splits them on phones */
  margin-bottom: 0.75rem;
}
.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}
.prose p,
.prose ul {
  margin-top: 1rem;
  max-width: 68ch;
}
.prose ul {
  padding-left: 1.2rem;
}
.prose li + li {
  margin-top: 0.4rem;
}
.note {
  color: var(--muted);
  font-size: 0.95rem;
}
.crisis {
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.25rem 1rem 1rem;
  margin-top: 1.25rem;
  max-width: 68ch;
}
.next {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.parts {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .parts {
    grid-template-columns: 1fr 1fr;
  }
}
.parts li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.parts a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.15rem;
}
.parts p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}
.qlinks {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}
.qlinks a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.qlinks a:hover {
  color: var(--accent-text);
}

/* the four seasons laid out as a cycle: ring in the middle, seasons at the corners, clockwise */
.cycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem 0.9rem;
  align-items: center;
  margin-top: 1.25rem;
}
.cycle-ring {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 5.5rem;
  height: 5.5rem;
}
@media (min-width: 640px) {
  .cycle-ring {
    width: 8rem;
    height: 8rem;
  }
}
.cycle .s {
  font-size: 0.95rem;
  line-height: 1.45;
}
.cycle .s b {
  display: block;
  font-weight: 600;
  padding-left: 1rem;
  position: relative;
}
.cycle .s b::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--dot);
}
.cycle .winter {
  --dot: #4e6f78;
  grid-column: 1;
  grid-row: 1;
}
.cycle .spring {
  --dot: #8fae7a;
  grid-column: 3;
  grid-row: 1;
}
.cycle .summer {
  --dot: #d85a30;
  grid-column: 3;
  grid-row: 2;
}
.cycle .autumn {
  --dot: #c98b3a;
  grid-column: 1;
  grid-row: 2;
}

/* wedge rhythm on desktop: seasons wide, two cells, privacy wide */
@media (min-width: 768px) {
  .bento4 .warm,
  .bento4 .cell:last-child {
    grid-column: 1 / -1;
  }
  .cycle {
    gap: 1rem 2rem;
  }
  .cycle .s {
    font-size: 1rem;
    max-width: 26ch;
  }
  .cycle .spring,
  .cycle .summer {
    justify-self: start;
  }
  .cycle .winter,
  .cycle .autumn {
    justify-self: end;
    text-align: right;
  }
  .cycle .winter b,
  .cycle .autumn b {
    padding-left: 0;
    padding-right: 1rem;
  }
  .cycle .winter b::before,
  .cycle .autumn b::before {
    left: auto;
    right: 0;
  }
  .cycle-ring {
    width: 10rem;
    height: 10rem;
  }
}

.prose h3 {
  margin-top: 2rem;
}

/* warm glows painted on the page itself, so they drift through section breaks instead of
   stopping at them; positions are in rem from the top and simply fall off the end of short pages */
main {
  background:
    radial-gradient(70rem 40rem at 88% 58rem, var(--glow-b), transparent 65%),
    radial-gradient(70rem 40rem at 8% 96rem, var(--glow-b), transparent 65%),
    radial-gradient(80rem 44rem at 22% 124rem, var(--glow-a), transparent 65%),
    radial-gradient(70rem 40rem at 85% 156rem, var(--glow-b), transparent 65%),
    radial-gradient(70rem 40rem at 12% 192rem, var(--glow-b), transparent 65%),
    radial-gradient(70rem 40rem at 85% 226rem, var(--glow-b), transparent 65%);
}
main > section.manifesto {
  background: transparent;
}

/* each wedge cell tinted from the ring: orange summer, amber autumn, moon grey, slate winter */
.cell.amber {
  background: linear-gradient(160deg, var(--bg-2), rgba(201, 139, 58, 0.26));
}
.cell.slate {
  background: linear-gradient(160deg, var(--bg-2), rgba(78, 111, 120, 0.3));
}

/* an open FAQ answer lights up: a warm glow spilling from its top-left corner */
.faq details {
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 -1rem;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}
.faq details[open] {
  background:
    radial-gradient(36rem 14rem at 100% 100%, var(--glow-b), transparent 70%), var(--cell);
}
.faq details[open] summary {
  color: var(--accent-text);
}
.faq details[open] p {
  color: var(--ink);
}

/* spec sheet: term left, value right */
.spec {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 1.5rem;
  max-width: 68ch;
}
.spec dt {
  font-weight: 600;
  margin-top: 0.75rem;
}
.spec dd {
  margin: 0;
  color: var(--muted);
}
@media (min-width: 640px) {
  .spec {
    grid-template-columns: 11rem 1fr;
  }
  .spec dt,
  .spec dd {
    margin-top: 0;
    padding: 0.6rem 0;
    border-top: 1px solid var(--line);
  }
}

/* security levels comparison: scrolls inside its own box on narrow screens */
.levels-wrap {
  overflow-x: auto;
  max-width: 68ch; /* matches .prose p, so the table lines up with the text */
  margin: 1.25rem 0;
}
.levels {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.95rem;
}
.levels th,
.levels td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.75rem 0.55rem 0;
  border-top: 1px solid var(--line);
}
.levels thead th {
  border-top: none;
}
.levels th {
  font-weight: 600;
}
.levels td {
  color: var(--muted);
}

/* Learn index cards take the wedge's tints in rotation, so the grid reads as a set */
.parts li {
  background: var(--cell);
  transition: transform 0.15s ease;
}
.parts li:hover {
  transform: translateY(-2px);
}
.parts li:nth-child(4n + 1) {
  background: linear-gradient(160deg, var(--bg-2), var(--peach-tint));
}
.parts li:nth-child(4n + 2) {
  background: linear-gradient(160deg, var(--bg-2), rgba(201, 139, 58, 0.26));
}
.parts li:nth-child(4n + 3) {
  background: var(--bg-moon);
}
.parts li:nth-child(4n) {
  background: linear-gradient(160deg, var(--bg-2), rgba(78, 111, 120, 0.3));
}
@media (prefers-reduced-motion: reduce) {
  .parts li {
    transition: none;
  }
  .parts li:hover {
    transform: none;
  }
}

/* centered hero: no side piece, everything on one axis */
.hero-center .wrap {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.hero-center h1,
.hero-center .lede,
.hero-center .soon-sub,
.hero-center .soon-link {
  margin-left: auto;
  margin-right: auto;
}
.soon-link {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.soon-link a {
  color: var(--accent-text);
  font-weight: 600;
}
.hero-center .actions {
  justify-content: center;
}

/* sources: dense list, ids as links */
.sources ul {
  padding-left: 1.1rem;
}
.sources li {
  font-size: 0.97rem;
  color: var(--muted);
}
.sources li {
  margin-top: 0.6rem;
}
.sources li > a {
  color: var(--ink);
  font-weight: 600;
}
.sources .cite {
  color: var(--muted);
}
.sources .why {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

/* cross-links between FAQ answers and Learn pages */
.related {
  font-size: 0.95rem;
  color: var(--muted);
}
.faq details .related {
  margin-top: 0.5rem;
}
.prose .related {
  margin-top: 0.5rem;
}

/* footer: the launch line follows the reader everywhere; becomes the store links on launch day */
footer .soon-line {
  color: var(--accent-text);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

/* newsletter box in the hero */
.signup {
  width: min(100%, 30rem);
  margin: 0 auto 1rem;
  text-align: left;
}
.signup label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.signup-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.signup input {
  flex: 1 1 14rem;
  font: inherit;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--muted);
  background: var(--cell);
  color: var(--ink);
}
.signup input::placeholder {
  color: var(--muted);
}
.signup input:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
}
.signup button {
  font: inherit;
  cursor: pointer;
  flex: 0 0 auto;
}
.signup-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.6rem;
  max-width: none;
}
.hero-center .signup {
  margin-left: auto;
  margin-right: auto;
}

/* support strip (About): one row per cadence, pills are Stripe payment links */
.support {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cell);
  max-width: 68ch;
}
.support h2 {
  margin-top: 0;
  font-size: 1.35rem;
}
.support-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 1rem;
}
.support-row > span {
  font-weight: 600;
  min-width: 4.5rem;
}
.support-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.support .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
}
.support .note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 10;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--link);
}
.skip:focus {
  left: 0.5rem;
}
