/* 0si.ai landing — dark launch theme. Scoped to .marketing-site so shared public pages keep public-site.css as-is. */
.marketing-site {
  color-scheme: dark;
  --ink: #f2f4f8;
  --muted: #a3abba;
  --subtle: #7d8697;
  --line: rgba(255, 255, 255, .09);
  --paper: #07090d;
  --canvas: #0d1017;
  --surface: rgba(255, 255, 255, .035);
  --surface-strong: rgba(255, 255, 255, .06);
  --blue: #4d8dff;
  --blue-strong: #2f6bff;
  --blue-soft: rgba(77, 141, 255, .12);
  --violet: #8b6cff;
  --mint: #3ee6b5;
  --green: #3ee6b5;
  --positive: #ff6b6b;
  background: var(--paper);
  color: var(--ink);
}
.marketing-site a:focus-visible, .marketing-site button:focus-visible, .marketing-site summary:focus-visible { outline-color: #7aa7ff; }
.gradient-text { background: linear-gradient(100deg, #8fb6ff 0%, #b49bff 45%, #6ff0c8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.marketing-site .site-header { background: rgba(7, 9, 13, .72); border-bottom-color: var(--line); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.marketing-site .site-brand img { filter: brightness(0) invert(1); }
.marketing-site .site-nav a { color: var(--muted); }
.marketing-site .site-nav a:hover { color: #fff; }
.marketing-site .button { border-radius: 10px; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.marketing-site .button-primary { background: var(--blue-strong); color: #fff; }
.marketing-site .button-primary:hover { background: #4a7fff; transform: translateY(-1px); }
.marketing-site .button-outline { border-color: rgba(255, 255, 255, .18); color: var(--ink); }
.marketing-site .button-outline:hover { background: var(--surface-strong); border-color: rgba(255, 255, 255, .3); }
.marketing-site .icon-button { border-color: var(--line); color: var(--muted); border-radius: 10px; }
.marketing-site .icon-button:hover { color: #fff; background: var(--surface-strong); }
.marketing-site .text-link:hover { color: #fff; }
.marketing-site .eyebrow { color: #8ea3c7; letter-spacing: .08em; }
.button-glow { box-shadow: 0 0 0 1px rgba(122, 167, 255, .35), 0 10px 40px -8px rgba(47, 107, 255, .65); }
.button-ghost { border: 1px solid rgba(255, 255, 255, .14); color: var(--ink); background: rgba(255, 255, 255, .03); }
.button-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); }

/* Hero */
.brand-hero { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 72px 0 24px; overflow: hidden; isolation: isolate; }
.brand-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-glow { position: absolute; z-index: -1; top: -260px; left: 50%; width: 1100px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(77, 120, 255, .38), rgba(139, 108, 255, .16) 55%, transparent 100%); filter: blur(10px); animation: glow-breathe 9s ease-in-out infinite; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #cfd6e4; font-size: 13px; font-weight: 600; }
.hero-pill-tag { padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: #a9c5ff; font-size: 11px; font-family: "SFMono-Regular", Consolas, monospace; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(62, 230, 181, .6); animation: live-pulse 2s infinite; }
.hero-copy h1 { margin: 26px 0 0; font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: .02em; color: #8fa0bf; }
.hero-display { margin-top: 10px; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; word-break: keep-all; }
.hero-description { margin-top: 24px; max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.75; word-break: keep-all; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-actions .button { min-height: 52px; padding: 12px 24px; font-size: 15px; gap: 12px; }
.hero-footnote { margin-top: 18px; color: var(--subtle); font-size: 12px; }
.hero-stage { position: relative; width: min(1120px, calc(100% - 64px)); margin-top: 28px; animation: rise 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
.hero-stage::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 18px; background: linear-gradient(140deg, rgba(122, 167, 255, .7), rgba(139, 108, 255, .25) 40%, rgba(62, 230, 181, .45)); filter: blur(28px); opacity: .45; }
.hero-product { position: relative; display: block; width: 100%; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; overflow: hidden; background: #0e1118; text-align: left; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); cursor: zoom-in; }
.hero-product > img { width: 100%; height: auto; }
.image-expand { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; background: rgba(14, 17, 24, .8); color: #fff; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(15, 19, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); animation: float 6s ease-in-out infinite; }
.float-card div { display: grid; gap: 1px; }
.float-card strong { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
.float-card span:not(.float-icon) { font-size: 11px; color: var(--muted); white-space: nowrap; }
.float-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-soft); color: #9fc0ff; }
.float-icon .icon { width: 18px; height: 18px; }
.float-speed { left: -28px; top: 18%; }
.float-alert { right: -28px; bottom: 16%; animation-delay: -3s; }
.float-alert .float-icon { background: rgba(62, 230, 181, .12); color: var(--mint); }
.hero-caption { width: min(1120px, calc(100% - 64px)); display: flex; justify-content: space-between; gap: 16px; color: var(--subtle); font-size: 11px; }
.desktop-break { display: inline; }

/* Proof metrics */
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(1200px, calc(100% - 64px)); margin: 40px auto 0; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); overflow: hidden; }
.metric-strip > div { padding: 28px 28px 26px; border-left: 1px solid var(--line); }
.metric-strip > div:first-child { border-left: 0; }
.metric-strip strong { display: block; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.metric-strip strong span { margin-left: 3px; font-size: 18px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.metric-strip p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.metric-strip small { color: var(--subtle); font-size: 11px; }

.source-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 34px 4px; border-bottom: 1px solid var(--line); }
.source-strip > span { color: var(--subtle); font-size: 12px; }
.source-strip > div { display: flex; align-items: baseline; gap: 10px; opacity: .85; }
.source-strip strong { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.source-strip div span { font-size: 11px; color: var(--subtle); }
.source-strip a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.source-strip a:hover { color: #fff; }

/* Sections */
.site-section { padding: 120px max(32px, calc((100% - 1200px) / 2)); }
.section-heading h2 { margin-top: 16px; font-size: 40px; line-height: 1.3; font-weight: 800; letter-spacing: -.025em; }
.section-heading > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; font-size: 15px; line-height: 1.8; }
.section-heading .text-link { margin-top: 26px; color: #a9c5ff; }
.section-heading.centered { text-align: center; max-width: 720px; margin: 0 auto; }

.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 60px; }
.value-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); overflow: hidden; transition: transform .25s, border-color .25s; }
.value-card:hover { transform: translateY(-4px); border-color: rgba(122, 167, 255, .35); }
.value-card::after { content: ""; position: absolute; top: -120px; right: -120px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77, 141, 255, .18), transparent); pointer-events: none; }
.value-card-feature { border-color: rgba(122, 167, 255, .3); background: linear-gradient(180deg, rgba(77, 120, 255, .14), rgba(139, 108, 255, .04)); }
.value-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: #a9c5ff; border: 1px solid rgba(122, 167, 255, .25); }
.value-icon .icon { width: 22px; height: 22px; }
.value-kicker { margin-top: 26px; color: #8ea3c7; font-size: 11px; font-weight: 700; letter-spacing: .14em; font-family: "SFMono-Regular", Consolas, monospace; }
.value-card h3 { margin-top: 10px; font-size: 22px; line-height: 1.4; font-weight: 750; letter-spacing: -.02em; }
.value-card > p:not(.value-kicker) { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.8; flex: 1; }
.value-proof { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.value-proof strong { font-size: 18px; font-weight: 800; }
.value-proof span { color: var(--subtle); font-size: 12px; }

.flow-section { padding-top: 40px; }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: none; }
.flow-steps::before { content: ""; position: absolute; top: 23px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, rgba(122, 167, 255, .55), rgba(62, 230, 181, .55), transparent); }
.flow-steps li { position: relative; padding: 0 8px; text-align: center; }
.flow-num { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(122, 167, 255, .4); border-radius: 50%; background: #0b0f17; color: #a9c5ff; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; font-weight: 700; box-shadow: 0 0 24px -4px rgba(77, 141, 255, .55); }
.flow-steps h3 { margin-top: 20px; font-size: 19px; font-weight: 750; }
.flow-steps p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.75; word-break: keep-all; }

/* Product */
.product-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; border-top: 1px solid var(--line); }
.product-content { min-width: 0; padding: 28px 30px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.feature-tabs { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .25); width: fit-content; max-width: 100%; overflow-x: auto; }
.feature-tabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 14px; font-weight: 600; white-space: nowrap; }
.feature-tabs button[aria-selected="true"] { background: var(--surface-strong); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.feature-panel { min-height: 330px; padding: 28px 0 0; }
.feature-panel-title { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.mini-label { font-size: 10px; color: var(--mint); letter-spacing: .1em; }
.feature-panel h3 { font-size: 22px; font-weight: 750; margin-top: 6px; letter-spacing: -.02em; }
.sample-label { font-size: 10px; color: var(--subtle); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.data-table-wrap { overflow-x: auto; margin-top: 23px; }
.marketing-site table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.delta-table th, .delta-table td { padding: 15px 4px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 14px; }
.delta-table th:first-child { text-align: left; font-weight: 500; color: var(--muted); }
.delta-table thead th { color: var(--subtle); font-size: 11px; font-weight: 500; }
.delta-table .positive { color: var(--positive); font-weight: 700; }
.feature-note { margin-top: 18px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.example-disclaimer { margin-top: 20px; color: var(--subtle); font-size: 11px; line-height: 1.7; }
.example-disclaimer a { text-decoration: underline; text-underline-offset: 3px; }
.scale-values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 25px 0 20px; border-bottom: 1px solid var(--line); }
.scale-values div { display: grid; gap: 5px; }
.scale-values div > span { font-size: 12px; color: var(--subtle); }
.scale-values strong { font-size: 40px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; }
.scale-values strong span { font-size: 16px; margin-left: 6px; color: var(--muted); }
.scale-basis { display: grid; gap: 8px; margin: 18px 0 0; font-size: 12px; }
.scale-basis > div { display: flex; justify-content: space-between; gap: 20px; }
.scale-basis dt { color: var(--subtle); }
.scale-basis dd { margin: 0; }
.evidence-list { list-style: none; padding: 0; margin: 20px 0; font-size: 14px; }
.evidence-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.evidence-list .icon { color: var(--mint); width: 17px; }
.source-link { display: flex; gap: 10px; align-items: center; color: #a9c5ff; font-size: 13px; }
.source-link .icon:last-child { margin-left: auto; }

.signal-band { margin: 0 max(32px, calc((100% - 1200px) / 2)); padding: 56px 48px; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(77, 120, 255, .16), transparent 60%), var(--canvas); }
.signal-band .section-heading { display: block; }
.signal-band h2 { margin-top: 14px; font-size: 32px; }
.workflow-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 44px; }
.workflow-features article { border-top: 1px solid var(--line); padding-top: 24px; }
.workflow-features .icon { color: #9fc0ff; width: 24px; height: 24px; }
.workflow-features h3 { font-size: 17px; margin-top: 18px; font-weight: 700; }
.workflow-features p { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--muted); }

.coverage-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.coverage-content { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 6px 28px; }
.coverage-row { display: flex; gap: 20px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.coverage-row:last-child { border-bottom: 0; }
.coverage-num { color: #6f7b92; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; padding-top: 3px; }
.coverage-row h3 { font-size: 17px; font-weight: 700; }
.coverage-row p { color: var(--muted); font-size: 13px; margin-top: 8px; line-height: 1.75; }
.coverage-tag { margin-left: auto; color: var(--mint); font-size: 9px; padding: 3px 8px; border: 1px solid rgba(62, 230, 181, .25); border-radius: 999px; letter-spacing: .08em; font-family: "SFMono-Regular", Consolas, monospace; }

/* API */
.api-band { margin: 0 max(32px, calc((100% - 1200px) / 2)); padding: 64px 56px; border: 1px solid rgba(122, 167, 255, .22); border-radius: 24px; background: radial-gradient(ellipse 70% 120% at 100% 100%, rgba(139, 108, 255, .18), transparent 60%), radial-gradient(ellipse 60% 100% at 0% 0%, rgba(47, 107, 255, .2), transparent 60%), #0a0d14; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.api-band h2 { font-size: 38px; line-height: 1.3; font-weight: 800; margin-top: 16px; letter-spacing: -.025em; }
.api-band-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; margin-top: 18px; line-height: 1.8; }
.api-band .button { margin-top: 28px; }
.protocols { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.protocols span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: #a9b6cc; font-family: "SFMono-Regular", Consolas, monospace; }
.mcp-connect { display: grid; gap: 6px; margin-top: 22px; padding: 16px 18px; border: 1px solid rgba(122, 167, 255, .28); border-radius: 14px; background: rgba(47, 107, 255, .08); }
.mcp-connect span { color: #9bc1ff; font-size: 12px; font-weight: 700; }
.mcp-connect code { color: #fff; font-size: 15px; font-family: "SFMono-Regular", Consolas, monospace; word-break: break-all; user-select: all; }
.mcp-connect small { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.mcp-connect a { color: #b9d4ff; }
.api-example { border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(5, 7, 11, .75); min-width: 0; align-self: center; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 10px; color: #8ea3c7; }
.code-toolbar code { margin-left: 10px; color: #dbe3f1; font-size: 11px; }
.code-toolbar > span:last-child { color: var(--subtle); }
.api-example pre { font-size: 12.5px; line-height: 1.9; overflow: auto; margin: 0; padding: 24px; color: #c7cfdd; }
.token-key { color: #9fc0ff; }
.token-string { color: #6ff0c8; }
.api-example > a { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 20px; font-size: 12px; color: #b7c4da; }
.api-example > a:hover { color: #fff; }

/* Plans */
.plans-section .section-heading { text-align: center; }
.plan-comparison-wrap { overflow-x: auto; margin-top: 46px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.plan-comparison { min-width: 570px; table-layout: fixed; }
.plan-comparison th, .plan-comparison td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan-comparison tr:last-child th, .plan-comparison tr:last-child td { border-bottom: 0; }
.plan-comparison th:first-child { width: 27%; color: var(--muted); font-size: 12px; font-weight: 500; }
.plan-comparison thead th { font-size: 21px; font-weight: 750; }
.plan-comparison small { display: block; color: var(--subtle); font-size: 12px; font-weight: 400; margin-top: 6px; }
.plan-comparison .pro-col { background: linear-gradient(180deg, rgba(77, 120, 255, .16), rgba(139, 108, 255, .08)); }
.plan-comparison thead .pro-col { color: #fff; }
.plan-cta-row a { color: #a9c5ff; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.plan-cta-row a:hover { color: #fff; }
.plan-cta-row .icon { width: 16px; }
.plans-section > .example-disclaimer { max-width: 740px; margin-left: auto; margin-right: auto; text-align: center; }

/* FAQ */
.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; padding-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.faq-list summary:hover { color: #fff; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--subtle); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list p { margin: 0 0 24px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.faq-list p a { text-decoration: underline; color: #a9c5ff; }

/* Closing CTA */
.download-band { position: relative; margin: 40px max(32px, calc((100% - 1200px) / 2)) 100px; padding: 88px 24px; border: 1px solid rgba(122, 167, 255, .25); border-radius: 28px; text-align: center; overflow: hidden; isolation: isolate; background: #090c13; }
.download-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 120%, rgba(77, 120, 255, .55), rgba(139, 108, 255, .22) 45%, transparent 75%); }
.download-band h2 { font-size: 48px; line-height: 1.25; font-weight: 800; letter-spacing: -.03em; margin: 16px 0 34px; }
.download-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.download-store-button { gap: 12px; background: rgba(255, 255, 255, .04); }
.store-platform-logo { width: 24px; height: 24px; flex: 0 0 24px; }

/* Footer */
.marketing-site .site-footer { border-top-color: var(--line); background: #05070a; }
.marketing-site .footer-heading nav a:hover, .marketing-site .footer-merchant a:hover { color: #fff; }
.marketing-site .footer-bottom { border-top-color: var(--line); }

.product-dialog { width: min(1500px, calc(100% - 32px)); padding: 48px 12px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; max-height: 95svh; background: #0b0e15; color: var(--ink); }
.product-dialog .icon-button { position: absolute; top: 6px; right: 8px; }
.product-dialog img { width: 100%; border-radius: 10px; }
.product-dialog p { text-align: center; font-size: 11px; margin-top: 12px; color: var(--muted); }
.marketing-site dialog::backdrop { background: rgba(3, 5, 9, .78); backdrop-filter: blur(4px); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glow-breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 230, 181, .55); } 70% { box-shadow: 0 0 0 9px rgba(62, 230, 181, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 230, 181, 0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .float-card, .live-dot, .hero-copy, .hero-stage { animation: none; }
  .value-card, .marketing-site .button { transition: none; }
}

@media (max-width: 1100px) {
  .float-speed { left: 12px; top: auto; bottom: -26px; }
  .float-alert { right: 12px; bottom: -26px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-strip > div:nth-child(3) { border-left: 0; }
  .metric-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .value-grid { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .source-strip { flex-wrap: wrap; justify-content: center; gap: 20px 40px; }
  .source-strip > span { width: 100%; text-align: center; }
  .source-strip a { display: none; }
  .product-section, .coverage-section, .faq-section { gap: 40px; }
  .section-heading h2 { font-size: 34px; }
  .api-band { gap: 40px; padding: 52px 40px; }
}
@media (max-width: 850px) {
  .marketing-site .site-nav { background: rgba(7, 9, 13, .97); border-bottom-color: var(--line); }
  .marketing-site .site-nav a { padding: 12px 0; }
}
@media (max-width: 760px) {
  .brand-hero { padding-top: 48px; gap: 20px; }
  .hero-glow { width: 700px; height: 560px; top: -220px; }
  .hero-description { font-size: 15px; }
  .desktop-break { display: none; }
  .hero-stage { width: calc(100% - 32px); margin-top: 16px; }
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 12px; }
  .float-icon { width: 28px; height: 28px; border-radius: 8px; }
  .float-card strong { font-size: 11px; }
  .float-card span:not(.float-icon) { font-size: 10px; }
  .float-speed { left: 6px; bottom: -38px; }
  .float-alert { right: 6px; bottom: -38px; }
  .hero-caption { width: calc(100% - 32px); flex-direction: column; gap: 0; font-size: 10px; margin-top: 30px; }
  .metric-strip { width: calc(100% - 32px); margin-top: 28px; }
  .metric-strip > div { padding: 22px 18px; }
  .metric-strip strong { font-size: 32px; }
  .metric-strip strong span { font-size: 14px; }
  .metric-strip p { font-size: 12px; }
  .source-strip { width: calc(100% - 32px); padding: 26px 0; gap: 18px 25px; }
  .source-strip > div { display: grid; gap: 2px; text-align: center; }
  .source-strip strong { font-size: 17px; }
  .site-section { padding: 80px 20px; }
  .section-heading h2 { font-size: 30px; }
  .value-grid { margin-top: 40px; gap: 14px; }
  .value-card { padding: 26px 22px 22px; }
  .value-card h3 { font-size: 20px; }
  .flow-steps { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .flow-steps::before { top: 23px; bottom: 110px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(122, 167, 255, .55), rgba(62, 230, 181, .55)); }
  .flow-steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding: 0 0 26px; text-align: left; }
  .flow-num { grid-row: span 2; }
  .flow-steps h3 { margin-top: 10px; }
  .flow-steps p { margin-top: 6px; }
  .product-section, .coverage-section, .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .product-section .section-heading br { display: none; }
  .product-content { padding: 18px 16px 22px; }
  .feature-panel { min-height: 320px; }
  .signal-band { margin: 0 16px; padding: 40px 22px; border-radius: 20px; }
  .signal-band .section-heading { display: block; }
  .signal-band h2 { font-size: 26px; }
  .workflow-features { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .workflow-features article { position: relative; padding: 20px 0 0 38px; }
  .workflow-features h3 { margin-top: 0; }
  .workflow-features .icon { position: absolute; left: 0; top: 20px; }
  .coverage-content { padding: 4px 18px; }
  .coverage-row { gap: 15px; }
  .coverage-tag { display: none; }
  .api-band { grid-template-columns: 1fr; margin: 0 16px; padding: 44px 22px; gap: 32px; border-radius: 20px; }
  .api-band h2 { font-size: 30px; }
  .api-band-copy br { display: none; }
  .plan-comparison { min-width: 0; }
  .plan-comparison th, .plan-comparison td { padding: 15px 6px; text-align: center; font-size: 12px; word-break: keep-all; overflow-wrap: anywhere; }
  .plan-comparison th:first-child { width: 25%; text-align: left; font-size: 11px; padding-left: 14px; }
  .plan-comparison thead th { font-size: 14px; }
  .plan-comparison thead small { display: none; }
  .plan-cta-row a { min-height: 40px; justify-content: center; font-size: 11px; }
  .plan-cta-row .icon { display: none; }
  .faq-section { padding-top: 0; }
  .download-band { margin: 20px 16px 72px; padding: 64px 20px; border-radius: 22px; }
  .download-band h2 { font-size: 34px; }
}
@media (max-width: 540px) {
  .download-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 390px; margin: 0 auto; }
  .download-actions > .button-primary { grid-column: 1 / -1; }
  .download-store-button { gap: 8px; padding: 11px 8px; font-size: 12px; }
  .download-store-button .icon { display: none; }
  .store-platform-logo { width: 22px; height: 22px; flex-basis: 22px; }
}
@media (max-width: 440px) {
  .hero-pill { font-size: 12px; }
  .hero-display { font-size: 40px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .float-card span:not(.float-icon) { display: none; }
  .metric-strip strong { font-size: 28px; }
  .feature-tabs button { padding: 0 12px; font-size: 13px; }
  .feature-panel-title { flex-wrap: wrap; gap: 8px; }
  .feature-panel h3 { font-size: 20px; }
  .delta-table th, .delta-table td { font-size: 12px; padding: 14px 3px; }
  .delta-table thead th { font-size: 9px; }
  .code-toolbar { padding: 12px; }
  .code-toolbar > span:last-child { display: none; }
  .api-example pre { padding: 18px; font-size: 11px; }
}
