/* usebookr.com. Light theme only. Accent = Bookr teal #0F766E (customer-app/src/theme.ts). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #FFFFFF; --mist: #F3F7F6; --mint: #E2F1EE; --mint-2: #CFE8E3;
  --ink: #0F1F1D; --muted: #4D5D5A; --line: rgba(15, 31, 29, 0.09);
  --teal: #0F766E; --teal-deep: #0B5852; --on-teal: #FFFFFF;
  --badge-bg: #000000; --badge-fg: #FFFFFF; --badge-edge: #A6A6A6;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow: 0 1px 2px rgba(15, 60, 55, 0.04), 0 12px 32px -12px rgba(15, 60, 55, 0.14), 0 40px 80px -40px rgba(15, 60, 55, 0.22);
  --wrap: 1200px; --gutter: 16px;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1000px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font); overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-spacing: 0.05em; }
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; font-weight: 700; word-spacing: 0.08em; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 4px 0; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--bg); color: var(--ink); padding: 8px 12px; z-index: 30; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header: a floating bar that stays in reach */
.site-header { position: sticky; top: 0; z-index: 20; padding: 12px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px;
  background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-radius: 999px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px -16px rgba(15, 60, 55, 0.25);
  max-width: calc(var(--wrap) + 2 * var(--gutter) - 32px); width: calc(100% - 2 * var(--gutter)); padding: 0 8px 0 20px; }
.logo { display: inline-flex; color: var(--teal); border-radius: 8px; }
.logo svg { display: block; width: 104px; height: 29px; }
.logo .word { fill: currentColor; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 999px;
  transition: background-color 300ms var(--ease); }
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav .hide-sm { display: none; }
@media (min-width: 820px) { .nav .hide-sm { display: inline-block; } }
.nav .btn { margin-left: 4px; }
.nav a { white-space: nowrap; }
@media (max-width: 400px) { .site-header .wrap { padding-left: 14px; gap: 4px; } .logo svg { width: 86px; height: 24px; } .nav { gap: 0; } .nav a.shops-link { padding: 10px 8px; font-size: 14px; } .nav .btn { padding: 10px 14px; font-size: 14px; } }

/* Buttons: pills with a soft press */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font: 600 15px/1.2 var(--font); text-decoration: none; border: 0; background: var(--bg); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(15, 31, 29, 0.16); transition: transform 400ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.btn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(15, 31, 29, 0.32); }
.btn:active { transform: scale(0.98); }
.nav .btn, .btn-primary { background: var(--teal); color: var(--on-teal); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 6px 16px -8px rgba(15, 118, 110, 0.6); }
.nav .btn:hover, .btn-primary:hover { background: var(--teal-deep); color: var(--on-teal); }
.btn-lg { min-height: 52px; padding: 12px 8px 12px 24px; font-size: 16px; }
.btn .go { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, 0.16);
  transition: transform 400ms var(--ease); }
.btn:not(.btn-primary) .go { background: var(--mist); }
.btn:hover .go { transform: translateX(2px); }
.go svg { width: 14px; height: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Store badges (stand-ins until the store links exist) */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badge { display: inline-flex; flex-direction: column; justify-content: center; min-width: 150px; min-height: 48px; padding: 6px 14px;
  border-radius: 10px; border: 1px solid var(--badge-edge); background: var(--badge-bg); color: var(--badge-fg); line-height: 1.15; }
.badge small { font-size: 11px; }
.badge strong { font-size: 18px; font-weight: 600; }
.badges + p { margin-top: 14px; }

/* Type scale */
.display { font-size: clamp(40px, 9vw, 80px); line-height: 1.02; letter-spacing: -0.03em; word-spacing: 0.1em; font-weight: 750; }
.h2 { font-size: clamp(32px, 5.4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 750; }
.h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; font-weight: 700; margin-bottom: 12px; }
.lead { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6; color: var(--muted); margin-top: 20px; max-width: 34em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--teal-deep);
  background: var(--mint); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--teal); }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 16px; }
.tint { background: var(--mist); }

/* Hero */
.hero { display: grid; gap: 48px; align-items: center; padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 8vw, 112px); }
@media (min-width: 960px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.hero-copy { animation: rise 900ms var(--ease) both; }
.hero .note-line { margin-top: 20px; display: grid; gap: 4px; }
.hero .note-line p { margin: 0; }

/* Phone stage: real app screens in a light device frame */
.stage { position: relative; border-radius: 40px; background: radial-gradient(120% 90% at 70% 10%, var(--mint) 0%, var(--mist) 55%, #F8FBFA 100%);
  box-shadow: inset 0 0 0 1px var(--line); padding: clamp(28px, 5vw, 56px) 16px 0; overflow: hidden; display: flex; justify-content: center;
  min-height: 420px; animation: rise 1100ms 120ms var(--ease) both; }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, rgba(243, 247, 246, 0.9)); pointer-events: none; }
.phone { position: relative; width: min(300px, 78vw); flex: none; padding: 9px; border-radius: 48px; margin: 0;
  background: linear-gradient(160deg, #FFFFFF 0%, #E6ECEB 100%); box-shadow: 0 0 0 1px rgba(15, 31, 29, 0.08), var(--shadow); }
.phone img { display: block; width: 100%; height: auto; border-radius: 39px; box-shadow: 0 0 0 1px rgba(15, 31, 29, 0.06); }
.phone.crop { overflow: hidden; }
.stage .phone { margin-bottom: -120px; }
.stage .phone.back { display: none; }
@media (min-width: 600px) {
  .stage .phone.back { display: block; position: absolute; width: 250px; top: 96px; right: 8%; transform: rotate(6deg); opacity: 0.98; }
  .stage .phone.front { transform: translateX(-18%) rotate(-2deg); z-index: 1; }
}
@media (min-width: 960px) { .stage { min-height: 600px; } .stage .phone.front { width: 310px; } .stage .phone.back { width: 262px; right: 6%; top: 120px; } }

/* Phone crops: a screen cut at the card edge */
.step-no { display: inline-grid; place-items: center; border-radius: 999px; font-weight: 700; }
.phone.cut-bottom { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.phone.cut-bottom img { border-radius: 39px 39px 0 0; }
.phone.cut-top { border-top-left-radius: 0; border-top-right-radius: 0; padding-top: 0; }
.phone.cut-top img { border-radius: 0 0 39px 39px; }
.stage { align-items: flex-end; }
.stage .phone.cut-bottom { margin-bottom: 0; }

/* What Bookr does: one layered Pixel Clinic stage beside three connected steps */
.section.tight { padding-block: clamp(48px, 6vw, 72px); }
.section.tight .section-head { margin-bottom: 24px; }
.flow { display: grid; gap: 16px; }
@media (min-width: 900px) { .flow { grid-template-columns: 7fr 5fr; gap: 20px; align-items: stretch; } }
.flow-stage { padding: 6px; border-radius: 36px; background: rgba(15, 118, 110, 0.07); box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.12); }
.flow-core { position: relative; overflow: hidden; height: 230px; border-radius: 30px;
  background: radial-gradient(90% 120% at 15% 0%, #FFFFFF 0%, #E4F3F0 42%, #C4E6DF 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.flow-core::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 118, 110, 0.22), transparent); pointer-events: none; }
.flow-core .phone { position: absolute; }
.fl-front { width: 190px; left: 6%; bottom: 0; z-index: 1; }
.fl-back { display: none; width: 170px; right: 3%; bottom: -150px; transform: rotate(6deg); }
.fl-sheet { position: absolute; z-index: 2; margin: 0; right: 4%; bottom: 14px; width: 170px; border-radius: 18px; overflow: hidden; background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(15, 31, 29, 0.06), 0 24px 48px -20px rgba(15, 60, 55, 0.45); }
.fl-sheet img { display: block; width: 100%; height: auto; margin-top: -2px; }
@media (min-width: 600px) { .flow-core { height: 340px; } .fl-front { width: 250px; left: 50%; margin-left: -160px; } .fl-back { display: block; width: 200px; bottom: -120px; } .fl-sheet { width: 230px; left: 5%; right: auto; } }
@media (min-width: 900px) {
  .flow-core { height: 100%; min-height: 540px; }
  .fl-front { width: 320px; margin-left: -170px; }
  .fl-back { width: 240px; left: 3%; right: auto; bottom: -50px; transform: rotate(-6deg); }
  .fl-sheet { width: 240px; left: auto; right: 4%; bottom: 32px; }
}
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 360px); gap: 12px; }
.steps-scroll { margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.step { margin: 0; scroll-snap-align: start; display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 24px;
  background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -24px rgba(15, 60, 55, 0.45); position: relative; }
.step .step-no { width: 36px; height: 36px; font-size: 15px; background: var(--teal); color: var(--on-teal); }
.step h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; margin: 0 0 6px; }
.step p { margin: 0; font-size: 16px; line-height: 1.6; color: #24332F; }
@media (min-width: 900px) {
  .steps-scroll { margin: 0; padding: 0; overflow: visible; }
  .flow-steps { grid-auto-flow: row; grid-auto-columns: auto; gap: 12px; position: relative; }
  .step { grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 20px; }
  .step h3 { margin-top: 6px; }
  .flow-steps::before { content: ""; position: absolute; left: 37px; top: 40px; bottom: 40px; width: 2px; border-radius: 2px;
    background: linear-gradient(var(--teal), var(--mint-2)); }
}

/* For customers: a bento of six tiles, each with its own tint and visual */
.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } .t1, .t6 { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .t1 { grid-column: span 4; } .t2 { grid-column: span 2; }
  .t3, .t4, .t5 { grid-column: span 2; } .t6 { grid-column: 1 / -1; }
}
.tile { margin: 0; position: relative; overflow: hidden; border-radius: 28px; padding: 22px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-content: start; align-items: start;
  box-shadow: inset 0 0 0 1px rgba(15, 31, 29, 0.07), 0 18px 40px -32px rgba(15, 60, 55, 0.5);
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease); }
.tile:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.18), 0 28px 50px -30px rgba(15, 60, 55, 0.55); }
.tile h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--ink); }
.tile p { margin: 0; font-size: 16px; line-height: 1.6; color: #24332F; max-width: 36em; }
.t-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #FFFFFF; color: var(--teal-deep);
  box-shadow: 0 0 0 1px rgba(15, 31, 29, 0.06), 0 10px 24px -12px rgba(15, 60, 55, 0.35); }
.t-ic svg { width: 28px; height: 28px; }
.tile .t-shot { grid-column: 1 / -1; }
@media (min-width: 680px) { .tile { padding: 26px; grid-template-columns: 1fr; gap: 18px; } .t-ic { width: 60px; height: 60px; border-radius: 18px; } .t-ic svg { width: 34px; height: 34px; } }
.t1 { background: linear-gradient(150deg, #F4FAF9 0%, #E2F1EE 100%); }
.t2 { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.22), 0 18px 40px -32px rgba(15, 60, 55, 0.5); }
.t2 .t-ic { background: var(--mint); box-shadow: none; }
.t2 .t-shot { transform: rotate(1.5deg); background: #FFFFFF; }
.t3 { background: #EAF5F2; }
.t4 { background: linear-gradient(160deg, #FFF8EA 0%, #FDEFD2 100%); }
.t4 .t-ic { color: #8A5300; }
.t5 { background: linear-gradient(160deg, #F3F5F9 0%, #E7ECF3 100%); }
.t5 .t-ic { color: #2F4565; }
.t6 { background: #FFFFFF; }
.t-shot { margin: 0; border-radius: 18px; overflow: hidden; background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(15, 31, 29, 0.07), 0 20px 40px -24px rgba(15, 60, 55, 0.45); transform: rotate(-1.5deg); }
.t-shot img { display: block; width: 100%; height: auto; }
@media (min-width: 680px) {
  .t1 { grid-template-columns: 1fr 1fr; align-items: center; align-content: center; column-gap: 28px; }
  .t1 .t-ic { grid-column: 1; } .t1 .t-body { grid-column: 1; } .t1 .t-shot { grid-column: 2; grid-row: 1 / span 2; }
  .t6 { grid-template-columns: 60px 1fr; align-items: center; column-gap: 22px; }
}

/* Motion: CSS only. Static and fully visible unless the browser supports scroll timelines and motion is allowed */
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes chip { 0% { transform: scale(0.7); box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.35); } 60% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(15, 118, 110, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(15, 118, 110, 0); } }
@keyframes sweep { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@media (prefers-reduced-motion: no-preference) {
  .fl-front { animation: float 6s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
  .fl-sheet { animation: float 7s cubic-bezier(0.45, 0, 0.55, 1) 1.2s infinite alternate; }
  .stage { isolation: isolate; }
  .stage::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-120%) skewX(-18deg);
    animation: sweep 600ms cubic-bezier(0.32, 0.72, 0, 1) 700ms both; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .bento .t2, .bento .t4 { animation-range: entry 8% entry 78%; }
    .bento .t5 { animation-range: entry 16% entry 86%; }
    .step .step-no { animation: chip linear both; animation-timeline: view(); animation-range: entry 30% cover 35%; }
    .s2 .step-no { animation-range: entry 55% cover 42%; }
    .s3 .step-no { animation-range: entry 80% cover 50%; }
  }
}

/* Facts (customer promises, shop reasons) */
.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } .split > :first-child { position: sticky; top: 112px; align-self: start; } }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 680px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts li { margin: 0; padding: 24px; border-radius: 24px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.tint .facts li { box-shadow: 0 0 0 1px var(--line), 0 10px 30px -24px rgba(15, 60, 55, 0.4); }
.facts .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--teal); margin-bottom: 16px; }
.facts .ic svg { width: 20px; height: 20px; }
.facts h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 6px; }
.facts p { color: var(--muted); font-size: 15px; margin: 0; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 24px; }
.note svg { flex: none; margin-top: 3px; }

/* Numbered steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { counter-increment: s; margin: 0; padding: 28px; border-radius: 28px; background: var(--mist); position: relative; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  background: var(--teal); color: var(--on-teal); font-weight: 700; margin-bottom: 40px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }

/* Two panels side by side */
.panels { display: grid; gap: 16px; }
@media (min-width: 900px) { .panels { grid-template-columns: 1fr 1fr; gap: 20px; } }
.panel { border-radius: 32px; padding: clamp(28px, 4vw, 48px); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.panel .lead { font-size: 17px; }

/* Call to action band */
.cta { position: relative; overflow: hidden; border-radius: 40px; background: linear-gradient(140deg, var(--mint) 0%, #EEF7F5 60%, var(--mist) 100%);
  box-shadow: inset 0 0 0 1px var(--line); padding: clamp(36px, 6vw, 72px) clamp(24px, 6vw, 72px); display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .cta { grid-template-columns: 1.1fr 0.9fr; } .cta.has-phone { padding-bottom: 0; padding-top: 0; } .cta.has-phone .cta-copy { padding-block: 72px; } }
.cta .lead { max-width: 30em; }
.cta-phone { display: none; }
@media (min-width: 960px) { .cta-phone { display: flex; justify-content: center; align-self: end; overflow: hidden; padding-top: 48px; } .cta-phone .phone { width: 290px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 17px; list-style: none; position: relative; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform 400ms var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 40em; }

/* Prose pages (legal, support, delete) */
.doc { display: grid; gap: 32px; padding: 40px 0 96px; }
@media (min-width: 900px) { .doc { grid-template-columns: 240px minmax(0, 700px); gap: 80px; padding-top: 64px; } }
.toc { font-size: 14px; }
.toc nav { background: var(--mist); border-radius: 24px; padding: 20px; }
.toc p { color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 10px; margin: 0 -10px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 10px;
  transition: background-color 300ms var(--ease); }
.toc a:hover { background: var(--bg); color: var(--ink); }
@media (min-width: 900px) { .toc nav { position: sticky; top: 104px; } }
.doc h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 750; letter-spacing: -0.03em; }
.doc .sub { color: var(--muted); font-size: 18px; margin-top: 12px; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 48px 0 12px; scroll-margin-top: 104px; }
.doc article > section > p, .doc article li { color: #2E3D3A; }
.draft { display: flex; gap: 10px; align-items: flex-start; background: #FFF6E5; color: #5A3B00; border-radius: 16px; padding: 14px 18px; margin-top: 28px; font-size: 15px; }
.draft svg { flex: none; margin-top: 3px; }
.pending { background: var(--mist); border-radius: 16px; padding: 16px 18px; margin: 16px 0; font-size: 15px; }
.pending .label { display: inline-block; background: #FFF6E5; color: #5A3B00; border-radius: 999px; font-size: 12px; font-weight: 600; padding: 2px 10px; margin-bottom: 8px; }
.pending p { margin: 0; }

/* Footer */
.site-footer { background: var(--mist); margin-top: clamp(48px, 8vw, 96px); }
.foot { display: grid; gap: 48px; padding: clamp(56px, 8vw, 96px) 0 48px; }
@media (min-width: 820px) { .foot { grid-template-columns: 1fr auto; } }
.foot .get { font-size: clamp(36px, 6vw, 64px); font-weight: 750; letter-spacing: -0.035em; line-height: 1; }
.foot .badges { margin-top: 28px; }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(140px, auto)); gap: 32px 56px; }
.foot-links h2 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.foot-links ul { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin: 0; }
.foot-links a { display: inline-block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.foot-links a:hover { color: var(--teal); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0 40px; border-top: 1px solid var(--line); }
.foot-base p { margin: 0; font-size: 13px; color: var(--muted); }

.notfound { padding: clamp(64px, 12vw, 140px) 0; max-width: 680px; }
.notfound h1 { font-size: clamp(40px, 8vw, 72px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02; }
.notfound p { margin-top: 20px; color: var(--muted); font-size: 19px; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Cookie banner and footer button (assets/consent.js; only present when analytics is on) */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter); background: var(--bg); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.cookie-copy { flex: 1 1 320px; font-size: 14px; color: var(--muted); }
.cookie-copy p { margin: 0; }
.cookie-copy .cookie-title { font-weight: 700; color: var(--ink); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-settings { min-height: 44px; padding: 0 4px; background: none; border: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-settings:hover { color: var(--ink); }
