/* Organo — site styles. One file for every page. */

:root {
  --paper: #f3f6f4;
  --paper-2: #e7eeea;
  --card: #ffffff;
  --ink: #142b29;
  --ink-2: #44605c;
  --ink-3: #6f8783;
  --rule: #d3ddd9;
  --teal: #237c78;
  --teal-ink: #ffffff;
  --teal-soft: #d6ebe8;
  --marigold: #f2b53c;
  --marigold-ink: #3d2a00;
  --coral: #d9543a;
  --shadow: 0 1px 2px rgba(20, 43, 41, .06), 0 8px 24px rgba(20, 43, 41, .08);

  --display: "Familjen Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);

  --wrap: 72rem;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1a19;
    --paper-2: #142422;
    --card: #182b29;
    --ink: #e4efec;
    --ink-2: #a9c0bb;
    --ink-3: #83a09a;
    --rule: #28403d;
    --teal: #5cc2bb;
    --teal-ink: #08201e;
    --teal-soft: #1b3b38;
    --marigold: #f2be55;
    --marigold-ink: #2b1d00;
    --coral: #f07d63;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1a19;
  --paper-2: #142422;
  --card: #182b29;
  --ink: #e4efec;
  --ink-2: #a9c0bb;
  --ink-3: #83a09a;
  --rule: #28403d;
  --teal: #5cc2bb;
  --teal-ink: #08201e;
  --teal-soft: #1b3b38;
  --marigold: #f2be55;
  --marigold-ink: #2b1d00;
  --coral: #f07d63;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}

img, svg { max-width: 100%; }

a { color: var(--teal); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ---------------------------------------------------------------- header -- */

.site-header { padding-block: 20px; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.brand img { width: 36px; height: 36px; flex: none; border-radius: 9px; background: #fff; }
.nav { display: flex; gap: clamp(12px, 2.5vw, 28px); flex-wrap: wrap; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 700;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* ------------------------------------------------------------------ hero -- */

.hero { padding-block: clamp(24px, 5vw, 64px) clamp(40px, 7vw, 96px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 { font-size: var(--step-4); font-weight: 700; }
.hero h1 .slip {
  color: var(--coral);
  font-style: italic;
  font-weight: 600;
}
.hero .lede {
  margin-top: 20px;
  font-size: var(--step-1);
  color: var(--ink-2);
  max-width: 34ch;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px 20px;
  align-items: center;
  flex-wrap: wrap;
}
.fineprint { font-size: var(--step--1); color: var(--ink-3); }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--teal-ink);
  font-weight: 700;
  text-decoration: none;
  border: 0;
}
.button:hover { filter: brightness(1.06); text-decoration: none; }
.button svg { width: 20px; height: 20px; }

.hero-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: center;
  gap: 0;
}
.hero-scraps svg { display: block; width: 100%; height: auto; }
.hero-art .device { margin-left: -6%; }

/* A phone frame around a real screenshot. */
.device {
  margin: 0;
  padding: 10px;
  border-radius: 44px;
  background: #0d1716;
  box-shadow: var(--shadow), 0 30px 60px -20px rgba(20, 43, 41, .35);
  max-width: 320px;
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
}
.screens figure { margin: 0; display: grid; gap: 18px; justify-items: center; align-content: start; }
.screens .device { width: 100%; }
.screens figcaption { max-width: 30ch; color: var(--ink-2); text-align: center; }
.screens figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-size: var(--step-1); }

/* Fragments drift into place once, then rest. Visible without motion. */
@media (prefers-reduced-motion: no-preference) {
  .frag { animation: settle .9s cubic-bezier(.2, .8, .2, 1) both; }
  .frag:nth-of-type(2) { animation-delay: .08s; }
  .frag:nth-of-type(3) { animation-delay: .16s; }
  .frag:nth-of-type(4) { animation-delay: .24s; }
  .flow { stroke-dasharray: 4 7; animation: flow 1.6s linear infinite; }
}
@keyframes settle { from { transform: translateY(10px); } to { transform: none; } }
@keyframes flow { to { stroke-dashoffset: -22; } }

/* --------------------------------------------------------------- sections -- */

section { padding-block: clamp(48px, 8vw, 104px); }
.section-head { max-width: 40rem; display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); }

.band { background: var(--paper-2); }

/* Where it lives today */
.scatter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.scrap {
  background: var(--card);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  align-content: start;
}
.scrap .where {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.scrap .where svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.scrap .what { font-family: var(--display); font-size: var(--step-1); font-weight: 600; line-height: 1.25; }
.scrap .missed { font-size: var(--step--1); color: var(--coral); font-weight: 700; }
.scrap.note {
  background: var(--marigold);
  color: var(--marigold-ink);
  transform: rotate(-1.2deg);
}
.scrap.note .where, .scrap.note .where svg { color: var(--marigold-ink); }
.scrap.note .what { font-family: var(--hand); font-size: 1.7rem; font-weight: 600; line-height: 1.05; }
.scrap.note .missed { color: var(--marigold-ink); }

/* The prep chain */
.chain {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.said {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.said .mic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--teal-ink);
  display: grid; place-items: center;
}
.said .mic svg { width: 22px; height: 22px; }
.said blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.25;
}
.said .meta { color: var(--ink-3); font-size: var(--step--1); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps time {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--teal);
}
.steps strong { display: block; font-family: var(--display); font-size: var(--step-1); line-height: 1.3; }
.steps span { color: var(--ink-2); font-size: var(--step--1); }

/* Three ways in */
.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.way {
  background: var(--card);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--rule);
}
.way svg { width: 28px; height: 28px; color: var(--teal); }
.way h3 { font-size: var(--step-1); }
.way p { color: var(--ink-2); }

/* Privacy panel */
.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.ledger {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ledger h3 {
  font-size: var(--step--1);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 20px;
  background: var(--teal-soft);
  color: var(--ink);
}
.ledger ul { list-style: none; margin: 0; padding: 6px 20px 14px; }
.ledger li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-block: 10px;
  border-bottom: 1px dashed var(--rule);
}
.ledger li:last-child { border-bottom: 0; }
.ledger .tick { color: var(--teal); font-weight: 700; flex: none; width: 1.2em; }
.ledger .cross { color: var(--coral); font-weight: 700; flex: none; width: 1.2em; }
.ledger + .ledger { margin-top: 16px; }

/* Price */
.price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
}
.price h2 { font-size: var(--step-3); color: var(--paper); max-width: 18ch; }
.price p { color: color-mix(in srgb, var(--paper) 75%, transparent); margin-top: 10px; max-width: 42ch; }
.price .button { background: var(--marigold); color: var(--marigold-ink); }

/* ---------------------------------------------------------------- footer -- */

.site-footer {
  padding-block: 40px 56px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: var(--step--1);
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); }

/* ----------------------------------------------------------- prose pages -- */

.page { padding-block: clamp(24px, 5vw, 56px) clamp(48px, 8vw, 96px); }
.prose { max-width: 44rem; }
.prose h1 { font-size: var(--step-3); margin-bottom: 12px; }
.prose .updated { color: var(--ink-3); font-size: var(--step--1); margin-bottom: 28px; }
.prose h2 { font-size: var(--step-2); margin-top: 44px; margin-bottom: 12px; }
.prose h3 { font-size: var(--step-1); margin-top: 28px; margin-bottom: 8px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose .summary {
  background: var(--card);
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin-block: 8px 28px;
  box-shadow: var(--shadow);
}
.prose .summary ul { margin: 0; }
.prose .draft {
  background: var(--marigold);
  color: var(--marigold-ink);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: var(--step--1);
  font-weight: 700;
  margin-bottom: 24px;
}
.table-scroll { overflow-x: auto; margin-bottom: 18px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); min-width: 32rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.prose th { font-family: var(--display); color: var(--ink-2); font-weight: 700; }
.prose code { font-size: .92em; }
.prose details { border-bottom: 1px solid var(--rule); padding-block: 14px; }
.prose summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: var(--step-1); }
.prose details p { margin-top: 10px; color: var(--ink-2); }

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 860px) {
  .hero .wrap, .chain, .trust { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 620px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .screens { grid-template-columns: minmax(0, 1fr); }
  .screens .device { max-width: 280px; }
}
@media (max-width: 480px) {
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
