:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --paper-deep: #f1e9db;
  --paper-card: #fffcf5;
  --ink: #332d26;
  --ink-strong: #241f1a;
  --ink-soft: #5e564c;
  --muted: #6b655c;
  --faint: #776d62;
  --terracotta: #b56542;
  --terracotta-deep: #8e4b30;
  --amber: #c08a3e;
  --amber-deep: #8f6220;
  --cream: #f6e6cf;
  --cream-deep: #e7d3b0;
  --sage: #7e8b63;
  --border: #e4d8c5;
  --line: #e4d3b0;
  --white: #fffcf5;
  --serif: Georgia, "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --shadow-paper: 0 18px 48px rgba(78, 60, 34, 0.1);
  --shadow-phone: 0 42px 90px rgba(59, 44, 26, 0.2);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  background-image: url("../img/grain.svg");
  background-size: 180px 180px;
  opacity: 0.055;
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
}

::selection {
  background: var(--cream);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--terracotta-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nowrap {
  white-space: nowrap;
}

section[id] {
  scroll-margin-top: 110px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-card);
  font-size: 13px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--terracotta-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--light {
  color: var(--cream);
}

.placeholder {
  display: inline;
  padding: 0 3px;
  border-bottom: 1px dashed var(--terracotta);
  border-radius: 3px;
  background: #f3e3c9;
  color: #6f3b24;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(78, 60, 34, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand-name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  flex: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn--ink {
  background: var(--ink);
  color: var(--paper-card);
}

.btn--ink:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 252, 245, 0.65);
}

.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn-arrow {
  font-size: 15px;
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 100px) 0 28px;
  background:
    radial-gradient(circle at 86% 6%, rgba(246, 230, 207, 0.86), rgba(246, 230, 207, 0) 42%),
    linear-gradient(180deg, var(--paper) 0%, #fbf7ef 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -220px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 230, 207, 0.9), rgba(246, 230, 207, 0) 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -280px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 138, 62, 0.08), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-eyebrow {
  margin-bottom: 22px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-wordmark {
  color: var(--ink-strong);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7.2vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero-wordmark::after {
  content: "";
  display: inline-block;
  width: 0.12em;
  height: 0.12em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: var(--terracotta);
  vertical-align: 0.12em;
}

.hero-slogan {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.hero-emphasis {
  padding-bottom: 0.08em;
  background: url("../img/underline.svg") no-repeat left bottom / 100% 0.32em;
}

.hero-lede {
  max-width: 540px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.hero-orbit {
  position: absolute;
  width: min(480px, 100%);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 252, 245, 0.92), rgba(246, 230, 207, 0.32) 55%, transparent 72%);
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(143, 98, 32, 0.22);
  border-radius: 50%;
}

.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 7vw, 72px);
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.scroll-line {
  position: relative;
  width: 54px;
  height: 1px;
  background: var(--ink);
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

.hero-note {
  color: var(--faint);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.28em;
}

/* Quiet keyword strip */
.quiet-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-deep);
}

.quiet-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 15px 0;
  list-style: none;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}

.quiet-list li {
  display: flex;
  align-items: center;
}

.quiet-list li + li::before {
  content: "·";
  display: inline-block;
  margin: 0 12px;
  color: var(--amber);
}

/* Shared section */
.section {
  position: relative;
  padding: clamp(76px, 10vw, 136px) 0;
}

.section--about {
  background: linear-gradient(180deg, var(--paper) 0%, #fbf7ef 100%);
}

.section--features {
  background: var(--paper);
}

.section--team {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-deep);
}

.section-heading {
  position: sticky;
  top: 110px;
}

.section-heading h2,
.section-intro h2 {
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

/* About CogBook */
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.about-copy {
  max-width: 680px;
}

.about-lede {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  line-height: 1.65;
}

.about-copy > p:not(.about-lede):not(.margin-note) {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.95;
}

.principle-list {
  margin-top: 36px;
  border-top: 1px solid var(--border);
}

.principle {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.principle__num {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
}

.principle h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
}

.principle p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.margin-note {
  margin-top: 30px;
  padding-left: 16px;
  border-left: 2px solid var(--amber);
  color: var(--terracotta-deep);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
}

.paper-stack {
  position: relative;
  width: min(280px, 100%);
  height: 270px;
  margin-top: 56px;
}

.paper-stack__card {
  position: absolute;
  width: 228px;
  min-height: 104px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--paper-card);
  box-shadow: 0 16px 36px rgba(78, 60, 34, 0.09);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.65;
}

.paper-stack__card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 52px;
  height: 15px;
  border-radius: 1px;
  background: rgba(205, 176, 122, 0.35);
  transform: translateX(-50%) rotate(-2deg);
}

.paper-stack__card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 1px;
  background: var(--border);
  opacity: 0.7;
}

.paper-stack__card small {
  display: block;
  margin-bottom: 6px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.paper-stack__card--1 {
  top: 0;
  left: 0;
  transform: rotate(-4deg);
}

.paper-stack__card--2 {
  top: 78px;
  left: 34px;
  background: var(--cream);
  transform: rotate(3deg);
}

.paper-stack__card--3 {
  top: 156px;
  left: 6px;
  transform: rotate(-1deg);
}

/* Features */
.section-intro {
  max-width: 780px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.section-intro > p:not(.eyebrow):not(.section-intro__note) {
  max-width: 640px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.95;
}

.section-intro__note {
  margin-top: 22px;
  color: var(--terracotta-deep);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
}

.feature:first-of-type {
  padding-top: 0;
}

.feature + .feature {
  border-top: 1px dashed var(--border);
}

.feature--reverse .feature__copy {
  order: 2;
}

.feature--reverse .feature__visual {
  order: 1;
}

.feature__copy {
  max-width: 540px;
}

.feature__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.feature__index {
  color: var(--line);
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.feature__copy h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.1vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.feature__sub {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--amber);
  color: var(--terracotta-deep);
  font-size: 14.5px;
  line-height: 1.7;
}

.feature__body {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.95;
}

.feature__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  list-style: none;
}

.feature__list li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.7);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.feature__list li::before {
  content: "·";
  margin-right: 6px;
  color: var(--amber);
}

.feature__aside {
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16.5px;
  font-style: italic;
  line-height: 1.7;
}

.feature__aside::before {
  content: "—";
  margin-right: 8px;
  color: var(--amber);
}

.feature__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.feature__visual::before {
  content: "";
  position: absolute;
  width: min(460px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 230, 207, 0.72), rgba(246, 230, 207, 0) 68%);
}

/* Phone mockups */
.phone-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(390px, 100%);
  padding: 24px 0;
}

.phone-stage--hero {
  width: min(430px, 100%);
  padding: 36px 0;
}

.phone {
  position: relative;
  width: min(282px, 100%);
  aspect-ratio: 9 / 19.2;
  flex: none;
  padding: 8px;
  border-radius: 42px;
  background: #2b251f;
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 252, 245, 0.14);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 3;
  border: 1px solid rgba(255, 252, 245, 0.16);
  border-radius: 40px;
  pointer-events: none;
}

.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 80px;
  height: 20px;
  border-radius: 999px;
  background: #2b251f;
  transform: translateX(-50%);
}

.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: var(--paper-card);
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 4px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
}

.statusbar__time {
  letter-spacing: 0.02em;
}

.statusbar__icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.signal {
  width: 9px;
  height: 7px;
  background: var(--ink);
  clip-path: polygon(0 100%, 0 70%, 20% 70%, 20% 50%, 45% 50%, 45% 25%, 70% 25%, 70% 0, 100% 0, 100% 100%);
}

.wifi {
  position: relative;
  width: 10px;
  height: 8px;
  background: radial-gradient(circle, var(--ink) 0 1px, transparent 1.5px) bottom center / 3px 3px no-repeat;
}

.wifi::before,
.wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  border: 1.5px solid var(--ink);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.wifi::before {
  width: 9px;
  height: 5px;
}

.wifi::after {
  width: 5px;
  height: 3px;
}

.battery {
  position: relative;
  width: 14px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.battery::before {
  content: "";
  position: absolute;
  inset: 1px 3px 1px 1px;
  border-radius: 1px;
  background: var(--ink);
}

.battery::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -2px;
  width: 1.5px;
  height: 3px;
  border-radius: 0 1px 1px 0;
  background: var(--ink);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 6px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
}

.app-brand img {
  width: 16px;
  height: 16px;
  border-radius: 5px;
}

.app-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--amber-deep);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.app-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 8px 14px 10px;
  overflow: hidden;
}

.app-greeting {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
}

.app-sub {
  margin-top: -4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.app-kicker {
  color: var(--terracotta-deep);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
}

.bubble {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 9.5px;
  line-height: 1.55;
}

.bubble--user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--terracotta);
  color: #fff9f0;
}

.bubble--ai {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--paper-deep);
  color: var(--ink);
}

.bubble--small {
  padding: 7px 9px;
  font-size: 9px;
}

.mini-card {
  margin-top: auto;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 6px 14px rgba(78, 60, 34, 0.06);
}

.mini-card__label {
  color: var(--amber-deep);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-card__quote {
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 9.5px;
  line-height: 1.5;
}

.mini-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.chip {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-card);
  color: var(--muted);
  font-size: 6.5px;
  line-height: 1.4;
  white-space: nowrap;
}

.chip--on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-card);
}

.app-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 8px;
  padding: 7px 7px 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 9px;
}

.composer-send {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff9f0;
  font-size: 11px;
}

.tabbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 2px;
  padding: 7px 8px 11px;
  border-top: 1px solid var(--border);
  background: rgba(255, 252, 245, 0.9);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--faint);
  font-size: 6.5px;
  line-height: 1.2;
}

.tab svg {
  width: 13px;
  height: 13px;
}

.tab.is-on {
  color: var(--ink);
  font-weight: 700;
}

.tab.is-on svg {
  color: var(--terracotta);
}

.paper-card--phone {
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 8px 20px rgba(78, 60, 34, 0.07);
}

.paper-card__meta {
  color: var(--amber-deep);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.paper-card__quote {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.55;
}

.paper-card__source {
  margin-top: 6px;
  color: var(--faint);
  font-size: 7px;
}

.paper-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.phone-note {
  color: var(--faint);
  font-size: 7.5px;
  line-height: 1.55;
  text-align: center;
}

.sprite-paper {
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 8px 20px rgba(78, 60, 34, 0.07);
}

.sprite-paper__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sprite-paper__avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
}

.sprite-paper__avatar img {
  width: 32px;
  height: 32px;
}

.sprite-paper__name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.2;
}

.sprite-paper__topic {
  margin-top: 2px;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.sprite-paper__desc {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.55;
}

.sprite-paper__meta {
  margin-top: 6px;
  color: var(--amber-deep);
  font-size: 7px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--faint);
  font-size: 8px;
}

.search-icon {
  position: relative;
  width: 9px;
  height: 9px;
  flex: none;
  border: 1.3px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -1px;
  width: 4px;
  height: 1.3px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.book-row {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.book {
  position: relative;
  width: 37px;
  height: 51px;
  flex: none;
  overflow: hidden;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 2px 3px 0 rgba(78, 60, 34, 0.08);
}

.book::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 2px;
  background: rgba(255, 252, 245, 0.35);
}

.book span {
  position: absolute;
  top: 6px;
  left: 8px;
  color: rgba(255, 252, 245, 0.92);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.book--1 {
  background: linear-gradient(135deg, #a85f3f, #8e4b30);
}

.book--2 {
  background: linear-gradient(135deg, #7e8b63, #5f6b4b);
}

.book--3 {
  background: linear-gradient(135deg, #c08a3e, #9a6a28);
}

.source-card {
  padding: 9px 10px;
  border-left: 3px solid var(--amber);
  border-radius: 9px;
  background: var(--paper-deep);
}

.source-card__kicker {
  color: var(--amber-deep);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.source-card__quote {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.5;
}

.source-card__meta {
  margin-top: 4px;
  color: var(--faint);
  font-size: 7px;
}

.share-card {
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(78, 60, 34, 0.08);
}

.share-card__brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 8px;
  font-weight: 600;
}

.share-card__brand img {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.share-card__quote {
  margin-top: 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
}

.share-card__meta {
  margin-top: 10px;
  color: var(--faint);
  font-size: 7px;
}

.share-card__line {
  height: 1px;
  margin-top: auto;
  background: var(--border);
}

.share-card__foot {
  margin-top: 8px;
  color: var(--amber-deep);
  font-size: 7px;
  letter-spacing: 0.22em;
}

.share-actions {
  display: flex;
  gap: 6px;
}

.share-btn {
  flex: 1;
  padding: 7px 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper-card);
  color: var(--muted);
  font-size: 7.5px;
  text-align: center;
}

.share-btn--on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-card);
}

/* Paper scraps and stickers */
.float-card {
  position: absolute;
  z-index: 2;
  width: 184px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--paper-card);
  box-shadow: 0 18px 42px rgba(78, 60, 34, 0.12);
  transform: rotate(3deg);
}

.float-card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 54px;
  height: 15px;
  border-radius: 1px;
  background: rgba(205, 176, 122, 0.38);
  transform: translateX(-50%) rotate(-2deg);
}

.float-card__kicker {
  color: var(--amber-deep);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.float-card__quote {
  margin-top: 7px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
}

.float-card__meta {
  margin-top: 7px;
  color: var(--faint);
  font-size: 8.5px;
  line-height: 1.5;
}

.float-card--hero {
  right: -12px;
  bottom: 64px;
  transform: rotate(3.5deg);
}

.float-card--feature {
  right: -18px;
  bottom: 60px;
  transform: rotate(-3deg);
}

.sticker {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 252, 245, 0.94);
  box-shadow: 2px 3px 0 rgba(143, 98, 32, 0.1);
  color: var(--amber-deep);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sticker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

.sticker--hero {
  top: 34px;
  left: -22px;
  transform: rotate(-7deg);
}

.sticker--feature {
  top: 22px;
  left: -16px;
  transform: rotate(-5deg);
}

/* Manifesto */
.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-deep);
}

.manifesto::before {
  content: "“";
  position: absolute;
  top: -70px;
  left: 50%;
  color: rgba(192, 138, 62, 0.08);
  font-family: var(--serif);
  font-size: 280px;
  line-height: 1;
  transform: translateX(-50%);
}

.manifesto__inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}

.manifesto .eyebrow {
  justify-content: center;
}

.manifesto blockquote {
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.manifesto__cite {
  display: block;
  margin-top: 26px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.08em;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.team-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper-card);
  box-shadow: var(--shadow-paper);
  transform: rotate(-1deg);
}

.team-card::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 64px;
  height: 17px;
  border-radius: 1px;
  background: rgba(205, 176, 122, 0.4);
  transform: translateX(-50%) rotate(-2deg);
}

.team-card__label {
  color: var(--amber-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-card p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.95;
}

.team-contact {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.team-contact a {
  color: var(--terracotta-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
}

/* Download */
.download {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--ink);
  color: var(--paper);
}

.download::before {
  content: "";
  position: absolute;
  top: -320px;
  right: -220px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 138, 62, 0.34), transparent 66%);
}

.download__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.download h2 {
  margin-top: 16px;
  color: var(--paper-card);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.download__text {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(247, 243, 234, 0.74);
  font-size: 15.5px;
  line-height: 1.95;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  margin-top: 30px;
  padding: 11px 20px;
  border-radius: 14px;
  background: var(--paper-card);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.26);
}

.store-btn[aria-disabled="true"] {
  cursor: not-allowed;
}

.store-btn[aria-disabled="true"]:hover {
  transform: none;
}

.store-btn__icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.store-btn__label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.store-btn__small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.download__micro {
  margin-top: 12px;
  color: rgba(247, 243, 234, 0.6);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.download__art {
  position: relative;
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: center;
}

.download__ring {
  position: absolute;
  width: min(330px, 100%);
  aspect-ratio: 1;
  border: 1px dashed rgba(247, 243, 234, 0.24);
  border-radius: 50%;
}

.app-icon--large {
  position: relative;
  z-index: 1;
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  border-radius: 36px;
  background: var(--paper-card);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.26);
  transform: rotate(-4deg);
}

.app-icon--large img {
  width: 120px;
  height: 120px;
}

.paper-note {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 4px;
  background: var(--cream);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}

.paper-note--download {
  right: 2%;
  bottom: 10%;
  transform: rotate(6deg);
}

/* Contact */
.contact {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--paper);
}

.contact__inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.contact .eyebrow {
  justify-content: center;
}

.contact h2 {
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.contact__lede {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.9;
}

.contact__mail {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--amber);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact__mail:hover {
  color: var(--terracotta-deep);
}

.contact__meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 72px 0 28px;
  background: #2a241f;
  color: var(--paper);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.1fr;
  gap: 40px;
}

.brand--footer .brand-name {
  color: var(--paper-card);
}

.footer__brand p {
  max-width: 280px;
  margin-top: 16px;
  color: rgba(247, 243, 234, 0.65);
  font-size: 13.5px;
  line-height: 1.8;
}

.footer__company {
  color: rgba(247, 243, 234, 0.65);
  font-size: 12.5px;
}

.footer__col h3 {
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer__col ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer__col a {
  color: rgba(247, 243, 234, 0.78);
  font-size: 13.5px;
  line-height: 1.6;
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--paper-card);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__icp a {
  font-size: 12.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.site-footer .placeholder {
  border-bottom-color: rgba(246, 230, 207, 0.55);
  background: rgba(192, 138, 62, 0.22);
  color: #f6e6cf;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 243, 234, 0.14);
  color: rgba(247, 243, 234, 0.62);
  font-size: 12px;
}

.footer__bottom a {
  color: rgba(247, 243, 234, 0.7);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--paper-card);
}

/* Legal pages */
.legal-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--paper-deep);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a {
  color: var(--ink);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero h1 {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.legal-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.legal-intro {
  max-width: 760px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 64px;
  align-items: start;
  padding: 56px 0 96px;
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--paper-card);
}

.legal-toc h2 {
  margin-bottom: 12px;
  color: var(--terracotta-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 8px;
  list-style: none;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  text-decoration: none;
}

.legal-toc a::before {
  content: counter(toc, decimal-leading-zero) "  ";
  color: var(--line);
  font-family: var(--serif);
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-article {
  min-width: 0;
}

.legal-article h2 {
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  scroll-margin-top: 110px;
}

.legal-article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-article h3 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}

.legal-article p,
.legal-article li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.legal-article p {
  margin-bottom: 14px;
}

.legal-article ul,
.legal-article ol {
  margin-bottom: 16px;
  padding-left: 1.4em;
}

.legal-article li {
  margin: 6px 0;
}

.legal-article strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-article a {
  color: var(--terracotta-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-summary {
  margin: 24px 0 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.legal-summary p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.8;
}

.legal-contact {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--paper-deep);
}

.legal-contact p {
  margin-bottom: 6px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--terracotta-deep);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer :focus-visible,
.download :focus-visible {
  outline-color: var(--cream);
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.will-reveal {
  transform: translateY(18px);
}

.reveal.is-visible {
  transform: none;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    gap: 36px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .feature {
    gap: 48px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 560px;
    margin-top: 12px;
  }

  .hero-orbit {
    width: min(440px, 80vw);
  }

  .section-heading {
    position: static;
  }

  .about-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .paper-stack {
    margin-top: 36px;
  }

  .download__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .download__art {
    min-height: 280px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  section[id],
  .legal-article h2 {
    scroll-margin-top: 128px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0 16px;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    margin-left: 0;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }

  .main-nav a {
    padding: 6px 0;
    font-size: 12.5px;
  }

  .header-cta {
    margin-left: auto;
  }

  .brand-name {
    font-size: 20px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }

  .feature--reverse .feature__copy,
  .feature--reverse .feature__visual {
    order: initial;
  }

  .feature__copy {
    max-width: 680px;
  }

  .feature__visual {
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  .hero-wordmark {
    font-size: clamp(3.1rem, 15vw, 4rem);
  }

  .hero-slogan {
    font-size: clamp(1.45rem, 6.2vw, 1.9rem);
  }

  .hero-lede {
    font-size: 15.5px;
  }

  .hero-actions .btn {
    flex: 0 1 auto;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-orbit {
    width: min(330px, 100%);
  }

  .float-card {
    display: none;
  }

  .sticker--hero {
    display: none;
  }

  .sticker--feature {
    position: static;
    margin-bottom: 10px;
    transform: rotate(-2deg);
  }

  .phone-stage {
    flex-direction: column;
    width: 100%;
    padding: 8px 0;
  }

  .phone-stage--hero {
    padding: 8px 0;
  }

  .feature__visual {
    min-height: 0;
    padding: 12px 0;
  }

  .feature__visual::before {
    width: 300px;
  }

  .phone {
    width: min(270px, calc(100vw - 80px));
  }

  .quiet-list {
    font-size: 10.5px;
  }

  .quiet-list li + li::before {
    margin: 0 8px;
  }

  .hero-foot {
    margin-top: 36px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .download__art {
    min-height: 240px;
  }

  .app-icon--large {
    width: 130px;
    height: 130px;
    border-radius: 30px;
  }

  .app-icon--large img {
    width: 96px;
    height: 96px;
  }

  .paper-note--download {
    right: 0;
    bottom: 6%;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    flex: 0 0 auto;
  }

  .hero-wordmark {
    font-size: clamp(2.9rem, 16vw, 3.6rem);
  }

  .hero-slogan {
    font-size: clamp(1.35rem, 6.6vw, 1.7rem);
  }

  .hero-meta {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .hero-foot {
    justify-content: center;
  }

  .scroll-cue {
    display: none;
  }

  .hero-note {
    text-align: center;
  }

  .paper-stack {
    height: 245px;
    transform: scale(0.9);
    transform-origin: top left;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .download__art {
    min-height: 220px;
  }

  .paper-note--download {
    position: static;
    margin-top: -18px;
    transform: rotate(2deg);
  }

  .legal-hero {
    padding: 44px 0 32px;
  }

  .legal-layout {
    padding: 36px 0 72px;
  }

  .legal-article h2 {
    margin-top: 36px;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 19px;
  }

  .header-cta {
    padding: 0 14px;
    font-size: 12.5px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .phone {
    width: min(250px, calc(100vw - 72px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.will-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .main-nav a::after,
  .btn,
  .store-btn,
  .skip-link {
    transition: none;
  }
}

@media print {
  body {
    background: #fff;
  }

  body::after,
  .site-header,
  .site-footer,
  .legal-toc,
  .legal-back {
    display: none;
  }

  .legal-layout {
    display: block;
    padding: 0;
  }

  .legal-hero {
    padding: 0 0 24px;
    background: #fff;
  }
}
