: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-lime: #d9ff66;
  --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-intent {
  display: grid;
  width: min(540px, 100%);
  gap: 8px;
  margin-top: 16px;
}

.hero-intent > span {
  color: #9fb2bc;
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-intent > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(112, 145, 162, 0.58);
  border-radius: 6px;
  background: rgba(5, 13, 18, 0.88);
  backdrop-filter: blur(14px);
}

.hero-intent button {
  display: inline-flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-right: 1px solid #2a414e;
  background: transparent;
  color: #c4d2d9;
  font-size: 0.66rem;
  font-weight: 850;
  cursor: pointer;
}

.hero-intent button:last-child { border-right: 0; }
.hero-intent button:hover { background: #14232c; color: #fff; }
.hero-intent button[aria-pressed="true"] { background: #edf7f4; color: #07110e; }
.hero-intent button i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--commerce-green); }
.hero-intent button[data-market-intent="volume"] i { background: var(--commerce-lime); }
.hero-intent button[data-market-intent="ipo"] i { background: var(--commerce-amber); }
.hero-intent button[data-market-intent="short"] i { background: var(--commerce-coral); }
.hero-intent button[data-market-intent="crypto"] i { background: var(--commerce-cyan); }
.hero-intent > small { color: #a9bbc4; font-size: 0.66rem; line-height: 1.4; text-shadow: 0 2px 10px #000; }
.hero-copy > small.hero-risk { margin-top: 12px; }

.hero-products {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 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-lime); }
.hero-products span:nth-child(2) b { color: var(--commerce-amber); }
.hero-products span:nth-child(3) b { color: var(--commerce-green); }
.hero-products span:nth-child(4) b { color: var(--commerce-coral); }
.hero-products span:nth-child(5) 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.volume .engine-code strong { color: var(--commerce-lime); }
.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; }
.commerce-form label > span small { color: #718792; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; }
.optional-password { border-top: 1px solid #223641; border-bottom: 1px solid #223641; padding: 11px 0; }
.optional-password summary { display: flex; align-items: center; justify-content: space-between; color: #b9c9d1; font-size: 0.7rem; font-weight: 750; cursor: pointer; list-style: none; }
.optional-password summary::-webkit-details-marker { display: none; }
.optional-password summary::after { color: var(--commerce-green); content: "+"; font-size: 1rem; }
.optional-password[open] summary::after { content: "-"; }
.optional-password summary span { margin-left: auto; margin-right: 10px; color: #748994; font-size: 0.58rem; font-weight: 700; text-transform: uppercase; }
.optional-password .form-grid { margin-top: 13px; }
.join-value { color: #8297a2; font-size: 0.65rem; line-height: 1.5; }
.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; }

.account-plan-market {
  margin-top: 18px;
  scroll-margin-top: 84px;
  border: 1px solid #293e4a;
  border-radius: 8px;
  background: #081119;
}

.plan-market-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  align-items: end;
  gap: 28px;
  padding: 22px 24px 18px;
}

.plan-market-head > div { display: grid; gap: 5px; }
.plan-market-head > div > span { color: #78e3be; font-size: .58rem; font-weight: 850; text-transform: uppercase; }
.plan-market-head h2 { margin: 0; color: #f7fbfd; font-size: 1.45rem; line-height: 1.15; }
.plan-market-head p { margin: 0; color: #a9bbc4; font-size: .72rem; line-height: 1.55; }

.plan-route-notice {
  display: grid;
  grid-template-columns: auto minmax(150px, .6fr) minmax(280px, 1.4fr);
  align-items: center;
  gap: 16px;
  margin: 0 24px 16px;
  border: 1px solid #366554;
  border-left: 3px solid #75dfbb;
  border-radius: 6px;
  background: #0e211b;
  padding: 12px 14px;
}

.plan-route-notice.apex { border-color: #6c5b2d; border-left-color: #f0cf76; background: #201b10; }
.plan-route-notice > span { color: #85e7c5; font-size: .56rem; font-weight: 850; text-transform: uppercase; }
.plan-route-notice.apex > span { color: #f3d786; }
.plan-route-notice > strong { color: #f5fbf8; font-size: .84rem; }
.plan-route-notice > small { color: #adc0b8; font-size: .65rem; line-height: 1.45; }
.plan-route-notice.apex > small { color: #c9bb91; }

.pro-account-page .account-plan-market .account-plan-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border-top: 1px solid #293e4a;
  border-bottom: 1px solid #293e4a;
  background: #293e4a;
}

.pro-account-page .account-plan-market .account-plan-tile {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 440px;
  grid-template-rows: auto auto auto minmax(70px, auto) 1fr;
  align-content: start;
  gap: 9px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #0c151d;
  padding: 22px;
  box-shadow: inset 0 3px 0 #52636d;
}

.pro-account-page .account-plan-market .account-plan-tile.pulse { background: #0b1718; box-shadow: inset 0 3px 0 #5fd3ad; }
.pro-account-page .account-plan-market .account-plan-tile.apex { background: #111710; box-shadow: inset 0 3px 0 #d9b957; }
.pro-account-page .account-plan-market .account-plan-tile.selected { background: #10221e; box-shadow: inset 0 4px 0 #77e4be, inset 0 0 0 1px rgba(119, 228, 190, .22); }
.pro-account-page .account-plan-market .account-plan-tile.apex.selected { background: #201c11; box-shadow: inset 0 4px 0 #f0cf76, inset 0 0 0 1px rgba(240, 207, 118, .24); }
.pro-account-page .account-plan-market .account-plan-tile.current { border: 0; }

.pro-account-page .account-plan-market .account-plan-tile > span {
  width: fit-content;
  border: 1px solid #3b505c;
  border-radius: 3px;
  background: #16232c;
  color: #c9d5da;
  padding: 4px 7px;
  font-size: .52rem;
  font-weight: 850;
  text-transform: uppercase;
}

.pro-account-page .account-plan-market .account-plan-tile.pulse > span { border-color: #315f50; background: #112b23; color: #8ee8c9; }
.pro-account-page .account-plan-market .account-plan-tile.apex > span { border-color: #65572e; background: #2a2414; color: #f0d484; }
.pro-account-page .account-plan-market .account-plan-tile > strong { color: #f7fbfd; font-size: 1rem; }
.pro-account-page .account-plan-market .account-plan-tile > b { color: #fff; font-size: 1.8rem; line-height: 1; }
.pro-account-page .account-plan-market .account-plan-tile > b small { color: #90a5af; font-size: .64rem; font-weight: 650; }
.pro-account-page .account-plan-market .account-plan-tile > p { margin: 1px 0 0; color: #aebfc7; font-size: .69rem; line-height: 1.55; }
.pro-account-page .account-plan-market .account-plan-tile > small { align-self: end; color: #8fa4ae; font-size: .62rem; }

.pro-account-page .account-plan-market .account-checkout-form {
  display: grid;
  align-self: end;
  gap: 10px;
  margin-top: 6px;
  border-top: 1px solid #294039;
  padding-top: 14px;
}

.pro-account-page .account-plan-market .apex .account-checkout-form { border-top-color: #4b4126; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.checkout-fields label { display: grid; min-width: 0; gap: 6px; }
.checkout-fields label > span { color: #a8bbc4; font-size: .55rem; font-weight: 800; text-transform: uppercase; }
.pro-account-page .account-plan-market .checkout-fields select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #3a515e;
  border-radius: 5px;
  background: #071017;
  color: #f1f7f9;
  padding: 0 28px 0 9px;
  font-size: .63rem;
}

.pro-account-page .account-plan-market .billing-consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
  color: #aabcc4;
  font-size: .57rem;
  line-height: 1.45;
}

.pro-account-page .account-plan-market .billing-consent input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: #56d3a8; }
.pro-account-page .account-plan-market .billing-consent a { color: #99e8cc; }
.pro-account-page .account-plan-market .account-checkout-form > button {
  display: grid;
  width: 100%;
  min-height: 48px;
  align-content: center;
  gap: 2px;
  border: 1px solid #73e0bb;
  border-radius: 6px;
  background: #73e0bb;
  color: #06140f;
  padding: 7px 12px;
  font-size: .76rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.pro-account-page .account-plan-market .apex .account-checkout-form > button { border-color: #f0cf76; background: #f0cf76; color: #181305; }
.pro-account-page .account-plan-market .account-checkout-form > button small { color: #174535; font-size: .5rem; font-weight: 750; }
.pro-account-page .account-plan-market .apex .account-checkout-form > button small { color: #5b4b1e; }
.pro-account-page .account-plan-market .account-checkout-form > button:hover { border-color: #9af0d2; background: #9af0d2; transform: translateY(-1px); }
.pro-account-page .account-plan-market .apex .account-checkout-form > button:hover { border-color: #ffe6a0; background: #ffe6a0; }
.pro-account-page .account-plan-market :where(button, select, input, a):focus-visible { outline: 2px solid #6fb5ff; outline-offset: 2px; }

.current-plan-action {
  display: grid;
  align-self: end;
  gap: 5px;
  margin-top: 6px;
  border: 1px solid #33584c;
  border-radius: 6px;
  background: #10251e;
  padding: 14px;
}

.apex .current-plan-action { border-color: #61542e; background: #282212; }
.current-plan-action > span { color: #80e4c2 !important; font-size: .52rem; font-weight: 850; text-transform: uppercase; }
.apex .current-plan-action > span { color: #f0d584 !important; }
.current-plan-action > strong { color: #f4fbf8; font-size: .78rem; }
.current-plan-action > small { color: #a9bdb5 !important; font-size: .58rem; line-height: 1.45; }
.current-plan-action > a { width: fit-content; margin-top: 4px; color: #a0ead0; font-size: .62rem; font-weight: 800; }
.apex .current-plan-action > a { color: #f2d98b; }

.plan-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #263a45;
}

.plan-trust-strip span { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; background: #0b151d; color: #9fb2bc; font-size: .58rem; font-weight: 700; text-align: center; }
.plan-trust-strip i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #70dfba; box-shadow: 0 0 10px rgba(112, 223, 186, .45); }

.trial-command {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid #315447;
  border-radius: 8px;
  background: #0d1c18;
  padding: 15px 18px;
}

.trial-command.ready { border-color: #476273; background: #0d1921; }
.trial-command.verify { border-color: #6a5629; background: #211d12; }
.trial-command > div:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.trial-command > div:nth-child(2) > span { color: #78e3be; font-size: 0.58rem; font-weight: 850; text-transform: uppercase; }
.trial-command.verify > div:nth-child(2) > span { color: #f2ce70; }
.trial-command > div:nth-child(2) > strong { color: #f5fbf8; font-size: 0.92rem; }
.trial-command > div:nth-child(2) > small { color: #9fb2aa; font-size: 0.66rem; line-height: 1.45; }
.trial-command nav { display: flex; align-items: center; gap: 8px; }
.trial-command nav a,
.trial-command > a,
.trial-command form button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; border: 1px solid #48695d; border-radius: 6px; background: #13261f; color: #eafff6; padding: 0 13px; font-size: 0.68rem; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer; }
.trial-command nav a.primary,
.trial-command form button { border-color: #72dfba; background: #72dfba; color: #05120d; }
.trial-command.verify > a { border-color: #7b6631; background: #2c2615; color: #ffe8a9; }
.trial-command form { margin: 0; }
.trial-beacon { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #355c4e; border-radius: 50%; }
.trial-beacon i { position: absolute; border: 1px solid rgba(114, 223, 186, 0.46); border-radius: 50%; }
.trial-beacon i:nth-child(1) { inset: 6px; }
.trial-beacon i:nth-child(2) { inset: 13px; background: #72dfba; box-shadow: 0 0 14px rgba(114, 223, 186, 0.55); }
.trial-beacon i:nth-child(3) { width: 4px; height: 4px; background: #07130f; }
.trial-command.verify .trial-beacon { border-color: #705d30; }
.trial-command.verify .trial-beacon i { border-color: rgba(242, 206, 112, 0.5); }
.trial-command.verify .trial-beacon i:nth-child(2) { background: #f2ce70; box-shadow: none; }

@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; }
  .pro-account-page .account-plan-market .account-plan-shell { grid-template-columns: 1fr; }
  .pro-account-page .account-plan-market .account-plan-tile { min-height: 0; }
}

@media (max-width: 760px) {
  .commerce-header { grid-template-columns: 1fr auto; min-height: 60px; padding-inline: 14px; }
  .commerce-header nav { display: none; }
  .plan-market-head { grid-template-columns: 1fr; gap: 8px; padding: 18px 16px 14px; }
  .plan-route-notice { grid-template-columns: 1fr; gap: 4px; margin: 0 16px 14px; }
  .checkout-fields { grid-template-columns: 1fr; }
  .plan-trust-strip { grid-template-columns: 1fr; }
  .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-intent { margin-top: 13px; }
  .hero-intent > small { display: none; }
  .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; }
  .hero-products span:nth-child(5) { grid-column: 1 / -1; border-top: 1px solid #263946; border-left: 1px solid #263946; text-align: center; }
  .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; }
  .trial-command { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .trial-beacon { width: 36px; height: 36px; }
  .trial-command nav,
  .trial-command form,
  .trial-command > a { grid-column: 1 / -1; }
  .trial-command nav { align-items: stretch; flex-direction: column; }
  .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%; }
  .hero-intent button { min-height: 32px; gap: 4px; font-size: 0.58rem; }
  .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; }
}

/* Unified identity and signal experience */
.passwordless-panel { display: block; }
.passwordless-form,
.password-fallback form { display: grid; gap: 14px; }
.passwordless-form { margin-top: 22px; }
.passwordless-panel > header p { min-height: 42px; }
.auth-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 20px 0; color: #71838e; font-size: 12px; text-transform: uppercase; }
.auth-route::before,
.auth-route::after { height: 1px; background: var(--commerce-line); content: ""; }
.phone-signin { display: grid; min-height: 58px; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid #2b414e; border-radius: 8px; background: #101c24; color: #f6fbfd; padding: 10px 14px; text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.phone-signin:hover { border-color: #6fd9b4; background: #14232c; }
.phone-signin i { position: relative; display: block; width: 18px; height: 26px; justify-self: center; border: 2px solid #7ce2bf; border-radius: 5px; }
.phone-signin i::after { position: absolute; bottom: 2px; left: 50%; width: 3px; height: 3px; border-radius: 50%; background: #7ce2bf; content: ""; transform: translateX(-50%); }
.phone-signin span { display: grid; gap: 3px; min-width: 0; }
.phone-signin strong { font-size: 13px; }
.phone-signin small { overflow: hidden; color: #91a5af; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.phone-signin b { color: #7ce2bf; font-size: 23px; font-weight: 400; }
.password-fallback { margin-top: 14px; }
.password-fallback summary { cursor: pointer; color: #9eb0ba; font-size: 12px; text-align: center; }
.password-fallback[open] summary { margin-bottom: 16px; color: #e6f0f4; }
.password-fallback summary::marker { color: #6fd9b4; }
.simple-auth-grid .commerce-form + .commerce-form { border-left-color: #243845; }

.account-quick-actions { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: 1px; overflow: hidden; margin: 14px 0 18px; border: 1px solid #263b47; border-radius: 8px; background: #263b47; }
.account-quick-actions > * { min-height: 70px; background: #0c151d; }
.account-quick-actions > div { display: grid; align-content: center; gap: 5px; padding: 13px 18px; }
.account-quick-actions > div strong { color: #edf5f8; font-size: 13px; }
.account-quick-actions > div span { color: #91a5af; font-size: 11px; line-height: 1.45; }
.signal-launcher { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 16px; color: #f5fbfd; text-decoration: none; }
.signal-launcher:hover { background: #102029; }
.signal-launcher > i { position: relative; display: block; width: 24px; height: 24px; border: 2px solid #73e0bb; border-radius: 50%; }
.signal-launcher > i::before,
.signal-launcher > i::after { position: absolute; inset: 4px; border: 1px solid #73e0bb; border-radius: 50%; content: ""; opacity: .6; }
.signal-launcher > i::after { inset: 9px; background: #73e0bb; opacity: 1; }
.signal-launcher > span { display: grid; gap: 3px; min-width: 0; }
.signal-launcher strong { color: #f5fbfd; font-size: 14px; }
.signal-launcher small { overflow: hidden; color: #94a7b1; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.signal-launcher b { color: #73e0bb; font-size: 23px; font-weight: 400; }

.identity-security-shell { margin: 0 0 18px; border: 1px solid #263b47; border-radius: 8px; background: #0c151d; padding: 24px; }
.identity-security-shell > header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 420px); align-items: end; gap: 24px; margin-bottom: 20px; }
.identity-security-shell > header span { color: #73e0bb; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.identity-security-shell > header h2 { margin: 7px 0 0; color: #f5fbfd; font-size: 23px; line-height: 1.2; }
.identity-security-shell > header p { margin: 0; color: #91a5af; font-size: 12px; line-height: 1.55; }
.identity-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid #263b47; border-radius: 8px; background: #263b47; }
.identity-channel-grid > article { display: grid; min-width: 0; min-height: 86px; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 13px; background: #101b23; padding: 14px; }
.identity-channel-grid article > div:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.identity-channel-grid article strong { color: #f4f9fb; font-size: 13px; }
.identity-channel-grid article span { overflow: hidden; color: #9db0ba; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.identity-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #385160; border-radius: 8px; color: #75e1bc; font-size: 17px; font-weight: 700; }
.identity-icon.phone::before { width: 13px; height: 21px; border: 2px solid #75e1bc; border-radius: 4px; content: ""; }
.identity-state { width: max-content; margin-top: 2px; border-radius: 3px; padding: 2px 6px; font-size: 9px !important; font-weight: 800; text-transform: uppercase; }
.identity-state.verified { background: #123326; color: #8ef0c9 !important; }
.identity-state.pending { background: #342d18; color: #f4d783 !important; }
.phone-verify-form { display: grid; grid-template-columns: minmax(130px, 190px) auto; gap: 8px; }
.phone-verify-form input { min-width: 0; height: 36px; padding-inline: 10px; font-size: 11px; }
.phone-code-form { display: grid; max-width: 520px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 14px; border-top: 1px solid #263b47; padding-top: 14px; }
.phone-code-form label { display: grid; gap: 6px; color: #9fb1bb; font-size: 10px; font-weight: 700; }
.phone-code-form input { height: 40px; }

.signal-settings-page { min-height: 100svh; background: #071017; color: #edf5f8; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; }
.signal-topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); }
.signal-main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 64px; }
.signal-hero { display: grid; grid-template-columns: minmax(0, 1fr) 168px; align-items: center; gap: 28px; min-height: 164px; border-bottom: 1px solid #263b47; padding: 16px 4px 28px; }
.signal-hero > div > span { color: #73e0bb; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.signal-hero h1 { margin: 8px 0 10px; color: #f8fbfc; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; letter-spacing: 0; }
.signal-hero p { max-width: 650px; margin: 0; color: #9db0ba; font-size: 14px; line-height: 1.6; }
.signal-hero aside { position: relative; display: grid; min-height: 126px; place-content: center; justify-items: center; overflow: hidden; border: 1px solid #2b424f; border-radius: 8px; background: #0d1921; }
.signal-hero aside strong { z-index: 1; color: #f8fbfc; font-size: 30px; }
.signal-hero aside span { z-index: 1; margin-top: 4px; color: #8fa4af; font-size: 9px; font-weight: 800; }
.signal-orbit { position: absolute; width: 92px; height: 92px; border: 1px solid rgba(115,224,187,.28); border-radius: 50%; }
.signal-orbit::before,
.signal-orbit::after { position: absolute; border: 1px solid rgba(115,224,187,.17); border-radius: 50%; content: ""; }
.signal-orbit::before { inset: 12px; }
.signal-orbit::after { inset: 28px; background: rgba(115,224,187,.08); }
.signal-plan-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 16px; border: 1px solid #584c25; border-radius: 7px; background: #1c1a12; padding: 12px 14px; }
.signal-plan-note strong { color: #f7dd8d; font-size: 11px; }
.signal-plan-note span { color: #bdad7b; font-size: 11px; }
.signal-plan-note a { color: #f7dd8d; font-size: 11px; font-weight: 700; }
.signal-preferences { margin-top: 18px; border: 1px solid #283e4a; border-radius: 8px; background: #0b151d; }
.signal-master-row { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #263b47; padding: 14px 20px; }
.signal-master-row > div { display: grid; gap: 4px; }
.signal-master-row strong { color: #f5f9fb; font-size: 15px; }
.signal-master-row span { color: #8fa3ae; font-size: 11px; }
.apple-switch { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.apple-switch input { position: absolute; opacity: 0; pointer-events: none; }
.apple-switch > span { position: relative; width: 44px; height: 24px; flex: 0 0 auto; border-radius: 12px; background: #3b4850; transition: background .18s ease; }
.apple-switch > span::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.35); content: ""; transition: transform .18s ease; }
.apple-switch input:checked + span { background: #34c77b; }
.apple-switch input:checked + span::after { transform: translateX(20px); }
.apple-switch input:focus-visible + span { outline: 2px solid #68aefc; outline-offset: 3px; }
.apple-switch b { color: #dbe7eb; font-size: 11px; }
.signal-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.signal-choice-block { min-width: 0; margin: 0; border: 0; border-right: 1px solid #263b47; padding: 22px 20px; }
.signal-choice-block:last-child { border-right: 0; }
.signal-choice-block legend { display: flex; align-items: center; gap: 9px; color: #f4f9fb; padding: 0; }
.signal-choice-block legend > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #18342a; color: #82e8c4; font-size: 10px; }
.signal-choice-block legend strong { font-size: 14px; }
.signal-choice-block > p { min-height: 18px; margin: 8px 0 16px; color: #8197a2; font-size: 10px; }
.cadence-control { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.cadence-control label { position: relative; min-width: 0; cursor: pointer; }
.cadence-control input { position: absolute; opacity: 0; }
.cadence-control label > span { display: grid; min-height: 48px; align-content: center; gap: 2px; border: 1px solid #2e4552; border-radius: 7px; background: #0d1921; color: #dbe6ea; padding: 7px 9px; font-size: 11px; font-weight: 750; }
.cadence-control small { color: #8297a2; font-size: 8px; font-weight: 500; }
.cadence-control input:checked + span { border-color: #6fd9b4; background: #102820; color: #effff8; box-shadow: inset 0 0 0 1px rgba(111,217,180,.22); }
.cadence-control input:checked + span small { color: #9ee8cd; }
.cadence-control input:focus-visible + span { outline: 2px solid #68aefc; outline-offset: 2px; }
.channel-row { display: grid; min-height: 50px; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid #223640; cursor: pointer; }
.channel-row > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.channel-row strong { color: #edf5f8; font-size: 11px; }
.channel-row small { overflow: hidden; color: #8297a2; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.channel-symbol { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #35505e; border-radius: 6px; color: #77e1bd; font-size: 11px; font-weight: 800; }
.channel-row > input { width: 17px; height: 17px; accent-color: #34c77b; }
.channel-row.unavailable { opacity: .55; cursor: default; }
.inline-action { display: inline-block; margin-top: 10px; color: #79ddb9; font-size: 10px; font-weight: 700; }
.sms-consent { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; margin-top: 10px; color: #9eb0ba; font-size: 9px; line-height: 1.45; }
.sms-consent input { margin: 2px 0 0; accent-color: #34c77b; }
.product-toggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.product-toggles label { position: relative; cursor: pointer; }
.product-toggles input { position: absolute; opacity: 0; }
.product-toggles label > span { display: flex; min-height: 42px; align-items: center; gap: 8px; border: 1px solid #2d444f; border-radius: 7px; background: #0d1921; padding: 8px; }
.product-toggles i { width: 8px; height: 8px; border-radius: 50%; background: #788b94; }
.product-toggles i.volume { background: var(--commerce-lime); }
.product-toggles i.news { background: #ffbd4a; }
.product-toggles i.ipo { background: #39d8b0; }
.product-toggles i.long { background: #73b7ff; }
.product-toggles i.short { background: #ff6f77; }
.product-toggles i.crypto { background: #f1c75b; }
.product-toggles strong { color: #b7c5cb; font-size: 10px; }
.product-toggles input:checked + span { border-color: #587380; background: #14232c; }
.product-toggles input:checked + span strong { color: #fff; }
.product-toggles input:focus-visible + span { outline: 2px solid #68aefc; outline-offset: 2px; }
.signal-strength { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid #263b47; padding: 14px 20px; }
.signal-strength > div { display: grid; gap: 4px; }
.signal-strength strong { color: #f5f9fb; font-size: 12px; }
.signal-strength span { color: #8197a2; font-size: 10px; }
.signal-strength label { display: grid; width: min(360px, 45%); grid-template-columns: minmax(0, 1fr) 42px; align-items: center; gap: 12px; }
.signal-strength input { width: 100%; accent-color: #34c77b; }
.signal-strength output { color: #86e8c7; font-size: 14px; font-weight: 800; }
.signal-advanced { border-top: 1px solid #263b47; }
.signal-advanced summary { display: flex; min-height: 54px; align-items: center; justify-content: space-between; cursor: pointer; padding: 0 20px; }
.signal-advanced summary span { color: #dce7eb; font-size: 11px; font-weight: 750; }
.signal-advanced summary small { color: #7d929d; font-size: 9px; }
.signal-advanced summary::marker { color: #70dbb6; }
.advanced-signal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; border-top: 1px solid #223640; padding: 16px 20px 20px; }
.advanced-signal-grid label { display: grid; gap: 6px; color: #8ea2ad; font-size: 9px; font-weight: 700; }
.advanced-signal-grid select { width: 100%; min-width: 0; height: 38px; border-radius: 6px; padding: 0 9px; font-size: 10px; }
.signal-form-actions { display: flex; align-items: center; gap: 14px; border-top: 1px solid #263b47; padding: 16px 20px; }
.signal-form-actions button,
.phone-code-form button { min-height: 40px; border: 0; border-radius: 7px; background: #f5f7f8; color: #0a1116; padding: 0 17px; font-size: 11px; font-weight: 800; cursor: pointer; }
.signal-form-actions span { color: #748a95; font-size: 9px; }
.signal-history { margin-top: 18px; border: 1px solid #283e4a; border-radius: 8px; background: #0b151d; }
.signal-history > header { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #263b47; padding: 12px 18px; }
.signal-history > header > div { display: grid; gap: 4px; }
.signal-history > header span { color: #73e0bb; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.signal-history h2 { margin: 0; color: #f5f9fb; font-size: 16px; }
.quiet-button { min-height: 34px; border: 1px solid #36515e !important; border-radius: 6px !important; background: #12212a !important; color: #e8f2f5 !important; padding: 0 12px; font-size: 10px; font-weight: 750; cursor: pointer; }
.quiet-button:hover { border-color: #6fd9b4 !important; }
.signal-history-table { overflow-x: auto; }
.signal-history table { width: 100%; border-collapse: collapse; table-layout: auto; }
.signal-history th { background: #0e1a22; color: #79909b; font-size: 8px; font-weight: 800; text-align: left; text-transform: uppercase; }
.signal-history :where(th,td) { border-bottom: 1px solid #20333d; padding: 10px 12px; white-space: nowrap; }
.signal-history td { color: #a9bac2; font-size: 10px; }
.signal-history td strong { color: #f1f7f9; }
.delivery-state { border-radius: 3px; background: #263640; padding: 3px 6px; color: #cbd7dc !important; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.delivery-state.sent,
.delivery-state.accepted,
.delivery-state.delivered { background: #123326; color: #8ef0c9 !important; }
.delivery-state.failed { background: #3b1f24; color: #ffabb0 !important; }
.empty-cell { height: 74px; text-align: center; }

@media (max-width: 900px) {
  .signal-choice-grid { grid-template-columns: 1fr; }
  .signal-choice-block { border-right: 0; border-bottom: 1px solid #263b47; }
  .signal-choice-block:last-child { border-bottom: 0; }
  .advanced-signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .identity-security-shell > header { grid-template-columns: 1fr; gap: 10px; }
  .identity-channel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .signal-main { width: min(100% - 20px, 1180px); padding-top: 18px; }
  .signal-topbar nav a:nth-child(n+3):nth-child(-n+5) { display: none; }
  .signal-hero { grid-template-columns: 1fr; }
  .signal-hero aside { grid-template-columns: auto auto; min-height: 64px; gap: 8px; }
  .signal-orbit { width: 48px; height: 48px; }
  .signal-plan-note { grid-template-columns: 1fr auto; }
  .signal-plan-note span { grid-column: 1 / -1; grid-row: 2; }
  .signal-strength { align-items: start; flex-direction: column; }
  .signal-strength label { width: 100%; }
  .advanced-signal-grid { grid-template-columns: 1fr; }
  .signal-form-actions { align-items: stretch; flex-direction: column; }
  .account-quick-actions { grid-template-columns: 1fr; }
  .identity-security-shell { padding: 18px 14px; }
  .identity-channel-grid > article { grid-template-columns: 34px minmax(0, 1fr); }
  .identity-channel-grid article > form { grid-column: 1 / -1; }
  .phone-verify-form { grid-template-columns: minmax(0, 1fr) auto; }
  .phone-code-form { grid-template-columns: 1fr; }
  .simple-auth-grid .commerce-form + .commerce-form { border-top: 1px solid var(--commerce-line); border-left: 0; }
}

/* Account surfaces share one dark color contract, including legacy layout components. */
.pro-account-page {
  background: #060b10;
  color: var(--commerce-text);
}

.pro-account-page .account-command,
.pro-account-page .account-panel,
.pro-account-page .account-plan-tile,
.pro-account-page .identity-security-shell,
.pro-account-page .account-quick-actions {
  border-color: #293e4a;
  background-color: #0c151d;
  color: var(--commerce-text);
}

.pro-account-page .account-command {
  background: linear-gradient(135deg, rgba(72, 224, 164, .11), rgba(80, 201, 243, .08)), #0b151c;
}

.pro-account-page .account-command aside {
  border-color: #34505d;
  background: #101d25;
}

.pro-account-page .account-command :is(p, aside span, aside small),
.pro-account-page .payment-command-panel > p,
.pro-account-page .support-thread-list > p {
  color: #b7c6cd;
}

.pro-account-page .account-profile-form.classic label span {
  color: #bdcbd2;
}

.pro-account-page .account-profile-form.classic input,
.pro-account-page .support-form input,
.pro-account-page .phone-verify-form input,
.pro-account-page .phone-code-form input {
  border-color: #3b5360;
  background: #071017;
  color: #f4f9fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.pro-account-page :is(.account-profile-form.classic input, .support-form input, .phone-verify-form input)::placeholder {
  color: #8297a2;
  opacity: 1;
}

.pro-account-page .account-profile-actions button,
.pro-account-page .support-form button,
.pro-account-page .billing-portal-form button {
  border: 1px solid #73e0bb;
  background: #73e0bb;
  color: #06140f;
  box-shadow: none;
}

.pro-account-page .pay-brand-stack div,
.pro-account-page .feature-market-grid > div,
.pro-account-page .support-message-card {
  border: 1px solid #2d434f;
  background: #101b23;
  color: #f4f9fb;
}

.pro-account-page .support-message-card.admin {
  border-color: #35596b;
  background: #10202a;
}

.pro-account-page .pay-brand-stack b,
.pro-account-page .feature-market-grid strong,
.pro-account-page .support-message-card p {
  color: #f4f9fb;
}

.pro-account-page .pay-brand-stack span,
.pro-account-page .feature-market-grid p,
.pro-account-page .support-message-card span {
  color: #aebfc8;
}

.pro-account-page .feature-market-grid span {
  border: 1px solid #38584d;
  border-radius: 3px;
  background: #13271f;
  color: #8ce8c7;
}

.pro-account-page :is(input, select, textarea):focus {
  border-color: #73e0bb;
}
