/* Sable Labs website. Palette and type: see brand notes (ink, white, graphite; Instrument Sans). */
:root {
  --deep: #0a0b0c; --bg: #111214; --card: #1a1b1f; --line: #2a2c31; --line2: #3a3c42;
  --ink: #f2f2f0; --sub: #a3a6ab; --dim: #8f9297; --money: #4cc38a;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.55; font-variant-numeric: tabular-nums; }
a { color: var(--ink); } a:hover { color: #fff; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
::placeholder { color: #6e7177; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
h1, h2, h3 { font-weight: 600; margin: 0; }
h1 { font-size: 64px; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: 44px; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
h3 { font-size: 21px; letter-spacing: -0.01em; }
.sub { color: var(--sub); }
.big { font-size: 19px; }

/* header */
.top { background: var(--deep); border-bottom: 1px solid #222428; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 18px; padding-bottom: 18px; }
.top .home { display: flex; align-items: center; text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 26px; flex: 1 1 auto; font-weight: 500; font-size: 15px; }
.top nav a { color: var(--sub); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.soon { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line2); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.navtoggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line2); border-radius: 9px; background: transparent; color: var(--ink); cursor: pointer; }
.navtoggle svg { display: block; }
.navtoggle .x, .top.nav-open .navtoggle .bars { display: none; }
.top.nav-open .navtoggle .x { display: block; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 9px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid var(--line2); background: transparent; color: var(--ink); }
.btn.solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.solid:hover { background: #fff; color: var(--bg); }
.btn.lg { min-height: 50px; padding: 14px 24px; font-size: 17px; border-radius: 10px; }
button[disabled] { opacity: 0.6; cursor: wait; }

/* sections */
.origins { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.origins li { position: relative; padding-left: 18px; color: var(--sub); }
.origins li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--money); }
.origins b { color: var(--ink); font-weight: 600; }
.hero { background: var(--deep); border-bottom: 1px solid #222428; }
.section { padding: 112px 0 24px; }
.section.last { padding-bottom: 112px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.grid > * { background: var(--bg); padding: 30px 28px; }
.grid p { margin: 6px 0 0; color: var(--sub); }
.grid svg { display: block; margin-bottom: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.steps li { flex: 1 1 300px; min-width: 0; border-top: 1px solid var(--line2); padding-top: 20px; }
.steps li.on { border-top-color: var(--ink); }
.steps .n { font-weight: 600; color: var(--dim); }
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--sub); }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 44px 36px; }
.contact > div { flex: 1 1 320px; min-width: 0; }
.contact > div.formcol { flex: 1 1 420px; }
.contact .k { font-size: 14px; color: var(--dim); }
.contact .v { font-weight: 600; font-size: 18px; margin-bottom: 16px; }
.cform { display: flex; flex-direction: column; gap: 14px; }
.cform .row { display: flex; gap: 14px; flex-wrap: wrap; }
.cform .row label { flex: 1 1 200px; }
.datefield { position: relative; display: flex; }
.datefield input { flex: 1; min-width: 0; padding-right: 48px; color-scheme: dark; cursor: pointer; }
.datefield input::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 0; top: 0; width: 48px; height: 100%; cursor: pointer; }
.calbtn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--money); cursor: pointer; }
.calbtn:hover, .calbtn:focus-visible { background: rgba(76, 195, 138, 0.12); outline: none; }
.cform label { min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 500; color: var(--sub); }
.cform input, .cform select, .cform textarea { border: 1px solid var(--line2); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 12px; font-size: 16px; min-height: 44px; }
.cform textarea { resize: vertical; }
.cform .submit { align-self: flex-start; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; cursor: pointer; min-height: 44px; border: 1px solid var(--line2); background: transparent; color: var(--ink); }
.pill[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
a.pill { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; border-style: dashed; }
a.pill:hover { border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cerr { margin: 0; color: #ff8a80; font-size: 15px; }
.sent { background: #13342a; color: #9be6bf; border-radius: 12px; padding: 24px; font-size: 18px; }
.sent button { margin-top: 14px; background: transparent; border: 1px solid #9be6bf; color: #9be6bf; border-radius: 10px; padding: 10px 16px; font-weight: 600; cursor: pointer; min-height: 44px; }

/* footer */
.foot { background: var(--deep); color: var(--dim); font-size: 15px; border-top: 1px solid #222428; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.foot .grow { flex: 1 1 auto; }

/* ---- home ---- */
.home-hero .wrap { padding-top: 112px; padding-bottom: 64px; }
.home-hero h1 { font-size: 92px; line-height: 0.98; letter-spacing: -0.045em; max-width: 11.5em; margin: 22px 0 28px; }
.home-hero h1 span { color: #7c7f85; }
/* home hero: the last phrase rolls through the four origin stories (markup and keyframes shared with the blog hero) */
.home-hero .cycle { color: var(--money); vertical-align: top; }
.home-hero .cycle > span { color: var(--money); }
.home-hero .big { max-width: 36em; margin: 0 0 36px; }
.mission { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.mission-text { padding-top: 8px; }
.mission blockquote { margin: 0; font-size: 40px; line-height: 1.15; text-wrap: balance; letter-spacing: -0.02em; font-weight: 500; }
.mission blockquote span { color: #7c7f85; }
.mission p { margin: 0 0 16px; color: var(--sub); }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.products.four { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.products.four .product { min-height: 320px; padding: 26px 22px; }
.products.four .product h3 { font-size: 23px; }
.products.four .product.open:nth-child(5) { grid-column: 1 / -1; min-height: 0; }
.product { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; text-decoration: none; color: var(--ink); min-height: 300px; }
a.product:hover { border-color: #4a4d53; }
.product .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); min-height: 24px; }
.product .meta > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; white-space: nowrap; flex: none; line-height: 18px; letter-spacing: 0.01em; }
.status.live { background: #13342a; color: #9be6bf; }
.status.dev { background: #222428; color: var(--sub); }
.product h3 { font-size: 26px; letter-spacing: -0.02em; }
.product p { margin: 0; color: var(--sub); flex: 1 1 auto; }
.product .go { font-weight: 600; font-size: 15px; }
.product.open { background: transparent; border-style: dashed; border-color: #4a4d53; }

/* ---- pricing product page ---- */
.p-hero .wrap { padding-top: 96px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.p-hero .copy { flex: 1 1 480px; min-width: 0; }
.p-hero h1 { margin: 18px 0 22px; }
.p-hero .big { margin: 0 0 34px; max-width: 34em; }
.deal { flex: 1 1 380px; min-width: 0; max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.deal .head { background: var(--bg); padding: 18px 22px; border-bottom: 1px solid var(--line); }
.deal .lbl { font-size: 13px; color: var(--dim); }
.deal .pay { font-weight: 700; font-size: 42px; line-height: 1.1; letter-spacing: -0.03em; font-stretch: 88%; }
.deal .pay small { font-size: 16px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.deal dl { margin: 0; padding: 6px 22px 14px; font-size: 15px; }
.deal dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.deal dl div:last-child { border-bottom: 0; }
.deal dt { color: var(--sub); }
.deal dd { margin: 0; font-weight: 600; }
.deal .money dt { color: var(--ink); font-weight: 600; }
.deal .money dd { color: var(--money); }
.crumb { font-size: 14px; color: var(--dim); text-decoration: none; }
.crumb:hover { color: var(--ink); }

@media (max-width: 760px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .home-hero h1 { font-size: 52px; }
  .home-hero .wrap { padding-top: 64px; padding-bottom: 40px; }
  .p-hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .section { padding-top: 72px; }
  .mission { grid-template-columns: 1fr; gap: 24px; }
  .mission blockquote { font-size: 28px; }
  .home-hero h1 { font-size: 48px; }
  .contact { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.deal .ex-note { margin: 0; padding: 0 22px 16px; font-size: 12px; color: var(--dim); }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 40px 28px; }
.shots img { box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.shots figcaption { margin-top: 10px; font-size: 14px; color: var(--sub); }
.shots figcaption b { color: var(--ink); font-weight: 600; }

/* ---- crisp + tech polish ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -260px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(76,195,138,.16), transparent 65%); }
.home-hero h1 { letter-spacing: -0.05em; }
.btn, .pill, .cform input, .cform select, .cform textarea { border-radius: 8px; }
.btn.solid { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 24px rgba(76,195,138,.12); }
.btn:not(.solid):hover { border-color: #6a6d73; }
.grid, .product, .contact, .deal { border-radius: 12px; }
.product { transition: border-color .15s, transform .15s; }
a.product:hover { transform: translateY(-2px); border-color: var(--money); }
.steps li { border-top-color: var(--line2); position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 36px; height: 2px; background: var(--money); }
.status.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--money); margin-right: 6px; vertical-align: 1px; }
.grid svg { stroke: var(--money); }
.deal { border-color: #34373d; }
@media (prefers-reduced-motion: reduce) { .product { transition: none; } a.product:hover { transform: none; } }

/* stats strip */
.stats { border-bottom: 1px solid #222428; background: var(--deep); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 0; padding-bottom: 0; }
.stats .wrap > div { padding: 32px 28px 34px 0; border-right: 1px solid #222428; margin-right: 28px; }
.stats .wrap > div:last-child { border-right: 0; margin-right: 0; }
.stats b { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); }
.stats span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--sub); max-width: 22em; }
@media (max-width: 900px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stats .wrap > div { padding: 24px 16px 24px 0; margin-right: 16px; border-bottom: 1px solid #222428; } .stats .wrap > div:nth-child(2n) { border-right: 0; margin-right: 0; } .stats .wrap > div:nth-last-child(-n+2) { border-bottom: 0; } .stats b { font-size: 26px; } }

/* Services dropdown in the top nav */
.navdrop { position: relative; }
.navdrop > button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--sub); font-weight: 500; font-size: 15px; }
.navdrop > button:hover, .navdrop > button[aria-expanded="true"], .navdrop.on > button { color: var(--ink); }
.navdrop > button svg { transition: transform .15s; }
.navdrop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.navdrop .menu { position: absolute; top: calc(100% + 14px); left: -14px; z-index: 20; min-width: 220px; padding: 6px; background: var(--card); border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.navdrop .menu[hidden] { display: none; }
.top nav .navdrop .menu a { display: block; padding: 10px 12px; border-radius: 7px; color: var(--ink); }
.top nav .navdrop .menu a:hover, .top nav .navdrop .menu a[aria-current="page"] { background: #24262b; }
/* Sable Law row inside the menu: an arrow opens a second list (to the right on wide screens, inline on phones) */
.navsub { position: relative; }
.top nav .navsub > button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 0; border-radius: 7px; background: none; cursor: pointer; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; text-align: left; }
.top nav .navsub > button:hover, .top nav .navsub > button[aria-expanded="true"], .top nav .navsub.on > button { background: #24262b; }
.navsub > button svg { flex: none; transition: transform .15s; }
.navsub .menu.sub { top: -6px; left: calc(100% + 4px); min-width: 240px; }
@media (max-width: 900px) { .navsub .menu.sub { position: static; min-width: 0; margin: 2px 0 4px 12px; padding: 0 0 0 8px; border: 0; border-left: 1px solid var(--line2); border-radius: 0; box-shadow: none; } .navsub > button[aria-expanded="true"] svg { transform: rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .navdrop > button svg, .navsub > button svg { transition: none; } }

/* ---- GOV RFQ SERVICE page ---- */
.shots.one { grid-template-columns: minmax(0, 860px); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.rtable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.rtable th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); padding: 14px 18px; border-bottom: 1px solid var(--line2); }
.rtable td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--sub); }
.rtable tr:last-child td { border-bottom: 0; }
.rtable td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.tier { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px; }
.tier.best { border-color: var(--money); box-shadow: 0 0 0 1px var(--money) inset; }
.tier .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); }
.tier .price { font-weight: 700; font-size: 42px; line-height: 1.1; letter-spacing: -0.03em; }
.tier .price small { font-size: 16px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.tier p { margin: 0; color: var(--sub); }
.tier ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--sub); font-size: 15px; }
.tier a.more { margin-top: auto; padding-top: 4px; color: var(--money); font-weight: 600; font-size: 15px; text-decoration: none; }
.tier a.more:hover { text-decoration: underline; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 1.2em; color: var(--money); font-weight: 700; }
.faq details[open] summary::before { content: "\2013"; }
.faq p { margin: 10px 0 0; color: var(--sub); }
.deal dl div dt { max-width: 70%; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.four h3 { font-size: 34px; letter-spacing: -0.03em; }
@media (max-width: 1000px) { .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid.four { grid-template-columns: 1fr; } }
.section.center .wrap { text-align: center; }
.section.center .shots.one { justify-content: center; }
.section.center .shots img { margin: 0 auto; }

/* ---- GOV RFQ SERVICE page: sections ported from the RFQ artifact ---- */
.rtable td:first-child { white-space: normal; min-width: 11em; }
.rtable tr.us td { background: rgba(76, 195, 138, 0.06); }
.usname { display: block; margin-top: 6px; color: var(--ink); font-weight: 600; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.tag.ok { background: #13342a; color: #9be6bf; }
.tag.warn { background: #3a2e12; color: #f2c66d; }
.guarantee { margin-top: 24px; background: #13342a; color: #c9f0dc; border: 1px solid #1f5a43; border-radius: 12px; padding: 18px 22px; }
.guarantee b { color: #9be6bf; }
.fit { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 900px; }
.fit li { background: var(--card); padding: 16px 20px; color: var(--sub); }
.fit li b { color: var(--money); margin-right: 4px; }
.fit li.maybe b { color: #f2c66d; }
.fit li.no b { color: #ff8a80; }
.who { display: grid; gap: 14px; max-width: 820px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; }
.who p { margin: 0; color: var(--sub); }
.who b { color: var(--ink); }
.who a { color: var(--ink); }
.intake { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .intake { grid-template-columns: minmax(0, 1fr); } }
.formside { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; min-width: 0; }
.rfq-form { gap: 22px; }
.rfq-form .progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.rfq-form .progress span { display: block; height: 100%; width: 0; background: var(--money); transition: width .25s; }
.rfq-form .fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rfq-form legend { padding: 0; margin-bottom: 14px; font-weight: 600; font-size: 18px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.rfq-form .sn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line2); font-size: 14px; color: var(--dim); }
.rfq-form .fs.done .sn { background: var(--money); border-color: var(--money); color: var(--bg); }
.rfq-form small { font-size: 13px; font-weight: 400; color: var(--dim); min-height: 1em; }
.rfq-form .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.rfq-form .readiness { font-size: 14px; color: var(--dim); }
.preview { position: sticky; top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; min-width: 0; }
@media (max-width: 960px) { .preview { position: static; } }
.pv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pv-status { font-size: 13px; color: var(--dim); display: inline-flex; align-items: center; gap: 7px; }
.pv-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); }
.pv-status.ready { color: var(--money); }
.pv-status.ready .dot { background: var(--money); }
.pv-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pv-meta div { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); min-width: 0; }
.pv-meta span { font-size: 12px; color: var(--dim); }
.pv-meta b { font-size: 15px; overflow-wrap: anywhere; }
.pv-body { margin: 0; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--sub); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 260px; }
.pv-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-row .btn[disabled], .pv-row .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.pv-note { margin: 0; font-size: 14px; color: var(--sub); }
.pv-note a { color: var(--ink); }

/* ---- phones ---- */
@media (max-width: 760px) {
  /* header: logo and primary button on one row, nav on its own row (no 3-line wrap) */
  .top .wrap { gap: 10px 16px; padding-top: 14px; padding-bottom: 12px; }
  /* nav collapses behind a menu button (added by site.js); open state lists the links in a column */
  .top nav { display: none; order: 3; flex: 1 1 100%; flex-direction: column; gap: 2px; padding: 6px 0 2px; border-top: 1px solid #222428; margin-top: 4px; }
  .top.nav-open nav { display: flex; }
  .top nav a, .navdrop > button { padding: 11px 0; margin: 0; font-size: 16px; }
  .top nav .navdrop .menu { position: static; min-width: 0; margin: 0 0 6px 10px; padding: 0 0 0 12px; border: 0; border-left: 1px solid var(--line2); border-radius: 0; box-shadow: none; }
  .top .actions { margin-left: auto; align-items: center; }
  .navtoggle { display: inline-flex; }
  .top .actions .btn:not(.solid) { display: none; }
  .top .actions .btn { min-height: 40px; padding: 8px 12px; font-size: 14px; }
  .top .home svg { height: 20px; }
  .top .actions { gap: 8px; }
  .navdrop .menu { left: 0; }
  /* hero */
  .p-hero .wrap { gap: 36px; }
  .p-hero .actions { flex-direction: column; align-items: stretch; }
  .p-hero .actions .btn { justify-content: center; }
  .deal .pay { font-size: 36px; }
  .deal .pay small { display: block; margin-top: 4px; font-size: 15px; }
  .deal dl div { gap: 16px; }
  .deal dl div dt { max-width: none; }
  .deal dd { text-align: right; flex: 0 0 auto; }
  .big { font-size: 18px; }
  .section { padding-top: 64px; }
  .section.last { padding-bottom: 72px; }
  /* cards and panels */
  .tier { padding: 24px 20px; }
  .tier .price { font-size: 36px; }
  .who, .formside, .preview { padding: 20px 18px; }
  .guarantee { padding: 16px 18px; }
  .fit li { padding: 14px 16px; }
  .grid > * { padding: 24px 20px; }
  .grid.four h3 { font-size: 30px; }
  .faq details { padding: 14px 16px; }
  .pv-body { min-height: 0; font-size: 12px; }
  .pv-row .btn { flex: 1 1 auto; justify-content: center; }
  .rfq-form .cta .btn { width: 100%; justify-content: center; }
  /* tables stack into labelled cards instead of scrolling sideways */
  .tablewrap { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .rtable { display: block; min-width: 0; font-size: 15px; }
  .rtable thead { display: none; }
  .rtable tbody, .rtable tr { display: block; }
  .rtable tr { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 18px 8px; margin-bottom: 10px; }
  .rtable tr.us { border-color: #1f5a43; background: rgba(76, 195, 138, 0.06); }
  .rtable tr.us td { background: transparent; }
  .rtable td { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
  .rtable tr td:last-child { border-bottom: 0; }
  .rtable td::before { content: attr(data-l); display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
  .rtable td:first-child { font-size: 17px; }
  .rtable td:first-child::before { display: none; }
  .rtable td .tag { margin-top: 2px; }
  .usname { margin-top: 8px; }
  /* two short numeric columns sit side by side instead of stacking */
  .rtable.rtable-pair tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .rtable.rtable-pair td:nth-child(-n+2) { grid-column: 1 / -1; }
  .rtable.rtable-pair td:nth-child(n+3) { border-bottom: 0; }
  /* comfortable tap targets for inline links */
  .tier a.more { display: inline-block; padding: 12px 0; margin-top: 4px; }
  .crumb { display: inline-block; padding: 10px 0; }
  a.v { padding: 8px 0; }
}
@media (max-width: 400px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .wrap { padding: 0 18px; }
}

/* Charter page: one screenshot at a time, chosen by tab */
.viewer { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 18px; }
.vtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.vtabs button { font: inherit; font-weight: 600; font-size: 14px; color: var(--sub); background: transparent; border: 1px solid var(--line2); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.vtabs button:hover { color: var(--ink); border-color: #4a4d53; }
.vtabs button[aria-selected="true"] { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.vpanels figure { margin: 0; }
.vpanels img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.vpanels figcaption { margin-top: 12px; font-size: 15px; color: var(--sub); }
.vpanels figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .vtabs button { padding: 8px 12px; font-size: 13px; } .viewer { padding: 10px 10px 14px; } }

/* Charter page: the live pricer in the hero */
.pq-hero .wrap { align-items: flex-start; }
.pq-hero .copy { flex: 1 1 400px; }
.pq { flex: 1 1 520px; min-width: 0; max-width: 620px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.pq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px 0; }
.pq-title { font-weight: 700; font-size: 17px; }
.pq-sub { font-size: 13px; color: var(--dim); }
.pq-map { position: relative; margin: 14px 0 0; aspect-ratio: 16 / 7; background: radial-gradient(ellipse at 50% 40%, #16181c, #0f1012 70%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.pq-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pq-land { fill: #23262b; stroke: #30343a; stroke-width: .6; vector-effect: non-scaling-stroke; }
.pq-route { fill: none; stroke: var(--money); stroke-linecap: round; }
.pq-route-glow { fill: none; stroke: var(--money); stroke-linecap: round; opacity: .18; filter: blur(2px); }
.pq-dot { fill: var(--ink); stroke: var(--money); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pq-plane { fill: var(--ink); }
.pq-dist { position: absolute; left: 14px; bottom: 10px; font-size: 12px; font-weight: 600; color: var(--ink); background: rgba(17, 18, 20, .75); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line2); }
.pq-form { padding: 16px 20px 0; display: grid; gap: 12px; }
.pq-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.pq-row.three { grid-template-columns: 1.5fr .7fr 1.2fr; }
.pq-row label { display: grid; gap: 5px; font-size: 12px; color: var(--dim); min-width: 0; }
.pq-row select, .pq-row input { width: 100%; min-width: 0; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line2); border-radius: 9px; padding: 9px 10px; }
.pq-row select:focus, .pq-row input:focus, .pq-swap:focus, .pq-flip:focus { outline: 2px solid var(--money); outline-offset: 1px; }
.pq-swap { font: inherit; font-size: 18px; line-height: 1; color: var(--sub); background: var(--bg); border: 1px solid var(--line2); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; }
.pq-swap:hover { color: var(--ink); }
.pq-out { padding: 14px 20px 18px; }
.pq-total { display: flex; align-items: baseline; gap: 10px; }
.pq-price { font-weight: 700; font-size: 44px; line-height: 1.05; letter-spacing: -0.03em; font-stretch: 88%; font-variant-numeric: tabular-nums; color: var(--money); }
.pq-for { font-size: 15px; color: var(--dim); }
.pq-lines { margin: 8px 0 0; font-size: 14px; }
.pq-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pq-lines div:last-child { border-bottom: 0; }
.pq-lines dt { color: var(--sub); }
.pq-lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pq-lines .money dt { color: var(--ink); font-weight: 600; }
.pq-lines .money dd { color: var(--money); }
.pq-lines .neg dd { color: #ff8a80; }
.pq-lines.small { font-size: 13px; }
.pq-flip { margin: 10px 0 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid var(--line2); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.pq-flip:hover { border-color: #4a4d53; }
.pq-flip::before { content: "+"; display: inline-block; width: 1.1em; color: var(--money); }
.pq-flip[aria-expanded="true"]::before { content: "\2013"; }
.pq-behind { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line2); }
.pq-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--bg); margin-bottom: 6px; }
.pq-seg { display: block; height: 100%; transition: width .5s ease; }
.pq-seg.cost { background: #4a4d53; }
.pq-seg.owner { background: var(--money); }
.pq-seg.mgmt { background: var(--ink); }
.pq-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--dim); margin: 0 0 6px; }
.pq-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.pq-legend i.cost { background: #4a4d53; } .pq-legend i.owner { background: var(--money); } .pq-legend i.mgmt { background: var(--ink); }
.pq-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--dim); }
@media (max-width: 640px) { .pq-row, .pq-row.three { grid-template-columns: 1fr; } .pq-swap { width: 100%; height: 36px; } .pq-price { font-size: 38px; } .pq-head { flex-direction: column; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .pq-seg { transition: none; } }

/* Phone pass, Oct 17 */
.stats b span { display: inline; margin: 0; font-size: inherit; color: inherit; max-width: none; }
@media (max-width: 640px) {
  .products .product, .products.four .product { min-height: 0; }
  /* Screens are 1600px wide; on a phone show them larger and let people pan. */
  .vpanels figure { position: relative; }
  .vpanels figure > img { min-width: 760px; }
  .vpanels figure { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .vpanels figcaption { position: sticky; left: 0; max-width: calc(100vw - 52px); }
  .vpanels figure::after { content: "Swipe to see the rest"; position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600; color: var(--ink); background: rgba(17, 18, 20, .8); border: 1px solid var(--line2); border-radius: 999px; padding: 4px 9px; pointer-events: none; }
  .vtabs { gap: 6px; }
  .vtabs button { white-space: nowrap; }
  .top .wrap { gap: 10px 14px; }
  .p-hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(36px, 10vw, 44px); }
}

/* a single collapsible panel reusing the FAQ look (gap-list archive) */
details.faq { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "+"; display: inline-block; width: 1.2em; color: var(--money); font-weight: 700; }
details.faq[open] summary::before { content: "\2013"; }
details.faq .tablewrap { margin-top: 16px; }

/* email gate for the sample gap list */
.gate { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; max-width: 640px; }
.gate > label { display: block; font-weight: 600; margin-bottom: 10px; }
.gate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gate-row input { flex: 1 1 240px; min-height: 48px; border: 1px solid var(--line2); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 12px 14px; font-size: 16px; }
.gate-row .btn { min-height: 48px; }
.gate-note { margin: 10px 0 0; font-size: 13px; color: var(--dim); }
.gate.ready { border-color: #1f5a43; background: #13342a; color: #c9f0dc; line-height: 1.5; }
.gate.ready a { color: #c9f0dc; }
.gate.ready b { color: #9be6bf; }

/* ---- audit: accessibility and touch targets ---- */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--money); color: var(--bg); font-weight: 600; border-radius: 8px; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }
.top nav a, .navdrop > button { padding: 8px 0; margin: -8px 0; }
.foot a { padding: 8px 0; margin: -8px 0; }
.stat { display: block; font-size: 34px; letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; }
@media (max-width: 760px) { .stat { font-size: 30px; } }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--money); outline-offset: 2px; }

/* blog */
.article { padding: 72px 0 96px; }
.article .narrow { max-width: 720px; }
.article h1 { font-size: 48px; }
.byline { color: var(--dim); font-size: 15px; margin: 0 0 40px; }
.article h2 { font-size: 28px; margin: 44px 0 12px; }
.article p { color: var(--sub); font-size: 18px; line-height: 1.7; margin: 0 0 18px; }
.cta-box { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.cta-box p { margin: 0 0 18px; color: var(--ink); }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.post-list a { display: block; background: var(--bg); padding: 28px; text-decoration: none; }
.post-list a:hover { background: var(--card); }
.post-list h3 { margin: 0 0 8px; }
.post-list p { margin: 0; color: var(--sub); }

/* blog hero: cycling industries */
.blog-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); border-bottom: 1px solid #222428; padding: 88px 0 64px; }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#1b1d21 1px, transparent 1px), linear-gradient(90deg, #1b1d21 1px, transparent 1px); background-size: 60px 60px; opacity: .5; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 900px; left: -250px; top: -350px; background: radial-gradient(circle, rgba(76, 195, 138, .18), transparent 60%); }
.blog-hero .hero-line { font-size: 44px; line-height: 1.12; letter-spacing: -0.03em; max-width: 22em; margin: 14px 0 28px; }
.cycle { display: inline-grid; color: var(--money); }
.cycle > span { grid-area: 1 / 1; opacity: 0; white-space: nowrap; animation: cycle 9s infinite; }
.cycle > span:nth-child(2) { animation-delay: 3s; }
.cycle > span:nth-child(3) { animation-delay: 6s; }
@keyframes cycle { 0% { opacity: 0; transform: translateY(12px); } 4% { opacity: 1; transform: none; } 29% { opacity: 1; transform: none; } 33% { opacity: 0; transform: translateY(-12px); } 100% { opacity: 0; } }
.hero-products { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.hero-products a { display: inline-flex; padding: 10px 16px; border: 1px solid var(--line2); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.hero-products a:hover { border-color: var(--ink); }
@media (max-width: 760px) { .blog-hero { padding: 48px 0 36px; } .blog-hero .hero-line { font-size: 30px; line-height: 1.15; margin: 10px 0 20px; } .cycle { display: grid; } .cycle > span { white-space: normal; } .hero-products a { padding: 8px 13px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .cycle > span { animation: none; } .cycle > span:first-child { opacity: 1; } }

/* blog feed (index) */
.feed-wrap { padding: 56px 0 96px; }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feed { grid-template-columns: 1fr; } }
.feed-card { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .2s, border-color .2s; }
.feed-card:hover { transform: translateY(-3px); border-color: var(--line2); }
.feed-card:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.feed-card .feed-link { display: flex; flex-direction: column; flex: 1; color: var(--ink); text-decoration: none; }
.feed-link:focus-visible { outline: none; }
.feed-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); border-bottom: 1px solid var(--line); }
.feed-kicker { padding: 18px 20px 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--money); }
.feed-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .4s; }
.feed-card:hover .feed-cover img { transform: scale(1.04); }
.feed-title { margin: 0; padding: 6px 20px 8px; font-size: 20px; letter-spacing: -0.015em; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.feed-text { flex: 1; margin: 0; padding: 0 20px 16px; color: var(--sub); font-size: 15px; line-height: 1.55; }
.feed-head { display: flex; flex-wrap: nowrap; gap: 12px; align-items: center; padding: 16px 20px 0; order: -1; }
.feed-head > div { min-width: 0; flex: 1 1 auto; }
.avatar { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--deep); border: 1px solid var(--line2); display: grid; place-items: center; overflow: hidden; }
.avatar svg { width: 16px; height: 16px; }
.feed-name { font-weight: 600; color: var(--ink); font-size: 15px; white-space: nowrap; }
.feed-meta { font-size: 13px; color: var(--dim); white-space: nowrap; }
.feed-tag { flex: 0 0 auto; margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--money); border: 1px solid rgba(76, 195, 138, .35); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.feed-go { display: block; padding: 0 20px 16px; color: var(--money); font-size: 15px; font-weight: 600; }
.feed-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.feed-cites { display: flex; align-items: center; gap: 6px 8px; min-width: 0; flex-wrap: wrap; line-height: 1.5; }
.feed-cites svg { flex: 0 0 auto; color: var(--money); }
.feed-cites a { color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.feed-cites a:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .feed-card, .feed-cover img { transition: none; } .feed-card:hover { transform: none; } .feed-card:hover .feed-cover img { transform: none; } }

/* blog post extras */
.readbar { position: sticky; top: 0; z-index: 30; height: 3px; background: transparent; }
.readbar span { display: block; height: 100%; width: 0; background: var(--money); transition: width .1s linear; }
.article .post { max-width: 960px; }
.post-head { max-width: 760px; padding: 8px 0 28px; }
.post-head .feed-tag { display: inline-block; margin: 0 0 18px; }
.post-head h1 { font-size: 48px; margin: 0 0 14px; }
.post-dek { color: var(--sub); font-size: 19px; margin: 0; max-width: 32em; }
.post-hero { margin: 0 0 32px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--deep); }
.post-hero img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: top; }
.post-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 40px; }
.post-meta .avatar { flex-basis: 44px; width: 44px; height: 44px; }
.post-meta .avatar svg { width: 20px; height: 20px; }
.post-meta, .article .lead, .article h2, .article p, .pull, .checklist, .cta-box, .post-back { max-width: 720px; }
.article .lead { color: var(--ink); font-size: 21px; }
.pull { margin: 40px 0; padding: 0 0 0 22px; border-left: 3px solid var(--money); font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 14px 16px 14px 46px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 17px; }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--money); }
.checklist li::after { content: ""; position: absolute; left: 21px; top: 20px; width: 5px; height: 9px; border: solid var(--money); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cta-box h2 { font-size: 30px; margin: 10px 0 12px; }
.cta-box .eyebrow { color: var(--money); }
.post-back { margin: 32px 0 0; font-size: 15px; }
.post-back a { color: var(--dim); text-decoration: none; } .post-back a:hover { color: var(--ink); }
@media (max-width: 760px) { .post-head h1 { font-size: 32px; } .pull { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .readbar span { transition: none; } }

/* citations */
.cite { margin: 28px 0; padding: 18px 22px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--money); border-radius: 0 12px 12px 0; max-width: 720px; }
.cite p { margin: 0 0 10px; color: var(--ink); font-size: 18px; line-height: 1.5; }
.cite cite { font-style: normal; font-size: 14px; color: var(--dim); }
.cite cite a { color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.cite cite a:hover { color: var(--ink); }
.article p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--money); text-underline-offset: 3px; }
.article p a:hover { color: #fff; }
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 720px; }
.sources h2 { font-size: 18px; margin: 0 0 10px; }
.sources ol { margin: 0; padding-left: 20px; color: var(--sub); font-size: 15px; display: grid; gap: 8px; }
.sources a { color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.sources a:hover { color: var(--ink); }

/* related posts */
.related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); max-width: 960px; }
.related h2 { font-size: 22px; margin: 0 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }
.rel { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.rel:hover { border-color: var(--line2); }
.rel img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.rel .feed-kicker { padding: 12px 16px 0; }
.rel-title { padding: 0 16px 16px; font-weight: 600; font-size: 16px; line-height: 1.25; }
/* mobile polish */
@media (max-width: 640px) { .feed-wrap { padding: 36px 0 64px; } .article { padding: 44px 0 72px; } .post-hero img { max-height: 260px; } .cta-box { padding: 22px; } .cta-box h2 { font-size: 26px; } .checklist li { font-size: 16px; } .cite { padding: 16px 18px; } .cite p { font-size: 17px; } }

/* from the blog (product pages) */
.from-blog { padding-top: 96px; }
.from-blog .related-grid { max-width: 1180px; }

/* Live review section (lock and dam) */
.review-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--sub); margin: 0 0 16px; }
.review-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; margin-top: 28px; }
.review-copy { flex: 1 1 420px; min-width: 0; max-width: 44em; }
.review-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 24px; }
.review-facts div { padding: 14px 16px; border-left: 1px solid var(--line); }
.review-facts div:first-child { border-left: 0; }
.review-facts b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.review-facts span { font-size: 14px; color: var(--sub); }
.review-lesson { font-size: 19px; color: var(--ink); border-left: 2px solid var(--money); padding-left: 16px; margin: 0 0 28px; }
.review .deal { max-width: 440px; }
.review .deal .pay small { display: block; margin-top: 4px; }

/* post figures: stat images with a caption */
.post-fig { margin: 32px 0; max-width: 720px; }
.post-fig img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--deep); }
.post-fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--dim); }

/* blog hero: four industries, and a static line on post pages */
.cycle > span { animation-duration: 12s; animation-name: cycle4; }
.cycle > span:nth-child(2) { animation-delay: 3s; }
.cycle > span:nth-child(3) { animation-delay: 6s; }
.cycle > span:nth-child(4) { animation-delay: 9s; }
@keyframes cycle4 { 0% { opacity: 0; transform: translateY(12px); } 3% { opacity: 1; transform: none; } 22% { opacity: 1; transform: none; } 25% { opacity: 0; transform: translateY(-12px); } 100% { opacity: 0; } }
.blog-hero .hl { color: var(--money); }
.blog-hero.is-post { padding: 56px 0 40px; }
.blog-hero.is-post .hero-line { font-size: 34px; margin: 10px 0 22px; }
.hero-products a.on { border-color: var(--money); color: var(--money); }
@media (max-width: 760px) { .blog-hero.is-post { padding: 36px 0 28px; } .blog-hero.is-post .hero-line { font-size: 24px; } }

/* in-post data figures: live HTML, not images */
.viz { position: relative; margin: 36px 0; max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px 0; overflow: hidden; isolation: isolate; }
.viz::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--money), rgba(76, 195, 138, 0)); }
.viz::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -240px; top: -300px; background: radial-gradient(circle, rgba(76, 195, 138, .10), transparent 65%); }
.viz-k { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--money); }
.viz-t { margin: 8px 0 22px; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); max-width: 30em; text-wrap: balance; }
.viz-src { margin: 22px -28px 0; padding: 14px 28px 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--dim); background: rgba(0, 0, 0, .18); }
.viz-src a { color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.viz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.viz-stats > div { background: var(--bg); padding: 18px 18px 20px; min-width: 0; }
.viz-stats b { display: block; font-size: 38px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; color: var(--money); white-space: nowrap; }
.viz-stats span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--ink); }
.viz-stats small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--dim); }
.viz-stats.big b { font-size: 48px; }
.viz-bars { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.viz-bars li { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.viz-bars .nm { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.viz-bars .nm small { display: block; font-size: 13px; font-weight: 400; color: var(--dim); margin-top: 2px; }
.viz-bars .trk { height: 34px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.viz-bars .fill { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, rgba(76, 195, 138, .55), var(--money)); border-radius: 0 6px 6px 0; transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.viz-bars li.dim .fill { background: linear-gradient(90deg, rgba(143, 146, 151, .35), rgba(143, 146, 151, .6)); }
.viz-bars .val { font-size: 18px; font-weight: 600; color: var(--ink); min-width: 4.5em; text-align: right; }
.viz-bars + .viz-stats, .viz-stats + .viz-bars, .viz-meter + .viz-stats { margin-top: 20px; }
.viz-meter .t { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--sub); margin-bottom: 10px; }
.viz-meter .t b { color: var(--ink); }
.viz-meter .trk { position: relative; height: 40px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.viz-meter .fill { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, rgba(76, 195, 138, .5), var(--money)); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.viz-meter .mk { position: absolute; top: -1px; bottom: -1px; left: var(--m); width: 2px; background: var(--ink); opacity: .85; }
.viz-meter .ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); margin-top: 6px; }
.viz-eq { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr); gap: 10px; align-items: stretch; }
.viz-eq .op { align-self: center; font-size: 34px; color: var(--dim); font-weight: 300; }
.viz-eq > div:not(.op) { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.viz-eq > div.hl { border-color: var(--money); box-shadow: 0 0 0 4px rgba(76, 195, 138, .08); }
.viz-eq b { display: block; font-size: 46px; line-height: 1; letter-spacing: -0.035em; font-weight: 600; color: var(--money); }
.viz-eq span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--ink); }
.viz-eq small { display: block; margin-top: 6px; font-size: 13px; color: var(--dim); }
.viz-shot { margin: 36px 0; max-width: 960px; }
.viz-shot .frame { border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--deep); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.viz-shot .bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--card); font-size: 12px; color: var(--dim); }
.viz-shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.viz-shot .bar span { margin-left: 8px; }
.viz-shot img { display: block; width: 100%; height: auto; }
.viz-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--dim); max-width: 720px; }
.viz.pending .fill { transform: scaleX(0); }
@media (max-width: 640px) {
  .viz { padding: 20px 18px 0; border-radius: 14px; }
  .viz-src { margin: 18px -18px 0; padding: 12px 18px 14px; }
  .viz-t { font-size: 19px; }
  .viz-stats b, .viz-stats.big b { font-size: 32px; }
  .viz-bars li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .viz-bars .nm { grid-column: 1 / -1; }
  .viz-bars .trk { height: 26px; }
  .viz-eq { grid-template-columns: minmax(0, 1fr); }
  .viz-eq .op { justify-self: center; font-size: 26px; line-height: 1; }
  .viz-eq b { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .viz-bars .fill, .viz-meter .fill { transition: none; } }
.viz-waffle { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 6px; }
.viz-waffle i { aspect-ratio: 1; border-radius: 4px; background: var(--line); transition: background .4s, transform .4s; }
.viz-waffle i.g { background: var(--money); }
.viz-waffle i.n { background: transparent; box-shadow: inset 0 0 0 1.5px #5d6066; }
.viz.pending .viz-waffle i.g { background: var(--line); transform: scale(.6); }
.viz-key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--sub); }
.viz-key li { display: flex; align-items: center; gap: 8px; }
.viz-key i { width: 12px; height: 12px; border-radius: 3px; background: var(--line); }
.viz-key i.g { background: var(--money); } .viz-key i.n { background: transparent; box-shadow: inset 0 0 0 1.5px #5d6066; }
.viz-time { position: relative; margin: 6px 0 4px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.viz-time::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: linear-gradient(90deg, var(--money), rgba(76, 195, 138, .25)); }
.viz-time li { position: relative; padding-top: 30px; min-width: 0; }
.viz-time li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--money); }
.viz-time li.hot::before { background: var(--money); box-shadow: 0 0 0 6px rgba(76, 195, 138, .15); }
.viz-time b { display: block; font-size: 30px; line-height: 1.05; letter-spacing: -0.03em; color: var(--money); font-weight: 600; }
.viz-time span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--ink); }
.viz-time small { display: block; margin-top: 6px; font-size: 13px; color: var(--dim); line-height: 1.35; }
@media (max-width: 640px) {
  .viz-waffle { gap: 4px; } .viz-waffle i { border-radius: 2px; }
  .viz-time { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .viz-time::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--money), rgba(76, 195, 138, .25)); }
  .viz-time li { padding: 0 0 0 30px; }
}
