/* The launch site in white (founder 2026-11-26): the Learning Center's header and the light colours, and nothing
   else: "just want this top, and the new colors, but All rest are his". Loaded after styles.css on every page; the
   pages, their layout, type, words, scenes and motion are styles.css's.

   styles.css was written for a dark page: its tokens are swapped here (--ink is the ground, --white the text), and
   every light-on-dark colour it draws with a literal value is redrawn below, selector by selector, in the Learning
   Center's colours (landing/learn.css: lavender ground, ink, violet). The app's own frames keep their dark screens. */

:root {
  --ink: #f5f6fb;
  --white: #171717;
  --soft: #4d4d4d;
  --muted: #6f6f6f;
  --paper: #ffffff;
  --rule: rgba(23, 23, 40, 0.09);
  --rule2: rgba(23, 23, 40, 0.16);
  --violet: #6d4fe0;
  --violet-soft: #efeafe;
  --well: #f7f6fc;
  --green: #1f9d55;
  --lift: 0 1px 2px rgba(23, 23, 40, 0.04), 0 12px 32px rgba(58, 46, 140, 0.08);
  --window: inset 0 0 0 1px var(--rule), 0 24px 60px -28px rgba(40, 30, 110, 0.28);
  --edge: max(16px, calc((100% - 1240px) / 2));
  color-scheme: light;
}

::selection { background: var(--violet); color: #fff; }
:focus-visible { outline-color: var(--violet); }
.more { color: var(--violet); }

/* ── The header: the Learning Center's floating white bar ── */
.nav, .nav.scrolled {
  top: 12px; left: var(--edge); right: var(--edge); z-index: 20;
  height: 58px; padding-block: 0; padding-inline: 18px 12px;
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--rule); border-radius: 16px;
  box-shadow: 0 10px 34px rgba(40, 36, 90, 0.08);
}
.brand { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; gap: 8px; }
.mark { display: inline-flex; gap: 2.5px; align-items: flex-end; height: 18px; }
.mark i { display: block; width: 5px; border-radius: 3px; }
.mark i:nth-child(1) { height: 10px; background: linear-gradient(#8b5cf6, #5b21b6); }
.mark i:nth-child(2) { height: 18px; background: linear-gradient(#f4611f, #c026d3); }
.mark i:nth-child(3) { height: 13px; background: linear-gradient(#f59e2b, #e63a17); }
.lang { color: var(--soft); }
/* The pair keeps one box (founder 2026-11-25), in the bar's own shape: «התחברות» black, «הרשמה» outlined. */
.nav .signup, .nav .pill.signin { height: 38px; border-radius: 10px; font-weight: 500; }
.menu-btn:hover { background: rgba(23, 23, 40, 0.06); }
@media (max-width: 1079px) {
  .links:popover-open {
    inset: 80px var(--edge) auto; background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--rule), 0 30px 80px -24px rgba(40, 30, 110, 0.35);
  }
  .links:popover-open > a:hover, .links:popover-open > a.on { background: rgba(23, 23, 40, 0.05); }
  .links::backdrop { background: rgba(21, 19, 31, 0.28); }
}
@media (max-width: 560px) {
  .nav, .nav.scrolled { height: 54px; padding-inline: 14px 8px; }
  .links:popover-open .menu-auth { border-top-color: var(--rule); }
}

/* ── The colours, everywhere else ── */
.signup, .ghost { box-shadow: inset 0 0 0 1.5px var(--rule2); }
.pill:hover { background-color: #2b2b30; }
.ghost:hover, .signup:hover { background-color: rgba(23, 23, 40, 0.05); }
.markets .frame { box-shadow: 0 0 0 1px rgba(23, 23, 40, 0.1), 0 50px 120px -40px rgba(30, 20, 90, 0.55); }
.chart-frame { box-shadow: 0 0 0 1px rgba(23, 23, 40, 0.1), 0 40px 100px -40px rgba(30, 20, 90, 0.5); }
.foot { box-shadow: inset 0 1px var(--rule); }

/* The home's flow. */
.flow-return path, .flow-return-v path { stroke: var(--rule2); }
.flow-return .flow-fill, .flow-return-v .flow-fill { stroke: #8b5cf6; }
.flow-n { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--rule2); }
.rv .flow-loop .flow-n { animation-name: flow-turn, flow-n-ink; animation-duration: 10.8s; animation-timing-function: ease-in-out; animation-delay: calc(var(--k) * 2.7s); animation-iteration-count: infinite; animation-fill-mode: both; }
@keyframes flow-n-ink { 0% { color: var(--white); } 6%, 22% { color: #fff; } 30%, 100% { color: var(--white); } }
.flow-step:not(:last-child)::after { background: var(--rule2); }
.flow-step:not(:last-child)::before { background: #8b5cf6; }
.flow-step:first-child .flow-n::before { border-top-color: var(--rule2); }
.flow-pic { background: var(--well); box-shadow: inset 0 0 0 1px var(--rule); }
.flow-bubble { background: var(--violet-soft); }
.flow-report { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.flow-trace { stroke: #8b5cf6; }
.flow-metric i { background: rgba(23, 23, 40, 0.07); }
.flow-metric i::after { background: rgba(23, 23, 40, 0.32); }
.flow-check circle, .race-check circle { fill: rgba(31, 157, 85, 0.14); }
.flow-check path, .race-check path { stroke: var(--green); }
.flow-chip { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--rule2); }
.flow-card { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.flow-on, .idea-card em { color: var(--green); }
.flow-repeat svg { stroke: rgba(23, 23, 40, 0.72); }

/* The tab pages' windows. */
.ask-win, .ai5-win, .race-card { background: var(--paper); box-shadow: var(--window); }
.ask-top { border-bottom-color: var(--rule); }
.ask-you, .ai5-you { background: var(--violet-soft); }
.ask-dots { background: rgba(23, 23, 40, 0.05); }
.idea-card { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(109, 79, 224, 0.32); }
.idea-card span { background: rgba(23, 23, 40, 0.04); }
.ask-field { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule2); }
.chart-ask { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(109, 79, 224, 0.32), var(--lift); }
.race-track { background: rgba(23, 23, 40, 0.07); }
.race-track i { background: #8b5cf6; }
.race-slow { border-top-color: var(--rule2); }
.race-slow .race-track i { background: rgba(23, 23, 40, 0.28); }
.ai5-screen { background: var(--well); box-shadow: inset 0 0 0 1px var(--rule); }
.lv-price { stroke: rgba(23, 23, 40, 0.7); }
.lv path { stroke: #7c5cf0; }
.lv text { fill: var(--violet); }
.lesson { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.lesson-at { color: #fff; }
.lesson-bar { background: rgba(23, 23, 40, 0.1); }
.lesson-bar i { background: #8b5cf6; }
/* The phone stays a phone: dark, its alerts light. */
.ph { color: #fbf8f1; }
.card { background: var(--paper); box-shadow: var(--window); }

/* The country line at the foot of the screen. */
.country-link { background: color-mix(in srgb, var(--paper) 96%, transparent); box-shadow: inset 0 0 0 1px var(--rule), 0 10px 30px rgba(40, 36, 90, 0.14); }
.country-link a:hover { color: var(--violet); }
.country-link button:hover { background: var(--violet-soft); }

/* «מחירים» (landing/pricing.css, written for the dark page). */
.seat-card { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule), var(--lift); }
.seat-card[data-card="ultra"] {
  box-shadow: 0 30px 80px -40px rgba(232, 115, 12, 0.45);
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, #a78bfa, #d946ef 45%, #ff7a45 78%, #ffb056) border-box;
}
.tier-mark i { box-shadow: inset 0 0 0 1px var(--rule2); }
.seat-body { box-shadow: inset 0 1px var(--rule); }
.seat-list li, .seat-table tbody th[scope="row"] { color: var(--soft); }
.seat-check { stroke: var(--violet); }
.seat-cta:hover, .compare-cta:hover { box-shadow: 0 10px 30px -12px rgba(23, 23, 40, 0.5); }
.seat-table thead th, .seat-table thead td { box-shadow: inset 0 -1px var(--rule); }
.compare-search { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule2); }
.compare-search:focus-within { box-shadow: inset 0 0 0 1px var(--violet), 0 0 0 4px rgba(109, 79, 224, 0.14); }
.compare-head th { box-shadow: inset 0 -1px var(--rule2); }
.seat-table tbody tr[data-row] > * { box-shadow: inset 0 -1px var(--rule); }
.cell-yes circle { fill: var(--violet); }
.cell-yes path { stroke: #fff; }
.cell-no { stroke: rgba(23, 23, 40, 0.3); }
