/* =====================================================================
   Terminal MT5 — landing styles (black · metallic green · electric green · white)
   ===================================================================== */
:root {
  --black: #050706;
  --ink: #0b1310;
  --white: #ffffff;
  --mist: #f2f5f3;
  --mist-2: #e9eeeb;
  --line: #e1e7e4;
  --muted: #5b6a64;
  --forest: #0e3b2e;
  --metal: linear-gradient(135deg, #2a7a60 0%, #0e3b2e 38%, #072018 62%, #1f5c49 100%);
  --electric: #2ee59d;
  --electric-hi: #7cf5c2;
  --green-text: #0a8a58;
  --buy: #26a69a;
  --sell: #ef5350;

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 160ms;
  --dur-fast: 200ms;
  --dur-base: 250ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--white); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(46, 229, 157, .35); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: clamp(1.06rem, 1.45vw, 1.22rem); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .98rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: scale var(--dur-press) var(--ease-out), translate var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.btn:active { scale: .97; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary, .btn-pro { background: var(--electric); color: var(--black); box-shadow: 0 10px 30px -10px rgba(46, 229, 157, .7); }
.btn-primary:hover, .btn-pro:hover { background: var(--electric-hi); color: var(--black); box-shadow: 0 14px 40px -10px rgba(46, 229, 157, .9); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover, .btn-pro:hover { translate: 0 -1px; } }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--forest); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9d3cf; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.on-dark .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .16); }
.on-dark .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }

/* pill badge */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none; background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 0 3px rgba(46, 229, 157, .25); }
.on-dark .pill { background: rgba(255, 255, 255, .06); color: #e6f3ee; border-color: rgba(255, 255, 255, .14); }
a.pill:hover { color: inherit; border-color: var(--electric); }

/* ---------- nav: floating white pill ---------- */
.nav { position: sticky; top: 14px; z-index: 40; margin-bottom: -82px; pointer-events: none; transition: transform 300ms var(--ease-out); }
.nav.nav-hidden { transform: translateY(calc(-100% - 24px)); }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
.nav-bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 10px 0 18px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px;
  box-shadow: 0 10px 40px -12px rgba(5, 7, 6, .35);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .94rem; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: .9rem; white-space: nowrap; }
@media (max-width: 880px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 400px) { .nav-bar { gap: 10px; padding-left: 14px; } .brand { font-size: .98rem; } .nav .btn { padding: 0 16px; } }
.page-plain .nav { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--black); color: #fff; text-align: center; padding: 170px 0 0; isolation: isolate; overflow: hidden; }
.hero::before {
  /* faint chart grid */
  content: ""; position: absolute; z-index: -2; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 15%, #000 15%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 15%, #000 15%, transparent 65%);
}
.hero::after {
  /* electric green horizon fading into white */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 720px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, .9) 84%, #fff 93%),
    radial-gradient(130% 34% at 50% 70%, #5ff5b9 0%, #2ee59d 28%, rgba(46, 229, 157, .7) 48%, rgba(14, 90, 62, .45) 66%, rgba(5, 7, 6, 0) 84%);
}
.hero h1 { color: #fff; max-width: 15ch; margin: 22px auto 0; }
.hero .lead { color: #a8b8b1; margin: 24px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: center; }
.hero-note { margin: 18px auto 0; font-size: .92rem; color: #7f908a; }

/* stage */
.stage { position: relative; margin: clamp(56px, 7vw, 84px) auto 0; max-width: 1140px; text-align: left; padding-bottom: clamp(40px, 6vw, 72px); }
/* floating cards around the demo */
.float { position: absolute; z-index: 3; text-align: left; color: #fff; background: rgba(28, 33, 31, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 14px 16px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); font-size: .82rem; }
.float small { display: block; color: #9fb0a9; font-size: .76rem; margin-bottom: 2px; }
.float b { font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.1; }
.float .chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--electric-hi); font-weight: 600; font-size: .76rem; }
.float .chip i { width: 16px; height: 16px; border-radius: 50%; background: var(--electric); display: inline-block; position: relative; }
.float .chip i::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border-right: 2px solid #050706; border-bottom: 2px solid #050706; transform: rotate(45deg); }
.float-risk { left: -196px; top: 110px; padding: 12px 14px; transform: rotate(-4deg); }
.float-be { right: -150px; top: 300px; width: 230px; transform: translateY(14px) rotate(3deg) scale(.96); opacity: 0; transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.float-be.pop { opacity: 1; transform: rotate(3deg); }
.float-be img { width: 30px; height: 30px; border-radius: 8px; background: #fff; padding: 2px; }
.float-be b { font-size: .86rem; letter-spacing: 0; display: block; }
.float-tag { left: -176px; top: 262px; padding: 8px 14px; border-radius: 999px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.float-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 10px var(--electric); }
@media (max-width: 1519px) { .float { display: none; } }

/* small key/value rows reused in the PRO cards */
.tm-kv { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 3px; }
.tm-kv span:first-child { font-weight: 600; }

/* trust strip: four facts separated by hairlines */
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust li { padding: 2px 24px; color: var(--muted); font-size: .92rem; }
.trust li:first-child { padding-left: 0; }
.trust li + li { border-left: 1px solid var(--line); }
.trust b { display: block; color: var(--ink); font-size: 1.02rem; letter-spacing: -0.01em; margin-bottom: 2px; }
@media (max-width: 760px) {
  .trust ul { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .trust li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .trust li { padding: 2px 14px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- sections ---------- */
section.block { position: relative; padding: clamp(84px, 10vw, 136px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .pill { margin-bottom: 20px; }
.section-head p { margin-top: 18px; }

/* surfaces */
.panel { background: var(--mist); border-radius: 26px; padding: clamp(22px, 3vw, 32px); }
.card { background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.lux { background: var(--mist); border-radius: 26px; }

/* problem: two runs on a 0-30 s time axis */
.race { margin: 0; display: grid; grid-template-columns: 140px minmax(0, 1fr) 220px; column-gap: 24px; row-gap: 20px; align-items: center; }
.race-axis { grid-column: 2; position: relative; height: 26px; border-bottom: 1px solid #cfd8d4; font-size: .78rem; color: var(--muted); }
.race-axis span { position: absolute; bottom: 8px; left: calc(var(--at) / 30 * 100%); transform: translateX(-50%); white-space: nowrap; }
.race-axis span:first-child { transform: none; }
.race-axis span:last-child { transform: translateX(-100%); }
.race-row { display: contents; }
.race-name { grid-column: 1; margin: 0; font-weight: 700; }
.race-track { grid-column: 2; }
.race-result { grid-column: 3; }
.race-track { position: relative; height: 48px; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.race-bar { position: absolute; inset: 0; }
.seg { position: absolute; top: 0; bottom: 0; left: calc(var(--from) / 30 * 100%); width: calc((var(--to) - var(--from)) / 30 * 100% - 4px); border-radius: 10px; display: flex; align-items: center; padding: 0 12px; font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; clip-path: inset(0 0 0 0 round 10px); transition: clip-path 600ms var(--ease-out); transition-delay: calc(var(--from) * 70ms); }
.slow .seg { background: var(--mist); border: 1px solid #d6dedb; color: var(--ink); }
.slow .seg:last-child { background: #fbe9e8; border-color: #f3c6c4; color: #a3302d; }
.fast .seg { background: var(--black); color: var(--electric-hi); box-shadow: 0 8px 24px -8px rgba(46, 229, 157, .7); }
.seg-label { position: absolute; top: 50%; left: calc(var(--from) / 30 * 100% + 10px); transform: translateY(-50%); font-size: .84rem; font-weight: 600; white-space: nowrap; transition: opacity .3s .5s; }
.race.pending .seg-label { opacity: 0; }
.race.pending .seg { clip-path: inset(0 100% 0 0 round 10px); }
.race-result { margin: 0; font-weight: 600; color: var(--green-text); }
.race-result.late { color: #c23b38; }
.race-legend { display: none; }
@media (prefers-reduced-motion: reduce) { .seg { transition: none; } }
@media (max-width: 820px) {
  .race { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .race-axis, .race-name, .race-track, .race-result { grid-column: 1; }
  .race-axis { margin-bottom: 8px; }
  .race-axis span:nth-child(even) { display: none; }
  .race-result { margin-bottom: 18px; }
  .slow .seg, .slow .seg:last-child { color: transparent; }
  .race-legend { grid-column: 1; display: grid; gap: 4px; list-style: none; margin: 4px 0 0; padding: 0; font-size: .88rem; color: var(--muted); }
  .race-legend b { display: inline-block; min-width: 64px; color: var(--ink); font-weight: 600; }
}

/* steps: a real sequence, drawn as a connected timeline */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 26px; right: 0; top: 25px; height: 2px; background: linear-gradient(90deg, var(--forest), var(--electric) 55%, var(--line)); }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 28px;
  background: var(--metal); color: var(--electric-hi); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 8px #fff, inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -10px rgba(14, 59, 46, .8);
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps::before { left: 25px; right: auto; top: 26px; bottom: 26px; width: 2px; height: auto; background: linear-gradient(180deg, var(--forest), var(--electric) 55%, var(--line)); }
  .steps li { padding-left: 80px; min-height: 52px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* free features: a spec sheet */
.spec { background: var(--mist); border-radius: 28px; padding: clamp(28px, 4.5vw, 60px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.spec-head .lead { margin-top: 18px; }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding: 18px 0; border-top: 1px solid #d3dcd8; }
.spec-list > div:last-child { border-bottom: 1px solid #d3dcd8; }
.spec-list dt { font-weight: 700; }
.spec-list dd { margin: 0; color: var(--muted); }
@media (max-width: 880px) { .spec { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .spec-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* PRO: one dark block, tabs on the left, the matching UI on the right */
.pro-block { position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 72px); }
.pro-block::before { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -55%; width: 80%; height: 110%; background: radial-gradient(closest-side, rgba(46, 229, 157, .4), rgba(14, 59, 46, .3) 55%, transparent 80%); }
.pro-intro { grid-column: 1 / -1; max-width: 760px; }
.pro-intro h2 { color: #fff; }
.pro-intro .lead { color: #a8b8b1; margin-top: 18px; }
.pro-tabs { display: grid; gap: 8px; align-content: start; }
.pro-tabs button { text-align: left; font: inherit; color: #a8b8b1; background: transparent; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 18px 20px; cursor: pointer; display: grid; gap: 6px; transition: background-color .2s, border-color .2s; }
.pro-tabs button b { color: #fff; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.pro-tabs button b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background-color .2s, box-shadow .2s; }
.pro-tabs button span { font-size: .95rem; line-height: 1.5; }
.pro-tabs button:hover { background: rgba(255, 255, 255, .04); }
.pro-tabs button[aria-selected="true"] { background: rgba(46, 229, 157, .08); border-color: rgba(46, 229, 157, .4); }
.pro-tabs button[aria-selected="true"] b::before { background: var(--electric); box-shadow: 0 0 0 4px rgba(46, 229, 157, .2); }
.pro-stage { display: grid; align-items: center; border-radius: 24px; padding: clamp(20px, 3vw, 40px); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .08); }
.pro-pane { animation: paneIn var(--dur-fast) var(--ease-out) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pro-pane { animation: none; } }
.pro-demo { background: #fff; color: #0d2b25; border-radius: 16px; padding: 20px; font-size: 14px; min-height: 230px; max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.pro-demo .tm-kv { font-size: 13.5px; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed #dce7e2; padding-bottom: 8px; }
.calc-line b { font-size: 15px; }
.calc-result { display: flex; justify-content: space-between; align-items: baseline; }
.calc-result b { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--green-text); }
.rule { border: 1px solid #dce7e2; border-radius: 8px; padding: 12px; display: grid; gap: 8px; background: #fff; }
.rule-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.switch { width: 34px; height: 20px; border-radius: 20px; background: var(--buy); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.notif { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; background: var(--mist); border-radius: 8px; padding: 10px; font-size: 12.5px; }
.notif img { width: 30px; height: 30px; }
.notif b { display: block; }
.pro-foot { grid-column: 1 / -1; padding: 16px 16px 16px 28px; border-radius: 999px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.pro-foot p { margin: 0; color: #d7e2de; }
@media (max-width: 900px) { .pro-block { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pro-foot { border-radius: 22px; padding: 20px; } }

/* privacy diagram */
.wire { display: grid; grid-template-columns: 1fr minmax(80px, 1.2fr) 1fr; align-items: center; }
.node { padding: 22px 18px; text-align: center; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.node img, .node svg { width: 40px; height: 40px; margin: 0 auto 12px; display: block; }
.node svg { color: var(--forest); }
.node b { display: block; }
.node small { color: var(--muted); }
.link { position: relative; height: 2px; background: linear-gradient(90deg, var(--forest), var(--electric), var(--forest)); }
.link span { position: absolute; left: 50%; top: -32px; transform: translateX(-50%); white-space: nowrap; font-size: .82rem; font-weight: 700; color: var(--green-text); }
.link::before, .link::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 0 4px rgba(46, 229, 157, .2); }
.link::before { left: -4px; } .link::after { right: -4px; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.facts svg { width: 22px; height: 22px; color: var(--green-text); margin-top: 3px; }
.facts b { display: block; }
.facts span { color: var(--muted); }
@media (max-width: 520px) {
  .wire { grid-template-columns: 1fr; }
  .link { width: 2px; height: 60px; margin: 0 auto; background: linear-gradient(180deg, var(--forest), var(--electric), var(--forest)); }
  .link span { top: 50%; left: 18px; transform: translateY(-50%); }
  .link::before { left: -4px; top: -4px; } .link::after { left: -4px; right: auto; top: auto; bottom: -4px; }
}

/* prop firms */
.callout { align-self: end; border-left: 3px solid var(--electric); background: var(--mist); padding: 18px 22px; border-radius: 0 16px 16px 0; }
.callout p { margin: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 16px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.plan { position: relative; padding: clamp(30px, 4vw, 46px); display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; }
.plan-free { background: var(--mist); }
.plan-pro { background: var(--black); color: #fff; isolation: isolate; }
.plan-pro h3 { color: #fff; }
.plan-inner { position: absolute; inset: 0; z-index: -1; border-radius: 28px; border: 1px solid transparent;
  background: radial-gradient(90% 60% at 80% 115%, rgba(46, 229, 157, .55), rgba(14, 59, 46, .35) 45%, transparent 70%) padding-box, linear-gradient(180deg, #050706, #050706) padding-box,
              linear-gradient(150deg, #3d9a7a, #0e3b2e 40%, #072018 60%, #2ee59d) border-box; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 1.3rem; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; }
.price b { font-size: clamp(3.4rem, 6.5vw, 4.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.plan-pro .price b { color: #fff; }
.price span { color: var(--muted); }
.plan-pro .price span, .plan-pro .muted { color: #a8b8b1; }
.plan .muted { margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 12px; flex: 1; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.plan li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--green-text); }
.plan-pro li svg { color: var(--electric); }
.plan .btn { width: 100%; }
.plan-free .btn { background: #fff; border-color: #c9d3cf; color: var(--ink); }
.plan-free .btn:hover { border-color: var(--ink); }
.plan-note { margin: 14px 0 0; font-size: .86rem; color: #a8b8b1; text-align: center; max-width: none; }
.early { display: block; margin-top: 16px; padding: 10px 14px; border-radius: 14px; background: rgba(46, 229, 157, .1); border: 1px solid rgba(46, 229, 157, .3); color: var(--electric-hi); font-size: .88rem; font-weight: 600; }
.plan-pro .pill { background: rgba(46, 229, 157, .12); color: var(--electric-hi); border-color: rgba(46, 229, 157, .3); }
.guarantee { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 32px; color: var(--muted); font-size: .93rem; }
.guarantee span { display: inline-flex; align-items: center; gap: 8px; }
.guarantee svg { width: 18px; height: 18px; color: var(--green-text); }
@media (max-width: 780px) { .plans { grid-template-columns: 1fr; } }

/* faq: plain rows divided by hairlines */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-52%); width: 30px; height: 30px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-size: 1.2rem; font-weight: 500; color: var(--ink); transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease; }
.faq summary:hover::after { background: var(--mist-2); }
.faq details[open] summary::after { transform: translateY(-52%) rotate(45deg); background: var(--electric); }
.faq details p { color: var(--muted); margin: -6px 0 24px; }

/* final cta: black block with green horizon */
.final { padding-top: 0; }
.final-box { position: relative; overflow: hidden; isolation: isolate; text-align: center; background: var(--black); color: #fff; border-radius: 32px; padding: clamp(64px, 9vw, 112px) var(--gutter); }
.final-box::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -320px; width: 1100px; height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, #2ee59d, rgba(46, 229, 157, .4) 40%, rgba(14, 59, 46, .3) 65%, transparent 80%); }
.final-box::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); }
.final h2 { color: #fff; max-width: 17ch; margin: 0 auto; font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.final p { color: #a8b8b1; margin: 22px auto 34px; }
.final .hero-actions { margin-top: 0; }

/* footer */
.footer { color: var(--muted); padding: 24px 0 44px; font-size: .9rem; }
.foot-top { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--green-text); }
.foot-legal { padding-top: 24px; display: grid; gap: 12px; }
.foot-legal p { max-width: 115ch; margin: 0; }
.foot-legal b { color: var(--ink); }

/* ---------- legal / doc pages ---------- */
.doc-hero { background: var(--black); color: #fff; padding: 150px 0 72px; position: relative; overflow: hidden; isolation: isolate; }
.doc-hero::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -260px; width: 1000px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(46, 229, 157, .55), rgba(14, 59, 46, .3) 55%, transparent 80%); }
.doc-hero .wrap, .doc .wrap { max-width: 820px; }
.doc-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.doc-hero p { color: #a8b8b1; margin: 14px 0 0; }
.doc { padding: clamp(48px, 6vw, 72px) 0 clamp(72px, 9vw, 110px); }
.doc h2 { font-size: 1.4rem; margin: 48px 0 14px; letter-spacing: -0.02em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 28px 0 8px; font-size: 1.08rem; }
.doc p, .doc li { color: #33423c; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 8px; max-width: 64ch; }
.doc li::marker { color: var(--green-text); font-weight: 700; }
.doc code { background: var(--mist); border: 1px solid var(--line); color: var(--forest); padding: 1px 7px; border-radius: 6px; font-size: .9em; }
.video-slot { aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; margin: 0 0 28px; }
.download { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; padding: 24px 28px; margin: 0 0 36px; }
.download p { margin: 0; flex: 1 1 260px; }

/* =====================================================================
   Experiment: ui-ux-pro-max
   Chapters with a light / dark rhythm, proof in numbers, precise type.
   ===================================================================== */
:root {
  --display: "Space Grotesk", system-ui, sans-serif;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
h1, h2, h3, .brand { font-family: var(--display); }
h1, h2 { letter-spacing: -0.035em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.04em; }
section.block { padding: clamp(96px, 11vw, 150px) 0; }

/* keyboard: skip link */
.skip-link { position: absolute; z-index: 100; left: 16px; top: 16px; transform: translateY(-80px); padding: 10px 16px; border-radius: 10px; background: var(--black); color: #fff; font-weight: 600; text-decoration: none; transition: transform var(--dur-fast) var(--ease-out); }
.skip-link:focus { transform: none; color: #fff; }

/* reading progress: where you are in the story */
.read-progress { position: fixed; z-index: 60; inset: 0 0 auto; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--forest), var(--electric)); transform-origin: 0 50%; transform: scaleX(0); }

/* proof: the product in numbers */
.proof { padding: clamp(32px, 4vw, 56px) 0 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid > div { padding: 22px 24px; }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div + div { border-left: 1px solid var(--line); }
.proof-grid dt { font-family: var(--font); font-variant-numeric: tabular-nums; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.proof-grid dd { margin: 6px 0 0; color: var(--muted); font-size: .92rem; max-width: 26ch; }
@media (max-width: 820px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { padding: 24px 16px; }
  .proof-grid > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* a small call to action closes a chapter */
.chapter-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(44px, 5vw, 64px); }
.chapter-cta span { color: var(--muted); font-size: .95rem; }

/* figures set in mono */
.race-axis, .race-legend b, .calc-line b { font-family: var(--mono); }
.price b, .calc-result b { font-family: var(--font); font-variant-numeric: tabular-nums; }

/* dark band: PRO + privacy, full width, with grain and the hero's horizon */
.dark-band { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: #fff; }
.dark-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: var(--grain); opacity: .06; pointer-events: none; }
.dark-band::after { content: ""; position: absolute; z-index: -2; left: 50%; top: -360px; width: 1200px; height: 720px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(46, 229, 157, .28), rgba(14, 59, 46, .25) 50%, transparent 78%); pointer-events: none; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .lead { color: #a8b8b1; }
.dark-band #privacy { padding-top: 0; }
.dark-band #privacy > .wrap { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: clamp(80px, 9vw, 120px); }
.dark-band .pro-block { background: transparent; padding: 0; border-radius: 0; overflow: visible; }
.dark-band .pro-block::before { display: none; }
.dark-band .panel { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.dark-band .node { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #fff; }
.dark-band .node small { color: #a8b8b1; }
.dark-band .node img { background: #fff; border-radius: 10px; padding: 4px; }
.dark-band .node svg { color: var(--electric-hi); }
.dark-band .link span { color: var(--electric-hi); }
.dark-band .facts b { color: #fff; }
.dark-band .facts span { color: #a8b8b1; }
.dark-band .facts svg { color: var(--electric); }

/* final call to action: full width, mirroring the hero */
.final { padding: 0; }
.final-box { border-radius: 0; padding: clamp(110px, 13vw, 180px) 0; }
.final-box > .wrap { position: relative; }
.footer { padding-top: 48px; }

/* scrollbar: a thin brand-green line instead of the default grey bar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #2ee59d, #0e3b2e) padding-box; border: 2px solid transparent; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2ee59d padding-box; }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: #2ee59d transparent; }
}
/* =====================================================================
   Experiment: premium green
   The whole page goes green-black. Real product UI (nav, demo, PRO
   widgets) stays white so it reads as product on a dark stage.
   ===================================================================== */
:root {
  --white: #040906;
  --ink: #eaf4ef;
  --muted: #93a69e;
  --mist: rgba(255, 255, 255, .035);
  --mist-2: rgba(255, 255, 255, .07);
  --line: rgba(110, 231, 183, .13);
  --green-text: #5df0b4;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  --glass-stroke: rgba(46, 229, 157, .18);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, .07);
  --beams: repeating-linear-gradient(90deg, transparent 0 46px, rgba(46, 229, 157, .09) 46px 50px, transparent 50px 104px, rgba(46, 229, 157, .05) 104px 112px, transparent 112px 170px);
}
::selection { background: rgba(46, 229, 157, .35); color: #fff; }

/* headings in a metallic white-to-mint finish */
h2 { background: linear-gradient(180deg, #ffffff 40%, #d9f6e9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav stays a white pill: keep its own dark text */
.nav-bar .brand { color: #0b1310; }
.nav-links a { color: #5b6a64; }
.nav-links a:hover { color: #0b1310; }

/* hero: the green horizon now fades into the dark page instead of white */
.hero::after {
  background:
    linear-gradient(180deg, rgba(4, 9, 6, 0) 64%, rgba(4, 9, 6, .85) 85%, #040906 96%),
    radial-gradient(130% 34% at 50% 70%, #5ff5b9 0%, #2ee59d 28%, rgba(46, 229, 157, .7) 48%, rgba(14, 90, 62, .45) 66%, rgba(5, 7, 6, 0) 84%);
}

/* buttons on dark */
.btn-dark { background: #fff; color: #050706; }
.btn-dark:hover { background: #dcf9ec; color: #050706; }
.nav .btn-dark { background: var(--black); color: #fff; }
.nav .btn-dark:hover { background: var(--forest); color: #fff; }
.btn-ghost { color: var(--ink); border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.skip-link { background: var(--electric); color: #04120b; }
.skip-link:focus { color: #04120b; }

/* glass surfaces */
.spec, .plan-free, .panel, .dark-band .panel, .download.lux {
  background: var(--glass); border: 1px solid var(--glass-stroke); box-shadow: var(--glass-shine);
}
.node, .dark-band .node { background: rgba(255, 255, 255, .04); border: 1px solid var(--glass-stroke); color: var(--ink); box-shadow: var(--glass-shine); }
.node small { color: var(--muted); }
.node img { background: #fff; border-radius: 10px; padding: 4px; }
.node svg { color: var(--electric-hi); }
.callout { background: rgba(46, 229, 157, .06); }
.spec-list > div { border-top-color: var(--line); }
.spec-list > div:last-child { border-bottom-color: var(--line); }

/* green dot matrix that fades out */
.dots { isolation: isolate; }
.dots::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(rgba(46, 229, 157, .28) 1px, transparent 1.6px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(60% 55% at 85% 30%, #000, transparent 75%);
  mask-image: radial-gradient(60% 55% at 85% 30%, #000, transparent 75%);
  pointer-events: none;
}
#pricing.dots::before { -webkit-mask-image: radial-gradient(55% 60% at 50% 55%, #000, transparent 75%); mask-image: radial-gradient(55% 60% at 50% 55%, #000, transparent 75%); }

/* time race on dark */
.race-axis { border-bottom-color: rgba(255, 255, 255, .12); }
.slow .seg { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: var(--ink); }
.slow .seg:last-child { background: rgba(239, 83, 80, .12); border-color: rgba(239, 83, 80, .38); color: #ff8f8c; }
.fast .seg { background: linear-gradient(90deg, #1f8a63, var(--electric)); color: #04120b; box-shadow: 0 0 28px -4px rgba(46, 229, 157, .7); }
.race-result.late { color: #ff8f8c; }

/* steps: ring around each node matches the page */
.steps li::before { box-shadow: 0 0 0 8px var(--white), 0 0 24px -2px rgba(46, 229, 157, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }

/* dark band: a touch greener, with light beams falling from the top */
.dark-band { background: #06120c; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark-band::before { background-image: var(--beams); opacity: 1; filter: blur(1.5px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 45%); mask-image: linear-gradient(180deg, #000, transparent 45%); }
.pro-tabs button { background: var(--glass); border-color: rgba(255, 255, 255, .07); box-shadow: var(--glass-shine); }
.pro-stage { border-color: var(--glass-stroke); box-shadow: var(--glass-shine), 0 0 80px -30px rgba(46, 229, 157, .5); }

/* privacy: a data pulse travelling along the local link */
.link { overflow: visible; }
.link span { color: var(--electric-hi); }
.link { container-type: inline-size; }
.link i { position: absolute; left: 8px; top: -2px; width: 30px; height: 6px; border-radius: 6px; background: radial-gradient(closest-side, #fff, var(--electric) 55%, rgba(46, 229, 157, 0)); box-shadow: 0 0 6px 1px rgba(46, 229, 157, .5); animation: pulse-x 1.8s var(--ease-in-out) infinite alternate; }
/* travels dot to dot and back: from the Terminal MT5 dot to the MetaTrader 5 dot, never past either */
@keyframes pulse-x { from { transform: translateX(0); } to { transform: translateX(calc(100cqw - 46px)); } }
@media (max-width: 520px) { .link i { display: none; } }
@media (prefers-reduced-motion: reduce) { .link i { animation: none; display: none; } }

/* pricing */
.plan-free .btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: var(--ink); }
.plan-free .btn:hover { border-color: rgba(255, 255, 255, .45); }
.plan-pro { box-shadow: 0 0 90px -25px rgba(46, 229, 157, .55); }

/* faq */
.faq summary::after { background: rgba(255, 255, 255, .06); color: var(--ink); }
.faq summary:hover::after { background: rgba(255, 255, 255, .12); }
.faq details[open] summary::after { color: #04120b; }

/* final CTA: circuit traces with glowing nodes */
.final-box { background: #040906; }
.circuit { position: absolute; z-index: -1; bottom: 0; width: min(40vw, 520px); height: 260px; color: rgba(46, 229, 157, .5); pointer-events: none; }
.circuit.l { left: 0; }
.circuit.r { right: 0; transform: scaleX(-1); }
.circuit circle { fill: var(--electric); filter: drop-shadow(0 0 6px var(--electric)); }
@media (max-width: 760px) { .circuit { display: none; } }

/* footer + legal pages on dark */
.footer .brand { color: var(--ink); }
.footer .brand img { background: #fff; border-radius: 9px; padding: 2px; }
.doc p, .doc li { color: #c6d4ce; }
.doc code { color: var(--electric-hi); }

/* white product widgets keep their own dark-green figures */
.pro-demo .calc-result b { color: #0a8a58; }

/* ---------- hero: light beams, spotlight and circuit traces ---------- */
.hero-beams { position: absolute; z-index: -1; inset: 0 0 auto; height: 820px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(46, 229, 157, .16) 38px 44px, transparent 44px 96px, rgba(46, 229, 157, .10) 96px 108px, transparent 108px 150px, rgba(120, 255, 200, .13) 150px 153px, transparent 153px 210px);
  filter: blur(3px);
  -webkit-mask-image: radial-gradient(75% 100% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(75% 100% at 50% 0%, #000 20%, transparent 75%); }
.hero-spot { position: absolute; z-index: -1; left: 50%; top: -260px; width: 1100px; height: 720px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(46, 229, 157, .26), rgba(14, 90, 62, .18) 45%, transparent 75%); }
.hero-circuit { position: absolute; z-index: -1; top: 230px; width: min(31vw, 470px); height: auto; pointer-events: none; overflow: visible; }
.hero-circuit.l { left: 0; }
.hero-circuit.r { right: 0; transform: scaleX(-1); }
.hero-circuit .traces path { fill: none; stroke: rgba(46, 229, 157, .55); stroke-width: 1.3; }
.hero-circuit .flows path { fill: none; stroke: #8dffd0; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 16 700; stroke-dashoffset: 716; animation: flow 6s linear infinite; }
.hero-circuit .flows.glow path { stroke: #2ee59d; stroke-width: 7; stroke-opacity: .28; }
.hero-circuit .flows path:nth-child(2), .hero-circuit .flows.glow path:nth-child(2) { animation-delay: -2s; animation-duration: 7s; }
.hero-circuit .flows path:nth-child(3) { animation-delay: -4s; animation-duration: 8s; }
.hero-circuit.r .flows path { animation-delay: -3s; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.hero-circuit .nodes circle { fill: #2ee59d; filter: drop-shadow(0 0 6px #2ee59d); }
.hero-circuit .badge circle { fill: rgba(10, 30, 21, .92); stroke: rgba(46, 229, 157, .45); stroke-width: 1; filter: drop-shadow(0 0 14px rgba(46, 229, 157, .35)); }
.hero-circuit .badge use { color: #7cf5c2; }
@media (max-width: 1100px) { .hero-circuit { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-circuit .flows { display: none; } }

/* ---------- connection lines between chapters ---------- */
.circuit-rule svg { display: block; width: 100%; height: auto; overflow: visible; }
.circuit-rule circle { fill: #2ee59d; filter: drop-shadow(0 0 6px #2ee59d); }
.circuit-rule circle:first-of-type { filter: drop-shadow(0 0 10px #2ee59d) drop-shadow(0 0 20px rgba(46, 229, 157, .6)); }
#how, #pricing, #faq { padding-top: clamp(64px, 7vw, 96px); }

/* ---------- ambient green light so black never feels flat ---------- */
.ambient-l, .ambient-r { isolation: isolate; }
.ambient-l::after, .ambient-r::after { content: ""; position: absolute; z-index: -1; top: 8%; width: 760px; height: 760px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(46, 229, 157, .16), rgba(14, 90, 62, .08) 50%, transparent 72%); }
.ambient-l::after { left: -380px; }
.ambient-r::after { right: -380px; }

/* circuit traces reused on the edges of quieter sections */
#funded, #faq { isolation: isolate; overflow: clip; }
.circuit.edge { top: 50%; bottom: auto; transform: translateY(-50%); width: min(30vw, 420px); color: rgba(46, 229, 157, .4); }
.circuit.edge.r { transform: translateY(-50%) scaleX(-1); }
.circuit.edge.low { top: auto; bottom: 40px; transform: none; opacity: .8; }
.circuit.edge { width: min(22vw, 380px); }
@media (max-width: 1279px) { .circuit.edge:not(.low) { display: none; } }
/* glows and traces may bleed past the edge, never the page width */
main, .ambient-l, .ambient-r { overflow-x: clip; }

/* =====================================================================
   Motion pass (Emil Kowalski skills): press feedback, FAQ accordion,
   one-time hero entrance. All curves come from the tokens in :root.
   ===================================================================== */

/* press feedback on the other pressables */
.pro-tabs button, .demo-toggle { transition: scale var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.pro-tabs button:active { scale: .98; }
.demo-toggle:active { scale: .97; }

/* FAQ: answers open and close instead of snapping (progressive: instant where unsupported) */
:root { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0; overflow: hidden; opacity: 0;
  transition: block-size var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out), content-visibility var(--dur-base) allow-discrete;
}
.faq details[open]::details-content { block-size: auto; opacity: 1; }

/* hero: one orchestrated entrance per page view, never blocking interaction */
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero .wrap > .pill, .hero h1, .hero .lead, .hero .hero-actions, .hero-note, .stage { animation: heroIn 600ms var(--ease-out) both; }
.hero h1 { animation-delay: 60ms; }
.hero .lead { animation-delay: 120ms; }
.hero .hero-actions { animation-delay: 180ms; }
.hero-note { animation-delay: 240ms; }
.stage { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  @keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
  .hero .wrap > .pill, .hero h1, .hero .lead, .hero .hero-actions, .hero-note, .stage { animation: heroFade 300ms ease both; animation-delay: 0ms; }
  .faq details::details-content { transition: opacity var(--dur-base) ease, content-visibility var(--dur-base) allow-discrete; }
  .btn, .pro-tabs button, .demo-toggle { transition-property: background-color, border-color, color, box-shadow; }
}

/* =====================================================================
   Taste pass (design-taste-frontend): one type scale, no monospace,
   solid headings, two-line headings, readable measure.
   The approved v4 look (beams, glass, circuits, glows) is kept on purpose.
   ===================================================================== */
:root {
  --fs-small: .875rem;    /* 14 */
  --fs-body: 1.0625rem;   /* 17 */
  --fs-lead: 1.25rem;     /* 20 */
  --fs-h2: clamp(2.2rem, 4.2vw, 3.6rem);
}
/* figures: the text face with tabular numbers, not a monospace */
.race-axis, .race-legend b, .calc-line b { font-family: var(--font); font-variant-numeric: tabular-nums; }

/* headings: one solid colour */
h2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.final h2 { font-size: var(--fs-h2); }
h2 { font-size: var(--fs-h2); }

/* single-column heads get the measure they need to stay on two lines */
.section-head { max-width: 1040px; }
.section-head p { max-width: 60ch; }

/* six sizes do the visible work: 80 / h2 / 28 / 20 / 17 / 14 */
h3, .plan h3, .pro-tabs button b, .lead { font-size: var(--fs-lead); }
.btn, .faq summary, .spec-list dt, .spec-list dd, .facts li, .callout p, .race-name, .race-result, .steps p, .plan li { font-size: var(--fs-body); }
.pill, .hero-note, .proof-grid dd, .seg, .seg-label, .race-axis, .race-legend, .guarantee, .plan-note, .early,
.pro-tabs button span, .node small, .link span, .footer, .foot-legal p, .chapter-cta span, .float small, .float-be b { font-size: var(--fs-small); }
.price span { font-size: var(--fs-small); }
@media (max-width: 760px) { .lead { font-size: 1.125rem; } }

/* readable measure for long legal text */
.foot-legal p { max-width: 75ch; }

/* FAQ: the heading column stays in view while the answers are read */
@media (min-width: 881px) { #faq .split > div:first-child { position: sticky; top: 120px; } }
.faq-help { margin-top: 20px; }
.foot-legal p { max-width: 65ch; }
.final h2 { max-width: 22ch; }

/* =====================================================================
   Redesign pass (redesign-existing-projects)
   ===================================================================== */
/* two-column sections: the heading spans both columns so it stays on two lines;
   the lead and the content then sit side by side under it */
#features .spec-head, #privacy .split > div:first-child, #funded .split > div:first-child { display: contents; }
#features .spec h2, #privacy h2, #funded h2 { grid-column: 1 / -1; max-width: 24ch; }
#features .spec-head .lead, #privacy .lead, #funded .lead { margin-top: 0; }
.split .lead, .spec .lead { align-self: start; }
.flush-top { padding-top: 0; }

/* no orphans in running text */
p, dd, li { text-wrap: pretty; }

/* pricing: both feature lists start at the same height */
.early-free { color: var(--muted); background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.plan-pro .pill { border-radius: 6px; }

/* a quieter secondary action */
.text-link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 8px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(46, 229, 157, .6); text-underline-offset: 6px; transition: text-decoration-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.text-link:hover { color: var(--electric-hi); text-decoration-color: var(--electric); }

/* 404 */
.not-found { padding-top: clamp(160px, 18vw, 220px); min-height: 70dvh; }
.not-found h1 { color: #fff; font-size: var(--fs-h2); max-width: 18ch; margin: 0 auto; }
.not-found .lead { color: #a8b8b1; margin: 22px auto 34px; }
.plan > h3, .plan-head { min-height: 34px; display: flex; align-items: center; }
.plan-note { margin: 0 0 14px; }

/* =====================================================================
   High-end pass (high-end-visual-design): double bezel, button-in-button,
   film grain, quiet scroll entrances. Hero left as approved.
   ===================================================================== */
/* film grain, fixed behind the content (no repaint while scrolling) */
body { background: transparent; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); background-size: 180px 180px; opacity: .035; }

/* double bezel: a machined outer tray around the main glass panels */
.spec, .plan-free, .dark-band .panel {
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .022), 0 0 0 8px rgba(110, 231, 183, .10), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.pro-stage { box-shadow: 0 0 0 7px rgba(255, 255, 255, .022), 0 0 0 8px rgba(110, 231, 183, .10), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 80px -30px rgba(46, 229, 157, .5); }
.plan-pro { box-shadow: 0 0 0 7px rgba(46, 229, 157, .05), 0 0 0 8px rgba(46, 229, 157, .22), 0 0 90px -25px rgba(46, 229, 157, .55); }
.plans { gap: 32px; }

/* button-in-button: the arrow lives in its own island */
.btn-island { gap: 14px; padding-right: 8px; }
.btn-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(5, 7, 6, .12); transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease; }
.btn-ico svg { width: 16px; height: 16px; }
.btn-dark .btn-ico { background: rgba(5, 7, 6, .08); }
@media (hover: hover) and (pointer: fine) {
  .btn-island:hover .btn-ico { transform: translate(2px, -1px) scale(1.05); background: rgba(5, 7, 6, .18); }
}

/* hero floating cards scroll with the page: no backdrop blur on them */
.float { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(18, 26, 22, .94); }

/* scroll entrances: content is visible without JS; the script opts in */
.js-rv .rv { opacity: 0; transform: translateY(20px); }
.js-rv .rv.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--rv-delay, 0ms); }
@media (prefers-reduced-motion: reduce) { .js-rv .rv { opacity: 1; transform: none; } }
@media (max-width: 520px) { :root { --fs-h2: 1.85rem; } }

/* ---------- v7 corrections: header, hero, demo strip ---------- */
/* the numbers sit right under the demo, as its caption */
.demo-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 14px 0 0; background: rgba(6, 14, 10, .9); border: 1px solid rgba(110, 231, 183, .16); border-radius: 18px; }
.demo-proof > div { padding: 20px 22px; }
.demo-proof > div + div { border-left: 1px solid rgba(110, 231, 183, .13); }
.demo-proof dt { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--electric); font-variant-numeric: tabular-nums; }
.demo-proof dd { margin: 8px 0 0; color: #a8b8b1; font-size: .9rem; line-height: 1.4; }
@media (max-width: 760px) {
  .demo-proof { grid-template-columns: 1fr 1fr; }
  .demo-proof > div:nth-child(3) { border-left: 0; }
  .demo-proof > div:nth-child(n+3) { border-top: 1px solid rgba(110, 231, 183, .13); }
}

/* ---------- header: integrated with the page, brand at the far left ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; margin: 0; pointer-events: auto; }
.nav.nav-hidden { transform: none; }
.nav-bar { display: flex; align-items: center; gap: 32px; height: 84px; padding: 0 clamp(20px, 3vw, 44px); background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-bar .brand { position: relative; isolation: isolate; gap: 12px; color: #fff; font-size: 1.1rem; }
.nav-bar .brand::before { content: ""; position: absolute; z-index: -1; left: -58px; top: 50%; width: 210px; height: 140px; transform: translateY(-50%); pointer-events: none;
  background: radial-gradient(closest-side at 32% 50%, rgba(190, 255, 225, .42), rgba(46, 229, 157, .20) 45%, rgba(46, 229, 157, 0) 100%); }
.nav-bar .brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 6px rgba(200, 255, 230, .75)) drop-shadow(0 0 18px rgba(46, 229, 157, .45)); }
.nav-links { margin: 0 auto; gap: 34px; }
.nav-links a { color: #b9c9c2; }
.nav-links a:hover { color: #fff; }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: #dcf9ec; color: var(--black); }
.nav .btn-light { min-height: 42px; padding: 0 18px; font-size: .9rem; }
@media (max-width: 880px) { .nav-bar { gap: 16px; } .nav .btn-light { margin-left: auto; } }
@media (max-width: 400px) { .nav-bar .brand { font-size: 1rem; } .nav-bar .brand img { width: 34px; height: 34px; } .nav .btn-light { padding: 0 14px; } }

/* ---------- hero: copy on the left, the local connection on the right ---------- */
.hero { padding-top: 0; text-align: left; }
.hero::before { display: none; }
.hero-dots { position: absolute; z-index: -1; inset: 0 0 auto; height: 100svh; min-height: 640px; pointer-events: none;
  background-image: radial-gradient(rgba(46, 229, 157, .55) 1.1px, transparent 1.7px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(70% 60% at 22% 100%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 22% 100%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 75%); }
.hero-top { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: 110px 0 64px; }
.hero h1 { font-size: clamp(2.4rem, 4.1vw, 3.9rem); max-width: none; margin: 0; }
.hero .lead { margin: 24px 0 0; max-width: 46ch; }
.hero .hero-actions { justify-content: flex-start; align-items: center; gap: 14px 28px; margin-top: 40px; }
.hero-note { margin: 22px 0 0; }
.hero-link { display: inline-flex; align-items: center; gap: 6px; color: var(--electric); font-weight: 600; text-decoration: none; }
.hero-link svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.hero-link:hover { color: var(--electric-hi); }
.hero-link:hover svg { transform: translateX(3px); }

/* the diagram: everything happens inside the PC. MT5 talks to Chrome over 127.0.0.1,
   and inside Chrome, Terminal MT5 talks to TradingView. Coordinates follow a 560 x 470 board. */
.hero-visual { position: relative; width: 100%; max-width: 640px; justify-self: end; aspect-ratio: 560 / 470; container-type: inline-size; }
.hv-pc { position: absolute; left: 1.43%; top: 1.7%; width: 97.14%; height: 96.6%; border-radius: 5cqw;
  background: radial-gradient(120% 90% at 30% 0%, rgba(46, 229, 157, .10), transparent 60%), linear-gradient(180deg, rgba(14, 38, 27, .72), rgba(5, 13, 9, .82));
  border: 1px solid rgba(46, 229, 157, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 70px -20px rgba(46, 229, 157, .35); }
.hv-pc-head { position: absolute; left: 4.4%; top: 4.6%; display: flex; align-items: center; gap: 1.6cqw; color: #e6f3ee; font-weight: 600; font-size: max(12px, 2.9cqw); letter-spacing: -0.01em; }
.hv-pc-head svg { width: max(16px, 3.8cqw); color: var(--electric); filter: drop-shadow(0 0 6px rgba(46, 229, 157, .6)); }
.hv-local { position: absolute; right: 4.4%; top: 4%; display: flex; align-items: center; gap: 1.1cqw; padding: .9cqw 2cqw; border-radius: 999px; font-size: max(10px, 2.2cqw); font-weight: 600; color: #a8e9cc; background: rgba(46, 229, 157, .08); border: 1px solid rgba(46, 229, 157, .3); }
.hv-local svg { width: max(11px, 2.4cqw); }
.hv-chrome { position: absolute; left: 46.79%; top: 16.6%; width: 48.21%; height: 77.45%; border-radius: 4cqw;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); overflow: hidden; }
.hv-chrome-head { display: flex; align-items: center; gap: 1.4cqw; height: 15%; padding: 0 3.6cqw; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); font-size: max(10px, 2.3cqw); font-weight: 600; color: #cfe0d8; }
.hv-chrome-head img { width: max(14px, 3.4cqw); height: auto; }
.hv-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hv-trace path { fill: none; stroke: rgba(46, 229, 157, .5); stroke-width: 1.4; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.hv-flow path { fill: none; stroke: #8dffd0; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 16 600; stroke-dashoffset: 616; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px #2ee59d); animation: hvFlow 2.4s var(--ease-in-out) infinite; }
.hv-flow path.rev { animation-delay: -1.2s; }
.hv-flow path:nth-child(3), .hv-flow path:nth-child(4) { stroke-dasharray: 10 600; stroke-dashoffset: 610; animation-duration: 1.6s; }
.hv-flow path:nth-child(4) { animation-delay: -.8s; }
@keyframes hvFlow { to { stroke-dashoffset: 0; } }
.hv-tile, .hv-badge, .hv-nocloud { position: absolute; transform: translate(-50%, -50%); }
.hv-tile { width: 17%; aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 1.6cqw; border-radius: 4.2cqw;
  background: linear-gradient(160deg, #123726 0%, #08170f 72%); border: 1px solid rgba(46, 229, 157, .4);
  box-shadow: inset 0 0 28px rgba(46, 229, 157, .14), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 44px -8px rgba(46, 229, 157, .4); }
.hv-tile img { width: 46%; height: auto; }
.hv-tile small { font-size: max(10px, 2.15cqw); font-weight: 600; color: #cfe9de; white-space: nowrap; }
.hv-mt5 { left: 15.7%; top: 75.53%; }
.hv-tm { left: 70.89%; top: 75.53%; }
.hv-tv { left: 70.89%; top: 43.62%; }
.hv-tm img { filter: drop-shadow(0 0 6px rgba(200, 255, 230, .7)) drop-shadow(0 0 16px rgba(46, 229, 157, .45)); }
.hv-tv img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)); }
.hv-badge { left: 37.1%; top: 75.53%; padding: .9cqw 1.8cqw; border-radius: 999px; font-size: max(10px, 2cqw); font-weight: 600; color: #a8e9cc; white-space: nowrap; background: #07130d; border: 1px solid rgba(46, 229, 157, .45); font-variant-numeric: tabular-nums; box-shadow: 0 0 18px -6px rgba(46, 229, 157, .6); }
.hv-nocloud { left: 23.5%; top: 42%; display: grid; justify-items: center; gap: 1.8cqw; text-align: center; }
.hv-nocloud small { font-size: max(10px, 2.15cqw); line-height: 1.35; color: #93a8a0; font-weight: 500; }
.hv-round { width: 11cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #15402c, #07130d 70%); border: 1px solid rgba(46, 229, 157, .4); box-shadow: 0 0 34px -4px rgba(46, 229, 157, .45); }
.hv-round svg { width: 46%; color: var(--electric-hi); }
@media (prefers-reduced-motion: reduce) { .hv-flow { display: none; } }
@media (max-width: 920px) {
  .hero-top { grid-template-columns: 1fr; min-height: 0; padding: 120px 0 56px; gap: 48px; }
  .hero-visual { justify-self: center; max-width: 480px; }
}
/* hero entrance now runs on the new pieces */
.hero .hero-visual { animation: heroIn 700ms var(--ease-out) 260ms both; }

/* ---------- the demo: smaller, fits a laptop screen with its numbers, revealed on scroll ---------- */
.stage { max-width: 1040px; margin-top: 0; }
@media (min-width: 921px) { .stage .workspace { height: clamp(480px, calc(100svh - 230px), 620px); } }
.stage.stage-wait { animation: none; opacity: 0; transform: translateY(56px) scale(.96); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); }
.stage.stage-wait.stage-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .stage.stage-wait { opacity: 1; transform: none; transition: none; } }
.hero-copy .hero-note { max-width: 62ch; }
@media (max-width: 560px) {
  .hv-tile small { position: absolute; top: 100%; margin-top: 5px; font-size: 10px; }
  .hv-port span { display: none; }
  .hv-badge { font-size: 9px; padding: 3px 7px; }
  .hv-chrome { height: 74%; }
  .hero-visual { margin-bottom: 18px; }
}
/* the Expert Advisor lives inside MetaTrader 5 */
.hv-mt5 { width: 19%; left: 16.8%; }
.hv-ea { position: absolute; top: 7%; right: 7%; padding: .4cqw 1.1cqw; border-radius: 1cqw; font-size: max(9px, 2cqw); font-weight: 700; letter-spacing: .04em; line-height: 1.2;
  color: #04120b; background: var(--electric); box-shadow: 0 0 12px -2px rgba(46, 229, 157, .8); }
.hero .hero-actions { margin-top: 32px; }

/* ---------- the PC as a monitor: bezel, chin and stand ---------- */
.hv-screen { position: relative; width: 100%; aspect-ratio: 560 / 470; }
.hero-visual { aspect-ratio: auto; }
.hv-pc { border-radius: 3.6cqw; border: 1px solid rgba(46, 229, 157, .32);
  box-shadow: inset 0 0 0 1.9cqw #0a1510, inset 0 0 0 calc(1.9cqw + 1px) rgba(46, 229, 157, .2), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 80px -18px rgba(46, 229, 157, .4); }
.hv-chin { position: absolute; left: 0; right: 0; bottom: 0; height: 7.4%; border-radius: 0 0 3.6cqw 3.6cqw; background: #0a1510; border-top: 1px solid rgba(46, 229, 157, .2);
  display: flex; align-items: center; justify-content: center; gap: 1.2cqw; font-size: max(9px, 1.8cqw); font-weight: 600; letter-spacing: .06em; color: #6f8a7f; }
.hv-power { width: .9cqw; min-width: 4px; aspect-ratio: 1; border-radius: 50%; background: var(--electric); box-shadow: 0 0 6px var(--electric); }
.hv-local { top: 5.2%; right: 5%; }
.hv-chrome { height: 72%; }
.hv-chrome-head { height: 11%; padding: 0 2.6cqw; gap: 2.4cqw; background: rgba(255, 255, 255, .045); }
.hv-dots { display: flex; gap: .9cqw; }
.hv-dots i { width: 1.25cqw; min-width: 5px; aspect-ratio: 1; border-radius: 50%; background: rgba(207, 224, 216, .28); }
.hv-dots i:first-child { background: rgba(46, 229, 157, .7); }
.hv-tab { align-self: flex-end; display: flex; align-items: center; gap: 1.2cqw; height: 78%; padding: 0 2.6cqw; border-radius: 1.6cqw 1.6cqw 0 0; background: rgba(255, 255, 255, .07); color: #dbe9e3; white-space: nowrap; }
.hv-tab img { width: max(12px, 2.8cqw); height: auto; }
.hv-stand { position: relative; height: 13cqw; display: grid; justify-items: center; }
.hv-neck { width: 13%; height: 9cqw; margin-top: -1px; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #0a1510, #10261b 70%, #143322); }
.hv-base { width: 36%; height: 2.4cqw; border-radius: 1.4cqw 1.4cqw .8cqw .8cqw; background: linear-gradient(180deg, #1a3f2c, #0b1a12); border: 1px solid rgba(46, 229, 157, .3); box-shadow: 0 1.6cqw 4cqw -1cqw rgba(46, 229, 157, .35); }
@media (max-width: 560px) { .hv-tile small { margin-top: 3px; } }

/* ---------- a wider monitor: the board is now 640 x 400 (16:10) ---------- */
.hv-screen { aspect-ratio: 640 / 400; }
.hero-visual { max-width: 660px; }
.hv-pc { left: 1.25%; top: 2%; width: 97.5%; height: 96%; border-radius: 3cqw; }
.hv-chin { height: 8%; border-radius: 0 0 3cqw 3cqw; }
.hv-chrome { left: 46.88%; top: 15.5%; width: 49.69%; height: 72.5%; }
.hv-tile { width: 15%; }
.hv-mt5 { width: 17%; left: 18.75%; top: 72.5%; }
.hv-tm { left: 71.72%; top: 72.5%; }
.hv-tv { left: 71.72%; top: 40.5%; }
.hv-badge { left: 37.03%; top: 72.5%; }
.hv-nocloud { left: 23.44%; top: 37.5%; }
.hv-round { width: 9.5cqw; }
.hv-stand { height: 11cqw; }
.hv-neck { height: 7.5cqw; width: 11%; }
.hv-base { width: 30%; }
@media (min-width: 921px) { .hero-top { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.hv-chrome { top: 18%; height: 69%; width: 46%; }
.hv-tm { left: 69.88%; }
.hv-tv { left: 69.88%; top: 41%; }
@media (max-width: 560px) {
  .hv-tile small { font-size: 9px; margin-top: 2px; }
  .hv-chin { font-size: 8px; }
  .hv-nocloud small { font-size: 9px; }
}
@media (min-width: 921px) { .hero-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero h1 { font-size: clamp(2.3rem, 3.9vw, 3.6rem); }
.hv-tile { width: 14%; }
.hv-mt5 { width: 17%; top: 71%; }
.hv-tm { top: 71%; }
.hv-tv { top: 40.5%; }
.hv-badge { top: 71%; }
.hv-tile small { font-size: max(9px, 1.9cqw); }

/* ---------- demo drawn at a fixed screen size and scaled down to fit ---------- */
.stage { max-width: min(1040px, calc((100svh - 230px) * 1.6)); }
.demo-frame.is-scaled { position: relative; width: 100%; border-radius: 18px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .75); }
.demo-frame.is-scaled .workspace { position: absolute; top: 0; left: 0; transform-origin: 0 0; box-shadow: none; }
/* the fixed canvas ignores the viewport breakpoints: chart left, panel right, always */
.demo-frame.is-scaled .workspace { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: minmax(0, 1fr); }
.demo-frame.is-scaled .tv { grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-rows: 40px minmax(0, 1fr); }
.demo-frame.is-scaled .tv-left, .demo-frame.is-scaled .tv-right { display: flex; }
.demo-frame.is-scaled .tm { border-top: 0; border-left: 1px solid #dadce0; }
.demo-frame.is-scaled .tm-body { max-width: none; height: auto; flex: 1 1 0; padding: 0 12px 12px; }
/* phone canvas: a narrower chart, no side toolbars */
.demo-frame.is-phone .tv { grid-template-columns: minmax(0, 1fr); }
.demo-frame.is-phone .tv-left, .demo-frame.is-phone .tv-right { display: none; }

/* ---------- desktop: a bigger demo with its numbers as a column on the right ---------- */
.demo-frame { position: relative; }
.demo-frame .float-be { display: grid; z-index: 4; right: calc(28.125% + 16px); bottom: 58px; top: auto; }
@media (min-width: 1100px) {
  .stage { --proof-w: 240px; --stage-w: min(calc(100vw - 2 * clamp(20px, 3vw, 44px)), 1440px, calc((100svh - 120px) * 1.6 + var(--proof-w) + 16px));
    width: var(--stage-w); max-width: none; margin-left: calc((100% - var(--stage-w)) / 2); margin-right: 0;
    display: grid; grid-template-columns: minmax(0, 1fr) var(--proof-w); gap: 16px; align-items: stretch; }
  .demo-proof { margin: 0; grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(0, 1fr)); }
  .demo-proof > div { display: flex; flex-direction: column; justify-content: center; padding: 18px 22px; }
  .demo-proof > div + div { border-left: 0; border-top: 1px solid rgba(110, 231, 183, .13); }
  .demo-proof dt { font-size: clamp(1.5rem, 2vw, 1.9rem); }
}
@media (max-width: 1099px) { .demo-frame .float-be { display: none; } }
.demo-frame .float-be { width: 270px; }

/* ---------- the header follows you down the page ---------- */
.nav { position: fixed; z-index: 50; transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.nav-bar { height: 76px; transition: height 300ms var(--ease-out); }
.nav.is-scrolled { background: rgba(4, 10, 7, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(110, 231, 183, .12), 0 12px 30px -18px rgba(0, 0, 0, .8); }
.nav.is-scrolled .nav-bar { height: 64px; }
main section[id], .stage { scroll-margin-top: 84px; }
.stage { --stage-h: calc(100svh - 64px - 40px); }
@media (min-width: 1100px) {
  .stage { --stage-w: min(calc(100vw - 2 * clamp(20px, 3vw, 44px)), 1440px, calc(var(--stage-h) * 1.6 + var(--proof-w) + 16px)); }
}
@media (max-width: 1099px) { .stage { max-width: min(1040px, calc(var(--stage-h) * 1.6)); } }

/* ---------- Add to Chrome: metallic electric green with a passing shine ---------- */
.btn-cta { position: relative; overflow: hidden; isolation: isolate; color: #03140c; font-weight: 700;
  background: linear-gradient(180deg, #8bffd0 0%, #2ee59d 48%, #19c784 100%);
  border: 1px solid rgba(190, 255, 225, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -2px 6px rgba(4, 80, 48, .35), 0 0 0 1px rgba(46, 229, 157, .25), 0 8px 26px -6px rgba(46, 229, 157, .65); }
.btn-cta img { width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.btn-cta::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); animation: ctaShine 4.5s var(--ease-in-out) infinite; }
@keyframes ctaShine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.btn-cta:hover { color: #03140c; background: linear-gradient(180deg, #a8ffdc 0%, #45f0ab 48%, #22d48f 100%); translate: 0 -1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 6px rgba(4, 80, 48, .3), 0 0 0 1px rgba(46, 229, 157, .35), 0 12px 34px -6px rgba(46, 229, 157, .85); }
.nav .btn-cta { min-height: 44px; padding: 0 20px 0 16px; gap: 9px; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .btn-cta::after { animation: none; display: none; } }
@media (max-width: 400px) { .nav .btn-cta { padding: 0 14px 0 12px; } }

/* ---------- Watch the demo: a real button with a play disc ---------- */
.btn-demo { gap: 12px; padding: 0 26px 0 8px; min-height: 54px; color: #e9fff5; font-weight: 600;
  background: linear-gradient(180deg, rgba(46, 229, 157, .16), rgba(46, 229, 157, .06)); border: 1px solid rgba(46, 229, 157, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 30px -10px rgba(46, 229, 157, .55); }
.btn-demo .play { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #03140c;
  background: linear-gradient(180deg, #8bffd0, #2ee59d 60%, #19c784); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 16px rgba(46, 229, 157, .6); }
.btn-demo .play svg { width: 20px; height: 20px; margin-left: 2px; }
.btn-demo .play::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(46, 229, 157, .55); animation: playPulse 2.2s var(--ease-out) infinite; }
@keyframes playPulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.btn-demo:hover { color: #fff; background: linear-gradient(180deg, rgba(46, 229, 157, .26), rgba(46, 229, 157, .1)); border-color: rgba(124, 245, 194, .8); translate: 0 -1px; }
@media (prefers-reduced-motion: reduce) { .btn-demo .play::before { animation: none; opacity: 0; } }
.hero .hero-actions { margin-top: 36px; }

/* ---------- trust points under the monitor ---------- */
.hero-side { display: grid; justify-items: end; gap: 6px; }
.hero-side .hero-visual { justify-self: end; }
.hero-trust { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 660px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.hero-trust li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.hero-trust svg { width: 22px; height: 22px; margin-top: 1px; color: var(--electric); fill: none; stroke: currentColor; }
.hero-trust b { display: block; color: #f1fbf6; font-size: .95rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.hero-trust span { display: block; margin-top: 3px; color: #93a8a0; font-size: .86rem; line-height: 1.45; }
.hero .hero-trust { animation: heroIn 700ms var(--ease-out) 360ms both; }
@media (max-width: 920px) { .hero-side { justify-items: center; } .hero-trust { max-width: 480px; } }
@media (max-width: 560px) { .hero-trust { grid-template-columns: 1fr; } }

/* ---------- Add to Chrome, darker: a deep emerald bar lit from its edge ---------- */
.btn-cta { color: #eafff5; font-weight: 700;
  background: linear-gradient(180deg, #1f6a4a 0%, #134a33 52%, #0c3524 100%);
  border: 1px solid rgba(94, 240, 178, .55);
  box-shadow: inset 0 1px 0 rgba(170, 255, 215, .35), inset 0 -1px 0 rgba(0, 0, 0, .35), 0 0 0 1px rgba(46, 229, 157, .12), 0 0 22px -4px rgba(46, 229, 157, .55), 0 10px 24px -12px rgba(0, 0, 0, .8); }
.btn-cta::after { background: linear-gradient(100deg, transparent, rgba(160, 255, 210, .28), transparent); }
.btn-cta:hover { color: #fff; background: linear-gradient(180deg, #26805a 0%, #17573c 52%, #0e3d29 100%); border-color: rgba(124, 245, 194, .85);
  box-shadow: inset 0 1px 0 rgba(170, 255, 215, .45), inset 0 -1px 0 rgba(0, 0, 0, .35), 0 0 0 1px rgba(46, 229, 157, .2), 0 0 30px -2px rgba(46, 229, 157, .7), 0 12px 28px -12px rgba(0, 0, 0, .8); }
.nav .btn-cta { padding: 0 22px; }

/* ---------- a terminal line typing under the demo button ---------- */
.type-line { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; min-height: 1.6em;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace; font-size: .98rem; font-weight: 500; color: #cfe9de; letter-spacing: .01em; }
.type-prompt { color: var(--electric); font-weight: 700; }
.type-caret { width: .6em; height: 1.15em; margin-left: -6px; background: var(--electric); box-shadow: 0 0 8px rgba(46, 229, 157, .7); animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-caret { animation: none; } }

/* breathing room between the monitor and the trust points */
.hero-side { gap: 34px; }

/* ---------- Auto Break-Even toast: a Chrome notification sliding in from the right ---------- */
.demo-frame.is-scaled { overflow: hidden; }
.demo-frame .float-be { position: absolute; z-index: 4; top: auto; left: auto; right: 14px; bottom: 14px; width: min(330px, 30%); display: block; padding: 0;
  background: #202124; color: #e8eaed; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateX(calc(100% + 24px)); transition: transform 520ms var(--ease-out), opacity 260ms var(--ease-out); backdrop-filter: none; }
.demo-frame .float-be.pop { opacity: 1; transform: none; }
.toast-head { display: flex; align-items: center; gap: 7px; padding: 9px 12px 0; font-size: .74rem; color: #bdc1c6; }
.toast-head img { width: 14px; height: 14px; }
.toast-head span { margin-left: auto; color: #9aa0a6; }
.toast-body { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px 14px 14px 12px; font-size: .84rem; line-height: 1.4; color: #c4c9cc; }
.toast-body img { width: 40px; height: 40px; background: none; padding: 0; border-radius: 0; filter: drop-shadow(0 0 6px rgba(200, 255, 230, .6)) drop-shadow(0 0 14px rgba(46, 229, 157, .4)); }
.toast-body b { display: block; color: #fff; font-size: .9rem; margin-bottom: 2px; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .demo-frame .float-be { transition: opacity 200ms ease; } }

/* ---------- the four zeros ---------- */
.demo-proof dt { font-size: clamp(1.9rem, 2.4vw, 2.6rem); text-shadow: 0 0 18px rgba(46, 229, 157, .35); }
.demo-proof dd { margin-top: 6px; color: #93a8a0; font-size: .84rem; line-height: 1.45; }
.demo-proof dd b { display: block; margin-bottom: 4px; color: #f1fbf6; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
@media (min-width: 1100px) { .stage { --proof-w: clamp(240px, 17vw, 300px); } }

/* ---------- big screens: the whole page scales with the viewport (a proportional zoom),
   so text, buttons and containers keep the same share of the screen as on a 1600px display ---------- */
@media (min-width: 1600px) {
  html { font-size: min(calc(100vw / 100), 24px); }
  :root { --wrap: 75rem; --gutter: 2.5rem; }
  .nav-bar { height: 4.75rem; }
  .nav.is-scrolled .nav-bar { height: 4rem; }
  .nav .btn-cta { min-height: 2.75rem; padding: 0 1.4rem; }
  .nav-bar .brand img { width: 2.5rem; height: 2.5rem; }
  .hero-side .hero-visual, .hero-trust { max-width: none; }
  .hero-top { padding: 7rem 0 4rem; }
  .stage { --stage-w: min(calc(100vw - 2 * clamp(20px, 3vw, 44px)), 1900px, calc(var(--stage-h) * 1.6 + var(--proof-w) + 16px)); }
}
/* each pain on one green line: "0 manual entry errors" */
.demo-proof dt { font-size: clamp(1.05rem, 1.12vw, 1.35rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; white-space: nowrap; text-shadow: 0 0 16px rgba(46, 229, 157, .3); }
.demo-proof dd { margin-top: 8px; font-size: .86rem; }
@media (max-width: 1099px) { .demo-proof dt { white-space: normal; } }
@media (max-width: 560px) {
  .demo-proof { grid-template-columns: 1fr; }
  .demo-proof > div { padding: 16px 20px; }
  .demo-proof > div + div { border-left: 0; border-top: 1px solid rgba(110, 231, 183, .13); }
  .demo-proof dt { white-space: nowrap; }
}

/* the toast lives inside the scaled workspace: it keeps its real size relative to the demo on every screen */
.demo-frame .float-be { display: block; right: 14px; bottom: 14px; width: 330px; border-radius: 10px; }
.demo-frame .toast-head { padding: 9px 12px 0; font-size: 12px; gap: 7px; }
.demo-frame .toast-head img { width: 14px; height: 14px; }
.demo-frame .toast-body { grid-template-columns: 40px 1fr; gap: 12px; padding: 10px 14px 14px 12px; font-size: 13px; }
.demo-frame .toast-body img { width: 40px; height: 40px; }
.demo-frame .toast-body b { font-size: 14px; }

/* ---------- PRO tag: polished onyx with a lit edge and a passing shine ---------- */
.demo-proof > div { position: relative; }
.pro-tag { position: absolute; top: 14px; right: 14px; overflow: hidden; isolation: isolate;
  padding: 4px 10px; border-radius: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; line-height: 1.2;
  color: transparent; background-clip: padding-box;
  background: linear-gradient(180deg, #2b302e 0%, #0d0f0e 55%, #050606 100%);
  border: 1px solid rgba(124, 245, 194, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .6), 0 0 14px -3px rgba(46, 229, 157, .55); }
.pro-tag::before { content: "PRO"; position: absolute; inset: 0; display: grid; place-items: center; letter-spacing: .14em; padding-left: .14em;
  background: linear-gradient(180deg, #ffffff 0%, #c9f7e2 55%, #7cf5c2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pro-tag::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: -80%; width: 50%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: ctaShine 4.5s var(--ease-in-out) infinite; }
.is-pro + .is-pro .pro-tag::after { animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) { .pro-tag::after { display: none; } }
/* keep the headline clear of the tag */
.is-pro dt { padding-right: 52px; }
.demo-proof > div { min-width: 0; }
.pro-tag { position: relative; top: auto; right: auto; align-self: flex-start; display: inline-block; margin-bottom: 10px; }
.is-pro dt { padding-right: 0; }
@media (min-width: 1100px) { .stage { --proof-w: clamp(256px, 18vw, 440px); } .demo-proof dt { font-size: clamp(1rem, 1.05vw, 1.3rem); } }

/* ---------- column v2: exactly as tall as the demo, tags hanging off the edge, real zeros ---------- */
@media (min-width: 1100px) {
  .stage { align-items: stretch; }
  /* the column never pushes the row taller than the demo; its four rows share the demo's height */
  .demo-proof { contain: size; height: 100%; overflow: visible; }
  .demo-proof > div { padding: 0 22px; }
}
.demo-proof dt { display: flex; align-items: baseline; gap: .32em; color: #e4ede9; text-shadow: none; white-space: nowrap; }
.demo-proof dt .zero { font-size: 1.4em; line-height: .8; font-weight: 700; color: var(--electric); font-feature-settings: "zero" 1; font-variant-numeric: slashed-zero; text-shadow: 0 0 14px rgba(46, 229, 157, .45); }
/* the PRO tag hangs off the right edge of its box, like an offer tag */
.pro-tag { position: absolute; top: 50%; right: -9px; margin: 0; transform: translateY(-50%); align-self: auto; border-radius: 6px 0 0 6px; padding: 5px 12px 5px 11px; font-size: .66rem; }
.is-pro dt { position: static; }
.demo-proof .is-pro dt { padding-right: 46px; }
.is-pro { position: relative; }
/* tuck the tag next to the headline row, not the middle of the box */
.demo-proof .is-pro dt { position: relative; }
.demo-proof .is-pro dt .pro-tag { right: -31px; }
.pro-tag::selection { background: none; }
/* a little fold under the tag where it leaves the box */
.demo-proof .is-pro dt::after { content: ""; position: absolute; right: -31px; top: calc(50% + 12px); width: 9px; height: 7px; background: #0a3b27; clip-path: polygon(0 0, 100% 0, 0 100%); }
@media (max-width: 1099px) { .demo-proof .is-pro dt .pro-tag { right: -29px; } .demo-proof .is-pro dt::after { right: -29px; } }
/* tag: top-right corner of the box, hanging past the edge */
.demo-proof .is-pro dt { padding-right: 0; }
.demo-proof .is-pro dt::after { display: none; }
.demo-proof .is-pro > .pro-tag { top: 14px; right: -9px; transform: none; }
.demo-proof .is-pro::after { content: ""; position: absolute; right: -9px; top: calc(14px + 24px); width: 9px; height: 6px; background: #06281a; clip-path: polygon(0 0, 100% 0, 0 100%); }
/* a slashed zero, drawn, so it never reads as the letter O */
.demo-proof dt .zero { position: relative; display: inline-block; }
.demo-proof dt .zero::after { content: ""; position: absolute; left: 50%; top: 50%; width: .1em; min-width: 2px; height: .62em; border-radius: 1px; background: currentColor; transform: translate(-50%, -46%) rotate(28deg); }
/* the tag sits on the line that opens its box, clear of the headline at every height */
.demo-proof .is-pro > .pro-tag { top: -12px; }
.demo-proof .is-pro::after { top: calc(-12px + 24px); }
.demo-proof dt .zero::after { width: .09em; height: .58em; }

/* ---------- FAQ: a drawn plus that becomes a centred minus ---------- */
.faq summary::after { content: ""; transform: translateY(-50%); color: var(--ink);
  background-color: rgba(255, 255, 255, .06);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: center; background-size: 12px 2px, 2px 12px;
  transition: background-size var(--dur-base) var(--ease-out), background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.faq summary:hover::after { background-color: rgba(255, 255, 255, .12); }
.faq details[open] summary::after { transform: translateY(-50%); background-color: var(--electric); color: #04120b; background-size: 12px 2px, 2px 0; }

/* ---------- note from the developer ---------- */
#note { padding-block: clamp(56px, 7vw, 96px); }
.note-card { position: relative; margin: 0 auto; max-width: 880px; display: grid; grid-template-columns: 72px 1fr; gap: 8px 32px; padding: clamp(28px, 4vw, 48px);
  border-radius: 24px; background: linear-gradient(180deg, rgba(18, 48, 34, .55), rgba(6, 15, 11, .85)); border: 1px solid rgba(46, 229, 157, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px -40px rgba(46, 229, 157, .35); }
.note-card::before { content: "\201C"; position: absolute; right: 36px; top: -8px; font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: rgba(46, 229, 157, .14); pointer-events: none; }
.note-mark { grid-row: span 2; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(160deg, #123726, #08170f 72%); border: 1px solid rgba(46, 229, 157, .4); box-shadow: 0 0 30px -8px rgba(46, 229, 157, .5); }
.note-mark img { width: 60%; filter: drop-shadow(0 0 6px rgba(200, 255, 230, .6)) drop-shadow(0 0 14px rgba(46, 229, 157, .4)); }
.note-card blockquote { margin: 0; }
.note-kicker { margin: 0 0 10px; color: var(--electric); font-weight: 600; font-size: .9rem; }
.note-lead { margin: 0 0 18px; color: #f1fbf6; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; }
.note-card blockquote p:not(.note-kicker):not(.note-lead) { margin: 0 0 14px; color: #b9c9c2; font-size: 1.02rem; line-height: 1.65; }
.note-card figcaption { grid-column: 2; display: grid; gap: 2px; padding-top: 18px; margin-top: 6px; border-top: 1px solid rgba(110, 231, 183, .14); }
.note-card figcaption b { color: #f1fbf6; }
.note-card figcaption span { color: #93a8a0; font-size: .9rem; }
.note-card figcaption a { color: var(--electric); }
@media (max-width: 640px) {
  .note-card { grid-template-columns: 1fr; }
  .note-mark { grid-row: auto; width: 56px; height: 56px; }
  .note-card figcaption { grid-column: 1; }
}

/* ---------- footer: brand + three balanced columns, legal across the width ---------- */
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px 48px; padding: 8px 0 32px; border-bottom: 1px solid var(--line); }
.foot-brand .brand { color: #fff; gap: 10px; font-size: 1.1rem; }
.foot-brand .brand img { width: 36px; height: 36px; background: none; padding: 0; border-radius: 0; filter: drop-shadow(0 0 6px rgba(200, 255, 230, .6)) drop-shadow(0 0 14px rgba(46, 229, 157, .4)); }
.foot-brand p { margin: 14px 0 0; max-width: 34ch; color: #93a8a0; line-height: 1.55; }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h4 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #6f8a7f; font-weight: 600; }
.foot-col a { color: #dbe9e3; text-decoration: none; }
.foot-col a:hover { color: var(--electric); }
.footer .foot-legal { padding-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; }
.footer .foot-legal p { max-width: none; margin: 0; color: #7f948c; line-height: 1.55; }
.footer .foot-legal a { color: #b9c9c2; }
.footer .foot-legal .foot-copy { grid-column: 1 / -1; text-align: center; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .footer .foot-legal { grid-template-columns: 1fr; }
}

/* ---------- desktop: PRO and pricing fit one screen under the header ---------- */
@media (min-width: 1100px) {
  #pro .pro-block { padding: clamp(24px, 3.2vw, 48px); row-gap: clamp(20px, 2.4vw, 32px); }
  #pro .pro-intro { max-width: none; }
  #pro .pro-intro h2 { font-size: clamp(2.2rem, 3.3vw, 3.4rem); }
  #pro .pro-intro .lead { margin-top: 10px; }
  #pro .pro-tabs button { padding: 14px 18px; }
  #pro .pro-foot { padding: 10px 10px 10px 24px; }

  #pricing .section-head { margin-bottom: clamp(24px, 2.6vw, 36px); }
  #pricing .section-head h2 { font-size: clamp(2.2rem, 3.3vw, 3.4rem); }
  #pricing .section-head p { margin-top: 10px; max-width: none; }
  #pricing .plans { max-width: 1120px; gap: 24px; }
  #pricing .plan { padding: clamp(22px, 2.4vw, 34px) clamp(24px, 2.8vw, 40px); }
  #pricing .price b { font-size: clamp(2.8rem, 3.8vw, 3.8rem); }
  #pricing .plan .muted { margin-top: 4px; }
  #pricing .early { margin-top: 10px; padding: 7px 12px; }
  #pricing .plan ul { margin: 18px 0 20px; gap: 7px; }
  #pricing .plan li { line-height: 1.4; }
  #pricing .plan li svg { margin-top: 2px; }
  #pricing .guarantee { margin-top: 20px; }
}
/* short laptop screens (768px tall and similar) */
@media (min-width: 1100px) and (max-height: 820px) {
  #pro .pro-intro h2, #pricing .section-head h2 { font-size: 2.3rem; }
  #pro .pro-intro .lead, #pricing .section-head p { font-size: 1rem; }
  #pro .pro-block { padding: 24px 32px; row-gap: 18px; }
  #pro .pro-tabs { gap: 6px; }
  #pro .pro-tabs button { padding: 11px 16px; gap: 3px; }
  #pro .pro-stage { padding: 18px; }
  #pricing .price b { font-size: 2.6rem; }
  #pricing .plan { padding: 20px 30px; }
  #pricing .plan ul { margin: 12px 0 16px; gap: 5px; }
  #pricing .guarantee { margin-top: 14px; }
  #pricing .early { font-size: .82rem; }
}
.faq details[open] summary::after { background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: center; }

/* ---------- FAQ: the plus stays put on hover ---------- */
.faq summary:hover::after { background-color: rgba(255, 255, 255, .12);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: center; background-size: 12px 2px, 2px 12px; }
.faq details[open] summary:hover::after { background-color: var(--electric-hi); background-size: 12px 2px, 2px 0; }
/* the list keeps room for one open answer, so opening never pushes the section around */
.faq { overflow-anchor: none; }

/* ---------- pricing: title and guarantees on the left, two slim cards on the right ---------- */
.price-layout { display: grid; gap: 32px; }
.price-head .guarantee { justify-content: flex-start; }
@media (min-width: 1100px) {
  .price-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  #pricing .price-head { margin: 0; text-align: left; max-width: none; }
  #pricing .price-head h2 { font-size: clamp(2.2rem, 3.1vw, 3.2rem); }
  #pricing .price-head p { margin-top: 16px; }
  #pricing .price-head .guarantee { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
  #pricing .plans { max-width: none; grid-template-columns: 1fr 1fr; gap: 18px; }
  #pricing .plan { padding: 26px 26px 24px; border-radius: 24px; }
  #pricing .plan-free .early-free { display: none; }
  #pricing .plan .price { margin-top: 10px; }
  #pricing .price b { font-size: clamp(2.6rem, 3.2vw, 3.4rem); }
  #pricing .plan .muted { font-size: .92rem; }
  #pricing .early { margin-top: 10px; padding: 7px 11px; font-size: .8rem; line-height: 1.35; }
  #pricing .plan ul { margin: 16px 0 18px; gap: 8px; }
  #pricing .plan li { font-size: .93rem; line-height: 1.38; grid-template-columns: 18px 1fr; gap: 9px; }
  #pricing .plan li svg { width: 16px; height: 16px; }
  #pricing .plan-note { margin: 0 0 10px; font-size: .8rem; }
  #pricing .plan .btn { min-height: 48px; }
}
@media (min-width: 1100px) and (max-height: 820px) {
  #pricing .price-head h2 { font-size: 2.3rem; }
  #pricing .plan { padding: 20px 22px; }
  #pricing .plan ul { margin: 12px 0 14px; gap: 6px; }
}

/* ---------- final CTA: copy on the left, the trade it promises typing itself on the right ---------- */
.final-box { padding: clamp(56px, 7vw, 96px) 0; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; text-align: left; }
.final-copy h2 { margin: 0; max-width: 12ch; font-size: clamp(2.4rem, 4.4vw, 4rem); }
.final-copy .lead { margin: 18px 0 30px; max-width: 46ch; }
.final-copy .hero-actions { justify-content: flex-start; }
.final-points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #a8b8b1; font-size: .92rem; }
.final-points li { display: inline-flex; align-items: center; gap: 8px; }
.final-points svg { width: 18px; height: 18px; color: var(--electric); fill: none; stroke: currentColor; }
.final-term { border-radius: 16px; overflow: hidden; background: rgba(4, 10, 7, .88); border: 1px solid rgba(46, 229, 157, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(46, 229, 157, .45); }
.ft-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ft-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(207, 224, 216, .25); }
.ft-bar i:first-child { background: var(--electric); }
.ft-bar span { margin-left: 8px; font-family: "JetBrains Mono", Consolas, monospace; font-size: .78rem; color: #6f8a7f; }
.ft-log { list-style: none; margin: 0; padding: 18px 20px 22px; display: grid; gap: 7px; font-family: "JetBrains Mono", Consolas, ui-monospace, monospace; font-size: clamp(.8rem, .95vw, .95rem); color: #dbe9e3; }
.ft-log b { color: #fff; font-weight: 500; }
.ft-p { color: var(--electric); font-weight: 700; }
.ft-out { color: #8fa69d; padding-left: 1.3em; }
.ft-ok { color: var(--electric); padding-left: 1.3em; }
.ft-ok::before { content: "\2713  "; }
.ft-cursor i { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--electric); animation: caretBlink 1s steps(1) infinite; }
/* the log types in, line by line, once the block is on screen */
.js-rv .final-term .ft-log li { opacity: 0; transform: translateY(4px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.final-term.is-typing .ft-log li { opacity: 1; transform: none; }
.final-term.is-typing .ft-log li:nth-child(2) { transition-delay: .45s; }
.final-term.is-typing .ft-log li:nth-child(3) { transition-delay: 1.05s; }
.final-term.is-typing .ft-log li:nth-child(4) { transition-delay: 1.5s; }
.final-term.is-typing .ft-log li:nth-child(5) { transition-delay: 2.1s; }
.final-term.is-typing .ft-log li:nth-child(6) { transition-delay: 2.55s; }
.final-term.is-typing .ft-log li:nth-child(7) { transition-delay: 3.15s; }
.final-term.is-typing .ft-log li:nth-child(8) { transition-delay: 3.6s; }
.final-term.is-typing .ft-log li:nth-child(9) { transition-delay: 4.1s; }
@media (prefers-reduced-motion: reduce) { .js-rv .final-term .ft-log li { opacity: 1; transform: none; transition: none; } }
@media (max-width: 900px) { .final-grid { grid-template-columns: 1fr; } }
@media (min-width: 1100px) {
  #faq .faq summary { padding: 14px 44px 14px 0; font-size: 1rem; }
  #faq .faq details p { margin: -2px 0 16px; font-size: .95rem; }
  #faq .split { align-items: start; }
}
#pricing .plan ul { align-content: start; }
.final-box > svg.circuit { display: none; }
#pricing .plan-free .early-free { display: block; }
.ft-type { color: #fff; font-weight: 500; }
.ft-cursor i { margin-left: 2px; }
/* desktop: the closing block fills the screen under the header, so the footer only shows when you scroll on */
@media (min-width: 1100px) {
  .final-box { min-height: calc(100svh - 4rem - 16px); display: grid; align-content: center; }
}

/* ---------- phone: the demo stays side by side, nearly edge to edge, with a zoomed-in chart ---------- */
@media (max-width: 640px) {
  .hero .stage { margin-left: calc(-1 * var(--gutter) + 6px); margin-right: calc(-1 * var(--gutter) + 6px); }
  .demo-frame.is-scaled { border-radius: 12px; }
  .demo-frame.is-phone .tv-top .tf, .demo-frame.is-phone .tv-top .ico, .demo-frame.is-phone .tv-top .sep, .demo-frame.is-phone .tv-top .layout { display: none; }
  .demo-frame.is-phone .tv-top .trade { margin-left: auto; }
  .demo-frame.is-phone .tv-dialog { transform: translate(-50%, -50%) scale(.62); }
  .demo-frame.is-phone .tv-dialog.open { transform: translate(-50%, -50%) scale(.66); }
  .demo-frame.is-phone .demo-toggle span { display: none; }
}
@media (max-width: 640px) { .demo-frame.is-phone .tv-legend b { font-size: 0; } .demo-frame.is-phone .tv-legend b::after { content: "EURUSD · 3"; font-size: 12px; } }

/* ---------- phone menu: two lines that turn into a cross, links drop down under the header ---------- */
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav-bar { gap: 10px; }
  .nav .btn-cta { margin-left: auto; order: 2; }
  .nav-toggle { order: 3; display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border-radius: 12px; cursor: pointer;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(110, 231, 183, .25); transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #e9fff5; transition: transform 260ms var(--ease-out); }
  .nav-toggle:active { scale: .95; }
  .nav.is-open .nav-toggle { background: rgba(46, 229, 157, .14); border-color: rgba(46, 229, 157, .6); }
  .nav.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav .nav-links { display: grid; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 20px 22px; gap: 0;
    background: rgba(4, 10, 7, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(110, 231, 183, .16);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .9);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s; }
  .nav .nav-links a { padding: 15px 2px; font-size: 1.12rem; font-weight: 600; color: #e9fff5; border-bottom: 1px solid rgba(255, 255, 255, .06);
    opacity: 0; transform: translateY(-6px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
  .nav .nav-links a:last-child { border-bottom: 0; }
  .nav.is-open .nav-links a { opacity: 1; transform: none; }
  .nav.is-open .nav-links a:nth-child(2) { transition-delay: 30ms; }
  .nav.is-open .nav-links a:nth-child(3) { transition-delay: 60ms; }
  .nav.is-open .nav-links a:nth-child(4) { transition-delay: 90ms; }
  .nav.is-open .nav-links a:nth-child(5) { transition-delay: 120ms; }
  /* the header gets its solid ground while the menu is open, even at the top of the page */
  .nav.is-open { background: rgba(4, 10, 7, .96); }
}
@media (max-width: 880px) and (prefers-reduced-motion: reduce) { .nav .nav-links, .nav .nav-links a, .nav-toggle span { transition: none; } }
@media (max-width: 400px) { .nav-bar .brand span { font-size: .95rem; } .nav .btn-cta { padding: 0 14px; font-size: .86rem; } }
@media (max-width: 560px) {
  .hv-tile small { font-size: 11px; }
  .hv-nocloud small { font-size: 11px; }
  .hv-chrome-head, .hv-local { font-size: 11px; }
  .hv-badge { font-size: 10px; }
  .hero-visual { margin-bottom: 26px; }
}

/* ---------- phone diagram: more room inside Chrome so each name sits under its tile, clear of the link ---------- */
.hv-phone { display: none; }
@media (max-width: 560px) {
  .hv-desk { display: none; }
  .hv-phone { display: inline; }
  .hv-tile { width: 12%; }
  .hv-mt5 { width: 15%; top: 71.5%; }
  .hv-tv { top: 37%; }
  .hv-tm { top: 71.5%; }
  .hv-badge { top: 71.5%; left: 38.5%; }
  .hv-chrome { top: 18%; height: 71.5%; }
  .hv-tile small { margin-top: 3px; }
  .hv-nocloud { top: 40%; }
}
@media (max-width: 560px) {
  .hv-screen { aspect-ratio: 640 / 500; }
  .hv-tv { top: 37%; }
  .hv-tm, .hv-mt5, .hv-badge { top: 71%; }
  .hv-chrome { top: 18%; height: 71%; }
  .hv-chrome-head { height: 9%; }
  .hv-nocloud { top: 42%; }
}

/* ---------- phone header: logo and menu only; Add to Chrome lives inside the menu ---------- */
.nav-menu-cta { display: none; }
@media (max-width: 880px) {
  .nav-bar > .btn-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav .nav-links a.nav-menu-cta { display: flex; justify-content: center; margin-top: 14px; padding: 0 22px; min-height: 52px; font-size: 1.02rem; border-bottom: 1px solid rgba(94, 240, 178, .55); color: #eafff5; }
  .nav.is-open .nav-links a.nav-menu-cta { transition-delay: 150ms; }
}
/* phone diagram v2: back to the wide monitor; "Runs locally" moves to the empty top left, Chrome gets the full height */
@media (max-width: 560px) {
  .hv-screen { aspect-ratio: 640 / 400; }
  .hv-local { right: auto; left: 5%; top: 6%; }
  .hv-nocloud { left: 23.5%; top: 41%; }
  .hv-chrome { top: 5.5%; height: 83.5%; }
  .hv-chrome-head { height: 10%; }
  .hv-tv { top: 30%; }
  .hv-tm, .hv-mt5, .hv-badge { top: 70%; }
}
@media (max-width: 560px) { .hv-nocloud { top: 36.5%; } .hv-round { width: 8.5cqw; } .hv-nocloud { gap: 1.2cqw; } }

/* ---------- phones and tablets: sections melt into each other instead of meeting at hard edges ---------- */
@media (max-width: 899px) {
  /* the PRO band fades in from the page colour and back out, no border lines */
  .dark-band { border-top: 0; border-bottom: 0;
    background: linear-gradient(180deg, #040906 0, #06120c 180px, #06120c calc(100% - 180px), #040906 100%); }
  .dark-band::before { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 160px, transparent 60%); mask-image: linear-gradient(180deg, transparent 0, #000 160px, transparent 60%); }
  .dark-band::after { top: -200px; opacity: .7; }
  /* even rhythm between sections */
  section.block { padding: 64px 0; }
  #note { padding-block: 48px; }
  .circuit-rule { display: none; }
  /* FAQ straight into the closing block, no empty stretch */
  #faq { padding-bottom: 32px; }
  #faq .circuit { display: none; }
  .final-box { padding: 56px 0 72px; }
  .final-box::after { -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 65%); }
  /* the green glow at the bottom of the closing block fades into the footer */
  .final-box { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 48px, #000 calc(100% - 90px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 48px, #000 calc(100% - 90px), transparent 100%); }
  .footer { padding-top: 24px; }
}
@media (max-width: 880px) { .nav .nav-links a.nav-menu-cta { justify-self: stretch; width: 100%; } }

/* ---------- desktop diagram v3: "Runs locally" top left, Chrome window at full height ---------- */
.read-progress { display: none; }
@media (min-width: 561px) {
  .hv-local { right: auto; left: 4.5%; top: 6%; }
  .hv-nocloud { left: 23.5%; top: 41%; }
  .hv-chrome { top: 5.5%; height: 83.5%; }
  .hv-chrome-head { height: 10%; }
  .hv-tv { top: 30%; }
  .hv-tm, .hv-mt5, .hv-badge { top: 70%; }
  .hv-badge { left: 36.1%; }
}
/* pricing: a little more air between the two plans */
@media (min-width: 1100px) { #pricing .plans { gap: 48px; } }

/* ---------- headings, refined: a light geometric face, the closing words lit in mint ---------- */
.hero h1, main h2, .note-lead {
  font-family: "Geist", system-ui, sans-serif; font-weight: 400; letter-spacing: -0.045em; line-height: 1.04; color: #f3f7f5;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; }
.hero h1 { font-weight: 400; }
main h2 .hl, .hero h1 .hl, .note-lead .hl {
  background: linear-gradient(180deg, #c9ffe6 0%, #7cf5c2 45%, #2ee59d 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; }
.note-lead { font-weight: 400; letter-spacing: -0.03em; }

/* ---------- candle bands ---------- */
.candle-band { pointer-events: none; }
.candle-band svg { display: block; width: 100%; height: 100%; }
.cb-up { fill: #2ee59d; fill-opacity: .55; }
.cb-dn { fill: #050b08; stroke: #2ee59d; stroke-opacity: .38; stroke-width: 1.2; }
.cb-wu { stroke: #2ee59d; stroke-opacity: .5; stroke-width: 1.2; }
.cb-wd { stroke: #2ee59d; stroke-opacity: .28; stroke-width: 1.2; }
.cb-b { animation: cbBreathe 6s ease-in-out infinite; }
@keyframes cbBreathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .cb-b { animation: none; } }
/* hero: a low band behind the first screen, fading out at the edges */
.candle-hero { position: absolute; z-index: -1; left: 0; right: 0; top: calc(100svh - 34vh); height: 22vh; min-height: 140px; opacity: .55;
  -webkit-mask-image: radial-gradient(60% 90% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 90% at 50% 50%, #000 30%, transparent 75%); }
/* dividers between sections replace the old circuit rules */
.candle-divider { position: relative; height: 92px; max-width: 1200px; margin: 0 auto; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
/* closing block: candles low behind the copy and the terminal */
.candle-final { position: absolute; z-index: -1; left: 0; right: 0; bottom: 18%; height: 160px; opacity: .32;
  -webkit-mask-image: radial-gradient(55% 90% at 50% 50%, #000 25%, transparent 75%); mask-image: radial-gradient(55% 90% at 50% 50%, #000 25%, transparent 75%); }
@media (max-width: 899px) { .candle-divider { display: none; } .candle-hero { top: auto; bottom: 0; opacity: .4; } }
.candle-hero { top: auto; bottom: 0; height: 24vh; min-height: 150px; opacity: .5; }
.hero-top { position: relative; z-index: 0; }
.candle-hero { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, #000 45%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
.candle-divider { height: 110px; }
/* the hero band spans the whole screen width, not just the content column */
.hero-top .candle-hero { left: calc(50% - 50vw); right: calc(50% - 50vw); bottom: 0; }
@media (min-width: 921px) { .hero-top { overflow: visible; } }
.cb-up { fill-opacity: .72; }
.candle-hero { opacity: .62; }
.candle-divider { height: 150px; opacity: .55; }
.candle-final { bottom: 2%; height: 150px; opacity: .4; }

/* ---------- desktop diagram: a slimmer Chrome window, same right edge ---------- */
@media (min-width: 561px) {
  .hv-chrome { left: 52.88%; width: 40%; }
  .hv-tv, .hv-tm { left: 72.88%; }
  .hv-badge { left: 39%; }
}

/* ---------- hero candles: full on the left, only the lowest strip under the text on the right ---------- */
@media (min-width: 900px) {
  .hero-top .candle-hero {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 44%, transparent 58%), radial-gradient(70% 55% at 78% 100%, #000 35%, transparent 78%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 44%, transparent 58%), radial-gradient(70% 55% at 78% 100%, #000 35%, transparent 78%);
    -webkit-mask-composite: source-over; mask-composite: add; }
}

/* ---------- phone menu: Add to Chrome sized like a real button, not a banner ---------- */
@media (max-width: 880px) {
  .nav .nav-links a.nav-menu-cta { justify-self: start; width: auto; min-height: 44px; margin-top: 18px; padding: 0 22px; font-size: .95rem; border-radius: 999px; }
}
@media (max-width: 880px) { .nav .nav-links a.nav-menu-cta { margin-left: 0; margin-right: auto; } }
@media (max-width: 880px) { .nav .nav-links a.nav-menu-cta { justify-self: end; margin-left: auto; margin-right: 0; } }

/* ---------- hero candles on a route: the band covers the first screen, only the candles show ---------- */
@media (min-width: 900px) {
  .hero-top .candle-hero.is-route { top: 0; bottom: 0; height: auto; opacity: .62;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-over; mask-composite: add; }
  .hero-top .candle-hero.is-route svg { width: 100%; height: 100%; }
  /* a little more room between the stand and the trust points for the candles to pass */
  .hero-side { gap: 58px; }
}

/* ---------- the same refined title on the secondary pages ---------- */
.doc-hero h1, .not-found h1 {
  font-family: "Geist", system-ui, sans-serif; font-weight: 400; letter-spacing: -0.045em; line-height: 1.04; color: #f3f7f5;
  background: none; -webkit-text-fill-color: currentColor; }
.doc-hero h1 .hl, .not-found h1 .hl {
  background: linear-gradient(180deg, #c9ffe6 0%, #7cf5c2 45%, #2ee59d 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; }
@media (min-width: 900px) { .hero-side { gap: 46px; } }
@media (min-width: 900px) { .hero-side { gap: 62px; } }

/* ---------- Watch the demo: no play disc, a clean glass button with a light passing through ---------- */
.btn-demo { position: relative; overflow: hidden; isolation: isolate; padding: 0 30px; min-height: 54px; }
.btn-demo::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(160, 255, 210, .32), transparent); transform: skewX(-20deg); animation: ctaShine 4.5s var(--ease-in-out) infinite; animation-delay: 1.4s; }
@media (prefers-reduced-motion: reduce) { .btn-demo::after { animation: none; display: none; } }
@media (min-width: 1500px) { .btn-demo { padding: 0 34px; } }
/* hero candles through the middle: dimmed behind the copy, softened behind the monitor */
.candle-hero .cb-dim { opacity: .22; }
.candle-hero .cb-soft { opacity: .6; }
.candle-hero .cb-b.cb-dim { animation: none; }
@media (min-width: 900px) { .hero-side { gap: 34px; } .hero-top .candle-hero.is-route { opacity: .7; } }

/* ---------- note from the developer: a letter set in a reading italic ---------- */
.note-card { max-width: 1000px; }
.note-lead { font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin-bottom: 20px; }
.note-body p { margin: 0 0 12px; font-family: "Newsreader", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.08rem, 1.15vw, 1.22rem); line-height: 1.55; color: #c6d6cf; font-optical-sizing: auto; letter-spacing: .002em; }
.note-card blockquote .note-body p { color: #c6d6cf; font-size: clamp(1.08rem, 1.15vw, 1.22rem); line-height: 1.55; margin: 0 0 12px; }
.note-body .note-sign, .note-card blockquote .note-body .note-sign { margin-top: 18px; color: #e9fff5; font-weight: 500; }
@media (max-width: 640px) { .note-card blockquote .note-body p { font-size: 1.06rem; } }
.note-card blockquote .note-body p { max-width: 68ch; }
.note-lead { max-width: 30ch; }
.note-card blockquote .note-body .note-sign { color: #f1fbf6; }
.note-card blockquote .note-body p { max-width: none; font-size: clamp(1.14rem, 1.25vw, 1.32rem); line-height: 1.5; margin-bottom: 10px; }
.note-card blockquote .note-body .note-sign { margin-top: 14px; }
@media (max-width: 640px) { .note-card blockquote .note-body p { font-size: 1.1rem; } }

/* ---------- note from the developer, wide: photo and signature on the left, the letter on the right ---------- */
#note { padding-block: clamp(64px, 8vw, 120px); }
.note-card.note-wide { --nw: min(1360px, calc(100vw - 2 * clamp(20px, 3vw, 44px)));
  width: var(--nw); max-width: none; margin-left: calc((100% - var(--nw)) / 2); margin-right: 0;
  grid-template-columns: clamp(220px, 21vw, 330px) minmax(0, 1fr); gap: 0 clamp(36px, 4vw, 64px); padding: clamp(28px, 3vw, 48px) clamp(28px, 3.6vw, 56px); align-items: start; }
.note-wide .note-side { display: grid; gap: 20px; align-content: start; }
.note-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; border: 1px solid rgba(46, 229, 157, .3);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .02), 0 24px 60px -30px rgba(46, 229, 157, .5); }
.note-photo-placeholder { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 20%, #17432f, #071a11 70%); }
.note-photo-placeholder img { width: 34%; filter: drop-shadow(0 0 8px rgba(200, 255, 230, .6)) drop-shadow(0 0 22px rgba(46, 229, 157, .45)); }
.note-wide figcaption { grid-column: auto; display: grid; gap: 3px; padding-top: 0; margin-top: 0; border-top: 0; }
.note-wide figcaption b { color: #f1fbf6; font-size: 1.05rem; }
.note-wide figcaption span { color: #93a8a0; font-size: .92rem; }
.note-wide figcaption a { color: var(--electric); font-size: .92rem; }
.note-wide blockquote { align-self: center; }
.note-wide .note-lead { max-width: none; font-size: clamp(1.6rem, 2.3vw, 2.3rem); margin-bottom: 22px; }
.note-card.note-wide blockquote .note-body p { font-size: clamp(1.2rem, 1.35vw, 1.42rem); line-height: 1.52; margin-bottom: 12px; }
.note-card.note-wide::before { right: 44px; }
@media (max-width: 900px) {
  .note-card.note-wide { width: auto; margin-left: 0; grid-template-columns: 1fr; gap: 28px; }
  .note-wide .note-side { grid-template-columns: 120px 1fr; align-items: center; gap: 18px; }
  .note-photo { border-radius: 16px; }
}
@media (max-width: 900px) {
  .note-wide .note-side, .note-wide blockquote, .note-wide figcaption { min-width: 0; }
  .note-wide figcaption a { overflow-wrap: normal; font-size: .88rem; }
  .note-card.note-wide { padding: 26px 22px; }
}

/* note v3: kicker above the photo, larger and brighter letter */
.note-wide .note-side .note-kicker { margin: 0 0 -6px; }
.note-card.note-wide { --nw: min(1440px, calc(100vw - 2 * clamp(20px, 3vw, 44px))); grid-template-columns: clamp(200px, 18vw, 290px) minmax(0, 1fr); }
.note-wide .note-lead { font-size: clamp(1.75rem, 2.55vw, 2.6rem); color: #f6faf8; }
.note-card.note-wide blockquote .note-body p { font-size: clamp(1.26rem, 1.48vw, 1.56rem); line-height: 1.5; color: #e1ebe6; }
.note-card.note-wide blockquote .note-body .note-sign { color: #ffffff; }
#note { padding-block: clamp(80px, 10vw, 150px); }
.note-wide .note-lead { padding-right: 84px; } @media (max-width: 900px) { .note-wide .note-lead { padding-right: 0; } }
@media (max-width: 900px) {
  .note-card.note-wide { grid-template-columns: 1fr; }
  .note-wide .note-side { grid-template-columns: 110px 1fr; }
  .note-wide .note-side .note-kicker { grid-column: 1 / -1; margin: 0; }
  .note-wide .note-lead { font-size: 1.6rem; }
  .note-card.note-wide blockquote .note-body p { font-size: 1.14rem; }
}
/* note v4: one white for the whole letter, the card closes tight under the last line */
.note-card.note-wide blockquote .note-body p { color: #ffffff; }
.note-card.note-wide blockquote .note-body p:last-child { margin-bottom: 0; }
.note-card.note-wide { padding-bottom: clamp(22px, 2vw, 30px); align-items: start; }
.note-wide blockquote { align-self: start; }

/* ---------- note v5 (letter layout): wide and low, round photo, statement over a two-column letter ---------- */
#note { padding-block: clamp(90px, 11vw, 170px); position: relative; }
#note::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 58%; width: min(1100px, 80vw); height: 420px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(46, 229, 157, .16), rgba(14, 59, 46, .12) 55%, transparent 80%); pointer-events: none; }
.note-card.note-letter { position: relative; display: grid; grid-template-columns: clamp(220px, 19vw, 300px) minmax(0, 1fr); grid-template-rows: auto 1fr;
  gap: 26px clamp(40px, 4.5vw, 80px); padding: clamp(26px, 2.4vw, 36px) clamp(32px, 3.6vw, 60px) clamp(30px, 2.8vw, 44px); overflow: visible;
  background: linear-gradient(180deg, rgba(16, 40, 29, .78), rgba(6, 14, 10, .92)); }
.note-card.note-letter::before { content: "\201D"; right: clamp(40px, 5vw, 90px); top: auto; bottom: -86px; font-size: 13rem; line-height: 1; color: var(--electric); opacity: .9;
  text-shadow: 0 0 40px rgba(46, 229, 157, .45); font-family: Georgia, serif; }
.note-letter .note-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(110, 231, 183, .12); }
.note-letter .note-top .note-kicker { margin: 0; font-size: .82rem; letter-spacing: .02em; }
.note-letter .note-tag { color: #6f8a7f; font-size: .82rem; font-weight: 500; }
.note-letter .note-side { display: grid; justify-items: start; align-content: start; gap: 22px; padding-top: 6px; }
.note-letter .note-photo { width: clamp(140px, 12vw, 190px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 6px rgba(46, 229, 157, .06), 0 0 50px -12px rgba(46, 229, 157, .5); }
.note-letter .note-photo-placeholder img { width: 40%; }
.note-letter figcaption b { font-size: 1.15rem; color: var(--electric-hi); }
.note-letter blockquote { align-self: start; }
.note-card.note-letter .note-lead { padding-right: 0; max-width: 34ch; font-size: clamp(1.8rem, 2.5vw, 2.6rem); line-height: 1.12; margin: 0 0 24px; }
.note-letter .note-body { columns: 2; column-gap: clamp(32px, 3.4vw, 56px); }
.note-card.note-letter blockquote .note-body p { break-inside: avoid; font-size: clamp(1.05rem, 1.08vw, 1.18rem); line-height: 1.55; margin: 0 0 12px; color: #ffffff; }
.note-card.note-letter blockquote .note-body .note-sign { margin-top: 8px; margin-bottom: 0; }
@media (max-width: 1100px) { .note-letter .note-body { columns: 1; } }
@media (max-width: 900px) {
  .note-card.note-letter { grid-template-columns: 1fr; gap: 22px; padding: 24px 22px 30px; }
  .note-letter .note-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .note-letter .note-side { grid-template-columns: 96px 1fr; align-items: center; gap: 16px; }
  .note-letter .note-photo { width: 96px; }
  .note-card.note-letter::before { font-size: 8rem; bottom: -54px; right: 24px; }
  .note-card.note-letter .note-lead { font-size: 1.55rem; }
}
.note-card.note-letter blockquote .note-body p { break-inside: auto; }
.note-letter .note-body { column-fill: balance; }
.note-card.note-letter::before { bottom: -0.62em; line-height: .8; height: .62em; overflow: visible; }
@media (max-width: 900px) { .note-card.note-letter::before { bottom: -0.55em; } }
.note-card.note-letter::before { bottom: -0.34em; } @media (max-width: 900px) { .note-card.note-letter::before { bottom: -0.3em; } }

/* ---------- note v6: the composition: narrow left column, one compact column of text, quotes behind the glass ---------- */
#note .wrap { position: relative; isolation: isolate; }
.note-card.note-letter { grid-template-columns: clamp(200px, 15vw, 250px) minmax(0, 1fr); gap: 18px clamp(32px, 3.4vw, 56px);
  padding: clamp(24px, 2.2vw, 34px) clamp(34px, 3.4vw, 56px) clamp(28px, 2.4vw, 38px) clamp(28px, 2.6vw, 44px);
  background: linear-gradient(180deg, rgba(16, 40, 29, .62), rgba(6, 14, 10, .78)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.note-card.note-letter::before { display: none; }
.note-letter .note-top { padding-bottom: 0; border-bottom: 0; gap: 18px; justify-content: flex-start; }
.note-letter .note-top::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(110, 231, 183, .35), rgba(110, 231, 183, .05)); }
.note-letter .note-top .note-kicker { font-size: .95rem; white-space: nowrap; }
.note-letter .note-side { padding-top: 0; gap: 18px; }
.note-letter .note-photo { width: clamp(150px, 12vw, 190px); }
.note-letter figcaption b { font-size: clamp(1.15rem, 1.35vw, 1.4rem); line-height: 1.25; }
.note-letter figcaption span, .note-letter figcaption a { font-size: .98rem; }
.note-card.note-letter .note-lead { max-width: none; font-size: clamp(1.9rem, 2.7vw, 2.9rem); line-height: 1.1; margin: 0 0 18px; }
.note-letter .note-body { columns: 1; }
.note-card.note-letter blockquote .note-body p { font-size: clamp(1.02rem, 1.02vw, 1.14rem); line-height: 1.5; margin: 0 0 9px; }
/* the quote marks sit behind the card: the part under the glass shows through softly */
.note-quote { position: absolute; z-index: -1; right: clamp(40px, 7vw, 140px); bottom: calc(-1 * clamp(60px, 6vw, 96px)); width: clamp(130px, 11vw, 190px); height: auto; fill: var(--electric);
  filter: drop-shadow(0 0 28px rgba(46, 229, 157, .45)); }
/* a light under the card */
#note::before { top: auto; bottom: 4%; left: 34%; width: min(900px, 70vw); height: 360px;
  background: radial-gradient(closest-side, rgba(46, 229, 157, .34), rgba(20, 110, 74, .18) 50%, transparent 78%); filter: blur(10px); }
@media (max-width: 900px) {
  .note-card.note-letter { grid-template-columns: 1fr; }
  .note-letter .note-photo { width: 96px; }
  .note-card.note-letter .note-lead { font-size: 1.55rem; }
  .note-card.note-letter .note-lead br { display: none; }
  .note-quote { width: 96px; right: 24px; bottom: -48px; }
}
.note-quote { bottom: calc(-1 * clamp(34px, 3.4vw, 56px)); right: clamp(60px, 9vw, 170px); width: clamp(140px, 11vw, 200px); opacity: .95; }
#note::before { bottom: -6%; left: 38%; width: min(1000px, 72vw); height: 420px;
  background: radial-gradient(closest-side, rgba(46, 229, 157, .5), rgba(20, 110, 74, .26) 48%, transparent 78%); filter: blur(18px); }
@media (min-width: 901px) { .note-letter figcaption a { font-size: clamp(.84rem, .82vw, .98rem); white-space: nowrap; } }

/* ---------- note v7: the title stands on the left, a slim card on the right ---------- */
#note .note-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 4.5vw, 80px); align-items: center;
  max-width: min(1440px, calc(100vw - 2 * clamp(20px, 3vw, 44px))); }
.note-intro .note-kicker { margin: 0 0 18px; font-size: .95rem; }
.note-title { margin: 0; font-size: clamp(2.3rem, 3.5vw, 3.7rem); line-height: 1.06; letter-spacing: -0.045em; max-width: 14ch; }
.note-stage { position: relative; isolation: isolate; }
.note-card.note-split { max-width: none; width: auto; margin: 0; display: grid; grid-template-columns: clamp(150px, 12vw, 200px) minmax(0, 1fr); align-items: stretch;
  gap: 0 clamp(26px, 2.6vw, 44px); padding: clamp(24px, 2.2vw, 34px) clamp(26px, 2.6vw, 42px);
  background: linear-gradient(180deg, rgba(16, 40, 29, .62), rgba(6, 14, 10, .8)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.note-card.note-split::before { display: none; }
/* the side column stretches to the letter's height: photo at the top, the email ends level with the last line */
.note-split .note-side { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; }
.note-split .note-photo { width: 100%; max-width: 170px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 6px rgba(46, 229, 157, .06), 0 0 50px -12px rgba(46, 229, 157, .5); }
.note-split .note-photo-placeholder img { width: 40%; }
.note-split figcaption { display: grid; gap: 3px; margin: 0; padding: 0; border: 0; grid-column: auto; }
.note-split figcaption b { color: var(--electric-hi); font-size: 1.08rem; line-height: 1.25; }
.note-split figcaption span { color: #93a8a0; font-size: .9rem; }
.note-split figcaption a { color: var(--electric); font-size: clamp(.8rem, .78vw, .92rem); }
.note-split blockquote { margin: 0; align-self: stretch; }
.note-card.note-split blockquote .note-body p { margin: 0 0 9px; max-width: none; font-family: "Newsreader", Georgia, serif; font-style: italic;
  font-size: clamp(.98rem, .98vw, 1.1rem); line-height: 1.5; color: #ffffff; }
.note-card.note-split blockquote .note-body p:last-child { margin-bottom: 0; }
.note-stage .note-quote { right: clamp(30px, 5vw, 90px); bottom: calc(-1 * clamp(34px, 3.2vw, 52px)); width: clamp(120px, 9vw, 170px); }
#note::before { left: 62%; bottom: 0; width: min(900px, 60vw); }
@media (max-width: 1100px) {
  #note .note-layout { grid-template-columns: 1fr; gap: 28px; }
  .note-title { max-width: 20ch; }
}
@media (max-width: 640px) {
  .note-card.note-split { grid-template-columns: 1fr; gap: 22px; padding: 24px 22px 30px; }
  .note-split .note-side { flex-direction: row; align-items: center; justify-content: flex-start; }
  .note-split .note-photo { width: 92px; flex: none; }
  .note-title { font-size: 2rem; }
  .note-stage .note-quote { width: 92px; right: 22px; bottom: -36px; }
}
@media (min-width: 1101px) {
  #note .note-layout { grid-template-columns: minmax(300px, .5fr) minmax(0, 1.5fr); gap: clamp(32px, 3.6vw, 64px); }
  .note-title { font-size: clamp(2.1rem, 2.9vw, 3.3rem); max-width: 12ch; }
  .note-card.note-split { grid-template-columns: clamp(140px, 10vw, 180px) minmax(0, 1fr); padding: clamp(24px, 2vw, 32px) clamp(28px, 2.6vw, 44px); }
}
@media (min-width: 641px) { .note-split figcaption a { white-space: nowrap; font-size: clamp(.72rem, .7vw, .86rem); } }

/* ---------- note v8: photo and signature above, the card holds only the letter ---------- */
.note-author { display: flex; align-items: center; gap: 20px; margin: 0 0 22px 4px; }
.note-author .note-photo { width: clamp(76px, 6vw, 96px); aspect-ratio: 1; border-radius: 50%; flex: none;
  box-shadow: 0 0 0 5px rgba(46, 229, 157, .06), 0 0 40px -10px rgba(46, 229, 157, .55); border: 1px solid rgba(46, 229, 157, .35); }
.note-author .note-photo-placeholder img { width: 44%; }
.note-who { display: grid; gap: 2px; }
.note-who b { color: var(--electric-hi); font-size: 1.12rem; }
.note-who span { color: #93a8a0; font-size: .92rem; }
.note-who a { color: var(--electric); font-size: .92rem; }
.note-card.note-text { display: block; max-width: none; width: auto; margin: 0; padding: clamp(24px, 2.2vw, 34px) clamp(28px, 2.8vw, 46px);
  background: linear-gradient(180deg, rgba(16, 40, 29, .62), rgba(6, 14, 10, .8)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.note-card.note-text::before { display: none; }
.note-card.note-text blockquote { margin: 0; }
.note-card.note-text blockquote .note-body p { margin: 0 0 9px; max-width: none; font-family: "Newsreader", Georgia, serif; font-style: italic;
  font-size: clamp(1rem, 1vw, 1.12rem); line-height: 1.5; color: #fff; }
.note-card.note-text blockquote .note-body p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .note-author .note-photo { width: 72px; } .note-card.note-text { padding: 22px; } }
/* the letter in Lora italic */
.note-card.note-text blockquote .note-body p { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(.98rem, .96vw, 1.08rem); line-height: 1.55; }
.note-card.note-text blockquote .note-body .note-sign { font-weight: 500; }
/* the real photo: a little larger, ringed in mint; name in the title's white */
.note-author { gap: 22px; }
.note-author .note-photo { width: clamp(92px, 7.2vw, 118px); object-fit: cover; border: 2px solid rgba(46, 229, 157, .55); }
.note-who b { color: #f3f7f5; font-size: clamp(1.2rem, 1.4vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 640px) { .note-author .note-photo { width: 84px; } }
.note-author img.note-photo { height: auto; aspect-ratio: 1 / 1; display: block; }

/* ---------- note v9: key line, signature, aligned columns, quiet email, phone fold ---------- */
.note-card.note-text blockquote .note-body .note-key { margin: 16px 0 14px; font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 1.55vw, 1.65rem); line-height: 1.3; color: var(--electric-hi); }
.note-card.note-text blockquote .note-body .note-signature { margin: 6px 0 -6px; font-family: "Mrs Saint Delafield", cursive; font-style: normal;
  font-size: clamp(2.4rem, 3vw, 3.2rem); line-height: 1; color: #e9fff5; opacity: .9; transform: rotate(-3deg); transform-origin: left center; }
.note-who a { color: #93a8a0; text-decoration: none; }
.note-who a:hover { color: var(--electric); }
@media (min-width: 1101px) {
  #note .note-layout { align-items: start; }
  .note-intro { padding-top: 6px; }
}
/* phones: the first two paragraphs, then "Read the full note" */
.note-more { display: none; }
@media (max-width: 640px) {
  .note-text.is-folded .note-body > p:nth-child(n+3) { display: none; }
  .note-text.is-folded .note-body { position: relative; }
  .note-text.is-folded .note-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(8, 20, 14, .95)); }
  .note-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
    font: inherit; font-weight: 600; font-size: .95rem; color: #e9fff5; background: rgba(46, 229, 157, .1); border: 1px solid rgba(46, 229, 157, .45); }
  .note-text:not(.is-folded) .note-more { display: none; }
}
.note-card.note-text blockquote .note-body .note-signature { margin: 16px 0 0 4px; transform: rotate(-2deg); }
/* note v10: smaller key line; the signature sits on the right, level with the sign-off */
.note-card.note-text blockquote .note-body .note-key { font-size: clamp(1.12rem, 1.25vw, 1.32rem); margin: 10px 0 9px; }
.note-card.note-text blockquote .note-body .note-signature { text-align: right; margin: -1.15em 0 0 auto; padding-right: 8px; transform: rotate(-3deg); transform-origin: right center; }
@media (max-width: 640px) { .note-card.note-text blockquote .note-body .note-signature { margin-top: 8px; } }
@media (min-width: 641px) { .note-card.note-text blockquote .note-body .note-signature { margin-top: -0.62em; margin-bottom: -6px; } }

/* install guide video */
.guide-video { margin: 0 0 36px; }
.guide-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #040906;
  border: 1px solid rgba(46, 229, 157, .3); box-shadow: 0 0 0 6px rgba(255, 255, 255, .02), 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 60px -24px rgba(46, 229, 157, .45); }
.guide-video figcaption { margin-top: 10px; color: #93a8a0; font-size: .9rem; }

/* ---------- secondary pages: the title's glow fades into the page, no hard edge ---------- */
.doc-hero { background: transparent; overflow: visible; }
.doc-hero::after { bottom: -340px; height: 560px; opacity: .55;
  background: radial-gradient(closest-side, rgba(46, 229, 157, .42), rgba(14, 59, 46, .22) 55%, transparent 82%); }
.doc { position: relative; z-index: 1; background: transparent; }

/* ---------- support page ---------- */
.support-index { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 44px; }
.support-index a { padding: 9px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; text-decoration: none; color: #dbe9e3;
  background: rgba(46, 229, 157, .07); border: 1px solid rgba(46, 229, 157, .28); transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.support-index a:hover { background: rgba(46, 229, 157, .16); border-color: rgba(46, 229, 157, .6); color: #fff; }
.support-item { padding: 34px 0; border-top: 1px solid rgba(110, 231, 183, .12); scroll-margin-top: 96px; }
.support-item:first-of-type { border-top: 0; padding-top: 0; }
.support .support-item h2 { margin: 0 0 12px; }
.support-shot { display: block; width: 100%; height: auto; margin: 18px 0 6px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(46, 229, 157, .25); box-shadow: 0 20px 50px -28px rgba(0, 0, 0, .9); }
.support pre { margin: 12px 0; padding: 14px 18px; border-radius: 10px; overflow-x: auto; background: rgba(4, 10, 7, .9); border: 1px solid rgba(46, 229, 157, .25); }
.support pre code { background: none; border: 0; padding: 0; color: var(--electric-hi); font-family: "JetBrains Mono", Consolas, monospace; font-size: .95rem; }
.support ul { margin: 10px 0; }
.support-shot { width: auto; max-width: 100%; }
/* secondary pages: less room between the title block and the content */
.doc-hero { padding-bottom: 28px; }
.doc { padding-top: clamp(20px, 2.4vw, 32px); }
.doc .wrap > :first-child { margin-top: 0; }

/* buy page */
.checkout-slot { min-height: 220px; padding: 28px; border-radius: 18px; background: rgba(6, 14, 10, .6); border: 1px solid rgba(46, 229, 157, .22); }
.buy .fine { margin-top: 18px; color: #93a8a0; font-size: .9rem; }
