/* CompsAPI · v2: firecrawl.dev layout grammar, own content, sold-green accent
   cream canvas, full-height rails, mono gutter markers, section counters,
   light code panes, pill progress rows. Accent #0B9E57 (eBay sold green). */
:root {
  --bg: #FAF9F7;
  --panel: #FAF9F7;   /* no white surfaces: panels sit on the page colour */
  --line: #EBE8E3;
  --ink: #1A1A18;
  --soft: #6E6A64;
  --faint: #A8A49D;
  --green: #0B9E57;
  --green-deep: #067A41;
  --green-mid: #5ECB95;
  --green-tint: #E9F7EF;
  --green-wash: #E6F2EB;  /* the emphasised column: a shade darker than the page */
  --hl: #F1EFEA;
  --amber: #B07D2B;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; overflow-x: clip; }
/* the decoration's outer cells sit past the rails by design, so the clip has
   to be on the page, not on .hero, which would cut them off */
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: #CFF0DE; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
.mono { font-family: var(--mono); }

/* ---- frame: center column with full-height rails ---- */
.rails { max-width: 1156px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--bg); position: relative; }
.in { padding-left: 46px; padding-right: 46px; }

/* mono gutter markers, pinned inside the rails */
.gm { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); user-select: none; pointer-events: none; white-space: nowrap; }

/* ---- announcement bar ---- */
.announce { padding: 10px 10px 0; }
.announce a {
  display: block; text-align: center; background: var(--green); color: #fff;
  font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 10px;
}
.announce a u { text-underline-offset: 3px; }
.announce a:hover { background: var(--green-deep); }

/* ---- nav ---- */
/* the blur recomposited the full viewport width behind the bar on every scroll
   frame for almost no visual gain at 92% opacity, so the bar is just opaque */
.navwrap { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); }
nav { display: flex; align-items: center; gap: 28px; max-width: 1156px; margin: 0 auto; padding: 13px 46px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.logo svg { width: 29px; height: 22px; }
.nav-center { display: flex; gap: 26px; margin: 0 auto; }
.nav-center a { font-size: 14.5px; color: var(--ink); }
.nav-center a:hover { color: var(--green-deep); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.navlink { font-size: 14.5px; color: var(--ink); padding: 8px 10px; }
.navlink:hover { color: var(--green-deep); }
.status-chip { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--soft); border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 12px; }
.status-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--faint); }
.btn-lg { font-size: 14px; padding: 8px 17px; border-radius: 8px; }

/* ---- hero ---- */
/* top padding clears the decoration's top band (y=100 to 202), the way
   firecrawl's pt-254 puts their headline below theirs */
.hero { position: relative; text-align: center; padding: 0 46px 56px; border-bottom: 1px solid var(--line); }
.hero > :not(.hero-bg) { position: relative; }
.ascii { position: absolute; left: 0; right: 0; top: 44%; height: 280px; font-family: var(--mono); font-size: 9px; line-height: 13px; letter-spacing: 2px; white-space: pre; text-align: center; color: rgba(26, 26, 24, 0.17); overflow: hidden; user-select: none;
  -webkit-mask-image: radial-gradient(70% 85% at 50% 50%, #000 50%, transparent 98%);
  mask-image: radial-gradient(70% 85% at 50% 50%, #000 50%, transparent 98%); }
.ascii b { font-weight: 400; color: rgba(11, 158, 87, 0.5); }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 14px; margin-bottom: 20px; }
.hero-pill b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); line-height: 0; flex: none; }
.hero-pill:hover { border-color: var(--faint); }
h1 { font-weight: 600; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.035em; }
h1 .gl { color: var(--green); display: block; }
.hero-sub { font-size: 16px; color: var(--soft); max-width: 540px; margin: 16px auto 24px; }
.hero-sub mark { background: var(--hl); color: var(--ink); padding: 1px 6px; border-radius: 5px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-alt { font-size: 13.5px; color: var(--soft); margin-bottom: 34px; }
.hero-alt a { color: var(--green-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.hero-alt a:hover { color: var(--green); }

/* hero demo card */
.demo-card { max-width: 740px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px -24px rgba(26, 26, 24, 0.16); text-align: left; overflow: hidden; }
.demo-url { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.demo-url .globe { color: var(--faint); flex: none; }
.demo-url .u { font-family: var(--mono); font-size: 13px; color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.demo-url .u b { color: var(--green-deep); font-weight: 500; }
.demo-out { position: relative; }
.demo-sum { display: flex; align-items: center; gap: 18px; padding: 9px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--soft); white-space: nowrap; }
.dsum-stats { display: flex; gap: 18px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.dsum-stats::-webkit-scrollbar { display: none; }
.demo-sum .demo-switch { margin-left: auto; flex: none; }
.demo-sum .k { color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; font-size: 10px; margin-right: 5px; }
.demo-sum b { color: var(--ink); font-weight: 500; }
.demo-try { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.demo-try .mag { color: var(--faint); flex: none; }
.demo-try input { flex: 1; border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--ink); min-width: 0; }
.demo-try input::placeholder { color: var(--faint); }
.limitbox { padding: 30px 20px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; height: 100%; }
.limitbox p { font-size: 14px; color: var(--soft); max-width: 430px; font-family: var(--sans); white-space: normal; }
.limitbox b { color: var(--ink); }
.demo-meta { display: flex; justify-content: space-between; padding: 9px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.06em; }
.demo-out pre { font-family: var(--mono); font-size: 12px; line-height: 1.6; padding: 14px 16px; overflow: auto; height: 268px; color: var(--ink); }

/* ---- hero results rail: the sold listings behind the JSON ---- */
.demo-switch { display: flex; gap: 2px; }
.dsw { font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--faint); background: transparent; border: 0; padding: 0 4px; cursor: pointer; }
.dsw:hover { color: var(--soft); }
.dsw.on { color: var(--ink); }
.demo-rail { display: flex; height: 268px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
/* four tiles fill the card exactly, so the rail never rests on a sliced tile;
   the rest are one scroll away */
.dtile { flex: 0 0 20%; box-sizing: border-box; display: flex; flex-direction: column;
  padding: 13px 12px 11px; border-right: 1px solid var(--line); animation: dtin 0.34s ease both; }
.dtile:last-child { border-right: 0; }
.dtile:hover { background: var(--hl); }
@keyframes dtin { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dtile { animation: none; } }
.dthumb { display: block; height: 118px; margin-bottom: 10px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--panel); overflow: hidden; flex: none; }
/* eBay shoots on white, so multiply drops the backdrop into the panel colour */
.dthumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dthumb.miss { background-color: var(--bg);
  background-image: radial-gradient(var(--line) 1.1px, transparent 1.1px);
  background-size: 7px 7px; }
.dtitle { font-size: 12px; line-height: 1.35; color: var(--ink); display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: auto; }
.drow { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.drow b { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.dbo { font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--green-deep); background: var(--green-tint);
  border-radius: 4px; padding: 2px 5px; }
.dgap { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 4px;
  text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--faint) 55%, transparent); }
.ddate { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-top: 3px; }
.tk { color: var(--green-deep); } .ts { color: var(--amber); } .tn { color: var(--green); } .tb { color: var(--green-deep); font-weight: 500; }

/* ---- skeleton browser-frame illustration ---- */
.bframe-band { padding: 46px 46px; border-bottom: 1px solid var(--line); }
.bframe { max-width: 860px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px -28px rgba(26, 26, 24, 0.16); }
.bf-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.bf-url { flex: 1; max-width: 300px; height: 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); margin: 0 auto 0 14px; }
.bf-bar .sk-label { margin-left: auto; }
.bf-body { display: grid; grid-template-columns: 1fr 1.15fr; }
.bf-left { padding: 30px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.bf-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sk-label { font-family: var(--mono); font-size: 10.5px; color: var(--soft); background: var(--hl); border-radius: 5px; padding: 3px 9px; white-space: nowrap; }
.sk-bar { height: 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); }
.w20 { width: 20%; } .w25 { width: 25%; } .w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w60 { width: 60%; }
.bf-right { position: relative; background: var(--bg); min-width: 0; }
.bf-right pre { font-family: var(--mono); font-size: 12px; line-height: 1.75; padding: 16px 18px 52px; overflow: auto; }
.done-chip { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; box-shadow: 0 6px 18px -10px rgba(26, 26, 24, 0.3); }
.done-chip i { width: 15px; height: 15px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 9px; }

/* ---- section counter row ---- */
.counter { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.06em; padding: 14px 46px; border-bottom: 1px solid var(--line); }
.counter b { color: var(--green); font-weight: 500; }
.counter::before { content: ""; width: 3px; height: 16px; background: var(--ink); margin-right: 4px; }

/* ---- sections ---- */
section { padding: 56px 46px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
h2 { font-weight: 600; font-size: clamp(27px, 3.5vw, 40px); line-height: 1.06; letter-spacing: -0.03em; text-align: center; }
h2 .gl { color: var(--green); }
.sec-sub { text-align: center; color: var(--soft); font-size: 15px; max-width: 500px; margin: 12px auto 0; }
.sec-sub.wide { max-width: 680px; }
.sec-gap { height: 46px; }

/* ---- 3-up feature cards ---- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; text-align: center; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card h3 .new { font-size: 10px; font-family: var(--mono); color: var(--green-deep); background: var(--green-tint); border-radius: 5px; padding: 2px 6px; vertical-align: 2px; margin-left: 6px; }
.card p { font-size: 14px; color: var(--soft); }
.card p code, .fcbtn p code, .fine code, details code { font-family: var(--mono); font-size: 12px; background: var(--hl); padding: 1px 5px; border-radius: 4px; }
.card .more { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 500; color: var(--green-deep); }
.card .more:hover { color: var(--green); }
.cards3.left .card { text-align: left; padding: 26px 24px; }
.cards3.left .card h3 { font-size: 16px; }

/* ---- code demo ---- */
.ctab { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--soft); background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 7px 15px; cursor: pointer; }
.ctab.on { color: var(--ink); background: var(--bg); border-color: var(--line); }
.ctab:hover { color: var(--ink); }
.copybtn { margin-left: auto; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--soft); background: transparent; border: 1px solid var(--line); border-radius: 9px; padding: 7px 13px; cursor: pointer; }
.copybtn:hover { color: var(--ink); border-color: var(--faint); }
.codegrid { display: grid; grid-template-columns: 1.15fr 1fr; }
.codepane { padding: 18px 20px; overflow: auto; }
.codepane pre { font-family: var(--mono); font-size: 12.5px; line-height: 1.75; }
.codepane .ln { display: inline-block; width: 26px; color: var(--faint); user-select: none; }
.jsonpane { border-left: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; min-width: 0; }
.jsonbar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.jsonbar .tag { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.08em; }
.jsonpane pre { font-family: var(--mono); font-size: 12px; line-height: 1.65; padding: 15px 16px; overflow: auto; max-height: 360px; }

/* ---- split text blocks (lead-in bold) ---- */
.leadgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.lead { border-top: 1px solid var(--line); padding-top: 18px; }
.lead p { font-size: 15.5px; color: var(--soft); }
.lead p b { color: var(--ink); font-weight: 600; }
.lead .more { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 500; color: var(--green-deep); }
.lead .more:hover { color: var(--green); }
.leadgrid.three { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.leadgrid.three p { font-size: 15px; }

/* ---- progress rows (pill-in-track) ---- */
.bars { border-top: 1px solid var(--line); margin-top: 34px; }
.brow { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.brow .bn { display: flex; align-items: center; gap: 11px; font-weight: 500; font-size: 15px; }
.brow .bn .bm { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; font-size: 13px; }
.track { position: relative; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.fill { position: absolute; top: 3px; left: 3px; bottom: 3px; min-width: 64px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--mono); font-size: 12.5px; display: flex; align-items: center; justify-content: center; white-space: nowrap; padding: 0 12px; width: var(--w); transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.brow.dim .fill { background: var(--panel); color: var(--soft); border: 1px solid var(--line); top: 3px; }

/* ---- tables ---- */
.tbl { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.tbl table.wide { min-width: 640px; }
.tbl-head { padding: 16px 20px 0; }
.tbl-head h3 { font-size: 16px; font-weight: 600; }
.tbl-head .src { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 3px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); text-align: left; padding: 10px 20px; font-weight: 500; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 20px; font-size: 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: none; }
td.num { font-family: var(--mono); font-size: 13px; }
td.num, th.num { text-align: right; }
.tbl.acc td { white-space: nowrap; }
.tbl.acc td:nth-child(2) { color: var(--soft); }
.tbl.acc tr.us td { font-weight: 500; color: var(--ink); }
tr.us td { background: var(--green-tint); font-weight: 600; }
.pos { color: var(--green-deep); }
.dim { color: var(--soft); }
.fade3 tr:nth-last-child(2) td { opacity: 0.55; border-bottom-color: transparent; }
.fade3 tr:last-child td { opacity: 0.25; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }

.datawrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.datatbl { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; }
.dt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.dt-head h3 { font-size: 15px; font-weight: 600; }
.dt-head .src { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.dt-row { display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: center; padding: 11px 20px; }
.dt-row + .dt-row { border-top: 1px solid var(--line); }
.dt-k { display: flex; flex-wrap: wrap; gap: 6px; }
.dt-k code { font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--hl); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.dt-k code .m { color: var(--green-deep); font-weight: 600; }
.dt-v { font-size: 14px; color: var(--soft); }
@media (min-width: 641px) { .tbl td:first-child { white-space: nowrap; } }

/* ---- best offer strike card ---- */
.bo-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; justify-content: center; }
.bo-title { font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.bo-ask { font-family: var(--mono); font-size: 15px; color: var(--soft); text-decoration: line-through; text-decoration-color: var(--green); }
.bo-real { font-family: var(--mono); font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.03em; color: var(--ink); margin: 4px 0 12px; }
.bo-chip { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--green-deep); background: var(--green-tint); border-radius: 6px; padding: 3px 9px; }
.bo-note { font-size: 13px; color: var(--soft); margin-top: 14px; }

/* ---- chart ---- */
.chart-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 14px; }
.chart-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.chart-top .t { font-size: 15px; font-weight: 600; }
.chart-top .d { font-family: var(--mono); font-size: 12.5px; color: var(--green-deep); background: var(--green-tint); border-radius: 6px; padding: 3px 9px; }
#chart { width: 100%; height: auto; }
/* bars grow out of the baseline, left to right. fill-box is what makes the
   origin the bar itself rather than the whole svg. */
.chartwrap { position: relative; }
.chbar { fill: rgba(11, 158, 87, 0.3); transform-box: fill-box; transform-origin: bottom;
  transform: scaleY(0); transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), fill 0.12s ease;
  transition-delay: calc(var(--i) * 16ms), 0s; }
.chbar.end { fill: var(--green); }
.chbar.hot { fill: var(--green); }
#chart.on .chbar { transform: scaleY(1); }
.chhit { cursor: default; }
/* the month's number on demand, which is why the two fixed labels are gone */
.chtip { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -150%);
  background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.02em; padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
.chtip[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .chbar { transform: scaleY(1); transition: fill 0.12s ease; } }
.axis { font-family: var(--mono); font-size: 10px; fill: var(--faint); }
/* user units, so this is sized against the viewBox rather than the screen */
#chart.narrow .axis { font-size: 23px; }
.chart-foot { font-family: var(--mono); font-size: 11px; color: var(--faint); padding: 10px 2px 4px; }

/* ---- pricing ---- */
.ptwrap { text-align: center; margin-bottom: 30px; }
.ptoggle { display: inline-flex; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--panel); }
.pt { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--soft); background: transparent; border: none; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.pt.on { color: #fff; background: var(--green); }
.ps-inline { font-size: 12px; font-weight: 400; color: var(--soft); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; position: relative; }
.plan.hot { border-color: var(--green); box-shadow: 0 14px 40px -22px rgba(11, 158, 87, 0.45); }
.plan .pop { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--green); color: #fff; border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.plans.four { grid-template-columns: repeat(4, 1fr); }
.pval { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.02em; margin: -8px 0 14px; }
.price s { color: var(--faint); font-weight: 500; font-size: 19px; margin-right: 6px; }
.plan h3 { font-size: 16px; font-weight: 600; }
.plan .price { font-size: 29px; font-weight: 600; letter-spacing: -0.03em; margin: 10px 0 16px; }
.plan .price .ps { font-size: 14px; font-weight: 400; color: var(--soft); }
.plan ul { list-style: none; margin-bottom: 22px; }
.plan li { font-size: 13.5px; color: var(--soft); padding: 5px 0 5px 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--green-tint); border: 1px solid var(--green-mid); }
.plan li b { color: var(--ink); }
.plan .btn { margin-top: auto; }
.bigrow { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-top: 16px; }
.bigrow p { font-size: 14.5px; color: var(--soft); }
.bigrow p b { color: var(--ink); }
/* Higher volume tiers sit behind a reveal, so the default view stays a four way
   comparison. The duo grid keeps the revealed cards the same width as a card in
   the four column row above, rather than stretching two cards across the page. */
.morewrap { display: flex; justify-content: center; margin-top: 18px; }
.morebtn { display: inline-flex; align-items: center; gap: 9px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-size: 13.5px; font-weight: 500; color: var(--soft); cursor: pointer; }
.morebtn:hover { color: var(--ink); border-color: var(--green-mid); }
.morebtn:focus-visible { box-shadow: 0 0 0 3px #CFF0DE; }
.morechev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.15s ease; }
.morebtn.on .morechev { transform: rotate(225deg) translate(-2px, -2px); }
.plans.duo { grid-template-columns: repeat(2, 1fr); max-width: calc(50% - 8px); margin: 14px auto 0; }
/* trio: the reveal holds three big tiers since Enterprise joined, so it is three across
   and clamped to three of the four columns above rather than wrapping the last card. */
.plans.trio { grid-template-columns: repeat(3, 1fr); max-width: calc(75% - 4px); margin: 14px auto 0; }
/* .plans sets display:grid, and an author rule beats the UA sheet's [hidden],
   so without this the collapsed tiers render anyway. */
.plans[hidden] { display: none; }
.fine { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 18px; }

/* ---- FAQ ---- */
.faq { max-width: 740px; margin: 0 auto; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 19px 4px; font-size: 15.5px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--faint); }
details[open] summary::after { content: "–"; color: var(--green); }
details p { padding: 0 4px 19px; color: var(--soft); font-size: 14.5px; max-width: 640px; }
details a { color: var(--green-deep); font-weight: 500; }

/* ---- CTA ---- */
.cta { text-align: center; }
.cta .fine { margin: 18px 0 26px; }

/* ---- footer ---- */
footer { border-top: none; }
.foot { padding: 44px 46px 0; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 46px; }
.foot-brand { max-width: 360px; }
.foot-brand .logo { margin-bottom: 14px; }
.legal { font-size: 12.5px; color: var(--soft); }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.fcol .fh { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.fcol a { display: block; font-size: 14px; color: var(--soft); padding: 4px 0; }
.fcol a:hover { color: var(--green-deep); }
.foot-bar { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); border-top: 1px solid var(--line); padding: 16px 46px; }

/* ---- reveal ---- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.rv.rvin { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .fill { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- responsive ---- */
@media (max-width: 1220px) { .gm { display: none; } }
@media (max-width: 960px) {
  .cards3 { grid-template-columns: 1fr; }
  .codegrid { grid-template-columns: 1fr; }
  .jsonpane { border-left: none; border-top: 1px solid var(--line); }
  .leadgrid, .leadgrid.three { grid-template-columns: 1fr; gap: 30px; }
  .grid2 { grid-template-columns: 1fr; }
  .plans, .plans.four { grid-template-columns: 1fr 1fr; }
  .plans.duo, .plans.trio { max-width: none; }
  .nav-center { display: none; }
  .navlink { display: none; }
  .bf-body { grid-template-columns: 1fr; }
  .bf-left { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 64px; }

  /* frame and rhythm */
  .in, section, .hero { padding-left: 16px; padding-right: 16px; }
  nav, .counter, .foot, .foot-bar { padding-left: 16px; padding-right: 16px; }
  section { padding-top: 38px; padding-bottom: 38px; }
  .sec-gap { height: 26px; }
  .counter { padding-top: 11px; padding-bottom: 11px; font-size: 11px; gap: 8px; }
  .counter::before { height: 13px; }

  /* type scale */
  h1 { font-size: clamp(26px, 8.2vw, 34px); }
  h2 { font-size: clamp(21px, 6.4vw, 27px); }
  .sec-sub { font-size: 13.5px; margin-top: 10px; }

  /* buttons and chips */
  .btn { font-size: 13px; padding: 8px 14px; border-radius: 9px; gap: 6px; }
  .btn-lg { font-size: 13.5px; padding: 9px 16px; border-radius: 10px; }
  .announce { padding: 8px 8px 0; }
  .announce a { font-size: 11.5px; padding: 7px 12px; border-radius: 8px; }
  .status-chip { display: none; }

  /* nav */
  nav { padding-top: 11px; padding-bottom: 11px; gap: 14px; }
  .logo { font-size: 16.5px; gap: 7px; }
  .logo svg { width: 26px; height: 20px; }

  /* hero */
  .hero { padding-top: 38px; padding-bottom: 34px; }
  .hero-pill { font-size: 11.5px; padding: 5px 5px 5px 11px; margin-bottom: 14px; gap: 6px; }
  .hero-pill b { width: 17px; height: 17px; }
  .hero-sub { font-size: 14px; margin: 12px auto 18px; }
  .hero-cta { gap: 8px; margin-bottom: 12px; }
  .hero-alt { font-size: 12.5px; margin-bottom: 22px; }
  .px { display: none; }
  .ascii { font-size: 8px; letter-spacing: 1px; }

  /* hero demo card */
  .demo-card { border-radius: 14px; }
  .demo-url { padding: 9px 12px; gap: 9px; }
  .demo-url .u { font-size: 11.5px; }
  .demo-sum { padding: 8px 12px; gap: 10px; font-size: 11px; }
  .dsum-stats { gap: 12px; }
  .demo-try { padding: 8px 10px 8px 12px; }
  .demo-try input { font-size: 14px; }
  .demo-meta { padding: 8px 12px; font-size: 10px; }
  .demo-out pre { font-size: 11px; line-height: 1.55; padding: 12px; height: 232px; }
  .demo-rail { height: 232px; }
  .dtile { flex: 0 0 50%; padding: 11px 11px 10px; }
  .dthumb { height: 104px; margin-bottom: 9px; }
  .dtitle { font-size: 12px; }
  .drow b { font-size: 14px; }
  .limitbox { padding: 22px 14px; gap: 11px; }
  .limitbox p { font-size: 13px; }

  /* skeleton browser frame */
  .bframe-band { padding: 30px 16px; }
  .bf-left { padding: 20px 16px; gap: 13px; }
  .bf-right pre { font-size: 10.5px; padding: 13px 14px 44px; }
  .bf-bar { padding: 10px 12px; }
  .sk-label { font-size: 9.5px; padding: 3px 7px; }
  .sk-bar { height: 11px; }
  .done-chip { font-size: 10.5px; padding: 5px 10px; right: 10px; bottom: 10px; }
  .done-chip i { width: 13px; height: 13px; font-size: 8px; }

  /* feature cards */
  .cards3 { gap: 12px; }
  .card { padding: 18px 16px; border-radius: 13px; }
  .card .ic { margin-bottom: 12px; }
  .card h3 { font-size: 15.5px; margin-bottom: 6px; }
  .card p { font-size: 13px; }
  .card .more { font-size: 13px; margin-top: 11px; }
  .cards3.left .card { padding: 18px 16px; }
  .cards3.left .card h3 { font-size: 15px; }

  /* code demo */
  .codebox { border-radius: 13px; }
  .codebar { padding: 8px; gap: 4px; }
  .ctab { font-size: 12.5px; padding: 6px 11px; }
  .copybtn { font-size: 12px; padding: 6px 10px; }
  .codepane { padding: 14px 13px; }
  .codepane pre { font-size: 11px; line-height: 1.65; }
  .codepane .ln { width: 20px; }
  .jsonbar { padding: 9px 12px; }
  .jsonpane pre { font-size: 11px; padding: 12px 13px; max-height: 260px; }

  /* split text blocks */
  .leadgrid, .leadgrid.three { gap: 22px; }
  .lead { padding-top: 14px; }
  .lead p, .leadgrid.three p { font-size: 14px; }
  .lead .more { font-size: 13.5px; margin-top: 11px; }

  /* progress rows */
  .bars { margin-top: 24px; }
  .brow { grid-template-columns: 1fr; gap: 8px; padding: 14px 2px; }
  .brow .bn { font-size: 14px; gap: 9px; }
  .brow .bn .bm { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
  .track { height: 32px; }
  .fill { font-size: 11.5px; min-width: 54px; padding: 0 10px; }

  /* tables */
  .tbl { border-radius: 13px; }
  .tbl-head { padding: 14px 14px 0; }
  .tbl-head h3 { font-size: 15px; }
  th { padding: 9px 13px; font-size: 10px; }
  td { padding: 10px 13px; font-size: 13px; }
  td.num { font-size: 12px; }
  .grid2 { gap: 12px; }

  /* the data table */
  .dt-row { grid-template-columns: 1fr; gap: 5px; padding: 10px 13px; }
  .dt-head { padding: 11px 13px; flex-direction: column; gap: 2px; }
  .dt-head h3 { font-size: 14px; }
  .dt-k code { font-size: 11px; padding: 2px 6px; }
  .dt-v { font-size: 13px; }

  /* best offer card */
  .bo-card { padding: 18px 16px; border-radius: 13px; }
  .bo-title { font-size: 13.5px; margin-bottom: 11px; }
  .bo-ask { font-size: 13.5px; }
  .bo-real { font-size: clamp(27px, 8.2vw, 34px); margin: 3px 0 10px; }
  .bo-chip { font-size: 11px; padding: 3px 8px; }
  .bo-note { font-size: 12.5px; margin-top: 11px; }

  /* chart */
  .chart-card { padding: 16px 14px 10px; border-radius: 13px; }
  .chart-top .t { font-size: 14px; }
  .chart-top .d { font-size: 11.5px; padding: 3px 8px; }
  .chart-foot { font-size: 10px; padding: 8px 2px 4px; }
  .axis { font-size: 9px; }

  /* pricing */
  .ptwrap { margin-bottom: 20px; }
  .pt { font-size: 12.5px; padding: 7px 13px; }
  .plans, .plans.four { grid-template-columns: 1fr; gap: 12px; }
  .plans.duo { grid-template-columns: 1fr; max-width: none; }
  .plan { padding: 18px 16px; border-radius: 13px; }
  .plan h3 { font-size: 15px; }
  .plan .price { font-size: 25px; margin: 8px 0 13px; }
  .plan .price .ps { font-size: 13px; }
  .price s { font-size: 17px; }
  .pval { font-size: 10.5px; margin: -6px 0 11px; }
  .plan ul { margin-bottom: 16px; }
  .plan li { font-size: 13px; padding: 4px 0 4px 18px; }
  .plan li::before { top: 10px; width: 9px; height: 9px; }
  .plan .pop { font-size: 10px; padding: 3px 10px; top: -10px; }
  .bigrow { padding: 16px; gap: 12px; border-radius: 13px; }
  .bigrow p { font-size: 13.5px; }
  .fine { font-size: 11px; margin-top: 14px; }

  /* FAQ */
  summary { padding: 15px 2px; font-size: 14.5px; gap: 12px; }
  details p { padding: 0 2px 15px; font-size: 13.5px; }

  /* CTA */
  .cta .fine { margin: 14px 0 20px; }

  /* footer */
  .foot { padding-top: 32px; }
  .foot-grid { gap: 22px; padding-bottom: 28px; }
  .foot-brand .logo { margin-bottom: 11px; }
  .legal { font-size: 12px; }
  .foot-cols { gap: 28px; }
  .fcol .fh { margin-bottom: 9px; }
  .fcol a { font-size: 13.5px; padding: 3px 0; }
  .foot-bar { font-size: 10px; gap: 8px; padding-top: 13px; padding-bottom: 13px; }
}

/* ---- SEO subpages ---- */
.crumb { display: flex; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--faint); padding: 13px 46px; border-bottom: 1px solid var(--line); }
.crumb a { color: var(--soft); }
.crumb b { color: var(--ink); font-weight: 500; }
.page-hero { text-align: center; padding: 50px 46px 42px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; }
.page-hero .hero-sub { max-width: 620px; }
.pagebody { padding: 44px 46px 56px; border-bottom: 1px solid var(--line); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 21px; text-align: left; letter-spacing: -0.02em; margin: 34px 0 10px; }
.prose p { font-size: 15px; color: var(--soft); margin: 10px 0; }
.prose p b { color: var(--ink); }
.prose a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: 12.5px; background: var(--hl); padding: 1px 5px; border-radius: 4px; color: var(--ink); }
.prose pre { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; margin: 16px 0; }
.prose pre code { background: none; padding: 0; font-size: 12.5px; line-height: 1.7; }
.prose .tbl { margin: 16px 0; }
.prose td { font-size: 13.5px; color: var(--soft); }
.prose td b, .prose td code { color: var(--ink); }
.prose tr.hlrow td { background: var(--green-tint); color: var(--ink); }
.src-note { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }
.related { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 18px; }
.related .fh { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.related a { display: block; padding: 4px 0; font-size: 14.5px; font-weight: 500; color: var(--green-deep); text-decoration: none; }
@media (max-width: 640px) {
  .crumb, .page-hero, .pagebody { padding-left: 16px; padding-right: 16px; }
  .crumb { padding-top: 10px; padding-bottom: 10px; font-size: 10.5px; }
  .page-hero { padding-top: 32px; padding-bottom: 26px; }
  .page-hero h1 { font-size: clamp(23px, 7vw, 29px); }
  .pagebody { padding-top: 28px; padding-bottom: 38px; }
  .prose h2 { font-size: 18.5px; margin: 24px 0 8px; }
  .prose p { font-size: 14px; margin: 9px 0; }
  .prose code { font-size: 11.5px; }
  .prose pre { padding: 12px 13px; border-radius: 10px; margin: 13px 0; }
  .prose pre code { font-size: 11px; line-height: 1.6; }
  .prose td { font-size: 12.5px; }
  /* wide study tables fit the phone instead of scrolling off the right edge */
  .prose .tbl table.wide { min-width: 0; width: 100%; }
  .prose .tbl th, .prose .tbl td { padding: 6px 6px; }
  .prose .tbl th { font-size: 9px; letter-spacing: 0; white-space: normal; line-height: 1.2; vertical-align: bottom; }
  .prose .tbl td { font-size: 11px; }
  .prose .tbl td.num { font-size: 10.5px; }
  .prose .tbl td:first-child { white-space: normal; }
  .src-note { font-size: 10px; }
  .related { margin-top: 26px; padding-top: 14px; }
  .related a { font-size: 13.5px; }
}

/* ============================================================================
   SECTION 01 · firecrawl layout grammar, taken from the live site 13 Oct 2026.
   The parts that matter there and were missing here:
   1. cells are cut out of the page, not floated on it: no gaps, no card radius,
      1px dividers, and an 11px corner fillet where the rules meet (.cv);
   2. the panel only appears on hover, scaling 0.98 to 1 inside the cell;
   3. controls are small. Their nav button is 6px by 12px at 14px/450.
   Corner-fillet colour is baked into the data URI, so --line is duplicated as
   %23EBE8E3 in four places below. Change both together.
   ========================================================================== */

/* corner fillet: square outside, 6px concave inside, drawn as four 11px pieces */
.cv { position: relative; }
.cv > .cvm, .cv::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background-repeat: no-repeat;
  background-position: left top, right top, left bottom, right bottom;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath transform='rotate(-90 5.5 5.5)' d='M11 1L11 11L10 11L10 7C10 3.686 7.314 1 4 1L0 1L0 0L11 0L11 1Z' fill='%23EBE8E3'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath d='M11 1L11 11L10 11L10 7C10 3.686 7.314 1 4 1L0 1L0 0L11 0L11 1Z' fill='%23EBE8E3'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath transform='rotate(180 5.5 5.5)' d='M11 1L11 11L10 11L10 7C10 3.686 7.314 1 4 1L0 1L0 0L11 0L11 1Z' fill='%23EBE8E3'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath transform='rotate(90 5.5 5.5)' d='M11 1L11 11L10 11L10 7C10 3.686 7.314 1 4 1L0 1L0 0L11 0L11 1Z' fill='%23EBE8E3'/%3E%3C/svg%3E");
}

/* In the hero the whole block is clipped above the card, so a box's two bottom
   fillets land on the cut and read as stray hooks hanging off the verticals.
   Only the top pair means anything there. */
.hero-deco .cv > .cvm, .hero-deco .cv::after {
  background-position: left top, right top;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath transform='rotate(-90 5.5 5.5)' d='M11 1L11 11L10 11L10 7C10 3.686 7.314 1 4 1L0 1L0 0L11 0L11 1Z' fill='%23EBE8E3'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11'%3E%3Cpath d='M11 1L11 11L10 11L10 7C10 3.686 7.314 1 4 1L0 1L0 0L11 0L11 1Z' fill='%23EBE8E3'/%3E%3C/svg%3E");
}

/* the section runs edge to edge: every row below sets its own padding */
#features.fc { padding: 0; overflow: clip; }

/* ---- section head ---- */
.sechead { position: relative; padding: 70px 46px 58px; overflow: clip; }

/* ---- feature cells ---- */
.fcrow { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fccell { position: relative; padding: 12px; }
.fccell { border-left: 1px solid transparent; }
.fccell + .fccell { border-left-color: var(--line); }
.fcbtn { display: block; position: relative; z-index: 3; width: 100%; text-align: center;
  padding: 32px 22px; }
/* the wash fills the whole cell, so it has to sit under the copy: the button
   already makes a stacking context, and its children are lifted above it */
.fcbtn::before { content: ""; position: absolute; inset: -12px; background: var(--hl);
  opacity: 0; transition: opacity 0.18s ease; z-index: 0; }
.fcbtn:hover::before { opacity: 1; }
.fcbtn > * { position: relative; z-index: 1; }
.fcic { width: 28px; height: 28px; margin: 0 auto 20px; filter: grayscale(1); opacity: 0.55;
  transition: filter 0.25s ease, opacity 0.25s ease; }
.fcbtn:hover .fcic { filter: none; opacity: 1; }
.fcbtn h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.fcbtn h3 .new { font-size: 10px; font-family: var(--mono); color: var(--green-deep);
  background: var(--green-tint); border-radius: 5px; padding: 2px 6px; vertical-align: 2px; margin-left: 6px; }
.fcbtn p { font-size: 14px; line-height: 20px; color: var(--soft); max-width: 252px; margin: 0 auto; }
.fcbtn .more { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px;
  font-size: 12px; font-weight: 500; color: var(--green-deep); }
.fcbtn .more svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.fcbtn:hover .more svg { transform: translateX(2px); }

/* ---- window strip between the cells and the code rail ---- */
.striprow { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.strip-l, .strip-r { display: flex; align-items: center; gap: 9px; height: 45px; padding: 0 18px; }
.strip-r { border-left: 1px solid var(--line); gap: 14px; }
.strip-l i, .strip-r i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line); flex: none; }
.strip-r .bar { height: 9px; border-radius: 999px; background: var(--hl); flex: 1; }

/* ---- segmented tab rail ---- */
.tabrow { display: flex; border-top: 1px solid var(--line); }
.tcell { padding: 12px; position: relative; }
.tcell:not(.tspacer):not(:last-child) { border-right: 1px solid var(--line); }
.tspacer { flex: 1; }
.tcopy { border-left: 1px solid var(--line); }
.ctab, .copybtn { display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--soft);
  background: transparent; border: 1px solid transparent; border-radius: 999px;
  padding: 10px 22px; cursor: pointer; transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.ctab svg, .copybtn svg { width: 18px; height: 18px; flex: none; }
.ctab:hover, .copybtn:hover { color: var(--ink); border-color: var(--line); }
.ctab.on { color: var(--ink); background: var(--panel); border-color: var(--line);
  box-shadow: 0 1px 2px rgba(26, 26, 24, 0.05); }
.copybtn { margin-left: 0; padding: 10px 20px; }

/* ---- code rail ---- */
#features .codegrid { display: grid; grid-template-columns: 1.08fr 1fr; border-top: 1px solid var(--line);
  min-height: 343px; padding: 12px 0 0 28px; }
/* grid items default to min-width:auto, so a long JSON line pushes the track
   wider than the rail instead of scrolling inside it */
#features .codepane, #features .jsonwrap { min-width: 0; }
#features .codepane { padding: 10px 20px 20px 0; overflow: auto; }
#features .jsonwrap { padding: 0 44px 0 13px; }
/* same faint rules as the rest of the rail: square corners with the 11px fillet,
   the bar on the page base and only the code itself on white */
#features .jsonpane { border: 1px solid var(--line); border-bottom: 0; border-radius: 0;
  background: transparent; height: 100%; display: flex; flex-direction: column; }
#features .jsonbar { padding: 12px 16px; background: transparent; }
#features .jsonbar .dot { width: 9px; height: 9px; background: transparent; border: 1px solid var(--line); }
#features .jsonpane pre { flex: 1; background: transparent; max-height: 300px; padding: 16px 16px 16px 0; }
#features .jsonpane pre .ln { display: inline-block; width: 44px; padding-right: 14px;
  text-align: right; color: var(--faint); user-select: none; }

@media (max-width: 900px) {
  .fcrow { grid-template-columns: 1fr; }
  .fccell + .fccell { border-left-color: transparent; border-top: 1px solid var(--line); }
  .fcbtn { padding: 24px 18px; }
  .sechead { padding: 52px 20px 38px; }
  .striprow { display: none; }
  .tabrow { overflow-x: auto; }
  .tcopy, .tspacer { display: none; }
  .ctab { padding: 9px 16px; }
  #features .codegrid { grid-template-columns: 1fr; padding: 12px 0 0 14px; min-height: 0; }
  #features .jsonwrap { padding: 0; }
  #features .jsonpane { border-radius: 0; border-left: 0; border-right: 0; }
}

/* ============================================================================
   The section-01 grammar, applied to the rest of the page. A section marked
   .fc drops its own padding: the head pads itself and every content row runs
   to the rails, divided by 1px rules with the 11px fillet at the junctions.
   Cards keep their copy but lose the floating-panel look; the panel now only
   appears under the cursor, which is what makes the grid read as one surface.
   ========================================================================== */
section.fc { padding: 0; overflow: clip; }
section.fc > .sechead { padding: 70px 46px 58px; }
section.fc > :not(.sechead) { padding-left: 0; padding-right: 0; }

/* three-up card rows, the pattern behind use cases, sheets and the data grid */
section.fc .cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); }
section.fc .cards3 .card { position: relative; background: transparent; border: 0;
  border-radius: 0; padding: 12px; }
section.fc .cards3 .card > * { position: relative; z-index: 2; }
section.fc .cards3 .card::before { content: ""; position: absolute; inset: 0;
  background: var(--hl); opacity: 0; transition: opacity 0.18s ease; z-index: 1; }
section.fc .cards3 .card:hover::before { opacity: 1; }
/* the card body needs its own inset now that the cell carries the gutter */
section.fc .cards3 .card h3 { margin: 20px 22px 8px; font-size: 16px; font-weight: 500; }
section.fc .cards3 .card p { margin: 0 22px 22px; font-size: 14px; line-height: 20px; }
section.fc .cards3 .card .more { margin: 0 22px 22px; }
/* .cardlink was left behind when the cells took over the gutter, so it hung
   on the cell edge while the copy above it sat 22px in */
section.fc .cards3 .card .cardlink { margin-left: 22px; margin-right: 22px; }
section.fc .cards3.left .card { text-align: left; padding: 12px; }
/* dividers: vertical between columns, horizontal between rows */
section.fc .cards3 .card:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
section.fc .cards3 .card:nth-child(n + 4) { border-top: 1px solid var(--line); }

/* the compare row uses the same cells with running text */
section.fc .leadgrid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); }
section.fc .leadgrid.three .lead { position: relative; padding: 30px 26px; }
section.fc .leadgrid.three .lead:not(:last-child) { border-right: 1px solid var(--line); }

/* two-up rows (the Best Offer split and the data panels) */
section.fc .duo, section.fc .split2 { border-top: 1px solid var(--line); }

/* these selectors outrank the older .cards3 mobile rule, so the collapse to a
   single column has to be restated at the same specificity */
@media (max-width: 960px) {
  section.fc > .sechead { padding: 52px 20px 38px; }
  section.fc .cards3 { grid-template-columns: 1fr; }
  section.fc .cards3 .card:not(:nth-child(3n)) { border-right: 0; }
  section.fc .cards3 .card + .card { border-top: 1px solid var(--line); }
  section.fc .cards3 .card h3 { margin: 16px 16px 6px; }
  section.fc .cards3 .card p, section.fc .cards3 .card .more { margin: 0 16px 16px; }
  section.fc .cards3 .card .cardlink { margin-left: 16px; margin-right: 16px; }
  section.fc .leadgrid.three { grid-template-columns: 1fr; }
  section.fc .leadgrid.three .lead { padding: 22px 18px; }
  section.fc .leadgrid.three .lead:not(:last-child) { border-right: 0;
    border-bottom: 1px solid var(--line); }
}


/* ============================================================================
   Hero decoration, transcribed from firecrawl's own hero markup: their element
   list, their pixel values, their nesting. Rows sit at y = 100, 201, 302, 403
   and 504 on a 101px pitch; the centred frames step 202px apart and the inner
   three are only 102px tall, which is why nothing runs down behind the copy.
   `cw*` is their `cw-[Npx]`: a centred box of exactly N pixels.
   ========================================================================== */
/* compressed from firecrawl's pt-254/pb-115 so the demo card clears the fold;
   the deco is lifted by the same amount, keeping the headline clear of the
   top band exactly as their spacing does */
.hero-stage { position: relative; padding: 158px 0 86px; min-height: 624px; }
/* their -mt-90: the card sits over the bottom of the decoration block */
.hero .demo-card { position: relative; z-index: 3; margin-top: -90px; }
.hero-stage > :not(.hero-deco) { position: relative; z-index: 2; }
/* The card is pulled 90px up over the stage, so anything in the decoration that
   reaches the stage floor ends up beside it. Rather than trim each piece, the
   whole block is clipped 100px above the stage floor: 10px clear of the card.
   Everything inside keeps firecrawl's literal heights.

   top: -101px puts the block's own origin 101px above the stage, so the first
   row, which firecrawl draws 100px in, lands on the nav's bottom rule instead of
   floating below it. The two read as one line. */
.hero-deco { position: absolute; top: -101px; left: 0; right: 0; bottom: 100px;
  overflow: hidden; pointer-events: none; user-select: none; }
.fcx { position: absolute; }
.fch { position: absolute; height: 1px; background: var(--line); }
.bx { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.top0 { top: 0; }
.top100 { top: 100px; }
.h-full { height: 100%; }
.h-reg { height: calc(100% - 99px); }   /* their h-[calc(100%-99px)] */
.h102 { height: 102px; }
.c102 { width: 102px; height: 102px; }
.cw1314, .cw1112, .cw910, .cw708, .cw506, .cw304, .cw102 { left: 50%; transform: translateX(-50%); }
.cw1314 { width: 1314px; } .cw1112 { width: 1112px; } .cw910 { width: 910px; }
.cw708 { width: 708px; } .cw506 { width: 506px; } .cw304 { width: 304px; } .cw102 { width: 102px; }
/* the band with the top and bottom rules, their border-y box */
.fcx-band { position: absolute; left: 0; width: 100%; top: 100px; height: calc(100% - 99px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* frame labels, their top-111 / bottom-10 corner markers */
.fcl { position: absolute; width: 102px; text-align: center; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em; color: var(--faint); }
/* their two accent marks sitting on grid intersections */
.fcs { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); }
.fcs::before, .fcs::after { content: ""; position: absolute; background: var(--green);
  animation: fcspark 3.2s ease-in-out infinite; will-change: transform, opacity; }
.fcs::before { left: 50%; top: 8px; bottom: 8px; width: 1.5px; margin-left: -0.75px; }
.fcs::after { top: 50%; left: 8px; right: 8px; height: 1.5px; margin-top: -0.75px; }
@keyframes fcspark { 0%, 100% { opacity: 0.45; transform: scale(0.72); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .fcs::before, .fcs::after { animation: none; } }

@media (max-width: 1100px) {
  .hero-deco { display: none; }
  .hero-stage { padding: 54px 0 20px; min-height: 0; }
}

/* ============================================================================
   SQUARED SURFACES
   Dom, 13 Oct: no more rounded white boxes floating inside a section, and no
   more sections that look unlike their neighbours. Every large panel now reads
   as a cell cut out of the page rather than a card sitting on it: no fill, no
   radius, no shadow, and a 1px rule where cells meet. Radius survives only on
   the small controls (buttons, pills, chips, inline code), which is firecrawl's
   own rule. This block is last in the file so it beats the older panel rules
   and their mobile overrides without having to edit each one.
   ========================================================================== */
.card, .plan, .bo-card, .chart-card, .datatbl, .tbl, .bigrow, .bframe {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}

/* On an ordinary padded page a panel still has to read as a block, so these
   keep the rules top and bottom. Inside a .fc section the row above supplies
   them and a second one would double up. */
.tbl, .chart-card { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.datatbl { border-top: 1px solid var(--line); }
.datawrap { max-width: none; gap: 0; }
section.fc .grid2 > .tbl { border-top: 0; border-bottom: 0; }
section.fc .chart-card { border-bottom: 0; }

/* Plan columns are one table, firecrawl style: the name band, the price and
   button band and each feature line are rows that run straight across all four
   columns. grid-template-rows: subgrid is what keeps them aligned no matter how
   long a line wraps, so the rules never step. Ours are tighter than theirs. */
.plans { display: grid; gap: 0; grid-template-rows: repeat(5, auto);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans.four { grid-template-columns: repeat(4, 1fr); }
.plans.duo { grid-template-columns: repeat(2, 1fr); }
.plans.trio { grid-template-columns: repeat(3, 1fr); }
.plan { display: grid; grid-row: span 5; grid-template-rows: subgrid;
  padding: 0; background: transparent; }
.plan { border-left: 1px solid transparent; }
.plan + .plan { border-left-color: var(--line); }
.plan.hot { background: var(--green-wash); box-shadow: none; }
section.fc .plans { border-bottom: 0; }

.pb { padding: 13px 22px; }
.pb + .pb { border-top: 1px solid var(--line); }
.phead { padding: 22px 22px 20px; }
.phead h3 { font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
/* the old line was 11px mono and wrapped mid-sentence, which read as a stray
   note rather than as the plan's own description. Two plain sans lines instead:
   who it is for, then the volume it buys. */
.pdesc { font-size: 13.5px; line-height: 19px; color: var(--soft); margin: 8px 0 0; }
.pvol { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--ink); }
.pvol i { width: 13px; height: 13px; flex: none; border-radius: 3px;
  background: var(--green-tint); border: 1px solid var(--green-mid); }
.pbuy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 22px 22px; }
.plan .price { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.plan .price .ps { font-size: 13px; font-weight: 400; color: var(--soft); }
.prate { font-size: 12.5px; color: var(--faint); }
/* Every plan carries all three lines (price, rate, button), so the band matches
   across the four columns by content rather than by an auto margin that only
   holds while the band happens to stretch. The auto stays as a backstop. */
.plan .pbuy .btn { width: 100%; margin: 16px 0 0; margin-top: auto; }
.pf { display: flex; align-items: baseline; gap: 9px; font-size: 13.5px; color: var(--soft); }
.pf::before { content: ""; width: 10px; height: 10px; flex: none; position: relative; top: 1px;
  border-radius: 50%; background: var(--green-tint); border: 1px solid var(--green-mid); }
.pf b { color: var(--ink); font-weight: 600; }
/* the badge sits beside the name now rather than straddling the top rule */
.plan .pop { position: static; transform: none; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase; background: var(--green-tint);
  color: var(--green-deep); border-radius: 5px; padding: 3px 7px; white-space: nowrap; }

/* two-up cell rows: the Best Offer split */
section.fc .grid2 { gap: 0; border-top: 1px solid var(--line); align-items: stretch; }
section.fc .grid2 > * { padding: 34px 46px; }
section.fc .grid2 > * { border-left: 1px solid transparent; }
section.fc .grid2 > * + * { border-left-color: var(--line); }
section.fc .grid2 > .tbl { padding: 34px 0; overflow: visible; }
section.fc .grid2 > .tbl .tbl-head { padding: 0 46px; }
section.fc .grid2 > .tbl th, section.fc .grid2 > .tbl td { padding-left: 46px; padding-right: 46px; }

/* the two-column lead-in text rows */
section.fc .leadgrid { gap: 0; }
section.fc .leadgrid > .lead { border-top: 1px solid var(--line); padding: 34px 46px; }
section.fc .leadgrid > .lead { border-left: 1px solid transparent; }
section.fc .leadgrid > .lead + .lead { border-left-color: var(--line); }

/* rows that are not cells still sit on a rule rather than on air */
section.fc .ptwrap { margin: 0; padding: 30px 46px; border-top: 1px solid var(--line); }
section.fc .morewrap { margin: 0; padding: 26px 46px; border-top: 1px solid var(--line); }
/* only a .fine that is a row of the section gets the rule; the one nested in a
   CTA block is a caption under the button, not a new band */
section.fc > .fine { margin: 0; padding: 22px 46px; border-top: 1px solid var(--line); }
section.fc .cta { padding: 38px 46px; border-top: 1px solid var(--line); }
section.fc .dt-head, section.fc .dt-row { padding-left: 46px; padding-right: 46px; }
section.fc .chart-card { padding: 30px 46px 20px; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  /* one column: the rows no longer have to line up, so the subgrid goes */
  .plans, .plans.four, .plans.duo, .plans.trio { grid-template-columns: 1fr; grid-template-rows: none; }
  .plan { display: block; grid-row: auto; }
  .plan + .plan { border-left-color: transparent; border-top: 1px solid var(--line); }
  .pb { padding: 12px 20px; }
  .phead { padding: 20px 20px 16px; }
  .pbuy { padding: 18px 20px 20px; }
  section.fc .grid2, section.fc .leadgrid { grid-template-columns: 1fr; }
  section.fc .grid2 > * + *, section.fc .leadgrid > .lead + .lead {
    border-left-color: transparent; border-top: 1px solid var(--line); }
  section.fc .grid2 > *, section.fc .leadgrid > .lead { padding: 24px 20px; }
  section.fc .grid2 > .tbl { padding: 24px 0; }
  section.fc .grid2 > .tbl .tbl-head,
  section.fc .grid2 > .tbl th, section.fc .grid2 > .tbl td { padding-left: 20px; padding-right: 20px; }
  section.fc .ptwrap, section.fc .morewrap, section.fc > .fine, section.fc .cta,
  section.fc .dt-head, section.fc .dt-row, section.fc .chart-card {
    padding-left: 20px; padding-right: 20px; }
}

/* code blocks follow the same rule: square, on the page, bounded by a line */
.prose pre, .codebox { background: transparent; border-radius: 0; }

/* ---- Best Offer: one sale read three ways, then the study ------------------
   The old pair of panels spent a lot of height on one number and a three row
   table. This says the same thing in two bands: the same sale as each source
   reports it, with ours washed, and then the measured gap across the whole
   verification set. Numbers are from /best-offer-gap (5,859 matched sales). */
.borow { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.bocol { padding: 30px 34px 32px; }
.bocol { border-left: 1px solid transparent; }
.bocol + .bocol { border-left-color: var(--line); }
.bocol.us { background: var(--green-wash); }
.bok { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; }
.bochip { font-family: var(--mono); font-size: 10.5px; color: var(--green-deep);
  background: var(--green-tint); border-radius: 5px; padding: 3px 7px; white-space: nowrap; }
.bov { font-family: var(--mono); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em;
  color: var(--ink); margin: 16px 0 12px; }
.bov.dim { color: var(--faint); }
.bon { font-size: 13px; line-height: 19px; color: var(--soft); }

.bostats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.bostat { padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; }
.bostat { border-left: 1px solid transparent; }
.bostat + .bostat { border-left-color: var(--line); }
.bostat b { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
/* the percentages are the finding, so they carry the accent; 5,859 is the size
   of the sample, not a result, and stays in ink */
.bostat b.gl { color: var(--green); }
.bostat span { font-size: 12.5px; line-height: 17px; color: var(--soft); }
.bolink { justify-content: center; }

@media (max-width: 960px) {
  .borow { grid-template-columns: 1fr; }
  .bocol + .bocol { border-left-color: transparent; border-top: 1px solid var(--line); }
  .bocol { padding: 22px 20px; }
  .bostats { grid-template-columns: repeat(2, 1fr); }
  .bostat { padding: 18px 20px; border-top: 1px solid var(--line); }
  .bostat { border-left: 1px solid transparent; }
.bostat + .bostat { border-left-color: var(--line); }
  .bostat:nth-child(odd) { border-left: 0; }
  .bolink { grid-column: span 2; }
}

/* ============================================================================
   PHONE
   Two problems: the 640px block above predates the squared grammar, so the new
   rows carried desktop type and padding, and every grid collapsed to a single
   column, which dragged the page past 12,000px. The cell rows go two up here
   instead, and the scale comes down hard. The one real overlap is also fixed:
   the hero card is pulled 90px up to tuck under the decoration, but that is
   hidden below 1100px, so on a phone it rode over the buttons.
   ========================================================================== */
@media (max-width: 1100px) {
  .hero .demo-card { margin-top: 0; }
  .hero-stage { padding-bottom: 28px; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(22px, 6.9vw, 28px); }
  h2 { font-size: clamp(18px, 5.4vw, 22px); }
  .sec-sub { font-size: 12.5px; margin-top: 8px; }
  .counter { padding: 9px 14px; font-size: 10px; }
  section { padding-top: 28px; padding-bottom: 28px; }

  /* heads and the rows under them */
  section.fc > .sechead { padding: 30px 14px 22px; }
  section.fc .grid2 > *, section.fc .leadgrid > .lead { padding: 16px 14px; }
  section.fc .grid2 > .tbl { padding: 16px 0; }
  section.fc .grid2 > .tbl .tbl-head,
  section.fc .grid2 > .tbl th, section.fc .grid2 > .tbl td { padding-left: 14px; padding-right: 14px; }
  section.fc .ptwrap, section.fc .morewrap, section.fc > .fine, section.fc .cta,
  section.fc .dt-head, section.fc .dt-row, section.fc .chart-card {
    padding-left: 14px; padding-right: 14px; }
  section.fc .ptwrap { padding-top: 16px; padding-bottom: 16px; }
  section.fc .morewrap { padding-top: 16px; padding-bottom: 16px; }
  section.fc .cta { padding-top: 22px; padding-bottom: 22px; }
  section.fc > .fine { padding-top: 13px; padding-bottom: 13px; font-size: 10.5px; }
  section.fc .chart-card { padding-top: 16px; padding-bottom: 10px; }
  section.fc .leadgrid > .lead p { font-size: 13px; line-height: 18.5px; }
  .lead .more { font-size: 13px; margin-top: 9px; }

  /* ---- two up instead of stacked ---- */
  /* feature cells: two columns, the odd one out takes the full row */
  .fcrow { grid-template-columns: 1fr 1fr; }
  .fccell:nth-child(odd) { border-left-color: transparent; }
  .fccell:nth-child(even) { border-left-color: var(--line); }
  .fccell:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .fccell:nth-child(3):last-child { grid-column: span 2; }
  .fcbtn { padding: 18px 10px; }
  .fcbtn h3 { font-size: 13.5px; margin-bottom: 5px; }
  .fcbtn p { font-size: 11.5px; line-height: 16px; }
  .fcbtn .more { font-size: 11px; margin-top: 7px; }
  .fcic { width: 22px; height: 22px; margin-bottom: 11px; }

  section.fc .cards3 { grid-template-columns: 1fr 1fr; }
  section.fc .cards3 .card + .card { border-top: 0; }
  section.fc .cards3 .card:not(:nth-child(3n)) { border-right: 0; }
  section.fc .cards3 .card:nth-child(odd) { border-right: 1px solid var(--line); }
  section.fc .cards3 .card:nth-child(n + 3) { border-top: 1px solid var(--line); }
  /* a row of three leaves one card alone in the left column, so it takes the
     whole row instead of sitting next to a hole */
  section.fc .cards3 .card:nth-child(3):last-child { grid-column: span 2; border-right: 0; }
  section.fc .cards3 .card h3 { margin: 14px 12px 5px; font-size: 13.5px; }
  section.fc .cards3 .card p { margin: 0 12px 14px; font-size: 11.5px; line-height: 16px; }
  section.fc .cards3 .card .more { margin: 0 12px 14px; font-size: 11px; }
  section.fc .cards3 .card .cardlink { margin-left: 12px; margin-right: 12px; }

  /* plans: two by two, with subgrid back on so each pair's name, price and
     feature rows line up the way the four across row does on a desktop */
  .plans, .plans.four { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(10, auto); }
  .plans.duo { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); }
  .plans.trio { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(10, auto); }
  .plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
  .plan:nth-child(odd) { border-left-color: transparent; }
  .plan:nth-child(even) { border-left-color: var(--line); }
  .plan:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .plan + .plan { border-top: 0; }
  .pb { padding: 8px 12px; }
  .phead { padding: 14px 12px 12px; }
  .phead h3 { font-size: 13.5px; gap: 5px; }
  .plan .pop { font-size: 8.5px; padding: 2px 5px; }
  .pdesc { font-size: 11.5px; line-height: 16px; margin-top: 5px; }
  .pvol { font-size: 11.5px; margin-top: 10px; gap: 6px; }
  .pvol i { width: 11px; height: 11px; }
  .pbuy { padding: 12px 12px 14px; gap: 2px; }
  .plan .price { font-size: 22px; }
  .plan .price .ps { font-size: 11px; }
  .prate { font-size: 10.5px; }
  .plan .pbuy .btn { margin-top: 10px; font-size: 12px; padding: 7px 10px; }
  .pf { font-size: 11.5px; gap: 7px; }
  .pf::before { width: 8px; height: 8px; }
  .pt { font-size: 12px; padding: 6px 11px; }

  /* best offer: the two asking sources side by side, ours across the foot */
  .borow { grid-template-columns: 1fr 1fr; }
  .bocol { padding: 16px 14px; }
  .bocol:nth-child(odd) { border-left-color: transparent; }
  .bocol:nth-child(even) { border-left-color: var(--line); }
  .bocol.us { grid-column: span 2; border-left-color: transparent;
    border-top: 1px solid var(--line); }
  .bok { font-size: 12.5px; gap: 7px; }
  .bochip { font-size: 9.5px; padding: 2px 5px; }
  .bov { font-size: 22px; margin: 10px 0 7px; }
  .bon { font-size: 11.5px; line-height: 16px; }
  .bostat { padding: 12px 14px; }
  .bostat b { font-size: 17px; }
  .bostat span { font-size: 10.5px; line-height: 14px; }

  /* the code rail: two stacked panes of 12 and 16 lines ran to about 600px */
  #features .codegrid { padding: 8px 0 0 10px; }
  #features .codepane { padding: 6px 12px 12px 0; }
  #features .codepane pre, #features .jsonpane pre { font-size: 10.5px; line-height: 1.6; }
  #features .codepane .ln { width: 18px; }
  #features .jsonpane pre { max-height: 200px; padding: 10px 10px 10px 0; }
  #features .jsonpane pre .ln { width: 30px; padding-right: 9px; }
  #features .jsonbar { padding: 8px 12px; }
  .tcell { padding: 8px; }
  .ctab, .copybtn { font-size: 12.5px; padding: 7px 14px; }

  /* the data rows */
  .dt-head h3 { font-size: 13px; }
  .dt-v { font-size: 12px; }
  .dt-k code { font-size: 10.5px; }

  /* chart furniture */
  .chtip { font-size: 10px; padding: 3px 6px; }
  .chart-top .t { font-size: 12.5px; }
  .chart-top .d { font-size: 10.5px; }
  .chart-foot { font-size: 9.5px; }
}

/* ---- use-case card links + category browse row ---- */
.cardlink { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 500; color: var(--green-deep); text-decoration: none; }
.cardlink:hover { text-decoration: underline; }
/* section.fc strips the horizontal padding off every row, so this one has to
   carry its own gutter or it sits flush on the rails and on the section's
   bottom border. 34 / 28 / 24 lines it up with the card copy above it at the
   same three breakpoints. */
section.fc .catwrap { padding: 34px 34px 42px; border-top: 1px solid var(--line); }
.catwrap .fh { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
/* the icons float straight on the page: no chip, no outline, just a soft
   drop shadow for lift. 16 items divides evenly into 8 so both rows end
   flush, which is the whole point of the grid over the old wrapping row.
   The icons are Microsoft's Fluent Emoji 3D set (MIT), 96px PNGs in
   /img/cat shown at 46 so they stay sharp on a retina screen. */
.catlist { display: grid; grid-template-columns: repeat(8, 1fr); gap: 34px 10px; }
.catlist a {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; font-size: 13px; line-height: 1.35; color: var(--soft);
  text-decoration: none; padding: 0 2px;
  transition: opacity 0.42s ease var(--d, 0s), transform 0.42s ease var(--d, 0s),
              color 0.18s ease;
}
.catlist a img {
  width: 48px; height: 48px; flex: none;
  filter: drop-shadow(0 5px 9px rgba(26, 26, 24, 0.13));
  transition: transform 0.26s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.26s ease;
}
.catlist a span { display: block; min-height: 2.7em; }
.catlist a:hover { color: var(--green-deep); }
.catlist a:hover img {
  transform: translateY(-4px) scale(1.07);
  filter: drop-shadow(0 10px 14px rgba(26, 26, 24, 0.18));
}
/* the icons ride the section's own scroll reveal, staggered left to right.
   they are only hidden while .catwrap is still waiting for .rvin, so one is
   never stranded invisible if the observer never fires. */
.catwrap.rv:not(.rvin) .catlist a { opacity: 0; transform: translateY(9px); }
.catlist a:nth-child(1) { --d: 0ms; }     .catlist a:nth-child(2) { --d: 26ms; }
.catlist a:nth-child(3) { --d: 52ms; }    .catlist a:nth-child(4) { --d: 78ms; }
.catlist a:nth-child(5) { --d: 104ms; }   .catlist a:nth-child(6) { --d: 130ms; }
.catlist a:nth-child(7) { --d: 156ms; }   .catlist a:nth-child(8) { --d: 182ms; }
.catlist a:nth-child(9) { --d: 208ms; }   .catlist a:nth-child(10) { --d: 234ms; }
.catlist a:nth-child(11) { --d: 260ms; }  .catlist a:nth-child(12) { --d: 286ms; }
.catlist a:nth-child(13) { --d: 312ms; }  .catlist a:nth-child(14) { --d: 338ms; }
.catlist a:nth-child(15) { --d: 364ms; }  .catlist a:nth-child(16) { --d: 390ms; }
@media (prefers-reduced-motion: reduce) {
  .catwrap.rv:not(.rvin) .catlist a { opacity: 1; transform: none; }
  .catlist a, .catlist a img { transition: none; }
  .catlist a:hover img { transform: none; }
}
/* 16 divides by 8, 4 and 2, so every breakpoint keeps full rows. 8 across
   gets cramped under about 900, where 4 across is the next even step. */
@media (max-width: 960px) {
  section.fc .catwrap { padding: 30px 28px 34px; }
}
@media (max-width: 900px) {
  .catlist { grid-template-columns: repeat(4, 1fr); gap: 28px 12px; }
}
@media (max-width: 700px) {
  .catlist { gap: 26px 8px; }
  .catlist a { font-size: 12px; gap: 10px; padding: 0 1px; }
  .catlist a span { min-height: 2.8em; }
  .catlist a img { width: 42px; height: 42px; }
  .cardlink { font-size: 12.5px; margin-top: 8px; }
}
@media (max-width: 640px) {
  section.fc .catwrap { padding: 26px 24px 30px; }
  .catwrap .fh { margin-bottom: 20px; }
}
@media (max-width: 420px) {
  .catlist { gap: 22px 6px; }
  .catlist a { font-size: 11.5px; }
  .catlist a img { width: 36px; height: 36px; }
}

/* /ai : the two doors (ask in chat vs build with it). Our own layout, a two
   column split that collapses on phones, not the single boxed callout rivals use. */
.aidoors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 30px; }
.aidoor { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 22px; display: flex; flex-direction: column; }
.aidoor:last-child { background: var(--green-wash); border-color: var(--green-mid); }
.aidoor-tag { align-self: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); background: var(--green-tint); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.aidoor h2 { font-size: 18px; text-align: left; margin: 0 0 8px; letter-spacing: -0.01em; }
.aidoor > p { font-size: 14px; color: var(--soft); margin: 0 0 12px; }
.aidoor pre { background: #1A1A18; color: #E8E6E1; border: 0; border-radius: 10px; padding: 13px 15px; overflow-x: auto; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; margin: 0 0 10px; }
.aidoor pre code { background: none; padding: 0; color: inherit; font-size: 11.5px; }
.aidoor-note { font-size: 12.5px; color: var(--soft); margin: auto 0 0; }
.aidoor-note code { font-family: var(--mono); font-size: 11.5px; background: var(--hl); padding: 1px 5px; border-radius: 4px; }
.aidoor:last-child .aidoor-note code { background: rgba(255,255,255,0.6); }
.aisteps { margin: 0 0 12px; padding-left: 20px; }
.aisteps li { font-size: 14px; color: var(--ink); margin: 7px 0; }
.aisteps code { font-family: var(--mono); font-size: 12px; background: rgba(255,255,255,0.6); padding: 1px 5px; border-radius: 4px; }
.aisteps a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .aidoors { grid-template-columns: 1fr; } }

/* second fine line in the closing CTA (marketplaces mention) */
.cta .fine + .fine { margin-top: -16px; }
.cta .fine a, footer .legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
