:root {
  --bg: #07090b;
  --bg-2: #0c1114;
  --panel: rgba(12, 17, 20, 0.78);
  --panel-solid: #10171b;
  --line: rgba(218, 236, 244, 0.16);
  --line-strong: rgba(115, 219, 255, 0.34);
  --text: #f4f8fb;
  --muted: #9fb0ba;
  --soft: #d7e3e9;
  --cyan: #49c7ff;
  --cyan-2: #12a9dc;
  --green: #52df9b;
  --amber: #ffbd64;
  --red: #ff7272;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 11, 0.86), #07090b 18%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

code,
pre {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", ui-monospace, monospace;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 11, 0.56);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 11, 0.9);
  border-color: rgba(115, 219, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(73, 199, 255, 0.48);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(73, 199, 255, 0.22), rgba(82, 223, 155, 0.08));
  color: #e8fbff;
  box-shadow: inset 0 0 20px rgba(73, 199, 255, 0.16);
  flex: 0 0 auto;
}

.brand-mark.small {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ghost-link {
  color: var(--muted);
  font-size: 0.9rem;
}

.ghost-link:hover,
.ghost-link:focus-visible {
  color: var(--text);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(120, 222, 255, 0.48);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #eefcff, #8fe5ff 45%, #30b9ed);
  color: #041016;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(18, 169, 220, 0.22);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  box-shadow: none;
}

.button-small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.9rem;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(4, 16, 22, 0.12);
  font-size: 0.8em;
  line-height: 1;
}

.button-secondary .button-icon,
.copy-button .button-icon {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 112px clamp(18px, 4vw, 44px) 26px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 11, 0.94), rgba(7, 9, 11, 0.72) 42%, rgba(7, 9, 11, 0.2)),
    linear-gradient(180deg, rgba(7, 9, 11, 0.1), rgba(7, 9, 11, 0.72) 68%, #07090b 100%);
}

.hero-content {
  width: min(760px, 100%);
  margin-bottom: clamp(24px, 7vh, 72px);
}

.eyebrow,
.section-kicker,
.small-label {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 16px;
  font-size: clamp(3.8rem, 7.8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 26px;
  color: #dce8ee;
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
  font-size: 0.86rem;
}

.hero-console {
  width: min(var(--max), 100%);
  margin: 0 auto;
  border: 1px solid rgba(115, 219, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(7, 11, 13, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.console-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}

.console-strip strong {
  color: var(--text);
}

.status-dot,
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(82, 223, 155, 0.13);
  flex: 0 0 auto;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.console-metrics div {
  min-height: 94px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.console-metrics div:last-child {
  border-right: 0;
}

.console-metrics span,
.estimate-grid span,
.trace-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.console-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 2rem;
  line-height: 1;
}

.section {
  padding: clamp(64px, 9vw, 108px) clamp(18px, 4vw, 44px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.proof-band {
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0f12;
}

.proof-grid,
.split-grid,
.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.proof-grid > *,
.split-grid > *,
.calculator-grid > *,
.dash-main,
.code-panel,
.calculator {
  min-width: 0;
}

.proof-grid h2,
.section-heading h2,
.copy-block h2,
.cta-inner h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.proof-grid p:last-child,
.section-heading p,
.copy-block p,
.cta-inner p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-heading h2 {
  grid-column: 1;
}

.section-heading > p:last-child {
  grid-column: 2;
  margin-bottom: 0;
}

.section-heading.compact {
  max-width: 840px;
  display: block;
}

.section-heading.compact .section-kicker {
  margin-bottom: 10px;
}

.feature-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.service-grid article,
.metric-panel,
.model-picker,
.rules-panel,
.feed-panel,
.code-panel,
.calculator {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.feature-card,
.service-grid article {
  min-height: 238px;
  padding: 22px;
}

.feature-card:hover,
.service-grid article:hover,
.model-row:hover,
.model-row:focus-visible {
  border-color: var(--line-strong);
}

.feature-icon,
.service-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 30px;
  margin-bottom: 38px;
  border: 1px solid rgba(73, 199, 255, 0.25);
  border-radius: 6px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
}

.feature-card h3,
.service-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.1;
}

.feature-card p,
.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card code {
  color: #e7fbff;
}

.control-section {
  background:
    linear-gradient(180deg, #07090b, #0b1013 28%, #080b0d);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 202px minmax(0, 1fr);
  min-height: 640px;
  border: 1px solid rgba(115, 219, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(73, 199, 255, 0.1), transparent 28%),
    #080d10;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dash-rail {
  padding: 16px;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 18px;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-bottom: 6px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.rail-item span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 900;
}

.rail-item.active,
.rail-item:hover,
.rail-item:focus-visible {
  color: var(--text);
  border-color: rgba(73, 199, 255, 0.22);
  background: rgba(73, 199, 255, 0.08);
  outline: none;
}

.dash-main {
  min-width: 0;
  padding: 18px;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  margin-bottom: 16px;
  padding: 0 2px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-topbar h3,
.panel-head h4,
.calculator h3 {
  margin-bottom: 0;
  line-height: 1.1;
}

.dash-actions,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.pill.green {
  border-color: rgba(82, 223, 155, 0.34);
  color: #cbffe5;
}

.pill.amber {
  border-color: rgba(255, 189, 100, 0.34);
  color: #ffe4bb;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(168px, auto);
  gap: 12px;
}

.metric-panel,
.model-picker,
.rules-panel,
.feed-panel {
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.035);
}

.metric-panel {
  grid-column: span 2;
}

.metric-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1;
}

.metric-panel p {
  max-width: 420px;
  margin-bottom: 16px;
  color: var(--muted);
}

.route-line {
  display: grid;
  grid-template-columns: 1fr 0.55fr 0.8fr 0.4fr;
  gap: 5px;
  height: 8px;
}

.route-line span,
.meter {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.route-line span:nth-child(1) {
  background: var(--cyan);
}

.route-line span:nth-child(2) {
  background: var(--green);
}

.route-line span:nth-child(3) {
  background: var(--amber);
}

.route-line span:nth-child(4) {
  background: rgba(255, 255, 255, 0.2);
}

.meter {
  height: 8px;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.model-picker {
  grid-column: span 2;
  grid-row: span 2;
}

.rules-panel,
.feed-panel {
  grid-column: span 2;
}

.model-list {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.model-row {
  display: grid;
  grid-template-columns: 0.65fr 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.model-row span,
.model-row em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.model-row strong {
  font-size: 0.95rem;
}

.model-row.active {
  border-color: rgba(73, 199, 255, 0.55);
  background: rgba(73, 199, 255, 0.1);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.rule-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(82, 223, 155, 0.4);
  background:
    linear-gradient(135deg, transparent 42%, var(--green) 43% 57%, transparent 58%),
    linear-gradient(45deg, transparent 48%, var(--green) 49% 58%, transparent 59%);
  flex: 0 0 auto;
}

.trace-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.trace-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-size: 0.9rem;
}

.split-section,
.calculator-section {
  background: #07090b;
}

.copy-block {
  max-width: 620px;
}

.doc-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.doc-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}

.code-panel {
  padding: 14px;
  background: #0b1114;
  box-shadow: var(--shadow);
}

.code-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.code-tab {
  min-width: 70px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.code-tab.active,
.code-tab:hover,
.code-tab:focus-visible {
  color: var(--text);
  border-color: rgba(73, 199, 255, 0.4);
  background: rgba(73, 199, 255, 0.1);
  outline: none;
}

.code-panel pre {
  max-width: 100%;
  min-height: 270px;
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(73, 199, 255, 0.07), transparent 42%),
    #070b0d;
  color: #d9eef7;
  font-size: 0.88rem;
  line-height: 1.65;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.calculator-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calculator {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(82, 223, 155, 0.08), transparent 34%),
    #0c1215;
}

.calculator label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 14px;
  color: var(--muted);
}

.calculator label strong {
  color: var(--text);
  font-size: 1.5rem;
}

.calculator input[type="range"] {
  width: 100%;
  accent-color: var(--cyan);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.estimate-grid div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.estimate-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.calculator-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.services-section {
  background:
    linear-gradient(180deg, #07090b, #0a0f12 45%, #07090b);
}

.service-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-grid article {
  min-height: 220px;
  padding: 18px;
}

.service-grid span {
  margin-bottom: 28px;
}

.service-grid strong {
  font-size: 1.04rem;
}

.service-grid p {
  font-size: 0.92rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(73, 199, 255, 0.11), transparent 34%),
    linear-gradient(260deg, rgba(255, 189, 100, 0.08), transparent 38%),
    #090d10;
}

.cta-inner {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-inner .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 26px clamp(18px, 4vw, 44px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050708;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-inner .brand {
  color: var(--text);
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dash-rail {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dash-brand {
    margin: 0 8px 0 0;
    flex: 0 0 auto;
  }

  .rail-item {
    margin: 0;
    flex: 0 0 auto;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 90svh;
    padding-top: 96px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 9, 11, 0.95), rgba(7, 9, 11, 0.74)),
      linear-gradient(180deg, rgba(7, 9, 11, 0.08), rgba(7, 9, 11, 0.76) 68%, #07090b 100%);
  }

  .console-metrics,
  .proof-grid,
  .split-grid,
  .calculator-grid,
  .section-heading,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-heading .section-kicker,
  .section-heading h2,
  .section-heading > p:last-child {
    grid-column: 1;
    margin-bottom: 0;
  }

  .console-metrics div {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .console-metrics div:last-child {
    border-bottom: 0;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .metric-panel,
  .model-picker,
  .rules-panel,
  .feed-panel {
    grid-column: span 1;
  }

  .model-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .estimate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand span:last-child {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions .ghost-link {
    display: none;
  }

  .button {
    width: 100%;
  }

  .header-actions .button {
    width: auto;
  }

  h1 {
    font-size: clamp(3rem, 14.2vw, 4.35rem);
  }

  .hero-copy,
  .proof-grid p:last-child,
  .section-heading p,
  .copy-block p,
  .cta-inner p {
    font-size: 1rem;
  }

  .trust-row span {
    width: 100%;
  }

  .hero-console {
    margin-top: 8px;
  }

  .hero-console .console-metrics {
    display: none;
  }

  .feature-card,
  .service-grid article {
    min-height: auto;
  }

  .feature-icon,
  .service-grid span {
    margin-bottom: 22px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .dash-main {
    padding: 12px;
  }

  .dash-topbar,
  .dash-actions,
  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .trace-list p {
    align-items: flex-start;
    flex-direction: column;
  }

  .code-panel pre {
    min-height: 230px;
    font-size: 0.78rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .feature-card,
  .service-grid article,
  .model-row {
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  }

  .pulse,
  .status-dot {
    animation: pulse 1.8s ease-in-out infinite;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(82, 223, 155, 0.13);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(82, 223, 155, 0.03);
  }
}
