/* ForecastsPro guided demo (demo.forecastspro.com/): one focused page, three steps, one run.
   Builds on tokens.css and base.css; colours come from the tokens (one shade per colour),
   plus the coins' brand marks. Mobile first. */

:root {
  --gd-max: 680px;
  --gd-bar-h: 48px;
  --gd-radius: 16px;
  --gd-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  --gd-subtle: #9d9fad;   /* base.css --text-subtle: AA on every surface here */
}

html { scrollbar-gutter: stable; }
body.gd {
  background:
    radial-gradient(ellipse 70% 420px at 50% -60px, rgba(88, 101, 242, 0.2), transparent 70%) no-repeat,
    var(--bg-deepest);
  font-size: .9375rem;
}
.gd [data-icon] { display: inline-block; width: 16px; height: 16px; flex: none; }

/* ---- Top bar: slim, always there, says what this is --------------------------------------- */
.gd-bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(26, 27, 30, 0.8);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.gd-bar-in {
  max-width: 1080px; margin: 0 auto;
  height: var(--gd-bar-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: var(--space-3);
}
/* The logo with the name (design/logo-name.svg, 24 px tall, as the site's header); on narrow
   phones only its tile shows: the first 24 px of the same picture. */
.gd-brand { flex: none; display: inline-flex; overflow: hidden; }
.gd-brand img { display: block; max-width: none; }
.gd-label {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0; font-size: .78125rem; color: var(--text-muted); line-height: 1.2;
}
.gd-label-pill {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  height: 1.125rem; padding: 0 7px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-text);
  font-size: .65625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.gd-label-pill::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor;
  animation: gd-pulse 2s var(--ease) infinite;
}
.gd-label-text { min-width: 0; }
.gd-bar-cta { flex: none; }
@keyframes gd-pulse { 50% { opacity: 0.3; } }

@media (max-width: 600px) {
  .gd-bar-cta { display: none; }
  .gd-label { justify-content: flex-end; }
}
@media (max-width: 400px) {
  .gd-brand { width: 24px; }
  .gd-label { font-size: .75rem; gap: 6px; }
}
@media (max-width: 374px) {
  .gd-bar-in { gap: 8px; }
  .gd-label { font-size: .71875rem; letter-spacing: -0.01em; white-space: nowrap; }
  .gd-label-pill { padding: 0 6px; }
  .gd-label-pill::before { display: none; }
}
/* Large browser text on a narrow screen (under 320 px at the default 16 px): words wrap. */
@media (max-width: 19.9375em) { .gd-label { white-space: normal; } }

/* ---- Page --------------------------------------------------------------------------------- */
.gd-main {
  max-width: calc(var(--gd-max) + 2 * var(--space-4));
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-8);
}
.gd-main:focus { outline: none; }
.gd-hero { text-align: center; padding: 28px 0 4px; }
.gd-hero h1, .gd-sale h2, .gd-lead { text-wrap: balance; }
.gd-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.025);
  color: var(--text-muted); font-size: .78125rem; font-weight: 550;
}
.gd-kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.gd-kicker-plain { border: 0; background: none; padding: 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: .71875rem; font-weight: 700; color: var(--accent-text); }
.gd-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(1.9375rem, 5.4vw + .75rem, 3.125rem);
  line-height: 1.06; letter-spacing: -0.035em; font-weight: 750;
}
.gd-grad {
  display: inline-block;   /* the highlighted words wrap as one piece */
  color: var(--accent-text);   /* the brand's light purple, plain */
}
.gd-lead { max-width: 32em; margin: 0 auto; color: var(--text-muted); font-size: .9375rem; line-height: 1.55; }
.gd-noscript { margin-top: var(--space-5); text-align: center; color: var(--warning); }

/* ---- A recorded real analysis (lawyer D14; the Disclaimer 1.11, "Demo data.") ---------------
   Under the lead, closed: "See a real analysis" opens what the AI answered on our own account,
   dated, as the app shows a run's holds (app.css .decision-holds, .reasoning, .why-conf and
   .why-watch): "No trade: ...", then each coin's reasoning word for word with its confidence,
   and its "Watching for: ..." on a quieter line of its own. */
.gd-real { margin-top: 10px; }
.gd-real-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  font-size: .84375rem; font-weight: 600; line-height: 1.5; color: var(--accent-text);   /* the page's one link colour */
  cursor: pointer; list-style: none; user-select: none;
}
.gd-real-link::-webkit-details-marker { display: none; }
@media (hover: hover) { .gd-real-link:hover { text-decoration: underline; text-underline-offset: 2px; } }
.gd-real-link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.gd-real[open] .gd-real-link .icon { transform: rotate(180deg); }
/* 44 px to hit on a touch screen, and the hero keeps its height (as the footer's links). */
@media (pointer: coarse) { .gd-real-link::after { content: ""; position: absolute; inset: -11px -8px; } }
.gd-real-panel {
  margin-top: 12px; padding: 16px; text-align: left;
  background: var(--gd-sheen); border: 1px solid var(--line); border-radius: var(--gd-radius);
  animation: gd-rise var(--dur-slow) var(--ease);
}
.gd-real-title { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.gd-real-title span { display: inline-block; }   /* on a phone each sentence keeps a line of its own */
.gd-real-date { margin-top: 2px; font-size: .78125rem; color: var(--gd-subtle); font-variant-numeric: tabular-nums; }
.gd-real-holds { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.gd-real-why { margin-top: 8px; display: grid; gap: 12px; }
.gd-real-coin { font-size: .84375rem; line-height: 1.55; color: var(--text-default); overflow-wrap: anywhere; }
.gd-real-coin b { color: var(--text-primary); font-weight: 700; }
/* "Confidence 68%" never splits across two lines (app.css .why-conf). */
.gd-real-conf { color: var(--gd-subtle); font-size: .78125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gd-real-watch { display: block; margin-top: 2px; color: var(--text-muted); font-size: .78125rem; line-height: 1.5; }
/* The app's AI label under the lines (app.css .ai-label): every AI answer carries it. */
.gd-real-ai { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .75rem; line-height: 1.4; color: var(--text-muted); }
.gd-real-ai .icon { width: 13px; height: 13px; color: var(--accent-text); }
.gd-real-own { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .78125rem; color: var(--gd-subtle); }

/* ---- The three steps ------------------------------------------------------------------------ */
.gd-steps { list-style: none; margin: 28px 0 0; padding: 0; }
.gd-step { position: relative; padding-left: 46px; padding-bottom: 22px; scroll-margin-top: calc(var(--gd-bar-h) + 12px); }
.gd-step:last-child { padding-bottom: 0; }
/* The rail joining the step numbers: it fades out toward the next number. */
.gd-step:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 40px; bottom: 6px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--border-soft), rgba(55, 57, 68, 0.15));
}
.gd-step[data-state="done"]:not(:last-child)::before { background: linear-gradient(rgba(69, 196, 116, 0.55), rgba(69, 196, 116, 0.08)); }
.gd-step-head { display: flex; align-items: flex-start; gap: 12px; min-height: 32px; }
.gd-num {
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--border-soft); background: var(--bg-deepest);
  color: var(--text-muted); font-size: .8125rem; font-weight: 700;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gd-num-ok { display: none; }
.gd-num-ok, .gd-num .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.gd-step[data-state="active"] .gd-num { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 5px var(--accent-soft); }
.gd-step[data-state="done"] .gd-num { background: var(--success-surface); border-color: transparent; color: var(--success); }
.gd-step[data-state="done"] .gd-num-n { display: none; }
.gd-step[data-state="done"] .gd-num-ok { display: inline-block; }
.gd-step-titles { min-width: 0; padding-top: 4px; }
.gd-step h2 { font-size: 1.0625rem; letter-spacing: -0.015em; line-height: 1.5rem; }
.gd-step h2:focus { outline: none; }
.gd-step-sub, .gd-step-sum { margin-top: 2px; font-size: .84375rem; color: var(--text-muted); line-height: 1.45; }
.gd-step-sum { color: var(--gd-subtle); }
.gd-when-active, .gd-when-done { display: none; }
.gd-step[data-state="active"] .gd-when-active,
.gd-step[data-state="locked"] .gd-when-active { display: block; }
.gd-step[data-state="done"] .gd-when-done { display: block; }
.gd-step[data-state="locked"] .gd-step-head { opacity: 0.5; }
.gd-edit { margin-left: 6px; font-size: .8125rem; font-weight: 600; color: var(--accent-text); }   /* the page's one link colour */

.gd-step-body {
  display: none;
  margin-top: 14px; padding: 16px;
  background: var(--gd-sheen);
  border: 1px solid var(--line); border-radius: var(--gd-radius);
}
.gd-step[data-state="active"] .gd-step-body { display: block; animation: gd-rise var(--dur-slow) var(--ease); }
#step-start .gd-step-body { background: none; border: 0; padding: 0; }
@keyframes gd-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Step 1: the sample keys, Connect right under them, then the three safety checks. */
.gd-keys { margin: 0; background: var(--bg-input); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.gd-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; }
.gd-key + .gd-key { border-top: 1px solid var(--line); }
.gd-key dt { flex: none; font-size: .78125rem; color: var(--gd-subtle); }
.gd-key dd { margin: 0; min-width: 0; color: var(--text-primary); font-size: .84375rem; text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: none; }
.gd-key dd.mono { font-size: .78125rem; letter-spacing: 0.02em; color: var(--text-default); }
@media (max-width: 19.9375em) {
  .gd-key { flex-wrap: wrap; }
  .gd-key dd { white-space: normal; overflow-wrap: anywhere; }
}
.gd-tag {
  display: inline-flex; align-items: center; height: 1.125rem; margin-left: 6px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-text);
  font-size: .65625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px;
}

.gd-checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.gd-check { display: flex; align-items: flex-start; gap: 10px; transition: opacity var(--dur) var(--ease); }
/* Dimmed until its check plays, and still readable: the description keeps 4.5:1 (WCAG AA). */
.gd-check[data-check="pending"] { opacity: 0.72; }
.gd-check-mark, .gd-progress-mark {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--border-soft); color: var(--success);
}
.gd-check-mark .icon, .gd-progress-mark .icon { width: 13px; height: 13px; stroke-width: 3; opacity: 0; transform: scale(0.5);
  transition: opacity var(--dur) var(--ease), transform var(--dur-slow) var(--ease); }
.gd-check[data-check="checking"] .gd-check-mark,
.gd-progress li[data-step="current"] .gd-progress-mark {
  border-color: var(--accent); border-top-color: transparent; animation: fp-spin 0.8s linear infinite;
}
.gd-check[data-check="ok"] .gd-check-mark,
.gd-progress li[data-step="done"] .gd-progress-mark { border-color: transparent; background: var(--success-soft); }
.gd-check[data-check="ok"] .gd-check-mark .icon,
.gd-progress li[data-step="done"] .gd-progress-mark .icon { opacity: 1; transform: none; }
.gd-check-text { min-width: 0; display: grid; gap: 1px; line-height: 1.4; }
.gd-check-text strong { font-size: .875rem; color: var(--text-primary); font-weight: 600; }
.gd-check-text span { font-size: .8125rem; color: var(--text-muted); }

.gd-actions { margin-top: 14px; display: grid; gap: 8px; }
.gd-connect { width: 100%; }
.gd-connect[aria-disabled="true"] { cursor: default; pointer-events: none; }
.gd-connect.is-done { --btn-bg: var(--success-surface); --btn-fg: var(--success); --btn-border: rgba(69, 196, 116, 0.35); opacity: 1; cursor: default; }
.gd-status { min-height: 0; font-size: .8125rem; color: var(--text-muted); text-align: center; }
.gd-status:empty { display: none; }
.gd-tip { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: .78125rem; color: var(--gd-subtle); line-height: 1.5; }
.gd-tip [data-icon], .gd-tip .icon { width: 14px; height: 14px; margin-top: 2px; color: var(--accent-text); }

/* Step 2: coins and metrics, nothing else. */
.gd-group + .gd-group { margin-top: 18px; }
.gd-group-label { margin-bottom: 8px; font-size: .71875rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gd-subtle); }
.gd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  border: 1px solid var(--border-soft); border-radius: var(--radius-pill);
  background: transparent; color: var(--text-muted);
  font-size: .875rem; font-weight: 600; cursor: pointer; user-select: none;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.gd-chip:hover { border-color: #505261; color: var(--text-primary); }
.gd-chip:active { transform: translateY(1px); }
.gd-chip:focus-visible { border-radius: var(--radius-pill); }
.gd-chip[aria-pressed="true"] { background: var(--accent-soft); border-color: rgba(88, 101, 242, 0.65); color: var(--text-primary); }
.gd-chip-metric { padding-left: 11px; }
.gd-tick, .gd-chip .icon { width: 14px; height: 14px; stroke-width: 2.6; color: var(--accent-text); opacity: 0; transition: opacity var(--dur-fast) var(--ease); }
.gd-chip[aria-pressed="true"] .icon { opacity: 1; }
.gd-chip[aria-pressed="false"] .icon { width: 0; margin-right: -8px; }
.gd-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; transition: opacity var(--dur-fast) var(--ease); }
.gd-chip[aria-pressed="false"] .gd-dot { opacity: 0.4; }
.gd-hint { margin-top: 10px; font-size: .78125rem; color: var(--gd-subtle); }
@media (pointer: coarse) { .gd-chip { height: var(--tap); } }
.gd-fixed {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--text-muted); line-height: 1.5;
}
.gd-fixed [data-icon], .gd-fixed .icon { width: 14px; height: 14px; margin-top: 2px; color: var(--gd-subtle); }
.gd-fixed-note { color: var(--gd-subtle); }

/* Step 3: one big button. */
.gd-start {
  width: 100%; height: 56px; margin-top: 12px;
  border-radius: 14px; font-size: 1.0625rem; font-weight: 650; gap: 10px;
  box-shadow: 0 10px 28px -8px var(--accent-glow);
}
.gd-start .icon { width: 18px; height: 18px; }
.gd-start:disabled { box-shadow: none; }
.gd-start-note { margin-top: 10px; text-align: center; font-size: .78125rem; color: var(--gd-subtle); }

/* ---- The run ---------------------------------------------------------------------------------- */
.gd-run { margin-top: 36px; scroll-margin-top: calc(var(--gd-bar-h) + 12px); }
.gd-run[data-running] { min-height: calc(100vh - var(--gd-bar-h) - 24px); min-height: calc(100dvh - var(--gd-bar-h) - 24px); }
.gd-run-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.gd-run-head h2 { font-size: 1.25rem; letter-spacing: -0.02em; }
.gd-run-head h2:focus { outline: none; }
.gd-run-meta { font-size: .78125rem; color: var(--gd-subtle); }
.gd-progress { list-style: none; margin: 14px 0 0; padding: 14px 16px; display: grid; gap: 10px;
  background: var(--gd-sheen); border: 1px solid var(--line); border-radius: var(--gd-radius); }
.gd-progress li { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--text-dim); transition: color var(--dur) var(--ease); }
.gd-progress .gd-progress-mark { margin-top: 0; }
.gd-progress li[data-step="current"] { color: var(--text-primary); font-weight: 550; }
.gd-progress li[data-step="done"] { color: var(--text-muted); }

.gd-summary {
  margin-top: 14px; padding: 16px 18px; border-radius: var(--gd-radius);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(88, 101, 242, 0.04));
  border: 1px solid rgba(88, 101, 242, 0.3);
  animation: gd-rise var(--dur-slow) var(--ease);
}
.gd-stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gd-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; min-width: 0; }
.gd-stats dd { margin: 0; font-size: 1.75rem; font-weight: 750; line-height: 1; letter-spacing: -0.03em; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.gd-stats dt { font-size: .75rem; line-height: 1.3; color: var(--text-muted); }
.gd-stats div:nth-child(2) dd { color: var(--success); }
.gd-stats div:nth-child(3) dd { color: var(--warning); }
.gd-stats div:nth-child(4) dd { color: var(--danger); }
.gd-stats div.is-zero dd { color: var(--text-dim); }
@media (max-width: 400px) {
  .gd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
}
.gd-summary-sub { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: .8125rem; color: var(--text-muted); }
.gd-error { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--danger-soft); border: 1px solid rgba(255, 107, 111, 0.3); display: grid; gap: 10px; justify-items: start; }
.gd-error p { color: var(--text-primary); font-size: .875rem; }

.gd-results { display: grid; gap: 14px; margin-top: 14px; }

/* One coin: the AI's read, its decision, the gate, the paper order. */
.gd-card {
  padding: 16px; border-radius: var(--gd-radius);
  background: var(--gd-sheen); border: 1px solid var(--line);
  animation: gd-rise var(--dur-slow) var(--ease);
}
.gd-card-head { display: flex; align-items: center; gap: 12px; }
.gd-mark {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: .65625rem; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
.gd-card-id { min-width: 0; flex: 1; }
.gd-card-sym { font-size: 1rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.gd-card-name { margin-left: 6px; font-size: .8125rem; font-weight: 500; color: var(--gd-subtle); }
.gd-card-held { font-size: .78125rem; color: var(--gd-subtle); }
.gd-card-price { text-align: right; flex: none; }
.gd-card-price b { display: block; font-size: .9375rem; font-weight: 650; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.gd-card-price span { font-size: .78125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.gd-up { color: var(--success); }
.gd-down { color: var(--danger); }

.gd-flow { list-style: none; margin: 14px 0 0; padding: 0; }
.gd-flow > li { position: relative; padding: 0 0 14px 22px; }
.gd-flow > li:last-child { padding-bottom: 0; }
.gd-flow > li::before {   /* the node */
  content: ""; position: absolute; left: 3px; top: 5px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg-active); box-shadow: 0 0 0 3px var(--bg-deepest);
}
.gd-flow > li:not(:last-child)::after {   /* the line to the next node */
  content: ""; position: absolute; left: 6px; top: 16px; bottom: 2px; width: 2px; border-radius: 1px;
  background: linear-gradient(var(--line-strong), rgba(255, 255, 255, 0.03));
}
.gd-flow > li.is-up::before { background: var(--success); }
.gd-flow > li.is-warn::before { background: var(--warning); }
.gd-flow > li.is-down::before { background: var(--danger); }
.gd-flow > li.is-ai::before { background: var(--accent); }
.gd-flow-label { font-size: .6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gd-subtle); line-height: 1.125rem; }

.gd-reads { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gd-read {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 4px 10px; border-radius: 8px;
  background: var(--bg-input); border: 1px solid var(--line);
  font-size: .8125rem; line-height: 1.35;
}
.gd-read-label { color: var(--gd-subtle); }
.gd-read-value { font-weight: 650; color: var(--text-default); font-variant-numeric: tabular-nums; }
.gd-read-detail { display: none; color: var(--gd-subtle); font-size: .75rem; }
.gd-read[data-tone="up"] .gd-read-value { color: var(--success); }
.gd-read[data-tone="down"] .gd-read-value { color: var(--danger); }
.gd-read[data-tone="warn"] .gd-read-value { color: var(--warning); }

.gd-decision { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.gd-decision-size { font-size: .9375rem; font-weight: 650; color: var(--text-primary); font-variant-numeric: tabular-nums; }
/* An idea the gate blocked: the amount is crossed out, as on the dashboard's decision card. */
.gd-decision-size.struck { text-decoration: line-through; color: var(--text-subtle); }
.gd-conf { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .78125rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.gd-conf-bar { width: 56px; height: 5px; border-radius: 3px; background: var(--bg-active); overflow: hidden; }
.gd-conf-bar span { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--accent); transition: width 600ms var(--ease); }
.gd-text { margin-top: 6px; font-size: .84375rem; color: var(--text-default); line-height: 1.5; }
.gd-text.muted { color: var(--text-muted); }
/* A buy's case against it: its own line, quieter than the sentence above it (the dashboard's .why-against). */
.gd-against { margin-top: 4px; font-size: .8125rem; color: var(--text-muted); line-height: 1.45; overflow-wrap: anywhere; }
.gd-verdict { margin-top: 6px; }
.gd-order { margin-top: 6px; display: flex; align-items: flex-start; gap: 8px; }
.gd-order .icon { width: 16px; height: 16px; margin-top: 2px; }
.gd-order.is-placed .icon { color: var(--success); }
.gd-order:not(.is-placed) .icon { color: var(--text-dim); }
.gd-order-title { font-size: .84375rem; font-weight: 600; color: var(--text-primary); }
.gd-order:not(.is-placed) .gd-order-title { color: var(--text-muted); font-weight: 550; }
.gd-order-detail { font-size: .78125rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* The holds: one short row per coin, after the trades. */
.gd-holds { margin-top: 14px; padding: 12px 16px 14px; border-radius: var(--gd-radius);
  background: var(--gd-sheen); border: 1px solid var(--line); animation: gd-rise var(--dur-slow) var(--ease); }
.gd-holds-title { font-size: .6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gd-subtle); line-height: 1.125rem; }
.gd-hold-list { list-style: none; margin: 4px 0 0; padding: 0; }
.gd-hold { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0 0; }
.gd-hold + .gd-hold { margin-top: 10px; border-top: 1px solid var(--line); }
.gd-mark.gd-mark-sm { width: 1.625rem; height: 1.625rem; font-size: .53125rem; margin-top: 1px; }
.gd-hold-body { min-width: 0; flex: 1; }
.gd-hold-head { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text-primary); line-height: 1.3; }
.gd-hold-head b { font-weight: 700; }
.gd-hold-held { font-size: .78125rem; color: var(--gd-subtle); }
.gd-hold-head .pill { margin-left: auto; }
.gd-hold-why { margin-top: 3px; font-size: .8125rem; color: var(--text-muted); line-height: 1.45; }

/* Phones: a shorter hero, so Connect sits on the first screen. */
@media (max-width: 430px) {
  .gd-hero { padding-top: 18px; }
  .gd-hero h1 { margin: 12px 0 10px; }
  .gd-lead { font-size: .90625rem; line-height: 1.5; }
  .gd-steps { margin-top: 22px; }
  .gd-step-body { margin-top: 12px; }
  .gd-key { padding: 9px 12px; }
}
/* The narrowest phones: the sample keys stack (label over value) and the step rail tightens. */
@media (max-width: 340px) {
  .gd-key { flex-direction: column; align-items: flex-start; gap: 2px; }
  .gd-key dd { text-align: left; max-width: 100%; }
}
@media (max-width: 374px) {
  .gd-step { padding-left: 40px; }
  .gd-num { width: 30px; height: 30px; }
  .gd-step:not(:last-child)::before { left: 14px; }
  .gd-step-body { padding: 14px; }
  .gd-card { padding: 14px; }
  .gd-real-panel { padding: 14px; }
}

@media (min-width: 560px) {
  .gd-card { padding: 18px 20px; }
  .gd-read-detail { display: inline; }
  .gd-read-detail::before { content: "· "; }
}

/* ---- The close ---------------------------------------------------------------------------------- */
.gd-sale {
  position: relative; margin-top: 40px; padding: 30px 20px 26px; text-align: center;
  border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(88, 101, 242, 0.24), transparent 70%),
    linear-gradient(180deg, #24253a, #1e1f24);
  border: 1px solid rgba(88, 101, 242, 0.32);
  animation: gd-rise var(--dur-slow) var(--ease);
  scroll-margin-top: calc(var(--gd-bar-h) + 12px);
}
.gd-sale h2 { margin-top: 10px; font-size: clamp(1.625rem, 3.6vw + .75rem, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 750; }
.gd-benefits { list-style: none; margin: 20px auto 0; padding: 0; max-width: 30em; display: grid; gap: 12px; text-align: left; }
.gd-benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: .90625rem; color: var(--text-muted); line-height: 1.5; }
.gd-benefits strong { color: var(--text-primary); font-weight: 650; }
.gd-benefit-icon, .gd-benefits .icon {
  width: 30px; height: 30px; flex: none; padding: 7px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent-text); stroke-width: 2;
}
.gd-price { margin-top: 22px; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 8px; }
.gd-price-n { font-size: 2.5rem; font-weight: 750; letter-spacing: -0.03em; color: var(--text-primary); line-height: 1; }
.gd-price-per { font-size: .875rem; color: var(--text-muted); }
/* The founding-member offer (app/billing.py price_quote), with the regular price struck through. */
.gd-price-note { margin-top: 8px; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--success); }
.gd-price-note s { color: var(--text-muted); font-weight: 550; text-decoration-thickness: 1.5px; }
.gd-cta { margin-top: 18px; display: grid; gap: 10px; }
.gd-cta .btn { width: 100%; }
.gd-cta .btn .icon { width: 16px; height: 16px; }
.gd-cta .btn-primary { box-shadow: 0 10px 28px -8px var(--accent-glow); }
.gd-fine { margin: 14px auto 0; max-width: 34em; font-size: .75rem; color: var(--gd-subtle); line-height: 1.5; }
/* No separator dots: a dot wrapped to a line of its own on phones; the gap keeps them apart. */
.gd-more { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: .84375rem; }
.gd-more a { color: var(--accent-text); }

@media (min-width: 560px) {
  .gd-sale { padding: 40px 36px 32px; }
  .gd-cta { grid-template-columns: auto auto; justify-content: center; }
  .gd-cta .btn { width: auto; }
}

/* ---- Footer: small and quiet ------------------------------------------------------------------- */
.gd-foot {
  max-width: calc(var(--gd-max) + 2 * var(--space-4)); margin: 0 auto;
  padding: 18px var(--gutter) max(22px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  font-size: .75rem; color: var(--text-dim);
}
.gd-foot-links { display: flex; gap: 14px; }
.gd-foot a { color: var(--gd-subtle); }

/* ---- Wider screens -------------------------------------------------------------------------------- */
@media (min-width: 720px) {
  .gd-hero { padding-top: 56px; }
  .gd-lead { font-size: 1.03125rem; }
  .gd-steps { margin-top: 40px; }
  .gd-step-body { padding: 20px; }
  .gd-connect { width: auto; justify-self: start; min-width: 180px; }
  .gd-status { text-align: left; }
  .gd-step h2 { font-size: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gd-label-pill::before { animation: none; }
  .gd-step[data-state="active"] .gd-step-body, .gd-card, .gd-holds, .gd-summary, .gd-sale, .gd-real-panel { animation: none; }
  .gd-check[data-check="checking"] .gd-check-mark,
  .gd-progress li[data-step="current"] .gd-progress-mark { animation-duration: 2.4s; }
}

/* The coins' brand marks (decorative). */
.gd-dot[data-sym="BTC"], .gd-mark[data-sym="BTC"] { background: #f7931a; color: #1a1b1e; }
.gd-dot[data-sym="ETH"], .gd-mark[data-sym="ETH"] { background: #627eea; }
.gd-dot[data-sym="SOL"], .gd-mark[data-sym="SOL"] { background: #9945ff; }
.gd-dot[data-sym="BNB"], .gd-mark[data-sym="BNB"] { background: #f3ba2f; color: #1a1b1e; }
.gd-dot[data-sym="XRP"], .gd-mark[data-sym="XRP"] { background: #aab3c0; color: #1a1b1e; }
