@font-face {
  font-family: "Rajdhani";
  src: url("assets/fonts/rajdhani-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("assets/fonts/rajdhani-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #11161f;
  --muted: #5d6877;
  --paper: #f5f2ea;
  --paper-2: #e8f0ef;
  --paper-3: #f7efe5;
  --panel: #fffdf8;
  --line: #cfc6b7;
  --night: #070a11;
  --night-2: #0e1420;
  --night-3: #151c2a;
  --night-line: rgba(255,255,255,0.13);
  --copper: #d79a72;
  --gold: #e0b75d;
  --cyan: #42c4dc;
  --cyan-deep: #127489;
  --green: #65c98f;
  --text-on-dark: #f3f6f8;
  --muted-on-dark: #aeb9c5;
  --shadow: 0 24px 70px rgba(4, 7, 13, 0.28);
  --button-shadow: inset 0 1px 0 rgba(255,255,255,0.58), inset 0 -2px 0 rgba(114,58,31,0.26), 0 12px 26px rgba(4,7,13,0.26);
  --button-shadow-hover: inset 0 1px 0 rgba(255,255,255,0.64), inset 0 -2px 0 rgba(114,58,31,0.2), 0 16px 34px rgba(4,7,13,0.28);
  --button-shadow-active: inset 0 1px 0 rgba(255,255,255,0.38), inset 0 1px 2px rgba(17,22,31,0.22), 0 7px 18px rgba(4,7,13,0.22);
  --font-body: "Rajdhani", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Rajdhani", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(66,196,220,0.09), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(215,154,114,0.12), transparent 28%),
    var(--paper);
  font-family: var(--font-body);
  font-weight: 500;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--text-on-dark);
  background: rgba(7, 10, 17, 0.34);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 17, 0.88);
  border-bottom-color: rgba(255,255,255,0.17);
}

.brand,
.nav-links,
.hero-actions,
.signal-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(215,154,114,0.22);
}

.nav-links {
  gap: 20px;
  justify-content: center;
  color: rgba(243,246,248,0.82);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-on-dark);
  background: var(--night);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: image-set(
    url("assets/hero-desktop.webp") type("image/webp"),
    url("assets/hero-desktop.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,10,17,0.96) 0%, rgba(7,10,17,0.84) 35%, rgba(7,10,17,0.28) 68%, rgba(7,10,17,0.6) 100%),
    linear-gradient(180deg, rgba(7,10,17,0.22) 0%, rgba(7,10,17,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 108px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #237d8d;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 680px;
  font-size: clamp(68px, 6.25vw, 82px);
  line-height: 0.96;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal;
}

.title-main,
.title-ai {
  display: inline;
}

h2 {
  margin-bottom: 0;
  max-width: 760px;
  font-size: 52px;
  line-height: 1.04;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(243,246,248,0.8);
  font-size: 21px;
  line-height: 1.52;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  box-shadow: var(--button-shadow);
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--button-shadow-hover);
}

.button:active {
  transform: translateY(1px);
  box-shadow: var(--button-shadow-active);
}

.button.primary {
  color: #11161f;
  background: linear-gradient(135deg, #f8d680 0%, #e2a171 48%, #f1bf7d 100%);
  border-color: rgba(255,255,255,0.42);
  box-shadow: var(--button-shadow);
}

.button.secondary {
  color: var(--text-on-dark);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.055)),
    #111927;
  border-color: rgba(66,196,220,0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), inset 0 -2px 0 rgba(0,0,0,0.24), 0 12px 26px rgba(4,7,13,0.24);
}

.button.primary:hover {
  box-shadow: var(--button-shadow-hover);
}

.button.primary:active {
  box-shadow: var(--button-shadow-active);
}

.button.secondary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -2px 0 rgba(0,0,0,0.18), 0 16px 32px rgba(4,7,13,0.26);
}

.button.secondary:active {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 1px 2px rgba(0,0,0,0.28), 0 7px 18px rgba(4,7,13,0.22);
}

.signal-strip {
  min-height: 116px;
  justify-content: center;
  color: var(--text-on-dark);
  background: var(--night-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.signal-strip div {
  width: min(25%, 290px);
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.signal-strip div:last-child {
  border-right: 1px solid rgba(255,255,255,0.08);
}

.metric {
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
}

.label {
  margin-top: 6px;
  color: var(--muted-on-dark);
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 4vw, 56px);
}

.landing-page .section {
  padding-block: clamp(54px, 7vw, 92px);
}

.landing-page .hero {
  min-height: 680px;
}

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

.section-light {
  background:
    linear-gradient(135deg, rgba(66,196,220,0.07), transparent 32%),
    linear-gradient(315deg, rgba(215,154,114,0.1), transparent 38%),
    var(--paper);
}

.section-light + .section-light {
  background:
    linear-gradient(135deg, rgba(18,116,137,0.08), transparent 32%),
    linear-gradient(315deg, rgba(224,183,93,0.12), transparent 40%),
    var(--paper-2);
}

.section-dark,
.section-contact {
  color: var(--text-on-dark);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 240px),
    var(--night);
}

.section-contact {
  background:
    linear-gradient(135deg, rgba(215,154,114,0.18), transparent 30%),
    linear-gradient(315deg, rgba(66,196,220,0.16), transparent 38%),
    var(--night);
}

.split,
.demo-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.system-layer-intro {
  align-items: center;
}

.system-layer-intro .section-lead {
  max-width: 650px;
  line-height: 1.48;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.justified-lead {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.section-lead.inverted {
  color: var(--muted-on-dark);
}

.section-contact h2 {
  margin-bottom: 18px;
}

.section-contact .section-lead {
  max-width: 680px;
}

.section-contact .contact-links {
  margin-top: 20px;
}

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

.feature-card {
  min-height: 286px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(17, 22, 31, 0.06);
}

.compact-grid {
  margin-top: 46px;
}

.compact-card {
  min-height: 205px;
}

.compact-card .feature-kicker {
  margin-bottom: 30px;
}

.compact-card h3 {
  font-size: 24px;
}

.compact-card p {
  font-size: 17px;
  line-height: 1.62;
}

.feature-kicker,
.step-number {
  display: block;
  color: #a65f42;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.feature-kicker {
  margin-bottom: 74px;
}

.feature-card p,
.rule-list p,
.platform-panel p,
.architecture-map small,
.workflow-rail p,
.rule-matrix p,
.access-card p,
.setup-card p,
.faq-list p,
.risk-note {
  color: var(--muted);
  line-height: 1.58;
}

.feature-card p,
.rule-list p,
.platform-panel p,
.architecture-map small,
.workflow-rail p,
.rule-matrix p,
.ai-role-grid p,
.access-card p:not(.price),
.setup-card p,
.faq-list p,
.setup-detail-card p,
.setup-summary p,
.setup-summary .check-list li,
.faq-nav-card p,
.legal-doc p,
.summary-line {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.section-copy-stack {
  display: grid;
  gap: 16px;
}

.summary-line {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(18,116,137,0.18);
  border-left: 4px solid var(--cyan-deep);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255,255,255,0.62);
  font-weight: 700;
  line-height: 1.55;
}

.ai-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.ai-role-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(18,116,137,0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(66,196,220,0.09), transparent 42%),
    var(--panel);
  box-shadow: 0 18px 42px rgba(17,22,31,0.06);
}

.ai-role-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: #8c4f35;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-role-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.summary-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(17,22,31,0.1);
  border-radius: 8px;
  background: #101722;
  color: var(--text-on-dark);
  box-shadow: 0 22px 56px rgba(17,22,31,0.14);
}

.summary-band span {
  color: var(--muted-on-dark);
  line-height: 1.5;
}

.summary-band .text-link {
  margin-top: 0;
  color: #f1bf7d;
}

.platform-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215,154,114,0.18), transparent 34%),
    #fffaf2;
  box-shadow: 0 22px 60px rgba(17, 22, 31, 0.08);
}

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-copy h3 {
  max-width: 390px;
  font-size: 30px;
}

.architecture-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.architecture-map::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(166,95,66,0.55), transparent);
}

.map-node {
  position: relative;
  z-index: 1;
  min-height: 166px;
  padding: 18px;
  border: 1px solid rgba(17,22,31,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
}

.map-node span,
.workflow-rail span,
.rule-matrix span,
.access-card span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 18px;
  padding: 0 9px;
  border: 1px solid rgba(166,95,66,0.25);
  border-radius: 999px;
  color: #8c4f35;
  background: rgba(215,154,114,0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.map-node strong {
  display: block;
  margin-bottom: 9px;
  font-size: 17px;
}

.map-node small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.video-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--night-line);
  border-radius: 8px;
  background: var(--night-2);
  box-shadow: var(--shadow);
}

.video-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(0.95) contrast(1.06);
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,10,17,0.08), rgba(7,10,17,0.72));
}

.play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 50%;
  background: rgba(7,10,17,0.58);
  backdrop-filter: blur(10px);
}

.play-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid var(--gold);
}

.video-placeholder span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: #ffffff;
  font-weight: 800;
}

.demo-stack {
  display: grid;
  gap: 12px;
}

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

.demo-points span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: rgba(243,246,248,0.82);
  background: rgba(255,255,255,0.055);
  font-size: 13px;
  font-weight: 800;
}

.demo-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.demo-console div {
  padding: 14px;
  border: 1px solid var(--night-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
}

.demo-console span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-on-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
}

.demo-console strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 54px;
}

.workflow-rail article {
  position: relative;
  min-height: 276px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 22, 31, 0.06);
}

.workflow-rail article::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 45px;
  width: 14px;
  height: 1px;
  background: rgba(166,95,66,0.42);
}

.workflow-rail article:last-child::after {
  display: none;
}

.rule-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.rule-list article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.rule-list h3,
.setup-card h3,
.faq-list summary {
  color: var(--ink);
}

.rule-matrix,
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.rule-matrix article {
  min-height: 226px;
  padding: 24px;
  border: 1px solid var(--night-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
}

.rule-matrix span {
  color: #ffd38b;
  border-color: rgba(224,183,93,0.28);
  background: rgba(224,183,93,0.1);
}

.rule-matrix h3 {
  color: #ffffff;
}

.rule-matrix p {
  color: var(--muted-on-dark);
}

.access-card {
  min-height: 280px;
  padding: 26px;
  color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(66,196,220,0.1), transparent 38%),
    linear-gradient(315deg, rgba(215,154,114,0.16), transparent 48%),
    var(--night-2);
  box-shadow: 0 22px 62px rgba(4, 7, 13, 0.22);
}

.access-card.featured {
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, rgba(215,154,114,0.28), transparent 34%),
    var(--night-2);
  border-color: rgba(255,255,255,0.12);
}

.access-card.featured h3 {
  color: #ffffff;
}

.access-card h3,
.access-card .price {
  color: #ffffff;
}

.access-card p,
.access-card.featured p {
  color: var(--muted-on-dark);
}

.access-card .button {
  margin-top: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button-row .button {
  margin-top: 0;
}

.payment-qr {
  margin-top: 18px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: #ffffff;
}

.payment-qr img {
  width: 100%;
  border-radius: 6px;
}

.payment-qr.always-visible {
  margin-bottom: 16px;
}

.payment-details {
  margin-top: 16px;
}

.payment-details summary {
  cursor: pointer;
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid rgba(17,22,31,0.14);
  border-radius: 8px;
  background: rgba(17,22,31,0.045);
  font-weight: 800;
}

.setup-intro {
  max-width: 840px;
  margin-bottom: 44px;
}

.setup-steps {
  display: grid;
  gap: 14px;
}

.setup-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--night-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
}

.setup-card h3 {
  color: #ffffff;
}

.setup-card p {
  color: var(--muted-on-dark);
}

.setup-card strong {
  color: #ffffff;
}

.media-step img {
  width: min(100%, 720px);
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0,0,0,0.32);
}

.url-step code {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 14px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(66,196,220,0.32);
  border-radius: 8px;
  color: #9df0ff;
  background:
    linear-gradient(135deg, rgba(66,196,220,0.12), rgba(215,154,114,0.06)),
    #0d1420;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--night-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-links a {
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(243,246,248,0.9);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05)),
    rgba(7,10,17,0.28);
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -2px 0 rgba(0,0,0,0.2), 0 10px 22px rgba(4,7,13,0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.contact-links a:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -2px 0 rgba(0,0,0,0.18), 0 14px 28px rgba(4,7,13,0.24);
  border-color: rgba(66,196,220,0.48);
  color: #ffffff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(243,246,248,0.82);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: #ffffff;
  background: rgba(7,10,17,0.58);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(66,196,220,0.44);
  border-color: rgba(66,196,220,0.74);
}

.risk-note {
  margin-top: 28px;
  max-width: 620px;
  color: rgba(243,246,248,0.58);
  font-size: 14px;
}

.risk-note.light {
  color: var(--muted);
}

.legal-page .section-light {
  background: var(--paper);
}

.legal-hero {
  min-height: 460px;
}

.legal-doc {
  max-width: 920px;
  padding: 34px;
  border: 1px solid rgba(17,22,31,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 22px 62px rgba(17,22,31,0.08);
}

.legal-doc h2 {
  margin: 30px 0 10px;
  font-size: 28px;
  font-weight: 760;
}

.legal-doc p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal-doc a {
  color: #8c4f35;
  font-weight: 650;
}

.legal-reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-reference-links a {
  padding: 10px 12px;
  border: 1px solid rgba(17,22,31,0.12);
  border-radius: 8px;
  color: #101722;
  background: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 650;
}

.policy-table {
  display: block;
  width: 100%;
  margin: 20px 0 8px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  overflow-x: auto;
}

.policy-table thead,
.policy-table tbody {
  display: table;
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.policy-table th,
.policy-table td {
  padding: 14px;
  border: 1px solid rgba(17,22,31,0.12);
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  color: #ffffff;
  background: #101722;
}

.policy-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
}

.story-copy {
  display: grid;
  gap: 18px;
  text-align: justify;
  text-align-last: left;
}

.story-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.72;
}

.control-room-preview {
  margin-top: 54px;
}

.control-room-frame {
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(17,22,31,0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(66,196,220,0.12), transparent 38%),
    #080d17;
  box-shadow: 0 26px 70px rgba(17,22,31,0.18);
}

.control-room-frame img {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
}

.control-room-preview figcaption {
  margin: 14px 0 0;
  max-width: 980px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.control-room-preview figcaption span {
  display: inline-block;
  margin-right: 10px;
  color: #237d8d;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dark-role-grid article {
  border-color: rgba(255,255,255,0.12);
  background:
    linear-gradient(145deg, rgba(66,196,220,0.12), transparent 44%),
    rgba(255,255,255,0.055);
}

.dark-role-grid span,
.dark-role-grid p {
  color: var(--muted-on-dark);
}

.dark-role-grid span {
  color: #ffd38b;
}

.button.dark,
.button.ghost-dark {
  color: var(--ink);
}

.button.dark {
  background: var(--ink);
  color: #ffffff;
  border-color: rgba(17,22,31,0.12);
}

.button.ghost-dark {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(66,196,220,0.18), rgba(255,255,255,0.055)),
    #111927;
  border-color: rgba(66,196,220,0.34);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: #8c4f35;
  font-weight: 800;
}

.text-link:hover {
  color: #5f321f;
}

.inline-action {
  width: fit-content;
  margin-top: 24px;
}

.price {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.access-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.vantage-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.vantage-note strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 800;
}

.vantage-note p {
  margin-bottom: 0;
  color: var(--muted-on-dark);
  font-size: 15px;
  line-height: 1.45;
}

.compact-contact {
  margin-top: 14px;
  gap: 8px;
}

.page-main {
  background: var(--paper);
}

.page-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--text-on-dark);
  background: var(--night);
}

.compact-hero {
  min-height: 560px;
}

.page-hero-media,
.page-hero-overlay {
  position: absolute;
  inset: 0;
}

.page-hero-media {
  background-image: image-set(
    url("assets/hero-desktop.webp") type("image/webp"),
    url("assets/hero-desktop.png") type("image/png")
  );
  /* Match the landing hero's top crop so the AI figure sits consistently on every page. */
  background-position: center calc(340px - 21.45vw);
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.01);
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7,10,17,0.96) 0%, rgba(7,10,17,0.82) 42%, rgba(7,10,17,0.34) 78%, rgba(7,10,17,0.64) 100%),
    linear-gradient(180deg, rgba(7,10,17,0.2) 0%, rgba(7,10,17,0.76) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 108px);
  padding-top: 78px;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(50px, 6vw, 76px);
}

.balanced-title {
  text-wrap: balance;
}

.page-copy {
  max-width: 680px;
  color: rgba(243,246,248,0.78);
  font-size: 21px;
  line-height: 1.55;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.results-teaser,
.results-board,
.setup-detail-grid,
.faq-page-layout,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.results-board {
  grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(24px, 4vw, 54px);
}

.vertical-feed-layout {
  grid-template-columns: 1fr;
  gap: 24px;
}

.results-teaser {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  margin-top: 52px;
}

.slim-results {
  margin-top: 0;
  align-items: center;
}

.mini-feed .feed-list {
  max-height: none;
}

.feed-window {
  overflow: hidden;
  border: 1px solid rgba(17,22,31,0.12);
  border-radius: 8px;
  background: #0d1420;
  box-shadow: 0 26px 68px rgba(17, 22, 31, 0.18);
}

.feed-window.full {
  border-color: var(--night-line);
  box-shadow: var(--shadow);
}

.results-board .feed-window.full {
  max-height: min(780px, calc(100vh - 120px));
  overflow: auto;
}

.vertical-feed-layout .feed-window.full {
  max-height: min(820px, calc(100vh - 120px));
  overflow: auto;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: #ffffff;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sticky-feed-header {
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(14px);
}

.feed-header strong,
.feed-header a,
.feed-date {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.feed-header a {
  color: var(--gold);
}

.feed-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-on-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.feed-list {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.feed-window.compact .feed-list {
  max-height: 520px;
  overflow: auto;
}

.feed-window.full .feed-list {
  padding: 18px;
}

.feed-item {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.055);
}

.timeline .feed-item {
  margin-left: 18px;
}

.timeline .feed-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 24px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 6px rgba(215,154,114,0.12);
}

.feed-item time {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-on-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.feed-item h3 {
  color: #ffffff;
}

.feed-item p {
  margin-bottom: 0;
  color: var(--muted-on-dark);
  line-height: 1.55;
}

.feed-item a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 800;
}

.feed-item dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.feed-item dl div,
.trade-metrics div,
.summary-tile-grid div {
  padding: 11px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  background: rgba(0,0,0,0.18);
}

.feed-item dt,
.trade-metrics span,
.summary-tile-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-on-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.feed-item dd,
.trade-metrics strong,
.summary-tile-grid strong {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.trade-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.buy-pill {
  color: #07110b;
  background: var(--green);
}

.sell-pill {
  color: #ffffff;
  background: #d15a5a;
}

.trade-metrics,
.summary-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.summary-tile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}

.feed-item.report {
  border-color: rgba(66,196,220,0.28);
}

.feed-item.daily {
  border-color: rgba(224,183,93,0.34);
  background:
    linear-gradient(135deg, rgba(224,183,93,0.15), transparent 46%),
    rgba(255,255,255,0.055);
}

.feed-item.buy {
  border-color: rgba(101,201,143,0.26);
}

.feed-item.sell {
  border-color: rgba(209,90,90,0.3);
}

.results-notes,
.results-summary-panel,
.setup-summary,
.faq-nav-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 22, 31, 0.06);
}

.results-summary-panel {
  color: var(--text-on-dark);
  border-color: var(--night-line);
  background:
    linear-gradient(135deg, rgba(215,154,114,0.16), transparent 42%),
    rgba(255,255,255,0.055);
}

.vertical-feed-layout .results-summary-panel {
  position: static;
}

.results-summary-panel h2 {
  font-size: 34px;
  color: #ffffff;
  line-height: 1.04;
}

.results-summary-panel .section-lead {
  font-size: 18px;
  line-height: 1.42;
}

.results-summary-panel .summary-tile-grid {
  margin: 20px 0 0;
}

.results-summary-panel .risk-note {
  margin-top: 18px;
  max-width: none;
  line-height: 1.42;
}

#feed {
  padding: clamp(8px, 0.9vw, 13px) 0;
}

.market-ticker {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 24px 0;
  border-block: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(90deg, rgba(66,196,220,0.12), transparent 25%, transparent 75%, rgba(215,154,114,0.12)),
    rgba(255,255,255,0.035);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-left-to-right 42s linear infinite;
  will-change: transform;
}

.market-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.ticker-card {
  flex: 0 0 clamp(310px, 30vw, 440px);
  min-height: 154px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text-on-dark);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
    #111927;
  box-shadow: 0 20px 54px rgba(0,0,0,0.25);
}

a.ticker-card {
  display: block;
}

.ticker-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted-on-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ticker-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 22px;
}

.ticker-card p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 16px;
  line-height: 1.5;
}

.buy-card {
  border-color: rgba(101,201,143,0.34);
}

.buy-card h3::after {
  content: " BUY";
  margin-left: 8px;
  color: var(--green);
  font-size: 12px;
}

.sell-card {
  border-color: rgba(209,90,90,0.34);
}

.sell-card h3::after {
  content: " SELL";
  margin-left: 8px;
  color: #ff8f8f;
  font-size: 12px;
}

.report-card {
  border-color: rgba(66,196,220,0.34);
}

.daily-card {
  border-color: rgba(224,183,93,0.42);
  background:
    linear-gradient(145deg, rgba(224,183,93,0.18), rgba(255,255,255,0.035)),
    #111927;
}

.daily-card h3,
.daily-card span {
  color: #f1bf7d;
}

@keyframes ticker-left-to-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    transform: translateX(0);
  }
}

.results-notes {
  display: grid;
  gap: 14px;
}

.results-notes article,
.carryover-grid article,
.setup-detail-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.results-notes span,
.carryover-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #8c4f35;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.results-notes p,
.carryover-grid p,
.setup-summary p,
.setup-detail-card p,
.faq-nav-card p,
.check-list {
  color: var(--muted);
  line-height: 1.58;
}

.setup-summary p,
.setup-summary .check-list li,
.faq-nav-card p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.setup-summary p,
.setup-summary .check-list {
  line-height: 1.52;
}

.faq-nav-card p {
  line-height: 1.48;
}

.carryover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.setup-detail-grid {
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
}

.setup-summary {
  position: sticky;
  top: 92px;
}

.setup-summary h2,
.faq-nav-card h2 {
  font-size: 34px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
}

.setup-detail-list {
  display: grid;
  gap: 14px;
}

.setup-detail-card {
  box-shadow: 0 18px 48px rgba(17, 22, 31, 0.05);
}

.setup-detail-card .step-number {
  margin-bottom: 22px;
}

.support-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.4fr);
}

.contact-links.vertical,
.contact-links.light-links {
  display: grid;
}

.contact-links.light-links a {
  color: rgba(243,246,248,0.94);
  border-color: rgba(17,22,31,0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.055)),
    #262b32;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -2px 0 rgba(0,0,0,0.22), 0 10px 22px rgba(17,22,31,0.18);
}

.access-card .contact-links.light-links a {
  color: rgba(243,246,248,0.92);
  border-color: rgba(255,255,255,0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05)),
    rgba(0,0,0,0.18);
}

.contact-links.light-links a:hover,
.access-card .contact-links.light-links a:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), inset 0 -2px 0 rgba(0,0,0,0.18), 0 14px 28px rgba(17,22,31,0.22);
}

.faq-page-layout {
  grid-template-columns: minmax(280px, 0.32fr) minmax(0, 0.68fr);
  align-items: start;
}

.faq-nav-card {
  position: sticky;
  top: 92px;
}

.faq-groups {
  display: grid;
  gap: 38px;
}

.faq-group h2 {
  margin-bottom: 18px;
  font-size: 34px;
}

.site-footer,
.footer-copy,
.footer-links {
  display: flex;
  align-items: center;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: rgba(243,246,248,0.72);
  background: #05070b;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}

.footer-links {
  gap: 18px;
  flex-wrap: wrap;
}

.footer-copy {
  justify-content: flex-end;
  gap: 4px;
  color: rgba(243,246,248,0.62);
  font-weight: 700;
  white-space: nowrap;
}

.footer-links a {
  color: rgba(243,246,248,0.76);
  font-weight: 800;
}

.footer-links a:hover {
  color: #ffffff;
}

.subscription-overview,
#subscription-options,
.access-card[id] {
  scroll-margin-top: 108px;
}

.cookie-banner {
  position: fixed;
  left: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, rgba(66,196,220,0.12), transparent 42%),
    #0b111c;
  box-shadow: 0 24px 70px rgba(4,7,13,0.46);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted-on-dark);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-actions a {
  color: #f1bf7d;
  font-weight: 800;
}

.cookie-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  color: #11161f;
  background: linear-gradient(135deg, #f8d680, #e2a171);
  font: inherit;
  font-weight: 800;
  box-shadow: var(--button-shadow);
  cursor: pointer;
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cookie-actions button:hover {
  transform: translateY(-2px);
  box-shadow: var(--button-shadow-hover);
}

.cookie-actions button:active {
  transform: translateY(1px);
  box-shadow: var(--button-shadow-active);
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  h1 {
    max-width: 620px;
    font-size: 64px;
  }

  h2 {
    font-size: 42px;
  }

  .signal-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-strip div {
    width: auto;
    min-height: 104px;
  }

  .split,
  .demo-layout,
  .contact-layout,
  .story-layout,
  .results-teaser,
  .results-board,
  .setup-detail-grid,
  .faq-page-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .results-summary-panel,
  .setup-summary,
  .faq-nav-card {
    position: static;
  }

  .results-board .feed-window.full {
    max-height: none;
    overflow: visible;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .platform-panel {
    grid-template-columns: 1fr;
  }

  .architecture-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-map::before {
    display: none;
  }

  .workflow-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-rail article::after {
    display: none;
  }

  .rule-matrix,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .ai-role-grid,
  .summary-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-kicker {
    margin-bottom: 34px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 720px;
    align-items: flex-start;
    padding-top: 116px;
  }

  .landing-page .hero {
    min-height: 660px;
    padding-top: 104px;
  }

  .page-hero,
  .compact-hero {
    min-height: 640px;
    align-items: flex-start;
    padding-top: 116px;
  }

  .hero-media {
    background-image: image-set(
      url("assets/hero-mobile.webp") type("image/webp"),
      url("assets/hero-mobile.png") type("image/png")
    );
    background-position: center top;
  }

  .page-hero-media {
    background-image: image-set(
      url("assets/hero-mobile.webp") type("image/webp"),
      url("assets/hero-mobile.png") type("image/png")
    );
    background-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7,10,17,0.74) 0%, rgba(7,10,17,0.48) 38%, rgba(7,10,17,0.94) 100%),
      linear-gradient(90deg, rgba(7,10,17,0.92), rgba(7,10,17,0.34));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
    padding-top: 0;
  }

  .page-hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
    padding-top: 0;
  }

  h1 {
    max-width: 343px;
    font-size: 38px;
    line-height: 1.04;
    white-space: normal;
  }

  .page-hero h1 {
    max-width: 352px;
    font-size: 40px;
    line-height: 1.04;
  }

  .title-main,
  .title-ai {
    display: inline;
  }

  .title-main {
    white-space: normal;
  }

  .hero-copy {
    max-width: 334px;
  }

  .page-copy {
    max-width: 342px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-copy,
  .section-lead {
    font-size: 18px;
  }

  .hero-actions .button {
    flex: 0 0 auto;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: 92px;
    border-right: 0;
  }

  .metric {
    font-size: 24px;
  }

  .section {
    padding: 64px 16px;
  }

  .video-placeholder {
    min-height: 0;
    height: 300px;
    aspect-ratio: auto;
  }

  .platform-panel {
    padding: 22px;
  }

  .architecture-map,
  .workflow-rail,
  .rule-matrix,
  .access-grid,
  .ai-role-grid,
  .summary-band,
  .demo-console,
  .trade-metrics,
  .summary-tile-grid,
  .feed-item dl,
  .carryover-grid {
    grid-template-columns: 1fr;
  }

  .market-ticker {
    margin-top: 0;
    padding-block: 18px;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .ticker-track {
    animation-duration: 34s;
  }

  .ticker-card {
    flex-basis: min(82vw, 340px);
    min-height: 150px;
    padding: 18px;
  }

  .map-node,
  .workflow-rail article,
  .rule-matrix article,
  .access-card,
  .ai-role-grid article {
    min-height: 0;
  }

  .setup-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .url-step code {
    font-size: 12px;
  }

  .feed-header,
  .trade-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline .feed-item {
    margin-left: 0;
  }

  .timeline .feed-item::before {
    display: none;
  }

  .results-notes,
  .results-summary-panel,
  .setup-summary,
  .faq-nav-card,
  .setup-detail-card,
  .feed-item {
    padding: 20px;
  }

  .price {
    font-size: 30px;
  }

  .contact-form,
  .feature-card,
  .legal-doc {
    padding: 22px;
  }

  .story-copy,
  .story-copy p,
  .justified-lead,
  .feature-card p,
  .rule-list p,
  .platform-panel p,
  .architecture-map small,
  .workflow-rail p,
  .rule-matrix p,
  .ai-role-grid p,
  .access-card p,
  .setup-card p,
  .faq-list p,
  .setup-detail-card p,
  .setup-summary p,
  .setup-summary .check-list li,
  .faq-nav-card p,
  .legal-doc p,
  .summary-line {
    text-align: left;
    text-align-last: auto;
  }

  .site-footer,
  .footer-links,
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  h1 {
    max-width: 328px;
    font-size: 35px;
  }

  .page-hero h1 {
    max-width: 326px;
    font-size: 36px;
  }

  .hero-copy,
  .section-lead {
    font-size: 17px;
  }
}
