/* ══════════ FONTS · self-hosted, SIL Open Font License 1.1 (see fonts/) ══════════ */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dm-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dm-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ══════════════════════════════════════════════════════════════
   LottaStorage — AxoLottaLove brand identity v1.
   This is an app surface, so it claims exactly one alebrije
   accent — Cobalto — and tints the Ribbon with it. Pastels carry
   the other ~80%. Apps use the continuous cut, never banderines.
   ══════════════════════════════════════════════════════════════ */
:root {
  /* Pastel surfaces */
  --blush: #FFD9E1;
  --petal: #FFB6C7;
  --rose: #FF9AA6;
  --agua: #C3E9E3;
  --cielo: #CDDFFB;
  --lirio: #DCD0F7;
  --maiz: #FDE6B0;

  /* This app's accent · one per surface, ≤15% */
  --cobalto: #3A6FE0;
  --cobalto-deep: #2B55B0;

  /* Neutrals */
  --masa: #FBF5EF;
  --masa-light: #FFF9F4;
  --ink: #26202A;
  --ink-soft: #6B5F70;

  /* Tokens */
  --radius-card: 20px;
  --radius-btn: 14px;
  --shadow-card: 0 6px 18px rgba(38, 32, 42, .06);
  --hairline: 1px solid rgba(38, 32, 42, .09);

  /* The Ribbon · LottaStorage, cobalt-led */
  --ribbon: repeating-linear-gradient(90deg,
      #3A6FE0 0 24px, #CDDFFB 24px 40px, #C3E9E3 40px 52px, #3A6FE0 52px 60px);
  /* Same sequence and rhythm at 2×, so the cut has room for its
     6 triangles and 3 holes per section without turning to noise. */
  --ribbon-lg: repeating-linear-gradient(90deg,
      #3A6FE0 0 48px, #CDDFFB 48px 80px, #C3E9E3 80px 104px, #3A6FE0 104px 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--masa);
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
  border-radius: 10px;
  outline: 3px solid var(--cobalto);
  outline-offset: 3px;
}

/* Mono label — 11px / .12em / uppercase, everywhere */
.mono {
  font: 500 11px/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(38, 32, 42, .45);
}

.body-soft {
  color: rgba(38, 32, 42, .65);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  background: var(--ink);
  color: var(--masa-light);
  font-weight: 700;
  transform: translateY(-160%);
}

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

/* ══════════ THE RIBBON ══════════ */
.ribbon-band {
  height: 12px;
  background: var(--ribbon);
}

/* The Ribbon, continuous cut — straight top edge, triangles along
   the bottom only, holes are the surface behind. */
.cut {
  position: relative;
  height: 38px;
  background: var(--ribbon-lg);
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000 90deg, #000 0) 0 100%/20px 11px repeat-x,
    linear-gradient(#000 0 0) 0 0/100% calc(100% - 11px) no-repeat;
  mask:
    conic-gradient(from -45deg at bottom, #0000 90deg, #000 0) 0 100%/20px 11px repeat-x,
    linear-gradient(#000 0 0) 0 0/100% calc(100% - 11px) no-repeat;
}

.cut::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 12px;
  background: radial-gradient(circle 3.4px at 50% 50%, var(--behind, var(--masa)) 97%, #0000) 0 0/40px 100%;
}

.papel {
  background: var(--masa);
}

/* ══════════ NAV ══════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 249, 244, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(38, 32, 42, .10);
}

.nav-inner {
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 48px;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.03em;
}

.brand-name .lotta {
  color: var(--cobalto);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.nav-links a {
  padding: 9px 16px;
  white-space: nowrap;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  transition: color .2s, background .2s;
}

.nav-links a:hover {
  background: rgba(205, 223, 251, .55);
  color: var(--ink);
}

.pill {
  display: inline-block;
  white-space: nowrap;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--maiz);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

/* ══════════ LAYOUT ══════════ */
main {
  padding-top: 74px;
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 88px 48px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 62ch;
  margin: 0 auto 44px;
  text-align: center;
  align-items: center;
}

h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  letter-spacing: -.025em;
}

h3 {
  font-size: 20px;
}

/* ══════════ BUTTONS · 48px min target ══════════ */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  background: var(--ink);
  color: #fff;
}

/* A neutral glyph: Apple's trademark guidelines reserve the Apple logo
   and the official badge, which replaces this once the app is live. */
.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-badge .small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  opacity: .8;
}

.store-badge .big {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

/* Muted for the coming-soon state, but not so far that the label
   drops below 4.5:1 against the page. */
.store-badge[aria-disabled="true"] {
  opacity: .75;
  cursor: not-allowed;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--cobalto);
  font-weight: 700;
}

.btn-ghost:hover {
  color: var(--cobalto-deep);
}

/* ══════════ HERO ══════════ */
.hero-wrap {
  /* Puntos motif — alebrije dotwork, for backgrounds */
  background: radial-gradient(circle at 6px 6px, #CDDFFB 2.4px, transparent 2.6px) 0 0/18px 18px,
    var(--masa-light);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(40px, 5vw, 64px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 48px 96px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

/* Stacked endorsement lockup — "an app by" */
.family {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border: var(--hairline);
  border-radius: 999px;
  background: var(--masa-light);
}

.family svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.family b {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.02em;
}

.family .lotta {
  color: var(--rose);
}

h1 {
  font-size: clamp(40px, 5.2vw, 62px);
  line-height: .98;
  letter-spacing: -.035em;
}

h1 .accent {
  color: var(--cobalto);
}

.lead {
  max-width: 46ch;
  font-size: 19px;
  line-height: 1.45;
  color: rgba(38, 32, 42, .72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ══════════ APP WINDOW MOCKUP ══════════ */
.hero-visual {
  position: relative;
  min-width: 0;
}

.app-window {
  overflow: hidden;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--masa-light);
  box-shadow: 0 14px 40px rgba(38, 32, 42, .10);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 46px;
  align-items: center;
  padding: 0 16px;
  border-bottom: var(--hairline);
  background: var(--masa);
}

.traffic-lights {
  display: flex;
  gap: 6px;
}

.traffic-lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.traffic-lights i:nth-child(2) {
  background: var(--maiz);
}

.traffic-lights i:nth-child(3) {
  background: var(--agua);
}

.window-title {
  font-size: 13px;
  font-weight: 700;
}

.scan-status {
  justify-self: end;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--agua);
  font: 500 10px/1 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.window-body {
  display: grid;
  grid-template-columns: 30% 70%;
}

.sidebar {
  padding: 24px 16px;
  border-right: var(--hairline);
  background: var(--masa);
}

/* 74% donut — Cobalto on Cielo */
.storage-ring {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  place-content: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: conic-gradient(var(--cobalto) 0 74%, var(--cielo) 0);
  text-align: center;
}

.storage-ring::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--masa);
}

.storage-ring strong,
.storage-ring span {
  position: relative;
  display: block;
}

.storage-ring strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -.03em;
}

.storage-ring span {
  font: 500 9px/1.6 'DM Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(38, 32, 42, .5);
}

.drive-label {
  margin-bottom: 18px;
  text-align: center;
}

.drive-label strong {
  display: block;
  font-size: 12px;
}

.drive-label span {
  display: block;
  font: 500 9px/1.6 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(38, 32, 42, .45);
}

.category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  padding: 8px 9px;
  border-radius: 10px;
  background: var(--masa-light);
  font-size: 11px;
  color: rgba(38, 32, 42, .62);
}

.category b {
  color: var(--ink);
  white-space: nowrap;
}

/* Swatch is set per row so it always tracks its treemap tile. */
.category i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--dot);
}

.content {
  padding: 22px 20px;
}

.content-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.content-heading strong {
  display: block;
  font-size: 14px;
}

.view-toggle {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--masa);
  font: 500 10px/1 'DM Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(38, 32, 42, .55);
}

.treemap {
  display: grid;
  height: 300px;
  grid-template: 1fr .72fr / 1.3fr .85fr;
  gap: 8px;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 13px;
  border-radius: 13px;
}

.tile span {
  font-size: 12px;
  font-weight: 500;
}

.tile strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
}

/* One accent on this surface; the rest are pastels. */
.documents {
  grid-row: 1 / 3;
  background: var(--cobalto);
  color: #fff;
}

.media {
  background: var(--lirio);
}

.apps {
  background: var(--maiz);
}




/* ══════════ TRUST STRIP ══════════ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: center;
  padding: 22px 36px;
  background: var(--ink);
  color: rgba(255, 249, 244, .82);
}

.trust-strip .mono {
  color: rgba(255, 249, 244, .82);
}

.trust-strip i {
  color: var(--cielo);
  font-style: normal;
  opacity: .5;
}

/* ══════════ CARDS ══════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--masa-light);
  box-shadow: var(--shadow-card);
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 16px;
  background: var(--tile, var(--cielo));
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card p {
  font-size: 15px;
  color: rgba(38, 32, 42, .65);
}

/* ══════════ PROCESS ══════════ */
.process {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(44px, 7vw, 88px);
  align-items: start;
}

.process-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.kind-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 18px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--masa-light);
  box-shadow: var(--shadow-card);
}


.kind-note p {
  font-size: 14.5px;
  color: rgba(38, 32, 42, .65);
}

.kind-note strong {
  display: block;
  color: var(--ink);
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(38, 32, 42, .09);
}

.step:first-child {
  padding-top: 0;
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--cielo);
  font: 500 12px/1 'DM Mono', monospace;
  letter-spacing: .06em;
}

.step p {
  margin-top: 6px;
  font-size: 15px;
  color: rgba(38, 32, 42, .65);
}

/* ══════════ FAQ ══════════ */
.faq {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--masa-light);
  box-shadow: var(--shadow-card);
}

summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  cursor: pointer;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  list-style: none;
}

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

summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--cobalto);
  content: "+";
  font-size: 22px;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 72ch;
  margin: -2px 22px 22px;
  font-size: 15px;
  color: rgba(38, 32, 42, .65);
}

/* ══════════ FINAL CTA ══════════ */
.final-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 48px 88px;
}

.final {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink);
  color: var(--masa-light);
}

.final-body {
  display: contents;
}


.final-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 34px 0 34px 34px;
}

.final-copy .mono {
  color: rgba(255, 249, 244, .55);
}

.final h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.final-copy p {
  max-width: 52ch;
  color: rgba(255, 249, 244, .72);
}

.final .store-badge {
  margin: 34px 34px 34px 0;
  background: var(--masa-light);
  color: var(--ink);
}

.final .store-badge svg {
  stroke: var(--ink);
}

.final .cut {
  grid-column: 1 / -1;
  --behind: var(--ink);
  height: 26px;
  order: -1;
}

/* ══════════ FOOTER ══════════ */
footer {
  background: var(--ink);
  color: rgba(255, 249, 244, .72);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 34px 48px;
  font-size: 15px;
}

footer a {
  color: var(--cielo);
  font-weight: 700;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ══════════ SHARED PAGE CHROME ══════════ */
.section-more {
  margin-top: 28px;
  text-align: center;
}

.nav-links a[aria-current="page"] {
  background: rgba(205, 223, 251, .55);
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trademark {
  width: 100%;
  font-size: 13px;
  color: rgba(255, 249, 244, .55);
}

/* ══════════ DOCUMENT PAGES · support and privacy ══════════ */
.doc {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 72px 48px 96px;
}

.doc-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(38, 32, 42, .09);
}

.doc h1 {
  font-size: clamp(36px, 4.6vw, 52px);
}

.doc-header .lead {
  max-width: 62ch;
}

.toc {
  margin-top: 28px;
  padding: 20px 22px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--masa-light);
  box-shadow: var(--shadow-card);
}

.toc ol {
  columns: 2;
  column-gap: 28px;
  margin: 10px 0 0;
  padding-left: 20px;
}

.toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.toc a,
.prose a {
  color: var(--cobalto-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.prose {
  font-size: 16.5px;
}

.prose h2 {
  margin: 56px 0 14px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  scroll-margin-top: 96px;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 19px;
  line-height: 1.25;
  scroll-margin-top: 96px;
}

.prose p,
.prose ul,
.prose ol {
  max-width: 70ch;
  margin: 0 0 14px;
  color: rgba(38, 32, 42, .78);
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--ink);
}

.prose code,
kbd {
  font: 500 .86em/1 'DM Mono', ui-monospace, monospace;
}

kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 4px 7px;
  border: 1px solid rgba(38, 32, 42, .16);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: var(--masa-light);
  color: var(--ink);
  text-align: center;
}

.callout {
  max-width: 70ch;
  margin: 18px 0;
  padding: 18px 20px;
  border: var(--hairline);
  border-left: 4px solid var(--cobalto);
  border-radius: 14px;
  background: var(--masa-light);
}

.callout p:last-child {
  margin-bottom: 0;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding: 24px 26px;
  border-radius: var(--radius-card);
  background: var(--ink);
  color: rgba(255, 249, 244, .78);
}

.contact-card h2 {
  margin: 0 0 6px;
  color: var(--masa-light);
  font-size: 24px;
}

.contact-card p {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 249, 244, .78);
}

.contact-card strong {
  color: var(--masa-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  background: var(--masa-light);
  color: var(--ink);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--cielo);
}

.prose .btn-primary {
  color: var(--ink);
  text-decoration: none;
}

.contact-card .btn-primary:focus-visible {
  outline-color: var(--cielo);
}

.shortcuts {
  width: 100%;
  max-width: 70ch;
  margin: 8px 0 18px;
  border-collapse: collapse;
  font-size: 15.5px;
}

.shortcuts th,
.shortcuts td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(38, 32, 42, .09);
  text-align: left;
  vertical-align: middle;
}

.shortcuts th {
  font: 500 11px/1 'DM Mono', ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(38, 32, 42, .55);
}

.shortcuts td:first-child {
  white-space: nowrap;
}

.prose .doc-meta {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(38, 32, 42, .6);
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 940px) {
  .nav-inner,
  .section,
  .footer-inner,
  .final-wrap,
  .doc {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 56px 24px 72px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 14px;
  }

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

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


  .final {
    grid-template-columns: auto 1fr;
  }

  .final .store-badge {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0 34px 34px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
  }

  .brand svg {
    width: 34px;
    height: 34px;
  }

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

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .treemap {
    height: 260px;
  }


  .final {
    grid-template-columns: 1fr;
    text-align: left;
  }


  .final-copy {
    padding: 20px 28px 0;
  }

  .final .store-badge {
    margin: 22px 28px 28px;
  }

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

  .doc {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .toc ol {
    columns: 1;
  }

}

/* Four nav links and the pill don't fit beside the brand here; the
   hero and badges still say "coming soon". */
@media (min-width: 641px) and (max-width: 820px) {
  .pill {
    display: none;
  }
}

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