/* ==========================================================================
   The A-Tech Corporation — design system
   Warm paper, ink, one signal colour. Editorial type + technical detail.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-normal-100-900.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-normal-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7dc;
  --paper-3: #e2ddcf;
  --ink: #11110d;
  --ink-2: #1a1a15;
  --ink-3: #24241d;
  --muted: #6b685e;
  --muted-2: #67645a;
  --line: rgba(17, 17, 13, 0.13);
  --line-strong: rgba(17, 17, 13, 0.26);
  --lime: #d7ff4f;
  --lime-soft: rgba(215, 255, 79, 0.18);
  --white: #fdfcf8;
  --green: #58d68d;

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --max: 1240px;
  --gutter: 24px;
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 76px;
  --section-pad: clamp(76px, 8.5vw, 128px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.section--dark :focus-visible {
  outline-color: var(--lime);
}
.nav--dark :focus-visible,
.footer :focus-visible {
  outline-color: var(--lime);
}

/* Very subtle paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.1rem, 7.1vw, 6.6rem);
  line-height: 0.94;
}
h2 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 0.98;
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}
p {
  text-wrap: pretty;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-soft);
  flex: none;
}
.section--dark .eyebrow,
.on-dark .eyebrow {
  color: #b5b1a4;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-pad);
}
.section--tight {
  padding-block: clamp(48px, 5vw, 76px);
}
.section--tint {
  background: var(--paper-2);
}
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark .muted,
.on-dark .muted {
  color: #a6a296;
}
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section__head h2 {
  max-width: 15ch;
}
.section__head .eyebrow {
  margin-bottom: 20px;
}
.section__lede {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 42ch;
}
.section--dark .section__lede {
  color: #a6a296;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s ease,
    border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px);
}
.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover {
  background: #000;
  box-shadow: 0 12px 24px -12px rgba(17, 17, 13, 0.6);
}
.btn--lime {
  background: var(--lime);
  color: var(--ink);
}
.btn--lime:hover {
  background: #e2ff7c;
  box-shadow: 0 12px 30px -12px rgba(215, 255, 79, 0.55);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(17, 17, 13, 0.04);
}
.section--dark .btn--ghost {
  border-color: rgba(244, 241, 234, 0.3);
  color: var(--paper);
}
.section--dark .btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(244, 241, 234, 0.06);
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: gap 0.25s var(--ease), border-color 0.25s ease;
}
.link-arrow:hover {
  gap: 14px;
  border-color: currentColor;
}
.link-arrow svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.section--dark .link-arrow {
  border-color: rgba(244, 241, 234, 0.3);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height 0.35s var(--ease), background-color 0.35s ease,
    border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(244, 241, 234, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.nav--dark.is-scrolled {
  background: rgba(17, 17, 13, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}
.nav--dark .brand img {
  filter: invert(1) brightness(1.08);
}
.nav--dark .nav__links a {
  color: #a6a296;
}
.nav--dark .nav__links a:hover {
  color: var(--paper);
}
.nav--dark .nav__links a::after {
  background: var(--lime);
}
.nav--dark .nav__mail {
  color: #a6a296;
}
.nav--dark .nav__mail:hover {
  color: var(--paper);
}
.nav--dark .nav__toggle {
  border-color: rgba(255, 255, 255, 0.3);
}
.nav--dark .nav__toggle span {
  background: var(--paper);
}
.nav--dark .btn--ink {
  background: var(--lime);
  color: var(--ink);
}
.nav.nav--menu {
  background: var(--paper) !important;
  border-color: var(--line) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav.nav--menu .brand img {
  filter: none !important;
}
.nav.nav--menu .nav__toggle span {
  background: var(--ink) !important;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: 132px;
  height: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}
.nav__links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.3s var(--ease);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a:hover::after {
  right: 0;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__mail {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 8px 4px;
}
.nav__mail:hover {
  color: var(--ink);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--paper);
  padding: calc(var(--nav-h) + 16px) 24px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease),
    visibility 0.3s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.mobile-menu__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.mobile-menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.mobile-menu__links a span {
  color: var(--muted-2);
  font-size: 18px;
}
.mobile-menu__foot {
  margin-top: auto;
  display: grid;
  gap: 16px;
  padding-top: 24px;
}
.mobile-menu__foot a {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 6vw, 84px);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 90% 75% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 60% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero__copy {
  max-width: 640px;
}
.hero .eyebrow {
  margin-bottom: 26px;
}
.hero h1 {
  margin-bottom: 28px;
}
.hero h1 .serif {
  display: inline-block;
  color: var(--ink);
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 100% 0.16em;
  background-position: 0 88%;
}
.hero__lede {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.68;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 13px;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg {
  width: 14px;
  height: 14px;
  color: var(--ink);
  flex: none;
}

/* Hero console */
.hero__visual {
  position: relative;
  isolation: isolate;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  background: radial-gradient(
    circle at 62% 35%,
    rgba(215, 255, 79, 0.42),
    rgba(215, 255, 79, 0) 62%
  );
  filter: blur(28px);
  z-index: -1;
}
.console {
  position: relative;
  background: var(--ink);
  color: #e9e6dc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 44px 90px -34px rgba(17, 17, 13, 0.62),
    0 2px 0 rgba(255, 255, 255, 0.05) inset;
  font-size: 12.5px;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 14px;
}
.console__dots {
  display: flex;
  gap: 5px;
}
.console__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.console__dots i:first-child {
  background: rgba(215, 255, 79, 0.7);
}
.console__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f8c81;
}
.console__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b4b0a4;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.console__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(88, 214, 141, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
.console__screen {
  background: #151511;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  padding: 16px;
}
.console__section-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #76736a;
  margin-bottom: 12px;
}
.model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px 38px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.model:last-of-type {
  border-bottom: 0;
}
.model__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #dbd8ce;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.model__name b {
  font-weight: 500;
}
.model__name em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: #8c887d;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px 5px;
  flex: none;
}
.model__bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.model__bar i {
  display: block;
  height: 100%;
  width: var(--w, 60%);
  background: var(--lime);
  border-radius: inherit;
  transform-origin: left;
  animation: bar-in 1.4s var(--ease) both;
}
.model__pct {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #8c887d;
  text-align: right;
}
.console__terminal {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.85;
  color: #a9a69a;
}
.console__terminal .ok {
  color: var(--lime);
}
.console__terminal .dim {
  color: #6a675e;
}
.console__cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: var(--lime);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1.1s steps(2, start) infinite;
}
.console__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.console__foot div {
  background: #151511;
  padding: 10px 11px;
}
.console__foot span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #76736a;
  margin-bottom: 4px;
}
.console__foot b {
  font-size: 12px;
  font-weight: 500;
  color: #dbd8ce;
}
.float-card {
  position: relative;
  margin: -12px 18px 0 auto;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 44px -18px rgba(17, 17, 13, 0.35);
}
.float-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  flex: none;
}
.float-card__icon svg {
  width: 16px;
  height: 16px;
}
.float-card b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.float-card span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: #cfcbbf;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}
.marquee__group span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee__group i {
  color: var(--lime);
  font-style: normal;
  font-size: 10px;
}

/* ---------- Stats ---------- */
.stats {
  padding-block: clamp(40px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 10px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child {
  border-left: 0;
  padding-left: 0;
}
.stat b {
  display: block;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  display: block;
  max-width: 22ch;
}

/* ---------- Services ---------- */
.services {
  border-bottom: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 56px;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 42px) clamp(6px, 1.4vw, 18px);
  border-top: 1px solid var(--line);
  border-radius: 4px;
  transition: background-color 0.3s ease, padding-left 0.35s var(--ease);
}
.service-row:hover {
  background: rgba(17, 17, 13, 0.035);
  padding-left: clamp(14px, 2.4vw, 30px);
}
.service-row__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  padding-top: 9px;
}
.service-row__main h3 {
  margin-bottom: 12px;
}
.service-row__main p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
  max-width: 62ch;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.22);
}
.service-row__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  justify-self: end;
  transition: background-color 0.3s ease, color 0.3s ease,
    transform 0.35s var(--ease);
}
.service-row__arrow svg {
  width: 17px;
  height: 17px;
}
.service-row:hover .service-row__arrow {
  background: var(--ink);
  color: var(--lime);
  transform: rotate(45deg);
}
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.inline-cta a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.inline-cta a:hover {
  border-color: var(--ink);
}

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.product {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}
.product--wide {
  grid-column: span 7;
}
.product--narrow {
  grid-column: span 5;
}
.product__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbc7bb;
}
.pill--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 600;
}
.product__meta .mono {
  color: #8d897d;
}
.product h3 {
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  margin-bottom: 10px;
}
.product p {
  color: #a6a296;
  font-size: 14px;
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: 22px;
}
.product .link-arrow {
  margin-top: auto;
  align-self: flex-start;
  color: var(--paper);
}
.product__visual {
  margin-top: 22px;
  background: #10100d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.editor__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.editor__bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.editor__bar span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #8d897d;
  margin-left: 4px;
}
.editor__code {
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.9;
  color: #b9b5a9;
  overflow: hidden;
}
.editor__code .ln {
  color: #4b4941;
  display: inline-block;
  width: 20px;
  user-select: none;
}
.editor__code .k {
  color: #d7ff4f;
}
.editor__code .s {
  color: #e6b980;
}
.editor__code .c {
  color: #8d897d;
}
.agent {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #8c887d;
}
.agent i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s infinite;
}
.plan {
  margin-top: 22px;
  background: #10100d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}
.plan__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #c4c0b4;
}
.plan__row:last-child {
  border-bottom: 0;
}
.plan__row .box {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  flex: none;
}
.plan__row.done .box {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.plan__row.done .box svg {
  width: 10px;
  height: 10px;
}
.plan__row .meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #6f6c63;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.product-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 18px 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbc7bb;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.3s var(--ease);
}
.product-list a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 18px;
}
.product-list a:hover {
  color: #fff;
}
.product-list a svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: #77746a;
}
.product-list a:hover svg {
  color: var(--lime);
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.steps li {
  position: relative;
  padding-top: 78px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
}
.steps__num {
  position: absolute;
  top: -1px;
  left: 0;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.steps li:nth-child(2) .steps__num {
  background: var(--lime);
  border-color: var(--lime);
}
.steps h3 {
  margin-bottom: 12px;
}
.steps p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.68;
  max-width: 34ch;
}
.steps__meta {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Proof ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.proof-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -30px rgba(17, 17, 13, 0.35);
}
.proof-card .pill {
  align-self: flex-start;
  border-color: var(--line-strong);
  color: var(--muted);
  margin-bottom: 18px;
}
.proof-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.proof-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.proof-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(44px, 5vw, 68px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
}
.quote footer {
  margin-top: auto;
  padding-top: 10px;
}
.quote::before {
  content: "“";
  display: block;
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 0.6;
  color: var(--ink);
  margin-bottom: 14px;
}
.quote p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.quote footer {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.quote .stars {
  color: var(--ink);
  letter-spacing: 2px;
  font-size: 11px;
  margin-bottom: 10px;
}

/* ---------- Book ---------- */
.book {
  background: var(--paper-2);
  overflow: hidden;
}
.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.book__art {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(32px, 5vw, 64px);
  background: radial-gradient(
      circle at 50% 40%,
      rgba(255, 255, 255, 0.8),
      transparent 65%
    ),
    var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 26px;
}
.book__art img {
  width: min(300px, 78%);
  border-radius: 4px;
  box-shadow: 0 34px 60px -28px rgba(17, 17, 13, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.4) inset;
  transform: rotate(-2.5deg);
  transition: transform 0.5s var(--ease);
}
.book__art:hover img {
  transform: rotate(0deg) translateY(-4px);
}
.book__sticker {
  position: absolute;
  right: 20px;
  bottom: 22px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px -12px rgba(17, 17, 13, 0.4);
  transform: rotate(2deg);
}
.book__copy .eyebrow {
  margin-bottom: 18px;
}
.book__copy h2 {
  margin-bottom: 20px;
  max-width: 16ch;
}
.book__copy > p {
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
}
.book__list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
}
.book__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.book__list svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 4px;
}
.book__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.signature__mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.signature small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ---------- Community ---------- */
.community {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.community__head h2 {
  margin-top: 18px;
  max-width: 12ch;
}
.community__head p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 38ch;
  font-size: 14.5px;
}
.community__grid {
  display: grid;
}
.community__item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}
.community__item:last-child {
  border-bottom: 1px solid var(--line);
}
.community__item:hover {
  padding-left: 8px;
}
.community__item span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  padding-top: 3px;
}
.community__item h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.community__item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.community__item svg {
  width: 15px;
  height: 15px;
  color: var(--muted-2);
  justify-self: end;
  margin-top: 4px;
}
.community__item:hover svg {
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.faq__head {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.faq__head h2 {
  margin: 18px 0 18px;
  max-width: 10ch;
}
.faq__head p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 30ch;
}
.faq__head a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--muted);
}
.faq-item__icon {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex: none;
  transition: transform 0.35s var(--ease), background-color 0.3s ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}
.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--lime);
  border-color: var(--lime);
}
.faq-item__body {
  padding: 0 56px 24px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 68ch;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: clip;
}
.contact::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -260px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(215, 255, 79, 0.14),
    transparent 68%
  );
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact__copy h2 {
  margin: 18px 0 20px;
  max-width: 12ch;
}
.contact__copy > p {
  color: #a6a296;
  max-width: 40ch;
  line-height: 1.7;
}
.contact__details {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact__details a {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.contact__details a:hover {
  color: var(--lime);
}
.contact__details span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a6a296;
  font-size: 13px;
}
.contact__details svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #77746a;
}
.contact__next {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.contact__next li {
  display: flex;
  gap: 12px;
  color: #c8c4b8;
  font-size: 13.5px;
  line-height: 1.5;
}
.contact__next b {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--lime);
  padding-top: 3px;
  flex: none;
}
.form {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a6a296;
  margin-bottom: 8px;
}
.field label .req {
  color: var(--lime);
}
.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  color: #77746a;
  font-family: var(--font-sans);
  font-size: 11px;
}
.field input,
.field textarea {
  width: 100%;
  background: #12120f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 13px 15px;
  min-height: 48px;
  color: var(--paper);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #8d897d;
}
.field input:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.24);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: #0e0e0b;
  box-shadow: 0 0 0 3px rgba(215, 255, 79, 0.14);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #ff7a6b;
}
.field--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}
.field--check input {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  min-height: 0;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: #12120f;
  flex: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.field--check input:checked {
  background: var(--lime);
  border-color: var(--lime);
}
.field--check input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-1px) rotate(-45deg);
}
.field--check label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  color: #a6a296;
  line-height: 1.5;
}
.field--check a {
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form__submit {
  width: 100%;
}
.form__submit[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.form__status {
  min-height: 20px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #a6a296;
}
.form__status.is-success {
  color: var(--lime);
}
.form__status.is-error {
  color: #ff9a8f;
}
.form__fallback {
  margin-top: 12px;
  font-size: 11.5px;
  color: #8d897d;
}
.form__fallback a {
  color: #c8c4b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #a6a296;
  padding: clamp(56px, 7vw, 88px) 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.9fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__brand img {
  width: 140px;
  margin-bottom: 18px;
  filter: invert(1) brightness(1.08);
}
.footer__brand p {
  font-size: 13px;
  max-width: 28ch;
  color: #8d897d;
  line-height: 1.6;
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c8c4b8;
}
.footer__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(88, 214, 141, 0.16);
  animation: pulse 2.6s infinite;
}
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d897d;
  margin-bottom: 18px;
}
.footer__col ul {
  display: grid;
  gap: 10px;
}
.footer__col a {
  font-size: 13.5px;
  color: #c8c4b8;
  transition: color 0.2s ease;
}
.footer__col a:hover {
  color: var(--lime);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: #8d897d;
}
.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer__bottom a {
  color: #8d897d;
}
.footer__bottom a:hover {
  color: var(--paper);
}

/* ---------- Book / blog page shared bits ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(44px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 16ch;
  margin: 18px 0 20px;
}
.page-hero p {
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.7;
}
.prose {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(48px, 6vw, 80px);
}
.prose h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 40px 0 14px;
  letter-spacing: -0.03em;
}
.prose h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.prose p,
.prose li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 18px;
}
.prose a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
}
.prose strong {
  color: var(--ink);
}
.prose .legal-card {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.prose .legal-card:first-of-type {
  border-top: 0;
}

/* Book page */
.book-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(56px, 7vw, 96px);
}
.book-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.book-hero__art {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 35%, #fff 0%, var(--paper-3) 70%);
  border: 1px solid var(--line);
}
.book-hero__art img {
  width: min(340px, 82%);
  border-radius: 4px;
  box-shadow: 0 34px 60px -28px rgba(17, 17, 13, 0.5);
  transform: rotate(-2deg);
}
.book-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.book-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 5rem);
}
.book-hero__lede {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.7;
  max-width: 50ch;
}
.book-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 26px 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.book-hero__facts div strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.book-hero__facts div span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.price-card--featured .muted,
.price-card--featured .price-card__list li {
  color: #a6a296;
}
.price-card .pill {
  align-self: flex-start;
  border-color: var(--line-strong);
  color: var(--muted);
  margin-bottom: 18px;
}
.price-card--featured .pill {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}
.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.price-card__price {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 10px 0 6px;
}
.price-card__price small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.price-card__list {
  display: grid;
  gap: 9px;
  margin: 20px 0 26px;
}
.price-card__list li {
  display: flex;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.price-card__list svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 2px;
  color: var(--ink);
}
.price-card--featured .price-card__list svg {
  color: var(--lime);
}
.price-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Blog page */
.post-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.post-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 44px;
  gap: 24px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease), background-color 0.3s ease;
}
.post-row:hover {
  padding-left: 12px;
  background: rgba(17, 17, 13, 0.03);
}
.post-row__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.post-row h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.post-row p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 70ch;
}
.post-row__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.post-row:hover .post-row__arrow {
  background: var(--ink);
  color: var(--lime);
}
.post-row__arrow svg {
  width: 14px;
  height: 14px;
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Keyframes ---------- */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes bar-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .nav__mail {
    display: none;
  }
  .hero__grid {
    gap: 44px;
  }
}

@media (max-width: 980px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__actions .btn {
    display: none;
  }
  .hero {
    min-height: 0;
    padding-bottom: 56px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .hero__copy {
    max-width: 720px;
  }
  .hero__visual {
    max-width: 620px;
    width: 100%;
  }
  .section__head {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }
  .section__head h2 {
    max-width: 18ch;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .product--wide,
  .product--narrow {
    grid-column: auto;
  }
  .proof-grid,
  .quotes {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .quotes {
    gap: 30px;
  }
  .book__grid,
  .book-hero__grid,
  .community,
  .faq__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .book__art {
    order: -1;
  }
  .faq__head {
    position: static;
  }
  .faq__head h2 {
    max-width: 14ch;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }
  .stat {
    padding: 6px 18px;
  }
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .steps li {
    padding-top: 62px;
  }
  .steps__num {
    width: 46px;
    height: 46px;
  }
  .steps p {
    max-width: 46ch;
  }
  .product-list {
    grid-template-columns: 1fr;
  }
  .product-list a + a {
    border-left: 0;
    padding-left: 0;
  }
  .book__art {
    padding: 30px;
  }
  .book__sticker {
    right: 12px;
    bottom: 12px;
  }
  .post-row {
    grid-template-columns: 1fr 40px;
    gap: 14px;
  }
  .post-row__tag {
    grid-column: 1 / -1;
  }
  .service-row {
    grid-template-columns: 1fr 44px;
    gap: 14px;
  }
  .service-row__num {
    display: none;
  }
  .service-row__arrow {
    width: 44px;
    height: 44px;
  }
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
  }
  .hero__actions .btn,
  .book__actions .btn {
    width: 100%;
  }
  .hero__actions,
  .book__actions {
    gap: 10px;
  }
  .hero__trust {
    gap: 8px 14px;
    font-size: 12px;
  }
  .console {
    font-size: 11.5px;
  }
  .console__foot {
    grid-template-columns: repeat(3, 1fr);
  }
  .console__foot div {
    padding: 8px 9px;
  }
  .console__foot b {
    font-size: 11px;
  }
  .console__foot span {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
  .float-card {
    margin: -10px 10px 0 auto;
    padding: 10px 13px;
  }
  .float-card b {
    font-size: 11.5px;
  }
  .float-card span {
    font-size: 10px;
  }
  .stat b {
    font-size: 2rem;
  }
  .stat span {
    font-size: 11px;
  }
  .book-hero__facts {
    gap: 18px;
  }
  .faq-item__body {
    padding-right: 0;
  }
  .brand img {
    width: 118px;
  }
}

/* ---------- Print ---------- */
@media print {
  .nav,
  .mobile-menu,
  .marquee,
  .float-card,
  .form,
  .footer {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .hero {
    min-height: 0;
  }
}

/* Light-page pill (book hero) */
.book-hero__meta .pill:not(.pill--lime) {
  border-color: var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 380px) {
  .model {
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 8px;
  }
  .model__pct {
    display: none;
  }
  .console__screen {
    padding: 13px;
  }
}

/* ---------- Loading screen ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  animation: loader-auto-hide 0.01s linear 2.6s forwards;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.loader__inner {
  display: grid;
  place-items: center;
  gap: 20px;
  text-align: center;
}
.loader__logo {
  width: 150px;
  height: auto;
  filter: invert(1) brightness(1.08);
}
.loader__bar {
  width: 190px;
  height: 2px;
  border-radius: 99px;
  background: rgba(244, 241, 234, 0.14);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  width: 38%;
  background: var(--lime);
  animation: loader-bar 1.05s var(--ease) infinite;
}
.loader__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d897d;
}
@keyframes loader-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(330%); }
}
@keyframes loader-auto-hide {
  to { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
}

/* ---------- Turnstile ---------- */
.turnstile-wrap {
  margin: 10px 0 16px;
  min-height: 65px;
  display: block;
}
.turnstile-wrap .cf-turnstile {
  max-width: 100%;
}

/* ---------- Hero model names on small screens ---------- */
@media (max-width: 520px) {
  .model {
    grid-template-columns: minmax(0, 1fr) 70px 34px;
    gap: 8px;
  }
  .model__name {
    font-size: 11px;
  }
  .model__name em {
    display: none;
  }
}
@media (max-width: 380px) {
  .model__name {
    font-size: 10.5px;
  }
}

.loader {
  pointer-events: none;
}
.turnstile-note {
  margin: -4px 0 18px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #8d897d;
}
.turnstile-note a {
  color: #c8c4b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---------- Blog post pages ---------- */
.post-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
}
.post-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  transition: width 0.1s linear;
}
.post-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 6vw, 84px));
  padding-bottom: clamp(36px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-back:hover {
  color: var(--ink);
}
.post-hero .eyebrow {
  display: flex;
}
.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.post-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 20ch;
  margin-bottom: 20px;
}
.post-hero__lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.post-tags li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
}
.post-body {
  padding-block: clamp(40px, 5vw, 64px);
}
.prose .callout {
  margin: 0 0 30px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, rgba(215, 255, 79, 0.18), rgba(215, 255, 79, 0.04));
}
.prose .callout p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}
.prose blockquote {
  margin: 28px 0;
  padding: 8px 0 8px 24px;
  border-left: 2px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
}
.prose blockquote p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.prose pre {
  margin: 26px 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: 12px;
  background: var(--ink);
  color: #dbd8ce;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(17, 17, 13, 0.06);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.prose table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 13.5px;
}
.prose th,
.prose td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.prose img {
  border-radius: 12px;
  margin: 28px 0;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}
.prose .post-sources {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
}
.post-inline-cta {
  margin: 34px 0;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}
.post-inline-cta h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: 8px;
}
.post-inline-cta p {
  margin: 0;
  color: #a6a296;
  font-size: 14px;
  line-height: 1.65;
  max-width: 56ch;
}
.post-inline-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.post-inline-cta .btn--ghost {
  border-color: rgba(244, 241, 234, 0.3);
  color: var(--paper);
}
.post-inline-cta .btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(244, 241, 234, 0.06);
}
.post-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 28px 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .post-hero {
    padding-top: calc(var(--nav-h) + 40px);
  }
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Active nav state */
.nav__links a[aria-current="page"] {
  color: var(--ink);
}
.nav__links a[aria-current="page"]::after {
  right: 0;
  height: 2px;
  background: var(--lime);
}

/* ---------- Second book / co-author ---------- */
.book-hero__also {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.book-hero__also a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.book-hero__also a:hover {
  border-color: var(--ink);
}
.ai-dictionary {
  border-top: 1px solid var(--line);
}
.book__art--dark {
  background: radial-gradient(circle at 50% 35%, #26261e, #12120f 70%);
  border-color: rgba(17, 17, 13, 0.4);
}
.book__art--dark img {
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.coauthor {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
}
.coauthor__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  flex: none;
}
.coauthor b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.coauthor > div span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.coauthor__mark {
  color: var(--lime);
  line-height: 1;
}
.book-also {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: inherit;
}
.book-also img {
  width: 44px;
  height: 66px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
  box-shadow: 0 10px 20px -10px rgba(17, 17, 13, 0.5);
}
.book-also__copy {
  display: grid;
  gap: 2px;
}
.book-also__copy b {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.book-also__copy span {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}
.book-also svg {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--muted-2);
  flex: none;
}
.book-also:hover svg {
  color: var(--ink);
}

.price-card--featured .price-card__price small {
  color: #a6a296;
}

/* ---------- A-Coder ecosystem ---------- */
.ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: center;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}
.ecosystem__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ecosystem__item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 14px;
}
.ecosystem__item:first-child {
  border-left: 0;
  padding-left: 0;
}
.ecosystem__item span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #8d897d;
}
.ecosystem__item b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.ecosystem__item small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #8d897d;
}
.ecosystem__made {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a6a296;
}
.ecosystem__made .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.ecosystem__quote {
  margin: 0;
  max-width: 22ch;
  justify-self: end;
  text-align: right;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  line-height: 1.3;
  color: var(--paper);
}

/* A-Coder IDE mock */
.ide {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 186px;
}
.ide__tree {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #8d897d;
}
.ide__tree span {
  padding: 3px 5px;
  border-radius: 3px;
}
.ide__tree .active {
  background: rgba(215, 255, 79, 0.12);
  color: var(--lime);
}
.ide__code {
  min-width: 0;
  padding: 12px;
}
.ide__code .ln {
  width: 16px;
}

/* A-Coder CLI mock */
.terminal {
  min-height: 186px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.9;
  color: #b9b5a9;
}
.terminal .prompt,
.terminal .ok {
  color: var(--lime);
}
.terminal .s {
  color: #e6b980;
}

/* A-Coder Desktop mock */
.desktop {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #10100d;
}
.plan--window {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* A-Coder Mobile mock */
.product__visual--center {
  display: grid;
  place-items: center;
  padding: 22px;
}
.phone {
  width: 176px;
  height: 276px;
  margin: 8px auto;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: #0b0b09;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #151511;
}
.phone__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d897d;
}
.phone__top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.phone__msg {
  max-width: 94%;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
  line-height: 1.45;
  color: #b9b5a9;
}
.phone__msg--user {
  align-self: flex-end;
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}
.phone__msg--ok {
  border-color: rgba(215, 255, 79, 0.25);
  color: var(--lime);
}

@media (max-width: 980px) {
  .ecosystem {
    grid-template-columns: 1fr;
  }
  .ecosystem__quote {
    justify-self: start;
    max-width: 30ch;
    text-align: left;
  }
}
@media (max-width: 760px) {
  .ecosystem__items {
    grid-template-columns: repeat(2, 1fr);
  }
  .ecosystem__item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 520px) {
  .ide {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .ide__tree {
    padding: 10px 8px;
    font-size: 9px;
  }
  .ide__code {
    padding: 10px;
  }
  .phone {
    width: 154px;
    height: 244px;
  }
  .ecosystem {
    padding: 22px;
  }
}

/* ---------- Service pages ---------- */
.service-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.service-hero h1 {
  max-width: 17ch;
  margin: 18px 0 22px;
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
}
.service-hero__lede {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}
.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.service-facts {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
}
.service-facts__label {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.service-facts dl {
  display: grid;
  gap: 14px;
  margin: 0;
}
.service-facts dl > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.service-facts dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.service-facts dt {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.service-facts dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.capability {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.capability__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}
.capability h3 {
  margin: 12px 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.capability p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.service-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}
.checklist li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.checklist svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 4px;
  color: var(--ink);
}
.service-quote {
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--lime);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
}
.service-quote footer {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.arch {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
}
.arch__box {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #1a1a15;
}
.arch__box b {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--paper);
}
.arch__box span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: #8d897d;
}
.arch__arrow {
  text-align: center;
  color: var(--lime);
  font-size: 13px;
  line-height: 1;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.option {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
}
.option h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.option p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.tier {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.tier--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.tier--featured .tier__meta,
.tier--featured li {
  color: #a6a296;
}
.tier__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tier h3 {
  margin: 10px 0 6px;
  font-size: 1.35rem;
}
.tier__meta {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.tier ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
}
.tier li {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.tier li::before {
  content: "·";
  color: var(--ink);
}
.tier--featured li::before {
  color: var(--lime);
}
.tier .btn {
  width: 100%;
  margin-top: auto;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.related {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.related:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.related span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
}
.related b {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.related svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--muted-2);
}
.related:hover svg {
  color: var(--ink);
}

@media (max-width: 980px) {
  .service-hero__grid,
  .service-split {
    grid-template-columns: 1fr;
  }
  .capability-grid,
  .tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .capability-grid,
  .tier-grid,
  .related-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }
  .service-hero {
    padding-top: calc(var(--nav-h) + 40px);
  }
}

.service-hero .eyebrow {
  display: flex;
}

.tier--featured .tier__tag {
  color: #8d897d;
}
.tier--featured li {
  color: #a6a296;
}

.related-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}
