@font-face {
  font-family: "Source Serif Topo";
  src: url("/assets/fonts/SourceSerif4-Variable.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans Topo";
  src: url("/assets/fonts/DMSans-Variable.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #1a1a2e;
  --paper: #faf7f2;
  --paper-alt: #f0ede5;
  --pencil: #6e6b66;
  --eraser: #d4cfc8;
  --red-pen: #c0392b;
  --yellow: #ffe066;
  --pink: #ff8fa3;
  --green: #77dd77;
  --blue: #7eb8da;
  --max: 1120px;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(26, 26, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 46, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: "DM Sans Topo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(26, 26, 46, 0.055) 0.7px, transparent 0.7px);
  background-size: 11px 11px;
  opacity: 0.35;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(126, 184, 218, 0.7);
  text-underline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  padding: 9px 12px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(26, 26, 46, 0.1);
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(14px);
}

.nav-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--paper);
}

.brand-word {
  position: relative;
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: 30px;
  font-weight: 750;
  line-height: 1;
}

.brand-word::before {
  content: "";
  position: absolute;
  left: -7px;
  right: -8px;
  top: 55%;
  height: 11px;
  border-radius: 3px;
  background: rgba(255, 224, 102, 0.66);
  transform: rotate(-2deg);
  z-index: -1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--pencil);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn.secondary {
  background: var(--paper);
}

.btn.muted {
  background: rgba(212, 207, 200, 0.55);
  color: rgba(26, 26, 46, 0.78);
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.store-pill::before {
  content: "";
  width: 16px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  background:
    linear-gradient(currentColor, currentColor) center 3px / 5px 1px no-repeat,
    transparent;
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 58px;
  padding: 48px 0 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(26, 26, 46, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.36);
  color: var(--pencil);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  border: 1px solid var(--ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Source Serif Topo", Georgia, serif;
  color: var(--ink);
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 7.8vw, 94px);
  line-height: 0.95;
  font-weight: 760;
}

.highlight {
  position: relative;
  display: inline-block;
}

.highlight::before {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.08em;
  bottom: 0.04em;
  height: 0.22em;
  border-radius: 4px;
  background: rgba(255, 224, 102, 0.75);
  transform: rotate(-1.3deg);
  z-index: -1;
}

.lead {
  max-width: 600px;
  margin: 24px 0 0;
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.35;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.microcopy {
  margin-top: 16px;
  color: var(--pencil);
  font-size: 14px;
  line-height: 1.5;
}

.source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.source-tag {
  border: 1px solid rgba(26, 26, 46, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  padding: 7px 11px;
  color: var(--pencil);
  font-size: 13px;
  font-weight: 750;
}

.desk {
  position: relative;
  min-height: 632px;
}

.phone {
  position: absolute;
  right: 18px;
  top: 0;
  width: min(326px, 82vw);
  min-height: 612px;
  border: 2px solid var(--ink);
  border-radius: 42px;
  background: var(--ink);
  box-shadow: 18px 22px 0 rgba(26, 26, 46, 0.13);
  padding: 12px;
  transform: rotate(1.4deg);
}

.phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: #0d0d18;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  position: relative;
  height: 100%;
  min-height: 586px;
  border-radius: 31px;
  background: var(--paper);
  padding: 15px 14px 72px;
  overflow: hidden;
}

.app-preview {
  border: 1px solid rgba(250, 247, 242, 0.32);
}

.phone-status {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 10px;
  font-size: 11px;
  font-weight: 800;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-icons span {
  display: block;
  background: var(--ink);
}

.status-icons span:nth-child(1) {
  width: 12px;
  height: 8px;
  border-radius: 2px;
}

.status-icons span:nth-child(2) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-icons span:nth-child(3) {
  width: 17px;
  height: 9px;
  border: 1.4px solid var(--ink);
  border-radius: 3px;
  background: transparent;
}

.phone-app-header {
  display: grid;
  grid-template-columns: 1fr 34px 34px;
  align-items: center;
  gap: 9px;
  margin: 8px 2px 14px;
}

.phone-wordmark {
  position: relative;
  width: fit-content;
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 770;
}

.phone-wordmark::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -7px;
  top: 52%;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 224, 102, 0.62);
  transform: rotate(-2deg);
  z-index: -1;
}

.phone-streak,
.phone-profile,
.folder-button,
.phone-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phone-streak {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 850;
  font-size: 13px;
}

.phone-profile {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--pencil);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 38%, var(--pencil) 0 4px, transparent 4px),
    radial-gradient(circle at 50% 90%, var(--pencil) 0 11px, transparent 11px);
  opacity: 0.9;
}

.folder-preview-head {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 8px;
  color: var(--pencil);
  font-size: 12px;
  font-weight: 800;
}

.folder-preview-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mini-action {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--eraser);
  border-radius: 999px;
  background: var(--paper-alt);
}

.mini-edit::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(-35deg);
}

.mini-edit::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--yellow);
  transform: rotate(-35deg);
}

.mini-folder::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 11px;
  width: 15px;
  height: 10px;
  border: 1.4px solid var(--ink);
  border-radius: 2px;
}

.mini-folder::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 8px;
  height: 5px;
  border: 1.4px solid var(--ink);
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  background: var(--paper-alt);
}

.folder-strip {
  display: flex;
  gap: 8px;
  margin: 0 -2px 12px;
  overflow: hidden;
}

.folder-strip span {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 6px 6px 11px;
  border: 1px solid var(--eraser);
  border-radius: 999px;
  background: var(--paper-alt);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.folder-strip i {
  flex: 0 0 auto;
  display: inline-block;
}

.folder-strip b {
  min-width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.78);
  font-size: 11px;
}

.chip-albums {
  width: 11px;
  height: 11px;
  border: 1.4px solid var(--ink);
  border-radius: 2px;
  box-shadow: -3px 3px 0 rgba(26, 26, 46, 0.22);
}

.chip-tray {
  width: 12px;
  height: 9px;
  border: 1.4px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.chip-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(26, 26, 46, 0.18);
  border-radius: 999px;
  background: var(--blue);
}

.folder-strip .active {
  border-color: var(--ink);
  background: var(--yellow);
  color: var(--ink);
}

.active-generation-preview {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  gap: 9px;
  align-items: center;
  margin-bottom: 12px;
  padding: 11px;
  border: 1px solid var(--eraser);
  border-radius: var(--radius);
  background: var(--paper-alt);
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.06);
}

.generation-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
}

.generation-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 11px;
  height: 11px;
  background: var(--ink);
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
}

.active-generation-preview strong,
.active-generation-preview small {
  display: block;
}

.active-generation-preview strong {
  font-size: 12px;
  line-height: 1.1;
}

.active-generation-preview small {
  margin-top: 3px;
  color: var(--pencil);
  font-size: 11px;
  line-height: 1.2;
}

.active-generation-preview b {
  font-size: 12px;
}

.deck-preview {
  position: relative;
  margin-bottom: 12px;
  padding: 19px 13px 12px;
  border: 1px solid var(--eraser);
  border-radius: var(--radius);
  background: var(--paper-alt);
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.06);
  overflow: hidden;
}

.deck-preview-blue {
  background: rgba(240, 237, 229, 0.96);
}

.deck-preview-pink {
  background: rgba(240, 237, 229, 0.96);
}

.deck-tab {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
}

.deck-preview-pink .deck-tab {
  background: var(--pink);
}

.deck-preview-title {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 8px;
  align-items: start;
}

.deck-preview-title strong {
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: 20px;
  line-height: 1.05;
}

.folder-button {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--eraser);
  border-radius: 999px;
  background: var(--paper);
}

.folder-button::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 11px;
  width: 14px;
  height: 9px;
  border: 1.4px solid var(--ink);
  border-radius: 2px;
}

.folder-button::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 7px;
  height: 5px;
  border: 1.4px solid var(--ink);
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  background: var(--paper);
}

.deck-preview-meta,
.deck-preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--pencil);
  font-size: 11px;
  line-height: 1.2;
}

.deck-preview-meta {
  margin: 8px 0 10px;
}

.deck-preview-meta b {
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 224, 102, 0.72);
  color: var(--ink);
  font-size: 10px;
  white-space: nowrap;
}

.deck-progress {
  height: 8px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: rgba(212, 207, 200, 0.78);
  overflow: hidden;
}

.deck-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
}

.progress-72 span {
  width: 72%;
}

.progress-38 span {
  width: 38%;
}

.phone-fab {
  position: absolute;
  right: 18px;
  bottom: 70px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 5px 18px rgba(26, 26, 46, 0.12);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.phone-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 14px 10px;
  border-top: 1px solid var(--eraser);
  background: rgba(250, 247, 242, 0.97);
  box-shadow: 0 -2px 8px rgba(26, 26, 46, 0.06);
}

.phone-tabbar span {
  display: flex;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  color: var(--pencil);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
}

.phone-tabbar .active {
  color: var(--ink);
}

.tab-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.tab-book::before {
  content: "";
  width: 15px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: inset 5px 0 0 rgba(26, 26, 46, 0.05);
}

.tab-book::after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
}

.tab-create {
  width: 36px;
  height: 36px;
  margin-top: -5px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 25px;
  font-weight: 500;
  line-height: 34px;
}

.tab-profile::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 38%, currentColor 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 92%, currentColor 0 7px, transparent 7.5px);
}

.paper-note {
  position: absolute;
  left: 0;
  top: 52px;
  width: 240px;
  min-height: 184px;
  padding: 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-alt);
  box-shadow: 8px 8px 0 rgba(26, 26, 46, 0.12);
  transform: rotate(-7deg);
}

.paper-note::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: -11px;
  height: 24px;
  background: rgba(255, 143, 163, 0.62);
  border: 1px solid rgba(26, 26, 46, 0.14);
  transform: rotate(3deg);
}

.paper-note h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.paper-note p {
  margin: 0;
  color: var(--pencil);
  line-height: 1.45;
}

.mini-stack {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 250px;
}

.mini-card {
  margin-top: -10px;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 750;
}

.mini-card:nth-child(1) { transform: rotate(-3deg); background: var(--yellow); }
.mini-card:nth-child(2) { transform: rotate(2deg); background: var(--blue); }
.mini-card:nth-child(3) { transform: rotate(-1deg); background: var(--paper); }

.section {
  border-top: 1px solid rgba(26, 26, 46, 0.11);
}

.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--pencil);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.section-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--pencil);
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: 22px;
  line-height: 1.42;
}

.method-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
}

.method-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
}

.method-steps::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--ink) 55%, transparent 0) 0 0 / 2px 12px repeat-y;
  opacity: 0.26;
}

.method-steps li {
  position: relative;
  min-height: 138px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(26, 26, 46, 0.13);
}

.method-steps li:first-child {
  padding-top: 0;
}

.method-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.method-steps li::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 31px;
  width: 19px;
  height: 19px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.method-steps li:nth-child(1)::before { box-shadow: inset 0 0 0 6px var(--blue); }
.method-steps li:nth-child(2)::before { box-shadow: inset 0 0 0 6px var(--yellow); }
.method-steps li:nth-child(3)::before { box-shadow: inset 0 0 0 6px var(--green); }

.method-index {
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.86;
  color: rgba(26, 26, 46, 0.18);
  font-weight: 780;
}

.method-steps h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.method-steps p {
  max-width: 520px;
  margin: 0;
  color: var(--pencil);
  line-height: 1.55;
}

.method-tag {
  align-self: center;
  padding: 7px 10px;
  border: 1px solid rgba(26, 26, 46, 0.16);
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.75);
  color: var(--pencil);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.method-note {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(26, 26, 46, 0.055) 1px, transparent 1px),
    var(--paper-alt);
  background-size: 100% 30px;
  box-shadow: 8px 8px 0 rgba(26, 26, 46, 0.14);
  transform: rotate(1.4deg);
}

.method-note::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: -11px;
  height: 22px;
  background: rgba(255, 224, 102, 0.72);
  border: 1px solid rgba(26, 26, 46, 0.14);
  transform: rotate(-2deg);
}

.note-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--pencil);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.method-note p {
  margin: 0;
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
}

.note-rules {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.note-rules span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pencil);
  font-size: 14px;
  font-weight: 750;
}

.note-rules span::before {
  content: "";
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.support-card,
.legal-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 5px 5px 0 rgba(26, 26, 46, 0.85);
  padding: 22px;
}

.support-card h3,
.legal-card h3 {
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.support-card p,
.legal-card p {
  margin: 0;
  color: var(--pencil);
  line-height: 1.55;
}

.product-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: stretch;
}

.product-sheet-main {
  border-top: 2px solid var(--ink);
}

.ledger-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(26, 26, 46, 0.16);
}

.ledger-row strong {
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
}

.ledger-row span {
  color: var(--pencil);
  line-height: 1.55;
}

.product-stamp {
  position: relative;
  align-self: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 224, 102, 0.24);
  text-align: center;
  transform: rotate(-3deg);
}

.product-stamp::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(26, 26, 46, 0.42);
  border-radius: 50%;
}

.product-stamp span,
.product-stamp strong,
.product-stamp p {
  position: relative;
  z-index: 1;
}

.product-stamp span {
  color: var(--pencil);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-stamp strong {
  margin-top: 10px;
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: 29px;
  line-height: 1;
}

.product-stamp p {
  margin: 12px 0 0;
  color: var(--pencil);
  font-size: 13px;
  line-height: 1.35;
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: start;
}

.manifesto {
  position: sticky;
  top: 100px;
  padding: 28px;
  border-left: 8px solid var(--yellow);
  background: rgba(255, 255, 255, 0.42);
}

.manifesto p {
  margin: 0;
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.13;
}

.checks {
  display: grid;
  border-top: 2px solid var(--ink);
}

.check {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(26, 26, 46, 0.16);
}

.check-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: rgba(119, 221, 119, 0.45);
  font-weight: 850;
}

.check strong {
  display: block;
  margin-bottom: 4px;
}

.check span {
  color: var(--pencil);
  line-height: 1.45;
}

.footer {
  border-top: 1px solid rgba(26, 26, 46, 0.11);
  background: var(--paper-alt);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--pencil);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 86px;
}

.page h1 {
  font-size: clamp(42px, 7vw, 74px);
  margin-bottom: 12px;
}

.page-lead {
  margin: 0 0 30px;
  max-width: 720px;
  color: var(--pencil);
  font-family: "Source Serif Topo", Georgia, serif;
  font-size: 23px;
  line-height: 1.4;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.support-card a,
.legal-card a {
  font-weight: 800;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 34px;
}

.mt-lg {
  margin-top: 34px;
}

.center-actions {
  justify-content: center;
}

.legal-doc {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 6px 6px 0 rgba(26, 26, 46, 0.85);
  padding: clamp(22px, 4vw, 42px);
}

.legal-doc h2 {
  margin: 32px 0 12px;
  font-size: 28px;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p,
.legal-doc li {
  color: #33313a;
  line-height: 1.7;
  font-size: 16px;
}

.legal-doc ul {
  padding-left: 22px;
}

.date {
  color: var(--pencil);
  font-weight: 700;
}

.not-found {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 42px 16px;
}

.not-found .brand-mark {
  margin: 0 auto 20px;
}

@media (max-width: 880px) {
  .nav-inner {
    min-height: 64px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 38px;
    gap: 26px;
  }

  .desk {
    min-height: 626px;
  }

  .phone {
    right: 0;
    left: auto;
  }

  .paper-note {
    top: 18px;
    width: 210px;
  }

  .mini-stack {
    left: 0;
  }

  .method-board,
  .product-sheet,
  .trust-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .method-note {
    position: relative;
    top: auto;
    max-width: 520px;
  }

  .product-stamp {
    width: 250px;
    margin: 0 auto;
  }

  .manifesto {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 14px;
    padding: 28px 0 34px;
  }

  .brand-word {
    font-size: 27px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 20px;
  }

  .microcopy,
  .source-tags {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .legal-actions .btn {
    width: 100%;
  }

  .nav .btn {
    min-height: 40px;
    width: auto;
    padding: 0 12px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .desk {
    min-height: 590px;
  }

  .method-steps {
    padding-left: 24px;
  }

  .method-steps li {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 22px 0;
  }

  .method-steps li::before {
    left: -27px;
  }

  .method-index {
    font-size: 42px;
  }

  .method-tag {
    width: fit-content;
    align-self: start;
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .product-stamp {
    min-height: 234px;
    width: min(244px, 86vw);
  }

  .phone {
    position: relative;
    right: auto;
    top: auto;
    display: block;
    width: min(294px, 92vw);
    min-height: 584px;
    margin: 0 auto;
    padding: 11px;
    box-shadow: 12px 14px 0 rgba(26, 26, 46, 0.12);
    transform: rotate(0.6deg);
  }

  .phone::before {
    top: 16px;
    width: 78px;
    height: 22px;
  }

  .phone-screen {
    min-height: 558px;
    border-radius: 29px;
    padding: 14px 12px 72px;
  }

  .phone-app-header {
    grid-template-columns: 1fr 32px 32px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .phone-wordmark {
    font-size: 23px;
  }

  .folder-preview-head {
    margin-bottom: 7px;
  }

  .folder-strip {
    margin-bottom: 10px;
  }

  .active-generation-preview {
    grid-template-columns: 25px 1fr auto;
    padding: 10px;
  }

  .deck-preview {
    margin-bottom: 10px;
    padding: 18px 12px 11px;
  }

  .deck-preview-title strong {
    font-size: 18px;
  }

  .deck-preview-meta,
  .deck-preview-bottom {
    font-size: 10px;
  }

  .phone-fab {
    right: 15px;
    bottom: 66px;
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .paper-note {
    display: none;
  }

  .mini-stack {
    display: none;
  }
}
