/* Swiss Profit — premium layer for the landing page (body.v2). Loaded after style.css; touches looks only.
   Idea: an Alpine night hero holding one precise instrument (the live trade chart). Everything else stays calm and light. */
body.v2 {
  --night: #0f1b2d;
  --night-2: #16263c;
  --night-line: rgba(196, 214, 235, .14);
  --glacier: #9db9d6;
  --snow-ink: #eef3f8;
  --font: "Geist", "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--font);
  font-feature-settings: "tnum" 1, "ss01" 1;
}

/* header: night glass on every scroll position */
.v2 .top { background: rgba(15, 27, 45, .97); border-bottom-color: rgba(196, 214, 235, .08); }
.v2 .top.scrolled { border-color: rgba(196, 214, 235, .14); }
.v2 .brand { color: var(--snow-ink); }
.v2 .brand small { color: var(--glacier); }
.v2 .nav a { color: #c9d6e4; }
.v2 .nav a:hover { color: #fff; }
.v2 .top .lang { background: transparent; color: var(--snow-ink); border-color: rgba(196, 214, 235, .28); }
.v2 .top .lang option { color: #13202f; }

/* hero */
.v2 .hero { position: relative; background: var(--night); color: var(--snow-ink); padding: 84px 0 96px; overflow: hidden; isolation: isolate; }
.v2 .hero::before { /* contour lines of a mountain map, very faint */
  content: ""; position: absolute; inset: -10% -5% auto auto; width: 70%; height: 130%; z-index: -1; opacity: .2;
  background: url("/assets/img/contours.svg") right top / cover no-repeat;
}
.v2 .hero h1 { font-weight: 600; letter-spacing: -0.045em; font-size: clamp(42px, 5.4vw, 76px); line-height: 1; max-width: 13ch; }
.v2 .hero .lead { color: #b9c7d6; }
.v2 .hero .note { color: #8ea2b8; }
.v2 .hero .goals li { color: #dbe5ef; }
.v2 .hero .goals li b { background: rgba(196, 214, 235, .1); }
.v2 .hero .btn { background: var(--snow-ink); color: var(--night); }
.v2 .hero .btn:hover { background: #fff; }
.v2 .hero .btn.ghost { background: transparent; color: var(--snow-ink); box-shadow: inset 0 0 0 1px rgba(196, 214, 235, .35); }
.v2 .hero .btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.v2 .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 64px; }

/* the instrument */
.v2 .ladder-card { background: linear-gradient(180deg, #172a43, #12223a); border: 1px solid var(--night-line); border-radius: 22px; padding: 22px 22px 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05); color: var(--snow-ink); }
.v2 .ladder-head strong { color: #fff; font-weight: 600; }
.v2 .ladder-head .muted { color: var(--glacier); }
.v2 .ladder-card .ladder { display: none; }
.v2 .ladder-foot { border-top-color: var(--night-line); color: #c3d0dd; min-height: 48px; }
.v2 .ladder-foot b { color: #fff; }
.sp-chart { display: block; width: 100%; height: auto; margin: 4px 0 2px; }
.sp-chart text { font-family: var(--font); font-feature-settings: "tnum" 1; }
.sp-chart .grid { stroke: rgba(196, 214, 235, .07); }
.sp-chart .lv { stroke-width: 1.5; }
.sp-chart .lv-t1 { stroke: #6fa3dd; }
.sp-chart .lv-en { stroke: #e6edf5; stroke-opacity: .55; }
.sp-chart .lv-sl { stroke: #e0675d; transition: stroke .6s; }
.sp-chart .lv-sl.moved { stroke: #d9b45c; }
.sp-chart .lv-ex { stroke: var(--glacier); stroke-dasharray: 5 5; stroke-width: 1.5; fill: none; }
.sp-chart .px { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.sp-chart .area { fill: url(#sp-fade); }
.sp-chart .tag rect { rx: 6; }
.sp-chart .tag text { font-size: 12px; font-weight: 600; }
.sp-chart .head-line { stroke: #d52b1e; stroke-width: 1.5; }
.sp-chart .head-dot { fill: #d52b1e; stroke: #fff; stroke-width: 2; }
.sp-chart .hit { fill: #6fa3dd; opacity: 0; transition: opacity .4s; }
.sp-chart .hit.on { opacity: 1; }

/* calmer, more precise sections */
.v2 section.block { border-top-color: #e3e8ee; }
.v2 h2 { font-weight: 600; letter-spacing: -0.035em; }
.v2 .gold-band { background: #1c3047; color: #cfdbe7; letter-spacing: .02em; text-transform: none; font-weight: 600; font-size: 14px; border-bottom: 1px solid rgba(196, 214, 235, .12); }
.v2 .price-card { border-radius: 24px; box-shadow: 0 30px 60px -40px rgba(15, 27, 45, .35); }
.v2 .btn { border-radius: 12px; }

@media (max-width: 900px) {
  .v2 .hero { padding: 48px 0 64px; }
  .v2 .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .v2 .hero::before { width: 120%; opacity: .14; }
}
@media (prefers-reduced-motion: reduce) { .sp-chart * { transition: none !important; } }
.v2 .hero .note { background: transparent; padding: 0; margin-top: 18px; color: #8ea2b8; }
.sp-narrow .sp-chart .tag text { font-size: 11px; }
.sp-chart .sl-move { transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.sp-chart .tag rect, .sp-chart .lv-sl { transition: fill .5s, stroke .5s; }

/* ---------------- member area (dashboard.html with body.v2) ---------------- */
.v2.dash-body { background: #f4f7fa; }
.v2 .dash { position: relative; isolation: isolate; padding-top: 30px; }
.v2 .dash::before { content: ""; position: absolute; inset: 0 0 auto 0; height: var(--band, 230px); z-index: -2; background: var(--night); }
.v2 .dash::after { content: ""; position: absolute; inset: 0 0 auto 0; height: var(--band, 230px); z-index: -1; opacity: .16; pointer-events: none;
  background: url("/assets/img/contours.svg") right -120px top -260px / 900px auto no-repeat; }
.v2 .top .btn.ghost { color: var(--snow-ink); box-shadow: inset 0 0 0 1px rgba(196, 214, 235, .35); background: transparent; }
.v2 .top .btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.v2 .bell { color: #c9d6e4; }
.v2 .dash-head { color: var(--snow-ink); }
.v2 .dash-head h1 { font-weight: 600; letter-spacing: -0.04em; color: #fff; }
.v2 .dash-head .sub { color: #b9c7d6; }
.v2 .dash-head .kicker { color: #f08a80; }
.v2 .dash-head .btn.ghost { color: var(--snow-ink); box-shadow: inset 0 0 0 1px rgba(196, 214, 235, .35); background: transparent; }
.v2 .dash-head .btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.v2 .banner { position: relative; }
.v2 .tabs { background: #1a2c44; border: 1px solid rgba(196, 214, 235, .12); border-radius: 16px; padding: 6px; margin: 0 0 22px; backdrop-filter: none;
  box-shadow: 0 18px 40px -26px rgba(15, 27, 45, .8); }
.v2 .tabs button, .v2 .tabs .tab-link { background: transparent; border-color: transparent; color: #c9d6e4; }
.v2 .tabs button:hover, .v2 .tabs .tab-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.v2 .tabs button[aria-selected="true"] { background: var(--snow-ink); color: var(--night); border-color: transparent; }
.v2 .card, .v2 .tcard, .v2 .rcard { border-color: #e1e7ee; border-radius: 20px; box-shadow: 0 1px 0 rgba(15, 27, 45, .03), 0 12px 30px -24px rgba(15, 27, 45, .25); }
.v2 .card h2, .v2 .card h3, .v2 .tcard h3 { letter-spacing: -0.02em; }
.v2 .hero-card { background: radial-gradient(120% 140% at 100% 0%, #233c5c 0%, var(--night) 60%); }
.v2 .brand { white-space: nowrap; }
@media (max-width: 440px) { .v2.dash-body .brand small { display: none; } }

/* space reserved for the hero chart before hero-chart.js draws it (no layout shift). Same sizes as the script:
   drawn at the card's inner width, 250 px tall below 440 px, 320 px from 440 px, scaled up above 560 px. */
.v2 .ladder-card { container-type: inline-size; }
.v2 .ladder-card .sp-ph { display: block; height: min(250px, calc(100cqw * 250 / 300)); margin: 4px 0 2px; }
@container (min-width: 440px) { .v2 .ladder-card .sp-ph { height: 320px; } }
@container (min-width: 560px) { .v2 .ladder-card .sp-ph { height: calc(100cqw * 320 / 560); } }
.ladder-card .sp-ph { display: none; }
/* first paint, before the script measures the longest step of the demo (JS sets the exact height) */
.v2 .ladder-card .ladder-foot { min-height: 88px; }
@container (max-width: 439px) { .v2 .ladder-card .ladder-foot { min-height: 112px; } }
