@font-face { font-family: "Newsreader"; src: url("/fonts/Newsreader-normal-300_700.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/Newsreader-italic-300_700.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("/fonts/IBMPlexSans-normal-400_600.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/IBMPlexMono-normal-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/IBMPlexMono-normal-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f3eee4;
  --paper-deep: #e9e1d2;
  --ink: #1c1a16;
  --ink-soft: #4a463d;
  --ink-faint: #8a8476;
  --rule: #d9cfbd;
  --pencil: #c2361f;
  --pencil-soft: rgba(194, 54, 31, 0.12);
  --graphite: #23344d;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --margin: clamp(20px, 6vw, 96px);
  --measure: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper grain and the red margin rule of a notebook page. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  content: "";
  position: fixed; top: 0; bottom: 0; left: calc(var(--margin) - 18px); width: 1px; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--pencil-soft), var(--pencil-soft)) , var(--pencil-soft);
  box-shadow: 4px 0 0 var(--pencil-soft);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pencil); }
:focus-visible { outline: 2px solid var(--pencil); outline-offset: 3px; border-radius: 2px; }
.visually-hidden, .trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Masthead */
.masthead {
  max-width: var(--measure); margin: 0 auto; padding: 22px var(--margin) 0;
  display: flex; align-items: center; gap: 28px;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 600 1.35rem/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.mark { display: inline-block; width: 22px; height: 22px; border-radius: 4px; background: var(--ink); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; top: 4px; bottom: 4px; left: 14px; width: 3px; border-radius: 2px; background: var(--pencil); }
.masthead nav { display: flex; align-items: center; gap: 26px; font: 500 0.82rem/1 var(--mono); letter-spacing: 0.02em; text-transform: lowercase; }
.masthead nav a { text-decoration: none; color: var(--ink-soft); }
.masthead nav a:hover { color: var(--pencil); }
.masthead .nav-cta { color: var(--ink); border-bottom: 1.5px solid var(--pencil); padding-bottom: 3px; }

main > section { max-width: var(--measure); margin: 0 auto; padding-left: var(--margin); padding-right: var(--margin); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "title aside" "sheet sheet";
  column-gap: clamp(32px, 5vw, 72px); row-gap: clamp(40px, 6vw, 80px); align-items: end; padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(56px, 8vw, 112px);
}
.hero-title { grid-area: title; }
.hero-aside { grid-area: aside; }
.hero-sheet { grid-area: sheet; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2f7d4a; box-shadow: 0 0 0 4px rgba(47, 125, 74, 0.16); }
h1 {
  margin: 0; font: 500 clamp(2.6rem, 5.4vw, 4.9rem)/0.98 var(--serif); letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72; text-wrap: balance;
}
h1 em { font-style: italic; font-weight: 400; color: var(--pencil); position: relative; }
h1 em::after {
  content: ""; position: absolute; left: -2%; right: -4%; bottom: 0.06em; height: 0.12em; z-index: -1;
  background: var(--pencil-soft); transform: rotate(-1.2deg); border-radius: 2px;
}
.lede { max-width: 33rem; margin: 0 0 26px; font-size: 1.14rem; color: var(--ink-soft); }

/* Waitlist form */
.waitlist { max-width: 34rem; }
.fields { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border: 1.5px solid var(--ink); background: #fbf8f2; box-shadow: 6px 6px 0 var(--ink); }
.field { display: flex; flex-direction: column; padding: 10px 14px 8px; border-right: 1px solid var(--rule); }
.field span { font: 500 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.field input { border: 0; background: transparent; padding: 6px 0 2px; font: 400 1rem/1.4 var(--sans); color: var(--ink); min-width: 0; }
.field input::placeholder { color: #a9a294; }
.field input:focus { outline: none; }
.field:focus-within span { color: var(--pencil); }
.fields button {
  grid-column: 1 / -1; border: 0; border-top: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  font: 500 0.9rem/1 var(--mono); letter-spacing: 0.04em; text-transform: lowercase; padding: 16px; cursor: pointer;
  transition: background 0.2s ease;
}
.fields button:hover { background: var(--pencil); }
.fields button[disabled] { opacity: 0.6; cursor: progress; }
.form-note { margin: 18px 0 0; font-size: 0.9rem; color: var(--ink-faint); min-height: 1.5em; }
.form-note[data-state="ok"] { color: #2f6b45; }
.form-note[data-state="error"] { color: var(--pencil); }
.already { margin: 10px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.already a { white-space: nowrap; }

/* The screenshot as a sheet pinned in the margin, with pencil notes pointing at it. */
.hero-sheet { position: relative; margin: 0 auto; width: min(100%, 1060px); }
.hero-caption { margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }
.hero-caption a { text-decoration-color: var(--pencil); }
.sheet {
  position: relative; background: #fff; border: 1px solid #cfc5b2; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 30px 60px -28px rgba(40, 30, 10, 0.45), 0 12px 24px -16px rgba(40, 30, 10, 0.3);
  transform: rotate(-0.8deg); transform-origin: 50% 50%;
}
.sheet-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--paper-deep); border-bottom: 1px solid #d6ccb8; font: 400 0.7rem/1 var(--mono); color: var(--ink-faint); }
.sheet-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbbfa8; }
.sheet-bar span { margin-left: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notes { list-style: none; margin: 0; padding: 0; }
.note { position: absolute; font: 500 0.78rem/1.25 var(--mono); color: var(--pencil); white-space: nowrap; }
.note span { background: var(--paper); padding: 2px 6px; }
.note::before { content: ""; position: absolute; height: 1px; background: var(--pencil); opacity: 0.7; }
.note-a, .note-b { width: 9.5rem; white-space: normal; }
.note-a span, .note-b span { box-decoration-break: clone; -webkit-box-decoration-break: clone; line-height: 1.7; }
.note-a { top: 21%; right: calc(100% + 18px); text-align: right; transform: rotate(-3deg); }
.note-a::before { width: 16px; left: calc(100% + 4px); top: 0.85em; }
.note-b { top: 40%; left: calc(100% + 18px); transform: rotate(2deg); }
.note-b::before { width: 16px; right: calc(100% + 4px); top: 0.85em; }

/* Sections */
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }
.eyebrow { margin: 0 0 14px; font: 500 0.76rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--pencil); }
h2 { margin: 0; font: 500 clamp(1.9rem, 3.8vw, 3rem)/1.05 var(--serif); letter-spacing: -0.03em; font-variation-settings: "opsz" 60; text-wrap: balance; }
h3 { margin: 0 0 8px; font: 600 1.28rem/1.2 var(--serif); letter-spacing: -0.01em; }
section p { color: var(--ink-soft); }

.across-apps { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.computer-intro { margin: 22px 0 0; max-width: 44rem; font-size: 1.14rem; }
.major-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.major-grid li { padding-top: 18px; border-top: 1px solid var(--rule); }
.major-grid p { margin: 0; }
.computer-note { margin: 32px 0 0; max-width: 58rem; font-size: 0.9rem; color: var(--ink-soft); }
.computer-note a { text-decoration-color: var(--pencil); }

.how { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.steps li { position: relative; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.step-n { display: block; margin-bottom: 18px; font: italic 400 2.6rem/1 var(--serif); color: var(--pencil); }
.steps p { margin: 0; }

.features { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 56px); row-gap: 44px; }
.feature-grid article { position: relative; padding-left: 18px; border-left: 1px solid var(--rule); }
.margin-label { margin: 0 0 10px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.05em; color: var(--pencil); }
.feature-grid p:last-child { margin: 0; }

/* Close-ups: two panels pinned side by side, the second set a little lower. */
.closeup { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.closeup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: clamp(28px, 6vw, 96px); align-items: start; }
.closeup figure { margin: 0; }
.closeup figure:nth-child(2) { margin-top: 72px; }
.closeup picture { display: block; background: #fff; border: 1px solid #cfc5b2; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 48px -26px rgba(40, 30, 10, 0.42); }
.closeup figure:nth-child(1) picture { transform: rotate(-1deg); }
.closeup figure:nth-child(2) picture { transform: rotate(0.8deg); }
.closeup figcaption { margin-top: 18px; font-size: 0.95rem; color: var(--ink-soft); }
.closeup figcaption span { display: block; margin-bottom: 6px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.05em; color: var(--pencil); }

/* Workspace opens the same conversation out into two full, uncropped views. */
.workspace { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.workspace-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.workspace-head .section-head { margin: 0; }
.workspace h2 { max-width: 20ch; }
.workspace-intro { margin: 0; max-width: 34rem; }
.workspace-screens { display: grid; gap: clamp(36px, 5vw, 64px); }
.workspace figure { min-width: 0; margin: 0; }
.workspace-image { display: block; overflow: hidden; border: 1px solid #cfc5b2; border-radius: 6px; background: #fff; box-shadow: 0 24px 48px -26px rgba(40, 30, 10, 0.42); cursor: zoom-in; }
.workspace-image:hover { border-color: var(--pencil); }
.workspace-image img { width: 100%; }
.workspace figcaption { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 14px 24px; align-items: baseline; margin-top: 22px; }
.workspace-label { font: 500 0.72rem/1.6 var(--mono); letter-spacing: 0.03em; color: var(--pencil); }
.workspace figcaption p { margin: 0; font-size: 0.95rem; }
.workspace figcaption code { font: 400 0.85rem/1.5 var(--mono); overflow-wrap: anywhere; }
.workspace figcaption a { font: 400 0.72rem/1.6 var(--mono); white-space: nowrap; text-decoration-color: var(--pencil); }

/* The one dark band: the privacy promise. */
.privacy { max-width: none !important; padding: 0 !important; background: var(--graphite); color: #eef0f3; }
.privacy-inner { max-width: var(--measure); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--margin); }
.privacy .eyebrow { color: #f0a493; }
.privacy h2 { color: #fbfaf7; max-width: 22ch; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 56px; max-width: 64rem; }
.facts li { color: #c9d1dc; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.18); }
.facts strong { display: block; margin-bottom: 4px; color: #fff; font: 600 1.15rem/1.3 var(--serif); }
.privacy-link { margin: 40px 0 0; }
.privacy-link a { color: #fbfaf7; font: 500 0.88rem/1 var(--mono); }
.privacy-link a:hover { color: #f0a493; }

.schools { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); }
.school-list { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 18px; }
.school { position: relative; padding: 22px 22px 20px; border: 1.5px solid var(--ink); background: #fbf8f2; text-decoration: none; }
.school p { margin: 0; font-size: 0.95rem; }
.badge { display: inline-block; margin-bottom: 18px; padding: 4px 8px; font: 500 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid currentColor; }
.school.live .badge { color: #2f6b45; }
.school.next { border-style: dashed; background: transparent; transition: background 0.2s ease, transform 0.2s ease; }
.school.next .badge { color: var(--pencil); }
.school.next:hover { background: #fbf8f2; transform: translateY(-2px); color: inherit; }

.faq { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 5vw, 72px); }
.faq .section-head { margin: 0; }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font: 600 1.15rem/1.3 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.5rem/1 var(--mono); color: var(--pencil); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 22px; max-width: 40rem; }

.closing { text-align: center; padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); border-top: 1px solid var(--rule); }
.closing h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.closing-cta { display: inline-block; margin-top: 30px; padding: 16px 26px; background: var(--ink); color: var(--paper); text-decoration: none; font: 500 0.9rem/1 var(--mono); letter-spacing: 0.04em; text-transform: lowercase; box-shadow: 6px 6px 0 var(--pencil); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.closing-cta:hover { color: var(--paper); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--pencil); }

.colophon { max-width: var(--measure); margin: 0 auto; padding: 32px var(--margin) 48px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 0.88rem; color: var(--ink-soft); }
.colophon p { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.colophon nav { display: flex; gap: 20px; margin-left: auto; font: 500 0.8rem/1 var(--mono); }
.colophon nav a { text-decoration: none; }
.colophon .fine { flex-basis: 100%; font-size: 0.78rem; color: var(--ink-faint); }

/* One staggered reveal on load. */
@media (prefers-reduced-motion: no-preference) {
  .kicker, h1, .lede, .waitlist, .already { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
  h1 { animation-delay: 0.06s; } .lede { animation-delay: 0.14s; } .waitlist { animation-delay: 0.22s; } .already { animation-delay: 0.3s; }
  .hero-sheet .sheet { animation: settle 1.1s cubic-bezier(.2,.7,.2,1) 0.2s both; }
  .note { animation: ink 0.6s ease both; }
  .note-a { animation-delay: 0.9s; } .note-b { animation-delay: 1.05s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: rotate(1.5deg) translateY(40px); } to { opacity: 1; transform: rotate(-0.8deg); } }
@keyframes ink { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* The side notes need the page margins beside the sheet. */
@media (max-width: 1420px) { .note-a, .note-b { display: none; } }
@media (max-width: 980px) {
  .workspace-head { grid-template-columns: 1fr; }
  .workspace figcaption { grid-template-columns: 1fr auto; }
  .workspace-label { grid-column: 1 / -1; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "aside" "sheet"; row-gap: 28px; }
  .hero-sheet { margin-top: 24px; }
  .steps, .feature-grid { grid-template-columns: 1fr 1fr; }
  .school-list { grid-template-columns: 1fr 1fr; } .school.next { grid-column: 1 / -1; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .workspace figcaption { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .workspace figcaption a { justify-self: start; padding: 6px 0; }
  .closeup-grid { grid-template-columns: minmax(0, 360px); }
  .closeup figure:nth-child(2) { margin-top: 0; }
}
@media (max-width: 640px) {
  .masthead nav a:not(.nav-cta) { display: none; }
  .kicker { font-size: 0.66rem; letter-spacing: 0.02em; }
  .fields { grid-template-columns: 1fr; }
  .major-grid { grid-template-columns: 1fr; gap: 24px; }
  .field { border-right: 0; border-bottom: 1px solid var(--rule); }
  .steps, .feature-grid, .facts, .school-list { grid-template-columns: 1fr; }
  .note { display: none; }
  body::after { display: none; }
}

/* Privacy and support pages share the masthead and set long-form text on the same paper. */
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--margin) clamp(56px, 8vw, 96px); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.04; margin-bottom: 18px; }
.doc h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 44px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc li + li { margin-top: 10px; }
.doc a { color: var(--ink); text-decoration-color: var(--pencil); overflow-wrap: anywhere; }
.doc pre { margin: 16px 0; padding: 14px 16px; background: #fbf8f2; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); overflow-x: auto; }
.doc code { font: 400 0.88rem/1.5 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.doc pre code { white-space: pre; overflow-wrap: normal; }
