/* =============================================================
   NBot Landing — Trading Desk Journal
   Editorial × Trading Terminal aesthetic
   ============================================================= */

/* ── 0. Fonts ─────────────────────────────────────────────── */
/* Fonts loaded via <link> in views/layout.php for better performance. */

/* ── 1. Tokens ────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --ink-100: #0B0E12;
  --ink-200: #10141A;
  --ink-300: #161B23;
  --ink-400: #1D2330;
  --line: rgba(245, 241, 232, 0.07);
  --line-strong: rgba(245, 241, 232, 0.14);
  --line-bold: rgba(245, 241, 232, 0.32);

  /* Ink / text */
  --cream-100: #F5F1E8;
  --cream-200: #C8C3B5;
  --cream-300: #8B8678;
  --cream-400: #5A5648;

  /* Accents */
  --accent: #3a7dff;
  --accent-bright: #00bffb;
  --accent-dim: #0440b2;
  --amber: #00bffb;
  --info: #7FD4FF;
  /* Legacy-style primary button gradient (restored from old style.min.css). */
  --accent-grad: linear-gradient(105.76deg, #3a7dff -0.21%, #00bffb 99.3%);
  --accent-border: #5dbcf2;

  /* Semantic (markets) */
  --up: #4FE684;
  --up-dim: rgba(79, 230, 132, 0.12);
  --down: #F86C5F;
  --down-dim: rgba(248, 108, 95, 0.12);

  /* Type */
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* Layout */
  --container: 1280px;
  --pad: clamp(20px, 4vw, 48px);

  /* Radii */
  --r-2: 4px;
  --r-3: 8px;
  --r-4: 12px;
  --r-5: 16px;
  --r-6: 20px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(245, 241, 232, 0.04) inset,
                 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 0 40px -10px rgba(58, 125, 255, 0.35);
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream-100);
  background: var(--ink-100);
  font-feature-settings: 'ss01' on, 'ss02' on, 'cv11' on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
hr { border: 0; height: 1px; background: var(--line); margin: 0; }

/* Selection */
::selection { background: var(--accent); color: var(--ink-100); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── 3. Layout helpers ────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.divider { height: 1px; background: var(--line); }

/* Section header pattern */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-300);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--cream-300);
}
.eyebrow .num {
  color: var(--accent);
  font-weight: 600;
}

/* ── 4. Typography ────────────────────────────────────────── */
.display {
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 90%;
  letter-spacing: -0.02em;
  line-height: 1;
}
.display em, .em-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-stretch: normal;
  color: var(--accent);
}
h1.display { font-size: clamp(3rem, 7vw, 5.6rem); }
h2.display { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3.display { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--cream-200);
  max-width: 56ch;
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-300);
}

.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--cream-300); }
.dim   { color: var(--cream-400); }
.accent  { color: var(--accent); }
.up    { color: var(--up); }
.down  { color: var(--down); }

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  height: 52px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn--primary {
  background: var(--accent-grad);
  color: #fff;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 36px rgba(112, 221, 255, 0.22);
}
.btn--primary:hover {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)), var(--accent-grad);
  border-color: var(--accent-border);
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(112, 221, 255, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--cream-100);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(245, 241, 232, 0.05);
  border-color: var(--line-bold);
}
.btn--link {
  height: auto;
  padding: 6px 0;
  background: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--cream-100);
}
.btn--link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--lg { height: 60px; padding: 16px 28px; font-size: 16px; }

/* ── 6. Header ────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 18, 0.78);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 80%;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand__mark img,
.brand__mark picture {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 6px rgba(58, 125, 255, 0.08));
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--cream-200);
  font-weight: 500;
}
.nav a {
  transition: color .2s;
  position: relative;
}
.nav a:hover { color: var(--cream-100); }
.nav a.is-active { color: var(--accent); }
.ext {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72em;
  vertical-align: 1px;
  margin-left: 2px;
  color: var(--cream-400);
  transition: color .2s;
}
a:hover .ext { color: var(--accent); }
.header__cta { display: flex; gap: 10px; align-items: center; }
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-200);
}
.lang-pill:hover { border-color: var(--line-strong); color: var(--cream-100); }
.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

/* ── 7. Ticker bar ────────────────────────────────────────── */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--ink-100);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker__viewport {
  display: flex;
  gap: 0;
  animation: marquee 50s linear infinite;
  white-space: nowrap;
}
.ticker__group {
  display: flex;
  gap: 36px;
  padding-right: 36px;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-200);
}
.ticker__sym { color: var(--cream-100); font-weight: 600; }
.ticker__sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cream-400);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 8. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 120px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 70% 30%, rgba(58, 125, 255, 0.06), transparent 70%),
    radial-gradient(ellipse 600px 600px at 10% 80%, rgba(127, 212, 255, 0.04), transparent 70%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(245, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 241, 232, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(11, 14, 18, 0.4);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-200);
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 12px var(--up);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-300);
}
.hero__trust > span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--up-dim);
  color: var(--up);
  display: grid; place-items: center;
  font-size: 10px;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 9 / 16;
}

/* Phone frame */
.phone {
  position: absolute;
  inset: 0;
  background: #050709;
  border-radius: 48px;
  padding: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 60px 120px -40px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(245, 241, 232, 0.08);
  transition: transform .3s ease;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ink-200);
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #050709;
  border-radius: 18px;
  z-index: 3;
}

/* Floating signal cards on hero */
.float-card {
  position: absolute;
  background: rgba(16, 20, 26, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-4);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow-card);
  z-index: 2;
  white-space: nowrap;
  animation: float-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.float-card__icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px;
}
.float-card__icon--up   { background: var(--up-dim); color: var(--up); }
.float-card__icon--down { background: var(--down-dim); color: var(--down); }
.float-card__icon--ai   { background: rgba(58, 125, 255, 0.15); color: var(--accent); }
.float-card__title { color: var(--cream-100); font-weight: 600; }
.float-card__meta { color: var(--cream-300); font-size: 11px; margin-top: 2px; }
.float-card--1 { top: 12%; left: -16%; animation-delay: .3s; }
.float-card--2 { top: 56%; left: -22%; animation-delay: .6s; }
.float-card--3 { top: 28%; right: -18%; animation-delay: .9s; }
@keyframes float-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.float-card:hover { transform: translateY(-2px); transition: transform .2s; }

/* ── 9. Trust-bar ─────────────────────────────────────────── */
.trust-bar {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-bar__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-400);
}
.trust-bar__logos {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: var(--sans);
  font-weight: 600;
  font-stretch: 85%;
  font-size: 18px;
  color: var(--cream-300);
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: color .2s, opacity .2s;
}
.trust-logo:hover { color: var(--cream-100); opacity: 1; }

/* ── 10. Section header ───────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-head__left h2 { margin-top: 18px; }
.section-head__right { color: var(--cream-200); padding-bottom: 6px; }

/* ── 11. Benefits ─────────────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
  background: var(--ink-200);
}
.benefit {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .25s ease;
}
.benefit:last-child { border-right: 0; }
.benefit:hover { background: var(--ink-300); }
.benefit__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cream-400);
  margin-bottom: 24px;
}
.benefit__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(58, 125, 255, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.benefit__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--cream-100);
}
.benefit__desc {
  font-size: 14.5px;
  color: var(--cream-200);
  line-height: 1.55;
}

/* ── 12. How it works ─────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 36px;
  border: 1px solid var(--line);
  margin-right: -1px;
  margin-bottom: -1px;
  position: relative;
  background: var(--ink-200);
}
.step:hover { background: var(--ink-300); }
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
}
.step__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.step__desc {
  font-size: 15px;
  color: var(--cream-200);
  line-height: 1.6;
  max-width: 36ch;
}
.step__tag {
  position: absolute;
  top: 36px;
  right: 36px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── 13. Showcase ─────────────────────────────────────────── */
.showcase {
  background: var(--ink-200);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 14px 18px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--cream-300);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--cream-100); }
.tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab__num {
  font-family: var(--mono);
  font-size: 11px;
  margin-right: 8px;
  color: var(--cream-400);
}
.tab.is-active .tab__num { color: var(--accent); }
.tab-content {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.tab-content.is-active { display: grid; animation: fade-up .4s ease backwards; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-content__copy h3 { margin-bottom: 16px; }
.tab-content__copy p { color: var(--cream-200); font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.tab-content__list { display: grid; gap: 14px; }
.tab-content__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--cream-200);
}
.tab-content__list li::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--accent);
  margin-top: 11px;
}

/* Schematic UI illustration (used in tabs) */
.ui-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-5);
  background: var(--ink-100);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.ui-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.ui-frame__bar .dot-row { display: flex; gap: 6px; }
.ui-frame__bar .dot-row span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cream-400);
}
.ui-frame__bar .title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream-300);
  margin-left: 8px;
}
.ui-frame__bar .badge-live {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--up-dim);
  color: var(--up);
}

/* ── 14. Feature matrix ───────────────────────────────────── */
.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
}
.matrix__col {
  background: var(--ink-100);
  padding: 32px;
}
.matrix__col:hover { background: var(--ink-200); }
.matrix__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.matrix__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(58, 125, 255, 0.08);
  color: var(--accent);
}
.matrix__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--cream-100);
  line-height: 1;
}
.matrix__list {
  display: grid;
  gap: 12px;
}
.matrix__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--cream-200);
}
.matrix__list li:last-child { border-bottom: 0; }
.matrix__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-400);
}
.matrix__tag--new { color: var(--accent); }
.matrix__tag--pro { color: var(--amber); }

/* ── 15. Comparison table ─────────────────────────────────── */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
  background: var(--ink-200);
}
.compare__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  align-items: stretch;
}
.compare__row:last-child { border-bottom: 0; }
.compare__cell {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--cream-200);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare__cell:last-child { border-right: 0; }
.compare__head .compare__cell {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream-300);
  background: var(--ink-300);
  font-weight: 500;
}
.compare__head .compare__cell--us {
  color: var(--accent);
}
.compare__row--us .compare__cell {
  background: rgba(58, 125, 255, 0.04);
}
.compare__check { color: var(--up); }
.compare__cross { color: var(--down); }
.compare__warn  { color: var(--amber); }
.compare__lab   { font-family: var(--mono); font-size: 13px; }

/* ── 16. Testimonials ─────────────────────────────────────── */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  background: var(--ink-200);
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: -8px;
  margin-top: -28px;
}
.quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--cream-100);
  margin-bottom: 32px;
}
.quote__author {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-100);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.quote__name { font-size: 14.5px; font-weight: 600; color: var(--cream-100); }
.quote__role { font-family: var(--mono); font-size: 11px; color: var(--cream-400); margin-top: 2px; }

/* Metrics row */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
  background: var(--ink-200);
  margin-bottom: 56px;
}
.metric {
  padding: 28px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.metric:last-child { border-right: 0; }
.metric__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 400;
  font-feature-settings: "lnum" on;
}
.metric__label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-300);
  letter-spacing: 0.04em;
}

/* ── 17. Pricing ──────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  background: var(--ink-200);
  display: flex;
  flex-direction: column;
}
.plan--premium {
  border-color: var(--accent);
  background: var(--ink-300);
  box-shadow: 0 0 80px -20px rgba(58, 125, 255, 0.2);
  position: relative;
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 36px;
  background: var(--accent);
  color: var(--ink-100);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.plan__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 14px;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.plan__price-num {
  font-family: var(--sans);
  font-weight: 600;
  font-stretch: 85%;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__price-unit { font-family: var(--mono); font-size: 14px; color: var(--cream-300); }
.plan__sub { color: var(--cream-300); font-size: 14.5px; margin-bottom: 24px; }
.plan__features { display: grid; gap: 12px; margin-bottom: 28px; }
.plan__features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  font-size: 14.5px;
  color: var(--cream-200);
  align-items: start;
}
.plan__features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-top: 1px;
}
.plan__cta { margin-top: auto; }
.plan__guarantee {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream-400);
  text-align: center;
}

/* ── 18. Education preview ────────────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
}
.edu-card {
  padding: 28px;
  border-right: 1px solid var(--line);
  background: var(--ink-200);
  display: flex;
  flex-direction: column;
  transition: background .2s;
  min-height: 280px;
}
.edu-card:last-child { border-right: 0; }
.edu-card:hover { background: var(--ink-300); }
.edu-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.edu-card__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--cream-100);
}
.edu-card__excerpt {
  font-size: 14px;
  color: var(--cream-300);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.edu-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream-400);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ── 19. FAQ ──────────────────────────────────────────────── */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq__item summary {
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: padding-inline .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { padding-inline: 12px; }
.faq__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream-400);
  letter-spacing: 0.08em;
}
.faq__q {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--cream-100);
  letter-spacing: -0.01em;
}
.faq__toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--cream-200);
  transition: transform .25s ease, border-color .25s, color .25s;
}
.faq__item[open] .faq__toggle {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}
.faq__a {
  padding: 0 64px 28px 68px;
  color: var(--cream-200);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 720px;
}

/* ── 20. Big CTA ──────────────────────────────────────────── */
.big-cta {
  text-align: center;
  padding: clamp(72px, 12vw, 160px) var(--pad);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 800px 400px at 50% 100%, rgba(58, 125, 255, 0.06), transparent 70%),
    var(--ink-100);
  position: relative;
  overflow: hidden;
}
.big-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(245, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 241, 232, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}
.big-cta__inner { position: relative; }
.big-cta h2 { margin: 0 auto 24px; max-width: 14ch; }
.big-cta__sub { color: var(--cream-200); margin: 0 auto 36px; max-width: 48ch; font-size: 17px; }
.big-cta__btn { margin-bottom: 20px; }
.big-cta__fine {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-400);
}

/* ── 21. Footer ───────────────────────────────────────────── */
.footer {
  background: var(--ink-100);
  border-top: 1px solid var(--line);
  padding-block: 64px 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__brand { max-width: 280px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--cream-200);
  line-height: 1.45;
  margin-bottom: 18px;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-400);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a {
  font-size: 14.5px;
  color: var(--cream-200);
  transition: color .15s;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-400);
}
.footer__langs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-300);
}
.footer__langs a:hover { color: var(--accent); }

/* ── 22. Pattern panel (education page) ───────────────────── */
.feature-bleed {
  border-bottom: 1px solid var(--line);
  background: var(--ink-200);
}
.feature-bleed__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}
.feature-bleed__copy {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-bleed__copy h2 { margin-bottom: 20px; }
.feature-bleed__copy p { color: var(--cream-200); font-size: 16px; line-height: 1.6; margin-bottom: 20px; max-width: 50ch; }
.feature-bleed__visual {
  border-left: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px);
  background:
    radial-gradient(ellipse 400px 300px at 30% 30%, rgba(58, 125, 255, 0.05), transparent 70%),
    var(--ink-100);
  display: grid;
  place-items: center;
}

/* Pattern grid (education page) */
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
}
.pattern {
  padding: 22px 18px;
  background: var(--ink-200);
  transition: background .2s;
}
.pattern:hover { background: var(--ink-300); }
.pattern__svg {
  height: 80px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
}
.pattern__svg svg { width: 100%; height: 100%; }
.pattern__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--cream-100);
  margin-bottom: 4px;
}
.pattern__cat {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream-400);
}

/* Lesson list (education) */
.lesson-row {
  display: grid;
  grid-template-columns: 80px 1fr 200px 100px 40px;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  background: var(--ink-200);
  margin-bottom: 12px;
  transition: background .2s, transform .2s;
}
.lesson-row:hover { background: var(--ink-300); transform: translateX(4px); }
.lesson-row__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.lesson-row__title { font-size: 16.5px; font-weight: 500; color: var(--cream-100); margin-bottom: 4px; }
.lesson-row__desc { font-size: 13px; color: var(--cream-300); line-height: 1.5; }
.lesson-row__level {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cream-300);
  text-transform: uppercase;
}
.lesson-row__duration {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-300);
  text-align: right;
}
.lesson-row__arrow {
  color: var(--cream-400);
  transition: color .2s, transform .2s;
}
.lesson-row:hover .lesson-row__arrow { color: var(--accent); transform: translateX(2px); }

/* Section bullet list (how-it-works detailed) */
.persona {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--ink-200);
}
.persona__head { padding: 32px; }
.persona__head h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 8px;
}
.persona__head .who { font-family: var(--mono); font-size: 12px; color: var(--cream-300); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.persona__head p { color: var(--cream-200); font-size: 15px; line-height: 1.6; }
.persona__body { padding: 32px; border-left: 1px solid var(--line); background: var(--ink-100); }
.persona__body h4 { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--cream-400); margin-bottom: 18px; font-weight: 500; }
.persona__body ul { display: grid; gap: 12px; }
.persona__body li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 14.5px; color: var(--cream-200); }
.persona__body li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 600;
}

/* ── 23. Responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 360px; margin: 0 auto; justify-self: center; }
  .float-card--1 { left: -8%; }
  .float-card--3 { right: -8%; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(1), .benefit:nth-child(2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .pricing { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-card:nth-child(2) { border-right: 0; }
  .edu-card:nth-child(1), .edu-card:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .tab-content { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .compare__row > .compare__cell:nth-child(n+4) { display: none; }
  .pattern-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-bleed__inner { grid-template-columns: 1fr; }
  .feature-bleed__visual { border-left: 0; border-top: 1px solid var(--line); }
  .persona { grid-template-columns: 1fr; }
  .persona__body { border-left: 0; border-top: 1px solid var(--line); }
  .lesson-row { grid-template-columns: 60px 1fr 32px; gap: 16px; }
  .lesson-row__level, .lesson-row__duration { display: none; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
  .lang-pill { display: none; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .benefit:last-child { border-bottom: 0; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .edu-grid { grid-template-columns: 1fr; }
  .edu-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .edu-card:last-child { border-bottom: 0; }
  .pattern-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .quote__text { font-size: 18px; }
  .step { padding: 28px 24px; }
  .step__num { font-size: 48px; }
}

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

/* ── F3: Mobile nav open state (styles moved from JS) ───────── */
@media (max-width: 720px) {
  .nav.nav--open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink-100);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    z-index: 100;
  }
  .nav.nav--open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .body--nav-open {
    overflow: hidden;
  }
}

/* ── F11: Scroll-reveal initial hidden state (prevents FOUC) ── */
html.js .section,
html.js .hero,
html.js .trust-bar,
html.js .big-cta {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
html.js .section.is-revealed,
html.js .hero.is-revealed,
html.js .trust-bar.is-revealed,
html.js .big-cta.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── 13. Lang dropdown (Plan 1.1: header lang pill becomes a real picker) ── */
.lang-dropdown { position: relative; display: inline-block; }
.lang-dropdown > summary {
  list-style: none;
  cursor: pointer;
}
.lang-dropdown > summary::-webkit-details-marker { display: none; }
.lang-dropdown > summary::marker { content: ""; }
.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--ink-300, #161B23);
  border: 1px solid var(--ink-400, #1D2330);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
.lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--cream-100, #F5F1E8);
  text-decoration: none;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13.5px;
  line-height: 1.2;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.lang-dropdown__item:hover { background: var(--ink-400, #1D2330); }
.lang-dropdown__item.is-current { color: var(--accent, #3a7dff); }
.lang-dropdown__flag { font-size: 16px; line-height: 1; }
@media (max-width: 600px) {
  .lang-dropdown__menu { right: -12px; min-width: 220px; }
}

/* ── AI Assistant section ─────────────────────────────────── */
.ai-section { padding: 72px 0 96px; position: relative; }
.ai-section__head { max-width: 720px; margin: 0 0 48px; }
.ai-section__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--cream-300);
  text-transform: uppercase;
  display: inline-block;
  margin: 0 0 16px;
}
.ai-section__h2 {
  font-family: var(--sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--cream-100);
}
.ai-section__lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--cream-200);
  margin: 0;
  max-width: 620px;
}
.ai-section__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 860px) {
  .ai-section__grid { grid-template-columns: 1fr; gap: 32px; }
}

.ai-chat {
  background: var(--ink-200);
  border: 1px solid var(--line);
  border-radius: var(--r-5);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.ai-chat--lg { max-width: 460px; }
.ai-chat--sm { max-width: 340px; padding: 18px; gap: 10px; }

.ai-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 85%;
}
.ai-chat--sm .ai-bubble { font-size: 13px; padding: 10px 14px; }
.ai-bubble--user {
  align-self: flex-end;
  background: var(--ink-400);
  color: var(--cream-100);
  border-bottom-right-radius: 4px;
}
.ai-bubble--bot {
  align-self: flex-start;
  background: var(--ink-300);
  border: 1px solid var(--line-strong);
  color: var(--cream-100);
  border-bottom-left-radius: 4px;
}
.ai-bubble__meta {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--cream-400);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.ai-bubble p { margin: 0; }
.ai-bubble__spark {
  display: inline-block;
  width: 40px;
  height: 16px;
  margin-top: 6px;
  vertical-align: middle;
}
.ai-bubble__spark path { stroke: var(--up); stroke-width: 1.5; fill: none; }

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-feature {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  background: var(--ink-300);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  align-items: flex-start;
}
.ai-feature__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--ink-400);
  border-radius: var(--r-3);
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.ai-feature__body { flex: 1; min-width: 0; }
.ai-feature__title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--cream-100);
}
.ai-feature__desc {
  font-size: 14px;
  color: var(--cream-200);
  margin: 0;
  line-height: 1.5;
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  align-items: center;
}
.ai-chips__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--cream-300);
  text-transform: uppercase;
  margin-right: 4px;
}
.ai-chip {
  display: inline-block;
  padding: 8px 14px;
  background: var(--ink-300);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cream-100);
}

/* ── About page hero — chat mockup alignment ──────────────── */
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
@media (max-width: 860px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Services page — AI Crypto Assistant lead block ───────── */
.services-ai-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  margin: 0 0 48px;
}
@media (max-width: 860px) {
  .services-ai-lead { grid-template-columns: 1fr; gap: 28px; }
}
.services-ai-subs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.services-ai-sub {
  padding: 16px 18px;
  background: var(--ink-300);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
}
.services-ai-sub__title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--cream-100);
}
.services-ai-sub__desc {
  font-size: 13px;
  color: var(--cream-200);
  margin: 0;
  line-height: 1.5;
}

/* ── Manual — AI Assistant tab styles ────────────────────── */
.manual-ai-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.manual-ai-group .manual-card { margin: 0; }
.manual-ai-group h3 { margin: 0 0 10px; }
.manual-ai-group ul { padding-left: 18px; }
.manual-ai-group li { margin: 4px 0; }
.manual-ai-disclaimer {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--ink-300);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-3);
  font-size: 13px;
  color: var(--cream-200);
  line-height: 1.55;
}

/* ── AI Assistant — "powered by the full engine" callout ──── */
.ai-engine {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--ink-300);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-engine__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.ai-engine__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-200);
}
