@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f4f1;
  --ink: #161412;
  --muted: #564f4a;
  --line: rgba(22, 20, 18, 0.12);
  --white: #fffcf9;
  --purple: #2b0e44;
  --purple-soft: rgba(43, 14, 68, 0.1);
  --green: #1c6b43;
  --amber: #8a4b12;
  --fail: #9a3412;
  --shadow: 0 30px 70px rgba(43, 14, 68, 0.12), 0 2px 8px rgba(22, 20, 18, 0.04);
  --header-h: 7.35rem;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  font-optical-sizing: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

::selection {
  background: var(--purple);
  color: var(--white);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede,
.narrow {
  max-width: 40rem;
  color: #3a342f;
  font-size: 1.125rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

.stack {
  margin: 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.stack span {
  display: block;
}

.accent {
  color: var(--purple);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  view-transition-name: site-header;
  background: rgba(246, 244, 241, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 244, 241, 0.94);
  border-bottom-color: var(--line);
}

.announce {
  background: var(--purple);
  color: var(--white);
  text-align: center;
  font-size: 0.92rem;
}

.announce p {
  margin: 0;
}

.announce a {
  display: block;
  padding: 0.68rem 1rem;
  text-decoration: none;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.98rem;
}

.nav-links a[aria-current="page"] {
  color: var(--purple);
}

.nav-toggle,
.button,
.door,
.card,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  min-height: 2.75rem;
  padding: 0 0.95rem;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 180ms ease;
}

.nav-toggle:active,
.button:active {
  transform: scale(0.97);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(22, 20, 18, 0.18);
}

.arrow {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform 180ms var(--ease-out);
}

.hero {
  position: relative;
  padding: 3.1rem 0 1.5rem;
  overflow: clip;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 25rem) minmax(28rem, 1fr);
  gap: 1.5rem 2.25rem;
  align-items: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(22, 20, 18, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 20, 18, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 36rem;
  height: 22rem;
  right: -2rem;
  top: 1rem;
  background: radial-gradient(circle, rgba(142, 78, 198, 0.22), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-copy,
.hero-frame,
.status-wrap {
  position: relative;
}

.hero .stack {
  font-size: clamp(2.9rem, 3.5vw, 3.7rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-lede {
  margin: 1.35rem 0 0;
  max-width: 38rem;
  font-size: 1.16rem;
  line-height: 1.55;
  color: #3a342f;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.fine {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.status {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status div {
  min-width: 0;
  padding: 1rem 1.1rem 1.05rem 0;
}

.status div + div {
  padding-left: 1.15rem;
  border-left: 1px solid var(--line);
}

.status dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status dd {
  margin: 0.35rem 0 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-layout .hero-frame {
  width: auto;
  margin: 0;
  min-width: 0;
}

.caption {
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.app {
  container-type: inline-size;
  background: var(--white);
  border: 1px solid rgba(22, 20, 18, 0.08);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: #faf8f6;
}

.app-brand {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.app-mission {
  min-width: 0;
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  margin-left: auto;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill-save {
  color: var(--green);
  background: #e7f6ee;
}

.pill-review {
  color: var(--amber);
  background: #fff1e4;
}

.app-body {
  display: grid;
  min-height: 22rem;
}

.hero-app .app-body {
  grid-template-columns: 8.6rem minmax(0, 1fr) 13.2rem;
}

.app-rail,
.app-side {
  background: #f7f5f3;
}

.app-rail {
  padding: 0.85rem 0.7rem;
  border-right: 1px solid var(--line);
}

.rail-label,
.side-label,
.sheet-kicker {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mission {
  margin: 0 0 0.3rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.mission strong {
  display: block;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.mission.is-current {
  background: var(--white);
  box-shadow: inset 2px 0 0 var(--purple);
}

.app-main,
.panel {
  padding: 0.95rem 1rem 1.1rem;
}

.brief-from {
  margin: 0;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 600;
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.sheet-head .pill {
  margin-left: auto;
}

.sheet-copy,
.brief p,
.app-main > p {
  margin: 0.35rem 0 0.8rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.sheet th,
.sheet td {
  padding: 0.38rem 0.35rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.sheet th {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sheet tr.is-flagged td {
  background: #fff6f2;
  color: #7a2e12;
}

.changelog {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.app-side {
  padding: 0.85rem 0.75rem;
  border-left: 1px solid var(--line);
}

.person {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.1rem;
  font-size: 0.84rem;
}

.person.is-active strong {
  color: var(--purple);
}

.person span {
  color: var(--muted);
  font-size: 0.72rem;
}

.bubble {
  margin: 0.55rem 0 0.8rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.85rem;
  background: #f7f5f3;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.45;
}

.desk {
  display: flex;
  flex-direction: column;
  height: min(32rem, calc(100svh - var(--header-h) - 2.5rem));
}

.desk .app-body {
  flex: 1;
  min-height: 0;
  grid-template-columns: 8.4rem minmax(0, 1fr);
}

.desk-swap {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.desk-swap .panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  filter: blur(2px);
  pointer-events: none;
  transition:
    opacity 300ms var(--ease-out),
    filter 300ms ease;
}

.desk-swap .panel.is-active {
  opacity: 1;
  filter: none;
  z-index: 1;
}

.review-title {
  margin: 0.2rem 0 0.8rem;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.review-row b {
  font-weight: 600;
}

.pass {
  color: var(--green);
}

.fail {
  color: var(--fail);
}

.evidence {
  margin-top: 0.85rem;
  padding: 0.8rem 0.85rem;
  border-radius: 0.85rem;
  background: #f7f1ea;
  font-size: 0.9rem;
  line-height: 1.45;
}

.evidence strong {
  display: block;
  margin-bottom: 0.2rem;
}

.ticker-wrap {
  padding: 1.35rem 0 1.15rem;
  overflow: hidden;
}

.ticker-label {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 0.7rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 52s linear infinite;
}

.ticker-set {
  display: flex;
  gap: 2.6rem;
  padding-right: 2.6rem;
}

.ticker p {
  margin: 0;
  white-space: nowrap;
  font-size: 1rem;
}

.ticker span {
  color: var(--muted);
}

.section {
  padding: 6.5rem 0;
}

.section + .section,
.band + .section {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 4rem;
  align-items: end;
}

.loop {
  padding-top: 3.5rem;
}

.loop-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.loop-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.beat {
  position: relative;
  padding: 0 0 1.5rem;
  color: var(--muted);
  transition: color 200ms ease;
}

.beat-copy {
  position: relative;
  padding-left: 1.35rem;
}

.beat-copy h3,
.steps h3,
.features h3,
.missions h3,
.people h3,
.why h3,
.card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.beat p,
.steps p,
.features p,
.missions p,
.people p,
.why p,
.card p,
.bounds li {
  margin: 0.45rem 0 0;
  color: #3c3733;
}

.beat-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 2px;
  height: 1.6rem;
  background: var(--purple);
  transform: scaleY(0.25);
  transform-origin: top center;
  transition: transform 240ms var(--ease-out);
}

.beat.is-active {
  color: var(--ink);
}

.beat.is-active .beat-copy::before {
  transform: scaleY(1);
}

.beat-card {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  background: var(--white);
  border: 1px solid rgba(22, 20, 18, 0.08);
  border-radius: 1rem;
}

.beat-card p {
  margin-top: 0.4rem;
}

.loop-stage {
  position: sticky;
  top: calc(var(--header-h) + 0.8rem);
}

.index {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--purple);
}

.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
}

.why li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.6rem;
}

.features,
.steps,
.missions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.features li,
.steps li,
.missions li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.features li:last-child,
.steps li:last-child,
.missions li:last-child {
  border-bottom: 1px solid var(--line);
}

.review {
  position: sticky;
  top: calc(var(--header-h) + 0.8rem);
  background: var(--white);
  border: 1px solid rgba(22, 20, 18, 0.08);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.2rem 1.3rem;
}

.review h3 {
  margin: 0.15rem 0 0.9rem;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.15rem 1.1rem 1.1rem;
  background: var(--white);
  border: 1px solid rgba(22, 20, 18, 0.08);
  border-radius: 1.1rem;
  text-decoration: none;
  transition:
    transform 160ms var(--ease-out),
    border-color 180ms ease;
}

.card:active,
.door:active {
  transform: scale(0.985);
}

.card-more,
.door-go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--purple);
  font-size: 0.92rem;
  font-weight: 600;
}

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.people article,
.door {
  background: var(--white);
  border: 1px solid rgba(22, 20, 18, 0.08);
  border-radius: 1.1rem;
  padding: 1.2rem 1.15rem 1.25rem;
}

.role {
  margin: 0.3rem 0 0;
  color: var(--purple);
  font-size: 0.92rem;
  font-weight: 600;
}

.bounds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-top: 2rem;
}

.bounds h3 {
  margin: 0 0 0.55rem;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.bounds ul {
  margin: 0;
  padding-left: 1.1rem;
}

.bounds li + li {
  margin-top: 0.5rem;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: 0.8rem 1rem;
  align-items: center;
  margin-top: 2.8rem;
}

.stage .app {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.note {
  margin: 0;
  padding: 0.85rem 0.9rem;
  background: var(--white);
  border: 1px solid rgba(22, 20, 18, 0.08);
  border-radius: 0.95rem;
  box-shadow: 0 16px 40px rgba(43, 14, 68, 0.06);
}

.note strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.note span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.note-a { grid-column: 1; grid-row: 1; }
.note-b { grid-column: 3; grid-row: 1; }
.note-c { grid-column: 1; grid-row: 2; }
.note-d { grid-column: 3; grid-row: 2; }

.band {
  background: var(--purple);
  color: var(--white);
  padding: 5.5rem 0;
}

.band .stack {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
}

.band .lede {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 1.2rem;
}

.band .button {
  margin-top: 1.6rem;
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  background:
    linear-gradient(currentColor, currentColor) center / 0.8rem 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 0.8rem no-repeat;
  color: var(--purple);
  transition: transform 180ms var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  max-width: 42rem;
}

.faq-body.is-animating {
  overflow: hidden;
}

.faq-body p {
  margin: 0 0 1.15rem;
  color: #3c3733;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.2rem;
  color: var(--purple);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
}

.door {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 16rem;
  text-decoration: none;
  transition:
    transform 160ms var(--ease-out),
    border-color 180ms ease;
}

.door strong {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.door-text {
  margin-top: 0.7rem;
  color: #3c3733;
}

.memo {
  display: grid;
  grid-template-columns: 12rem minmax(0, 40rem);
  gap: 2rem 4rem;
  justify-content: space-between;
  align-items: start;
  margin-top: 3rem;
}

.memo-index {
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.memo-index a {
  position: relative;
  padding: 0.32rem 0 0.32rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.memo-index a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--purple);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 200ms var(--ease-out);
}

.memo-index a.is-current {
  color: var(--ink);
}

.memo-index a.is-current::before {
  transform: scaleY(1);
}

.prose h2,
.page h1 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.page h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 6vw, 4.6rem);
}

.page {
  padding: 4.4rem 0 5.5rem;
}

.page-intro {
  padding-bottom: 0.5rem;
}

.page-intro .stack {
  font-size: clamp(2.9rem, 6vw, 4.7rem);
}

.prose h2 {
  margin: 2.4rem 0 0.55rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.prose p,
.prose li {
  max-width: 40rem;
}

.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease;
}

.pull {
  margin: 2.2rem 0;
  padding: 0 0 0 1.1rem;
  border: 0;
  border-left: 2px solid var(--purple);
  color: var(--purple);
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.pull p {
  margin: 0;
  max-width: 22ch;
}

.timeline {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
}

.timeline > li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}

.timeline > li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.deliver {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 600;
}

.site-footer {
  view-transition-name: site-footer;
  background: var(--purple);
  color: var(--white);
  padding: 3.4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer .logo {
  color: var(--white);
}

.site-footer a {
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer .footer-grid a:not(.logo) {
  color: rgba(255, 255, 255, 0.84);
}

.footer-tag {
  margin: 0.9rem 0 0;
  max-width: 16rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-note {
  margin: 2.4rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.footer-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  view-transition-name: page;
}

.missing {
  min-height: calc(100svh - 16rem);
  display: grid;
  align-content: center;
}

.settle {
  animation: settle 520ms var(--ease-out) both;
}

.d1 { animation-delay: 45ms; }
.d2 { animation-delay: 90ms; }
.d3 { animation-delay: 135ms; }
.d4 { animation-delay: 190ms; }
.d5 { animation-delay: 250ms; }

.unveil {
  animation: unveil 860ms var(--ease-out) 80ms both;
}

@keyframes settle {
  from { transform: translateY(12px); }
  to { transform: none; }
}

@keyframes unveil {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise 680ms var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }

    .reveal-late {
      animation-range: entry 8% entry 40%;
    }
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root),
::view-transition-group(site-header),
::view-transition-group(site-footer) {
  animation: none;
}

::view-transition-old(page) {
  animation: 160ms ease both fade-out;
}

::view-transition-new(page) {
  animation: 380ms var(--ease-out) both fade-up;
}

@keyframes fade-out {
  to { opacity: 0; }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.callouts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.callouts li {
  margin: 0;
  padding: 0.85rem 0.9rem;
  background: var(--white);
  border: 1px solid rgba(22, 20, 18, 0.08);
  border-radius: 0.95rem;
}

.callouts strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.callouts span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-showcase {
  margin-top: 0.5rem;
}

@container (max-width: 860px) {
  .hero-app .app-body {
    grid-template-columns: 7.4rem minmax(0, 1fr) 11.5rem;
  }
}

@container (max-width: 660px) {
  .hero-app .app-side {
    display: none;
  }
}

@container (max-width: 640px) {
  .hero-app .app-rail,
  .desk .app-rail {
    display: none;
  }

  .hero-app .app-body,
  .desk .app-body {
    grid-template-columns: 1fr;
  }

  .hero-app .app-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.button):hover,
  .prose a:hover,
  .more-link:hover,
  .announce a:hover {
    color: var(--purple);
  }

  .announce a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }

  .button:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white);
  }

  .button.ghost:hover {
    background: transparent;
    color: var(--purple);
    border-color: var(--purple);
  }

  .band .button:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
  }

  .card:hover,
  .door:hover,
  .people article:hover {
    border-color: rgba(43, 14, 68, 0.38);
  }

  .card:hover .arrow,
  .door:hover .arrow,
  .more-link:hover .arrow {
    transform: translateX(3px);
  }

  .ticker:hover .ticker-track {
    animation-play-state: paused;
  }

  .site-footer .footer-grid a:not(.logo):hover {
    color: var(--white);
  }
}

@media (min-width: 981px) {
  .loop-steps .beat {
    min-height: 64vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .split,
  .feature-layout,
  .people,
  .bounds,
  .why,
  .doors,
  .footer-grid,
  .loop-grid,
  .card-row,
  .memo,
  .hero-layout {
    grid-template-columns: 1fr;
  }

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

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

  .status div:nth-child(3),
  .status div:nth-child(4) {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }

  .status div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .loop-stage,
  .review {
    position: static;
  }

  .loop-stage {
    display: none;
  }

  .beat {
    min-height: 0;
    padding-bottom: 0.4rem;
  }

  .beat-card {
    display: block;
  }

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

  .stage .app,
  .note,
  .note-a,
  .note-b,
  .note-c,
  .note-d {
    grid-column: auto;
    grid-row: auto;
  }

  .stage .app {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .memo-index {
    position: static;
    flex-direction: row;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .memo-index a {
    flex: none;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
  }

  .memo-index a::before {
    display: none;
  }

  .memo-index a.is-current {
    color: var(--purple);
    border-color: var(--purple);
  }

  .card-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.2rem;
    padding-bottom: 0.4rem;
  }

  .card {
    flex: 0 0 min(82%, 22rem);
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.15rem);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.4rem 0 0.85rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(22, 20, 18, 0.06);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition:
      opacity 200ms var(--ease-out),
      transform 200ms var(--ease-out),
      visibility 0s linear 200ms;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition:
      opacity 200ms var(--ease-out),
      transform 200ms var(--ease-out),
      visibility 0s;
  }

  .nav-links a:not(.button) {
    padding: 0.7rem 0;
  }

  .nav-links a.button {
    width: 100%;
    margin-top: 0.35rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

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

  .hero .stack,
  .stack,
  .page-intro .stack,
  .page h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
    letter-spacing: -0.04em;
  }

  .section {
    padding: 4.2rem 0;
  }

  .band {
    padding: 4rem 0;
  }

  .timeline > li,
  .features li,
  .steps li,
  .missions li {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

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

  .app-pills,
  .hero-app .app-side {
    display: none;
  }
}

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

  .settle,
  .unveil,
  .ticker-track,
  .reveal {
    animation: none;
  }

  .ticker-track {
    flex-wrap: wrap;
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
  }

  .ticker-set + .ticker-set {
    display: none;
  }

  .ticker p {
    white-space: normal;
  }

  .desk-swap .panel,
  .nav-links,
  .button,
  .door,
  .card,
  .nav-toggle,
  .beat,
  .beat-copy::before,
  .memo-index a,
  .memo-index a::before,
  .arrow,
  .faq summary::after,
  .site-header {
    transition: none;
  }

  .desk-swap .panel {
    transform: none;
    filter: none;
  }

  .desk-swap .panel.is-active {
    transition: opacity 180ms ease;
  }

  .beat-copy::before,
  .memo-index a::before {
    transform: none;
    opacity: 0;
  }

  .beat.is-active .beat-copy::before,
  .memo-index a.is-current::before {
    opacity: 1;
  }

  ::view-transition-old(*),
  ::view-transition-new(*),
  ::view-transition-group(*) {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .nav-links {
    background: var(--paper);
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .app,
  .card,
  .door,
  .people article,
  .review,
  .beat-card,
  .note,
  .button.ghost {
    border-color: var(--ink);
  }
}

@media print {
  .announce,
  .scroll-progress,
  .ticker-wrap,
  .nav-toggle,
  .hero-glow,
  .hero-grid,
  .loop-stage {
    display: none !important;
  }

  .site-header,
  .site-footer,
  .band {
    position: static;
    background: white !important;
    color: black !important;
  }

  .site-footer,
  .band,
  .site-footer a,
  .footer-note {
    color: black !important;
  }

  .beat-card {
    display: block !important;
  }

  body {
    background: white;
  }

  a {
    text-decoration: underline;
  }
}
