/* =====================================================================
   RIDGE — Marketing Site
   Aesthetic: editorial naturalism. Forest, river, paper, golden hour.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300..900,30..100,0..1&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette — earth + water + light */
  --ink: #1a2a1d;
  --ink-soft: #2c3e2f;
  --moss: #3f5a3a;
  --moss-deep: #2a4128;
  --sage: #7e8f6c;
  --fog: #c5cfb6;
  --paper: #faf3e3;
  --paper-warm: #f4ead2;
  --cream: #fbf7ec;
  --bone: #efe6cf;
  --river: #4f7d8c;
  --river-deep: #2f5d6e;
  --river-mist: #a8c2cb;
  --amber: #c98a3c;
  --amber-light: #e2b572;
  --amber-deep: #9b6422;
  --clay: #b27a4f;
  --ember: #a83f1c;

  /* Type */
  --display: "Fraunces", "Times New Roman", serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spatial */
  --max: 1240px;
  --rail: clamp(20px, 4vw, 56px);
  --radius-soft: 18px;
  --radius-paper: 4px;

  /* Shadows — warm, layered, like dappled light */
  --shadow-leaf: 0 1px 0 rgba(255,255,255,0.5) inset, 0 12px 40px -18px rgba(42,65,40,0.45), 0 2px 6px -2px rgba(42,65,40,0.18);
  --shadow-card: 0 18px 60px -28px rgba(42,65,40,0.5), 0 4px 14px -8px rgba(42,65,40,0.18);
  --shadow-press: 0 30px 80px -40px rgba(42,65,40,0.6), 0 2px 0 rgba(255,255,255,0.6) inset;
  --shadow-cut: 0 1px 0 rgba(255,255,255,0.6) inset, 0 -1px 0 rgba(42,65,40,0.06) inset, 0 2px 0 rgba(42,65,40,0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain overlay — sits across the entire site for tactile depth */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1000;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.16 0 0 0 0 0.11 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.45;
  mix-blend-mode: multiply;
}

/* Topographic line texture — subtle, used as section background */
.topo {
  position: relative;
}
.topo::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%233f5a3a' stroke-width='0.6' opacity='0.18'><path d='M-20 80 Q 150 40 300 90 T 620 70'/><path d='M-20 140 Q 180 100 320 150 T 620 130'/><path d='M-20 200 Q 200 160 340 210 T 620 190'/><path d='M-20 260 Q 220 220 360 270 T 620 250'/><path d='M-20 320 Q 240 280 380 330 T 620 310'/><path d='M-20 380 Q 260 340 400 390 T 620 370'/><path d='M-20 440 Q 280 400 420 450 T 620 430'/><path d='M-20 500 Q 300 460 440 510 T 620 490'/></g></svg>");
  opacity: 0.7;
  z-index: 0;
}
.topo > * { position: relative; z-index: 1; }

/* =========================================================
   TYPE
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 144;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss-deep);
  font-weight: 500;
}
.eyebrow::before {
  content: "✦  ";
  color: var(--amber);
}

.lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.fig {
  font-family: var(--mono);
  font-feature-settings: "tnum";
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--rail);
  background: rgba(251, 247, 236, 0.78);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid rgba(42,65,40,0.08);
}
.nav-brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  filter: drop-shadow(0 2px 3px rgba(42,65,40,0.22));
}
.nav-links {
  display: flex; gap: 36px; align-items: center;
  font-size: 14.5px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--moss-deep); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--amber);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.005em;
  background: linear-gradient(180deg, var(--amber-light) 0%, var(--amber) 65%, var(--amber-deep) 100%);
  color: #1a1208;
  padding: 11px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 8px 22px -10px rgba(155,100,34,0.5),
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -1px 0 rgba(0,0,0,0.08) inset;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, filter .2s;
}
.nav-cta:hover {
  color: #1a1208;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 14px 30px -12px rgba(155,100,34,0.6),
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -1px 0 rgba(0,0,0,0.08) inset;
}

/* Hamburger — mobile only. Hidden on desktop. */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(42,65,40,0.15);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  color: var(--ink-soft);
  transition: background .15s, border-color .15s;
}
.nav-burger:hover { background: rgba(42,65,40,0.05); border-color: rgba(42,65,40,0.25); }
.nav-burger svg { width: 18px; height: 18px; }
.nav-burger .icon-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-open { display: none; }
.nav-burger[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; row-gap: 0; }
  .nav-burger { display: inline-flex; margin-left: auto; margin-right: 10px; }
  /* On mobile the secondary links collapse into a dropdown panel below the
     nav bar. The Sign in pill stays inline next to the burger so it's always
     accessible without opening the menu. */
  .nav-links {
    flex-basis: 100%;
    order: 10;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 14px 0 4px;
    padding: 6px 0 4px;
    border-top: 1px solid rgba(42,65,40,0.08);
    font-size: 15.5px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(42,65,40,0.06);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { padding: 9px 22px; font-size: 13.5px; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  position: relative;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 30px -10px rgba(26,42,29,0.55), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(26,42,29,0.65), 0 1px 0 rgba(255,255,255,0.15) inset;
  background: var(--moss-deep);
}
.btn-amber {
  background: linear-gradient(180deg, var(--amber-light) 0%, var(--amber) 60%, var(--amber-deep) 100%);
  color: #1a1208;
  box-shadow: 0 14px 36px -10px rgba(155,100,34,0.55), 0 1px 0 rgba(255,255,255,0.6) inset, 0 -1px 0 rgba(0,0,0,0.08) inset;
}
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -12px rgba(155,100,34,0.65), 0 1px 0 rgba(255,255,255,0.6) inset;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(42,65,40,0.22);
}
.btn-ghost:hover { background: rgba(42,65,40,0.06); border-color: var(--moss); }
.btn-arrow { transition: transform .25s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) var(--rail) clamp(40px, 8vw, 90px);
  overflow: hidden;
  isolation: isolate;
}
/* Gradient atmosphere — like dawn light */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% 12%, rgba(226,181,114,0.42), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(168,194,203,0.45), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 60%, var(--paper-warm) 100%);
  z-index: -2;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  position: relative;
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
}

.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 350;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--moss-deep);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute; left: -2%; right: -2%; bottom: 4%;
  height: 14%;
  background: var(--amber-light);
  z-index: -1;
  border-radius: 2px;
  transform: skew(-2deg) rotate(-0.5deg);
  opacity: 0.55;
}
.hero-sub {
  margin-top: 30px;
  font-size: clamp(17px, 1.8vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
}
.hero-cta-row {
  margin-top: 38px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 38px;
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--moss);
}
.hero-meta span::before { content: "—  "; color: var(--amber); }

/* Hero scene — layered SVG panorama with parallax */
.hero-scene {
  position: relative;
  height: clamp(380px, 52vw, 540px);
  border-radius: var(--radius-soft);
  overflow: visible;
}
.scene-frame {
  position: absolute; inset: 0;
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: var(--shadow-press);
  background: linear-gradient(180deg, #d4d8c9 0%, #b9c4ae 35%, #6f8b7a 100%);
}
.scene-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #e9e3c8 0%, #d8dac3 25%, #aebda1 60%, #607d6a 100%);
}
.scene-frame svg.scene-layer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  display: block;
  will-change: transform;
}
/* Polaroid cards — float at angles over the scene */
.polaroid {
  position: absolute;
  background: var(--paper);
  padding: 14px 14px 18px;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  z-index: 3;
  font-family: var(--body);
  transform-origin: center center;
}
.polaroid::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.13 0 0 0 0 0.07 0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  border-radius: 6px;
  opacity: 0.5; mix-blend-mode: multiply;
  pointer-events: none;
}
.polaroid-label {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 6px;
}
.polaroid-figure {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
}
.polaroid-foot {
  margin-top: 6px;
  font-size: 12px; color: var(--moss-deep);
}

.poly-fts {
  top: 8%; right: -4%;
  width: 220px;
  transform: rotate(4deg);
}
.poly-cycle {
  bottom: 4%; left: -6%;
  width: 200px;
  transform: rotate(-3deg);
}

@media (max-width: 980px) {
  .poly-fts { right: 4%; top: -2%; }
  .poly-cycle { left: 2%; bottom: -4%; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
section { position: relative; }
.section-pad {
  padding: clamp(70px, 9vw, 130px) var(--rail);
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 60px;
  max-width: 880px;
}
.section-head h2 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 350;
  font-variation-settings: "SOFT" 60, "WONK" 0, "opsz" 144;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.section-head h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--moss-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

/* =========================================================
   PRINCIPLES — six editorial cards, slight rotations
   ========================================================= */
.principles {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px 24px;
}
.principle {
  background: var(--paper);
  border-radius: var(--radius-paper);
  padding: 32px 28px 30px;
  position: relative;
  box-shadow: var(--shadow-leaf);
  border-top: 3px solid var(--moss);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.principle:nth-child(2n) { transform: rotate(-0.4deg); border-top-color: var(--amber); }
.principle:nth-child(3n) { transform: rotate(0.5deg); border-top-color: var(--river); }
.principle:hover { transform: translateY(-4px) rotate(0); box-shadow: var(--shadow-card); }
.principle-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--amber-deep);
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.principle h3 {
  font-size: 24px;
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.principle p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   PULL QUOTE — full-bleed editorial moment
   ========================================================= */
.quote-band {
  background:
    radial-gradient(ellipse 80% 70% at 30% 30%, rgba(95,125,140,0.18), transparent 60%),
    linear-gradient(180deg, var(--moss-deep) 0%, var(--ink) 100%);
  color: var(--paper);
  padding: clamp(80px, 11vw, 150px) var(--rail);
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'><g fill='none' stroke='%23f4ead2' stroke-width='0.5' opacity='0.10'><path d='M-20 100 Q 200 60 400 110 T 820 90'/><path d='M-20 180 Q 220 140 420 190 T 820 170'/><path d='M-20 260 Q 240 220 440 270 T 820 250'/><path d='M-20 340 Q 260 300 460 350 T 820 330'/><path d='M-20 420 Q 280 380 480 430 T 820 410'/><path d='M-20 500 Q 300 460 500 510 T 820 490'/><path d='M-20 580 Q 320 540 520 590 T 820 570'/><path d='M-20 660 Q 340 620 540 670 T 820 650'/></g></svg>");
  opacity: 0.7;
}
.quote-band-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.quote-mark {
  font-family: var(--display);
  font-size: 130px;
  line-height: 0.5;
  color: var(--amber-light);
  display: block;
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.quote-band p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--paper);
  margin: 0;
}
.quote-attrib {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
}

/* =========================================================
   FEATURES PREVIEW — alternating layout
   ========================================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  padding: clamp(50px, 7vw, 90px) 0;
  border-top: 1px dashed rgba(42,65,40,0.15);
}
.feature-row:first-of-type { border-top: none; padding-top: 0; }
@media (min-width: 880px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 80px; }
  .feature-row.flip .feature-copy { order: 2; }
  .feature-row.flip .feature-visual { order: 1; }
}
.feature-copy h3 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.feature-copy h3 em {
  font-style: italic;
  color: var(--moss-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.feature-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.feature-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--paper-warm);
  border: 1px solid rgba(155,100,34,0.18);
  border-radius: 999px;
}
.feature-list {
  list-style: none;
  padding: 0; margin: 24px 0 0;
  display: grid; gap: 12px;
}
.feature-list li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, var(--amber-light), var(--amber-deep));
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(155,100,34,0.4);
}

/* "Window" frame — visual cards that look like looking through */
.window {
  position: relative;
  border-radius: 14px;
  background: var(--paper);
  padding: 16px;
  box-shadow: var(--shadow-press);
  transform: rotate(-0.6deg);
}
.feature-row.flip .window { transform: rotate(0.6deg); }
.window::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid rgba(42,65,40,0.1);
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
}
.window-glass {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef0e2 0%, #d6dec3 100%);
  aspect-ratio: 4/3;
  position: relative;
}

/* Mocked widgets that live inside windows */
.widget {
  position: absolute; inset: 0;
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  background:
    radial-gradient(ellipse at top right, rgba(255,224,170,0.4), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}
.widget-title {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--moss-deep);
}
.widget-big {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  letter-spacing: -0.025em;
  font-feature-settings: "tnum";
}
.widget-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(42,65,40,0.1);
  font-size: 13.5px;
}
.widget-row:first-of-type { border-top: none; }
.widget-row .lbl { color: var(--ink-soft); }
.widget-row .val { font-family: var(--mono); color: var(--ink); font-weight: 500; }

.bar-track {
  height: 8px; background: rgba(42,65,40,0.1);
  border-radius: 6px; overflow: hidden;
  margin: 4px 0;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--moss), var(--amber));
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
}
.heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 6px;
}
.heatmap span {
  aspect-ratio: 1; border-radius: 3px;
  background: rgba(63,90,58,0.15);
}
.heatmap span.h1 { background: rgba(63,90,58,0.35); }
.heatmap span.h2 { background: rgba(63,90,58,0.55); }
.heatmap span.h3 { background: rgba(63,90,58,0.75); }
.heatmap span.h-amber { background: rgba(217,164,64,0.7); }
.heatmap span.h-blue { background: rgba(79,125,140,0.55); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  padding: clamp(80px, 11vw, 150px) var(--rail);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(226,181,114,0.35), transparent 65%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--bone) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.cta-band h2 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 350;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1;
}
.cta-band h2 em {
  font-style: italic;
  color: var(--moss-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.cta-band p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

/* Decorative elements that float around CTAs */
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,90,58,0.18), transparent 65%);
  filter: blur(2px);
  z-index: 0;
}
.cta-band::before { top: -40px; left: -60px; }
.cta-band::after { bottom: -40px; right: -60px; }

/* =========================================================
   FOOTER
   ========================================================= */
footer.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 70px var(--rail) 40px;
  position: relative;
  overflow: hidden;
}
footer.foot::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='200'><g fill='none' stroke='%23f4ead2' stroke-width='0.5' opacity='0.10'><path d='M0 60 Q 100 30 200 60 T 600 50'/><path d='M0 90 Q 120 60 240 90 T 600 80'/><path d='M0 120 Q 140 90 280 120 T 600 110'/><path d='M0 150 Q 160 120 320 150 T 600 140'/></g></svg>");
  opacity: 0.6;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 50px;
  grid-template-columns: 2fr 1fr 1fr;
  position: relative;
}
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr; gap: 32px; } }
.foot-brand {
  font-family: var(--display);
  font-size: 32px; font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.foot p { color: rgba(244,234,210,0.7); font-size: 14px; max-width: 360px; }
.foot h5 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot ul a {
  color: rgba(244,234,210,0.85);
  text-decoration: none; font-size: 14px;
  transition: color .2s;
}
.foot ul a:hover { color: var(--amber-light); }
.foot-bottom {
  max-width: var(--max);
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(244,234,210,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244,234,210,0.55);
  position: relative;
}

/* =========================================================
   FEATURES PAGE — page intro + sections
   ========================================================= */
.page-intro {
  padding: clamp(70px, 9vw, 120px) var(--rail) clamp(40px, 6vw, 80px);
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(226,181,114,0.32), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 30%, rgba(168,194,203,0.4), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.page-intro-inner { max-width: var(--max); margin: 0 auto; }
.page-intro h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 350;
  font-variation-settings: "SOFT" 80, "WONK" 0, "opsz" 144;
  letter-spacing: -0.035em;
  line-height: 0.96;
  max-width: 14ch;
}
.page-intro h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--moss-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.page-intro .lede { margin-top: 28px; max-width: 640px; }

/* Tab cards — each app tab gets a richly illustrated section */
.tab-section {
  padding: clamp(60px, 8vw, 110px) var(--rail);
  position: relative;
}
.tab-section:nth-child(odd) { background: var(--cream); }
.tab-section:nth-child(even) { background: var(--paper); }
.tab-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 60px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .tab-inner { grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 80px; }
  .tab-section:nth-child(even) .tab-text { order: 2; }
  .tab-section:nth-child(even) .tab-visual { order: 1; }
}
.tab-num {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 18px;
  color: var(--amber-deep);
  margin-bottom: 12px;
}
.tab-num::before { content: "Nº "; opacity: 0.6; }
.tab-text h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 350;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 22px;
}
.tab-text h2 em {
  font-style: italic;
  color: var(--moss-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.tab-text > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.tab-benefits {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 16px;
}
.tab-benefits li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
}
.tab-benefits li strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 15px;
}
.tab-benefits .icon-leaf {
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--moss-deep);
}

/* =========================================================
   COMPARE PAGE
   ========================================================= */
.compare-hero {
  padding: clamp(70px, 9vw, 120px) var(--rail) clamp(60px, 8vw, 100px);
  background:
    radial-gradient(ellipse 60% 40% at 30% 10%, rgba(168,194,203,0.4), transparent 65%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.compare-hero-inner { max-width: 980px; margin: 0 auto; text-align: center; }
.compare-hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 350;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.compare-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--moss-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.compare-hero .lede { margin: 28px auto 0; max-width: 600px; }

.contrast-band {
  padding: clamp(70px, 9vw, 130px) var(--rail);
  background: var(--paper-warm);
  position: relative;
}
.contrast-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .contrast-grid { grid-template-columns: 1fr 1fr; } }

.contrast-card {
  background: var(--paper);
  border-radius: 4px;
  padding: 38px 34px;
  position: relative;
  box-shadow: var(--shadow-leaf);
}
.contrast-card.others {
  background: #ebe5d3;
  color: var(--ink-soft);
}
.contrast-card.envelopes {
  background: linear-gradient(180deg, var(--paper) 0%, var(--bone) 100%);
  border-top: 4px solid var(--moss-deep);
  box-shadow: var(--shadow-press);
}
.contrast-card h3 {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--moss-deep);
  margin-bottom: 18px;
}
.contrast-card.others h3 { color: rgba(42,65,40,0.55); }
.contrast-card h4 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.contrast-card.others h4 { color: var(--ink-soft); font-style: italic; opacity: 0.7; }
.contrast-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.contrast-card ul {
  list-style: none;
  padding: 0; margin: 22px 0 0;
  display: grid; gap: 10px;
}
.contrast-card ul li {
  font-size: 14.5px;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.contrast-card.others ul li::before {
  content: "✕";
  position: absolute; left: 0; top: 0;
  color: rgba(168,63,28,0.6);
  font-weight: 600;
}
.contrast-card.envelopes ul li::before {
  content: "";
  position: absolute; left: 4px; top: 7px;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 35% 35%, var(--amber-light), var(--amber-deep));
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(155,100,34,0.4);
}

/* Principle deep-dive cards on compare page */
.compare-principles {
  padding: clamp(70px, 9vw, 130px) var(--rail);
  background: var(--cream);
}
.cp-inner { max-width: var(--max); margin: 0 auto; }
.cp-list {
  display: grid; gap: 60px;
  margin-top: 60px;
}
.cp-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid rgba(42,65,40,0.15);
  position: relative;
}
@media (min-width: 760px) { .cp-item { grid-template-columns: 0.5fr 1.5fr; gap: 60px; } }
.cp-num {
  font-family: var(--display);
  font-size: clamp(60px, 9vw, 110px);
  font-weight: 200;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--moss-deep);
  line-height: 1;
  letter-spacing: -0.04em;
}
.cp-body h3 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "WONK" 0;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.05;
}
.cp-body h3 em {
  font-style: italic;
  color: var(--moss-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.cp-body p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 60ch;
}
.cp-body .vs-note {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--paper);
  border-left: 3px solid var(--amber);
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.cp-body .vs-note strong { color: var(--ember); font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; margin-right: 8px; }

/* =========================================================
   LOGIN PAGE
   ========================================================= */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 60px var(--rail);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 80% 25%, rgba(226,181,114,0.4), transparent 60%),
    radial-gradient(ellipse 70% 50% at 15% 70%, rgba(168,194,203,0.45), transparent 65%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 50%, var(--paper-warm) 100%);
}
/* Big atmospheric scene behind login */
.login-scene {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.login-scene svg { position: absolute; left: 0; right: 0; width: 100%; }
.login-scene .ls-back { bottom: 20%; opacity: 0.7; filter: blur(1.5px); }
.login-scene .ls-mid  { bottom: 8%; opacity: 0.85; filter: blur(0.4px); }
.login-scene .ls-front { bottom: 0; opacity: 1; }
.login-card {
  position: relative; z-index: 2;
  background: var(--paper);
  border-radius: 8px;
  padding: 56px 48px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-press);
  text-align: center;
}
.login-card::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid rgba(42,65,40,0.1);
  border-radius: 4px; pointer-events: none;
}
.login-mark {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  filter: drop-shadow(0 4px 6px rgba(42,65,40,0.25));
}
.login-card h1 {
  font-size: 38px;
  font-weight: 350;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}
.login-card h1 em {
  font-style: italic;
  color: var(--moss-deep);
}
.login-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.login-card .btn { width: 100%; justify-content: center; }
.google-btn {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid rgba(42,65,40,0.2);
  font-weight: 500;
  padding: 14px 26px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--body);
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 14px;
}
.google-btn:hover {
  background: var(--cream);
  border-color: var(--moss);
  transform: translateY(-1px);
  box-shadow: var(--shadow-leaf);
}
.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}
.login-divider::before, .login-divider::after {
  content: ""; height: 1px; background: rgba(42,65,40,0.18);
}
.login-foot {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}
.login-foot a { color: var(--moss-deep); text-decoration: none; }
.login-foot a:hover { color: var(--amber-deep); }

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* Floating decorative drift — used on small leaves/birds in scenes */
@keyframes drift {
  0%   { transform: translate(0,0) rotate(0deg); }
  50%  { transform: translate(12px,-8px) rotate(3deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}
.drift { animation: drift 9s ease-in-out infinite; }
.drift-slow { animation: drift 14s ease-in-out infinite; }

/* Stream flow — visible money/liquidity drift on the river highlight paths.
   The cycle is the ridgeline; the stream is the cash flowing through it. */
@keyframes streamflow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -28; }
}
.flow-1 { stroke-dasharray: 9 6; animation: streamflow 5s linear infinite; }
.flow-2 { stroke-dasharray: 6 9; animation: streamflow 7s linear infinite; }
.flow-3 { stroke-dasharray: 5 7; animation: streamflow 6s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .flow-1, .flow-2, .flow-3 { animation: none; }
}

/* Subtle climb pulse on the trail — barely perceptible, like a heartbeat on the path */
@keyframes trailpulse {
  0%, 100% { stroke-opacity: 0.85; }
  50%      { stroke-opacity: 0.55; }
}

/* =========================================================
   WIKI / GUIDE PAGE
   ========================================================= */

/* TOC chip row — sits under the page-intro lede */
.wiki-toc {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: 760px;
}
.wiki-toc a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss-deep);
  background: rgba(42,65,40,0.06);
  border: 1px solid rgba(42,65,40,0.12);
  padding: 7px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.wiki-toc a:hover {
  background: var(--paper-warm);
  color: var(--ink);
  border-color: var(--amber);
}

/* Sub-headings inside a wiki section */
.wiki-h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 32px 0 14px;
}

/* "What you'll see" — compact bulleted anatomy list */
.wiki-anatomy {
  list-style: none; padding: 0; margin: 0 0 8px;
  display: grid; gap: 10px;
}
.wiki-anatomy li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}
.wiki-anatomy li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.wiki-anatomy li strong {
  color: var(--ink);
  font-weight: 600;
}

/* Numbered "How to..." steps */
.wiki-steps {
  list-style: none; padding: 0; margin: 0;
  counter-reset: wikistep;
  display: grid; gap: 14px;
}
.wiki-steps > li {
  counter-increment: wikistep;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 42px;
  position: relative;
  min-height: 28px;
}
.wiki-steps > li::before {
  content: counter(wikistep);
  position: absolute;
  left: 0; top: -1px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--amber-deep);
  background: var(--paper-warm);
  border: 1px solid rgba(201,138,60,0.35);
  border-radius: 50%;
}
.wiki-steps > li strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.wiki-steps em {
  color: var(--moss-deep);
  font-style: normal;
  font-weight: 500;
}
.wiki-steps code,
.tab-text code,
.wiki-callout code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: rgba(42,65,40,0.06);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--moss-deep);
}

/* Callout tip / note */
.wiki-callout {
  margin: 28px 0 0;
  padding: 16px 18px;
  background: var(--paper-warm);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.wiki-callout strong { color: var(--ink); }

/* Inline tag pills for envelope types and txn statuses */
.wiki-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  background: rgba(63,90,58,0.1);
  color: var(--moss-deep);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: 2px;
}
.wiki-tag.goal { background: rgba(79,125,140,0.12); color: var(--river-deep); }
.wiki-tag.planned { background: rgba(178,122,79,0.18); color: var(--amber-deep); }
.wiki-tag.wealth { background: rgba(42,65,40,0.14); color: var(--moss-deep); }
.wiki-tag.pending { background: var(--paper-warm); color: var(--amber-deep); }
.wiki-tag.transfer { background: #dde7eb; color: var(--river-deep); }
.wiki-tag.income { background: #d6e6cf; color: #1c5e1f; }

/* Quick-start checklist rows in the visual */
.wiki-checklist-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.wiki-checklist-row.done { color: var(--moss-deep); }
.wiki-check {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--moss-deep);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--mono);
}
.wiki-check.todo {
  background: transparent;
  border: 1.5px dashed rgba(42,65,40,0.3);
  color: var(--moss-deep);
}

/* Shortcuts / gestures grid at the bottom of the wiki */
.wiki-shortcut-grid {
  margin-top: 28px;
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .wiki-shortcut-grid { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
}
.wiki-shortcut {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 10px 12px;
  background: rgba(42,65,40,0.04);
  border: 1px solid rgba(42,65,40,0.08);
  border-radius: 6px;
}
.wiki-key {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(42,65,40,0.18);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 3px 8px;
  margin-right: 4px;
  white-space: nowrap;
}
