:root {
  color-scheme: light dark;
  --canvas: #faf9f7;
  --surface: #ffffff;
  --raised: #f2f0ec;
  --line: #e5e1da;
  --ink: #1b1a18;
  --body: #3b3935;
  --muted: #6c6963;
  --accent: #0f766e;
  --accent-hover: #0c625b;
  --accent-ink: #ffffff;
  --accent-soft: #d7efea;
  --danger: #a8271d;
  --tok-proj: #8a5a12;
  --tok-due: #1d4ed8;
  --tok-defer: #6d28d9;
  --shadow: 0 1px 2px rgba(27, 26, 24, 0.04), 0 6px 20px rgba(27, 26, 24, 0.06);
  --shadow-lg: 0 2px 6px rgba(27, 26, 24, 0.05), 0 24px 60px rgba(27, 26, 24, 0.13);
  --radius: 0.75rem;
  --header-bg: rgba(250, 249, 247, 0.86);
  --section: clamp(72px, 10vw, 128px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #131313;
    --surface: #1c1c1b;
    --raised: #262624;
    --line: #34332f;
    --ink: #f3f1ed;
    --body: #d6d3cd;
    --muted: #a09d96;
    --accent: #5eead4;
    --accent-hover: #8af0e0;
    --accent-ink: #0a3b35;
    --accent-soft: #143b36;
    --danger: #ff8a80;
    --tok-proj: #f5b86b;
    --tok-due: #93b4ff;
    --tok-defer: #c4a5ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.55);
    --header-bg: rgba(19, 19, 19, 0.86);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--canvas); scrollbar-color: var(--line) var(--canvas); }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-inline: 20px;
}

.skipLink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skipLink:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.pebble { color: #0f766e; flex: 0 0 auto; }

.headActions { display: inline-flex; align-items: center; gap: 2px; }
.navlink {
  display: none;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.navlink:hover { color: var(--ink); }
.navlink[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
@media (min-width: 480px) { .navlink[data-primary] { display: inline-flex; padding: 0 8px; } }
@media (min-width: 860px) { .navlink { display: inline-flex; padding: 0 11px; } }

.navCta {
  display: none;
  align-items: center;
  min-height: 32px;
  margin-left: 10px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.15s;
}
.navCta:hover { background: var(--accent-hover); }
@media (min-width: 640px) { .navCta { display: inline-flex; } }

.langToggle { display: inline-flex; align-items: center; margin-left: 8px; font-size: 0.82rem; }
.langToggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 40px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.langToggle a + a::before { content: "/"; margin-right: 4px; color: var(--line); }
.langToggle a:hover { color: var(--ink); }
.langToggle a[aria-current="true"] { color: var(--ink); font-weight: 650; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: var(--muted); }
.btn--ghost svg { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: 0; overflow-x: clip; }
.heroText { display: grid; justify-items: center; text-align: center; }
.heroText .pebble { margin-bottom: 18px; }
.hero h1 {
  max-width: 15em;
  margin: 0;
  font-size: clamp(2.1rem, 5.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.lead { margin: 22px 0 30px; max-width: 42rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.16rem); line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}
.facts li + li::before { content: "·"; margin: 0 10px; color: var(--muted); font-weight: 700; }
@media (max-width: 640px) {
  .heroText { justify-items: start; text-align: left; }
  .heroText .cta, .facts { justify-content: flex-start; }
  .facts { gap: 6px 16px; }
  .facts li { display: inline-flex; align-items: center; gap: 7px; }
  .facts li::before, .facts li + li::before { content: ""; width: 5px; height: 5px; margin: 0; border-radius: 50%; background: var(--accent); }
}

.showcase { position: relative; margin-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(28px, 5vw, 56px); }
.showcaseDesk { width: min(88%, 1000px); margin-inline: auto 12%; }
.showcasePhone {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: clamp(110px, 23%, 250px);
  border-radius: clamp(16px, 2.4vw, 28px);
}
@media (min-width: 1120px) { .showcaseDesk { margin-inline: auto 9%; } }
@media (max-width: 640px) {
  .showcaseDesk { width: 100%; margin: 0; }
  .showcasePhone { right: 20px; width: 32%; bottom: 0; }
}

/* ---------- Screenshot frames ---------- */
.phone {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; }

.browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--raised);
  box-shadow: var(--shadow-lg);
}
.browserBar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.browserBar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser img { width: 100%; }

/* ---------- Sections ---------- */
section { padding: var(--section) 0 0; }
main > section:last-child { padding-bottom: var(--section); }
.sectionHead { max-width: 40rem; margin: 0 auto 44px; text-align: center; }
.sectionHead h2, .ideaText h2, .band h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.sectionHead p { margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.55; }

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

/* ---------- Gallery ---------- */
.galleryOuter { position: relative; }
.gallery {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 28px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; width: min(62vw, 220px); margin: 0; scroll-snap-align: center; }
.slide .phone { border-radius: 22px; box-shadow: var(--shadow); }
.slide figcaption { margin-top: 16px; }
.slide figcaption strong { display: block; font-size: 0.98rem; font-weight: 650; }
.slide figcaption span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.galleryNav {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.15s;
}
.galleryNav:hover { background: var(--raised); }
.galleryNav.prev { left: -8px; }
.galleryNav.next { right: -8px; }
@media (min-width: 760px) { .galleryNav:not([hidden]) { display: inline-flex; } }
.hint { margin: 0; text-align: center; color: var(--muted); font-size: 0.82rem; }

/* ---------- The one idea ---------- */
.idea { display: grid; gap: 40px; align-items: center; }
@media (min-width: 800px) { .idea { grid-template-columns: 280px 1fr; gap: clamp(56px, 8vw, 112px); } .idea .proseShot { order: -1; } }
.ideaText { max-width: 34rem; }
.ideaText p { margin: 0 0 14px; color: var(--body); font-size: 1.08rem; line-height: 1.7; }
.ideaText p:last-child { margin-bottom: 0; }
.idea .proseShot { width: min(66vw, 280px); margin-inline: auto; }

/* ---------- Feature list ---------- */
.features { display: grid; gap: 0 40px; margin: 0; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; gap: 0 64px; max-width: 60rem; margin: 0 auto; } }
.feature { display: grid; gap: 8px; align-content: start; padding: 24px 0 30px; border-top: 1px solid var(--line); }
.feature h3 { margin: 0; font-size: 1.06rem; font-weight: 650; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.6; }

/* ---------- Capture syntax demo ---------- */
.captureDemo.card { max-width: 48rem; margin: 0 auto 8px; padding: 0; border: 0; background: none; }
.captureLine {
  margin: 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: clamp(1rem, 3.2vw, 1.3rem);
  line-height: 2;
  overflow-wrap: anywhere;
}
.captureLine code { font-size: inherit; }
.tok { padding: 3px 7px; border-radius: 7px; white-space: nowrap; }
.tok--title { color: var(--ink); padding-inline: 0; }
.tok--ctx { color: var(--accent); background: var(--accent-soft); }
.tok--proj { color: var(--tok-proj); background: color-mix(in srgb, var(--tok-proj) 13%, transparent); }
.tok--due { color: var(--tok-due); background: color-mix(in srgb, var(--tok-due) 12%, transparent); }
.tok--tag { color: var(--muted); background: color-mix(in srgb, var(--muted) 14%, transparent); }
.tok--defer { color: var(--tok-defer); background: color-mix(in srgb, var(--tok-defer) 12%, transparent); }
.tok--prio { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.88rem; }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.dot--ctx { background: var(--accent); }
.dot--proj { background: var(--tok-proj); }
.dot--due { background: var(--tok-due); }
.dot--tag { background: var(--muted); }
.dot--defer { background: var(--tok-defer); }
.dot--prio { background: var(--danger); }
.more { margin: 32px 0 0; text-align: center; }

/* ---------- GTD steps ---------- */
.steps { display: grid; margin: 0 auto; padding: 0; list-style: none; max-width: 60rem; counter-reset: step; }
.steps > li { border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.step { display: grid; gap: 10px; padding: 30px 0; }
@media (min-width: 800px) { .step { grid-template-columns: 22rem 1fr; gap: 48px; padding: 38px 0; } }
.step h3 { display: flex; gap: 14px; align-items: baseline; margin: 0; font-size: 1.2rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.015em; }
.stepNo { flex: 0 0 auto; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 700; }
.step p { margin: 0 0 12px; color: var(--body); line-height: 1.65; }
.step p:last-child { margin-bottom: 0; }

/* ---------- Long-form prose ---------- */
.prose { max-width: 44rem; margin: 0 auto; }
.prose.wide { max-width: 60rem; }
.prose h2 { margin: 56px 0 14px; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 10px; font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 650; }
.prose p { margin: 0 0 16px; color: var(--body); line-height: 1.72; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--body); line-height: 1.68; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.prose a:hover { text-decoration-color: currentColor; }
.prose a.btn { color: var(--accent-ink); text-decoration: none; }
.prose a.btn--ghost { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose .updated { color: var(--muted); font-size: 0.92rem; }
.prose .note { color: var(--muted); font-size: 0.93rem; }
.prose .cta { justify-content: flex-start; }

.proseRow {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 48px;
  align-items: center;
  margin: 44px 0;
}
.proseRowText > :first-child { margin-top: 0; }
.proseRowText > :last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .proseRow { grid-template-columns: 1fr; gap: 22px; }
}
.proseShot { margin: 0; }
@media (max-width: 700px) { .proseRow .proseShot { width: min(58vw, 220px); margin: 0 auto; } }
.proseShot .phone { border-radius: 20px; box-shadow: var(--shadow); }
.proseShot figcaption { margin-top: 12px; color: var(--muted); font-size: 0.84rem; line-height: 1.45; text-align: center; }
.proseShot--wide { margin: 22px 0 36px; }
@media (min-width: 1000px) { .proseShot--wide { margin-inline: -7rem; } }

/* ---------- Blog ---------- */
.postList { display: grid; max-width: 46rem; margin: 0 auto; }
.postCard { display: grid; grid-template-columns: 108px 1fr; gap: 28px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.postCard:last-child { border-bottom: 1px solid var(--line); }
.postCardShot .phone { border-radius: 14px; box-shadow: var(--shadow); }
.postCardText h2, .postCardText h3 { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }
.postCardText h2 a, .postCardText h3 a { color: var(--ink); text-decoration: none; }
.postCardText h2 a:hover, .postCardText h3 a:hover { color: var(--accent); }
.postCardText p { margin: 0 0 14px; color: var(--body); line-height: 1.6; }
.postCardText p:last-child { margin-bottom: 0; }
@media (max-width: 520px) { .postCard { grid-template-columns: 76px 1fr; gap: 18px; } }
.postMeta { margin: 0 0 6px; color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.postHead { padding-bottom: 36px; }
.postHead .postMeta { margin-top: 16px; }
.article h2 { margin-top: 56px; }
.article table.data { font-size: 0.9rem; }
.article table.data code { white-space: nowrap; }
.proseShot--article { width: min(62vw, 240px); margin: 26px auto 32px; }
.shotRow { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 32px; margin: 26px 0 32px; }
.shotRow .proseShot--article { margin: 0; }
.tip { margin: 24px 0; padding: 16px 20px; border-radius: var(--radius); background: var(--accent-soft); }
.prose .tip p { margin: 0; color: var(--ink); }

/* ---------- Tables ---------- */
.tableWrap { overflow-x: auto; margin: 18px 0 14px; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
table.data caption { caption-side: bottom; padding-top: 12px; color: var(--muted); font-size: 0.85rem; text-align: left; }
table.data th, table.data td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { color: var(--muted); font-size: 0.82rem; font-weight: 600; border-bottom-color: var(--ink); }
table.data th[scope="row"] { font-weight: 500; white-space: nowrap; }
table.data code { color: var(--accent); }
table.facts { margin: 22px 0 0; }
table.facts th[scope="row"] { white-space: normal; width: 34%; color: var(--muted); }
code.hash { word-break: break-all; font-size: 0.85em; }
.prose pre { margin: 0 0 18px; padding: 14px 16px; overflow-x: auto; border-radius: var(--radius); background: var(--raised); line-height: 1.55; }
table.compare td { text-align: center; width: 22%; }
table.compare thead th:not(:first-child) { text-align: center; }
.yes { color: var(--accent); font-weight: 800; }
.no { color: var(--muted); }

/* ---------- Pricing ---------- */
.plans { display: grid; max-width: 54rem; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } .plan + .plan { border-left: 1px solid var(--line); } .plan { padding-inline: 40px; } .plan:first-child { padding-left: 0; } .plan:last-child { padding-right: 0; } }
.plan { display: grid; gap: 24px; align-content: start; padding: 32px 0; }
@media (max-width: 719px) { .plan + .plan { border-top: 1px solid var(--line); } }
.planHead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.planName { margin: 0; font-size: 1.1rem; font-weight: 650; }
.planBadge { padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.78rem; }
.planPrice { margin: 12px 0 0; font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.planPrice small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.planNote { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.planList { display: grid; gap: 10px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.planList li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; line-height: 1.45; }
.planList svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }

/* ---------- FAQ ---------- */
.faqList { display: grid; max-width: 46rem; margin: 0 auto; }
.faqItem { padding: 28px 0; border-top: 1px solid var(--line); }
.faqItem:last-child { border-bottom: 1px solid var(--line); }
.faqItem h2, .faqItem h3 { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; }
.faqItem p { margin: 0 0 10px; color: var(--body); line-height: 1.65; }
.faqItem p:last-child { margin-bottom: 0; }
.faqItem ol { margin: 0 0 10px; padding-left: 1.4em; color: var(--body); line-height: 1.65; }
.faqItem li { margin-bottom: 6px; }
.faqItem ol:last-child { margin-bottom: 0; }

/* ---------- Closing band ---------- */
.band { display: grid; justify-items: center; text-align: center; padding-top: var(--section); border-top: 1px solid var(--line); }
.band h2 { margin-bottom: 14px; }
.band p { margin: 0; max-width: 38rem; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.bandBtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- Subpages ---------- */
.crumbs { padding-top: 22px; font-size: 0.86rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pageHead { max-width: 44rem; padding-top: clamp(32px, 6vw, 64px); }
.pageHead h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.pageHead .lead { margin-bottom: 0; }
.pageHead + section { padding-top: clamp(40px, 6vw, 64px); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); }
footer.site .wrap {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 32px;
  color: var(--muted);
  font-size: 0.86rem;
}
.fbrand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; text-decoration: none; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.site nav a { color: var(--muted); text-decoration: none; }
footer.site nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Language gate & 404 ---------- */
.gate { display: grid; min-height: 100vh; place-items: center; padding: 24px; text-align: center; }
.gateInner { max-width: 32rem; }
.gateInner img { margin: 0 auto 8px; }
.gate h1 { font-size: 1.5rem; letter-spacing: -0.02em; }
.gate p { color: var(--muted); }
.gate a { color: var(--accent); font-weight: 600; }
