/* Black Odix Technologies · Fairspire
   Layout: dark, quiet, editorial. Big type, hairlines instead of boxes, the product as the hero image.
   Tokens: near-black ground with a steel-blue glow; ice blue and silver for emphasis; status colours only for PASS / REVIEW / FAIL. */

@font-face { font-family: "Geist"; src: url("/fonts/Geist.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JB Mono"; src: url("/fonts/JetBrainsMono.woff") format("woff"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #07080c; --panel: #0c0f16;
  --line: rgba(160, 180, 215, .13); --line2: rgba(160, 180, 215, .24);
  --text: #eef1f7; --muted: #a6b0c3; --faint: #6f798d;
  --steel: #4a6a99; --ice: #a9c4ec;
  --green: #3ccf91; --amber: #f2bd4b; --red: #f2706b;
  --grad: linear-gradient(100deg, #e4ecf8 0%, #a9c4ec 45%, #5b82c0 100%);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JB Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: hidden; }
body { font-family: var(--sans); color: var(--text); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  background: radial-gradient(1100px 650px at 80% 0%, rgba(74, 106, 153, .30), transparent 60%), var(--bg); }
img { max-width: 100%; }
a { color: var(--ice); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 40px; }
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--ice); opacity: .7; }
.center { text-align: center; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--ice); opacity: .7; }
.center h2, .center .sub { margin-left: auto; margin-right: auto; }

/* Header: a floating pill */
.site-header { position: sticky; top: 16px; z-index: 50; padding-inline: 20px; }
.site-header > .wrap { max-width: 1180px; margin: 16px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 12px 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 12, 18, .78); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font-size: 15px; letter-spacing: .14em; font-weight: 700; white-space: nowrap; }
.brand-name span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .34em; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 32px; }
.nav a { color: #cdd3df; text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }
.menu { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font: 600 15px var(--sans); padding: 13px 24px;
  border: 1px solid var(--line2); color: var(--text); text-decoration: none; background: transparent; cursor: pointer; white-space: nowrap; }
.btn:hover { color: #fff; border-color: var(--ice); }
.btn-primary { background: linear-gradient(180deg, #f2f5fb, #c9d6ea); color: #0b0f17; border: 0; box-shadow: 0 10px 40px -10px rgba(169, 196, 236, .55); }
.btn-primary:hover { color: #0b0f17; background: #fff; }
.header-cta { padding: 11px 20px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; padding-block: 80px 90px; }
.pill { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 16px 6px 6px; font-size: 14.5px; color: #cdd3df; max-width: 100%; }
.pill img { height: 26px; width: auto; border-radius: 999px; background: rgba(169, 196, 236, .08); padding: 3px 10px; }
h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; margin: 28px 0 26px; text-wrap: balance; }
.lede { font-size: 18.5px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.trust span::before { content: "✓"; color: var(--ice); margin-right: 8px; }

.stage { position: relative; height: 560px; perspective: 1600px; }
.stage::before { content: ""; position: absolute; inset: 40px -60px 0 40px; background: radial-gradient(circle at 55% 45%, rgba(110, 150, 215, .35), transparent 62%); filter: blur(20px); }
.app { position: absolute; left: 20px; top: 50px; width: 620px; border-radius: 18px; border: 1px solid var(--line2); background: linear-gradient(180deg, #11151f, #0b0e15);
  transform: rotateY(-18deg) rotateX(7deg) rotateZ(1deg); transform-origin: left center; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .85);
  display: grid; grid-template-columns: 150px 1fr; overflow: hidden; }
.app .side { border-right: 1px solid var(--line); padding: 16px 12px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; align-content: start; }
.app .logo { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); font-size: 14px; margin: 2px 6px 16px; }
.app .logo img { width: 20px; }
.app .side span { padding: 8px 10px; border-radius: 8px; }
.app .side .on { background: rgba(169, 196, 236, .1); color: var(--text); }
.app .main { padding: 20px; }
.app h4 { font-size: 16px; font-weight: 600; }
.app .meta { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin: 6px 0 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { font-size: 11px; color: var(--muted); display: block; min-height: 28px; }
.kpi b { font-size: 24px; font-weight: 500; letter-spacing: -.03em; display: block; margin: 4px 0 8px; }
.tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; display: inline-block; }
.t-pass { color: var(--green); background: rgba(60, 207, 145, .12); }
.t-rev { color: var(--amber); background: rgba(242, 189, 75, .12); }
.t-fail { color: var(--red); background: rgba(242, 112, 107, .12); }
.t-ice { color: var(--ice); background: rgba(169, 196, 236, .1); }
.rows { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; }
.rows > div { display: grid; grid-template-columns: 1fr 84px 64px; gap: 10px; padding: 9px 12px; font-size: 12px; color: #c9d0dd; border-top: 1px solid var(--line); align-items: center; }
.rows > div:first-child { border-top: 0; color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line2);
  background: rgba(14, 18, 27, .9); backdrop-filter: blur(10px); font-size: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); white-space: nowrap; }
.chip::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--ice); border-radius: 2px; }
.c1 { left: -30px; top: 190px; } .c2 { right: -10px; top: -6px; } .c3 { left: 10px; bottom: 70px; } .c4 { right: 0; bottom: 20px; }
.stage-note { position: absolute; left: 30px; bottom: -14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--faint); }

/* Proof strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 34px; min-height: 76px; padding-block: 18px; font-size: 16px; color: #cdd3df; }
.strip .lab { font-family: var(--mono); font-size: 11.5px; letter-spacing: .3em; color: var(--faint); padding-right: 30px; border-right: 1px solid var(--line); }
.strip .d { width: 5px; height: 5px; border-radius: 50%; background: var(--steel); }

/* Sections */
main > section, .block { padding-top: 140px; }
h2 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.04em; font-weight: 600; margin: 24px 0 22px; max-width: 900px; text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -.02em; }
.sub { font-size: 18.5px; color: var(--muted); line-height: 1.6; max-width: 660px; }

.two { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-top: 1px solid var(--line); }
.two > div { padding: 44px 44px 10px 0; min-width: 0; }
.two > div + div { padding-left: 44px; border-left: 1px solid var(--line); }
.two h3 { font-size: 28px; margin: 18px 0 12px; }
.two p { color: var(--muted); font-size: 16.5px; }
.list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 13px; font-size: 15.5px; line-height: 1.5; color: #d2d8e3; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.list li::before { content: ""; width: 13px; height: 13px; margin-top: 5px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, var(--ice), var(--steel)); }

.flow { margin-top: 70px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: stretch; }
.flow > div { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: rgba(12, 15, 22, .6); }
.flow > div:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translate(50%, -50%); color: var(--ice); font-size: 14px; z-index: 1; }
.flow b { display: block; font-size: 15px; margin-bottom: 6px; }
.flow p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.flow .hl { border-color: var(--ice); box-shadow: 0 0 30px -8px rgba(169, 196, 236, .45); }
.flow .verdicts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.flow-note { margin-top: 18px; font-size: 14px; color: var(--faint); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; position: relative; text-align: left; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--ice), var(--steel), transparent); opacity: .6; }
.steps > div { padding: 0 26px; position: relative; }
.steps i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #0d1119; border: 1px solid var(--ice); font: 400 14px var(--mono); font-style: normal;
  color: var(--ice); margin-bottom: 26px; box-shadow: 0 0 24px rgba(169, 196, 236, .35); }
.steps h3 { font-size: 23px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; }
.stats > div { padding: 40px 30px 6px 0; border-top: 1px solid; border-image: linear-gradient(90deg, rgba(169, 196, 236, .6), rgba(74, 106, 153, .15)) 1; min-width: 0; }
.stats > div + div { padding-left: 30px; border-left: 1px solid var(--line); }
.stats b { display: flex; align-items: flex-start; font-size: clamp(44px, 4.6vw, 68px); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats b sup { font-size: .4em; color: var(--ice); margin: 8px 0 0 6px; font-weight: 500; }
.stats p { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 250px; }

.sec { position: relative; overflow: hidden; margin-top: 140px; padding-block: 120px 110px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 380px at 50% 100%, rgba(74, 106, 153, .28), transparent 70%); }
.sec .sky { position: absolute; left: 50%; bottom: -30px; width: 520px; transform: translateX(-50%); opacity: .12; pointer-events: none; }
.sec .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; text-align: left; position: relative; }
.sec .cols > div { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: rgba(12, 15, 22, .7); backdrop-filter: blur(6px); }
.sec h3 { font-size: 20px; margin-bottom: 4px; }
.sec .list { font-size: 14.5px; margin-top: 16px; }
.sec .fine { margin-top: 36px; color: var(--muted); font-size: 15px; position: relative; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 10px; font-size: 16px; }
.contact-list b { display: inline-block; width: 90px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-weight: 400; }
.form { border: 1px solid var(--line2); border-radius: 22px; padding: 30px; background: linear-gradient(180deg, rgba(17, 21, 31, .9), rgba(11, 14, 21, .9)); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea { font: 15px var(--sans); color: var(--text); background: #0a0d13; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(169, 196, 236, .15); }
.form textarea { min-height: 96px; resize: vertical; }
.form .btn { justify-self: start; }
.form-status { font-size: 14px; min-height: 1.2em; }
.form-note { font-size: 13px; color: var(--faint); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { margin: 90px auto 0; padding: 20px 24px; border: 1px solid rgba(242, 189, 75, .25); border-radius: 16px; background: rgba(242, 189, 75, .05); color: var(--muted); font-size: 14px; line-height: 1.6; }
.notice b { color: var(--amber); }

/* Footer */
.site-footer { margin-top: 100px; border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--faint); font-size: 13.5px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Legal pages */
.legal .wrap { max-width: 820px; padding-block: 90px 20px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); margin: 0 0 10px; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: #cdd3df; font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.legal .fine { color: var(--faint); font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #cdd3df; }
.legal th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* NYC Local Law 144 page */
.rows.ir > div { grid-template-columns: 1fr 56px 60px; }
.rows.ir > div > span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.law { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.law > div { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: rgba(12, 15, 22, .6); }
.law i { font: 400 13px var(--mono); font-style: normal; color: var(--ice); letter-spacing: .1em; }
.law h3 { font-size: 21px; margin: 14px 0 10px; }
.law p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.callout { margin-top: 40px; padding: 22px 26px; border-left: 2px solid var(--ice); background: rgba(169, 196, 236, .06); border-radius: 0 14px 14px 0; color: #d2d8e3; font-size: 16.5px; max-width: 900px; }
.callout b { color: var(--text); }
.list b { color: var(--text); font-weight: 600; }
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 60px; text-align: left; }
.roles > div { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: rgba(12, 15, 22, .6); min-width: 0; }
.roles h3 { font-size: 20px; margin: 16px 0 10px; }
.roles p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.faq { margin-top: 40px; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 300 26px var(--sans); color: var(--ice); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); font-size: 16px; line-height: 1.65; padding: 0 40px 24px 0; }

/* Responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-block: 60px 40px; }
  .stage { height: 470px; max-width: 680px; }
  .flow { grid-template-columns: 1fr 1fr; } .flow > div::after { display: none; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .law { grid-template-columns: 1fr 1fr; }
  .roles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 42px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); display: grid; place-content: center; gap: 4px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); }
  .menu[open] summary span:nth-child(2) { opacity: 0; }
  .menu[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu .panel { position: fixed; left: 16px; right: 16px; top: 96px; width: auto; max-height: calc(100vh - 120px); overflow-y: auto; z-index: 60; box-shadow: 0 20px 50px rgba(0,0,0,.55); border: 1px solid var(--line2); border-radius: 18px; background: #0b0e15; padding: 8px; display: grid; }
  .menu .panel a { padding: 12px 14px; color: var(--text); text-decoration: none; border-radius: 10px; }
  .menu .panel a:hover { background: rgba(169, 196, 236, .08); }
  .head-right { display: flex; align-items: center; gap: 10px; }
  .two, .stats { grid-template-columns: 1fr 1fr; }
  .two > div + div { padding-left: 0; border-left: 0; }
  .two { grid-template-columns: 1fr; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; } .steps::before { display: none; }
  .sec .cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .site-header { padding-inline: 12px; }
  .brand-name span { display: none; }
  .header-cta { padding: 10px 16px; font-size: 14px; }
  .stage { height: 380px; }
  .app { width: 520px; transform: rotateY(-14deg) rotateX(6deg) scale(.68); transform-origin: left top; left: 0; top: 30px; }
  .chip { font-size: 12.5px; padding: 8px 12px; } .c1 { left: 0; top: 230px; } .c2 { right: 0; top: 0; } .c3 { display: none; } .c4 { right: 0; bottom: 30px; }
  .flow, .steps, .stats { grid-template-columns: 1fr; }
  .stats > div + div { padding-left: 0; border-left: 0; }
  .steps > div { padding: 0; }
  .form .row { grid-template-columns: 1fr; }
  .law, .roles { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  main > section, .block { padding-top: 100px; }
  .sec { margin-top: 100px; padding-block: 90px 80px; }
  .strip .lab { border-right: 0; padding-right: 0; width: 100%; }
  .strip .d { display: none; }
  .strip .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .brand-name b { font-size: 13px; letter-spacing: .1em; }
}
@media (max-width: 420px) { .brand-name { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.head-right { display: flex; align-items: center; gap: 10px; }

/* AI Decision Review: fixed-price tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.tiers > div { border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; background: rgba(12, 15, 22, .6); display: flex; flex-direction: column; min-width: 0; }
.tiers > div.feat { border-color: var(--ice); background: rgba(169, 196, 236, .07); }
.tiers .tag { align-self: flex-start; }
.tiers h3 { font-size: 23px; margin: 14px 0 6px; }
.tiers .price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; margin: 14px 0 2px; }
.tiers .price small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tiers .for { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.tiers .list { margin-top: 0; flex: 1; }
.tiers .btn { margin-top: 22px; align-self: flex-start; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.extras > div { text-align: left; border: 1px dashed var(--line); border-radius: 16px; padding: 20px 24px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.extras b { color: var(--text); }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.steps.five > div { padding: 0 18px; }
@media (max-width: 1080px) { .tiers { grid-template-columns: 1fr; max-width: 640px; } .steps.five { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; } }
@media (max-width: 640px) { .extras { grid-template-columns: 1fr; } .steps.five { grid-template-columns: 1fr; } }
.tiers.two-up { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
@media (max-width: 1080px) { .tiers.two-up { grid-template-columns: 1fr; } }

/* Four-fifths rule calculator */
.calc { border: 1px solid var(--line2); border-radius: 22px; padding: 28px; background: linear-gradient(180deg, rgba(17, 21, 31, .9), rgba(11, 14, 21, .9)); }
.calc-head, .calc-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 36px; gap: 10px; align-items: center; }
.calc-head { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-bottom: 8px; padding: 0 2px; }
.calc-row { margin-bottom: 10px; }
.calc-row input { font: 15px var(--sans); color: var(--text); background: #0a0d13; border: 1px solid var(--line2); border-radius: 12px; padding: 11px 13px; width: 100%; min-width: 0; }
.calc-row input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(169, 196, 236, .15); }
.calc-rm { background: none; border: 1px solid var(--line2); color: var(--muted); border-radius: 10px; height: 40px; cursor: pointer; font-size: 18px; }
.calc-rm:hover { color: var(--text); border-color: var(--ice); }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; }
.calc-actions .btn { padding: 9px 16px; font-size: 14px; }
.calc-summary { font-size: 16px; line-height: 1.55; padding: 14px 18px; border-radius: 14px; background: rgba(169, 196, 236, .06); color: #d2d8e3; }
.calc-summary:empty { display: none; }
.calc-summary.warn { border-left: 3px solid var(--amber); }
.calc-summary.ok { border-left: 3px solid var(--green); }
.calc-summary.bad { border-left: 3px solid var(--red); }
.calc-table { margin-top: 16px; border-top: 1px solid var(--line); }
.calc-tr { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr 1fr 1.5fr; gap: 10px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.calc-th { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.calc-tr .n { font-variant-numeric: tabular-nums; }
.calc-tr .tag { justify-self: start; }
.calc-p { color: var(--muted); font-size: 13.5px; }
.calc-name { font-weight: 600; overflow-wrap: anywhere; }
.calc-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.calc-private { color: var(--faint); font-size: 13px; margin-top: 18px; }
.calc-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.formula { font: 400 15px var(--mono); background: #0a0d13; border: 1px solid var(--line2); border-radius: 14px; padding: 18px 22px; color: #d2d8e3; margin: 18px 0; overflow-x: auto; }
@media (max-width: 1080px) { .calc-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .calc { padding: 18px; }
  .calc-head, .calc-row { grid-template-columns: 1.3fr .9fr .9fr 34px; gap: 6px; }
  .calc-tr { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .calc-th { display: none; }
  .calc-tr .calc-name { grid-column: 1 / -1; }
  .calc-ratio::before { content: "Ratio "; color: var(--muted); }
}
.cmp { max-width: 860px; margin: 48px auto 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-align: left; background: rgba(12, 15, 22, .6); }
.cmp-tr { display: grid; grid-template-columns: 1fr 150px 170px; align-items: center; padding: 15px 24px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.cmp-tr:last-child { border-bottom: 0; }
.cmp-tr > span:not(:first-child) { text-align: center; }
.cmp-th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: rgba(169, 196, 236, .05); }
.cmp-th span:last-child { color: var(--ice); }
.cmp .yes { color: var(--green); font-weight: 700; font-size: 18px; }
.cmp .no { color: var(--faint); }
@media (max-width: 640px) { .cmp-tr { grid-template-columns: 1fr 74px 84px; padding: 13px 14px; font-size: 14px; } .cmp-th { font-size: 10.5px; } }

/* ---------- Blog ---------- */
.blog-head { padding-top: 150px; padding-bottom: 30px; }
.blog-head h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 18px; max-width: 900px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 110px; }
.post-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--line2); transform: translateY(-2px); color: var(--text); }
.post-card h2 { font-size: 23px; line-height: 1.22; letter-spacing: -.02em; }
.post-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.post-card-meta { margin-top: auto; font: 500 12.5px var(--mono); color: var(--faint); letter-spacing: .04em; }
.post { max-width: 820px; padding-top: 140px; padding-bottom: 110px; }
.post-back { display: inline-block; margin-bottom: 30px; font-size: 14.5px; text-decoration: none; }
.post h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.035em; margin: 18px 0 16px; }
.post-meta { font: 500 13px var(--mono); color: var(--faint); letter-spacing: .04em; margin-bottom: 44px; }
.post-body { font-size: 17.5px; line-height: 1.75; color: #d6dbe6; }
.post-body > * + * { margin-top: 20px; }
.post-body h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.02em; color: var(--text); margin-top: 52px; }
.post-body ul, .post-body ol { padding-left: 24px; display: grid; gap: 10px; }
.post-body strong { color: var(--text); }
.post-lede { font-size: 20px; line-height: 1.65; color: var(--text); }
.post-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15.5px; }
.pt-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
.pt-row:first-child { border-top: 0; }
.pt-head { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); background: rgba(160,180,215,.05); }
.pt-bad span:last-child { color: var(--red); font-weight: 600; }
.post-caption { font-size: 13.5px; color: var(--faint); margin-top: 10px !important; }
.post-cta { margin-top: 56px !important; padding: 32px; border-radius: 22px; border: 1px solid var(--line2); background: linear-gradient(160deg, rgba(74,106,153,.28), rgba(12,15,22,.9)); }
.post-cta b { display: block; font-size: 22px; letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; }
.post-news { margin-top: 24px !important; margin-bottom: 40px; padding: 24px 28px; border-radius: 18px; border: 1px dashed var(--line2); }
.post-news b { display: block; font-size: 18px; color: var(--text); margin-bottom: 6px; }
.post-news p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.post-cta p { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.post-note { font-size: 14px; color: var(--faint); }
.post-src-h { font-size: 18px !important; margin-top: 40px !important; }
.post-src { font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-head, .post { padding-top: 120px; }
  .post-body { font-size: 16.5px; }
  .pt-row { grid-template-columns: 1.2fr .9fr .9fr .9fr 1fr; padding: 12px 14px; font-size: 13.5px; gap: 6px; }
}

.nda { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: #cdd3df; border: 1px solid var(--line2); border-radius: 14px; padding: 10px 16px; }
.nda::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--ice); border-radius: 2px; flex: none; }
.tagline { display: block; color: var(--ice); font-weight: 600; margin-bottom: 4px; }
.hero-solo { grid-template-columns: 1fr; max-width: 880px; margin-inline: auto; text-align: center; }
.hero-solo .lede { margin-inline: auto; }
.roles.four { grid-template-columns: repeat(4, 1fr); }
.center .callout { margin-inline: auto; text-align: left; }
@media (max-width: 1100px) { .roles.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .roles.four { grid-template-columns: 1fr; } }
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; }
.post-body th, .post-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.post-body th { color: var(--muted); font-weight: 500; }

.founder-sig { display: flex; align-items: center; gap: 14px; margin: 4px 0 32px; }
.founder-sig img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line2); }
.founder-sig span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.founder-sig b { color: var(--text); font-weight: 600; }

@media (max-width: 640px) {
  .legal table.compare { display: block; }
  .compare thead { display: none; }
  .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { border: 1px solid var(--line); border-radius: 14px; padding: 6px 4px; margin-bottom: 14px; }
  .compare td { border-bottom: 0; padding: 6px 12px; }
  .compare td.row-h { font-size: 16px; padding-top: 10px; }
  .compare td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .compare td[data-label="Fairspire Review"] { color: var(--text); }
}
