/* FX Space landing — "the working trader". Bright daylight office mood: cool
   paper and white, navy ink for text, bullion gold for the one thing to press.
   IBM Plex Sans Thai for everything on the page; the rebuilt product screens
   use Trader Hub's own day theme and Chakra Petch numbers so they look like
   the real app. */

:root {
  --paper: #f5f6f8;
  --white: #ffffff;
  --tint: #eaeff5;
  --sky: #bfd3e6;
  --ink: #131c2b;
  --ink-2: #4e5b6e;
  --rule: #dce1e8;

  --gold: #f2b620;
  --gold-hover: #f7c64a;
  --gold-ink: #2a1e00;
  --gold-text: #7a5600;
  --gold-soft: #fdf3d6;

  --ok: #0b7350;
  --watch: #8a5a00;
  --danger: #c93a2a;
  --urgent: #b0124c;

  /* Trader Hub day theme, for the rebuilt product screens */
  --th-bg: #e9eff2;
  --th-panel: #ffffff;
  --th-panel-2: #f2f6f8;
  --th-line: #d8e2e7;
  --th-text: #0d2130;
  --th-text-2: #4b6575;
  --th-gain: #078556;
  --th-loss: #cc4234;
  --th-brass: #9a6a0e;
  --th-sea: #1a7f93;
  --th-urgent: #a3112f;
  --th-buy: #2a7cc2;
  --th-sell: #8e58c4;

  --font: "IBM Plex Sans Thai", "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, sans-serif;
  --num: "Chakra Petch", "IBM Plex Sans Thai", "Leelawadee UI", system-ui, sans-serif;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 { font-size: clamp(27px, 2.6vw + 14px, 44px); line-height: 1.36; }
h3 { font-size: 20px; line-height: 1.45; font-weight: 600; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.nw { white-space: nowrap; }
@media (max-width: 340px) { .nw { white-space: normal; } }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* Section surfaces */
.s-paper { background: var(--paper); }
.s-white { background: var(--white); }
.s-tint { background: var(--tint); }

/* Logo mark */
.mark { width: 26px; height: 26px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 12px; border: 0;
  font: 600 17px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-wide { width: 100%; }

.tag-sample { font: 600 12px/1.6 var(--font); color: var(--gold-text); background: var(--gold-soft); border-radius: 999px; padding: 0 9px; white-space: nowrap; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 246, 248, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; color: inherit; margin-right: auto; letter-spacing: .01em; }
.top-nav { display: none; gap: 22px; font-size: 15px; }
.top-nav a { color: var(--ink-2); text-decoration: none; }
.top-nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .top-nav { display: flex; } }

/* Hero */
.hero { overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 36px 56px; }
@media (min-width: 940px) { .hero-in { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 56px; align-items: center; padding-block: 56px 88px; } }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(30px, 1.6vw + 22px, 54px); line-height: 1.32; margin-bottom: 22px; text-wrap: balance; }
@media (max-width: 939px) { .hero h1 { font-size: clamp(30px, 6vw + 9px, 46px); } }
.lead { font-size: clamp(17px, .5vw + 15px, 20px); color: var(--ink-2); max-width: 33em; margin-bottom: 30px; }
.offer { background: var(--gold-soft); border: 1px solid rgba(242, 182, 32, .55); border-radius: 14px; padding: 12px 16px; margin-bottom: 22px; max-width: 34em; }
.offer b { color: var(--gold-text); font-weight: 700; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-note { font-size: 15px; color: var(--ink-2); line-height: 1.8; }

.hero-photo { position: relative; margin: 0 0 28px; }
.hero-photo img { width: 100%; border-radius: 24px; aspect-ratio: 928 / 1152; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(19, 28, 43, .45); }
@media (max-width: 939px) { .hero-photo img { aspect-ratio: 4 / 3.4; object-position: 50% 62%; } }
.toast {
  position: absolute; left: -14px; bottom: -22px; width: min(330px, 86%);
  background: var(--white); border-radius: 18px; padding: 12px 14px 12px;
  box-shadow: 0 18px 40px -12px rgba(19, 28, 43, .35), 0 0 0 1px rgba(19, 28, 43, .06);
  line-height: 1.5;
}
@media (min-width: 940px) { .toast { left: -48px; bottom: 64px; } }
.toast-app { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.toast-app .mark { width: 20px; height: 20px; }
.toast-app b { font-weight: 600; color: var(--ink); }
.toast-app time { margin-left: auto; }
.toast-title { font-weight: 600; font-size: 15.5px; }
.toast-body { font-size: 14.5px; color: var(--ink-2); }
.toast .tag-sample { position: absolute; top: -10px; right: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: toast-in .6s cubic-bezier(.2, .8, .2, 1) .5s both; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
}

/* Photos */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 20px; }

/* Pains */
.pains { padding: 64px 0 72px; }
.pains-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 940px) { .pains-in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; } .pains-photo { position: sticky; top: 96px; } }
.pains h2 { margin-bottom: 22px; text-wrap: balance; }
.pain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pain-list li { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.was { color: var(--ink-2); }
.now { font-weight: 600; padding-left: 14px; border-left: 3px solid var(--gold); }

/* One working day */
.day-sec { padding: 64px 0 72px; }
.day-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 940px) { .day-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; } }
.day-copy h2 { margin-bottom: 14px; text-wrap: balance; }
.day-copy > p { color: var(--ink-2); font-size: 18px; margin-bottom: 18px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.key { width: 14px; height: 14px; border-radius: 4px; }
.key-work { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--rule); }
.key-fx { background: var(--gold); }

.planner { margin: 0; background: var(--white); border-radius: 22px; padding: 16px 16px 8px; box-shadow: 0 24px 50px -28px rgba(19, 28, 43, .4); }
@media (min-width: 700px) { .planner { padding: 20px 22px 10px; } }
.planner-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.planner-head strong { font-weight: 600; margin-right: auto; }
.now-chip { font-size: 14px; color: var(--ink-2); }
.now-chip b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-list { list-style: none; margin: 0; padding: 0; position: relative; }
.plan-list::before { content: ""; position: absolute; left: 50px; top: 10px; bottom: 10px; width: 2px; background: var(--tint); }
.plan-list li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding: 6px 0; }
.plan-list time { font-weight: 600; font-size: 14px; color: var(--ink-2); padding-top: 9px; font-variant-numeric: tabular-nums; }
.plan-list li > div { border-radius: 12px; padding: 8px 12px; display: grid; line-height: 1.5; }
.plan-list b { font-weight: 600; font-size: 15.5px; }
.plan-list span { font-size: 14px; color: var(--ink-2); }
.p-work > div { background: var(--paper); color: var(--ink-2); }
.p-work b { font-weight: 500; }
.p-glance > div { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--sky); }
.p-fx > div { background: var(--gold-soft); box-shadow: inset 4px 0 0 var(--gold); }
.p-alert > div { background: #fff4d9; }
.plan-list li::after { content: ""; position: absolute; left: 46px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--rule); }
.plan-list .p-fx::after { background: var(--gold); box-shadow: none; }
.js-anim .plan-list .later > div, .js-anim .plan-list .later::after { opacity: 0; transform: translateX(10px); }
.plan-list li > div, .plan-list li::after { transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
.js-anim .plan-list .later.shown > div, .js-anim .plan-list .later.shown::after { opacity: 1; transform: none; }

/* Section heads */
.sec-head { max-width: 40em; margin-bottom: 26px; }
.sec-head h2 { margin-bottom: 12px; text-wrap: balance; }
.sec-head p { color: var(--ink-2); font-size: 18px; }

/* Smart Dashboard */
.screen-sec { padding: 64px 0 72px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 28px; }
@media (min-width: 940px) { .split-head { grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; align-items: center; } .split-head .sec-head { margin-bottom: 0; } }
.asks-lead { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.asks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ask { font: 600 15.5px/1.3 var(--font); color: var(--ink); background: var(--white); border: 1.5px solid var(--rule); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.ask:hover { border-color: var(--ink-2); }
.ask[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ask-answer { min-height: 1.75em; font-size: 16.5px; margin-bottom: 18px; }

.device { margin: 0; background: var(--white); border-radius: 20px; box-shadow: 0 30px 60px -32px rgba(19, 28, 43, .4), 0 0 0 1px var(--rule); overflow: hidden; }
.device-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--white); border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 13px; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.device-title { margin-right: auto; }

.app { background: var(--th-bg); color: var(--th-text); padding: 14px; font-size: 14.5px; line-height: 1.6; }
@media (min-width: 820px) { .app { padding: 20px; } }
.app-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tabs span { white-space: nowrap; padding: 5px 12px; border-radius: 999px; color: var(--th-text-2); background: var(--th-panel); font-size: 13.5px; }
.app-tabs span { box-shadow: inset 0 0 0 1px var(--th-line); }
.app-tabs .on { background: var(--th-sea); color: #ffffff; font-weight: 600; box-shadow: none; }
.app-label { color: var(--th-text-2); font-size: 13.5px; }
.app-hero { background: var(--th-panel); border: 1px solid var(--th-line); border-radius: 16px; padding: 16px; display: grid; gap: 14px; margin-bottom: 12px; }
@media (min-width: 820px) { .app-hero { grid-template-columns: auto 1fr; align-items: end; column-gap: 40px; padding: 20px 22px; } .app-gauge { grid-column: 1 / -1; } }
.app-big { font-family: var(--num); font-weight: 600; font-size: clamp(34px, 5vw, 52px); line-height: 1.25; font-variant-numeric: tabular-nums; }
.app-big small { font-size: .42em; color: var(--th-text-2); }
.app-sub { color: var(--th-text-2); font-size: 13.5px; }
.app-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
@media (min-width: 820px) { .app-facts { grid-template-columns: repeat(4, auto); justify-content: end; gap: 10px 28px; } }
.app-facts dt { color: var(--th-text-2); font-size: 12.5px; }
.app-facts dd { margin: 0; font-family: var(--num); font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.app-facts .spot-area { padding: 2px 8px; margin: -2px -8px; }
.neg { color: var(--th-loss); }
.pos { color: var(--th-gain); }
.watch { color: var(--th-brass); }
.app-gauge { position: relative; height: 16px; border-radius: 8px; background: var(--th-panel-2); }
.g-fill { position: absolute; inset: 0 auto 0 0; background: var(--th-sea); border-radius: 8px 0 0 8px; }
.g-gap { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(204, 66, 52, .75) 0 2px, transparent 2px 6px); border-radius: 0 8px 8px 0; }
.g-tick { position: absolute; top: -4px; bottom: -4px; width: 2px; }
.t20 { background: var(--th-brass); } .t40 { background: var(--th-loss); } .t50 { background: var(--th-urgent); }
.app-periods { background: var(--th-panel); border: 1px solid var(--th-line); border-radius: 16px; padding: 12px 16px; margin-bottom: 12px; }
.app-periods dl { margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (min-width: 820px) { .app-periods dl { grid-template-columns: repeat(4, 1fr); } }
.app-periods dt { font-size: 12.5px; color: var(--th-text-2); }
.app-periods dd { margin: 0; font-family: var(--num); font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.app-grid { display: grid; gap: 12px; }
@media (min-width: 980px) { .app-grid { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.app-panel { background: var(--th-panel); border: 1px solid var(--th-line); border-radius: 16px; padding: 12px 14px; }
.app-panel-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 6px; font-weight: 600; }
.app-panel-head small { color: var(--th-text-2); font-weight: 400; font-size: 12.5px; }
.ports { list-style: none; margin: 0; padding: 0; }
.ports li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--th-line); }
.ports .p-name { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.p-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--th-gain); flex: none; }
.p-dot.off { background: transparent; box-shadow: inset 0 0 0 2px var(--th-text-2); }
.ports .p-dd { font-family: var(--num); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.p-gauge { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 4px; background: var(--th-panel-2); overflow: hidden; }
.p-gauge .g-fill, .p-gauge .g-gap { border-radius: 0; }
.p-extra { display: none; font-family: var(--num); font-variant-numeric: tabular-nums; text-align: right; }
@media (min-width: 820px) {
  .ports li { grid-template-columns: 170px 1fr 70px 96px 96px; }
  .p-gauge { grid-column: auto; }
  .p-extra { display: block; }
}
.attn { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.attn li { padding: 8px 10px; border-radius: 10px; background: var(--th-panel-2); border-left: 3px solid; display: grid; line-height: 1.5; }
.attn span { color: var(--th-text-2); font-size: 13.5px; }
.a-off { border-color: var(--th-text-2); }
.a-watch { border-color: var(--th-brass); }
.spot-area { border-radius: 12px; transition: box-shadow .25s ease, background-color .25s ease; }
.spot-area.lit { box-shadow: 0 0 0 3px var(--gold), 0 0 0 9px rgba(242, 182, 32, .22); background-color: rgba(242, 182, 32, .08); }
.more-screens { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px 32px; }
@media (min-width: 760px) { .more-screens { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .more-screens { grid-template-columns: repeat(4, 1fr); } }
.more-screens li { color: var(--ink-2); font-size: 16px; }
.more-screens b { display: block; color: var(--ink); font-weight: 600; font-size: 17px; }

/* Simulator (Pro) */
.sim-sec { padding: 64px 0 72px; }
.sim-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 940px) { .sim-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } .sim-copy { position: sticky; top: 96px; } }
.pro-tag { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold-text); background: var(--gold-soft); border-radius: 999px; padding: 2px 12px; margin-bottom: 12px; }
.pro-chip { font-size: 12.5px; font-weight: 600; color: var(--gold-text); background: var(--gold-soft); border-radius: 999px; padding: 1px 9px; vertical-align: 3px; }
.sim-copy h2 { margin-bottom: 14px; }
.sim-copy > p { color: var(--ink-2); font-size: 18px; margin-bottom: 18px; }
.dots-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dots-list li { padding-left: 18px; position: relative; color: var(--ink-2); }
.dots-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.sim { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 22px; padding: 18px; box-shadow: 0 24px 50px -30px rgba(19, 28, 43, .35); }
.sim-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.sim-top strong { font-weight: 600; }
.sim-top strong span { color: var(--ink-2); font-weight: 400; }
.reads { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 1px; background: var(--rule); border-radius: 14px; overflow: hidden; margin: 0 0 16px; }
.reads div { background: var(--paper); padding: 9px 11px; }
.reads dt { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.reads dd { margin: 0; font-family: var(--num); font-weight: 600; font-size: 19px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.reads dd small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.reads dd.up { color: var(--ok); }
.reads dd.down { color: var(--danger); }
.st { display: inline-block; font: 600 14px/1.6 var(--font); padding: 1px 10px; border-radius: 999px; white-space: nowrap; }
.st-calm { background: #e1f3ea; color: var(--ok); }
.st-watch { background: #fbf0d6; color: var(--watch); }
.st-danger { background: #fde5e1; color: var(--danger); }
.st-urgent { background: #fbe0ea; color: var(--urgent); }
.st-out { background: var(--urgent); color: #fff; }
.ladder { position: relative; height: 430px; display: grid; grid-template-columns: 64px 12px 1fr; column-gap: 12px; margin: 4px 0 16px; }
.lad-scale, .lad-notes { position: relative; }
.lad-rail { position: relative; border-radius: 8px; overflow: hidden; background: var(--tint); }
.lad-zone { position: absolute; left: 0; right: 0; }
.lad-sunk { position: absolute; left: 0; right: 0; top: 0; height: 0; background: repeating-linear-gradient(135deg, rgba(19, 28, 43, .55) 0 2px, transparent 2px 6px); z-index: 1; }
.lad-sunk.gain { background: repeating-linear-gradient(135deg, rgba(11, 115, 80, .7) 0 2px, transparent 2px 6px); }
.lad-mark { position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid var(--ink); z-index: 2; }
.lad-price { position: absolute; right: 0; transform: translateY(-50%); font: 600 12.5px/1.4 var(--num); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lad-chip { position: absolute; right: -4px; transform: translateY(-50%); font: 600 13px/1.5 var(--num); background: var(--ink); color: #fff; padding: 0 7px; border-radius: 6px; white-space: nowrap; z-index: 3; font-variant-numeric: tabular-nums; }
.lad-tick { position: absolute; left: 0; right: 0; transform: translateY(-50%); font-size: 14px; line-height: 1.45; padding-left: 10px; border-left: 3px solid currentColor; }
.lad-tick b { font-family: var(--num); font-weight: 600; }
.k-ok { color: var(--ok); } .k-watch { color: var(--watch); } .k-danger { color: var(--danger); } .k-urgent { color: var(--urgent); } .k-out { color: #5a0f2a; }
.try { display: grid; gap: 6px; }
.try label { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); font-size: 15px; }
.try output { font: 600 16px/1.5 var(--num); color: var(--ink); }
.try output.up, .presets .p-up { color: var(--ok); }
.try output.down, .presets .p-down { color: var(--danger); }
input[type="range"] { width: 100%; height: 32px; accent-color: var(--ink); cursor: pointer; margin: 0; }
.try-axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); position: relative; margin-top: -2px; }
.try-zero { position: absolute; left: 66.67%; transform: translateX(-50%); padding-top: 6px; }
.try-zero::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 6px; background: var(--ink-2); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.presets button { font: 600 14px/1.3 var(--font); color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.presets button:hover { border-color: var(--ink-2); }
.verdict { margin-top: 12px; padding: 13px 15px; border-radius: 14px; background: var(--paper); border: 1px solid var(--rule); font-size: 16px; line-height: 1.6; }
.verdict b { font-family: var(--num); font-weight: 700; font-size: 1.12em; }
.verdict b.up { color: var(--ok); }
.verdict b.down { color: var(--danger); }
.verdict .topup { display: inline-block; color: var(--urgent); margin-top: 4px; font-weight: 600; }
.sim-foot { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; }

/* News */
.news-sec { padding: 64px 0 72px; }
.news-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 940px) { .news-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; } }
.news-photo { margin-bottom: 22px; }
.news-copy h2 { margin-bottom: 14px; }
.news-copy > p { color: var(--ink-2); font-size: 18px; margin-bottom: 18px; }
.news-note { font-size: 14.5px; color: var(--ink-2); margin-top: 18px; padding-left: 12px; border-left: 3px solid var(--gold); }
.news-app { display: grid; gap: 12px; }
@media (min-width: 640px) { .news-app { grid-template-columns: 1fr 1fr; } .news-app > :first-child { grid-column: 1 / -1; } }
@media (min-width: 940px) { .news-device { position: sticky; top: 96px; } }
.lean-label { font-weight: 600; font-size: 18px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 2px 0 10px; }
.conf { font-size: 12.5px; font-weight: 500; color: var(--th-text-2); background: var(--th-panel-2); border-radius: 999px; padding: 1px 9px; }
.lean { position: relative; display: flex; height: 12px; border-radius: 6px; overflow: hidden; }
.lean-sell { background: var(--th-sell); }
.lean-buy { background: var(--th-buy); }
.lean-mid { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--th-panel); }
.lean-ends { display: flex; justify-content: space-between; font: 600 12.5px/1.6 var(--num); color: var(--th-text-2); margin: 4px 0 10px; }
.t-sell { color: var(--th-sell); }
.t-buy { color: var(--th-buy); }
.news-facts { margin: 0; display: grid; gap: 8px 20px; border-top: 1px solid var(--th-line); padding-top: 10px; }
@media (min-width: 640px) { .news-facts { grid-template-columns: 1fr 1fr; } }
.news-facts dt { font-size: 12.5px; color: var(--th-text-2); }
.news-facts dd { margin: 0; font-family: var(--num); font-weight: 600; font-size: 16px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.news-facts small { font-size: 12.5px; font-weight: 500; }
.against { font: 600 12.5px/1.6 var(--font); color: var(--th-brass); background: #fbf0d6; border-radius: 999px; padding: 0 8px; }
.impact { font: 600 12px/1.6 var(--font); border-radius: 999px; padding: 0 8px; white-space: nowrap; }
.i-high { color: #a8352a; background: #fde6e2; }
.i-mid { color: var(--th-brass); background: #fbf0d6; }
.next-name { font-weight: 600; font-size: 17px; display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.next-when { font-family: var(--num); font-weight: 600; color: var(--th-sea); }
.next-fc { color: var(--th-text-2); font-size: 13.5px; }
.next-hint { margin-top: 6px; font-size: 13.5px; background: var(--th-panel-2); border-radius: 8px; padding: 4px 8px; display: inline-block; }
.drivers, .events { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.drivers li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 14px; }
.drivers b { font-family: var(--num); font-weight: 600; color: var(--th-text-2); }
.side { font: 600 11.5px/1.7 var(--num); border-radius: 6px; padding: 0 6px; }
.s-sell { color: #ffffff; background: var(--th-sell); }
.s-buy { color: #ffffff; background: #2470b0; }
.events li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 14px; padding-top: 6px; border-top: 1px solid var(--th-line); }
.events li:first-child { border-top: 0; padding-top: 0; }
.events time { font-family: var(--num); font-weight: 600; color: var(--th-text-2); white-space: nowrap; }

/* Alerts */
.alerts-sec { padding: 64px 0 72px; }
.alert-rows { display: grid; gap: 14px; }
.alert-row { display: grid; gap: 16px; padding: 20px; background: var(--white); border-radius: 20px; }
@media (min-width: 860px) { .alert-row { grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding: 24px 28px; } }
.alert-what h3 { margin-bottom: 6px; }
.alert-what p { color: var(--ink-2); }
.chat { background: #dbe6f1; border-radius: 16px; padding: 14px; }
.msg {
  background: var(--white); color: var(--ink); border-radius: 14px 14px 14px 4px; padding: 10px 13px 8px;
  font-size: 14px; line-height: 1.62; white-space: pre-line; overflow-wrap: anywhere;
  box-shadow: 0 1px 1px rgba(19, 28, 43, .08);
}
.msg b { font-weight: 600; }
.msg time { display: block; text-align: right; font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.m-watch b { color: var(--watch); }
.m-off b { color: var(--ink-2); }
.m-urgent b { color: var(--urgent); }
.also { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px 32px; }
@media (min-width: 760px) { .also { grid-template-columns: 1fr 1fr; } }
.also li { color: var(--ink-2); }
.also b { display: block; color: var(--ink); font-weight: 600; }

/* Units + time zone */
.units-sec { padding: 64px 0 72px; }
.units-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 940px) { .units-in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; } }
.units-copy h2 { margin-bottom: 14px; text-wrap: balance; }
.units-copy > p { color: var(--ink-2); font-size: 18px; margin-bottom: 20px; }
.units-demo { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: 18px; display: grid; gap: 14px; box-shadow: 0 24px 50px -32px rgba(19, 28, 43, .35); }
.ud-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ud-head b { font-weight: 600; }
.ud-row { display: grid; gap: 6px; }
.ud-label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.seg2 { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1.5px solid var(--rule); border-radius: 12px; padding: 4px; gap: 4px; }
.seg2 button { font: 600 15px/1.3 var(--font); border: 0; background: transparent; color: var(--ink-2); border-radius: 9px; padding: 9px 4px; cursor: pointer; }
.seg2 button:hover { color: var(--ink); }
.seg2 button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.ud-out { margin: 0; display: grid; gap: 12px; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px; }
.ud-out dt { font-size: 13.5px; color: var(--ink-2); }
.ud-out dd { margin: 0; font-family: var(--num); font-weight: 600; font-size: clamp(26px, 1.6vw + 18px, 34px); line-height: 1.3; font-variant-numeric: tabular-nums; }
.ud-out dd small { font-size: .5em; color: var(--ink-2); }
.ud-out dd.up { color: var(--ok); }
.ud-day { font-size: 13.5px; color: var(--ink-2); }
.ud-rate { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px 12px; font-size: 15px; }
.ud-rate b { font-weight: 600; }
.ud-src { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* Safety */
.trust-sec { padding: 64px 0 72px; }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 940px) { .trust-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; } }
.trust-block h2 { margin-bottom: 20px; text-wrap: balance; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.ticks b { color: var(--ink); font-weight: 600; }
.flow { display: grid; max-width: 440px; width: 100%; justify-self: center; }
.flow-node { background: var(--paper); border: 1.5px solid var(--rule); border-radius: 14px; padding: 10px 14px; font-weight: 600; text-align: center; line-height: 1.45; }
.flow-node small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13.5px; }
.flow-node.lit { background: var(--gold-soft); border-color: var(--gold); }
.flow-node.lit small { color: var(--gold-text); }
.flow-arrow { position: relative; height: 46px; }
.flow-arrow::before { content: ""; position: absolute; left: calc(50% - 1px); top: 4px; bottom: 11px; width: 2px; background: var(--ink-2); }
.flow-arrow::after { content: ""; position: absolute; left: calc(50% - 6px); bottom: 4px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--ink-2); }
.flow-arrow span { position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.flow-no { text-align: center; font-size: 14.5px; color: var(--danger); margin-top: 10px; }
.flow-no b { font-weight: 700; }

/* Steps — a real sequence, so it is numbered */
.steps-sec { padding: 64px 0 80px; }
.steps-sec h2 { margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps li { counter-increment: step; position: relative; padding-top: 60px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 20px; background: var(--gold); color: var(--gold-ink); }
.steps li::after { content: ""; position: absolute; top: 21px; left: 56px; right: 0; height: 2px; background: var(--rule); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }

/* Pricing */
.pricing-sec { padding: 72px 0 64px; }
.trial { display: grid; gap: 10px 32px; background: var(--white); border: 2px solid var(--gold); border-radius: 20px; padding: 20px; margin-bottom: 24px; }
@media (min-width: 860px) { .trial { grid-template-columns: auto 1fr; align-items: center; padding: 24px 28px; } }
.trial-big { font-weight: 700; font-size: clamp(32px, 2vw + 22px, 44px); line-height: 1.25; color: var(--gold-text); white-space: nowrap; }
.trial ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.trial li { position: relative; padding-left: 26px; color: var(--ink-2); }
.trial li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 13px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.trial b { color: var(--ink); font-weight: 600; }
.plans { display: grid; gap: 14px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { position: relative; border: 1px solid var(--rule); border-radius: 20px; padding: 22px 20px; background: var(--white); display: grid; align-content: start; gap: 4px; }
.plan h3 { font-size: 22px; font-weight: 700; }
.price { font-size: 16px; color: var(--ink-2); }
.price b { font-weight: 700; font-size: 42px; color: var(--ink); line-height: 1.3; font-variant-numeric: tabular-nums; }
.accts { font-weight: 600; margin-bottom: 8px; }
.feat { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.feat li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.55; }
.feat li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.feat li.no { color: #6b778a; text-decoration: line-through; text-decoration-color: rgba(107, 119, 138, .6); }
.feat li.no::before { width: 11px; height: 0; border-left: 0; border-bottom: 2px solid #aab3c0; transform: none; top: .8em; }
.feat b { font-weight: 600; }
.plan-pick { border: 2px solid var(--gold); box-shadow: 0 24px 50px -30px rgba(122, 86, 0, .45); }
.pick { color: var(--gold-text); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.fine { color: var(--ink-2); font-size: 14.5px; margin-top: 22px; }

/* Waitlist */
.join-sec { padding: 64px 0 80px; }
.join-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 940px) { .join-in { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 64px; align-items: start; } }
.join-copy h2 { margin-bottom: 12px; }
.join-copy > p { color: var(--ink-2); font-size: 18px; }
.join-copy .privacy { font-size: 14.5px; margin-top: 20px; padding-left: 14px; border-left: 2px solid var(--rule); }
.form { background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: 22px 18px; display: grid; gap: 16px; }
@media (min-width: 700px) { .form { padding: 28px; } }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; align-content: start; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field legend { font-weight: 600; font-size: 15.5px; padding: 0; }
.field legend { margin-bottom: 6px; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px;
  background: var(--white); color: var(--ink); border: 1.5px solid #c6cfdb;
  font: 400 17px/1.4 var(--font);
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form input::placeholder { color: #6f7a8b; }
.form input:focus, .form select:focus { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(242, 182, 32, .35); }
.form [aria-invalid="true"] { border-color: var(--danger) !important; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1.5px solid #c6cfdb; border-radius: 12px; padding: 4px; gap: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 9px 4px; border-radius: 9px; cursor: pointer; font-weight: 500; color: var(--ink-2); }
.seg input:checked + label { background: var(--ink); color: var(--white); font-weight: 600; }
.seg input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 1px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--ink); }
.check b { font-weight: 600; color: var(--gold-text); }
.early-check { background: var(--gold-soft); border: 1px solid rgba(242, 182, 32, .5); border-radius: 14px; padding: 12px; }
.err { color: var(--danger); font-size: 14px; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15.5px; }
.form-status:empty { display: none; }
.form-status.ok { background: #e1f3ea; border: 1px solid #9fd3b9; border-radius: 14px; padding: 12px 14px; }
.form-status.bad { color: var(--danger); }
.form.done .field, .form.done .field-row, .form.done .check, .form.done #submit { display: none; }
button[disabled] { opacity: .65; cursor: progress; }

/* FAQ */
.faq-sec { padding: 64px 0 72px; }
.faq-in { display: grid; gap: 24px; }
@media (min-width: 940px) { .faq-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; } }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 600; font-size: 17.5px; position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding: 0 0 18px; max-width: 40em; }

/* Footer */
.foot { padding: 36px 0 48px; border-top: 1px solid var(--rule); }
.foot-in { display: grid; gap: 12px; color: var(--ink-2); font-size: 14px; max-width: 900px; }
.foot-brand { color: var(--ink); margin: 0 0 4px; }
.foot-small { font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
