/* MetaRetrade web: landing page and member dashboard. Dark only. */

:root {
  color-scheme: dark;
  --bg: #05080f;
  --bg-2: #0a1020;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #0e1526;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9eef7;
  --text-2: #aab4c6;
  --muted: #74809a;
  --gold: #f5b53f;
  --gold-hi: #ffd47c;
  --gold-lo: #c9861a;
  --gold-ink: #1d1404;
  --gold-glow: rgba(245, 181, 63, 0.32);
  --blue: #4f8df7;
  --blue-glow: rgba(79, 141, 247, 0.30);
  --green: #2fd17a;
  --red: #ff5d73;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Leelawadee UI", "Noto Sans Thai", Thonburi, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 8% -12%, rgba(245, 181, 63, 0.13), transparent 60%),
    radial-gradient(900px 640px at 100% -5%, rgba(79, 141, 247, 0.16), transparent 62%),
    radial-gradient(800px 500px at 50% 110%, rgba(79, 141, 247, 0.08), transparent 60%),
    linear-gradient(180deg, #05080f 0%, #081022 55%, #05080f 100%);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Faint chart grid behind everything, fading out toward the bottom. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }

.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Brand ---------- */

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 6px 14px var(--gold-glow)); }
.brand-name { font-size: 17px; }
.brand-name b { color: var(--gold); font-weight: 700; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:focus-visible, .nav-link:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 48%, var(--gold-lo));
  color: var(--gold-ink);
  box-shadow: 0 14px 34px -12px var(--gold-glow), 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.btn-gold:hover { box-shadow: 0 18px 40px -12px rgba(245, 181, 63, 0.5), 0 1px 0 rgba(255, 255, 255, 0.55) inset; }

.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* Google sign-in button, dark theme per Google's branding guidelines. */
.btn-google {
  background: #131314;
  border: 1px solid #8e918f;
  color: #e3e3e3;
  font-family: "Roboto", var(--font);
  font-weight: 500;
  border-radius: 999px;
  padding: 0 20px 0 14px;
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.9);
}

.btn-google:hover { background: #1b1c1e; }
.btn-google .g-logo { width: 20px; height: 20px; }

/* ---------- Landing: navigation ---------- */

.topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(5, 8, 15, 0.55); border-bottom: 1px solid var(--border); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.topnav { display: flex; align-items: center; gap: 26px; color: var(--text-2); font-size: 14px; }
.topnav a:hover { color: var(--text); }

/* ---------- Landing: hero ---------- */

.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 181, 63, 0.35);
  background: rgba(245, 181, 63, 0.08);
  color: var(--gold-hi);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

.hero h1 { margin-top: 22px; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -1.4px; font-weight: 800; }

.grad {
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 40%, #ff9f43 70%, var(--gold-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead { margin-top: 20px; max-width: 540px; color: var(--text-2); font-size: 18px; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .note { margin-top: 16px; color: var(--muted); font-size: 13px; }

/* 3D replay console */
.stage { perspective: 1600px; }

.console {
  position: relative;
  transform: rotateY(-14deg) rotateX(7deg) rotateZ(0.6deg);
  transform-style: preserve-3d;
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(160deg, rgba(20, 30, 54, 0.95), rgba(9, 14, 28, 0.96));
  border: 1px solid var(--border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 60px 120px -40px rgba(0, 0, 0, 0.95),
    -30px 40px 90px -50px var(--blue-glow),
    40px -20px 90px -60px var(--gold-glow);
}

.console-bar { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; color: var(--muted); font-size: 12px; }
.console-bar .light { width: 9px; height: 9px; border-radius: 50%; background: #2a3550; }
.console-bar .light.on { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.console-bar .sym { margin-left: 8px; color: var(--text); font-weight: 600; }
.console-bar .time { margin-left: auto; font-variant-numeric: tabular-nums; }

.chart { border-radius: 14px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border); overflow: hidden; }
.chart svg { width: 100%; height: auto; }
.chart .grid-line { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.chart .wick-up, .chart .body-up { stroke: var(--green); fill: var(--green); }
.chart .wick-down, .chart .body-down { stroke: var(--red); fill: var(--red); }
.chart .entry { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 5; }
.chart .entry-label { fill: var(--gold); font: 600 11px var(--font); }
.chart .cursor { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1; }

.console-controls { display: flex; align-items: center; gap: 10px; padding: 14px 4px 2px; }
.ctrl { height: 30px; min-width: 30px; padding: 0 10px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 12px; font-weight: 600; }
.ctrl.play { background: linear-gradient(180deg, #19c37d, #0e9a5f); color: #fff; border-color: transparent; }
.ctrl.speed { color: var(--gold-hi); }

.float {
  position: absolute;
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(26, 36, 62, 0.92), rgba(13, 19, 36, 0.92));
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: var(--text-2);
}

.float strong { display: block; color: var(--text); font-size: 20px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.float .pos { color: var(--green); }
.float-a { top: -62px; right: -26px; transform: translateZ(70px); }
.float-b { bottom: 70px; left: -40px; transform: translateZ(90px); }
.float-b .badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--green); font-weight: 700; font-size: 13px; white-space: nowrap; }
.float-b .badge svg { width: 16px; height: 16px; flex: none; }

/* ---------- Landing: sections ---------- */

.strip { padding: 28px 0 8px; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: var(--muted); font-size: 14px; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0.8; }

.section { padding: 84px 0 24px; }
.section-head { max-width: 640px; }
.section-head .kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
.section-head h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.8px; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 17px; }

.features { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature { padding: 26px 22px 24px; transition: transform 0.25s ease, border-color 0.25s ease; }
.feature:hover { transform: translateY(-4px); border-color: rgba(245, 181, 63, 0.35); }
.feature .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(245, 181, 63, 0.22), rgba(245, 181, 63, 0.04));
  border: 1px solid rgba(245, 181, 63, 0.3);
  color: var(--gold-hi);
  box-shadow: 0 10px 24px -12px var(--gold-glow);
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 18px; font-size: 17px; }
.feature p { margin-top: 8px; color: var(--text-2); font-size: 14px; }

.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px 24px; }
.step .num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 10px 26px -10px var(--gold-glow);
}
.step h3 { margin-top: 18px; font-size: 18px; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 14px; }

.cta-band { margin: 90px 0 0; padding: 46px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; background: radial-gradient(circle, var(--gold-glow), transparent 65%); pointer-events: none; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.6px; }
.cta-band p { margin-top: 8px; color: var(--text-2); }

.footer { padding: 54px 0 40px; color: var(--muted); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 28px; border-top: 1px solid var(--border); padding-top: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--text-2); }
.footer-links a:hover { color: var(--gold-hi); }
.footer-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }

/* ---------- Language menu (details, no JavaScript) ---------- */

.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; user-select: none; transition: background 0.2s ease; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover { background: var(--surface-2); }
.lang-menu > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.flag { display: block; width: 22px; height: 15px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.caret { width: 14px; height: 14px; color: var(--muted); transition: transform 0.2s ease; }
.lang-menu[open] .caret { transform: rotate(180deg); }
.lang-list { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; display: grid; gap: 2px; min-width: 172px; padding: 6px; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.85); }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.lang-list a:hover { background: var(--surface-2); color: var(--text); }
.lang-list a.on { color: var(--text); background: rgba(245, 181, 63, 0.12); box-shadow: 0 0 0 1px rgba(245, 181, 63, 0.3) inset; }
.lang-list a.on::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.lang-menu.up .lang-list { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }

/* Consent line under the Google buttons */
.consent { margin-top: 12px; max-width: 420px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.consent a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
.consent a:hover { color: var(--gold-hi); text-decoration-color: var(--gold); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; }
.cta-actions .consent { max-width: 340px; }
.message-card .consent { margin: 0 auto; text-align: center; }
.message-lang { position: fixed; top: 18px; right: 20px; z-index: 30; }

/* Thai text: no negative tracking on headings */
.lang-th h1, .lang-th h2, .lang-th h3 { letter-spacing: 0; }
.lang-th .lead, .lang-th p { line-height: 1.7; }

/* ---------- Legal pages ---------- */

.legal { padding: 36px 0 20px; }
.legal-wrap { max-width: 920px; }
.legal-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.legal-tabs a { padding: 8px 16px; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.legal-tabs a:hover { color: var(--text); background: var(--surface-2); }
.legal-tabs a.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); }
.legal-doc { padding: 40px 44px 44px; }
.legal-head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.legal-head h1 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.6px; }
.legal-date { margin-top: 8px !important; color: var(--muted); font-size: 13px; }
.legal-doc section { scroll-margin-top: 90px; padding-top: 8px; }
.legal-doc section + section { margin-top: 26px; }
.legal-doc h2 { font-size: 20px; letter-spacing: -0.2px; margin-bottom: 10px; }
.legal-doc h3 { font-size: 15px; color: var(--text); margin: 18px 0 6px; }
.legal-doc p { color: var(--text-2); }
.legal-doc p + p { margin-top: 10px; }
.legal-doc ul, .legal-doc ol { margin: 10px 0 0; padding-left: 22px; color: var(--text-2); }
.legal-doc li + li { margin-top: 6px; }
.legal-doc li::marker { color: var(--gold); }
.legal-doc strong { color: var(--text); }
.legal-doc a { color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgba(245, 181, 63, 0.4); text-underline-offset: 3px; }
.legal-doc code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.legal-summary { padding: 20px 22px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(245, 181, 63, 0.10), rgba(79, 141, 247, 0.06)); border: 1px solid rgba(245, 181, 63, 0.28); }
.legal-summary h2 { font-size: 15px; margin: 0 0 4px; color: var(--gold-hi); }
.legal-toc { margin: 22px 0 10px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.legal-toc h2 { font-size: 13px; margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }
.legal-toc ol { columns: 2; column-gap: 32px; margin-top: 8px; }
.legal-toc li { break-inside: avoid; margin: 0 0 4px !important; }
.legal-toc a { color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { color: var(--gold-hi); }
.legal-doc .table-wrap { margin-top: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.legal-table { font-size: 13.5px; }
.legal-table th { padding: 12px 14px; background: var(--surface); }
.legal-table td { padding: 12px 14px; white-space: normal; vertical-align: top; color: var(--text-2); }
.legal-table td:first-child { color: var(--text); }
#refunds { margin-top: 30px; padding: 22px 24px 24px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border-strong); }
.legal-note { margin-top: 18px !important; font-size: 13px; color: var(--muted) !important; }

/* ---------- Message pages (sign-in errors) ---------- */

.message-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.message-card { position: relative; z-index: 1; width: 100%; max-width: 480px; padding: 34px 32px; text-align: center; }
.message-card .brand { justify-content: center; }
.message-card h1 { margin-top: 26px; font-size: 24px; letter-spacing: -0.4px; }
.message-card p { margin-top: 12px; color: var(--text-2); }
.message-card .email { color: var(--gold-hi); font-weight: 600; word-break: break-all; }
.message-card .actions { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ---------- Dashboard ---------- */

.app { position: relative; z-index: 1; display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px 16px;
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.92), rgba(6, 10, 20, 0.92));
  border-right: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.sidebar .brand { padding: 0 8px; }
.nav { display: flex; flex-direction: column; gap: 4px; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link svg { width: 19px; height: 19px; flex: none; }
.nav-link:hover { background: var(--surface); color: var(--text); }

.nav-link.active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(245, 181, 63, 0.16), rgba(245, 181, 63, 0.02));
  box-shadow: 0 0 0 1px rgba(245, 181, 63, 0.22) inset;
}

.nav-link.active::before { content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.nav-link .soon { margin-left: auto; font-size: 10px; letter-spacing: 0.8px; font-weight: 700; color: var(--gold); border: 1px solid rgba(245, 181, 63, 0.35); border-radius: 6px; padding: 1px 6px; }

.me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.side-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.side-bottom .me { margin-top: 0; }
.side-links { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.side-links a:hover { color: var(--text-2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; object-fit: cover; background: linear-gradient(160deg, var(--gold-hi), var(--gold-lo)); color: var(--gold-ink); display: grid; place-items: center; font-weight: 800; }
.me .who { min-width: 0; flex: 1; }
.me .name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me .mail { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: transparent; border: 1px solid var(--border); color: var(--text-2); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn svg { width: 17px; height: 17px; }
.inline-form { margin: 0; }

.main { min-width: 0; padding: 34px 38px 60px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head h1 { font-size: 28px; letter-spacing: -0.6px; }
.page-head p { margin-top: 6px; color: var(--text-2); }
.main > .card { margin-top: 24px; }

.tiles { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { padding: 20px 20px 18px; overflow: hidden; }
.tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 141, 247, 0.16), transparent 70%); pointer-events: none; }
.tile.gold::after { background: radial-gradient(circle, rgba(245, 181, 63, 0.2), transparent 70%); }
.tile .label { color: var(--text-2); font-size: 13px; }
.tile .value { margin-top: 8px; font-size: 30px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.1; }
.tile .sub { margin-top: 6px; color: var(--muted); font-size: 12px; }

.pos { color: var(--green); }
.neg { color: var(--red); }

.grid-2 { margin-top: 18px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
/* Grid items may be narrower than their content: wide tables scroll inside .table-wrap. */
.grid-2 > * { min-width: 0; }
.panel { padding: 22px; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 17px; }
.panel-head a { color: var(--gold-hi); font-size: 13px; font-weight: 600; }

.list { display: flex; flex-direction: column; }
.list-row { display: grid; grid-template-columns: minmax(0, 1.6fr) auto auto; align-items: center; gap: 16px; padding: 14px 6px; border-top: 1px solid var(--border); border-radius: 10px; transition: background 0.2s ease; }
.list-row:first-child { border-top: 0; }
.list-row:hover { background: var(--surface); }
.list-row .title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-row .meta { margin-top: 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.list-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.list-row .num small { display: block; color: var(--muted); font-size: 11px; }

.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; border: 1px solid currentColor; }
.chip.fund { color: #f7b84b; }
.chip.general { color: #a98bff; }
.chip.replay { color: #5aa7ff; }
.chip.ok { color: var(--green); }
.chip.off { color: var(--red); }
.chip.soon { color: var(--gold); }

.license { padding: 20px; border-radius: 14px; background: linear-gradient(150deg, rgba(245, 181, 63, 0.14), rgba(245, 181, 63, 0.02) 55%); border: 1px solid rgba(245, 181, 63, 0.25); }
.license + .license { margin-top: 12px; }
.license .plan { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 16px; text-transform: capitalize; }
.kv { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

.coach { margin-top: 18px; padding: 22px; overflow: hidden; }
.note-text { margin: 0 0 14px; color: var(--text-2); font-size: 14px; }
.coach::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 300px; height: 300px; background: radial-gradient(circle, rgba(79, 141, 247, 0.25), transparent 65%); pointer-events: none; }
.coach h2 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.coach h2 svg { width: 20px; height: 20px; flex: none; color: var(--gold-hi); }
.coach p { margin-top: 10px; color: var(--text-2); font-size: 14px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0.4px; text-transform: uppercase; padding: 0 12px 12px; white-space: nowrap; }
td { padding: 14px 12px; border-top: 1px solid var(--border); white-space: nowrap; }
td.name { white-space: normal; min-width: 180px; font-weight: 600; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr { transition: background 0.2s ease; }
tbody tr:hover { background: var(--surface); }
.link-gold { color: var(--gold-hi); font-weight: 600; }

.empty { padding: 38px 20px; text-align: center; color: var(--text-2); }
.empty .icon { margin: 0 auto 14px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--gold-hi); }
.empty .icon svg { width: 24px; height: 24px; }
.empty h3 { color: var(--text); font-size: 17px; }
.empty p { margin-top: 6px; font-size: 14px; }

.profile { display: flex; align-items: center; gap: 16px; }
.profile .avatar { width: 56px; height: 56px; font-size: 20px; }
.profile .name { font-size: 18px; font-weight: 700; }
.profile .mail { color: var(--text-2); }
.profile .linked { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.profile .linked svg { width: 14px; height: 14px; }
.profile > div { min-width: 0; }
.profile .linked { flex-wrap: wrap; row-gap: 2px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 560px; margin: 10px auto 0; }
  .float-b { left: -8px; }
  .float-a { right: -6px; }
  .topnav .hide-sm { display: none; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; }

  .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sidebar { position: sticky; top: 0; z-index: 10; height: auto; flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
  .sidebar .brand-name { display: none; }
  .nav { flex-direction: row; gap: 4px; }
  .nav-link { height: 38px; padding: 0 10px; white-space: nowrap; }
  .nav-link.active::before { display: none; }
  .nav-link .soon { display: none; }
  .me { margin: 0; padding: 0; background: transparent; border: 0; }
  .me .who { display: none; }
  .sidebar { flex-wrap: wrap; overflow: visible; row-gap: 10px; min-width: 0; }
  .side-bottom { order: 1; margin: 0 0 0 auto; flex-direction: row; align-items: center; gap: 8px; }
  .side-links { display: none; }
  .nav { order: 2; flex-basis: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .lang-menu.up .lang-list { top: calc(100% + 8px); bottom: auto; left: auto; right: 0; }
  .footer-meta { text-align: left; }
  .main { padding: 24px 16px 48px; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile .value { font-size: 24px; }
  .hero { padding-top: 44px; }
  .hero .actions .btn { width: 100%; }
  .float { display: none; }
  .console { transform: none; }
  .list-row { grid-template-columns: minmax(0, 1fr) auto; }
  .list-row .num.extra { display: none; }
  .legal-doc { padding: 26px 20px 30px; }
  .legal-toc ol { columns: 1; }
  .legal-tabs { border-radius: 16px; }
  #refunds { padding: 18px 16px 20px; }
  .topnav { gap: 12px; }
  .lang-menu .lang-code { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- AI Coach ---------- */

.coach-quota { margin: 14px 0 16px; color: var(--text-2); font-size: 14px; }
.coach-quota strong { color: var(--gold-hi); }

.quota-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: linear-gradient(90deg, rgba(245, 181, 63, 0.16), rgba(245, 181, 63, 0.04)); border: 1px solid rgba(245, 181, 63, 0.3); color: var(--text-2); font-size: 14px; }
.quota-pill svg { width: 17px; height: 17px; color: var(--gold-hi); }
.quota-pill strong { color: var(--text); }


.coach-grid { grid-template-columns: 1.7fr 1fr; }
.review + .review { margin-top: 18px; }
.review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.review-head h2 { font-size: 17px; }
.review-head .meta { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.review .headline { margin-top: 18px; font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--gold-hi); }
.review .summary { margin-top: 10px; color: var(--text-2); }
.review h3 { margin-top: 22px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.points { margin: 10px 0 0; padding-left: 20px; color: var(--text); }
.points li { margin-top: 6px; }
.points.good li::marker { color: var(--green); }
.points.plan li::marker { color: var(--gold); font-weight: 700; }
.fixes { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.fix { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); }
.fix-title { font-weight: 700; }
.fix p { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.fix .evidence { color: var(--muted); font-size: 13px; }

.lang-label { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; }
.lang-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 14px; }
.lang-toggle a { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.lang-toggle a.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); }

.pick-list { display: flex; flex-direction: column; }
.pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--border); }
.pick:first-child { border-top: 0; }
.pick-text { min-width: 0; }
.pick .title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick .meta { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.pick-off { color: var(--muted); font-size: 12px; white-space: nowrap; }

@media (max-width: 1080px) {
  .coach-grid { grid-template-columns: 1fr; }
}

/* ---------- AI Coach: review details ---------- */

.toast { margin-top: 22px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(90deg, rgba(79, 141, 247, 0.16), rgba(79, 141, 247, 0.04)); border: 1px solid rgba(79, 141, 247, 0.35); color: var(--text); font-size: 14px; animation: rise 0.35s ease both; }
.toast svg { width: 20px; height: 20px; flex: none; color: var(--gold-hi); }

.conf { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid currentColor; }
.conf-low { color: #f7b84b; background: rgba(247, 184, 75, 0.08); }
.conf-medium { color: #6aa6ff; background: rgba(106, 166, 255, 0.08); }
.conf-high { color: var(--green); background: rgba(47, 209, 122, 0.08); }

.facts { margin: 18px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; border-radius: 14px; overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.facts div { padding: 12px 14px; background: rgba(10, 16, 32, 0.92); }
.facts dt { color: var(--muted); font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }

.review .headline { margin-top: 22px; }
.review h3 { margin-top: 26px; }

.scorecard { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.score-row { padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.score-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.score-name { font-weight: 700; font-size: 14px; }
.score-value { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.score-value small { margin-left: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.score-bar { margin-top: 10px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.score-bar span { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.score-bar span.on.s1, .score-bar span.on.s2 { background: var(--red); }
.score-bar span.on.s3 { background: var(--gold); }
.score-bar span.on.s4, .score-bar span.on.s5 { background: var(--green); }
.score-comment { margin-top: 10px; color: var(--text-2); font-size: 13px; }

.fix-title { display: flex; align-items: flex-start; gap: 10px; }
.fix-num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.fix p { margin-left: 34px; }
.fix .evidence { display: flex; gap: 8px; }
.fix .evidence span { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); padding-top: 2px; }

.checklist { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checklist li { position: relative; padding: 12px 14px 12px 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.checklist li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--gold); }

.review-foot { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }

.writing { margin-top: 18px; display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: 0.2s; }
.dots i:nth-child(3) { animation-delay: 0.4s; }

details.review.past { margin-top: 18px; }
details.review.past summary { list-style: none; cursor: pointer; }
details.review.past summary::-webkit-details-marker { display: none; }
details.review.past .review-head { border-bottom: 0; padding-bottom: 0; }
.past-headline { margin-top: 10px; color: var(--text-2); font-size: 14px; }
.past-open { display: inline-block; margin-top: 10px; color: var(--gold-hi); font-size: 13px; font-weight: 600; }
details[open] .past-open { display: none; }
details[open] .past-headline { display: none; }

.btn-done { background: rgba(47, 209, 122, 0.08); border-color: rgba(47, 209, 122, 0.45); color: var(--green); }
.btn-done:hover { background: rgba(47, 209, 122, 0.14); }

.fine-print { margin: 18px 0 0; padding: 14px 0 0 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; line-height: 1.55; }
.fine-print li + li { margin-top: 4px; }
.fine-print a { color: var(--gold-hi); font-weight: 600; }

/* Dialog: a page state, so it works without JavaScript. */
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(3, 6, 12, 0.72); backdrop-filter: blur(6px); animation: fade 0.2s ease both; }
.modal { position: relative; width: 100%; max-width: 440px; padding: 34px 30px 28px; text-align: center; background: linear-gradient(180deg, rgba(26, 36, 62, 0.98), rgba(12, 18, 34, 0.98)); border-color: var(--border-strong); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(245, 181, 63, 0.12) inset; animation: pop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.modal-icon { margin: 0 auto; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: var(--gold-hi); background: linear-gradient(160deg, rgba(245, 181, 63, 0.24), rgba(245, 181, 63, 0.04)); border: 1px solid rgba(245, 181, 63, 0.35); box-shadow: 0 16px 34px -14px var(--gold-glow); }
.modal-icon svg { width: 28px; height: 28px; }
.modal h2 { margin-top: 20px; font-size: 21px; letter-spacing: -0.3px; }
.modal p { margin-top: 10px; color: var(--text-2); }
.modal-actions { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.modal-x:hover { color: var(--text); background: var(--surface-2); }
.modal-x svg { width: 16px; height: 16px; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); } 40% { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .scorecard { grid-template-columns: 1fr; }
  .fix p { margin-left: 0; }
}

/* ---------- Downloads ---------- */

.topnav a.on { color: var(--text); }

.btn-blue {
  background: linear-gradient(180deg, #7aaeff, var(--blue) 48%, #2c66d6);
  color: #fff;
  box-shadow: 0 14px 34px -12px var(--blue-glow), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.btn-blue:hover { box-shadow: 0 18px 40px -12px rgba(79, 141, 247, 0.55), 0 1px 0 rgba(255, 255, 255, 0.4) inset; }
.btn-locked { background: rgba(255, 255, 255, 0.03); border-color: var(--border-strong); color: var(--muted); cursor: not-allowed; }
.btn-locked:hover { transform: none; }

.dl-hero { padding: 64px 0 38px; text-align: center; }
.dl-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.dl-hero h1 { margin-top: 20px; max-width: 780px; text-wrap: balance; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; }
.dl-hero .lead { margin-top: 16px; max-width: 620px; color: var(--text-2); font-size: 17px; }
.dl-install { padding-top: 80px; }

.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.main .dl-grid { margin-top: 26px; }

/* A download card: icon, name, facts, three points and one big button. */
.dl-card { container-type: inline-size; display: flex; flex-direction: column; padding: 28px 28px 24px; overflow: hidden; transition: transform 0.25s ease; }
.dl-card:hover { transform: translateY(-3px); }
.dl-card::before { content: ""; position: absolute; top: -150px; right: -130px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 141, 247, 0.22), transparent 65%); pointer-events: none; }
.dl-card > * { position: relative; }

.dl-card.ea {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(21, 29, 50, 0.97), rgba(10, 15, 29, 0.97)) padding-box,
    linear-gradient(155deg, rgba(255, 212, 124, 0.85), rgba(245, 181, 63, 0.2) 36%, rgba(255, 255, 255, 0.06) 68%, rgba(79, 141, 247, 0.3)) border-box;
  box-shadow: var(--shadow), 0 34px 80px -44px rgba(245, 181, 63, 0.45);
}

.dl-card.ea::before { background: radial-gradient(circle, rgba(245, 181, 63, 0.2), transparent 65%); }
.dl-card.ea.locked { background: linear-gradient(180deg, rgba(21, 29, 50, 0.97), rgba(10, 15, 29, 0.97)) padding-box, linear-gradient(155deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)) border-box; box-shadow: var(--shadow); }
.dl-card.ea.locked::before { opacity: 0.45; }
.dl-card.locked .dl-facts, .dl-card.locked .dl-points { opacity: 0.6; }

.dl-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.dl-mark {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #a9c8ff;
  background: linear-gradient(160deg, rgba(79, 141, 247, 0.3), rgba(79, 141, 247, 0.05));
  border: 1px solid rgba(79, 141, 247, 0.42);
  box-shadow: 0 18px 36px -16px var(--blue-glow), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.dl-mark svg { width: 30px; height: 30px; }
.dl-mark img { width: 38px; height: 38px; }
.ea .dl-mark, .dl-mark.ea { color: var(--gold-hi); background: linear-gradient(160deg, rgba(245, 181, 63, 0.28), rgba(245, 181, 63, 0.05)); border-color: rgba(245, 181, 63, 0.45); box-shadow: 0 18px 36px -16px var(--gold-glow), 0 1px 0 rgba(255, 255, 255, 0.14) inset; }
.dl-mark.sm { width: 48px; height: 48px; border-radius: 14px; }
.dl-mark.sm svg { width: 23px; height: 23px; }
.dl-mark.xs { width: 38px; height: 38px; border-radius: 11px; box-shadow: none; }
.dl-mark.xs svg { width: 19px; height: 19px; }
.dl-mark.xs img { width: 22px; height: 22px; }

.dl-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; white-space: nowrap; }
.dl-tag svg { width: 14px; height: 14px; }
.dl-tag.free { color: var(--green); border-color: rgba(47, 209, 122, 0.4); background: rgba(47, 209, 122, 0.08); }
.dl-tag.member { color: var(--gold-hi); border-color: rgba(245, 181, 63, 0.45); background: rgba(245, 181, 63, 0.1); }
.dl-tag.lock { color: var(--text-2); border-color: var(--border-strong); background: var(--surface); }

.dl-card h2 { margin-top: 22px; font-size: 26px; line-height: 1.2; letter-spacing: -0.5px; }
.dl-by { margin-top: 4px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.dl-text { margin-top: 12px; color: var(--text-2); font-size: 14.5px; }

.dl-facts { margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: 14px; overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.dl-facts div { min-width: 0; padding: 11px 14px 12px; background: rgba(7, 12, 24, 0.88); }
.dl-facts dt { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

@container (max-width: 500px) {
  .dl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dl-points { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dl-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 14px; }
.dl-points svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--green); }

.dl-action { margin-top: auto; padding-top: 26px; }
.dl-action > .btn { width: 100%; height: 52px; font-size: 15.5px; }
.dl-action .consent { max-width: none; text-align: center; }
.dl-signin { margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.dl-signin svg { width: 16px; height: 16px; color: var(--gold-hi); }
.dl-note { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; color: var(--muted); font-size: 12.5px; }
.dl-note span, .dl-note a { display: inline-flex; align-items: center; gap: 6px; }
.dl-note a { color: var(--text-2); font-weight: 600; }
.dl-note a:hover { color: var(--gold-hi); }
.dl-note svg { width: 14px; height: 14px; flex: none; }
.dl-hash { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 12px; }
.dl-lock-text { margin-top: 12px; color: var(--text-2); font-size: 13.5px; text-align: center; }
.dl-lock-text a { color: var(--gold-hi); font-weight: 600; }
.dl-pending { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(79, 141, 247, 0.08); border: 1px dashed rgba(79, 141, 247, 0.45); color: var(--text-2); font-size: 14px; }
.dl-pending svg { width: 20px; height: 20px; flex: none; color: #a9c8ff; }

/* Install guide and the side column. */
.dl-lower { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.section-head + .dl-lower { margin-top: 34px; }
.dl-side { display: grid; gap: 18px; min-width: 0; }
.dl-side .panel { margin-top: 0; }
.install-panel { padding: 26px 26px 28px; }

.install { margin: 0; padding: 0; list-style: none; }
.install-step { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
.install-step:last-child { padding-bottom: 0; }
.install-step::before { content: ""; position: absolute; left: 20.5px; top: 50px; bottom: 8px; width: 1px; background: linear-gradient(180deg, rgba(245, 181, 63, 0.55), rgba(255, 255, 255, 0.05)); }
.install-step:last-child::before { display: none; }
.install-num { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 15px; font-weight: 800; color: var(--gold-hi); background: linear-gradient(160deg, rgba(245, 181, 63, 0.22), rgba(245, 181, 63, 0.04)); border: 1px solid rgba(245, 181, 63, 0.4); box-shadow: 0 12px 26px -14px var(--gold-glow); }
.install-body { min-width: 0; padding-top: 9px; }
.install-body h3 { font-size: 16.5px; letter-spacing: -0.2px; }
.install-body p { margin-top: 8px; color: var(--text-2); font-size: 14px; }
.kbd-path { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }

kbd {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
  color: var(--text);
  font: 600 12.5px/1 var(--font);
  white-space: nowrap;
}

.url-chip { margin-top: 12px; display: inline-flex; align-items: center; max-width: 100%; padding: 9px 14px; border-radius: 11px; background: rgba(0, 0, 0, 0.32); border: 1px dashed rgba(245, 181, 63, 0.5); color: var(--gold-hi); font: 600 13.5px/1.3 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.install-link { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; color: var(--gold-hi); font-size: 13.5px; font-weight: 600; }
.install-link svg { width: 16px; height: 16px; }
.install-link:hover { color: var(--gold); }

.side-title { margin-bottom: 14px; font-size: 17px; }
.req-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.req-list li { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
.req-list svg { width: 18px; height: 18px; flex: none; color: var(--gold-hi); }

.faq .side-title { margin-bottom: 4px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:first-of-type { border-top: 0; }
.faq summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 13px 2px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.faq summary .caret { flex: none; margin-top: 5px; }
.faq details[open] .caret { transform: rotate(180deg); }
.faq details p { padding: 0 2px 14px; color: var(--text-2); font-size: 14px; }

.dl-help { overflow: hidden; }
.dl-help::before { content: ""; position: absolute; right: -90px; bottom: -150px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(79, 141, 247, 0.22), transparent 65%); pointer-events: none; }
.dl-help > * { position: relative; }
.dl-help h2 { margin-top: 16px; font-size: 17px; }
.dl-help p { margin-top: 8px; color: var(--text-2); font-size: 14px; }
.dl-help .dl-help-key { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 13px; }
.dl-help-key svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold-hi); }
.dl-help .btn { margin-top: 16px; max-width: 100%; }

.license-pill svg { color: var(--green); }

/* Landing: a short download band under the steps. */
.dl-band { margin-top: 22px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; overflow: hidden; }
.dl-band::before { content: ""; position: absolute; left: -90px; top: -140px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(79, 141, 247, 0.2), transparent 65%); pointer-events: none; }
.dl-band-text { position: relative; flex: 1 1 380px; min-width: 0; display: flex; align-items: center; gap: 18px; }
.dl-band h3 { font-size: 18px; }
.dl-band p { margin-top: 4px; color: var(--text-2); font-size: 14px; }
.dl-band-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.dl-band + .cta-band { margin-top: 64px; }

/* Overview: the small downloads card. */
.dl-mini { margin-top: 18px; }
.dl-mini-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--border); }
.panel-head + .dl-mini-row { padding-top: 2px; border-top: 0; }
.dl-mini-text { flex: 1; min-width: 0; }
.dl-mini-text .title { font-size: 14px; font-weight: 600; }
.dl-mini-text .meta { color: var(--muted); font-size: 12px; }
.icon-btn.dl-get { color: var(--gold-hi); border-color: rgba(245, 181, 63, 0.4); background: rgba(245, 181, 63, 0.08); }
.icon-btn.dl-get:hover { color: var(--gold-hi); background: rgba(245, 181, 63, 0.16); }

@media (max-width: 1080px) {
  .dl-lower { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .dl-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .dl-hero { padding: 40px 0 26px; }
  .dl-install { padding-top: 56px; }
  .dl-card { padding: 22px 18px 20px; }
  .dl-card h2 { font-size: 23px; }
  .dl-band { padding: 22px 18px; }
  .dl-band-actions, .dl-band-actions .btn { width: 100%; }
  .install-panel { padding: 22px 16px 24px; }
  .install-step { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .install-num { width: 36px; height: 36px; border-radius: 11px; }
  .install-step::before { left: 17.5px; top: 44px; }
  .install-body { padding-top: 6px; }
  .nav-link:not(.active) span { display: none; }
  .nav-link:not(.active) { padding: 0 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-card:hover { transform: none; }
}

/* ---------- Landing: replay ---------- */
/* When the page opens, the console plays its candles one by one (85 ms a bar),
   the cursor follows the newest bar, the BUY line appears with its bar, then
   the replay stops and the result cards pop in. It plays again only when the
   page is opened or reloaded. Without animation the final chart is shown. */

.replay .bar { --d: 0; }
.replay .bar:nth-child(2) { --d: 1; } .replay .bar:nth-child(3) { --d: 2; } .replay .bar:nth-child(4) { --d: 3; }
.replay .bar:nth-child(5) { --d: 4; } .replay .bar:nth-child(6) { --d: 5; } .replay .bar:nth-child(7) { --d: 6; }
.replay .bar:nth-child(8) { --d: 7; } .replay .bar:nth-child(9) { --d: 8; } .replay .bar:nth-child(10) { --d: 9; }
.replay .bar:nth-child(11) { --d: 10; } .replay .bar:nth-child(12) { --d: 11; } .replay .bar:nth-child(13) { --d: 12; }
.replay .bar:nth-child(14) { --d: 13; } .replay .bar:nth-child(15) { --d: 14; } .replay .bar:nth-child(16) { --d: 15; }
.replay .bar:nth-child(17) { --d: 16; } .replay .bar:nth-child(18) { --d: 17; } .replay .bar:nth-child(19) { --d: 18; }
.replay .bar:nth-child(20) { --d: 19; } .replay .bar:nth-child(21) { --d: 20; } .replay .bar:nth-child(22) { --d: 21; }
.replay .bar:nth-child(23) { --d: 22; } .replay .bar:nth-child(24) { --d: 23; } .replay .bar:nth-child(25) { --d: 24; }
.replay .bar:nth-child(26) { --d: 25; } .replay .bar:nth-child(27) { --d: 26; } .replay .bar:nth-child(28) { --d: 27; }
.replay .bar:nth-child(29) { --d: 28; } .replay .bar:nth-child(30) { --d: 29; } .replay .bar:nth-child(31) { --d: 30; }
.replay .bar:nth-child(32) { --d: 31; } .replay .bar:nth-child(33) { --d: 32; } .replay .bar:nth-child(34) { --d: 33; }
.replay .bar:nth-child(35) { --d: 34; } .replay .bar:nth-child(36) { --d: 35; } .replay .bar:nth-child(37) { --d: 36; }
.replay .bar:nth-child(38) { --d: 37; } .replay .bar:nth-child(39) { --d: 38; } .replay .bar:nth-child(40) { --d: 39; }

.replay .wick, .replay .body { transform-box: fill-box; animation: bar-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; animation-delay: calc(var(--d) * 85ms + 300ms); }
.replay .wick { transform-origin: 50% 50%; }
.replay .body-up { transform-origin: 50% 100%; }
.replay .body-down { transform-origin: 50% 0%; }
.replay .cursor { opacity: 0; animation: cursor-on 86ms linear; animation-delay: calc(var(--d) * 85ms + 300ms); }
.replay .bar:last-child .cursor { opacity: 1; animation: fade-in 0.2s ease backwards; animation-delay: calc(var(--d) * 85ms + 300ms); }
.replay .trade { animation: fade-in 0.45s ease backwards; animation-delay: calc(var(--d) * 85ms + 420ms); }

.ctrl.play { display: inline-grid; }
.ctrl.play > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ctrl.play svg { width: 10px; height: 10px; fill: currentColor; }
.play-now { opacity: 0; animation: shown-until 3.25s step-end backwards; }
.play-end { animation: hidden-until 3.25s step-end backwards; }
.console-controls .ctrl.play { animation: playing 0.9s ease-in-out 3 0.3s; }
.console-bar .light.on { animation: blink-light 0.6s ease-in-out 5 0.3s; }

.float-a { animation: pop-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) 3.35s backwards; }
.float-b { animation: pop-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) 3.6s backwards; }

@keyframes bar-in { from { opacity: 0; transform: scaleY(0.05); } to { opacity: 1; transform: none; } }
@keyframes cursor-on { from, to { opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes shown-until { from { opacity: 1; } to { opacity: 0; } }
@keyframes hidden-until { from { opacity: 0; } to { opacity: 1; } }
@keyframes playing { 0%, 100% { box-shadow: 0 0 0 0 rgba(25, 195, 125, 0); } 50% { box-shadow: 0 0 0 5px rgba(25, 195, 125, 0.22); } }
@keyframes blink-light { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes pop-in { from { opacity: 0; scale: 0.88; translate: 0 10px; } to { opacity: 1; scale: 1; translate: none; } }

/* Reduced motion: the replay still plays (under 4 s, once), but bars and cards
   only fade in; nothing grows, pops or pulses. */
@media (prefers-reduced-motion: reduce) {
  .replay .wick, .replay .body, .float-a, .float-b { animation-name: fade-in; }
  .console-controls .ctrl.play, .console-bar .light.on { animation: none; }
}

/* ---------- Plans and pricing ---------- */

.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2, .page-head h1 { text-wrap: balance; }
.wrap.narrow { max-width: 980px; }
.section-head.center + .card { margin-top: 34px; }

.plans { margin: 40px auto 0; max-width: 960px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan-card { display: flex; flex-direction: column; padding: 30px 30px 28px; overflow: hidden; }
.plan-card::before { content: ""; position: absolute; top: -150px; right: -130px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 141, 247, 0.18), transparent 65%); pointer-events: none; }
.plan-card > * { position: relative; }
.plan-card.premium {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(23, 31, 53, 0.97), rgba(10, 15, 29, 0.97)) padding-box,
    linear-gradient(155deg, rgba(255, 212, 124, 0.9), rgba(245, 181, 63, 0.22) 36%, rgba(255, 255, 255, 0.06) 68%, rgba(79, 141, 247, 0.3)) border-box;
  box-shadow: var(--shadow), 0 40px 90px -46px rgba(245, 181, 63, 0.5);
}
.plan-card.premium::before { background: radial-gradient(circle, rgba(245, 181, 63, 0.22), transparent 65%); }

.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-mark { width: 52px; height: 52px; flex: none; border-radius: 15px; display: grid; place-items: center; color: #a9c8ff; background: linear-gradient(160deg, rgba(79, 141, 247, 0.3), rgba(79, 141, 247, 0.05)); border: 1px solid rgba(79, 141, 247, 0.42); }
.plan-mark svg { width: 25px; height: 25px; }
.plan-mark img { width: 30px; height: 30px; }
.plan-card.premium .plan-mark { color: var(--gold-hi); background: linear-gradient(160deg, rgba(245, 181, 63, 0.28), rgba(245, 181, 63, 0.05)); border-color: rgba(245, 181, 63, 0.45); box-shadow: 0 18px 36px -16px var(--gold-glow); }
.plan-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(79, 141, 247, 0.4); background: rgba(79, 141, 247, 0.1); color: #a9c8ff; font-size: 12px; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; }
.plan-tag svg { width: 14px; height: 14px; }
.plan-tag.best { color: var(--gold-ink); border-color: transparent; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 10px 24px -12px var(--gold-glow); }

.plan-name { margin-top: 20px; font-size: 24px; letter-spacing: -0.4px; }
.plan-desc { margin-top: 6px; color: var(--text-2); font-size: 14.5px; }
.plan-price { margin-top: 22px; display: flex; align-items: baseline; gap: 4px; }
.plan-price .cur { align-self: flex-start; margin-top: 6px; color: var(--text-2); font-size: 26px; font-weight: 700; }
.plan-price .amount { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.plan-card.premium .amount, .plan-card.premium .cur { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price .per { margin-left: 6px; color: var(--muted); font-size: 15px; font-weight: 600; }
.plan-sub { margin-top: 10px; color: var(--muted); font-size: 13px; }
.plan-cta { margin-top: 24px; }
.plan-cta .btn { width: 100%; height: 50px; font-size: 15px; }
.plan-list { margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--border); list-style: none; display: grid; gap: 12px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 14.5px; }
.plan-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--green); }
.plan-list li.limit { color: var(--text-2); }
.plan-list li.limit svg { color: var(--gold); }
.plan-list li.hi { font-weight: 600; }
.plan-list li.hi svg { color: var(--gold-hi); }
.plans-note { margin: 18px auto 0; max-width: 960px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-2); font-size: 13.5px; text-align: center; }
.plans-note svg { width: 17px; height: 17px; flex: none; color: var(--gold-hi); }
.plans-more { margin-top: 18px; text-align: center; }
.plans-more a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); font-weight: 600; font-size: 14.5px; }
.plans-more svg { width: 16px; height: 16px; }
.plans-more + .cta-band { margin-top: 70px; }

.trust { margin: 34px auto 0; max-width: 960px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.trust-item .dl-mark.sm { width: 42px; height: 42px; border-radius: 12px; box-shadow: none; }
.trust-item .dl-mark.sm svg { width: 20px; height: 20px; }
.trust-item h3 { font-size: 15px; }
.trust-item p { margin-top: 4px; color: var(--text-2); font-size: 13.5px; }
.trust-item a { color: var(--gold-hi); font-weight: 600; white-space: nowrap; }

.compare { padding: 8px 8px 4px; overflow: hidden; }
.compare table { font-size: 14.5px; }
.compare th { padding: 18px 18px 14px; vertical-align: bottom; }
.compare th.c { text-align: center; color: var(--text); font-size: 15px; letter-spacing: 0; text-transform: none; }
.compare th small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.compare td { padding: 14px 18px; white-space: normal; }
.compare td.c { text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.compare .premium { background: rgba(245, 181, 63, 0.06); }
.compare th.premium { color: var(--gold-hi); border-radius: 12px 12px 0 0; }
.compare tbody tr:hover { background: transparent; }
.compare tbody tr:hover td { background: var(--surface); }
.compare tbody tr:hover td.premium { background: rgba(245, 181, 63, 0.1); }
.cmp-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--green); background: rgba(47, 209, 122, 0.1); }
.cmp-yes svg { width: 17px; height: 17px; }
.price-faq { margin-top: 34px; padding: 10px 24px; }
.price-faq details p a { color: var(--gold-hi); font-weight: 600; }

/* ---------- License key and plan badges ---------- */

.plan-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; }
.plan-badge.premium { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: 0 8px 20px -10px var(--gold-glow), 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
.plan-badge.trial { color: #d6e4ff; background: linear-gradient(180deg, rgba(79, 141, 247, 0.5), rgba(79, 141, 247, 0.28)); border: 1px solid rgba(79, 141, 247, 0.55); }
.lang-th .plan-badge.trial { letter-spacing: 0.3px; }
td .plan-badge { vertical-align: middle; }

.license .plan { text-transform: none; }
.license.off { background: var(--surface); border-color: var(--border); }
.license.off .plan-badge, tr.off .plan-badge { filter: grayscale(0.85); opacity: 0.7; box-shadow: none; }
.license.off .kv dd { color: var(--text-2); }
.license.trial { background: linear-gradient(150deg, rgba(79, 141, 247, 0.14), rgba(79, 141, 247, 0.02) 55%); border-color: rgba(79, 141, 247, 0.3); }
.license-plans { margin-top: 16px; }

.key-box { margin-top: 16px; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border-strong); }
.key-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.key-label svg { width: 15px; height: 15px; color: var(--gold-hi); }
.key-row { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.key-value {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(245, 181, 63, 0.45);
  color: var(--gold-hi);
  font: 600 13px/1.35 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
  filter: blur(4.5px);
  cursor: pointer;
  transition: filter 0.2s ease;
  -webkit-user-select: all;
  user-select: all;
}
.key-row:hover .key-value, .key-value:focus { filter: none; outline: none; border-style: solid; }
.key-value.masked { filter: none; cursor: default; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-user-select: none; user-select: none; letter-spacing: 0.3px; }
.key-box.compact { padding: 12px; }
.key-box.compact .key-row { margin-top: 8px; }
.key-box.compact .key-copy { height: 36px; padding: 0 14px; }
.key-copy { flex: none; height: 40px; }
.key-copy .copy-idle, .key-copy .copy-done { display: inline-flex; align-items: center; gap: 7px; }
.key-copy .copy-done { display: none; }
.key-copy.copied { background: linear-gradient(180deg, #3be08b, #19b56a); color: #04210f; }
.key-copy.copied .copy-idle { display: none; }
.key-copy.copied .copy-done { display: inline-flex; }
.key-copy svg { width: 16px; height: 16px; }
.key-hint { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.key-box.legacy .key-hint a { color: var(--gold-hi); font-weight: 600; }
.install-body .key-box { max-width: 560px; }

.key-panel { border-color: rgba(245, 181, 63, 0.3); }
.key-license + .key-license { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.key-license-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text-2); font-size: 13px; }
.key-license .key-box { margin-top: 12px; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .trust { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 560px) {
  .plan-card { padding: 24px 20px 22px; }
  .plan-price .amount { font-size: 48px; }
  .compare th, .compare td { padding-left: 12px; padding-right: 12px; }
  .price-faq { padding: 6px 16px; }
  .key-box:not(.compact) .key-row { flex-direction: column; align-items: stretch; }
  .key-box:not(.compact) .key-copy { width: 100%; }
}

/* ---------- Mobile menu (public pages) ---------- */

.menu-toggle { display: none; }
.menu-toggle > summary { list-style: none; width: 42px; height: 38px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--border-strong); background: var(--surface); transition: background 0.2s ease; }
.menu-toggle > summary::-webkit-details-marker { display: none; }
.menu-toggle > summary:hover { background: var(--surface-2); }
.menu-toggle > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.burger { position: relative; display: block; width: 18px; height: 14px; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
.menu-toggle[open] > summary { background: var(--surface-2); border-color: rgba(245, 181, 63, 0.45); }
.menu-toggle[open] .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[open] .burger i:nth-child(2) { opacity: 0; }
.menu-toggle[open] .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.menu-panel { position: absolute; top: calc(100% + 10px); left: 12px; right: 12px; z-index: 40; padding: 10px; border-radius: 18px; background: rgba(12, 18, 34, 0.98); border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); animation: menu-in 0.18s ease both; }
.menu-panel > a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; color: var(--text); font-size: 15px; font-weight: 600; }
.menu-panel > a svg { width: 19px; height: 19px; flex: none; color: var(--gold-hi); }
.menu-panel > a:hover, .menu-panel > a.on { background: var(--surface-2); }
.menu-panel > a.on { box-shadow: inset 3px 0 0 var(--gold); }
.menu-cta { margin-top: 8px; padding: 14px 4px 4px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.menu-cta .btn { width: 100%; }
.menu-trial { color: var(--text-2); font-size: 12.5px; text-align: center; }
.menu-trial svg { display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; color: var(--green); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

.hero-trial { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(47, 209, 122, 0.08); border: 1px solid rgba(47, 209, 122, 0.3); color: #c4f3da; font-size: 13.5px; font-weight: 600; }
.hero-trial svg { width: 16px; height: 16px; flex: none; color: var(--green); }

/* ---------- Dashboard: getting started ---------- */

.start-panel {
  margin-top: 24px;
  padding: 26px;
  overflow: hidden;
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(21, 29, 50, 0.97), rgba(10, 15, 29, 0.97)) padding-box,
    linear-gradient(155deg, rgba(255, 212, 124, 0.75), rgba(245, 181, 63, 0.15) 40%, rgba(79, 141, 247, 0.35)) border-box;
}
.start-panel::before { content: ""; position: absolute; top: -170px; right: -130px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 181, 63, 0.16), transparent 65%); pointer-events: none; }
.start-panel > * { position: relative; }
.start-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 24px; }
.start-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-hi); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.lang-th .start-kicker { letter-spacing: 0.3px; }
.start-kicker svg { width: 15px; height: 15px; }
.start-head h2 { margin-top: 8px; font-size: 24px; letter-spacing: -0.4px; text-wrap: balance; }
.start-head p { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.start-upgrade { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.start-upgrade span { color: var(--muted); font-size: 12px; }
.start-steps { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.start-step { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 18px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); }
.start-num { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); font-size: 14px; font-weight: 800; }
.start-step h3 { margin-top: 12px; font-size: 15.5px; }
.start-step p { flex: 1; margin-top: 4px; color: var(--text-2); font-size: 13px; }
.start-step .btn { margin-top: 14px; }
.start-step .key-box { width: 100%; margin-top: 12px; }
.start-guide { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-hi); font-size: 13.5px; font-weight: 600; }
.start-guide svg { width: 15px; height: 15px; }
.start-panel + .tiles { margin-top: 18px; }

/* AI Coach without an active plan. */
.notice-band { padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; border-color: rgba(245, 181, 63, 0.3); }
.notice-band > div { flex: 1 1 280px; min-width: 0; }
.notice-band h2 { font-size: 16px; }
.notice-band p { margin-top: 4px; color: var(--text-2); font-size: 14px; }
.quota-pill.locked { color: var(--text-2); }
.pick-off svg { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; }

@media (max-width: 1080px) {
  .start-steps { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
}

@media (max-width: 560px) {
  .topnav { gap: 10px; }
  .topnav .top-cta { display: none; }
  .start-panel { padding: 20px 16px; }
  .start-upgrade { align-items: flex-start; }
}

/* ---------- Blog ---------- */

.topnav { gap: clamp(16px, 2vw, 26px); }

.blog-hero { padding: 64px 0 34px; text-align: center; }
.blog-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.blog-hero h1 { margin-top: 20px; max-width: 760px; text-wrap: balance; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; }
.blog-hero .lead { margin-top: 16px; max-width: 640px; color: var(--text-2); font-size: 17px; }
.blog-list { padding-bottom: 72px; }

/* Cover art: one illustration per article kind (templates/_blog.html).
   The tone follows the article's tag; the grid is drawn here so it fills
   covers of any shape while the illustration always shows whole. */
.post-cover {
  --tone: 79, 141, 247;
  position: relative;
  overflow: hidden;
  height: 190px;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(var(--tone), 0.28), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(var(--tone), 0.10), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, #0c1427, #070c18);
  border-bottom: 1px solid var(--border);
}
.post-cover.guide { --tone: 245, 181, 63; }
.post-cover.challenge { --tone: 47, 209, 122; }
.post-cover.risk { --tone: 167, 139, 250; }
.post-cover > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-cover text { font-family: var(--font); font-weight: 800; }
.cv-candle path { stroke-width: 1.6; }
.cv-candle.up path { stroke: #2fd17a; }
.cv-candle.up rect { fill: #2fd17a; }
.cv-candle.down path { stroke: #ff5d73; }
.cv-candle.down rect { fill: #ff5d73; }
.cv-candle.future path { stroke: rgba(255, 255, 255, 0.13); }
.cv-candle.future rect { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.2; stroke-dasharray: 3 3; }
.cv-future { fill: rgba(4, 7, 14, 0.55); }
.cv-cursor { stroke: rgb(var(--tone)); stroke-width: 1.6; stroke-dasharray: 5 5; }
.cv-head, .cv-tone { fill: rgb(var(--tone)); }
.cv-panel { fill: rgba(9, 14, 27, 0.88); stroke: rgba(255, 255, 255, 0.1); }
.cv-window { fill: rgba(7, 11, 21, 0.9); stroke: rgba(255, 255, 255, 0.13); }
.cv-sheet { fill: rgba(17, 24, 42, 0.94); stroke: rgba(255, 255, 255, 0.12); }
.cv-field { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.15); }
.cv-sep { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 1.2; }
.cv-text { fill: #e9eef7; }
.post-cover .cv-muted { fill: #8d99b0; font-weight: 600; }
.cv-ink { fill: #c3cde0; }
.cv-dark { fill: #0b1020; }
.cv-gold { fill: #f5b53f; }
.cv-green { fill: #2fd17a; }
.cv-red { fill: #ff5d73; }
.cv-orange { fill: #ff9f43; }
.cv-sell { fill: #e5485f; }
.cv-buy { fill: #1fae63; }
.cv-btn { fill: #fff; letter-spacing: 1px; }
.cv-line-tp, .cv-line-sl, .cv-line-daily { fill: none; stroke-width: 1.6; stroke-dasharray: 6 5; }
.cv-line-tp { stroke: #2fd17a; }
.cv-line-sl { stroke: #ff5d73; }
.cv-line-daily { stroke: #ff9f43; }
.cv-line-entry { fill: none; stroke: rgb(var(--tone)); stroke-width: 2; }
.cv-base { fill: none; stroke: rgba(255, 255, 255, 0.24); stroke-width: 1.4; stroke-dasharray: 4 5; }
.cv-zone-win { fill: rgba(47, 209, 122, 0.16); }
.cv-zone-loss { fill: rgba(255, 93, 115, 0.16); }
.cv-equity { fill: none; stroke: rgb(var(--tone)); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.cv-area { fill: rgba(var(--tone), 0.12); }
.cv-track, .cv-progress { fill: none; stroke-width: 6; stroke-linecap: round; }
.cv-track { stroke: rgba(255, 255, 255, 0.12); }
.cv-progress { stroke: rgb(var(--tone)); }
.cv-knob { fill: #fff; }
.cv-ring { fill: none; stroke: rgba(47, 209, 122, 0.45); stroke-width: 2; }
.cv-pass { fill: rgba(47, 209, 122, 0.14); stroke: rgba(47, 209, 122, 0.55); }
.cv-check, .cv-check-green { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cv-check { stroke: #0b1020; }
.cv-check-green { stroke: #2fd17a; }
.cv-bar { fill: rgba(255, 255, 255, 0.12); }
.cv-bar-strong { fill: rgba(255, 255, 255, 0.26); }
.cv-line-faint { fill: none; stroke: rgba(255, 255, 255, 0.34); stroke-width: 1.4; stroke-dasharray: 3 4; }
.cv-swing { fill: none; stroke: rgb(var(--tone)); stroke-width: 2.4; }
.cv-overlap { fill: rgba(47, 209, 122, 0.08); stroke: rgba(47, 209, 122, 0.3); stroke-dasharray: 4 4; }
.cv-act.night { fill: rgba(255, 255, 255, 0.16); }
.cv-act.asia { fill: #4f8df7; }
.cv-act.london { fill: #f5b53f; }
.cv-act.overlap { fill: #2fd17a; }
.cv-act.newyork { fill: rgba(47, 209, 122, 0.5); }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #9cc0ff;
  border: 1px solid rgba(79, 141, 247, 0.4);
  background: rgba(79, 141, 247, 0.1);
}
.post-tag.guide { color: var(--gold-hi); border-color: rgba(245, 181, 63, 0.4); background: rgba(245, 181, 63, 0.1); }
.post-tag.challenge { color: #7ff0b0; border-color: rgba(47, 209, 122, 0.4); background: rgba(47, 209, 122, 0.1); }
.post-tag.risk { color: #c4b5fd; border-color: rgba(167, 139, 250, 0.4); background: rgba(167, 139, 250, 0.1); }
.post-tag.new { color: var(--gold-ink); border-color: transparent; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.post-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 15px; height: 15px; }
.post-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: 0.6; }

.post-feature, .post-card { overflow: hidden; transition: transform 0.25s ease, border-color 0.25s ease; }
.post-feature:hover, .post-card:hover { transform: translateY(-3px); border-color: rgba(245, 181, 63, 0.35); }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.post-feature .post-cover { height: auto; min-height: 330px; border-bottom: 0; border-right: 1px solid var(--border); }
.post-feature .post-body { padding: 36px 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.post-feature h2 { margin-top: 16px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.6px; text-wrap: balance; }
.post-feature p { margin-top: 12px; color: var(--text-2); font-size: 16px; }
.post-more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-hi); font-weight: 700; font-size: 15px; }
.post-more svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.post-feature:hover .post-more svg { transform: translateX(4px); }

.post-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; }
.blog-list .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card .post-body { padding: 22px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { margin-top: 12px; font-size: 19px; line-height: 1.32; letter-spacing: -0.2px; }
.post-card p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; flex: 1; }
.post-card .post-meta { margin-top: 16px; }

.blog-cta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  background: linear-gradient(135deg, rgba(245, 181, 63, 0.14), rgba(79, 141, 247, 0.08));
  border-color: rgba(245, 181, 63, 0.3);
}
.blog-cta h2 { font-size: 22px; letter-spacing: -0.3px; }
.blog-cta p { margin-top: 6px; color: var(--text-2); max-width: 560px; }
.blog-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

/* Article page */
.article-page { padding: 28px 0 72px; }
.crumbs { display: flex; align-items: center; gap: 8px; max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.crumbs a { flex-shrink: 0; }
.crumbs a:hover { color: var(--text); }
.crumb-here { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.article-head { max-width: 760px; margin: 28px auto 0; }
.article-head h1 { margin-top: 16px; font-size: clamp(30px, 4vw, 46px); line-height: 1.14; letter-spacing: -1px; font-weight: 800; text-wrap: balance; }
.article-lead { margin-top: 14px !important; color: var(--text-2); font-size: 18px; }
.post-cover.hero { max-width: 760px; height: 340px; margin: 32px auto 0; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }

.prose { max-width: 760px; margin: 26px auto 0; padding: 44px 48px 40px; font-size: 16.5px; line-height: 1.75; }
.lang-th .prose { line-height: 1.85; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: 24px; line-height: 1.3; letter-spacing: -0.4px; }
.prose h3 { margin-top: 28px; font-size: 18px; line-height: 1.4; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose a { color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgba(245, 181, 63, 0.4); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); font-weight: 700; }
.prose code { font-size: 14px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); overflow-wrap: anywhere; }
.prose .takeaways { padding: 22px 26px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(245, 181, 63, 0.1), rgba(79, 141, 247, 0.06)); border: 1px solid rgba(245, 181, 63, 0.28); }
.prose .takeaways h2 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold-hi); }
.prose .takeaways ul { margin-top: 10px; }
.prose .takeaways li { color: var(--text); }
.prose .callout { padding: 16px 20px; border-left: 3px solid var(--blue); background: rgba(79, 141, 247, 0.08); border-radius: 0 12px 12px 0; }
.prose .callout p { color: var(--text); }
.prose .table-wrap { border-radius: var(--radius-sm); border: 1px solid var(--border); }
.prose table { font-size: 14.5px; line-height: 1.55; }
.prose th { padding: 11px 14px; text-align: left; color: var(--text); background: var(--surface); font-size: 13px; letter-spacing: 0; text-transform: none; white-space: normal; }
.prose td { padding: 11px 14px; color: var(--text-2); border-top: 1px solid var(--border); vertical-align: top; white-space: normal; }
.prose tbody tr:hover { background: transparent; }
.prose td:first-child { color: var(--text); font-weight: 600; }
.prose ol.step-list { list-style: none; padding: 0; counter-reset: step; }
.prose .step-list > li { counter-increment: step; position: relative; padding-left: 46px; }
.prose .step-list > li + li { margin-top: 14px; }
.prose .step-list > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(245, 181, 63, 0.14);
  border: 1px solid rgba(245, 181, 63, 0.35);
  color: var(--gold-hi);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.prose .article-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.6; color: var(--muted); }

.article-foot { max-width: 960px; margin: 0 auto; }
.related { margin-top: 48px; }
.related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.related-head h2 { font-size: 22px; letter-spacing: -0.3px; }
.related-all { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-hi); font-weight: 600; font-size: 14px; }
.related-all svg { width: 16px; height: 16px; }

@media (max-width: 1080px) {
  .blog-list .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .post-cover { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--border); }
  .blog-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .blog-hero { padding: 44px 0 26px; }
  .post-grid, .blog-list .post-grid { grid-template-columns: 1fr; }
  .post-feature .post-body { padding: 24px 20px 24px; }
  .post-card .post-body { padding: 20px 20px 20px; }
  .post-cover.hero { height: 190px; margin-top: 24px; }
  .prose { padding: 26px 20px 28px; font-size: 16px; }
  .prose h2 { font-size: 21px; margin-top: 32px; }
  .blog-cta { padding: 24px 20px; }
  .blog-cta-actions, .blog-cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .post-feature, .post-card, .post-more svg { transition: none; }
  .post-feature:hover, .post-card:hover { transform: none; }
}
