/* ============================================================
   PINTOED AI — style.css
   Single stylesheet for the entire site.
   Edit color tokens in :root below to reskin globally.
   ============================================================ */

:root {
  --ink: #0a0a0a;
  --carbon: #111111;
  --graphite: #1a1a1a;
  --steel: #2a2a2a;
  --fog: #8a8a8a;
  --chalk: #e8e8e3;
  --lime: #c6ff3d;
  --lime-dim: #8fb82b;
  --grid: rgba(255, 255, 255, 0.035);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap-max: 1280px;
  --pad-x: 40px;
  --pad-x-mobile: 24px;
}

/* ------------------------------------------------------------ Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--chalk);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

main { position: relative; z-index: 2; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------ Layout ---- */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
@media (max-width: 720px) {
  .wrap { padding-left: var(--pad-x-mobile); padding-right: var(--pad-x-mobile); }
}

.section { padding-top: 128px; padding-bottom: 128px; }
.section--tight { padding-top: 80px; padding-bottom: 80px; }
@media (max-width: 720px) {
  .section { padding-top: 80px; padding-bottom: 80px; }
}

.divider { border: 0; border-top: 1px solid var(--steel); margin: 0; }

/* ------------------------------------------------------------ Typography ---- */
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fog);
  font-weight: 400;
  margin: 0 0 24px 0;
  display: inline-block;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--chalk);
  margin: 0;
}
.display em, .display i { font-style: italic; }
.display--xxl { font-size: clamp(3rem, 9vw, 8rem); }
.display--xl  { font-size: clamp(2.5rem, 6vw, 5rem); }
.display--lg  { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.display--md  { font-size: clamp(1.6rem, 3vw, 2.25rem); }

.lede {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--fog);
  max-width: 640px;
  margin: 24px 0 0 0;
}

.mono { font-family: var(--font-mono); }
.fog { color: var(--fog); }
.lime { color: var(--lime); }

/* ------------------------------------------------------------ Components ---- */
.lime-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(198, 255, 61, 0.8);
  vertical-align: middle;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  border: 1px solid var(--steel);
  border-radius: 2px;
  line-height: 1;
}
.tag--lime { color: var(--lime); border-color: var(--lime-dim); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--chalk);
  border: 1px solid var(--steel);
  background: transparent;
  transition: border-color 200ms var(--ease),
              color 200ms var(--ease),
              background-color 200ms var(--ease),
              box-shadow 250ms var(--ease),
              transform 150ms var(--ease);
  border-radius: 2px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.btn:hover { border-color: var(--chalk); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--solid {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(198, 255, 61, 0);
}
.btn--solid:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 24px rgba(198, 255, 61, 0.45),
              0 0 0 1px var(--lime);
  transform: translateY(-2px);
}
.btn--solid:active { transform: translateY(0); box-shadow: 0 0 12px rgba(198, 255, 61, 0.35); }
.btn--ghost { background: transparent; }

/* Larger button variant for hero CTAs */
.btn--lg {
  padding: 20px 36px;
  font-size: 14px;
  letter-spacing: 0.14em;
  gap: 12px;
}

/* Cards */
.card {
  background: var(--graphite);
  border: 1px solid var(--steel);
  padding: 32px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.card:hover { border-color: var(--fog); }
.card--link:hover { transform: translateY(-2px); }
.card--stub { opacity: 0.55; }
.card--stub:hover { opacity: 0.8; }

/* Hover underline (for inline links) */
.ul-link {
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-bottom: 2px;
}
.ul-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.ul-link:hover { color: var(--lime); }
.ul-link:hover::after { transform: scaleX(1); }

/* ------------------------------------------------------------ Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: var(--steel);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--chalk);
  text-transform: uppercase;
}
.brand .lime-dot { margin-right: 2px; }
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fog);
  text-transform: uppercase;
  transition: color 200ms var(--ease);
}
.nav-links a:hover { color: var(--chalk); }
.nav-links a[aria-current="page"] { color: var(--chalk); }
.nav-links .btn--solid {
  color: var(--ink);
  padding: 10px 18px;
  font-size: 11px;
}
.nav-links .btn--solid:hover { transform: none; box-shadow: 0 0 16px rgba(198, 255, 61, 0.35); }

@media (max-width: 720px) {
  .nav-row { height: 56px; }
  .brand .tag { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
}

/* ------------------------------------------------------------ Hero ---- */
.hero {
  padding-top: 96px;
  padding-bottom: 128px;
  position: relative;
}
.hero-head { max-width: 980px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

.metrics {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--steel);
  background: var(--carbon);
}
.metric {
  padding: 28px;
  border-right: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric:last-child { border-right: 0; }
.metric__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fog);
  text-transform: uppercase;
}
.metric__value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--lime);
  font-weight: 500;
}
@media (max-width: 720px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--steel); }
  .metric:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------ Grids ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Service preview big card */
.service-card {
  padding: 48px;
  background: var(--carbon);
  border: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 360px;
}
.service-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--lime);
}
.service-card__title { margin: 0; }
.service-card__desc { color: var(--fog); margin: 0; max-width: 40ch; }
.service-card .ul-link { margin-top: auto; }

/* Review card */
.review-card {
  padding: 28px;
  background: var(--graphite);
  border: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.review-card:hover { border-color: var(--fog); transform: translateY(-2px); }
.review-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  margin: 0;
  color: var(--chalk);
}
.review-card__rating {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime);
  font-weight: 500;
  white-space: nowrap;
}
.review-card__rating--muted { color: var(--fog); }
.review-card__verdict { color: var(--fog); margin: 0; font-size: 0.95rem; }
.review-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
}
.review-card__status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fog);
  text-transform: uppercase;
}
.review-card__status--live { color: var(--lime); }

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.step {
  padding: 32px 24px;
  border-right: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step:last-child { border-right: 0; }
.step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--lime);
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0;
}
.step__desc { color: var(--fog); margin: 0; font-size: 0.95rem; }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--steel); }
  .step:last-child { border-bottom: 0; }
}

/* CTA band */
.cta-band {
  border-top: 1px solid var(--lime);
  border-bottom: 1px solid var(--lime);
  background: var(--carbon);
  padding: 80px 0;
  text-align: center;
}
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }

/* ------------------------------------------------------------ Footer ---- */
.footer {
  border-top: 1px solid var(--steel);
  padding: 96px 0 40px 0;
  margin-top: 64px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 420px; }
.footer-brand .brand { font-size: 13px; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0;
}
.footer-tagline em { font-style: italic; color: var(--fog); }
.footer-desc { color: var(--fog); margin: 0; font-size: 0.9rem; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fog);
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 16px 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--chalk);
  text-transform: uppercase;
  transition: color 200ms var(--ease);
}
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--steel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom, .footer-bottom * {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
}
.footer-status { display: inline-flex; align-items: center; gap: 10px; }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: status-pulse 2.2s var(--ease) infinite;
  box-shadow: 0 0 8px rgba(198, 255, 61, 0.6);
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ------------------------------------------------------------ Reveals ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 60ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 260ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 460ms; }

/* ------------------------------------------------------------ Services page ---- */
.svc-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--steel);
}
.svc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; gap: 40px; } }
.svc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-list li {
  padding-left: 28px;
  position: relative;
  color: var(--chalk);
  line-height: 1.5;
}
.svc-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-family: var(--font-mono);
}

.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
@media (max-width: 640px) { .fit-cols { grid-template-columns: 1fr; } }
.fit-cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--lime);
  text-transform: uppercase;
  margin: 0 0 12px 0;
}
.fit-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; color: var(--fog); }

.engagement {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--steel);
  background: var(--carbon);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.engagement strong { color: var(--lime); font-weight: 500; }

/* ------------------------------------------------------------ Reviews index ---- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 48px 0 32px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--steel);
}
.pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--steel);
  color: var(--fog);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.pill:hover { color: var(--chalk); border-color: var(--fog); }
.pill.is-active { color: var(--ink); background: var(--lime); border-color: var(--lime); font-weight: 500; }

.review-card.is-hidden { display: none !important; }

/* ------------------------------------------------------------ Review page ---- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
  padding: 32px 0 0 0;
}
.breadcrumb a { color: var(--fog); }
.breadcrumb a:hover { color: var(--chalk); }

.review-header { padding: 48px 0 40px 0; }
.review-header .tag { margin-bottom: 20px; }
.review-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.98;
  margin: 8px 0 20px 0;
  letter-spacing: -0.01em;
}
.review-verdict {
  font-size: 1.125rem;
  color: var(--fog);
  max-width: 640px;
  margin: 0 0 28px 0;
  line-height: 1.45;
}
.review-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fog);
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.review-meta span strong { color: var(--lime); font-weight: 500; }

.keyinfo-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--steel);
  background: var(--graphite);
  margin: 48px 0;
}
.keyinfo-cell {
  padding: 24px;
  border-right: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
}
.keyinfo-cell:last-child { border-right: 0; }
.keyinfo-cell h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-transform: uppercase;
  margin: 0;
  font-weight: 500;
}
.keyinfo-cell p { margin: 0; color: var(--chalk); font-size: 0.92rem; line-height: 1.45; }
@media (max-width: 960px) {
  .keyinfo-panel { grid-template-columns: 1fr 1fr; }
  .keyinfo-cell { border-right: 0; border-bottom: 1px solid var(--steel); }
  .keyinfo-cell:nth-child(odd) { border-right: 1px solid var(--steel); }
  .keyinfo-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .keyinfo-panel { grid-template-columns: 1fr; }
  .keyinfo-cell { border-right: 0 !important; border-bottom: 1px solid var(--steel); }
  .keyinfo-cell:last-child { border-bottom: 0; }
}

/* Prose-lumen: for review body */
.prose-lumen { max-width: 720px; margin: 0 auto; padding: 24px 0 96px 0; }
.prose-lumen h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 56px 0 20px 0;
  letter-spacing: -0.01em;
}
.prose-lumen h2:first-child { margin-top: 0; }
.prose-lumen h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-transform: uppercase;
  margin: 40px 0 12px 0;
  font-weight: 500;
}
.prose-lumen p {
  color: var(--chalk);
  line-height: 1.7;
  margin: 0 0 20px 0;
  font-size: 1.02rem;
}
.prose-lumen a { color: var(--lime); border-bottom: 1px solid var(--lime-dim); }
.prose-lumen a:hover { color: var(--lime-dim); }
.prose-lumen ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prose-lumen ul li {
  padding-left: 28px;
  position: relative;
  color: var(--chalk);
  line-height: 1.55;
}
.prose-lumen ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime);
  font-family: var(--font-mono);
}
.prose-lumen blockquote {
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  border-left: 2px solid var(--lime);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--chalk);
}
.prose-lumen strong { color: var(--chalk); font-weight: 600; }

/* Related reviews row */
.related {
  padding: 64px 0;
  border-top: 1px solid var(--steel);
}

/* ------------------------------------------------------------ About page ---- */
.about-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
}
.about-narrative p {
  color: var(--chalk);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 20px 0;
  max-width: 58ch;
}
.about-narrative p.lede {
  font-size: 1.25rem;
  color: var(--chalk);
  line-height: 1.5;
  margin-bottom: 32px;
}
.facts {
  border: 1px solid var(--steel);
  background: var(--carbon);
  padding: 0;
}
.facts dl { margin: 0; padding: 0; }
.facts > dl > div {
  padding: 20px 24px;
  border-bottom: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.facts > dl > div:last-child { border-bottom: 0; }
.facts dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
}
.facts dd {
  margin: 0;
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--steel); background: var(--carbon); }
.value-card {
  padding: 32px 28px;
  border-right: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.value-card:last-child { border-right: 0; }
.value-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.value-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0;
}
.value-card__desc { color: var(--fog); margin: 0; font-size: 0.92rem; line-height: 1.55; }
@media (max-width: 960px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-card { border-right: 0; border-bottom: 1px solid var(--steel); }
  .value-card:nth-child(odd) { border-right: 1px solid var(--steel); }
  .value-card:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-card { border-right: 0 !important; border-bottom: 1px solid var(--steel); }
  .value-card:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------ Contact page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--chalk);
  background: var(--carbon);
  border: 1px solid var(--steel);
  padding: 14px 16px;
  border-radius: 2px;
  width: 100%;
  transition: border-color 200ms var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--lime); outline: none; }
.form-row textarea { min-height: 160px; resize: vertical; font-family: var(--font-body); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fog);
  text-transform: uppercase;
  margin: 8px 0 0 0;
}
.form .btn--solid { align-self: flex-start; margin-top: 8px; }

.contact-side {
  border: 1px solid var(--steel);
  background: var(--carbon);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-side h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
  margin: 0 0 8px 0;
  font-weight: 400;
}
.contact-side a.email {
  font-family: var(--font-mono);
  color: var(--lime);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.contact-side a.email:hover { color: var(--lime-dim); }

/* ------------------------------------------------------------ Review — detailed sections ---- */
.review-section {
  padding: 56px 0;
  border-top: 1px solid var(--steel);
}
.review-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.review-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}
.review-section__note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
}

/* Pricing tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--steel);
  background: var(--carbon);
}
.pricing-tier {
  padding: 28px;
  border-right: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: background-color 200ms var(--ease);
}
.pricing-tier:last-child { border-right: 0; }
.pricing-tier:hover { background: var(--graphite); }
.pricing-tier.is-featured { background: linear-gradient(180deg, rgba(198, 255, 61, 0.05), transparent 70%); }
.pricing-tier__name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fog);
  text-transform: uppercase;
}
.pricing-tier.is-featured .pricing-tier__name { color: var(--lime); }
.pricing-tier__price {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--chalk);
}
.pricing-tier__price small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog);
  letter-spacing: 0.08em;
  margin-left: 4px;
  text-transform: uppercase;
}
.pricing-tier__desc {
  color: var(--fog);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}
.pricing-tier__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-tier__list li {
  padding-left: 20px;
  position: relative;
  color: var(--chalk);
  font-size: 0.88rem;
  line-height: 1.45;
}
.pricing-tier__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-tier { border-right: 0; border-bottom: 1px solid var(--steel); min-height: 0; }
  .pricing-tier:last-child { border-bottom: 0; }
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
}
.feature {
  background: var(--carbon);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--lime);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feature__label::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
  font-size: 11px;
}
.feature__body {
  color: var(--chalk);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Pros & Cons */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--steel);
  background: var(--carbon);
}
.proscons__col { padding: 28px; }
.proscons__col--pros { border-right: 1px solid var(--steel); }
.proscons__head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 18px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.proscons__head--pro { color: var(--lime); }
.proscons__head--con { color: var(--fog); }
.proscons__head--pro::before { content: "+"; font-weight: 700; font-size: 14px; }
.proscons__head--con::before { content: "−"; font-weight: 700; font-size: 14px; }
.proscons__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proscons__list li {
  color: var(--chalk);
  line-height: 1.55;
  font-size: 0.95rem;
  padding-left: 22px;
  position: relative;
}
.proscons__list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.proscons__col--pros .proscons__list li::before { content: "+"; color: var(--lime); }
.proscons__col--cons .proscons__list li::before { content: "−"; color: var(--fog); }
@media (max-width: 720px) {
  .proscons { grid-template-columns: 1fr; }
  .proscons__col--pros { border-right: 0; border-bottom: 1px solid var(--steel); }
}

/* Interactive cost calculator */
.calc {
  border: 1px solid var(--steel);
  background: var(--carbon);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; gap: 24px; } }
.calc__col { display: flex; flex-direction: column; gap: 20px; }
.calc__row { display: flex; flex-direction: column; gap: 10px; }
.calc__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.calc__label-value {
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.calc__label-value--input {
  background: var(--ink);
  border: 1px solid var(--steel);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  width: 100px;
  text-align: right;
  appearance: textfield;
  -moz-appearance: textfield;
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.calc__label-value--input::-webkit-outer-spin-button,
.calc__label-value--input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__label-value--input:hover { border-color: var(--fog); }
.calc__label-value--input:focus { border-color: var(--lime); box-shadow: 0 0 0 2px rgba(198, 255, 61, 0.2); }
.calc__label-formatted {
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-left: 4px;
}
.calc__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.calc__opt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid var(--steel);
  background: transparent;
  color: var(--fog);
  border-radius: 2px;
  cursor: pointer;
  transition: color 150ms var(--ease), border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.calc__opt:hover { color: var(--chalk); border-color: var(--fog); }
.calc__opt.is-active { color: var(--ink); background: var(--lime); border-color: var(--lime); font-weight: 500; }

.calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--steel);
  outline: none;
  cursor: pointer;
  margin: 0;
}
.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  cursor: pointer;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 1px var(--lime), 0 0 10px rgba(198, 255, 61, 0.4);
  transition: transform 150ms var(--ease);
}
.calc__slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc__slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  cursor: pointer;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 1px var(--lime);
}

.calc__out {
  border-left: 1px solid var(--steel);
  padding: 4px 0 4px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
  justify-content: center;
}
@media (max-width: 760px) {
  .calc__out { border-left: 0; border-top: 1px solid var(--steel); padding: 24px 0 0 0; }
}
.calc__out-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fog);
  text-transform: uppercase;
}
.calc__out-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--lime);
  font-weight: 400;
  letter-spacing: -0.02em;
  transition: color 150ms var(--ease);
}
.calc__out-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.calc__out-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fog);
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-top: 8px;
}

.calc__share {
  margin-top: 18px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms var(--ease), border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.calc__share:hover { color: var(--chalk); border-color: var(--lime); }
.calc__share:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.calc__share.is-copied { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.calc__share-icon { font-size: 12px; line-height: 1; transform: translateY(-1px); }

/* Paired exact-value number input next to every slider */
.calc__exact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.calc__exact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fog);
  text-transform: uppercase;
}
.calc__exact-input {
  background: var(--ink);
  border: 1px solid var(--steel);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  width: 110px;
  text-align: right;
  appearance: textfield;
  -moz-appearance: textfield;
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.calc__exact-input::-webkit-outer-spin-button,
.calc__exact-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__exact-input:hover { border-color: var(--fog); }
.calc__exact-input:focus { border-color: var(--lime); box-shadow: 0 0 0 2px rgba(198, 255, 61, 0.2); }

/* Glossary tooltips */
dfn[data-term] {
  font-style: normal;
  border-bottom: 1px dotted var(--lime);
  cursor: help;
  outline: none;
}
dfn[data-term]:hover,
dfn[data-term]:focus { color: var(--lime); }
dfn[data-term]:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-bottom-color: transparent; }

.tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  max-width: 320px;
  padding: 12px 14px;
  background: var(--ink);
  border: 1px solid var(--lime);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 12px rgba(198, 255, 61, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms var(--ease);
}
.tooltip.is-visible { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .tooltip { transition: none; } }

/* Stack Recommender Quiz */
.quiz {
  border: 1px solid var(--steel);
  background: var(--graphite);
  padding: 32px;
}
.quiz__progress {
  height: 4px;
  background: var(--steel);
  margin-bottom: 18px;
  position: relative;
}
.quiz__progress-bar {
  height: 100%;
  background: var(--lime);
  transition: width 320ms var(--ease);
}
@media (prefers-reduced-motion: reduce) { .quiz__progress-bar { transition: none; } }
.quiz__step-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fog);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.quiz-step__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  color: var(--chalk);
  margin: 0 0 24px 0;
  font-weight: 400;
}
.quiz-step__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.quiz-step__opt {
  font-size: 14px;
  padding: 12px 18px;
}
.quiz-step__back {
  font-size: 11px;
  padding: 8px 14px;
}
.quiz-result__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.1;
  color: var(--chalk);
  font-weight: 400;
  margin: 0 0 8px 0;
}
.quiz-result__title em { color: var(--lime); font-style: italic; }
.quiz-result__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
  margin: 0 0 28px 0;
}
.quiz-result__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.quiz-result__card { transition: transform 200ms var(--ease), border-color 200ms var(--ease); }
.quiz-result__card:hover { transform: translateY(-2px); border-color: var(--lime); }
.quiz-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--steel);
}

/* Meta cost dashboard */
.bill { display: flex; flex-direction: column; gap: 18px; }
.bill-row {
  display: grid;
  grid-template-columns: 1fr minmax(160px, auto);
  grid-template-areas:
    "header sub"
    "prov   sub"
    "slider sub";
  gap: 14px 32px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--steel);
  background: var(--graphite);
  transition: opacity 200ms var(--ease), border-color 200ms var(--ease);
}
.bill-row.is-disabled { opacity: 0.4; }
.bill-row.is-disabled:hover { opacity: 0.6; }
.bill-row__header { grid-area: header; display: flex; align-items: center; gap: 14px; }
.bill-row__providers { grid-area: prov; display: flex; flex-wrap: wrap; gap: 8px; }
.bill-row__slider { grid-area: slider; display: flex; flex-direction: column; gap: 8px; }
.bill-row__subwrap {
  grid-area: sub;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  border-left: 1px solid var(--steel);
  padding-left: 32px;
  min-width: 140px;
}
.bill-row__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--chalk);
  margin: 0;
  font-weight: 400;
}
.bill-row__prov { font-size: 12px; padding: 7px 12px; }
.bill-row__sub-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fog);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bill-row__sub {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.01em;
  transition: color 150ms var(--ease);
}
.bill-row__note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fog);
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 4px 0 0 0;
}
.bill-row__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.bill-row__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.bill-row__pill {
  width: 40px;
  height: 22px;
  background: var(--steel);
  border-radius: 11px;
  position: relative;
  transition: background-color 180ms var(--ease);
}
.bill-row__pill::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--chalk);
  border-radius: 50%;
  transition: transform 180ms var(--ease);
}
.bill-row__toggle input:checked + .bill-row__pill { background: var(--lime); }
.bill-row__toggle input:checked + .bill-row__pill::after { background: var(--ink); transform: translateX(18px); }
.bill-row__toggle input:focus-visible + .bill-row__pill { outline: 2px solid var(--lime); outline-offset: 3px; }
@media (max-width: 760px) {
  .bill-row {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "prov" "slider" "sub";
  }
  .bill-row__subwrap {
    border-left: 0;
    border-top: 1px solid var(--steel);
    padding-left: 0;
    padding-top: 18px;
    align-items: flex-start;
  }
}

.bill-total {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid var(--lime);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bill-total__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fog);
  text-transform: uppercase;
}
.bill-total__value {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6rem);
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.02em;
}
.bill-total__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fog);
  text-transform: uppercase;
}
.bill-total__note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog);
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 8px 0 0 0;
  max-width: 600px;
}

/* Comparison builder */
.compare-pickers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.compare-picker { display: flex; flex-direction: column; gap: 10px; }
.compare-picker__select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--graphite);
  border: 1px solid var(--steel);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 10px 32px 10px 12px;
  cursor: pointer;
  width: 100%;
  background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%),
                    linear-gradient(135deg, var(--lime) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.compare-picker__select:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.compare-picker__remove {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  cursor: pointer;
  text-transform: uppercase;
}
.compare-picker__remove:hover { color: var(--lime); border-color: var(--lime); }
.compare-picker__remove.is-disabled { opacity: 0.3; cursor: not-allowed; }

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--steel);
}

.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--chalk);
  line-height: 1.55;
}
.compare-table__rowlabel {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px 16px 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fog);
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--steel);
  background: transparent;
  position: sticky;
  left: 0;
  background: var(--ink);
  z-index: 1;
}
.compare-table__head {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid var(--lime);
  background: var(--graphite);
}
.compare-table__head-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lime);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.compare-table__head-link:hover { text-decoration: underline; }
.compare-table__cell {
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid var(--steel);
  min-width: 220px;
}

/* Billing period toggle (monthly / annual) */
.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--steel);
  background: var(--carbon);
  border-radius: 2px;
  padding: 3px;
  gap: 2px;
}
.billing-toggle__btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: var(--fog);
  border-radius: 2px;
  cursor: pointer;
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}
.billing-toggle__btn:hover { color: var(--chalk); }
.billing-toggle__btn.is-active { background: var(--lime); color: var(--ink); font-weight: 500; }
.billing-toggle__save {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-left: 12px;
  align-self: center;
}

/* FAQ accordion */
.faq {
  border: 1px solid var(--steel);
  background: var(--carbon);
}
.faq-item { border-bottom: 1px solid var(--steel); }
.faq-item:last-child { border-bottom: 0; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.faq-question:hover { background: var(--graphite); color: var(--lime); }
.faq-question__icon {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--lime);
  flex-shrink: 0;
  transition: transform 300ms var(--ease);
  line-height: 1;
}
.faq-item[aria-expanded="true"] .faq-question__icon { transform: rotate(45deg); }
.faq-item[aria-expanded="true"] .faq-question { color: var(--lime); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms var(--ease);
}
.faq-answer__body {
  padding: 0 24px 24px 24px;
  color: var(--fog);
  line-height: 1.65;
  font-size: 0.95rem;
}
.faq-answer__body p { margin: 0 0 12px 0; }
.faq-answer__body p:last-child { margin-bottom: 0; }
.faq-answer__body strong { color: var(--chalk); }
.faq-answer__body a { color: var(--lime); border-bottom: 1px solid var(--lime-dim); }

/* ------------------------------------------------------------ Ambient background ---- */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.orb--a {
  top: -20vmax;
  right: -15vmax;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle at center,
    rgba(198, 255, 61, 0.12),
    rgba(198, 255, 61, 0.04) 35%,
    transparent 65%);
  animation: orb-drift-a 28s ease-in-out infinite alternate;
}
.orb--b {
  bottom: -22vmax;
  left: -18vmax;
  width: 58vmax;
  height: 58vmax;
  background: radial-gradient(circle at center,
    rgba(198, 255, 61, 0.07),
    rgba(198, 255, 61, 0.02) 35%,
    transparent 60%);
  animation: orb-drift-b 38s ease-in-out infinite alternate;
}
@keyframes orb-drift-a {
  0%   { transform: translate(0, 0) scale(1);       opacity: 0.7; }
  50%  { transform: translate(-12vw, 8vh) scale(1.15); opacity: 1;   }
  100% { transform: translate(-4vw, 18vh) scale(0.95); opacity: 0.6; }
}
@keyframes orb-drift-b {
  0%   { transform: translate(0, 0) scale(1);       opacity: 0.8; }
  50%  { transform: translate(10vw, -6vh) scale(1.2); opacity: 1;   }
  100% { transform: translate(-4vw, -14vh) scale(0.9); opacity: 0.7; }
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(198, 255, 61, 0.0) 15%,
    rgba(198, 255, 61, 0.35) 50%,
    rgba(198, 255, 61, 0.0) 85%,
    transparent);
  animation: scan-sweep 9s linear infinite;
  opacity: 0;
}
@keyframes scan-sweep {
  0%   { transform: translateY(0);      opacity: 0;   }
  6%   { opacity: 0.55; }
  94%  { opacity: 0.55; }
  100% { transform: translateY(100vh); opacity: 0;   }
}

/* Slow diagonal grid drift on body background */
body {
  animation: grid-drift 120s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 48px 48px, 48px 48px; }
}

/* ------------------------------------------------------------ Hero word reveal ---- */
/* Opt the hero headline out of the parent .reveal-stagger opacity sweep
   so individual words can animate on their own. */
.reveal-stagger > .hero-headline,
.reveal-stagger.is-visible > .hero-headline {
  opacity: 1;
  transform: none;
  transition: none;
}
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}
.hero-headline.words-ready .word {
  animation: word-rise 720ms var(--ease) forwards;
}
@keyframes word-rise {
  0%   { opacity: 0; transform: translateY(28px); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero underline accent behind the italic fragment */
.hero-headline em {
  position: relative;
  display: inline;
}

/* ============================================================
   Newsletter signup — injected by newsletter.js into [data-newsletter]
   ============================================================ */
.newsletter {
  border: 1px solid var(--steel);
  background: var(--graphite);
  padding: 28px 30px;
  margin: 32px 0;
}
.newsletter__pitch {
  color: var(--chalk);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 18px 0;
  max-width: 60ch;
}
.newsletter__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.newsletter__input {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--ink);
  color: var(--chalk);
  border: 1px solid var(--steel);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.newsletter__input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}
.newsletter__legal {
  color: var(--fog);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 16px 0 0 0;
  line-height: 1.5;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   Contact form success-state
   ============================================================ */
.form-success {
  border: 1px solid var(--lime-dim, #5d7e1c);
  background: var(--graphite);
  padding: 36px 40px;
}

/* ============================================================
   vs-widget — inline review-vs-review comparison
   Hydrated by vs-widget.js from data/reviews-index.js
   ============================================================ */
.vs-widget {
  border-top: 1px solid var(--steel);
  padding: 64px 0;
  background: var(--ink);
}
.vs-widget__head {
  margin-bottom: 28px;
}
.vs-widget__head h2 {
  margin: 8px 0 20px 0;
}
.vs-widget__select {
  display: block;
  width: 100%;
  max-width: 380px;
  margin-top: 8px;
  background: var(--graphite);
  color: var(--chalk);
  border: 1px solid var(--steel);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.vs-widget__select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}
.vs-widget__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
  margin-top: 32px;
}
.vs-widget__cell {
  background: var(--graphite);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vs-widget__cell-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.vs-widget__cell-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--chalk);
  margin: 0;
}
.vs-widget__cell-rating {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
  letter-spacing: 0.08em;
}
.vs-widget__cell-value {
  color: var(--chalk);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.vs-widget__row-label {
  grid-column: 1 / -1;
  background: var(--ink);
  padding: 10px 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fog);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.vs-widget__cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .vs-widget__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Scenarios save/load (calculator power-up)
   Hydrated by scenarios.js — sits beside .calc__share
   ============================================================ */
.calc__scenarios {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items: center;
}
.calc__scenarios-select {
  flex: 1 1 200px;
  min-width: 0;
  background: var(--graphite);
  color: var(--chalk);
  border: 1px solid var(--steel);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.calc__scenarios-select:focus {
  outline: none;
  border-color: var(--lime);
}
.calc__scenario-list {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc__scenario-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--ink);
  border: 1px solid var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--chalk);
}
.calc__scenario-list .scenario-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--lime);
}
.calc__scenario-list .scenario-meta {
  color: var(--fog);
  font-size: 10px;
}
.calc__scenario-list button {
  background: transparent;
  color: var(--fog);
  border: 1px solid var(--steel);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.calc__scenario-list button:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.calc__name-input {
  flex: 1 1 200px;
  min-width: 0;
  background: var(--ink);
  color: var(--lime);
  border: 1px solid var(--lime);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.calc__name-input:focus { outline: none; }

/* ============================================================
   All-reviews filter + sortable table (reviews/all.html)
   ============================================================ */
.all-filter {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 0 32px 0;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  margin: 0 0 32px 0;
}
.all-filter__search {
  background: var(--graphite);
  color: var(--chalk);
  border: 1px solid var(--steel);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  width: 100%;
  max-width: 520px;
}
.all-filter__search::placeholder { color: var(--fog); letter-spacing: 0.12em; }
.all-filter__search:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}
.all-filter__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.all-filter__pill {
  background: transparent;
  color: var(--fog);
  border: 1px solid var(--steel);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 160ms, border-color 160ms, background 160ms;
}
.all-filter__pill:hover { color: var(--chalk); border-color: var(--chalk); }
.all-filter__pill.is-active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  font-weight: 500;
}
.all-filter__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fog);
  margin: 0;
}

.all-reviews-wrap {
  overflow-x: auto;
  border: 1px solid var(--steel);
  background: var(--ink);
}
.all-reviews {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans, inherit);
  font-size: 0.92rem;
  color: var(--chalk);
  min-width: 880px;
}
.all-reviews thead { background: var(--graphite); }
.all-reviews__th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fog);
  text-transform: uppercase;
  border-bottom: 1px solid var(--steel);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color 160ms;
}
.all-reviews__th:hover { color: var(--chalk); }
.all-reviews__th--num { text-align: right; }
.all-reviews__th--cta { cursor: default; }
.all-reviews__th--cta:hover { color: var(--fog); }
.all-reviews__caret {
  display: inline-block;
  width: 10px;
  margin-left: 6px;
  color: var(--lime);
  opacity: 0;
}
.all-reviews__th.is-sorted-asc .all-reviews__caret::before { content: "↑"; }
.all-reviews__th.is-sorted-desc .all-reviews__caret::before { content: "↓"; }
.all-reviews__th.is-sorted-asc .all-reviews__caret,
.all-reviews__th.is-sorted-desc .all-reviews__caret { opacity: 1; }
.all-reviews__th.is-sorted-asc,
.all-reviews__th.is-sorted-desc { color: var(--lime); }

.all-reviews tbody tr { border-bottom: 1px solid var(--steel); transition: background 120ms; }
.all-reviews tbody tr:last-child { border-bottom: 0; }
.all-reviews tbody tr:hover { background: rgba(198, 255, 61, 0.03); }

.all-reviews__td {
  padding: 14px 16px;
  vertical-align: top;
  line-height: 1.45;
}
.all-reviews__td--num { text-align: right; font-family: var(--font-display); font-size: 1.1rem; color: var(--lime); }
.all-reviews__td--name { font-weight: 500; }
.all-reviews__name {
  color: var(--chalk);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms, border-color 160ms;
}
.all-reviews__name:hover { color: var(--lime); border-bottom-color: var(--lime); }
.all-reviews__td--wide { color: var(--chalk); font-size: 0.88rem; max-width: 280px; }
.all-reviews__td--cta { white-space: nowrap; }

@media (max-width: 760px) {
  .all-reviews-wrap { border-left: 0; border-right: 0; }
  .all-reviews { font-size: 0.85rem; }
  .all-reviews__td--wide { max-width: 220px; font-size: 0.8rem; }
}

/* ============================================================
   Tools filter (search + category pills on tools.html)
   ============================================================ */
.tools-filter {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 0 32px 0;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  margin-bottom: 48px;
}
.tools-filter__search {
  background: var(--graphite);
  color: var(--chalk);
  border: 1px solid var(--steel);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  width: 100%;
  max-width: 520px;
}
.tools-filter__search::placeholder { color: var(--fog); letter-spacing: 0.12em; }
.tools-filter__search:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}
.tools-filter__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tools-filter__pill {
  background: transparent;
  color: var(--fog);
  border: 1px solid var(--steel);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 160ms, border-color 160ms, background 160ms;
}
.tools-filter__pill:hover {
  color: var(--chalk);
  border-color: var(--chalk);
}
.tools-filter__pill.is-active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  font-weight: 500;
}
.tools-filter__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fog);
  margin: 0;
}

/* ============================================================
   Footer legal link strip (privacy / terms / disclosure)
   ============================================================ */
.footer-legal a {
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms, border-color 160ms;
}
.footer-legal a:hover,
.footer-legal a:focus {
  color: var(--lime);
  border-bottom-color: var(--lime);
  outline: none;
}

/* ============================================================
   Print stylesheet — clean PDF export via window.print()
   ============================================================ */
@media print {
  /* Strip away all chrome */
  .nav, .footer, .ambient, .cta-band, .breadcrumb,
  .related, .vs-widget, .billing-toggle,
  .calc__scenarios, .calc__share, .btn,
  [data-newsletter], .newsletter {
    display: none !important;
  }
  .faq-item .faq-answer { max-height: none !important; }
  body { background: white !important; color: black !important; }
  html { background: white !important; }
  main, .wrap, .review-section, .calc { background: white !important; color: black !important; }
  .calc__out { background: #f5f5f5 !important; border: 1px solid #ccc !important; }
  .calc__out-value {
    color: black !important;
    font-size: 32pt !important;
    line-height: 1.1 !important;
  }
  .calc__out-label, .calc__out-unit, .calc__out-note {
    color: #444 !important;
  }
  .calc__label, .calc__label-value { color: black !important; }
  h1, h2, h3, h4, p, li, td { color: black !important; }
  .review-title, .display { color: black !important; }
  .pricing-tier, .keyinfo-cell, .feature {
    background: white !important;
    border: 1px solid #ccc !important;
    color: black !important;
    page-break-inside: avoid;
  }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #888; }
  a[href^="#"]::after, a[href^="mailto:"]::after { content: ""; }
}

/* ------------------------------------------------------------ Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .status-dot { animation: none !important; }
  .orb, .scan-line, body { animation: none !important; }
  .hero-headline .word { opacity: 1 !important; transform: none !important; }
}
