
  /* Tokens copied verbatim from index.html / today.html — same validated art direction. */
  :root {
    --page-bg: #f4f8fd;
    --page-bg-alt: #eaf2fb;
    --surface: #ffffff;
    --surface-soft: #f6faff;
    --navy-900: #070d18;
    --navy-800: #0a1220;
    --ink: #0f1826;
    --ink-dim: #4c5c6e;
    --ink-faint: #8595a6;
    --on-navy: #eef4fc;
    --on-navy-dim: #a9bad0;
    --on-navy-faint: #6d80998f;
    --border: #dde6f0;
    --border-soft: #e9f0f7;
    --border-navy: #24334f;
    --border-navy-strong: #34497a;
    --accent: #2f7dd8;
    --accent-strong: #1c5cb0;
    --accent-soft: #e4f0fd;
    --cyan: #22d3ee;
    --good: #22c55e;
    --lvl-green: #22c55e;
    --lvl-yellow: #facc15;
    --lvl-orange: #fb923c;
    --lvl-red: #b91c1c;
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 9px;
    --shadow-1: 0 1px 2px rgba(15,24,38,.05), 0 10px 28px rgba(15,24,38,.06);
    --shadow-2: 0 20px 60px rgba(8,14,26,.16);
    --container: 1180px;
    --font-sans: "Inter", "Segoe UI", system-ui, Arial, sans-serif;
    --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body { margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--page-bg); -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

  .eyebrow { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 12px; }
  .on-navy .eyebrow { color: var(--cyan); }
  h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; margin: 0; }
  h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
  h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.18; }
  h3 { font-size: 16.5px; line-height: 1.3; }
  p { line-height: 1.6; color: var(--ink-dim); margin: 0; }
  .on-navy, .on-navy p { color: var(--on-navy-dim); }
  .on-navy h2, .on-navy h3 { color: var(--on-navy); }

  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; font: inherit; }
  .btn-primary { background: linear-gradient(180deg, #3a8ae0, var(--accent-strong)); color: #fff; box-shadow: 0 8px 22px rgba(47,125,216,.35); }
  .btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
  .btn-sm { padding: 9px 16px; font-size: 13px; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .on-navy :focus-visible, .dark :focus-visible { outline-color: var(--cyan); }

  /* ---------------- Header (identical to other V2 pages) ---------------- */
  .site-header { position: sticky; top: 0; z-index: 100; background: rgba(244,248,253,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-soft); }
  .header-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; height: 68px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
  .brand img { width: 32px; height: 32px; border-radius: 50%; }
  .brand-text { font-weight: 800; font-size: 15.5px; letter-spacing: -.01em; color: var(--ink); }
  .brand-text em { font-style: normal; color: var(--accent-strong); }
  .main-nav { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
  .main-nav a { font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--ink-dim); }
  .main-nav a.current, .main-nav a:hover { color: var(--ink); }
  .header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
  .lang-select { position: relative; }
  .lang-button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink-dim); cursor: pointer; }
  .lang-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; max-height: 320px; overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-2); padding: 6px; z-index: 200; }
  .lang-menu.open { display: block; }
  .lang-option { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13px; color: var(--ink); }
  .lang-option:hover { background: var(--surface-soft); }
  .lang-option.active { background: var(--accent-soft); font-weight: 700; color: var(--accent-strong); }
  .nav-toggle { display: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 16px; }
  .mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 10px 24px 16px; border-top: 1px solid var(--border-soft); background: var(--surface); }
  .mobile-nav a { padding: 12px 4px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--border-soft); }
  .mobile-nav.open { display: flex; }
  @media (max-width: 880px) { .main-nav { display: none; } .nav-toggle { display: block; } }

  section { padding: 76px 0; }
  .dark { background: radial-gradient(1200px 500px at 20% -10%, #122241 0%, transparent 60%), linear-gradient(180deg, var(--navy-800), var(--navy-900)); position: relative; overflow: hidden; }
  .dark::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; 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: 46px 46px; mask-image: radial-gradient(75% 60% at 50% 20%, #000 40%, transparent 100%); }
  .dark > .wrap { position: relative; z-index: 1; }
  .section-head { max-width: 680px; margin: 0 0 40px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

  /* ---------------- Hero ---------------- */
  .page-intro { padding: 60px 0 56px; background: linear-gradient(180deg, var(--page-bg-alt) 0%, var(--page-bg) 80%); }
  .page-intro .lede { font-size: 16.5px; max-width: 620px; margin-top: 16px; }
  .page-intro .lede-sub { font-size: 13.5px; color: var(--ink-faint); max-width: 560px; margin-top: 12px; }
  .page-intro .btn { margin-top: 26px; }

  /* ---------------- Configurator ---------------- */
  #configurator { padding-top: 60px; }
  .config-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
  .config-controls { display: flex; flex-direction: column; gap: 30px; }
  .config-block h3 { margin-bottom: 4px; }
  .config-block .config-help { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; margin-bottom: 14px; }

  .format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .format-card { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 13px 14px; cursor: pointer; font: inherit; color: inherit; }
  .format-card:hover { border-color: var(--border-navy-strong); }
  .format-card[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
  .format-thumb { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .format-thumb i { display: block; background: #fff; border: 1.5px solid var(--border-navy-strong); border-radius: 3px; }
  .format-card[aria-checked="true"] .format-thumb i { border-color: var(--accent-strong); background: #fff; }
  .format-info { flex: 1; min-width: 0; }
  .format-info .fname { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.3; }
  .format-info .fmeta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .03em; }
  .format-info .fmeta b { color: var(--accent-strong); font-weight: 700; }
  .format-info .fcontext { font-size: 11.5px; color: var(--ink-faint); margin-top: 6px; line-height: 1.4; }

  .theme-row { display: flex; flex-wrap: wrap; gap: 10px; }
  .theme-btn { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); border-radius: 999px; padding: 8px 14px 8px 9px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-dim); cursor: pointer; }
  .theme-btn:hover { border-color: var(--border-navy-strong); }
  .theme-btn[aria-checked="true"] { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); font-weight: 700; }
  .theme-swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(15,24,38,.12); flex: none; }
  .theme-swatch.t-light { background: #fbfdff; }
  .theme-swatch.t-dark { background: #0c1117; }
  .theme-swatch.t-slate { background: #dbe4ee; }
  .theme-swatch.t-warm { background: #f3e6cf; }
  .theme-swatch.t-transparent { background: repeating-conic-gradient(#d9e2ec 0 25%, #fff 0 50%) 0 0/9px 9px; }

  .lang-field label.lang-label-main { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
  select#widget-lang { width: 100%; max-width: 340px; height: 46px; padding: 0 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
  select#widget-lang:hover { border-color: var(--border-navy-strong); }
  .lang-note { font-size: 12px; color: var(--ink-faint); margin-top: 8px; max-width: 380px; line-height: 1.5; }

  /* ---------------- Output column: preview + code ---------------- */
  .config-output { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
  @media (max-width: 980px) { .config-output { position: static; } }

  .preview-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; }
  .preview-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
  .preview-card-head .pname { font-size: 13.5px; font-weight: 700; color: var(--ink); }
  .preview-card-head .pdims { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); }
  .preview-shell { padding: 30px 18px; display: flex; align-items: center; justify-content: center; min-height: 260px; transition: background .2s ease; }
  .preview-shell.bg-light { background: var(--surface-soft); }
  .preview-shell.bg-dark { background: var(--navy-900); }
  .preview-shell.bg-transparent { background: repeating-conic-gradient(#e7edf3 0 25%, #fff 0 50%) 0 0/18px 18px; }
  .preview-wrap { position: relative; overflow: hidden; border-radius: 8px; }
  .preview-wrap iframe { position: absolute; top: 0; left: 0; border: 0; display: block; }
  .preview-empty-note { font-size: 12.5px; color: var(--ink-faint); text-align: center; }
  .preview-shell.bg-dark .preview-empty-note { color: var(--on-navy-faint); }

  .code-card { background: var(--navy-900); border: 1px solid var(--border-navy); border-radius: var(--radius-md); padding: 16px 18px; }
  .code-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
  .code-card-head span { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-navy-faint); }
  .code-card pre { margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: #cfe3ff; white-space: pre-wrap; word-break: break-all; overflow-x: auto; max-height: 220px; }
  .copy-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
  .copy-btn { font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
  .copy-btn:hover { background: rgba(255,255,255,.14); }
  .copy-status { font-size: 12px; font-weight: 600; color: var(--good); min-height: 16px; }
  .copy-status.is-error { color: var(--lvl-orange); }

  .data-note { margin-top: 4px; font-size: 12.5px; color: var(--ink-faint); background: var(--surface-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 12px 16px; }

  @media (max-width: 980px) { .config-layout { grid-template-columns: 1fr; } }
  @media (max-width: 640px) { .format-grid { grid-template-columns: 1fr; } }

  /* ---------------- How-to steps ---------------- */
  .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step-card { display: flex; flex-direction: column; gap: 10px; }
  .step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
  .step-card h3 { font-size: 16px; }
  .step-card p { font-size: 13.5px; }
  @media (max-width: 780px) { .steps-grid { grid-template-columns: 1fr; gap: 24px; } }

  /* ---------------- Why section ---------------- */
  .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .why-card { background: rgba(255,255,255,.03); border: 1px solid var(--border-navy); border-radius: var(--radius-md); padding: 22px; }
  .why-card h3 { margin-bottom: 8px; }
  .why-card p { font-size: 13.5px; }
  @media (max-width: 780px) { .why-grid { grid-template-columns: 1fr; } }

  /* ---------------- Custom widget CTA ---------------- */
  .custom-cta { position: relative; text-align: center; max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 44px 36px; overflow: hidden; }
  .custom-cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--accent)); }
  .custom-cta p { max-width: 460px; margin: 12px auto 0; }
  .custom-cta .btn { margin-top: 22px; }

  /* ---------------- Footer (identical to other V2 pages) ---------------- */
  footer { background: var(--navy-900); color: var(--on-navy-dim); padding: 56px 0 28px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 32px; margin-bottom: 40px; }
  .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .footer-brand img { width: 26px; height: 26px; border-radius: 50%; }
  .footer-brand span { font-weight: 800; color: var(--on-navy); }
  /* This tagline <p> carries no class, so the global `p { color: var(--ink-dim) }`
     (a light-theme color) directly matches it and beats the inherited
     dark-theme footer color -- hence the dedicated override here. */
  .footer-brand + p { color: #94A3B8; }
  .footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-navy); margin-bottom: 14px; }
  .footer-col a { display: block; font-size: 13.5px; text-decoration: none; color: var(--on-navy-dim); margin-bottom: 10px; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border-navy); font-size: 12px; color: #94A3B8; }
  @media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
