:root {
  --commerce-bg: #060b10;
  --commerce-panel: #0d151d;
  --commerce-panel-2: #121d27;
  --commerce-line: #263846;
  --commerce-line-soft: #172630;
  --commerce-text: #f3f8fb;
  --commerce-muted: #a8bac5;
  --commerce-green: #48e0a4;
  --commerce-cyan: #50c9f3;
  --commerce-amber: #f5c75b;
  --commerce-coral: #ff7b75;
  --commerce-violet: #bca7ff;
  --commerce-max: 1520px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body.commerce-page,
body.auth-page,
body.legal-page,
body.pro-account-page {
  margin: 0;
  overflow-x: clip;
  background: var(--commerce-bg);
  color: var(--commerce-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.commerce-page :where(h1, h2, h3, p, figure),
.auth-page :where(h1, p),
.legal-page :where(h1, h2, p),
.pro-account-page :where(h1, h2, h3, p) {
  margin-top: 0;
  letter-spacing: 0;
}

.commerce-page :where(a, button, input, select, summary),
.auth-page :where(a, button, input),
.legal-page :where(a, button, input),
.pro-account-page :where(a, button, input, select, textarea) {
  font: inherit;
  letter-spacing: 0;
}

.commerce-page a,
.auth-page a,
.legal-page a,
.pro-account-page a {
  color: inherit;
}

.commerce-page :where(a, button, input, select, summary):focus-visible,
.auth-page :where(a, button, input):focus-visible,
.legal-page :where(a, button):focus-visible,
.pro-account-page :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--commerce-cyan);
  outline-offset: 3px;
}

.commerce-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid #20313d;
  background: rgba(6, 11, 16, 0.94);
  padding: 0 max(18px, calc((100% - var(--commerce-max)) / 2));
  backdrop-filter: blur(18px);
}

.commerce-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.commerce-brand > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.commerce-brand strong {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
}

.commerce-brand small {
  color: var(--commerce-muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.brand-glyph {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #355060;
  border-radius: 6px;
  background: #0d1820;
}

.brand-glyph i {
  position: absolute;
  display: block;
  height: 2px;
  background: var(--commerce-green);
}

.brand-glyph i:nth-child(1) { width: 17px; transform: translateY(-6px); }
.brand-glyph i:nth-child(2) { width: 12px; transform: translate(3px, 0); background: var(--commerce-cyan); }
.brand-glyph i:nth-child(3) { width: 7px; transform: translate(5px, 6px); background: var(--commerce-amber); }

.commerce-header nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.commerce-header nav a,
.header-signin {
  border-radius: 5px;
  color: #c5d2da;
  padding: 9px 12px;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.commerce-header nav a:hover {
  background: #111c24;
  color: #fff;
}

.header-signin {
  border: 1px solid #3d5b6c;
  background: #111d26;
  color: #fff;
}

.commerce-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  height: calc(100svh - 108px);
  min-height: 540px;
  max-height: 820px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #2b414e;
}

.commerce-hero > img {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.92) contrast(1.05);
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: rgba(3, 8, 12, 0.75);
}

.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0 48% 0 0;
  background: rgba(2, 7, 11, 0.48);
}

.hero-copy {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto 72px max(18px, calc((100% - var(--commerce-max)) / 2));
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #cfe0e8;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--commerce-green);
  box-shadow: 0 0 18px rgba(72, 224, 164, 0.85);
}

.hero-copy h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 5.4rem;
  font-weight: 950;
  line-height: 0.94;
  text-shadow: 0 8px 30px #000;
}

.hero-copy > p {
  max-width: 680px;
  margin-bottom: 26px;
  color: #d9e5eb;
  font-size: 1.13rem;
  line-height: 1.65;
  text-shadow: 0 2px 12px #000;
}

.hero-copy > small {
  display: block;
  max-width: 650px;
  margin-top: 22px;
  color: #aebfc8;
  font-size: 0.72rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.hero-actions .primary {
  background: var(--commerce-green);
  color: #03110b;
}

.hero-actions .secondary {
  border-color: #587080;
  background: rgba(8, 17, 24, 0.82);
  color: #fff;
}

.hero-products {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(164, 193, 210, 0.32);
  background: rgba(5, 12, 17, 0.91);
  padding: 0 max(18px, calc((100% - var(--commerce-max)) / 2));
  backdrop-filter: blur(16px);
}

.hero-products span {
  min-width: 0;
  border-right: 1px solid #263946;
  color: #aabcc7;
  padding: 17px 18px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.hero-products span:first-child { border-left: 1px solid #263946; }
.hero-products b { display: block; margin-bottom: 4px; color: #fff; font-size: 0.9rem; }
.hero-products span:nth-child(1) b { color: var(--commerce-amber); }
.hero-products span:nth-child(2) b { color: var(--commerce-green); }
.hero-products span:nth-child(3) b { color: var(--commerce-coral); }
.hero-products span:nth-child(4) b { color: var(--commerce-cyan); }

.proof-bar {
  display: grid;
  width: min(var(--commerce-max), calc(100% - 36px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  border-right: 1px solid var(--commerce-line-soft);
  border-bottom: 1px solid var(--commerce-line-soft);
  border-left: 1px solid var(--commerce-line-soft);
  background: #091118;
}

.proof-bar div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-right: 1px solid var(--commerce-line-soft);
  padding: 17px 22px;
}

.proof-bar div:last-child { border-right: 0; }
.proof-bar strong { color: #fff; font-size: 1.05rem; }
.proof-bar span { color: var(--commerce-muted); font-size: 0.72rem; }

.engine-section,
.pricing-section,
.trust-section,
.join-section,
.faq-section,
.cockpit-proof {
  width: min(var(--commerce-max), calc(100% - 36px));
  margin-inline: auto;
  padding-block: 94px;
}

.section-heading {
  display: grid;
  max-width: 880px;
  gap: 10px;
  margin-bottom: 42px;
}

.section-heading.compact { margin-bottom: 28px; }
.section-heading > span,
.commerce-form header > span,
.auth-eyebrow {
  color: var(--commerce-green);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: 2.55rem;
  line-height: 1.08;
}

.section-heading p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--commerce-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.engine-ledger {
  border-top: 1px solid var(--commerce-line);
}

.engine-row {
  display: grid;
  grid-template-columns: 170px minmax(280px, 1.5fr) minmax(220px, 0.75fr);
  align-items: center;
  gap: 34px;
  min-height: 170px;
  border-bottom: 1px solid var(--commerce-line);
  padding: 24px 10px;
}

.engine-row:hover { background: #091219; }
.engine-code { display: flex; align-items: center; gap: 18px; }
.engine-code span { color: #6e8593; font-size: 0.68rem; font-weight: 800; }
.engine-code strong { color: #fff; font-size: 1.4rem; }
.engine-row.ipo .engine-code strong { color: var(--commerce-amber); }
.engine-row.long .engine-code strong { color: var(--commerce-green); }
.engine-row.short .engine-code strong { color: var(--commerce-coral); }
.engine-row.crypto .engine-code strong { color: var(--commerce-cyan); }
.engine-row h3 { margin-bottom: 8px; color: #fff; font-size: 1.2rem; }
.engine-row p { margin-bottom: 0; color: var(--commerce-muted); font-size: 0.87rem; line-height: 1.65; }
.engine-row ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.engine-row li { color: #c9d6dd; font-size: 0.76rem; }
.engine-row li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 9px 2px 0; border-radius: 50%; background: #5c7482; }

.cockpit-proof {
  padding-top: 60px;
}

.cockpit-proof figure {
  overflow: hidden;
  border: 1px solid #2b414f;
  border-radius: 8px;
  background: #0a1218;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.cockpit-proof img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
  object-position: top center;
}

.cockpit-proof figcaption {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #253a46;
}

.cockpit-proof figcaption span {
  border-right: 1px solid #253a46;
  color: #c4d2da;
  padding: 16px 18px;
  font-size: 0.72rem;
}

.cockpit-proof figcaption span:last-child { border-right: 0; }
.cockpit-proof figcaption i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; }
.cockpit-proof .green { background: var(--commerce-green); }
.cockpit-proof .cyan { background: var(--commerce-cyan); }
.cockpit-proof .amber { background: var(--commerce-amber); }
.cockpit-proof .coral { background: var(--commerce-coral); }

.pricing-section {
  border-top: 1px solid var(--commerce-line-soft);
}

.billing-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 24px;
  border: 1px solid #2d4553;
  border-radius: 7px;
  background: #0a1218;
  padding: 4px;
}

.billing-switch button {
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #a8bac5;
  padding: 9px 13px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.billing-switch button.active { background: #213441; color: #fff; }
.billing-switch span { color: var(--commerce-green); font-size: 0.64rem; }

.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--commerce-line);
  border-bottom: 1px solid var(--commerce-line);
}

.pricing-table article {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  border-right: 1px solid var(--commerce-line);
  background: #091118;
  padding: 34px;
}

.pricing-table article:first-child { border-left: 1px solid var(--commerce-line); }
.pricing-table article.featured { background: #10201f; box-shadow: inset 0 3px 0 var(--commerce-green); }
.pricing-table header > span { color: #8ea3af; font-size: 0.7rem; font-weight: 850; text-transform: uppercase; }
.pricing-table h3 { margin: 8px 0 10px; color: #fff; font-size: 1.45rem; }
.pricing-table header p { min-height: 52px; margin-bottom: 0; color: var(--commerce-muted); font-size: 0.78rem; line-height: 1.6; }
.price { display: flex; align-items: baseline; gap: 9px; margin: 28px 0 24px; }
.price strong { color: #fff; font-size: 2.25rem; }
.price span { color: #8fa3af; font-size: 0.68rem; }
.pricing-table ul { display: grid; align-content: start; gap: 11px; margin: 0 0 30px; padding: 0; list-style: none; }
.pricing-table li { color: #c6d4dc; font-size: 0.78rem; line-height: 1.4; }
.pricing-table li::before { content: "+"; margin-right: 9px; color: var(--commerce-green); font-weight: 900; }
.pricing-table article > a,
.auth-primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #3f5c6c;
  border-radius: 5px;
  background: #13212b;
  color: #fff;
  font-size: 0.79rem;
  font-weight: 850;
  text-decoration: none;
}
.pricing-table .featured > a { border-color: var(--commerce-green); background: var(--commerce-green); color: #03110b; }
.plan-ribbon { position: absolute; top: 12px; right: 14px; color: var(--commerce-green); font-size: 0.62rem; font-weight: 850; text-transform: uppercase; }
.pricing-note { margin: 16px 0 0; color: #8499a5; font-size: 0.7rem; line-height: 1.6; }

.trust-section { border-top: 1px solid var(--commerce-line-soft); }
.trust-ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--commerce-line); border-left: 1px solid var(--commerce-line); }
.trust-ledger div { border-right: 1px solid var(--commerce-line); border-bottom: 1px solid var(--commerce-line); padding: 24px; }
.trust-ledger strong { display: block; margin-bottom: 10px; color: #fff; font-size: 0.9rem; }
.trust-ledger p { margin-bottom: 0; color: var(--commerce-muted); font-size: 0.76rem; line-height: 1.65; }

.join-section { border-top: 1px solid var(--commerce-line-soft); }
.join-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr); border: 1px solid var(--commerce-line); border-radius: 8px; overflow: hidden; }
.commerce-form { display: grid; align-content: start; gap: 16px; min-width: 0; background: #0b141b; padding: 34px; }
.commerce-form + .commerce-form { border-left: 1px solid var(--commerce-line); background: #0f1921; }
.commerce-form header { margin-bottom: 6px; }
.commerce-form h3 { margin: 7px 0; color: #fff; font-size: 1.45rem; }
.commerce-form header p { margin-bottom: 0; color: var(--commerce-muted); font-size: 0.78rem; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.commerce-form label,
.auth-form label { display: grid; gap: 7px; min-width: 0; }
.commerce-form label > span:first-child,
.auth-form label > span:first-child { color: #bbcad2; font-size: 0.69rem; font-weight: 750; }
.commerce-form input,
.auth-form input { width: 100%; min-width: 0; height: 44px; border: 1px solid #334b59; border-radius: 5px; background: #071017; color: #fff; padding: 0 12px; }
.commerce-form input::placeholder,
.auth-form input::placeholder { color: #728791; }
.commerce-form button,
.auth-form button { min-height: 46px; border: 1px solid var(--commerce-green); border-radius: 5px; background: var(--commerce-green); color: #03110b; font-weight: 900; cursor: pointer; }
.terms-check,
.billing-consent { display: grid !important; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px !important; }
.terms-check input,
.billing-consent input { width: 16px !important; height: 16px !important; margin: 2px 0 0; accent-color: var(--commerce-green); }
.terms-check span,
.billing-consent span { color: #aebec7 !important; font-size: 0.7rem !important; line-height: 1.55; }
.terms-check a,
.billing-consent a { color: #d7f7ea; }
.form-assist,
.auth-back { justify-self: start; color: #b7c9d3 !important; font-size: 0.72rem; }

.faq-section { padding-top: 60px; }
.faq-list { border-top: 1px solid var(--commerce-line); }
.faq-list details { border-bottom: 1px solid var(--commerce-line); }
.faq-list summary { position: relative; padding: 20px 42px 20px 4px; color: #f1f7fa; font-size: 0.9rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; color: var(--commerce-green); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list p { max-width: 900px; margin: -4px 0 20px 4px; color: var(--commerce-muted); font-size: 0.8rem; line-height: 1.7; }

.commerce-footer { display: grid; width: min(var(--commerce-max), calc(100% - 36px)); grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin: 60px auto 0; border-top: 1px solid var(--commerce-line); padding: 34px 0 48px; }
.commerce-footer p { margin: 0; color: #879ba6; font-size: 0.72rem; }
.commerce-footer nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 14px; }
.commerce-footer nav a { color: #adbec7; font-size: 0.7rem; text-decoration: none; }
.commerce-footer > small { grid-column: 1 / -1; color: #6b818d; font-size: 0.64rem; }

.site-alert {
  width: 100%;
  margin: 0 0 18px;
  border: 1px solid #466170;
  border-radius: 6px;
  background: #10202a;
  color: #eef8fb;
  padding: 13px 15px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.site-alert.success { border-color: #2e8b6a; background: #0d261f; color: #d9fff0; }
.site-alert.warning { border-color: #906b28; background: #2a2110; color: #fff0c5; }

/* Authentication and legal surfaces */
.auth-stage {
  display: grid;
  width: min(520px, calc(100% - 28px));
  min-height: 100svh;
  align-content: center;
  gap: 24px;
  margin-inline: auto;
  padding-block: 36px;
}
.auth-mark { justify-self: center; }
.auth-panel { border: 1px solid var(--commerce-line); border-top: 3px solid var(--commerce-green); border-radius: 8px; background: #0c151d; padding: 34px; box-shadow: 0 24px 70px rgba(0,0,0,.42); }
.auth-panel h1 { margin: 9px 0 12px; color: #fff; font-size: 2rem; }
.auth-panel > p { color: var(--commerce-muted); font-size: 0.82rem; line-height: 1.65; }
.auth-form { display: grid; gap: 16px; margin-top: 22px; }
.auth-back { display: inline-block; margin-top: 20px; }
.auth-primary-link { margin-top: 10px; padding: 0 15px; }

.legal-shell { display: grid; width: min(1100px, calc(100% - 28px)); grid-template-columns: 230px minmax(0, 1fr); gap: 52px; margin: 0 auto; padding: 54px 0 70px; }
.legal-topbar { display: flex; width: min(1100px, calc(100% - 28px)); align-items: center; justify-content: space-between; gap: 20px; margin-inline: auto; border-bottom: 1px solid var(--commerce-line); padding: 22px 0; }
.legal-topbar nav { display: flex; flex-wrap: wrap; gap: 12px; }
.legal-topbar nav a { color: #aebfc8; font-size: 0.72rem; text-decoration: none; }
.legal-shell aside { position: sticky; top: 28px; align-self: start; display: grid; gap: 7px; border-top: 2px solid var(--commerce-green); padding-top: 16px; }
.legal-shell aside span { color: var(--commerce-green); font-size: 0.66rem; font-weight: 850; text-transform: uppercase; }
.legal-shell aside strong { color: #fff; font-size: 1rem; }
.legal-shell aside small { color: #7f95a1; font-size: 0.66rem; }
.legal-shell article { min-width: 0; }
.legal-shell article h1 { margin: 0 0 18px; color: #fff; font-size: 2.6rem; }
.legal-shell article h2 { margin: 34px 0 10px; color: #fff; font-size: 1.15rem; }
.legal-shell article p,
.legal-shell article li { color: #b6c6cf; font-size: 0.82rem; line-height: 1.75; }
.legal-shell article b { color: #edf6fa; }
.legal-shell article a { color: #9ee9ce; }
.legal-callout { border-left: 3px solid var(--commerce-coral); background: #1b1213; color: #ffe3df !important; padding: 16px 18px; }
.legal-footer { display: flex; width: min(1100px, calc(100% - 28px)); flex-wrap: wrap; gap: 16px; margin: 0 auto; border-top: 1px solid var(--commerce-line); padding: 26px 0 40px; }
.legal-footer a { color: #aebfc8; font-size: 0.7rem; text-decoration: none; }

.billing-success-page { margin: 0; background: var(--commerce-bg); color: var(--commerce-text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.billing-success-shell { display: grid; width: min(560px, calc(100% - 28px)); min-height: 100svh; align-content: center; justify-items: center; margin-inline: auto; text-align: center; }
.billing-success-shell > span { margin-top: 26px; color: var(--commerce-green); font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.billing-success-shell h1 { margin: 9px 0 10px; color: #fff; font-size: 2.2rem; }
.billing-success-shell p { color: var(--commerce-muted); line-height: 1.65; }
.billing-success-shell > a:last-child { display: inline-flex; min-height: 44px; align-items: center; border: 1px solid #3f5c6c; border-radius: 5px; background: #13212b; color: #fff; padding: 0 18px; font-size: .78rem; font-weight: 850; text-decoration: none; }

/* Account commerce overrides */
.pro-account-page .account-topbar { border-color: #253945; background: rgba(6,11,16,.95); }
.pro-account-page .account-main { width: min(var(--commerce-max), calc(100% - 28px)); }
.pro-account-page .account-command,
.pro-account-page .account-panel,
.pro-account-page .account-plan-tile { border-color: var(--commerce-line); border-radius: 7px; background: #0c151d; color: var(--commerce-text); box-shadow: none; }
.pro-account-page .account-command { border-top: 3px solid var(--commerce-green); }
.pro-account-page :where(.account-command, .account-panel, .account-plan-tile) :where(h1, strong, b) { color: #f4f9fb; }
.pro-account-page :where(.account-command, .account-panel, .account-plan-tile) :where(p, small, span) { color: #aebfc8; }
.pro-account-page .account-panel-head span { color: var(--commerce-green); }
.pro-account-page :where(input, select, textarea) { border-color: #334b59; background: #071017; color: #f4f9fb; }
.pro-account-page button { border-radius: 5px; }
.pro-account-page .account-plan-tile.current { border-color: var(--commerce-green); box-shadow: inset 0 3px 0 var(--commerce-green); }
.pro-account-page .account-checkout-form { display: grid; gap: 9px; }
.pro-account-page .billing-consent { margin-block: 3px; }
.pro-account-page .site-alert { color: #eef8fb; }

@media (max-width: 1000px) {
  .hero-copy h1 { font-size: 4.3rem; }
  .engine-row { grid-template-columns: 130px minmax(0, 1fr); }
  .engine-row ul { grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-grid { grid-template-columns: 1fr; }
  .commerce-form + .commerce-form { border-top: 1px solid var(--commerce-line); border-left: 0; }
}

@media (max-width: 760px) {
  .commerce-header { grid-template-columns: 1fr auto; min-height: 60px; padding-inline: 14px; }
  .commerce-header nav { display: none; }
  .commerce-hero { height: calc(100svh - 76px); min-height: 560px; align-items: start; }
  .commerce-hero > img { object-position: 58% top; }
  .hero-shade { background: rgba(3,8,12,.8); }
  .hero-shade::after { display: none; }
  .hero-copy { width: calc(100% - 28px); margin: 58px 14px 102px; }
  .hero-copy h1 { font-size: 3.25rem; }
  .hero-copy > p { font-size: 0.96rem; line-height: 1.55; }
  .hero-products { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
  .hero-products span { padding: 10px 12px; }
  .hero-products span:nth-child(3) { border-left: 1px solid #263946; border-top: 1px solid #263946; }
  .hero-products span:nth-child(4) { border-top: 1px solid #263946; }
  .proof-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 20px); }
  .proof-bar div:nth-child(2) { border-right: 0; }
  .proof-bar div:nth-child(-n+2) { border-bottom: 1px solid var(--commerce-line-soft); }
  .engine-section, .pricing-section, .trust-section, .join-section, .faq-section, .cockpit-proof { width: calc(100% - 24px); padding-block: 64px; }
  .section-heading h2 { font-size: 2rem; }
  .engine-row { grid-template-columns: 1fr; gap: 15px; padding: 26px 4px; }
  .engine-row ul { grid-column: 1; grid-template-columns: 1fr; }
  .cockpit-proof img { min-height: 260px; }
  .cockpit-proof figcaption { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cockpit-proof figcaption span:nth-child(2) { border-right: 0; }
  .cockpit-proof figcaption span:nth-child(-n+2) { border-bottom: 1px solid #253a46; }
  .pricing-table { grid-template-columns: 1fr; }
  .pricing-table article { border-right: 1px solid var(--commerce-line); border-bottom: 1px solid var(--commerce-line); padding: 28px 24px; }
  .pricing-table article:last-child { border-bottom: 0; }
  .pricing-table header p { min-height: 0; }
  .trust-ledger { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .commerce-form { padding: 26px 20px; }
  .commerce-footer { grid-template-columns: 1fr; width: calc(100% - 28px); }
  .commerce-footer nav { justify-content: start; }
  .auth-panel { padding: 28px 20px; }
  .legal-shell { grid-template-columns: 1fr; gap: 28px; padding-top: 34px; }
  .legal-shell aside { position: static; }
  .legal-shell article h1 { font-size: 2rem; }
}

@media (max-width: 420px) {
  .commerce-brand small { display: none; }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-actions a { width: 100%; }
  .billing-switch { width: 100%; }
  .proof-bar div { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
