@import url("fonts.css?v=3");

:root {
  /* Font: Inter is a free stand-in for Ramp's TWK Lausanne (commercial, not bundled).
     With a Lausanne licence, load it in fonts.css and put "TWK Lausanne" first here. */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --bg: #f7f5f1;
  --panel: #f3eee6;
  --ink: #0f0f0f;
  --ink-2: #3b3833;
  --muted: #6c665d;
  --faint: #9c958a;
  --line: #ebe4d9;
  --line-2: #ddd4c6;
  --accent: #a9d3e6;      /* the one accent: water-lily blue from the painting, primary CTA only */
  --ok: #1d7a4f;
  --ok-soft: #e5f1e4;


  /* spacing scale: 4 8 12 16 24 32 48 64 96 128 */
  --gutter: 32px;
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Dotted grid in the margins, white page column in the middle. */
html { background: #f3eee5 radial-gradient(circle, #dcd2c2 1px, transparent 1.2px) 0 0 / 16px 16px; }
body {
  margin: 0 auto; max-width: calc(var(--max) + 2 * var(--gutter) + 80px); min-height: 100vh;
  background: var(--bg); box-shadow: 1px 0 0 var(--line), -1px 0 0 var(--line);
  color: var(--ink); font: 400 16px/1.55 var(--font-sans); font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type */
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.label { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; padding-bottom: .08em; }
.h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; padding-bottom: .04em; }
/* Anchored sections land below the sticky nav, never under it. */
main [id] { scroll-margin-top: 92px; }
.h3 { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: 20px; line-height: 1.45; letter-spacing: -.01em; color: var(--ink-2); }
.body { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 8px; font: 500 16px/1 var(--font-sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: filter .15s, background .15s; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { filter: brightness(.95); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2824; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--panel); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: #f7f5f1e6; backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 40px; }
.wordmark { font: 600 24px/1 var(--font-sans); letter-spacing: -.055em; text-decoration: none; color: var(--ink); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .2s; }
.mobile-menu { display: none; }
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav .wrap { height: 60px; }
  .mobile-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .18s; }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; }
  .mobile-menu .row { display: flex; gap: 8px; margin-top: 16px; }
  .mobile-menu .row .btn { flex: 1; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
}

/* Hero */
.hero { padding: 96px 0 64px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.hero .h1 { margin: 32px 0 0; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: 40px; }
.hero-foot .lead { max-width: 520px; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
/* Short laptop screens: less air around the hero so the live demo shows above the fold. */
@media (min-width: 861px) and (max-height: 820px) { .hero { padding: 48px 0 32px; } .hero .h1 { margin-top: 24px; } .hero-foot { margin-top: 24px; } }
.text-link { font-size: 15px; color: var(--muted); text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

/* Product panel */
.panel { background: var(--panel); border-radius: 24px; }
.showcase { position: relative; padding: 64px 64px 0; overflow: hidden; }
/* The interactive demo (app + widget) is styled in demo.css. */

/* Stat strip */
.stats { margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); }
.stats > div { padding: 24px 24px 24px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-n { display: inline-block; font: 500 22px/1 var(--font-mono); letter-spacing: -.02em; border: 1px solid var(--ink); border-radius: 6px; padding: 7px 10px; margin-bottom: 12px; }
.stat-n small { font-size: 15px; color: var(--muted); }
.stats .label { line-height: 1.5; display: block; }
.stats .label b { color: var(--ink); font-weight: 500; }
.caveat { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 820px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .stats > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(4) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Sections */
.sec { padding: 128px 0 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.feat { border-top: 1px solid var(--ink); padding-top: 24px; }
.feat .label { display: block; margin-bottom: 32px; }
.feat .h3 { margin-bottom: 8px; }
.feat a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; gap: 40px; } .feat .label { margin-bottom: 16px; } }

.install { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.install .body { margin-top: 16px; max-width: 420px; font-size: 17px; }
.code { background: #1c1a17; color: #ece7de; border-radius: 16px; overflow: hidden; }
.code-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 20px; border-bottom: 1px solid #ffffff14; }
.code-top .label { color: #8d8d88; }
.copy { background: #ffffff14; color: #fff; border: 0; border-radius: 6px; padding: 6px 12px; font: 500 12px var(--font-mono); cursor: pointer; }
.copy:hover { background: #ffffff24; }
.code pre { margin: 0; padding: 24px; font: 14px/1.75 var(--font-mono); overflow-x: auto; }
.code .c { color: #7d7d78; } .code .k { color: #fff; } .code .a { color: #b9b9b3; } .code .s { color: var(--accent); }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; gap: 32px; } .code pre { font-size: 12.5px; padding: 20px 16px; } }

.cta { margin: 128px 0 0; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta .body { margin-top: 8px; font-size: 17px; }
@media (max-width: 860px) { .cta { flex-direction: column; align-items: flex-start; padding: 40px 24px; } }

/* Footer */
.foot { padding: 64px 0 48px; }
.foot .wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot .wordmark { font-size: 20px; }
.foot ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.foot a { text-decoration: none; font-size: 14.5px; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot .copy-line { margin-left: auto; font: 12px var(--font-mono); color: var(--faint); }
@media (max-width: 600px) { .foot .wrap { flex-direction: column; align-items: flex-start; gap: 20px; } .foot .copy-line { margin-left: 0; } }

/* Doc pages (security, legal, 404) */
.doc { max-width: 720px; margin: 0 auto; padding: 96px var(--gutter) 64px; }
.doc .h2 { margin: 24px 0 16px; }
.doc .lead { margin-bottom: 48px; }
.doc h3 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; margin: 0 0 8px; }
.doc section { border-top: 1px solid var(--line); padding: 24px 0 28px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.doc section p, .doc section li { color: var(--ink-2); font-size: 16px; }
.doc ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.doc code { font: 14px var(--font-mono); background: var(--panel); padding: 1px 5px; border-radius: 4px; }
.doc a { text-underline-offset: 3px; }
@media (max-width: 700px) { .doc { padding-top: 56px; } .doc section { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hero { padding: 48px 0 40px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 24px; }
  .hero-cta { align-items: flex-start; }
  .lead { font-size: 18px; }
  .panel { border-radius: 16px; }
  .sec { padding-top: 88px; }
  .cta { margin-top: 88px; }
}

/* Compare, docs, changelog */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.doc-wide { max-width: 960px; }
.pill-link { text-decoration: none; }
.pill-link:hover { border-color: var(--ink); }
.cmp-wrap { border-top: 1px solid var(--ink); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 18px; }
.cmp thead th:nth-child(2) { color: var(--ink); }
.cmp tbody th { font-weight: 500; width: 28%; }
.cmp td { color: var(--ink-2); width: 36%; }
.cmp td:nth-child(2) { color: var(--ink); }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 64px; }
.pick > div { border-top: 1px solid var(--ink); padding-top: 24px; }
.pick h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 12px; }
.pick li { color: var(--ink-2); }
.note { margin-top: 48px; font-size: 13px; color: var(--muted); }
.note a { color: var(--muted); }
.doc .cmp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); display: block; }
.cmp-list a { display: grid; grid-template-columns: 200px 1fr 24px; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cmp-list b { font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.cmp-list span { color: var(--muted); }
.cmp-list i { font-style: normal; color: var(--faint); transition: transform .15s, color .15s; }
.cmp-list a:hover i { color: var(--ink); transform: translateX(3px); }
.cta-sm { margin-top: 32px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -24px 0 40px; font-size: 15px; }
.toc a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.toc a:hover { color: var(--ink); border-color: var(--ink); }
.doc section > div > * + * { margin-top: 12px; }
.doc section[id] { scroll-margin-top: 80px; }
.code-sm pre { padding: 18px 20px; font-size: 13.5px; }
.doc section.log { grid-template-columns: 160px 1fr; }
.log time { padding-top: 4px; }
.log h3 { margin-bottom: 4px; }
@media (max-width: 700px) {
  .cmp { font-size: 14.5px; }
  .cmp thead { display: none; }
  .cmp tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cmp th, .cmp td { display: block; width: auto; padding: 0; border: 0; }
  .cmp tbody th { grid-column: 1 / -1; width: auto; margin-bottom: 6px; }
  .cmp td::before { content: attr(data-l); display: block; font: 500 11px/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .pick { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .cmp-list a { grid-template-columns: 1fr 24px; gap: 4px 16px; }
  .cmp-list span { grid-column: 1; grid-row: 2; font-size: 15px; }
  .cmp-list i { grid-column: 2; grid-row: 1; }
  .doc section.log { grid-template-columns: 1fr; gap: 8px; }
}

/* Painted panels: impressionist textures from tools/textures.py, crisp UI on top */
.showcase { background-color: #4f7186; background-image: url("img/paint-lilies.webp?v=3"); background-size: cover; background-position: center; }
.cta { background-color: #a98cb4; background-image: url("img/paint-dawn.webp?v=3"); background-size: cover; background-position: center; }
.cta > div:first-child { background: #fbf8f3; border-radius: 16px; padding: 32px 36px; box-shadow: 0 24px 60px -28px #1c1a3a66; }
.pill { background: #fffdf9; }
/* home code block sits on a crop of the same painting (painted border, no extra markup) */
.install > .code { border: 32px solid transparent; border-radius: 44px;
  background: linear-gradient(#1c1a17, #1c1a17) padding-box, #4f7186 url("img/paint-lilies.webp?v=3") 90% 75% / 240% auto no-repeat border-box; }
@media (max-width: 600px) { .install > .code { border-width: 14px; border-radius: 26px; } }
.cta .btn-accent { box-shadow: 0 0 0 1px #0000001a, 0 16px 40px -18px #1c1a3a88; }
@media (max-width: 860px) { .cta > div:first-child { padding: 24px; width: 100%; } }


/* Home: try on your own site (item 120) */
.try-band { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; align-items: center; padding: 48px; background: #fbf8f3; box-shadow: inset 0 0 0 1px var(--line); }
.try-band .body { margin-top: 12px; font-size: 17px; max-width: 460px; }
.try-form { display: flex; gap: 8px; }
.try-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); font: 16px var(--font-sans); }
.try-form input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
@media (max-width: 860px) { .try-band { grid-template-columns: 1fr; padding: 32px 24px; } }
@media (max-width: 420px) { .try-form { flex-direction: column; } .try-form input { flex: none; } }
.try-site { margin: -16px 0 40px; padding: 16px 18px; border-radius: 12px; background: var(--panel); }
.try-site b { font-weight: 500; overflow-wrap: anywhere; }
.try-site .btn { margin-top: 12px; }

/* Use-case pages (item 123) */
.uc-say { margin: 4px 0 16px; padding: 12px 16px; border-radius: 14px 14px 4px 14px; background: var(--panel); font-size: 18px; letter-spacing: -.01em; width: fit-content; max-width: 100%; }
.uc-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.uc-ok { margin-top: 16px !important; padding: 10px 14px; border-radius: 10px; background: var(--ok-soft); color: #16402e; }
.uc-proof { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.uc-proof th { text-align: left; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 12px 8px 0; }
.uc-proof td { padding: 8px 12px 8px 0; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.uc-proof td:nth-child(2), .uc-proof td:nth-child(4) { white-space: nowrap; font: 13px var(--font-mono); }
.uc-proof td:nth-child(1) { width: 24%; } .uc-proof td:nth-child(3) { width: 50%; }
/* The proof table gets the full page width under its heading, so a row reads in one or two lines. */
@media (min-width: 701px) { .doc section.uc-wide { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
@media (max-width: 600px) { .uc-proof thead { display: none; } .uc-proof tr { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-top: 1px solid var(--line); } .uc-proof td { border: 0; padding: 0; } .uc-proof td:nth-child(3) { grid-column: 1 / -1; } }
.cmp-g { margin: 48px 0 4px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.cmp-gl { margin: 0 0 12px; color: var(--muted); }
/* Build or buy calculator (item 126) */
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin: 8px 0 32px; }
.calc label { display: grid; gap: 6px; align-content: start; }
.calc label span { font-weight: 500; }
.calc input { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: 16px var(--font-sans); color: var(--ink); }
.calc input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.calc small, .calc-out small { color: var(--muted); font-size: 13px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.calc-out > div { display: grid; gap: 6px; padding: 20px 20px 20px 0; }
.calc-out > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.calc-out b { font: 500 28px/1.1 var(--font-mono); letter-spacing: -.02em; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } .calc-out { grid-template-columns: 1fr; } .calc-out > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
/* Blog (item 127) */
.post-meta { margin: -8px 0 32px; font: 13px var(--font-mono); color: var(--muted); }
.post-body { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.post-body > * + * { margin-top: 16px; }
.post-body h2 { margin-top: 40px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.post-body h3 { margin-top: 28px; font-size: 19px; font-weight: 500; color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 22px; display: grid; gap: 6px; }
.post-body a { color: var(--ink); text-underline-offset: 3px; }
.post-body code { font: 14px var(--font-mono); background: var(--panel); padding: 1px 5px; border-radius: 4px; }
.post-body .code pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.post-tbl { overflow-x: auto; }
.post-tbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-tbl th { text-align: left; font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 12px 8px 0; }
.post-tbl td { padding: 8px 12px 8px 0; border-top: 1px solid var(--line); white-space: nowrap; }

/* Lead forms (item 129) */
.lead-box { grid-template-columns: 220px minmax(0, 1fr); }
.lead-row { display: flex; gap: 8px; }
.lead-form input { flex: 1; min-width: 0; width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: 16px var(--font-sans); color: var(--ink); }
.lead-form input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.lead-form .btn { height: 44px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 12px; }
.lead-grid label { display: grid; gap: 6px; }
.lead-grid .wide { grid-column: 1 / -1; }
.lead-grid span { font-weight: 500; font-size: 15px; } .lead-grid small { color: var(--muted); font-weight: 400; }
.lead-note { margin-top: 8px !important; font-size: 13px; color: var(--muted); }
.lead-msg { margin-top: 6px !important; font-size: 14px; color: var(--ink); min-height: 1.4em; }
.lead-form.sent input, .lead-form.sent button { opacity: .5; }
@media (max-width: 600px) { .lead-row { flex-direction: column; } .lead-grid { grid-template-columns: 1fr; } }
.video-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px 48px; align-items: start; padding-top: 32px; border-top: 1px solid var(--ink); }
.video-band .body { margin-top: 12px; font-size: 17px; max-width: 420px; }
@media (max-width: 860px) { .video-band { grid-template-columns: 1fr; } }
/* Pricing draft (item 132) */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 48px; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; }
.plan h3 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.plan ul { margin: 6px 0 12px; padding-left: 18px; display: grid; gap: 4px; align-content: start; color: var(--ink-2); font-size: 15px; flex: 1; }
.plan .btn { align-self: flex-start; }
.plan:first-child { border-color: var(--ink); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan h3 small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 2px; }
.plan-note { margin: -28px 0 40px; font-size: 15px; color: var(--ink-2); }
.faq-title { margin: 48px 0 8px; }
/* Language links (translated home pages) */
.foot-langs { margin-top: 20px; gap: 16px; }
.langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.langs a { font: 12px var(--font-mono); letter-spacing: .02em; }
.langs a[aria-current] { color: var(--ink); }
.foot-note { font-size: 13px; color: var(--faint); }
/* Recorded loops (real runs on Vikunja) */
.loop { margin: 0; }
.loop video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; border: 1px solid var(--line-2); background: #f4f5f8; }
.loop figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.loops { margin: 8px 0 32px; }
.loops .loop figcaption { display: none; }
.loops-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.rec { margin-top: 64px; }
.rec .label { display: block; margin-bottom: 8px; }
.rec-lead { max-width: 640px; color: var(--muted); margin: 0 0 24px; }
.rec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 24px; }
.rec-grid figcaption b { display: block; color: var(--ink); font-weight: 500; font-size: 14.5px; margin-bottom: 2px; }
@media (max-width: 560px) { .rec-grid { grid-template-columns: 1fr; } }
.film { margin: 32px 0 0; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--line-2); background: #f4f5f8; }
.film figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 720px; }
.film figcaption b { color: var(--ink); font-weight: 500; }
.film-doc { margin: 0 0 40px; }
.try-sandbox { margin: 0 0 40px !important; color: var(--ink-2); }
