/* ============================================================
   TSC Cloud — design system
   Warm paper light theme, ink-black primary, restrained accent.
   ============================================================ */

:root {
  --bg: #FAF9F6;
  --bg-alt: #F3F1EA;
  --surface: #FFFFFF;
  --ink: #0A0F1E;
  --ink-soft: #2A3345;
  --muted: #616B7C;
  --dim: #8B93A3;
  --line: #E5E1D8;
  --line-strong: #D6D1C4;
  --accent: #3B4EF0;
  --accent-2: #8B5CF6;
  --warm: #E2703A;
  --ok: #12805C;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(10, 15, 30, .05);
  --shadow-md: 0 8px 24px -12px rgba(10, 15, 30, .18);
  --shadow-lg: 0 32px 64px -32px rgba(10, 15, 30, .35);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.022em; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.mono { font-family: var(--mono); font-size: .82em; letter-spacing: -.01em; }
.dim { color: var(--dim); }
.muted { color: var(--dim); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  font-size: 14.5px; font-weight: 550; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #16203a; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: rgba(10, 15, 30, .03); transform: translateY(-1px); }

.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { background: rgba(10, 15, 30, .05); }

.arw { transition: transform .18s ease; display: inline-block; }
.btn:hover .arw, .link-arrow:hover .arw { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 550; color: var(--accent);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--accent); }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 246, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(250, 249, 246, .94); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; color: var(--ink); }
.brand-word { font-size: 16.5px; font-weight: 600; letter-spacing: -.03em; }
.brand-dot { color: var(--accent); margin: 0 1px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-soft); font-weight: 450;
  transition: color .16s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; }
.burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }

/* ---------- eyebrow / headings ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 78, 240, .14);
}

h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); text-wrap: balance; }
.sec-sub { margin-top: 14px; font-size: 16.5px; color: var(--muted); max-width: 62ch; line-height: 1.65; text-wrap: pretty; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: 76px 0 84px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 720px;
  background:
    radial-gradient(48% 54% at 22% 32%, rgba(59, 78, 240, .16), transparent 70%),
    radial-gradient(42% 48% at 78% 18%, rgba(139, 92, 246, .14), transparent 72%),
    radial-gradient(34% 40% at 60% 62%, rgba(226, 112, 58, .10), transparent 74%);
  filter: blur(6px); pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 15, 30, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 15, 30, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 52px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.45rem);
  font-weight: 600; letter-spacing: -.035em; line-height: 1.07;
  margin-bottom: 22px;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(96deg, var(--ink) 8%, #3B4EF0 58%, #8B5CF6 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 17px; color: var(--muted); max-width: 54ch; line-height: 1.68; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-meta li {
  font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; background: rgba(255, 255, 255, .6);
}

/* hero console card */

.hero-card {
  background: #0B1220;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10, 15, 30, .04);
  overflow: hidden;
  min-width: 0; max-width: 100%;
  transform: perspective(1400px) rotateY(-2.4deg) rotateX(1.2deg);
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.hero-card:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.hero-copy { min-width: 0; }

.card-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .02);
}
.cb-dots { display: inline-flex; gap: 5px; }
.cb-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.cb-title { color: rgba(255, 255, 255, .48); font-family: var(--mono); font-size: 11.5px; }

.code {
  margin: 0; padding: 20px;
  font-family: var(--mono); font-size: 12.4px; line-height: 1.78;
  color: #C9D3E4; overflow-x: auto; max-width: 100%;
  white-space: pre; tab-size: 2;
}
.code .c-key { color: #8B9DFF; }
.code .c-str { color: #9EE6B8; }
.code .c-num { color: #FFB86B; }

.card-resp {
  display: flex; align-items: center; gap: 12px;
  padding: 0 20px 16px;
}
.status-pill {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: #9EE6B8; background: rgba(158, 230, 184, .1);
  border: 1px solid rgba(158, 230, 184, .22);
  padding: 3px 9px; border-radius: 999px;
}
.card-resp .dim { color: rgba(255, 255, 255, .38); font-size: 11.5px; }

.card-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .02);
}
.card-strip > div { padding: 12px 16px; border-right: 1px solid rgba(255, 255, 255, .06); }
.card-strip > div:last-child { border-right: 0; }
.card-strip .k { display: block; color: rgba(255, 255, 255, .38); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.card-strip .v { display: block; color: #E8EDF7; font-size: 13px; margin-top: 3px; }

/* ---------- stats ---------- */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .45); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num {
  display: block; font-size: 34px; font-weight: 600; letter-spacing: -.04em;
  line-height: 1; margin-bottom: 9px;
}
.stat-num .unit { font-size: .55em; color: var(--muted); margin-left: 1px; }
.stat-label { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; max-width: 30ch; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 44px; }

/* ---------- models ---------- */

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.model {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px; height: 100%;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.model:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.model-hero {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF8 100%);
  border-color: var(--line-strong);
  padding: 30px 32px;
}
.model-hero .specs { grid-template-columns: repeat(6, 1fr); }

.model-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.model h3 { font-size: 18.5px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.model-hero h3 { font-size: 22px; }
.model-desc { margin-top: 9px; font-size: 14.2px; color: var(--muted); line-height: 1.6; max-width: 62ch; }

.model-price { text-align: right; flex-shrink: 0; }
.model-price .from { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-family: var(--mono); }
.model-price .amt { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin-top: 2px; }
.model-price .per { display: block; font-size: 11.5px; color: var(--dim); }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); margin-bottom: 3px; }
.specs dd { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }

.tag {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent); background: rgba(59, 78, 240, .08);
  border: 1px solid rgba(59, 78, 240, .18);
  padding: 2px 7px; border-radius: 5px;
}
.tag-sm { font-size: 9.5px; padding: 1px 5px; }

.note { font-size: 12.8px; color: var(--dim); margin-top: 22px; line-height: 1.6; max-width: 88ch; }
.note a { color: var(--accent); border-bottom: 1px solid rgba(59, 78, 240, .28); }

/* ---------- integration ---------- */

.int-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: start; }
.int-grid > * { min-width: 0; }
.int-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); max-width: 24ch; }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.8px; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 14px; height: 8px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.int-copy .link-arrow { margin-top: 26px; }

.int-code { background: #0B1220; border-radius: var(--r-md); border: 1px solid rgba(10, 15, 30, .1); overflow: hidden; min-width: 0; max-width: 100%; box-shadow: var(--shadow-md); }
.tabs { display: flex; gap: 2px; padding: 10px 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.tab {
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .42);
  padding: 8px 13px; border-radius: 7px 7px 0 0;
  transition: color .16s ease, background .16s ease;
}
.tab:hover { color: rgba(255, 255, 255, .75); }
.tab.is-active { color: #E8EDF7; background: rgba(255, 255, 255, .06); }
.code-block { border-radius: 0; }
.code-block.is-hidden { display: none; }
.code-note { color: rgba(255, 255, 255, .34); font-size: 11px; padding: 0 20px 16px; }

/* ---------- pricing ---------- */

.table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.2px; }
.ptable th, .ptable td { padding: 16px 18px; text-align: right; border-bottom: 1px solid var(--line); }
.ptable thead th {
  background: #FBFAF7; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--dim); font-weight: 500; font-family: var(--mono); white-space: nowrap;
}
.ptable thead th:first-child, .ptable tbody th { text-align: left; }
.ptable tbody th { font-weight: 550; font-size: 14.5px; white-space: nowrap; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:hover { background: #FCFBF8; }
.row-em { background: rgba(59, 78, 240, .035); }
.ptable td .dim { font-size: 11.5px; }

.price-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-top: 8px; }
.price-foot .note { margin-top: 14px; }

/* ---------- why (dark) ---------- */

.section-dark { background: #0A0F1E; color: #F2F1EC; }
.section-dark .eyebrow { color: rgba(242, 241, 236, .52); }
.section-dark .eyebrow .dot { background: #8B9DFF; box-shadow: 0 0 0 3px rgba(139, 157, 255, .18); }
.sec-head-dark h2 { max-width: 26ch; }
.sec-head-dark { margin-bottom: 52px; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-md); overflow: hidden; }
.why { background: #0A0F1E; padding: 34px; transition: background .22s ease; }
.why:hover { background: #0E1526; }
.why-ico { font-family: var(--mono); font-size: 11.5px; color: #8B9DFF; letter-spacing: .1em; }
.why h3 { margin: 14px 0 10px; font-size: 17.5px; font-weight: 550; }
.why p { font-size: 14.4px; color: rgba(242, 241, 236, .62); line-height: 1.68; }

/* ---------- solutions ---------- */

.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sol {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px; position: relative; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sol::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(59, 78, 240, .1), transparent 68%);
  opacity: 0; transition: opacity .3s ease;
}
.sol:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sol:hover::after { opacity: 1; }
.sol h3 { font-size: 17px; margin-bottom: 9px; }
.sol p { font-size: 14.4px; color: var(--muted); line-height: 1.68; max-width: 46ch; }

/* ---------- faq ---------- */

.faq-wrap { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; position: sticky; top: 96px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative;
  font-size: 16px; font-weight: 550; letter-spacing: -.01em;
  transition: color .16s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body { padding: 0 34px 22px 0; }
.faq-body p { font-size: 14.6px; color: var(--muted); line-height: 1.7; max-width: 62ch; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.contact-facts { margin-top: 36px; display: grid; gap: 18px; }
.contact-facts div { display: grid; gap: 3px; }
.contact-facts dt { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--dim); }
.contact-facts dd { font-size: 15px; color: var(--ink-soft); }
.contact-facts a { border-bottom: 1px solid var(--line-strong); }
.contact-facts a:hover { border-color: var(--accent); color: var(--accent); }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px; display: grid; gap: 16px; box-shadow: var(--shadow-sm);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 12.5px; font-weight: 550; color: var(--ink-soft); letter-spacing: -.005em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: #FBFAF7; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 13px; width: 100%; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 78, 240, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #A6ADBA; }
.form .btn { margin-top: 4px; }
.form-note { font-size: 12px; color: var(--dim); text-align: center; }
.form-status { font-size: 13.5px; color: var(--ok); text-align: center; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); background: #FBFAF7; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 56px; flex-wrap: wrap; }
.footer-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.65; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--dim); font-weight: 500; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 13.8px; color: var(--ink-soft); padding: 4px 0; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.footer-bottom .dim { max-width: 58ch; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- legal / docs shared ---------- */

.doc-hero { padding: 64px 0 44px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.doc-body { padding: 56px 0 96px; }
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.prose p { font-size: 15.2px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 18px; font-size: 15px; color: var(--muted); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.prose code { font-family: var(--mono); font-size: .88em; background: rgba(10, 15, 30, .05); padding: 1.5px 5px; border-radius: 4px; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(59, 78, 240, .3); }
.updated { font-family: var(--mono); font-size: 12px; color: var(--dim); }

.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.docs-side { position: sticky; top: 92px; display: grid; gap: 4px; }
.docs-side h4 { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--dim); margin: 18px 0 8px; font-weight: 500; }
.docs-side h4:first-child { margin-top: 0; }
.docs-side a { font-size: 13.8px; color: var(--muted); padding: 5px 10px; border-radius: 6px; border-left: 2px solid transparent; }
.docs-side a:hover { background: rgba(10, 15, 30, .04); color: var(--ink); }
.docs-side a.is-active { color: var(--ink); border-left-color: var(--accent); background: rgba(59, 78, 240, .05); font-weight: 500; }

.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: rgba(59, 78, 240, .04); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 14px 18px; margin: 18px 0; font-size: 14px; color: var(--ink-soft);
}
.callout strong { font-weight: 600; }

.endpoint {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--line); background: #FBFAF7; border-radius: var(--r-sm);
  padding: 11px 14px; font-family: var(--mono); font-size: 12.5px; margin: 16px 0;
}
.endpoint b { color: var(--accent); font-weight: 500; }

table.dtable { width: 100%; border-collapse: collapse; font-size: 13.8px; margin: 18px 0; }
table.dtable th, table.dtable td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.dtable th { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); font-weight: 500; background: #FBFAF7; }
table.dtable code { background: none; padding: 0; color: var(--ink); font-size: 12.5px; }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { transform: none; }
  .models { grid-template-columns: repeat(2, 1fr); }
  .model-hero .specs { grid-template-columns: repeat(3, 1fr); }
  .int-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .sec-head { position: static; }
  .docs-layout { grid-template-columns: 1fr; gap: 32px; }
  .docs-side { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .docs-side h4 { width: 100%; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 0; right: 0; top: 66px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .nav-links.is-open a { font-size: 16px; padding: 9px 0; width: 100%; }
  .hide-sm { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 20px; }
  .stat:first-child { padding-left: 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .why-grid, .sol-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding: 48px 0 60px; }
  .footer-inner { gap: 36px; }
  .footer-links { gap: 44px; }
}

@media (max-width: 640px) {
  .models { grid-template-columns: 1fr; }
  .model-top { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .model-hero { padding: 24px; }
  .model-hero .specs { grid-template-columns: repeat(2, 1fr); }
  .model-price { text-align: left; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .price-foot { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .table-wrap { overflow-x: auto; }
  .ptable { min-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* print — useful for sales one-pagers */
@media print {
  .nav, .hero-card, .form, .footer-links, .hero-glow, .hero-grid { display: none !important; }
  body { background: #fff; }
  .section { padding: 24px 0; break-inside: avoid; }
}
