/* =========================================================
   tomda.eu — Career Intelligence · Executive Partner mockup
   Responsive single-file stylesheet (mobile-first)
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Dark surface system */
  --bg: #0B1220;            /* page background, deep ink */
  --surface: #11182A;       /* alternate surface / cards */
  --surface-2: #0F1526;     /* darker panels */
  --panel: #141D31;         /* card fill */

  --ink: #F1F5F9;           /* primary text (near-white) */
  --ink-soft: #CBD5E1;      /* secondary text */
  --muted: #94A3B8;         /* muted text */
  --faint: #64748B;         /* faint/meta text, still readable */

  --accent: #FCD34D;        /* warm gold accent — decisive executive tone */
  --accent-strong: #FBBF24;
  --action: #60A5FA;        /* action blue (links/CTAs hover) */
  --action-strong: #93C5FD;

  --border: #24304A;        /* hairlines */
  --border-strong: #33415F;
  --line: #1B2437;

  --on-action: #0B1220;     /* text on gold buttons */

  /* Display serif for decisiveness */
  --font-display: Georgia, "Times New Roman", "Iowan Old Style",
                  "Palatino Linotype", Palatino, Charter, serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Helvetica Neue", Arial, sans-serif;

  /* spacing base 8px */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --maxw: 1240px;

  --ease: 160ms ease;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img { max-width: 100%; display: block; }

a { color: var(--action-strong); text-decoration: none; }
a:hover { color: var(--accent-strong); text-decoration: underline; }

/* visible keyboard focus */
:focus-visible {
  outline: 3px solid var(--action-strong);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout container ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s3);
}

section {
  padding: var(--s6) 0;
}

/* ---------- Typography ---------- */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  position: relative;
  padding-bottom: 14px;
}
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.28;
  font-weight: 650;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}

.section-lede {
  color: var(--muted);
  max-width: 720px;
  margin-top: 22px;
  font-size: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
  min-height: 44px;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent-strong);
  color: var(--on-action);
}
.btn-primary:hover { background: var(--accent); box-shadow: 0 2px 12px rgba(251, 191, 36, 0.3); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--surface-2); }

.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- 1. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header.scrolled { border-bottom-color: transparent; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); }

.site-header.scrolled { border-bottom-color: transparent; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); }

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-height: 44px;
}
.brand:hover { text-decoration: none; }

.monogram {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--accent-strong);
  color: var(--on-action);
  font-weight: 700;
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand-type { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 15px; }
.breadcrumb { font-size: 12px; color: var(--faint); }

.site-nav { margin-left: auto; }

/* ---------- Language switch ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 6px;
  background: var(--surface-2);
}
.lang-switch .lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  min-height: 32px;
  min-width: 36px;
  border-radius: 999px;
  color: var(--muted);
  transition: background var(--ease), color var(--ease);
}
.lang-switch .lang-btn:hover { color: var(--ink); }
.lang-switch .lang-btn.is-active {
  background: var(--accent-strong);
  color: var(--on-action);
}
.lang-switch .lang-sep { color: var(--faint); font-size: 12px; user-select: none; }
.site-nav ul { display: flex; gap: var(--s3); }
.site-nav a { color: var(--ink); font-weight: 500; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }

.header-inner .btn-cta { margin-left: var(--s2); }
.header-inner .lang-switch { margin-left: var(--s2); }
.btn-login { min-width: 0; padding: 12px 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu ul { padding: var(--s2) var(--s3) var(--s3); display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a { display: block; padding: 12px 0; color: var(--ink); font-weight: 500; font-size: 17px; min-height: 44px; }
.mobile-menu a.btn { text-decoration: none; }

/* ---------- 2. Hero ---------- */
.hero { padding: var(--s7) 0 var(--s6); background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); align-items: center; }

.hero-lead {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 620px;
  margin-top: var(--s3);
  line-height: 1.6;
}

.hero-credentials {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
  max-width: 560px;
}
.hero-credentials li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}
.hero-credentials li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.portrait-placeholder {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  max-width: 380px;
  display: grid;
  place-items: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}
.portrait-text { color: var(--faint); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- 3. Proof strip ---------- */
.proof {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: var(--s5) 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
.proof-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.proof-unit { font-size: 0.5em; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.proof-label { font-family: var(--font-display); margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.45; }

/* ---------- 4. Doors ---------- */
.door-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
.door-card {
  font-family: var(--font-display);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
  color: var(--ink);
  display: block;
}
.door-card:hover { border-color: var(--accent); transform: translateY(-2px); background: var(--surface); text-decoration: none; }
.door-card h3 { color: var(--ink); margin-bottom: var(--s2); }
.door-card p { color: var(--muted); font-size: 17px; line-height: 1.55; margin-bottom: var(--s3); }
.door-link { color: var(--accent-strong); font-weight: 600; }

/* ---------- 5. Situations ---------- */
.situations { background: var(--bg); }
.situation-list { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
.situation-item {
  font-family: var(--font-display);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--s3) var(--s4);
}
.situation-item h3 { margin-bottom: var(--s2); }
.situation-item p { color: var(--muted); line-height: 1.6; }

/* ---------- 6. Modes ---------- */
.mode-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
.mode-card {
  font-family: var(--font-display);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.mode-category { display: block; color: var(--faint); font-family: var(--font); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.mode-card h3 { color: var(--ink); }
.mode-role { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; }
.mode-card > p { color: var(--ink-soft); margin-top: var(--s2); line-height: 1.6; }
.mode-out { color: var(--faint) !important; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: var(--s4) !important; }
.mode-card ul { margin-top: var(--s2); display: flex; flex-direction: column; gap: 10px; }
.mode-card li { color: var(--ink-soft); line-height: 1.5; padding-left: 22px; position: relative; }
.mode-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mode-fit { margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--border); margin-top: var(--s4); color: var(--muted); font-size: 15px; }

/* ---------- 7. Method ---------- */
.method { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-steps { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
.method-step {
  font-family: var(--font-display);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
}
.method-step-num { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; display: block; }
.method-step h3 { margin: var(--s2) 0 8px; }
.method-step p { color: var(--muted); line-height: 1.6; }

/* ---------- 8. Cases ---------- */
.case-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
.case-card {
  font-family: var(--font-display);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.case-kicker { font-family: var(--font); display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; margin-bottom: var(--s2); }
.case-card h3 { color: var(--ink); margin-bottom: var(--s3); }
.case-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--border); }
.case-row dt { font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.case-row dd { color: var(--muted); line-height: 1.6; }

/* ---------- 9. Profile ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); align-items: start; }
.profile-text p { color: var(--ink-soft); line-height: 1.7; margin-top: var(--s3); max-width: 640px; }
.profile-facts {
  font-family: var(--font-display);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
}
.profile-facts h3 { color: var(--ink); margin-bottom: var(--s3); }
.profile-facts li { color: var(--ink-soft); line-height: 1.5; padding: 8px 0 8px 24px; position: relative; }
.profile-facts li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.profile-note { color: var(--muted); font-size: 14px; margin-top: var(--s3); border-top: 1px solid var(--border); padding-top: var(--s3); }

/* ---------- 10. Insights ---------- */
.insights { background: var(--bg); }
.insight-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
.insight-card {
  font-family: var(--font-display);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--s3) var(--s4);
  display: flex;
  flex-direction: column;
}
.insight-tag { font-family: var(--font); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: var(--s2); }
.insight-card h3 { color: var(--ink); margin-bottom: var(--s2); }
.insight-card p { color: var(--muted); line-height: 1.6; }
.insight-meta { margin-top: var(--s3) !important; font-size: 14px; color: var(--faint); }

/* ---------- 11. Contact ---------- */
.contact { background: var(--surface-2); border-top: 1px solid var(--line); color: var(--ink); }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-inner h2 { color: var(--ink); letter-spacing: -0.015em; }
.contact .section-lede { color: var(--muted); }

.contact-form { margin-top: var(--s4); display: grid; grid-template-columns: 1fr; gap: var(--s2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--action-strong); outline-offset: 1px; border-color: var(--action); }
.field textarea { resize: vertical; min-height: 110px; }

.field-error { color: #FCA5A5; font-size: 14px; display: none; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #F87171; box-shadow: 0 0 0 1px #F87171; }

.form-action { margin-top: var(--s2); }
.form-status { margin-top: var(--s2); font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: var(--s4) 0; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer-route { font-weight: 600; color: var(--ink-soft); }
.footer-note { color: var(--faint); font-size: 14px; }

/* ---------- Sticky bottom CTA (mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px var(--s3) calc(10px + env(safe-area-inset-bottom, 0));
  background: rgba(11, 18, 32, 0.92);
  border-top: 1px solid var(--border);
  z-index: 40;
  display: block;
}

/* ---------- Login modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--s3);
}
.modal[hidden] { display: none; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: color var(--ease), background var(--ease);
}
.modal-close:hover { color: var(--ink); background: var(--surface-2); }

.modal-head .monogram { margin-bottom: var(--s2); }
.modal-head h2 { color: var(--ink); }
.modal-lede { color: var(--muted); margin-top: var(--s2); }

.login-perks {
  margin: var(--s3) 0 0;
  padding: var(--s3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.login-perks li {
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.login-perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.login-form { margin-top: var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.login-form .field label { color: var(--ink-soft); }

.login-divider {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin: var(--s3) 0;
  color: var(--faint);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.login-divider::before, .login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-sso { display: flex; flex-direction: column; gap: 10px; }

.login-hint { margin-top: var(--s3); font-size: 13px; color: var(--faint); line-height: 1.5; }
.login-note { margin-top: var(--s2); font-size: 14px; color: var(--accent-strong); min-height: 1em; }

/* ---------- Multi-step registration ---------- */
.login-step[hidden] { display: none; }

.step-progress {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--s2);
}

.interest-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.interest-fieldset legend {
  font-weight: 600;
  font-size: 15px;
  padding: 0;
  margin-bottom: 4px;
  color: var(--ink);
}
.interest-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  min-height: 44px;
  transition: border-color var(--ease), background var(--ease);
}
.interest-option:hover { border-color: var(--accent); }
.interest-option input { accent-color: var(--accent-strong); width: 18px; height: 18px; flex-shrink: 0; }

.step-actions { display: flex; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); }
.step-skip { text-align: center; margin-top: var(--s1); }

.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
  padding: 4px 8px;
  text-decoration: underline;
}
.link-btn:hover { color: var(--accent); }

/* ---------- Dashboard ---------- */
.dashboard-page {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  overflow-y: auto;
}
.dashboard-page[hidden] { display: none; }

.dash-header {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(6px);
  z-index: 5;
}
.dash-greeting { color: var(--ink-soft); font-weight: 600; margin-right: auto; }
.dash-logout { padding: 10px 16px; }

.dash-main { padding: var(--s6) 0 var(--s7); }
.dash-main h1 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); }

.dash-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
.dash-card {
  font-family: var(--font-display);
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-format {
  font-family: var(--font);
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
}
.dash-card h3 { color: var(--ink); }
.dash-meta { font-family: var(--font); color: var(--faint); font-size: 14px; }
.dash-recommended {
  font-family: var(--font);
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--on-action);
  background: var(--accent);
  border-radius: 4px;
  padding: 4px 10px;
}

.dash-account {
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
}
.dash-account h2 { font-family: var(--font-display); font-size: 24px; color: var(--ink); padding-bottom: 0; }
.dash-account h2::after { display: none; }
.dash-account-grid { display: grid; grid-template-columns: 1fr; gap: var(--s2); margin-top: var(--s3); }
.dash-account-note { color: var(--faint); font-size: 14px; margin-top: var(--s3); }


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---------- ≥ 640px : tablet ---------- */
@media (min-width: 640px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .door-grid { grid-template-columns: repeat(2, 1fr); }
  .situation-list { grid-template-columns: repeat(2, 1fr); }
  .mode-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { grid-template-columns: repeat(2, 1fr); }
  .field-full { grid-column: 1 / -1; }
  .sticky-cta { display: none; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-account-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- ≥ 960px : desktop ---------- */
@media (min-width: 960px) {
  body { font-size: 18px; }
  section { padding: var(--s7) 0; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
  .hero-copy .eyebrow { margin-top: 0; }
  .proof-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
  .door-grid { grid-template-columns: repeat(3, 1fr); }
  .situation-list { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .mode-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .insight-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-grid { grid-template-columns: 3fr 2fr; }
  .dash-grid { grid-template-columns: repeat(3, 1fr); }

  /* method horizontal on desktop */
  .method-steps { grid-template-columns: repeat(4, 1fr); }

  /* nav visible, toggle hidden */
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- ≤ 959px : hide desktop nav, show toggle ---------- */
@media (max-width: 959px) {
  .site-nav { display: none; }
  .header-inner .btn-cta { display: none; }
  .nav-toggle { display: flex; }
  /* compact login button on mobile: hide label, show icon via monogram-ish short text */
  .btn-login { padding: 8px 12px; font-size: 14px; }
  .breadcrumb { display: none; }
  .header-inner { gap: var(--s1); padding: 0 var(--s2); }
  .brand-type { overflow: hidden; }
  .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22vw; font-size: 14px; }
  .header-inner .lang-switch { margin-left: 0; flex-shrink: 0; }
  .lang-switch .lang-btn { padding: 6px 7px; min-width: 28px; }
  .monogram { width: 34px; height: 34px; font-size: 13px; flex-shrink: 0; }
  .btn-login { flex-shrink: 0; }
  .nav-toggle { flex-shrink: 0; }
}

/* =========================================================
   ACCESSIBILITY / MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
