/* Plain Human: one stylesheet, no frameworks, no web fonts, no trackers. */
:root {
  --paper: #FAF8F4;
  --ink: #141414;
  --muted: #5E5B55;
  --line: #E4E0D8;
  --card: #FFFFFF;
  --accent: #141414;
  --volt: #DFFF00;
  --night: #0D0E11;
  --night-2: #16181D;
  --night-line: #2A2D34;
  --white: #FFFFFF;
  --amber: #FF9F1A;
  --red: #FF3B30;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --wide: "Archivo Expanded", "Arial Black", "Helvetica Neue", var(--sans);
  --max: 680px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121212;
    --ink: #F2F0EC;
    --muted: #A6A29A;
    --line: #2B2A28;
    --card: #1B1B1A;
    --accent: #F2F0EC;
  }
}
:root[data-theme="dark"] {
  --paper: #121212; --ink: #F2F0EC; --muted: #A6A29A; --line: #2B2A28; --card: #1B1B1A; --accent: #F2F0EC;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 24px; } }

/* Header and footer */
.top { padding: 28px 0 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 18px; }
.brand span { font-family: var(--serif); font-style: italic; font-weight: 400; }
.nav { display: flex; gap: 18px; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.foot { margin-top: 96px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Studio home */
.hero { padding: 88px 0 24px; }
.hero h1 {
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 24px;
}
.hero h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.lede { font-size: 20px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 34em; }
.section { padding-top: 64px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }

.app-card {
  display: flex; gap: 18px; align-items: center;
  padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.app-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.app-card img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.app-card h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.app-card p { margin: 2px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.app-card .go { margin-left: auto; font-size: 22px; color: var(--muted); flex: none; }

.note {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
}
.face {
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-weight: 700; font-size: 20px; overflow: hidden;
}
.face img { width: 100%; height: 100%; object-fit: cover; }
.note p { margin: 0 0 14px; }
.sign { font-family: var(--serif); font-style: italic; font-size: 20px; }

.rules { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rules li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.rules b { font-weight: 650; }
.rules .n { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Legal and support pages */
.doc { padding-top: 64px; }
.doc h1 { font-size: clamp(32px, 7vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; letter-spacing: -0.01em; margin: 44px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.summary {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 0 0 8px;
}
.summary p { margin: 0 0 8px; font-weight: 600; }
.summary ul { margin: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.callout { border-left: 3px solid var(--ink); padding: 4px 0 4px 16px; margin: 20px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.btn {
  display: inline-block; padding: 13px 20px; border-radius: 999px; background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 650; font-size: 16px;
}
.btn:hover { opacity: .88; }

/* Mission page: the app's own brand (Night + Volt) */
body.mission { background: var(--night); color: var(--white); }
body.mission .nav, body.mission .foot { color: #9CA0A8; }
body.mission .nav a:hover, body.mission .nav a[aria-current="page"] { color: var(--white); }
body.mission .foot { border-color: var(--night-line); }
.m-hero { padding: 72px 0 8px; }
.m-hero img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 0 60px rgba(223,255,0,.28); margin-bottom: 32px; }
.wordmark {
  font-family: var(--wide); font-weight: 900; font-stretch: 125%;
  font-size: clamp(48px, 13vw, 88px); line-height: .9; letter-spacing: -0.01em; margin: 0 0 18px;
}
.tagline { color: var(--volt); font-family: var(--wide); font-weight: 900; font-stretch: 115%; font-size: clamp(22px, 5vw, 30px); margin: 0 0 22px; line-height: 1.15; }
.m-lede { font-size: 20px; line-height: 1.5; color: #C9CCD2; margin: 0 0 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  border: 1.5px solid var(--volt); color: var(--white); text-decoration: none; font-weight: 650; font-size: 15px;
  box-shadow: 0 0 24px rgba(223,255,0,.18);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); }
.pill:hover { background: rgba(223,255,0,.08); }
.m-muted { color: #9CA0A8; font-size: 14px; margin-top: 14px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; padding: 20px; }
.steps .k { font-family: var(--wide); font-weight: 900; font-stretch: 115%; color: var(--volt); font-size: 14px; letter-spacing: .04em; }
.steps h3 { margin: 6px 0 4px; font-size: 20px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: #B4B8BF; font-size: 16px; }
body.mission .label { color: #9CA0A8; }

/* A Coach thread, drawn in HTML instead of a screenshot */
.phone {
  background: #F7F5F1; color: #1A1A1A; border-radius: 28px; padding: 14px 14px 18px; max-width: 380px;
  border: 1px solid var(--night-line);
}
.phone .head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; border-bottom: 1px solid #E8E4DC; }
.phone .av { width: 34px; height: 34px; border-radius: 50%; background: #FFE3D3; color: #D4501E; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.phone .who { font-weight: 700; font-size: 16px; line-height: 1.2; }
.phone .ai { font-size: 11px; font-weight: 700; border: 1px solid #D8D3C9; border-radius: 6px; padding: 1px 5px; margin-left: 6px; color: #6B675F; }
.phone .sub { font-size: 12px; color: #8A867E; }
.phone .open { background: #FFF1E6; color: #B8461A; font-size: 13px; padding: 8px 10px; border-radius: 10px; margin: 10px 0 4px; display: flex; justify-content: space-between; }
.thread { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; }
.b { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.35; }
.b.them { background: #FFFFFF; align-self: flex-start; border-bottom-left-radius: 6px; }
.b.me { background: #24221F; color: #FFFFFF; align-self: flex-end; border-bottom-right-radius: 6px; }
.thread .gap { height: 6px; }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; } body.mission .wrap.wide { max-width: 900px; } }
.split p { color: #C9CCD2; }

.promise { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--night-line); }
.promise li { padding: 14px 0; border-bottom: 1px solid var(--night-line); color: #C9CCD2; }
.promise b { color: var(--white); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Whole site uses Mission's brand (Night + Volt). */
body.mission {
  --paper: #0D0E11; --ink: #FFFFFF; --muted: #9CA0A8; --line: #2A2D34; --card: #16181D; --accent: #DFFF00;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--wide); font-weight: 900; font-stretch: 115%; letter-spacing: .02em; text-transform: uppercase; font-size: 16px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
body.mission .face { background: var(--volt); color: var(--night); }
body.mission .btn { background: var(--volt); color: var(--night); }
body.mission .callout { border-color: var(--volt); }
body.mission .doc p, body.mission .doc li, body.mission .note p { color: #D3D6DB; }
body.mission .doc a, body.mission .note a { color: var(--white); }
body.mission .hero h1 em { color: var(--volt); }
