:root {
  --bg: #f6fbf8;
  --surface: #ffffff;
  --surface-soft: #eef8f4;
  --ink: #172b27;
  --muted: #62746e;
  --line: #d9e8e2;
  --green: #2f946d;
  --green-deep: #1f6f58;
  --blue: #7fb7d9;
  --blue-soft: #e5f2f8;
  --clay: #d8896f;
  --gold: #d8aa43;
  --danger: #a85a51;
  --shadow: 0 18px 48px rgba(31, 111, 88, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #fbfefc 0%, var(--bg) 58%, #edf7f3 100%);
  line-height: 1.55;
}

body.private-page {
  background: #f8fcfa;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 232, 226, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.52);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green-deep);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green-deep);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 12px 24px rgba(31, 111, 88, 0.18);
}

.btn.secondary {
  color: var(--green-deep);
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}

.btn.soft {
  color: var(--green-deep);
  background: var(--surface-soft);
  border-color: rgba(47, 148, 109, 0.2);
  box-shadow: none;
}

.hero {
  min-height: 76svh;
  display: grid;
  align-items: end;
  padding: 88px 0 58px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 44, 38, 0.82), rgba(16, 44, 38, 0.38) 58%, rgba(16, 44, 38, 0.12)),
    url("avenirdz-hero.png") center / cover no-repeat;
}

.hero.article-hero {
  min-height: 46svh;
  padding: 70px 0 44px;
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #daf5ea;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.band {
  padding: 58px 0;
}

.band.light {
  background: #fff;
}

.band.soft {
  background: var(--surface-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-head h2,
.article-body h2,
.dashboard-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p,
.muted,
.article-body p,
.article-body li {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(31, 111, 88, 0.06);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.22;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.metric-row {
  display: grid;
  gap: 10px;
}

.score-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.score-tile {
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.score-tile span,
.score-tile em,
.stat em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.score-tile strong {
  display: block;
  margin: 7px 0 2px;
  color: var(--green-deep);
  font-size: 36px;
  line-height: 1;
}

.metric {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0ed;
}

.bar span {
  display: block;
  width: var(--value, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.pathway {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.path-step {
  min-height: 106px;
  padding: 16px;
  border-left: 3px solid var(--green);
  background: #fff;
}

.path-step strong {
  display: block;
  margin-bottom: 6px;
}

.article-list a {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.article-list a:hover h3 {
  color: var(--green-deep);
}

.diagnostic-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fcfa, #eef7f3);
}

.diagnostic-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 54px;
}

.diagnostic-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.diagnostic-header h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.diagnostic-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.progress-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.question-card {
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.question-card h2 {
  margin: 8px 0 18px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.category {
  margin: 0;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.options {
  display: grid;
  gap: 12px;
}

.option {
  width: 100%;
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.option strong,
.option span {
  display: block;
}

.option span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.option.is-selected {
  border-color: rgba(47, 148, 109, 0.7);
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px rgba(47, 148, 109, 0.25);
}

.result-panel {
  display: none;
  scroll-margin-top: 92px;
}

.result-panel.is-visible {
  display: block;
}

.result-hero {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #eef8f4);
  box-shadow: var(--shadow);
}

.profile-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
}

.result-hero h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  margin-top: 16px;
}

.list-clean {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.list-clean li {
  padding-left: 16px;
  border-left: 3px solid var(--blue);
  color: var(--muted);
}

.private-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 58px;
}

.auth-box {
  max-width: 620px;
  margin: 48px auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-box h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.field {
  display: grid;
  gap: 7px;
  margin: 16px 0;
}

.field label {
  font-weight: 800;
}

.field input {
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: #fbfdfc;
}

.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 148, 109, 0.12);
}

.dashboard {
  display: none;
}

.dashboard.is-visible {
  display: block;
}

.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0 12px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  line-height: 1;
}

.learn-note,
.weekly-action {
  margin-top: 14px;
  padding: 12px;
  border-left: 3px solid var(--blue);
  color: var(--ink);
  background: #f7fbf9;
}

.priority-grid .learn-card,
.priority-grid .week-goal {
  min-height: 100%;
}

.week-goal .btn {
  margin-top: 12px;
}

.goal-progress {
  height: 10px;
  margin: 14px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0ed;
}

.goal-progress span {
  display: block;
  width: var(--value, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.progress-system {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.progress-ring {
  width: 104px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(var(--green) var(--value, 0%), #e8f0ed 0);
  text-align: center;
}

.progress-ring strong,
.progress-ring span {
  grid-area: 1 / 1;
}

.progress-ring strong {
  align-self: center;
  font-size: 24px;
  line-height: 1;
}

.progress-ring span {
  align-self: end;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 11px;
}

.progress-system h4 {
  margin: 2px 0 6px;
  font-size: 20px;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.history-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.history-scores span {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
}

.simple-scores .metric-row {
  margin-top: 10px;
}

.detail-panel {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.detail-panel summary {
  cursor: pointer;
  color: var(--green-deep);
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.detail-grid section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-grid h3 {
  margin-top: 0;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.legend-dot.focus {
  background: var(--blue);
}

.legend-dot.overload {
  background: var(--clay);
}

.evolution-chart {
  width: 100%;
  min-height: 210px;
}

.chart-grid line {
  stroke: #e3eeea;
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line.recovery,
.chart-dot.recovery {
  stroke: var(--green);
  fill: var(--green);
}

.chart-line.focus,
.chart-dot.focus {
  stroke: var(--blue);
  fill: var(--blue);
}

.chart-line.overload,
.chart-dot.overload {
  stroke: var(--clay);
  fill: var(--clay);
}

.evolution-chart text {
  fill: var(--muted);
  font-size: 12px;
}

.recommendation-list {
  display: grid;
  gap: 10px;
}

.recommendation-item {
  padding: 12px;
  border-left: 3px solid var(--green);
  background: #f7fbf9;
  color: var(--muted);
}

.cognitive-interpretation {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 244, 0.82));
}

.interpretation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.interpretation-item {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.interpretation-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.interpretation-item p {
  margin: 0;
  color: var(--muted);
}

.interpretation-item.next-action {
  grid-column: 1 / -1;
  border-color: rgba(47, 148, 109, 0.34);
  background: #f4fbf8;
}

.interpretation-item.next-action p {
  color: var(--ink);
  font-weight: 800;
}

.journal-card form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.range-row input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--green);
}

.range-row strong {
  color: var(--green-deep);
  font-size: 20px;
  text-align: right;
}

#journalStatus {
  margin-top: 12px;
}

.trend-list,
.milestone-grid,
.premium-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.trend-item,
.premium-feature,
.milestone {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.trend-item {
  border-left: 3px solid var(--blue);
  color: var(--muted);
}

.weekly-synthesis-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 900;
}

.mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-metrics span {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 900;
}

.companion-timeline {
  display: grid;
  gap: 10px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.timeline-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: #edf4f1;
  font-weight: 900;
}

.timeline-step.is-done span {
  color: #fff;
  background: var(--green-deep);
}

.timeline-step strong,
.timeline-step em {
  display: block;
}

.timeline-step em,
.milestone em,
.premium-feature span {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.timeline-note {
  margin: 8px 0 0;
}

.milestone {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 9px;
  align-items: center;
}

.milestone span {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: #edf4f1;
  font-weight: 900;
}

.milestone.is-done {
  border-color: rgba(47, 148, 109, 0.36);
  background: #f4fbf8;
}

.milestone.is-done span {
  color: #fff;
  background: var(--green);
}

.premium-panel {
  position: relative;
  overflow: hidden;
}

.premium-lock {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-deep), #17362f);
  font-size: 12px;
  font-weight: 900;
}

.premium-feature.locked {
  position: relative;
  opacity: 0.72;
  padding-right: 70px;
}

.premium-feature.locked::after {
  content: "Verrouillé";
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 900;
}

.premium-feature strong,
.premium-feature span {
  display: block;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  height: 220px;
}

.timeline-item {
  display: grid;
  gap: 8px;
  align-items: end;
  height: 100%;
}

.timeline-bar {
  min-height: 12px;
  height: var(--value, 30%);
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.timeline-label {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.program-week {
  border-left: 4px solid var(--green);
}

.program-week:nth-child(2) {
  border-left-color: var(--blue);
}

.program-week:nth-child(3) {
  border-left-color: var(--gold);
}

.program-week:nth-child(4) {
  border-left-color: var(--clay);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: var(--muted);
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.article-wrap {
  padding: 42px 0 64px;
  background: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  align-items: start;
}

.article-body {
  max-width: 780px;
}

.article-body section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.article-body section:first-child {
  padding-top: 0;
}

.article-body h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.article-body ul {
  padding-left: 20px;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

.summary-table th,
.summary-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.summary-table th {
  background: var(--surface-soft);
}

.summary-table tr:last-child td {
  border-bottom: 0;
}

.faq details {
  margin: 10px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.faq summary {
  font-weight: 900;
  cursor: pointer;
}

.source-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.source-list a {
  color: var(--green-deep);
  font-weight: 800;
}

.article-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.cta-strip {
  padding: 26px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #17362f, #1f6f58);
}

.cta-strip h2 {
  margin: 0 0 8px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.84);
}

.footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--green-deep);
  text-decoration: none;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: 340px;
  padding: 13px 15px;
  border-radius: var(--radius);
  color: #fff;
  background: #17362f;
  box-shadow: 0 14px 30px rgba(23, 54, 47, 0.24);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .grid.three,
  .grid.two,
  .interpretation-grid,
  .detail-grid,
  .diagnostic-layout,
  .result-grid,
  .article-layout,
  .score-strip,
  .dashboard-top,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .progress-panel,
  .article-aside {
    position: static;
  }

  .pathway {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container,
  .diagnostic-shell,
  .private-shell {
    width: min(100% - 22px, 1120px);
  }

  .hero {
    min-height: 72svh;
    padding: 72px 0 38px;
  }

  .hero h1,
  .page-title {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .actions {
    width: 100%;
  }

  .hero-actions .btn,
  .actions .btn,
  .auth-box .btn {
    width: 100%;
  }

  .question-card,
  .result-hero,
  .auth-box,
  .card {
    padding: 18px;
  }

  .metric {
    grid-template-columns: 1fr;
  }

  .score-tile {
    min-height: auto;
  }

  .progress-system {
    grid-template-columns: 1fr;
  }

  .pathway,
  .timeline {
    grid-template-columns: 1fr;
    height: auto;
  }

  .timeline-item {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
  }

  .timeline-bar {
    width: var(--value, 30%);
    height: 16px;
    border-radius: 999px;
  }
}
