/* ============================================================
   Nordic Trading Technologies — short home page and "How it works"
   Loaded after style.css. Everything is scoped to body.home2, so the
   results page and the portal keep the base design system untouched.
   ============================================================ */

/* ---------- tighter rhythm: one idea per screen, less air between them ---------- */
.home2 .section { padding: 60px 0; }
.home2 .section-head { margin-bottom: 30px; }
.home2 h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.home2 .sub-head { margin: 44px 0 22px; }
.home2 .footer { padding: 40px 0 28px; }

/* ---------- hero: message on the left, live figures on the right ---------- */
.h2-hero { padding: 68px 0 56px; }
.h2-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.h2-hero h1 { font-size: clamp(2.05rem, 3.7vw, 2.95rem); }
.h2-hero .hero-sub { margin: 22px 0 30px; font-size: 1.09rem; max-width: 34rem; }
.h2-hero .hero-ctas { align-items: center; gap: 22px; }
.h2-link { color: var(--gold); font-weight: 700; font-size: .98rem; }
.h2-link:hover { text-decoration: underline; }

.proof[hidden], .proof-tile[hidden] { display: none; }
/* four plain figures, no frames: a hairline separates the two rows */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; }
.proof-tile { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; }
.proof-tile:nth-child(n+3) { border-top: 1px solid rgba(29, 43, 71, .8); }
.proof-main { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; }
.proof-main:hover .proof-name, .proof-main:focus-visible .proof-name { color: var(--gold); }
.proof-main:focus-visible { outline: none; }
/* independent audit link under each figure: Myfxbook reads the account straight from the broker */
.proof-mfb { margin-top: 5px; align-self: flex-start; font-size: .76rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.proof-mfb:hover, .proof-mfb:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
.proof-name { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.proof-name .live-dot { flex: none; }
.proof-gain { font-size: 2.15rem; font-weight: 800; color: var(--gold); letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.proof-kind { font-size: .82rem; color: var(--ink); }
.proof-since { font-size: .8rem; color: var(--ink-dim); }
.proof-note { margin-top: 6px; font-size: .82rem; color: var(--ink-dim); line-height: 1.55; }
.proof-note a { color: var(--gold); font-weight: 600; white-space: nowrap; }
.proof-note a:hover { text-decoration: underline; }

/* ---------- two ways: running text, no boxes ---------- */
.ways-text { max-width: 760px; }
.ways-text p { color: var(--ink-dim); font-size: 1.04rem; }
.ways-text p + p { margin-top: 14px; }
.ways-text strong { color: var(--gold); font-weight: 700; }
.ways-text em { color: var(--ink); font-style: normal; font-weight: 700; }
.ways-text a { color: var(--gold); font-weight: 700; white-space: nowrap; }
.ways-text a:hover { text-decoration: underline; }

/* ---------- why Nordic: three plain points, no boxes ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-num { display: block; color: var(--gold); font-size: .8rem; font-weight: 800; letter-spacing: .2em; margin-bottom: 8px; }
.why h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why p { color: var(--ink-dim); font-size: .96rem; }

/* ---------- get started ---------- */
/* the section rides on .cta-band, which centres everything; the form layout reads left to right */
.home2 #start { text-align: left; }
.home2 #start .section-head { margin-bottom: 14px; }
.home2 .start-list { margin-bottom: 18px; }
.home2 .walk-form { padding: 24px 26px; }
.home2 .walk-form textarea { min-height: 90px; }

/* ---------- footer: one row, then the disclaimer ---------- */
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-bottom: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--ink-dim); font-size: .93rem; font-weight: 600; }
.footer-links a:hover { color: var(--gold); }

/* ---------- "How it works": page head and jump links ---------- */
.hiw-head { padding: 52px 0 0; }
.hiw-head .lead { max-width: 46rem; margin-top: 12px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump a { padding: 7px 15px; border: 1px solid var(--card-edge); border-radius: 999px; color: var(--ink-dim); font-size: .88rem; font-weight: 600; }
.jump a:hover { border-color: var(--gold); color: var(--gold); }
.home2 main [id] { scroll-margin-top: 84px; }
.hiw-cta { text-align: center; }
.hiw-cta h2 { margin-bottom: 20px; }

@media (max-width: 980px) {
  .h2-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .h2-hero .hero-sub { max-width: 40rem; }
}
@media (max-width: 760px) {
  .home2 .section { padding: 44px 0; }
  .h2-hero { padding: 44px 0 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 26px; }
  .proof-gain { font-size: 1.8rem; }
  .proof-grid { gap: 0 20px; }
}
@media (max-width: 340px) { .proof-grid { grid-template-columns: 1fr; } .proof-tile + .proof-tile { border-top: 1px solid rgba(29, 43, 71, .8); } }
