/* =====================================================================
   OTR 1 Trainer — Swiss International Typographic style
   Palette: Swiss red, white, ink black, precise greys. Flat, gridded,
   no gradients, no decorative side-marks.
   ===================================================================== */

:root {
  --red: #d52b1e;          /* official Swiss red */
  --red-dark: #b21f14;
  --ink: #14151a;
  --ink-2: #3a3d45;
  --grey: #6b6f78;
  --line: #e2e3e6;
  --line-2: #d2d4d8;
  --paper: #ffffff;
  --paper-2: #f5f5f4;
  --paper-3: #ececeb;
  --green: #1f7a3f;
  --green-bg: #eaf3ed;
  --red-bg: #fbeceb;

  --maxw: 1160px;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 1px 2px rgba(20,21,26,.06), 0 8px 26px rgba(20,21,26,.06);
  --shadow-lg: 0 2px 4px rgba(20,21,26,.06), 0 18px 50px rgba(20,21,26,.10);
  --ff: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --emoji: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* elements that only carry an emoji glyph — force an emoji-capable font */
.emoji, .prog-emoji, .trophy-icon, .pc-ava, .acc-ava, .ava-opt, .bn-i,
.gt-emoji, .route-car, .badge-emoji { font-family: var(--emoji), var(--ff); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

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

/* ---------- View switching ---------- */
.view { display: none; }
.view.is-active { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font: inherit; font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-primary:disabled { background: var(--paper-3); border-color: var(--line-2); color: var(--grey); cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-tiny { padding: 8px 14px; font-size: .86rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; box-shadow: var(--shadow); border-radius: 6px; overflow: hidden; }
.brand-mark svg { display: block; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.02rem; letter-spacing: -0.02em; }
.brand-text em { font-style: normal; font-size: .74rem; color: var(--grey); letter-spacing: .01em; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: .92rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.site-nav a:hover { color: var(--ink); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .18s ease;
}
.site-nav a:hover::after { width: 100%; }

/* Language switch */
.lang-switch {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 100px;
  overflow: hidden; margin-left: 6px;
}
.lang-btn {
  font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  padding: 6px 12px; border: none; background: #fff; color: var(--grey);
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--line-2); }
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--red); color: #fff; }

/* ===================== HERO ===================== */
.hero {
  background:
    linear-gradient(0deg, var(--paper-2), var(--paper-2));
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px;
  align-items: center; padding: 72px 24px 78px;
}
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
  border: 1px solid var(--line-2); background: #fff;
  padding: 6px 12px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 20px; }
.hero h1 .hl { color: var(--red); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 34px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; margin: 0; padding-top: 26px; border-top: 1px solid var(--line-2); }
.hero-stats div dt { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.hero-stats div dd { margin: 0; font-size: .82rem; color: var(--grey); }

/* Hero sample card */
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.hero-card-head {
  display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--grey); margin-bottom: 16px;
}
.hc-flag { display: inline-flex; border-radius: 5px; overflow: hidden; box-shadow: var(--shadow); }
.hc-flag svg { display: block; border-radius: 5px; }
.hc-q { font-weight: 700; font-size: 1.06rem; margin-bottom: 16px; }
.hc-opts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.hc-opts li {
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: .94rem; color: var(--ink-2);
}
.hc-opts li.is-right { border-color: var(--green); background: var(--green-bg); color: var(--green); font-weight: 600; }
.hc-ref { font-size: .82rem; color: var(--grey); }
.hc-ref span { color: var(--ink-2); }

/* ===================== SECTIONS ===================== */
.section { padding: 76px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  text-align: left; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px 22px;
  cursor: pointer; font: inherit; color: inherit;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s ease, box-shadow .18s ease, transform .12s ease;
}
.cat-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 1rem;
}
.cat-card:hover .cat-num { background: var(--red); }
.cat-card h3 { font-size: 1.14rem; }
.cat-fr { font-size: .82rem; color: var(--grey); font-style: italic; margin-top: -6px; }
.cat-blurb { font-size: .92rem; color: var(--ink-2); flex: 1; }
.cat-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--grey);
}
.cat-foot .cat-count { font-weight: 700; color: var(--ink); }
.cat-arts { font-weight: 600; }

/* Exam card highlighted */
.cat-card.exam-card { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-card.exam-card .cat-num { background: var(--red); }
.cat-card.exam-card .cat-blurb { color: #c9cbd1; }
.cat-card.exam-card .cat-fr { color: #9a9da6; }
.cat-card.exam-card .cat-foot { border-color: #2c2e36; color: #9a9da6; }
.cat-card.exam-card .cat-foot .cat-count { color: #fff; }
.cat-card.exam-card:hover { box-shadow: 0 18px 50px rgba(0,0,0,.28); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.about-grid p { color: var(--ink-2); margin-bottom: 14px; }
.about-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: .96rem; color: var(--ink-2);
}
.about-list li > span:first-child {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; font-size: .82rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ===================== QUIZ ===================== */
.quiz-wrap { max-width: 780px; margin: 0 auto; padding: 44px 24px 90px; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 16px; flex-wrap: wrap; }
.link-back { background: none; border: none; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 4px 0; }
.link-back:hover { color: var(--red); }
.quiz-meta { display: flex; align-items: center; gap: 14px; font-size: .88rem; color: var(--grey); }
.pill {
  background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: 100px;
}

.progress { height: 6px; background: var(--paper-3); border-radius: 100px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--red); border-radius: 100px; transition: width .3s ease; }
.scoreline { display: flex; gap: 22px; margin: 12px 2px 24px; font-size: .86rem; color: var(--grey); }
.scoreline strong { color: var(--ink); }

.qcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px 34px 30px;
}
.qcount, .qcity { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.qtext { font-size: 1.35rem; margin-bottom: 26px; }

.options { display: grid; gap: 12px; }
.option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 15px 18px; font: inherit; font-size: 1rem; color: var(--ink);
  cursor: pointer; transition: border-color .12s ease, background .12s ease;
}
.option:hover:not(:disabled) { border-color: var(--ink); }
.option:disabled { cursor: default; }
.option .opt-key {
  flex: none; width: 28px; height: 28px; border-radius: 6px;
  border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .84rem; color: var(--ink-2); background: var(--paper-2);
}
.option .opt-mark { margin-left: auto; font-weight: 800; opacity: 0; }

.option.correct { border-color: var(--green); background: var(--green-bg); }
.option.correct .opt-key { background: var(--green); border-color: var(--green); color: #fff; }
.option.correct .opt-mark { opacity: 1; color: var(--green); }
.option.wrong { border-color: var(--red); background: var(--red-bg); }
.option.wrong .opt-key { background: var(--red); border-color: var(--red); color: #fff; }
.option.wrong .opt-mark { opacity: 1; color: var(--red); }
.option.dim { opacity: .55; }

.qtools { margin: 20px 0 0; }
.hint {
  margin-top: 14px; padding: 13px 16px; font-size: .94rem; color: var(--ink-2);
  background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
}

.feedback {
  margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--paper-2);
}
.feedback.good { border-color: var(--green); background: var(--green-bg); }
.feedback.bad  { border-color: var(--red);  background: var(--red-bg); }
.fb-title { font-weight: 800; font-size: 1.02rem; margin-bottom: 6px; }
.feedback.good .fb-title { color: var(--green); }
.feedback.bad .fb-title { color: var(--red-dark); }
.fb-body { font-size: .96rem; color: var(--ink-2); margin-bottom: 8px; }
.fb-ref {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 5px;
}

.qnav { margin-top: 24px; display: flex; justify-content: flex-end; }

/* ===================== RESULTS ===================== */
.results-wrap { max-width: 820px; margin: 0 auto; padding: 56px 24px 90px; }
.result-head { text-align: center; margin-bottom: 36px; }
.result-badge {
  display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
  background: var(--paper-3); color: var(--ink-2);
}
.result-badge.pass { background: var(--green); color: #fff; }
.result-badge.fail { background: var(--red); color: #fff; }
.result-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.result-sub { color: var(--ink-2); margin-top: 10px; font-size: 1.05rem; }

.result-score {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px; margin-bottom: 34px;
}
.ring {
  --pct: 0; --ring-color: var(--red);
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background:
    radial-gradient(closest-side, #fff calc(100% - 14px), transparent calc(100% - 13px)),
    conic-gradient(var(--ring-color) calc(var(--pct) * 1%), var(--paper-3) 0);
}
.ring-pct { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; }
.ring-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); }

.result-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.result-stats li { text-align: center; padding: 8px 4px; }
.result-stats li strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.result-stats li span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }

.review { display: grid; gap: 12px; margin-bottom: 34px; }
.review-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px;
}
.review-item .ri-top { display: flex; gap: 12px; align-items: flex-start; }
.ri-icon {
  flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-weight: 800;
  font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}
.ri-icon.ok { background: var(--green); }
.ri-icon.no { background: var(--red); }
.ri-q { font-weight: 700; font-size: 1rem; }
.ri-detail { margin: 10px 0 0 36px; font-size: .92rem; color: var(--ink-2); }
.ri-detail .ri-line { margin-bottom: 4px; }
.ri-detail b.good { color: var(--green); }
.ri-detail b.bad { color: var(--red-dark); }
.ri-ref { display: inline-block; margin-top: 6px; font-size: .76rem; font-weight: 700; background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 5px; }

.result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: #c9cbd1; margin-top: 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding: 54px 24px 34px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; max-width: 320px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand p { font-size: .88rem; margin-top: 4px; color: #9a9da6; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-cols a { display: block; font-size: .92rem; color: #c9cbd1; margin-bottom: 9px; }
.footer-cols a:hover { color: #fff; }
.footer-legal { border-top: 1px solid #2c2e36; padding: 20px 24px 40px; }
.footer-legal p { font-size: .8rem; color: #83868f; max-width: 60em; }

/* ===================== ABOUT PAGE ===================== */
.hero-slim { padding: 0; }
.hero-slim .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero-slim h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }

.about-page { max-width: 820px; margin: 0 auto; }
.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 40px 0 14px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.prose p { color: var(--ink-2); font-size: 1.03rem; margin-bottom: 14px; }

.figures { width: 100%; border-collapse: collapse; margin: 6px 0 4px; }
.figures th, .figures td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.figures thead th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--grey); border-bottom: 1.5px solid var(--line-2);
}
.figures td strong { color: var(--ink); }
.figures tbody tr:hover { background: var(--paper-2); }
.art-tag {
  display: inline-block; font-size: .76rem; font-weight: 700;
  background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 5px;
  white-space: nowrap;
}

.steps { margin: 6px 0 0; padding-left: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative; padding: 4px 0 18px 46px; color: var(--ink-2); font-size: 1rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 800; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center;
}
.about-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.review-title { margin: 0 0 6px; font-size: 1.25rem; }

/* ===================== PROFILE CHIP ===================== */
.profile-chip {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  background: #fff; border: 1px solid var(--line-2); border-radius: 100px;
  padding: 5px 12px 5px 6px; font: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.profile-chip:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.pc-ava {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.05rem;
  background: var(--paper-2); border: 1px solid var(--line);
}
.pc-meta { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.pc-name { font-size: .84rem; font-weight: 700; color: var(--ink); }
.pc-sub { font-size: .68rem; color: var(--grey); }

/* ===================== DASHBOARD (cockpit & route) ===================== */
.dash-wrap { max-width: 940px; margin: 0 auto; padding: 34px 24px 110px; }

/* hero: greeting + readiness gauge */
.dash-hero {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  background: linear-gradient(135deg, #14151a 0%, #23252e 100%);
  color: #fff; border-radius: 18px; padding: 30px 32px; margin-bottom: 18px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.dash-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(213,43,30,.35), transparent 70%);
}
.dash-hi { font-size: .95rem; color: #b9bcc4; margin-bottom: 6px; font-weight: 600; }
.dash-ready-h { font-size: 1.9rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.dash-ready-sub { font-size: .92rem; color: #9a9da6; max-width: 34em; margin-bottom: 12px; }
.dash-ready-msg { font-size: 1rem; font-weight: 700; color: #fff; }
.dash-hero-r { position: relative; z-index: 1; }

/* readiness gauge */
.gauge-svg { width: 210px; height: auto; display: block; }
.gauge-track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 14; stroke-linecap: round; }
.gauge-fill { fill: none; stroke-width: 14; stroke-linecap: round; transition: stroke-dasharray .5s ease; }
.gauge-needle { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.gauge-hub { fill: #fff; }
.gauge-num { font-size: 34px; font-weight: 800; font-family: var(--ff); }
.gauge-unit { font-size: 11px; fill: #9a9da6; font-family: var(--ff); }

/* panels */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 18px;
}
.panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-h h2 { font-size: 1.15rem; }
.panel-tag { font-size: .82rem; color: var(--grey); }

/* resume strip */
.resume-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--red-bg); border: 1px solid var(--red); border-radius: 14px;
  padding: 16px 22px; margin-bottom: 18px;
}
.resume-strip h3 { font-size: 1.05rem; margin-bottom: 2px; }
.resume-strip p { font-size: .88rem; color: var(--ink-2); }
.rs-btns { display: flex; gap: 8px; }

/* route / level */
.route-panel { padding-bottom: 26px; }
.route { padding: 22px 6px 4px; }
.route-road {
  position: relative; height: 16px; border-radius: 20px;
  background: #2b2d36; box-shadow: inset 0 1px 3px rgba(0,0,0,.4);
}
.route-fill {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 20px;
  background: linear-gradient(90deg, #d52b1e, #f59e0b); transition: width .6s ease;
}
.route-dash {
  position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.65) 0 10px, transparent 10px 20px);
}
.route-car {
  position: absolute; top: -18px; transform: translateX(-50%); font-size: 1.5rem;
  transition: left .6s ease; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25));
}
.route-mile { position: absolute; top: 22px; transform: translateX(-50%); text-align: center; }
.rm-dot {
  display: block; width: 12px; height: 12px; border-radius: 50%; margin: -30px auto 4px;
  background: #fff; border: 3px solid #babcc3;
}
.rm-dot.on { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 4px rgba(213,43,30,.15); }
.route-mile em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.route-next { text-align: center; margin-top: 30px; font-size: .95rem; font-weight: 600; color: var(--ink-2); }

/* cockpit: 3 instrument tiles */
.cockpit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.gauge-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 18px 18px 20px; text-align: center;
}
.gt-top { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 2px; }
.gt-emoji { font-size: 1.35rem; }
.gt-big { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.gt-big small { font-size: 1rem; color: var(--grey); font-weight: 700; }
.gt-label { font-size: .82rem; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.gt-sub { font-size: .76rem; color: var(--grey); margin-top: 8px; }

.streak-pips { display: flex; gap: 5px; justify-content: center; margin-top: 12px; }
.pip { width: 12px; height: 12px; border-radius: 4px; background: var(--paper-3); transform: rotate(45deg); }
.pip.on { background: #ff6a00; box-shadow: 0 0 6px rgba(255,106,0,.5); }

.odometer { display: flex; gap: 3px; justify-content: center; margin-top: 12px; }
.odo { width: 100%; max-width: 14px; height: 12px; border-radius: 2px; background: var(--paper-3); }
.odo.on { background: var(--green); }

.acc-meter { height: 12px; border-radius: 8px; background: var(--paper-3); overflow: hidden; margin-top: 14px; }
.acc-fill { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #f59e0b, #16a34a); transition: width .5s ease; }

/* activity log — bar chart */
.log-chart { display: flex; align-items: flex-end; gap: 6px; height: 130px; }
.log-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.log-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.log-bar { width: 100%; border-radius: 5px 5px 2px 2px; background: var(--paper-3); transition: height .4s ease; min-height: 3px; }
.log-bar.lo { background: #f0a6a0; }
.log-bar.mid { background: #f5c518; }
.log-bar.hi { background: #40916c; }
.log-col.today .log-bar { outline: 2px solid var(--ink); outline-offset: 1px; }
.log-x { font-size: .6rem; color: var(--grey); white-space: nowrap; }
.log-empty { color: var(--grey); font-size: .95rem; padding: 20px 0; text-align: center; }

/* knowledge map */
.km-list { display: grid; gap: 12px; }
.km-row { display: grid; grid-template-columns: 190px 1fr 48px; gap: 14px; align-items: center; }
.km-name { font-size: .9rem; font-weight: 600; color: var(--ink); }
.km-track { height: 12px; border-radius: 8px; background: var(--paper-3); overflow: hidden; }
.km-fill { display: block; height: 100%; border-radius: 8px; transition: width .5s ease; }
.km-fill.lo { background: #e06b5f; }
.km-fill.mid { background: #f5c518; }
.km-fill.hi { background: #40916c; }
.km-val { font-size: .8rem; font-weight: 700; color: var(--ink-2); text-align: right; }
.km-cta { display: flex; justify-content: flex-end; margin-top: 18px; }

/* badges shelf */
.badge-progress { height: 8px; border-radius: 6px; background: var(--paper-3); overflow: hidden; margin-bottom: 20px; }
.badge-progress span { display: block; height: 100%; background: linear-gradient(90deg, #f5c518, #f59e0b); border-radius: 6px; }
.badge-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.badge { text-align: center; }
.badge-medal {
  width: 66px; height: 66px; margin: 0 auto 8px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #f5c518 60%, #d9a400);
  box-shadow: 0 4px 12px rgba(217,164,0,.35), inset 0 -3px 6px rgba(0,0,0,.15);
  border: 3px solid #fff; position: relative;
}
.badge-medal::after {
  content: ""; position: absolute; bottom: -9px; width: 16px; height: 14px;
  background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.badge.off .badge-medal {
  background: var(--paper-3); box-shadow: none; filter: grayscale(1); opacity: .6;
}
.badge.off .badge-medal::after { background: var(--line-2); }
.badge-name { font-size: .74rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.badge.off .badge-name { color: var(--grey); font-weight: 600; }
.badge-emoji { font-family: var(--emoji), var(--ff); }
/* ===================== ACCOUNT ===================== */
.account-wrap { padding: 0 0 110px; }
.acc-hero { padding: 46px 24px 40px; }
.acc-body { max-width: 720px; margin: 0 auto; padding: 30px 24px 0; }
.guest-banner {
  background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .92rem; color: var(--ink-2); margin-bottom: 18px;
}
.acc-cur-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.acc-ava {
  width: 54px; height: 54px; border-radius: 50%; background: var(--paper-2);
  border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.acc-ava.sm { width: 38px; height: 38px; font-size: 1.2rem; }
.acc-cur-name { font-size: 1.25rem; font-weight: 800; }
.acc-cur-tag { font-size: .78rem; color: var(--grey); text-transform: uppercase; letter-spacing: .06em; }
.acc-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; margin-bottom: 18px; }
.acc-mini strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.acc-mini span { font-size: .72rem; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; }
.acc-goal { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 4px; }
.acc-goal label { font-size: .85rem; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 8px; }
.goal-row { display: flex; gap: 8px; align-items: center; }
.goal-row input { width: 90px; }
.acc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.btn.danger { color: var(--red); border-color: var(--red-bg); }
.btn.danger:hover { border-color: var(--red); background: var(--red-bg); }
.acc-sub-h { font-size: 1.05rem; margin-bottom: 14px; }
.profile-list { display: grid; gap: 10px; }
.profile-item { display: flex; align-items: center; gap: 12px; }
.pi-name { flex: 1; font-weight: 600; }
.create-card .acc-field { display: block; margin-bottom: 16px; }
.acc-field > span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.account-wrap input[type="text"], .account-wrap input[type="number"] {
  font: inherit; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  width: 100%; color: var(--ink); background: #fff;
}
.account-wrap input:focus { outline: none; border-color: var(--ink); }
.ava-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ava-opt {
  aspect-ratio: 1; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; font-size: 1.3rem; cursor: pointer; transition: border-color .12s ease, background .12s ease;
}
.ava-opt:hover { border-color: var(--ink); }
.ava-opt.sel { border-color: var(--red); background: var(--red-bg); }

/* ===================== BOTTOM NAV ===================== */
.bottom-nav { display: none; }

/* ===================== TOASTS ===================== */
.toast-stack {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center;
  width: max-content; max-width: 92vw; pointer-events: none;
}
.toast {
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 100px;
  font-size: .92rem; font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.level { background: #2563eb; }
.toast.award { background: #b8860b; }
.toast.goal { background: var(--green); }

/* ===================== CONFETTI ===================== */
.confetti {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 190; display: none;
}
.confetti.on { display: block; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 60px; }
  .hero-card { order: -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .badge-shelf { grid-template-columns: repeat(4, 1fr); }
  .km-row { grid-template-columns: 140px 1fr 44px; }
}
@media (max-width: 640px) {
  .site-nav a { display: none; }          /* keep the language switch visible */
  .lang-switch { margin-left: 0; }
  .profile-chip { display: none; }        /* profile lives in the bottom nav on mobile */
  .header-inner { height: 60px; }
  .figures th:nth-child(3), .figures td:nth-child(3) { display: none; }
  .hero h1 { font-size: 2.05rem; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .cat-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .qcard { padding: 24px 20px; }
  .qtext { font-size: 1.18rem; }
  .result-score { grid-template-columns: 1fr; justify-items: center; gap: 26px; }
  .result-stats { grid-template-columns: repeat(2, 1fr); }
  .ri-detail { margin-left: 0; }

  /* dashboard / account on phones */
  .dash-wrap { padding: 24px 14px 96px; }
  .dash-hero { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; gap: 12px; }
  .dash-hero-r { justify-self: center; }
  .gauge-svg { width: 180px; }
  .dash-ready-h { font-size: 1.5rem; }
  .cockpit { grid-template-columns: 1fr; }
  .gauge-tile { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 16px; text-align: left; padding: 16px 18px; }
  .gt-top { justify-content: flex-start; grid-row: 1; }
  .gt-label { grid-column: 2; grid-row: 1; text-align: left; align-self: center; }
  .streak-pips, .odometer, .acc-meter { grid-column: 1 / -1; margin-top: 8px; }
  .gt-sub { grid-column: 1 / -1; text-align: left; }
  .km-row { grid-template-columns: 108px 1fr 40px; gap: 8px; }
  .km-name { font-size: .8rem; }
  .badge-shelf { grid-template-columns: repeat(3, 1fr); }
  .acc-mini { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .ava-grid { grid-template-columns: repeat(6, 1fr); }
  .log-x { font-size: .5rem; }

  /* bottom navigation */
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
  }
  .bottom-nav button {
    flex: 1; background: none; border: none; font: inherit; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 2px; color: var(--grey);
  }
  .bottom-nav .bn-i { font-size: 1.2rem; }
  .bottom-nav em { font-style: normal; font-size: .64rem; font-weight: 600; }
  .bottom-nav button.is-active { color: var(--red); }
  .site-footer { margin-bottom: 62px; }
  .toast-stack { bottom: 78px; }
}

/* =====================================================================
   LANDING PAGE REDESIGN — professional, image-led (navy + Swiss red)
   ===================================================================== */
:root {
  --navy: #0d1f3c;
  --navy-2: #16305c;
  --accent: #2f6bff;
  --amber: #f5a623;
  --display: "Sora", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, h4, .hero2-title, .brand-text strong { font-family: var(--display); }

/* line-icon base */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; display: block; }

/* buttons */
.btn-lg { padding: 16px 28px; font-size: 1.04rem; border-radius: 10px; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: #eef1f6; border-color: #eef1f6; }
.ico-fill { fill: currentColor; stroke: none; }

/* header polish */
.site-header { box-shadow: 0 1px 0 rgba(13,31,60,.05); }

/* ---------------- HERO ---------------- */
.hero2 { position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 82% -8%, #eaf0fb 0%, transparent 60%), linear-gradient(180deg, #f8f9fc, #eef1f6);
  border-bottom: 1px solid var(--line); }
.hero2-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 74px 24px 84px; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2);
  color: var(--navy); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px 7px 11px; border-radius: 100px; box-shadow: var(--shadow); }
.badge-pill .ico { width: 15px; height: 15px; color: var(--red); }
.hero2-title { font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em;
  margin: 20px 0 18px; color: var(--navy); }
.hero2-title .hl { color: var(--red); }
.hero2 .lead { font-size: 1.14rem; color: var(--ink-2); max-width: 33em; }
.hero2 .hero-actions { margin: 30px 0 0; }
.hero2-trust { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .9rem; color: var(--ink-2); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; }

.hero2-media { position: relative; }
.hero2-imgwrap { position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(13,31,60,.28); aspect-ratio: 5 / 4; }
.hero2-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero2-badge { position: absolute; left: -16px; bottom: 26px; background: var(--navy); color: #fff;
  border-radius: 16px; padding: 13px 18px; box-shadow: 0 14px 30px rgba(13,31,60,.32); display: flex; flex-direction: column; line-height: 1.1; }
.hero2-badge strong { font-size: 1.7rem; font-family: var(--display); }
.hero2-badge span { font-size: .74rem; color: #aeb8cc; margin-top: 2px; }
.hero2-float { position: absolute; right: -14px; top: -26px; width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 16px 14px; }
.hf-head { display: flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--grey); margin-bottom: 10px; }
.hf-flag { display: inline-flex; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.hf-q { font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.hf-opts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.hf-opts li { border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 11px; font-size: .82rem; color: var(--ink-2); }
.hf-opts li.is-right { border-color: var(--green); background: var(--green-bg); color: var(--green); font-weight: 600; }
.hf-ref { font-size: .74rem; color: var(--grey); }

/* ---------------- TRUST BAR ---------------- */
.trustbar { background: var(--navy); color: #fff; }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 24px; }
.tb-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.tb-item .ico { width: 30px; height: 30px; color: #8ab4ff; }
.tb-item strong { display: block; font-size: 1.5rem; font-family: var(--display); line-height: 1; }
.tb-item span { font-size: .8rem; color: #a9b4c9; }

/* ---------------- section heads ---------------- */
.section-head.center { text-align: center; max-width: 46em; margin-left: auto; margin-right: auto; }
.eyebrow2 { display: inline-block; text-transform: uppercase; letter-spacing: .13em; font-size: .74rem;
  font-weight: 800; color: var(--red); margin-bottom: 12px; }
.section-head.center h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--navy); }
.section-head.center p { color: var(--ink-2); font-size: 1.06rem; margin-top: 12px; }

/* ---------------- HOW IT WORKS ---------------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step3 { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 26px 28px; text-align: center; box-shadow: var(--shadow); }
.step3-n { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px;
  border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-family: var(--display);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(213,43,30,.35); }
.step3-ico { width: 66px; height: 66px; border-radius: 18px; background: rgba(213,43,30,.08); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center; margin: 8px auto 16px; }
.step3-ico .ico { width: 30px; height: 30px; }
.step3 h3 { font-size: 1.14rem; color: var(--navy); margin-bottom: 8px; }
.step3 p { font-size: .95rem; color: var(--ink-2); }

/* ---------------- WHO IS IT FOR ---------------- */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .16s ease; }
.who-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.who-media { aspect-ratio: 4 / 3; overflow: hidden; }
.who-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.who-card:hover .who-media img { transform: scale(1.07); }
.who-body { padding: 18px 18px 20px; }
.who-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.who-body p { font-size: .9rem; color: var(--grey); }

/* ---------------- FEATURES ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px;
  box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.feat-ico { display: inline-flex; width: 54px; height: 54px; border-radius: 14px; background: var(--navy);
  color: #fff; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-ico .ico { width: 26px; height: 26px; }
.feat-card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.feat-card p { font-size: .94rem; color: var(--ink-2); }

/* ---------------- CTA BAND ---------------- */
.cta-band { position: relative; background: url(../assets/img/band-coach.jpg) center 40% / cover no-repeat; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(13,31,60,.94) 20%, rgba(13,31,60,.55)); }
.cta-inner { position: relative; text-align: center; padding: 82px 24px; color: #fff; max-width: 780px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: #fff; margin-bottom: 14px; }
.cta-inner p { color: #d7dced; font-size: 1.12rem; margin-bottom: 26px; }
.hero-actions.center { justify-content: center; }

/* ---------------- TESTIMONIALS ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.testi-stars { color: var(--amber); letter-spacing: 2px; }
.testi-card blockquote { margin: 0; font-size: 1rem; color: var(--ink); line-height: 1.6; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-ava { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c, var(--red)); color: #fff;
  font-weight: 800; font-family: var(--display); display: inline-flex; align-items: center; justify-content: center; }
.testi-card figcaption strong { display: block; color: var(--navy); font-size: .95rem; }
.testi-card figcaption em { font-style: normal; font-size: .82rem; color: var(--grey); }

/* ---------------- FAQ ---------------- */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 2px 22px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 700; color: var(--navy);
  font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--red); font-weight: 400; flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 18px; color: var(--ink-2); font-size: .96rem; line-height: 1.6; }

/* ---------------- about page hero image ---------------- */
.hero-slim.hero-photo { position: relative; background: var(--navy); color: #fff; border-bottom: none; }
.hero-slim.hero-photo::before { content: ""; position: absolute; inset: 0;
  background: url(../assets/img/band-alpine.jpg) center/cover; opacity: .28; }
.hero-slim.hero-photo .wrap { position: relative; }
.hero-slim.hero-photo .eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.hero-slim.hero-photo h1 { color: #fff; }
.hero-slim.hero-photo .lead { color: #d7dced; }

/* ---------------- landing responsive ---------------- */
@media (max-width: 960px) {
  .hero2-grid { grid-template-columns: 1fr; gap: 40px; padding: 52px 24px 60px; }
  .hero2-media { order: -1; max-width: 480px; }
  .hero2-float { display: none; }
  .steps3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .tb-item { justify-content: flex-start; }
  .who-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero2-badge { left: 10px; }
  .cta-inner { padding: 60px 22px; }
}

/* header fit — prevent nav wrapping, especially in French */
.site-nav { gap: 24px; }
.site-nav a { white-space: nowrap; }
@media (max-width: 1024px) {
  .site-nav { gap: 18px; }
  .brand-text em { display: none; }
}
