/* Brand tokens: bpc-intervals-sync/src/index.css (.dark), 2026-09-08.
   Semantic rules: .claude/rules/palette.md. Screenshots retain their original colors. */
:root {
  color-scheme: dark;
  --background: 0 0% 12.9%;
  --foreground: 210 40% 98%;
  --primary: 4 65% 53%;
  --primary-foreground: 210 20% 98%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent-cyan: 185 85% 55%;
  --sidebar-background: 0 0% 9.4%;
  --border: 217.2 32.6% 17.5%;
  --success: 142 71% 45%;
  --info: 217 91% 65%;
  --chart-1: 221 88% 61%;
  --chart-2: 142 77% 48%;
  --chart-3: 27 95% 51%;
  --line: hsl(var(--foreground) / .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: hsl(var(--background)); color: hsl(var(--foreground)); font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
/* Same type roles as bpc-intervals-sync/tailwind.config.ts: Inter UI, Archivo brand. */
h1, h2, h3 { font-family: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 5.4vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); font-weight: 500; }
h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.025em; }
p { color: hsl(var(--muted-foreground)); }
strong { color: hsl(var(--foreground)); font-weight: 600; }
:focus-visible { outline: 3px solid hsl(var(--foreground)); outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 24px; z-index: 50; background: hsl(var(--foreground)); color: hsl(var(--background)); padding: 12px; }
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: hsl(var(--sidebar-background) / .96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 36px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.wordmark { font-family: Archivo, Inter, ui-sans-serif, system-ui, sans-serif; text-transform: uppercase; font-size: 1.45rem; letter-spacing: .06em; font-weight: 600; }
.wordmark span { color: hsl(var(--accent-cyan)); }
.wordmark .joined-t { margin-left: -.06em; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: .85rem; color: hsl(var(--muted-foreground)); }
.nav-links a:hover, .text-link:hover { color: hsl(var(--foreground)); }
.nav-cta { margin-left: auto; font-size: .84rem; padding: 11px 18px; border: 1px solid var(--line); border-radius: 7px; white-space: nowrap; }
.nav-cta:hover { background: hsl(var(--foreground) / .08); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: .69rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: hsl(var(--primary)); }
.eyebrow.ai::before { background: hsl(var(--accent-cyan)); }
.hero { padding: 82px 0 76px; overflow: hidden; background: radial-gradient(ellipse at 84% 40%, hsl(var(--primary) / .065), transparent 53%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 58px; }
.hero h1 span { color: hsl(var(--primary)); }
.hero-copy > p { margin: 28px 0; max-width: 520px; font-size: 1.08rem; line-height: 1.8; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 15px 22px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border: 0; border-radius: 7px; font-size: 1.19rem; font-weight: 700; line-height: 1.35; }
.button:hover { filter: brightness(1.09); }
.button span { font-size: 1.2em; }
.text-link { font-size: .85rem; color: hsl(var(--muted-foreground)); border-bottom: 1px solid var(--line); padding-block: 6px; }
.hero-note { margin-top: 22px !important; font-size: .73rem !important; }
.hero-visual { position: relative; padding: 8px 0 62px; }
.visual-index { display: flex; justify-content: space-between; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 13px; }
.capture-button { display: block; width: 100%; background: transparent; border: 0; color: inherit; padding: 0; text-align: left; }
.window { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: hsl(var(--sidebar-background)); box-shadow: 0 25px 60px hsl(0 0% 0% / .2); }
.window-bar { min-height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: .65rem; color: hsl(var(--muted-foreground)); letter-spacing: .025em; }
.window-bar b { color: hsl(var(--foreground)); font-weight: 500; }
.window-bar .ai-label { color: hsl(var(--accent-cyan)); }
.window .capture { width: 100%; background: white; }
.hero-visual .window .capture { max-height: 456px; object-fit: cover; object-position: top; }
.telegram-float { position: absolute; width: 77%; right: -20px; bottom: 0; background: hsl(var(--sidebar-background)); border: 1px solid hsl(var(--accent-cyan) / .4); border-radius: 12px; box-shadow: 0 20px 50px hsl(0 0% 0% / .4); overflow: hidden; }
.telegram-float img { width: 100%; }
.telegram-float .window-bar { min-height: 38px; }
.scope-band { border-block: 1px solid var(--line); padding: 25px 0; background: hsl(var(--sidebar-background)); }
.scope-inner { display: flex; gap: 30px; justify-content: space-between; align-items: center; }
.scope-inner p { font-size: .78rem; }
.scope-items { display: flex; gap: 30px; font-size: .75rem; letter-spacing: .06em; }
.scope-items span { display: flex; gap: 8px; align-items: center; }
.scope-items i { width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--chart-1)); }
.scope-items span:nth-child(2) i { background: hsl(var(--chart-2)); }
.scope-items span:nth-child(3) i { background: hsl(var(--chart-3)); }
.section { padding: 100px 0; }
.section + .section { border-top: 1px solid var(--line); }
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.intro p { max-width: 490px; font-size: 1.02rem; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.pillar { padding: 32px 25px 34px 0; }
.pillar + .pillar { padding-left: 25px; border-left: 1px solid var(--line); }
.number { display: inline-block; color: hsl(var(--muted-foreground)); font-size: .7rem; margin-bottom: 25px; }
.pillar h3 { margin-bottom: 15px; }
.pillar p { font-size: .83rem; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 95px; }
.feature-copy h2 { margin-bottom: 26px; }
.feature-copy > p { font-size: 1rem; margin-bottom: 24px; }
.feature-list { margin: 26px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 14px 0 14px 23px; border-top: 1px solid var(--line); position: relative; font-size: .87rem; color: hsl(var(--muted-foreground)); }
.feature-list li::before { content: '+'; position: absolute; left: 0; color: hsl(var(--foreground)); }
.feature-list strong { display: block; margin-bottom: 3px; }
.image-mat { padding: 28px; background: hsl(var(--sidebar-background)); border: 1px solid var(--line); border-radius: 18px; }
.image-mat .window { box-shadow: none; }
.image-mat figcaption, .visual-caption { margin-top: 17px; font-size: .69rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.image-mat figcaption strong { font-weight: 500; }
.small-capture { margin-top: 20px; border-radius: 12px; overflow: hidden; }
.small-capture .window-bar { background: hsl(var(--sidebar-background)); }
.small-capture img { width: 100%; }
.program-visual .capture { max-height: 510px; object-fit: cover; object-position: top; }
.subtle { background: hsl(var(--sidebar-background)); }
.context-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.context-card { border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.context-card h3 { margin-bottom: 15px; }
.context-card p { font-size: .85rem; }
.context-card .number { margin-bottom: 20px; }
.context-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; align-items: start; }
.context-proof .image-mat { background: hsl(var(--background)); }
.conversation { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; margin-top: 44px; align-items: start; }
.conversation .window { border-color: hsl(var(--accent-cyan) / .25); }
.conversation .window-bar { padding-block: 17px; }
.conversation .capture { background: #111; }
.conversation figcaption { margin: 18px 0 0; font-size: .78rem; color: hsl(var(--muted-foreground)); }
.conversation figcaption strong { display: block; font-size: .9rem; margin-bottom: 5px; }
.conversation-intro { max-width: 700px; }
.conversation-intro p { margin-top: 24px; max-width: 650px; }
.coach-note { border-left: 2px solid hsl(var(--primary)); padding-left: 24px; margin-top: 38px; max-width: 760px; font-size: .9rem; }
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-size: .95rem; padding: 24px 28px 24px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; color: hsl(var(--muted-foreground)); }
details[open] summary::after { content: '−'; }
details p { padding: 0 26px 24px 0; font-size: .86rem; }
.cta-panel { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; padding: 65px; border: 1px solid var(--line); border-radius: 20px; background: hsl(var(--sidebar-background)); }
.cta-panel h2 { margin-bottom: 22px; }
.cta-panel p { font-size: .92rem; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
label { font-size: .78rem; }
input, select { width: 100%; min-width: 0; border: 1px solid hsl(var(--foreground) / .3); border-radius: 6px; padding: 12px; background: hsl(var(--background)); color: hsl(var(--foreground)); font-size: .88rem; }
input::placeholder { color: hsl(var(--muted-foreground)); }
form .button { width: 100%; }
.form-note { margin-top: 13px; font-size: .69rem !important; }
.form-status { margin-top: 16px; font-size: .85rem; color: hsl(var(--foreground)); }
[hidden] { display: none !important; }
.footer { border-top: 1px solid var(--line); padding: 35px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer p, .footer a:not(.brand) { font-size: .72rem; color: hsl(var(--muted-foreground)); }
.footer .brand img { width: 38px; height: 38px; }
.footer .wordmark { font-size: 1rem; }
.lightbox { width: min(1100px, 96vw); max-height: 94dvh; padding: 20px; background: hsl(var(--sidebar-background)); color: hsl(var(--foreground)); border: 1px solid var(--line); border-radius: 16px; }
.lightbox::backdrop { background: hsl(0 0% 0% / .85); backdrop-filter: blur(8px); }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.lightbox-top p { font-size: .85rem; color: hsl(var(--foreground)); }
.lightbox button { background: transparent; color: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(90dvh - 100px); margin: auto; object-fit: contain; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .nav-links { gap: 20px; }
  .hero-grid { gap: 32px; }
  .feature { gap: 45px; }
  .intro { gap: 40px; }
  .cta-panel { gap: 40px; padding: 40px; }
  .nav { gap: 20px; }
  .nav-links a:last-child { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 72px; }
  .nav-links { display: none; }
  .brand { gap: 2px; }
  .brand img { width: 42px; height: 42px; }
  .wordmark { font-size: 1.12rem; }
  .nav-cta { font-size: .74rem; padding: 9px 11px; }
  .hero { padding: 46px 0 52px; }
  .hero-grid, .feature, .intro, .faq, .cta-panel { grid-template-columns: 1fr; gap: 38px; }
  h1 { font-size: clamp(2.8rem, 8.7vw, 4.1rem); }
  .hero-copy > p { font-size: 1rem; margin: 24px 0; }
  .hero-visual { max-width: 540px; width: 100%; margin: 12px auto 0; padding: 0 8px 64px 0; }
  .telegram-float { right: 0; width: 78%; }
  .hero-visual .window .capture { max-height: 420px; }
  .eyebrow { font-size: .62rem; margin-bottom: 20px; }
  .section { padding: 65px 0; }
  .scope-inner { flex-direction: column; gap: 15px; align-items: flex-start; }
  .scope-items { gap: 24px; }
  .intro { margin-bottom: 35px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 24px 18px 26px 0; }
  .pillar + .pillar { padding-left: 18px; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillar p { font-size: .8rem; }
  .feature-copy { order: -1; }
  .image-mat { padding: 18px; }
  .context-grid { grid-template-columns: 1fr; gap: 12px; }
  .context-card { padding: 25px; }
  .context-card .number { margin-bottom: 12px; }
  .context-proof { grid-template-columns: 1fr; }
  .conversation { grid-template-columns: 1fr; gap: 32px; }
  .conversation figure:last-child { width: 87%; margin-inline: auto; }
  .cta-panel { padding: 28px 22px; border-radius: 12px; }
  .form-fields { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-wrap: wrap; gap: 20px; }
  .footer-inner > p { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
