:root {
  --navy: #063b6b;
  --navy-deep: #042b50;
  --cyan: #08b9e7;
  --yellow: #f2ad18;
  --coral: #ef542f;
  --cream: #f4e5c9;
  --paper: #fffaf0;
  --paper-strong: #f8efdD;
  --ink: #142638;
  --muted: #5c6872;
  --line: rgba(6, 59, 107, 0.17);
  --shadow: 0 18px 50px rgba(4, 43, 80, 0.12);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --content: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse, rgba(111,78,39,.07) 0 .6px, transparent .9px) 0 0 / 13px 17px,
    repeating-linear-gradient(7deg, rgba(111, 78, 39, .046) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(97deg, rgba(194, 94, 63, .032) 0 1px, transparent 1px 11px),
    radial-gradient(circle at 12% 4%, rgba(242, 173, 24, .12), transparent 22rem),
    radial-gradient(circle at 92% 34%, rgba(8, 185, 231, .1), transparent 26rem),
    var(--paper);
  background-attachment: fixed;
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { color: white; background: var(--navy); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  color: white;
  background: var(--navy-deep);
  border-radius: 999px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.shell { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 0;
  background:
    radial-gradient(ellipse, rgba(111,78,39,.055) 0 .55px, transparent .85px) 0 0 / 13px 17px,
    repeating-linear-gradient(7deg, rgba(111,78,39,.036) 0 1px, transparent 1px 7px),
    rgba(255,250,240,.88);
  box-shadow: 0 1px 0 rgba(6,59,107,.045);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-deep);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.brand span { font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--navy-deep);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-links a:hover { background: rgba(8, 185, 231, .12); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-deep);
  background: white;
  cursor: pointer;
}

.home-hero {
  min-height: min(700px, calc(100svh - 76px));
  padding: 34px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.home-hero > *, .app-hero-grid > *, .story-grid > * { min-width: 0; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--navy-deep); line-height: 1.08; text-wrap: balance; }
h1, .display {
  margin: 0;
  font-family: "Trebuchet MS", "Aptos Display", system-ui, sans-serif;
  font-size: clamp(3rem, 5.4vw, 5rem);
  letter-spacing: -.065em;
}
.hero-copy .lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: #425362;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.55;
}
.button-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--navy); box-shadow: 0 9px 22px rgba(6, 59, 107, .2); }
.button.primary:hover { background: var(--navy-deep); box-shadow: 0 12px 28px rgba(6, 59, 107, .26); }
.button.secondary { color: var(--navy); border-color: var(--navy); background: rgba(255,255,255,.55); }
.button.secondary:hover { background: white; }
.button.light { color: var(--navy-deep); background: var(--cream); }

.logo-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.logo-stage::before {
  content: "";
  position: absolute;
  inset: 7% 0 9%;
  z-index: -2;
  border-radius: 46% 54% 55% 45% / 44% 40% 60% 56%;
  background:
    repeating-linear-gradient(0deg, rgba(103,72,35,.055) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(174,117,46,.04) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 24% 18%, rgba(255,255,255,.9), transparent 30%),
    radial-gradient(circle at 78% 74%, rgba(242,173,24,.08), transparent 42%),
    #fff8ec;
  box-shadow: inset 0 0 70px rgba(159,113,54,.075), 0 28px 70px rgba(4,43,80,.08);
  transform: rotate(-5deg);
}
.logo-stage::after {
  content: "";
  position: absolute;
  inset: 14% 5% 5% 14%;
  z-index: -1;
  border: 2px dashed rgba(6,59,107,.21);
  border-radius: 50%;
  transform: rotate(13deg);
}
.logo-stage img {
  width: auto;
  height: min(68vh, 520px);
  max-width: min(100%, 460px);
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(4,43,80,.14));
  mix-blend-mode: multiply;
}

.trust-bar { margin-top: -32px; position: relative; z-index: 3; }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid rgba(111,78,39,.15);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse, rgba(111,78,39,.055) 0 .55px, transparent .85px) 0 0 / 13px 17px,
    repeating-linear-gradient(7deg, rgba(111,78,39,.032) 0 1px, transparent 1px 8px),
    rgba(248,239,221,.94);
  box-shadow: 0 14px 34px rgba(78,52,24,.1);
}
.trust-item { padding: 15px 10px 17px; display: grid; place-items: center; gap: 7px; text-align: center; color: var(--navy-deep); font-size: .88rem; font-weight: 800; }
.trust-item + .trust-item { border-left: 1px dashed rgba(6,59,107,.2); }
.trust-icon { --trust-patch: #e3f5f3; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px dashed rgba(6,59,107,.4); border-radius: 47% 42% 49% 40%; color: var(--navy); background: repeating-linear-gradient(8deg, rgba(255,255,255,.24) 0 1px, transparent 1px 5px), repeating-linear-gradient(98deg, rgba(6,59,107,.05) 0 1px, transparent 1px 7px), var(--trust-patch); box-shadow: inset 0 0 10px rgba(255,255,255,.35); }
.trust-item:nth-child(2) .trust-icon { --trust-patch: #fff0b6; color: #76520b; }
.trust-item:nth-child(3) .trust-icon { --trust-patch: #ffe0d6; color: #a83620; }
.trust-item:nth-child(4) .trust-icon { --trust-patch: #e0f5fb; color: #07528b; }
.trust-item:nth-child(5) .trust-icon { --trust-patch: var(--navy); color: white; border-color: var(--cyan); }
.trust-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2; stroke-dasharray: 2.4 1.45; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 0 rgba(255,255,255,.28)); }

.section { padding: 112px 0; }
.section.compact { padding: 78px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.055em; }
.section-head p { margin: 20px 0 0; color: var(--muted); font-size: 1.12rem; }

.manifesto-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.manifesto-mark {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  isolation: isolate;
  transform: rotate(4deg);
}
.manifesto-mark::before { content: ""; position: absolute; inset: 11% 5% 5% 9%; z-index: -1; border-radius: 48% 52% 43% 57%; background: rgba(242,173,24,.13); transform: rotate(-8deg); }
.manifesto-mark svg { width: min(100%, 470px); overflow: visible; }
.manifesto-mark-label {
  position: absolute;
  bottom: 10%;
  left: 50%;
  padding: 13px 18px;
  color: var(--navy-deep);
  background: var(--cream);
  border: 2px dashed var(--navy);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 9px 24px rgba(4,43,80,.17);
  transform: translateX(-50%) rotate(-4deg);
}
.manifesto-copy blockquote { margin: 0 0 28px; color: var(--navy-deep); font-size: clamp(1.6rem, 3vw, 2.55rem); font-weight: 800; line-height: 1.27; letter-spacing: -.03em; }
.manifesto-copy p { color: var(--muted); }

.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principle-card {
  --patch-bg: #e4f3f0;
  --patch-ink: var(--navy-deep);
  --patch-stitch: #4f9495;
  --patch-chip: #cce8e4;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 290px;
  padding: 32px 28px 28px;
  border: 0;
  border-radius: 34px 25px 38px 27px;
  color: var(--patch-ink);
  background: repeating-linear-gradient(7deg, rgba(255,255,255,.13) 0 1px, transparent 1px 6px), repeating-linear-gradient(97deg, rgba(4,43,80,.035) 0 1px, transparent 1px 8px), var(--patch-bg);
  box-shadow: 0 17px 38px rgba(4,43,80,.11), inset 0 0 32px rgba(255,255,255,.2);
}
.principle-card::before { content: ""; position: absolute; inset: 10px; z-index: -1; border: 2px dashed color-mix(in srgb, var(--patch-stitch), transparent 18%); border-radius: 27px 19px 31px 21px; pointer-events: none; }
.principle-card::after { position: absolute; top: 18px; right: 21px; color: color-mix(in srgb, var(--patch-ink), transparent 58%); font: 800 .72rem/1 "Trebuchet MS", sans-serif; letter-spacing: .13em; }
.principle-card:nth-child(1)::after { content: "01"; }
.principle-card:nth-child(2) { --patch-bg: #f7ce55; --patch-stitch: #8f6213; --patch-chip: #fff0b6; border-radius: 25px 38px 26px 34px; }
.principle-card:nth-child(2)::after { content: "02"; }
.principle-card:nth-child(3) { --patch-bg: #ef704d; --patch-ink: #fffaf0; --patch-stitch: #ffd2bd; --patch-chip: #f4e5c9; border-radius: 37px 24px 32px 23px; }
.principle-card:nth-child(3)::after { content: "03"; }
.principle-card:nth-child(4) { --patch-bg: #063b6b; --patch-ink: #fffaf0; --patch-stitch: #08b9e7; --patch-chip: #0d527f; border-radius: 26px 35px 24px 39px; }
.principle-card:nth-child(4)::after { content: "04"; }
.principle-icon { width: 78px; height: 78px; margin-bottom: 30px; padding: 14px; border: 2px dashed var(--patch-stitch); border-radius: 48% 42% 46% 38%; color: var(--patch-ink); background: var(--patch-chip); box-shadow: 0 8px 18px rgba(4,43,80,.1); }
.principle-card:nth-child(3) .principle-icon { color: var(--navy-deep); }
.principle-card h3, .principle-card:nth-child(4) h3 { margin: 0 0 12px; color: var(--patch-ink); font-size: 1.28rem; }
.principle-card p, .principle-card:nth-child(4) p { margin: 0; color: color-mix(in srgb, var(--patch-ink), transparent 18%); font-size: .95rem; }

.apps-section { background: repeating-linear-gradient(7deg, rgba(255,255,255,.025) 0 1px, transparent 1px 8px), repeating-linear-gradient(97deg, rgba(8,185,231,.025) 0 1px, transparent 1px 12px), var(--navy-deep); color: white; }
.apps-section .eyebrow { color: var(--yellow); }
.apps-section .section-head h2, .apps-section .section-head p { color: white; }
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  color: white;
  background: #0d4169;
  text-decoration: none;
  isolation: isolate;
}
.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(0deg, rgba(3,22,38,.96) 3%, rgba(3,22,38,.25) 74%), var(--card-image) center/cover;
  transition: transform .5s ease;
}
.app-card::after { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); border-radius: inherit; }
.app-card:hover::before { transform: scale(1.035); }
.app-card .app-icon { width: 74px; height: 74px; object-fit: cover; margin-bottom: 22px; border: 3px solid rgba(255,255,255,.78); border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,.26); }
.app-kicker { color: var(--card-accent, var(--yellow)); font-size: .75rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.app-card h3 { margin: 7px 0 8px; color: white; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.app-card p { max-width: 520px; margin: 0; color: rgba(255,255,255,.8); }
.card-arrow { position: absolute; right: 26px; bottom: 28px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-deep); background: var(--card-accent, var(--yellow)); font-size: 1.4rem; font-weight: 900; transition: transform .2s ease; }
.app-card:hover .card-arrow { transform: translate(4px, -4px); }

.ai-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 7vw, 76px);
  border-radius: var(--radius-lg);
  color: white;
  background: var(--navy);
}
.ai-panel::after { content: ""; position: absolute; right: -120px; top: -150px; width: 420px; height: 420px; border: 2px dashed rgba(8,185,231,.35); border-radius: 50%; }
.ai-panel h2 { max-width: 780px; margin: 0; color: white; font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -.05em; }
.ai-panel p { max-width: 720px; margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }

.site-footer { padding: 70px 0 30px; color: white; background: repeating-linear-gradient(7deg, rgba(255,255,255,.018) 0 1px, transparent 1px 9px), #031f39; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 74px; height: 74px; object-fit: contain; border-radius: 16px; }
.footer-brand strong { display: block; font-size: 1.35rem; }
.footer-brand span { color: rgba(255,255,255,.62); }
.footer-group h3 { margin: 0 0 14px; color: var(--yellow); font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-group a { display: block; width: fit-content; margin: 7px 0; color: rgba(255,255,255,.78); text-decoration: none; }
.footer-group a:hover { color: white; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); font-size: .84rem; }

/* App pages */
.app-page { --app-accent: var(--cyan); --app-deep: var(--navy); --app-soft: #dff7fc; background-color: var(--paper); }
.app-page .site-header { position: relative; }
.app-hero { padding: 70px 0 48px; background: radial-gradient(ellipse, rgba(111,78,39,.05) 0 .55px, transparent .85px) 0 0 / 13px 17px, repeating-linear-gradient(7deg, rgba(111,78,39,.028) 0 1px, transparent 1px 8px), linear-gradient(145deg, var(--app-soft), var(--paper) 64%); }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr); align-items: center; gap: clamp(36px, 7vw, 86px); }
.app-title-row { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.app-title-row img { width: 104px; height: 104px; object-fit: cover; border-radius: 25px; box-shadow: 0 16px 36px rgba(4,43,80,.18); }
.app-title-row h1 { font-size: clamp(3rem, 6vw, 5.4rem); }
.app-title-row h1 { color: var(--app-deep); }
.app-hero-copy .app-subtitle { margin: 0; color: var(--app-deep); font-weight: 800; }
.app-hero-copy .lead { margin: 22px 0 0; color: #405161; font-size: 1.15rem; }
.app-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { padding: 7px 11px; border: 1px solid color-mix(in srgb, var(--app-accent), transparent 55%); border-radius: 999px; color: var(--app-deep); background: rgba(255,255,255,.7); font-size: .78rem; font-weight: 800; }
.app-visual { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.app-visual img { width: 100%; aspect-ratio: 2.048 / 1; object-fit: cover; }
.app-page .button.primary { background: var(--app-deep); }
.app-page .button.secondary { color: var(--app-deep); border-color: var(--app-deep); }
.app-stats { margin-top: -2px; padding: 0 0 28px; background: linear-gradient(180deg, var(--app-soft), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); }
.stat { padding: 24px; text-align: center; }
.stat + .stat { border-left: 1px dashed var(--line); }
.stat strong { display: block; color: var(--app-deep); font-size: 1.25rem; }
.stat span { color: var(--muted); font-size: .83rem; }
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 8vw, 100px); align-items: start; }
.story-grid h2 { position: sticky; top: 30px; margin: 0; color: var(--app-deep); font-size: clamp(2.3rem, 5vw, 4.2rem); letter-spacing: -.055em; }
.story-copy > p:first-child { margin-top: 0; font-size: 1.2rem; color: #34495b; }
.feature-list { display: grid; gap: 12px; margin-top: 32px; }
.feature-item { padding: 20px 22px; border-left: 4px solid var(--app-accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: white; box-shadow: 0 9px 26px rgba(4,43,80,.06); }
.feature-item strong { display: block; color: var(--app-deep); }
.feature-item span { color: var(--muted); font-size: .94rem; }
.screens-section { overflow: hidden; padding-bottom: 112px; }
.screen-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 31%); gap: 22px; overflow-x: auto; padding: 8px max(20px, calc((100vw - var(--content)) / 2)) 32px; scroll-snap-type: x mandatory; scrollbar-color: var(--app-accent) transparent; }
.screen-rail img { width: 100%; border-radius: 28px; box-shadow: 0 18px 40px rgba(4,43,80,.15); scroll-snap-align: center; }
.privacy-callout { padding: 70px 0; color: white; background: var(--app-deep); }
.privacy-callout-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; }
.privacy-callout h2 { margin: 0; color: white; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.04em; }
.privacy-callout p { max-width: 730px; margin: 14px 0 0; color: rgba(255,255,255,.75); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; text-decoration: none; }
.related-card:hover { box-shadow: var(--shadow); }
.related-card img { width: 52px; height: 52px; object-fit: cover; margin-bottom: 13px; border-radius: 14px; }
.related-card strong { color: var(--navy-deep); }
.related-card span { display: block; color: var(--muted); font-size: .86rem; }

.no-shots {
  padding: 50px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(255,255,255,.64);
}
.no-shots img { width: min(100%, 760px); margin: 0 auto 28px; border-radius: var(--radius-md); }

.coming-soon-visual { position: relative; min-height: 480px; display: grid; place-items: center; overflow: hidden; background: repeating-linear-gradient(0deg, rgba(194,94,63,.05) 0 1px, transparent 1px 7px), repeating-linear-gradient(90deg, rgba(42,36,29,.035) 0 1px, transparent 1px 9px), #faf6f0; }
.coming-soon-visual img { width: min(58%, 280px); aspect-ratio: 1; object-fit: cover; border-radius: 28%; box-shadow: 0 28px 70px rgba(42,36,29,.18); transform: rotate(3deg); }
.coming-soon-seal { position: absolute; top: 24px; right: 24px; z-index: 2; padding: 9px 14px; border: 1px solid rgba(42,36,29,.18); border-radius: 999px; color: #2a241d; background: rgba(255,255,255,.82); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.coming-soon-button { cursor: default; }
.relicario-wait { max-width: 820px; margin-inline: auto; }
.relicario-wait h2 { margin: 0 0 14px; font-size: clamp(2.1rem, 5vw, 3.8rem); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; padding-top: 42px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .button-row { justify-content: center; }
  .logo-stage { min-height: 410px; }
  .logo-stage img { height: auto; width: min(82vw, 380px); }
  .manifesto-layout, .app-hero-grid, .story-grid { grid-template-columns: 1fr; }
  .manifesto-mark { min-height: 360px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .app-hero-copy { order: 2; }
  .app-visual { order: 1; }
  .story-grid h2 { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .shell, .narrow { width: min(calc(100% - 28px), var(--content)); }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { position: absolute; top: 68px; left: 14px; right: 14px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 12px 14px; }
  .home-hero { min-height: auto; padding-top: 36px; padding-bottom: 48px; }
  h1, .display { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(2.45rem, 10.5vw, 3.25rem); }
  .hero-copy { width: 100%; min-width: 0; }
  .hero-copy .button-row { width: 100%; display: grid; grid-template-columns: 1fr; }
  .hero-copy .button { width: 100%; }
  .logo-stage { min-height: 320px; }
  .logo-stage img { width: min(76vw, 310px); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:last-child { grid-column: 1 / -1; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px dashed var(--line); }
  .section { padding: 82px 0; }
  .principles-grid, .apps-grid, .stats-grid, .related-grid { grid-template-columns: 1fr; }
  .principle-card { min-height: 245px; }
  .app-card { min-height: 390px; padding: 24px; }
  .card-arrow { display: none; }
  .app-title-row { align-items: flex-start; }
  .app-title-row img { width: 82px; height: 82px; border-radius: 21px; }
  .app-title-row h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .stat + .stat { border-left: 0; border-top: 1px dashed var(--line); }
  .screen-rail { grid-auto-columns: 82%; }
  .privacy-callout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
