:root {
  --ink: #153b3a;
  --ink-deep: #0b2c2b;
  --petrol: #1d5754;
  --petrol-2: #3e7a76;
  --petrol-light: #dfecea;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --gold: #c69b55;
  --gold-text: #805b22;
  --focus: #805b22;
  --focus-on-dark: #f0d39d;
  --muted: #5e716e;
  --line: #d6e0db;
  --danger: #9b3c32;
  --shadow: 0 28px 80px rgba(15, 54, 52, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-deep);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.detailed-card,
.result-hero,
.result-priority aside {
  --focus: var(--focus-on-dark);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-deep);
  padding: 10px 16px;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.loading-screen,
.noscript-box {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
}

.topbar,
.inner-header,
.quiz-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar,
.inner-header,
.quiz-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  color: var(--ink-deep);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.brand-logo { width: 142px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.brand-product { padding-left: 12px; border-left: 1px solid var(--line); }
.topbar-links { display: flex; align-items: center; gap: 24px; }

.brand-mark {
  width: 34px;
  height: 34px;
  position: relative;
  display: inline-grid;
  place-items: center;
  color: var(--petrol);
}
.brand-mark.large { width: 88px; height: 88px; color: var(--paper); }
.brand-mark span {
  position: absolute;
  width: 18px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.brand-mark.large span { width: 48px; height: 68px; border-width: 2px; }
.brand-mark span:nth-child(1) { transform: rotate(0deg); }
.brand-mark span:nth-child(2) { transform: rotate(60deg); }
.brand-mark span:nth-child(3) { transform: rotate(120deg); }

.text-link,
.link-button,
.inline-action {
  border: 0;
  background: none;
  color: var(--petrol);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.hero-section {
  min-height: 650px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: 40px;
  padding: 66px max(48px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(29, 87, 84, .09);
  border-bottom: 1px solid rgba(29, 87, 84, .1);
  background:
    radial-gradient(circle at 80% 10%, rgba(198, 155, 85, .16), transparent 26%),
    linear-gradient(135deg, #f9f6ef 0%, #eef3ed 100%);
}

.hero-copy { position: relative; z-index: 2; max-width: 700px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--petrol);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 1px; background: var(--gold); }
.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 28px;
  color: var(--ink-deep);
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1.04;
  font-weight: 500;
}
.hero-copy h1 em { color: var(--petrol); font-weight: 500; }
.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #4f6663;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 0 0 24px; }
.hero-actions .link-button { padding: 8px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 650; }
.trust-row i { color: var(--gold); font-style: normal; }

.hero-portrait {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(29,87,84,.13);
  border-radius: 30px;
  background: #dfe5e5;
  box-shadow: 0 34px 80px rgba(15,54,52,.18);
}
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,28,27,.68), transparent 36%); pointer-events: none; }
.hero-portrait img { width: 100%; height: 100%; min-height: 500px; display: block; object-fit: cover; object-position: 72% center; }
.hero-portrait figcaption { position: absolute; z-index: 1; right: 28px; bottom: 24px; color: #fff; text-align: right; font-family: Georgia, serif; font-size: 20px; line-height: 1.25; }
.hero-portrait figcaption span { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.hero-visual { min-height: 500px; position: relative; display: grid; place-items: center; }
.reflection-disc {
  width: min(420px, 40vw);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .14), transparent 24%),
    linear-gradient(145deg, #245f5c, #0b302f);
  box-shadow: 0 50px 100px rgba(8, 45, 43, .26), inset 0 0 0 1px rgba(255,255,255,.12);
}
.disc-ring { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.ring-one { inset: 34px; }
.ring-two { inset: 78px; }
.floating-note {
  position: absolute;
  padding: 8px 14px;
  border: 1px solid rgba(29,87,84,.14);
  border-radius: 999px;
  background: rgba(255,253,248,.9);
  box-shadow: 0 12px 30px rgba(15,54,52,.1);
  color: var(--petrol);
  font-family: Georgia, serif;
  font-size: 14px;
}
.note-one { top: 14%; left: 3%; }
.note-two { right: 0; top: 36%; }
.note-three { left: 11%; bottom: 16%; }

.test-picker,
.method-section,
.dimensions-section,
.faq-section,
.author-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0;
}
.section-heading { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(36px, 4vw, 52px); line-height: 1.15; font-weight: 500; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading.left .eyebrow { justify-content: flex-start; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading.compact h2 { font-size: clamp(32px, 4vw, 44px); }

.test-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inline-status { display: flex; align-items: center; gap: 12px 20px; margin: -20px 0 28px; padding: 16px 18px; border: 1px solid #d6c296; border-radius: 12px; background: #fbf6e9; }
.inline-status strong { flex: 0 0 auto; }
.inline-status span { color: var(--muted); font-size: 14px; }
.inline-status.clear-failure { border-color: #d9b3ae; background: #f8e9e6; }
.inline-status.clear-failure strong { color: var(--danger); }
.test-card {
  min-height: 570px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--shadow);
}
.quick-card { border: 1px solid var(--line); background: var(--paper); }
.detailed-card {
  overflow: hidden;
  color: #eef7f4;
  background: radial-gradient(circle at 95% 0%, rgba(198,155,85,.23), transparent 35%), var(--ink-deep);
}
.recommended {
  position: absolute;
  top: 0;
  right: 44px;
  padding: 7px 18px 9px;
  border-radius: 0 0 12px 12px;
  background: var(--gold);
  color: #1c302f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.test-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--petrol);
  font-family: Georgia, serif;
  font-size: 24px;
}
.detailed-card .test-icon { border-color: rgba(255,255,255,.2); color: #f0d39d; }
.time-badge { padding: 7px 12px; border-radius: 999px; background: var(--petrol-light); color: var(--petrol); font-size: 12px; font-weight: 750; }
.detailed-card .time-badge { background: rgba(255,255,255,.09); color: #dbe9e6; }
.card-kicker { margin-bottom: 8px; color: var(--gold-text); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.detailed-card .card-kicker { color: #f0d39d; }
.test-card h3 { margin: 0 0 16px; font-family: Georgia, serif; font-size: 31px; line-height: 1.18; }
.test-card > p:not(.card-kicker) { color: var(--muted); }
.detailed-card > p:not(.card-kicker) { color: #cbdad7; }
.feature-list,
.check-list { list-style: none; padding: 0; margin: 16px 0 34px; }
.feature-list li,
.check-list li { position: relative; padding: 7px 0 7px 28px; }
.feature-list li::before,
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 850; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .52; cursor: not-allowed; transform: none; }
.button-primary { background: var(--petrol); color: #fff; }
.button-primary:hover { background: #174b49; }
.button-secondary { border-color: var(--petrol); background: transparent; color: var(--petrol); }
.button-light { background: #f7f3e9; color: var(--ink-deep); }
.button-ghost { border-color: var(--line); background: transparent; color: var(--ink-deep); }
.button-danger { border-color: #d9b3ae; background: transparent; color: var(--danger); }
.button-danger:hover { border-color: var(--danger); background: #f8e9e6; }
.full-button { width: 100%; margin-top: auto; }

.resume-box {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 18px;
  border-radius: 16px;
  background: #eef4f1;
}
.resume-box strong, .resume-box span { grid-column: 1; }
.resume-box span { color: var(--muted); font-size: 13px; }
.resume-box .button { grid-column: 2; grid-row: 1 / span 2; }
.resume-box .inline-action { grid-column: 1 / -1; width: max-content; margin-top: 8px; padding: 0; font-size: 13px; }
.resume-box-dark { background: rgba(255,255,255,.08); }
.resume-box-dark span { color: #b7cbc7; }
.resume-box-dark .inline-action { color: #f0d39d; }

.retest-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  margin-top: 24px;
  padding: 30px 34px;
  border: 1px solid #cab079;
  border-radius: 20px;
  background: #faf4e7;
}
.retest-panel.ready, .retest-panel.complete { border-color: #8fb2aa; background: #e7f0ec; }
.retest-panel h2 { margin: 7px 0 8px; font-size: clamp(27px, 3vw, 36px); font-weight: 500; }
.retest-panel p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; }
.retest-actions { min-width: 220px; display: grid; gap: 10px; }
.retest-actions .inline-action { justify-self: start; padding: 4px 0; font-size: 13px; }

.method-section { border-top: 1px solid var(--line); }
.axes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.axes-grid article {
  min-height: 240px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.56);
}
.axis-number { display: block; margin-bottom: 50px; color: var(--gold-text); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.axes-grid h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 26px; }
.axes-grid p { margin-bottom: 0; color: var(--muted); }

.dimension-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dimension-preview-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.58); }
.dimension-preview-grid span { color: var(--gold-text); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.dimension-preview-grid h3 { margin: 18px 0 0; font-size: 15px; line-height: 1.4; }

.privacy-strip {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #edf3ef;
}
.privacy-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--petrol); color: #fff; font-size: 25px; }
.privacy-strip h2 { margin: 0 0 4px; font-family: inherit; font-size: 18px; letter-spacing: 0; }
.privacy-strip p { margin: 0; color: var(--muted); font-size: 14px; }
.privacy-buttons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.noscript-inline { margin: 24px 0 0; padding: 16px 18px; border: 1px solid #d6c296; border-radius: 12px; background: #fbf6e9; color: var(--ink-deep); }

.author-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.author-section h2 { margin: 12px 0 18px; font-size: clamp(38px, 4vw, 52px); font-weight: 500; }
.author-section > div > p:last-child { max-width: 680px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.author-section aside { padding: 30px 32px; border-radius: 20px; background: var(--ink-deep); color: #eef7f4; box-shadow: var(--shadow); --focus: var(--focus-on-dark); }
.author-section aside strong { color: #f0d39d; }
.author-section aside p { margin: 8px 0 18px; color: #cbdad7; font-size: 14px; }
.author-section aside a { color: #f0d39d; font-weight: 800; text-underline-offset: 4px; }

.faq-section { border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.62); }
.faq-list summary { position: relative; padding: 20px 58px 20px 24px; cursor: pointer; color: var(--ink-deep); font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 24px; transform: translateY(-50%); color: var(--petrol); font-size: 24px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-list details p { max-width: 900px; margin: 0; padding: 18px 24px 22px; color: var(--muted); }

.site-footer {
  border-top: 1px solid rgba(255,255,255,.12);
  background: var(--ink-deep);
  color: #cbdad7;
  --focus: var(--focus-on-dark);
}
.footer-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(250px, 1.25fr) minmax(150px, .68fr) minmax(190px, .82fr) minmax(250px, 1fr); gap: 38px; }
.footer-grid h2, .footer-grid h3 { font-family: inherit; letter-spacing: 0; }
.footer-grid h3 { margin-bottom: 12px; color: #fff; font-size: 14px; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand h2 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.footer-brand p, .footer-frame p { margin: 0 0 10px; color: #cbdad7; font-size: 14px; }
.footer-brand p:last-child { color: #f0d39d; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0; }
.footer-nav a, .footer-nav button { min-height: 44px; display: inline-flex; align-items: center; border: 0; padding: 6px 0; background: none; color: #dce9e6; font: inherit; font-size: 14px; font-weight: 700; text-align: left; text-decoration: underline; text-decoration-color: rgba(240,211,157,.45); text-underline-offset: 4px; cursor: pointer; }
.footer-nav a:hover, .footer-nav button:hover { color: #fff; text-decoration-color: #f0d39d; }
.footer-frame { padding: 22px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.05); }
.footer-frame p:last-child { margin-bottom: 0; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #aebfbb; font-size: 12px; }

/* Inner screens */
.inner-shell,
.quiz-shell,
.result-shell { min-height: 100vh; background: radial-gradient(circle at 85% 5%, rgba(198,155,85,.12), transparent 25%), var(--cream); }
.intro-main,
.quiz-main,
.results-main { width: min(940px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 100px; }
.intro-card,
.question-card { border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.intro-card { padding: clamp(34px, 6vw, 68px); }
.intro-card h1 { max-width: 760px; margin: 14px 0 18px; font-size: clamp(40px, 5vw, 60px); font-weight: 500; line-height: 1.12; }
.intro-lead { max-width: 720px; color: var(--muted); font-size: 19px; }
.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; margin: 46px 0; padding-top: 40px; border-top: 1px solid var(--line); }
.intro-grid h2, .scale-preview h2 { margin-bottom: 18px; font-family: inherit; font-size: 16px; letter-spacing: 0; }
.check-list { margin: 0; }
.scale-preview > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 7px 0; }
.scale-preview span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--petrol); font-size: 13px; font-weight: 800; }
.scale-preview p { margin: 0; color: var(--muted); font-size: 14px; }
.notice-box { padding: 20px 24px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: #f3eee2; }
.notice-box strong { color: var(--petrol); }
.notice-box p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.intro-start { width: 100%; margin-top: 30px; }

/* Quiz */
.quiz-header { width: min(1040px, calc(100% - 40px)); }
.save-status { color: var(--muted); font-size: 13px; }
.progress-wrap { width: min(940px, calc(100% - 40px)); margin: 12px auto 0; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.progress-track,
.score-bar { height: 7px; overflow: hidden; border-radius: 999px; background: #d8e2de; }
.progress-track span,
.score-bar span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--petrol), #4e8783); transition: width .3s ease; }
.question-card { padding: clamp(32px, 6vw, 66px); }
.question-counter { margin-bottom: 22px; color: var(--gold-text); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.question-counter span { color: var(--muted); }
.question-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.question-card h1 { max-width: 800px; margin-bottom: 16px; font-size: clamp(29px, 4vw, 42px); font-weight: 500; line-height: 1.3; }
.question-card h1:focus { outline: 3px solid var(--focus); outline-offset: 5px; }
.question-hint { margin-bottom: 28px; color: var(--muted); }
.answer-list { display: grid; gap: 10px; }
.answer-option {
  min-height: 60px;
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.answer-option:hover { border-color: #99b4af; transform: translateX(2px); }
.answer-option.selected { border-color: var(--petrol); background: #edf4f1; }
.answer-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.answer-option:focus-within,
.answer-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.option-number { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--petrol); font-size: 13px; font-weight: 800; }
.selected .option-number { border-color: var(--petrol); background: var(--petrol); color: #fff; }
.option-label { font-size: 15px; font-weight: 650; }
.option-check { opacity: 0; color: var(--petrol); font-weight: 850; }
.selected .option-check { opacity: 1; }
.form-error, .storage-warning { margin: 18px 0 0; color: var(--danger); font-size: 14px; font-weight: 700; }
.storage-warning { padding: 12px; border-radius: 8px; background: #f8e9e6; }
.quiz-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.keyboard-tip { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 12px; }

/* Results */
.results-main { width: min(1040px, calc(100% - 40px)); }
.result-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 28px;
  background: radial-gradient(circle at 92% 0%, rgba(198,155,85,.24), transparent 34%), var(--ink-deep);
  color: #fff;
  box-shadow: var(--shadow);
}
.result-hero .eyebrow { color: #f0d39d; }
.result-hero h1 { margin: 12px 0 16px; font-size: clamp(38px, 5vw, 58px); line-height: 1.12; font-weight: 500; }
.result-hero p:last-of-type { max-width: 660px; margin-bottom: 0; color: #cbdad7; }
.boundary-note { display: inline-block; margin-top: 18px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #f4dfb8; font-size: 12px; font-weight: 750; }
.score-orb { width: 172px; height: 172px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--gold) var(--score), rgba(255,255,255,.13) 0); }
.score-orb > div { width: 142px; height: 142px; display: grid; place-content: center; border-radius: 50%; background: var(--ink-deep); text-align: center; }
.score-orb strong { font-family: Georgia, serif; font-size: 50px; font-weight: 500; line-height: 1; }
.score-orb span { margin-top: 5px; color: #cbdad7; font-size: 12px; }
.result-meta-line { margin-top: 12px; color: #8fa4a0; font-size: 11px; }
.result-top-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.result-top-actions > div { display: flex; flex-wrap: wrap; gap: 9px; }
.result-top-actions > span { color: var(--muted); font-size: 12px; text-align: right; }

.result-nav {
  position: sticky;
  z-index: 8;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 12px 30px rgba(15, 54, 52, .08);
  backdrop-filter: blur(10px);
}
.result-nav strong { flex: 0 0 auto; font-size: 12px; }
.result-nav div { min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.result-nav a { flex: 0 0 auto; padding: 7px 10px; border-radius: 8px; color: var(--petrol); font-size: 12px; font-weight: 750; text-decoration: none; }
.result-nav a:hover, .result-nav a:focus-visible { background: var(--petrol-light); }

.result-priority {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
  gap: 34px;
  margin-top: 28px;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid #cab079;
  border-radius: 24px;
  background: linear-gradient(135deg, #fffaf0, #f1f5ef);
}
.result-priority h2 { margin: 10px 0 9px; font-size: clamp(30px, 4vw, 42px); font-weight: 500; }
.result-priority > div > p:last-child { max-width: 650px; margin: 0; color: var(--muted); }
.result-priority aside { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 22px; border-radius: 16px; background: var(--ink-deep); color: #fff; }
.result-priority aside span { margin-bottom: 8px; color: #f0d39d; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.result-priority aside strong { line-height: 1.45; }
.result-priority aside a { margin-top: 17px; color: #fff; font-size: 12px; font-weight: 750; text-underline-offset: 4px; }
.quick-priority aside { background: var(--petrol); }

#comparison, #elso-lepes, #osszefoglalas, #teruletek, #program, #kontrollterv, #gyors-eredmeny, #munkalap { scroll-margin-top: 90px; }

.result-section { margin-top: 28px; padding: clamp(30px, 5vw, 52px); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.metric-card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #f5f7f3; }
.metric-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.metric-top span { font-weight: 750; }
.metric-top strong { color: var(--petrol); font-family: Georgia, serif; font-size: 34px; }
.metric-card p { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.metric-card p strong { color: var(--ink-deep); }
.inverse-bar span { background: linear-gradient(90deg, #c5a66f, #9e6f55); }

.profile-card { display: grid; grid-template-columns: 1.18fr .82fr; gap: 40px; margin-top: 18px; padding: 30px; border-radius: 18px; background: #e9f0eb; }
.profile-label { display: block; margin-bottom: 8px; color: var(--petrol); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.profile-card h2 { margin-bottom: 10px; font-size: 29px; font-weight: 500; }
.profile-card p { margin: 0; color: var(--muted); font-size: 14px; }
.profile-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.profile-matrix span { min-height: 82px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 11px; border: 1px solid #cddbd5; border-radius: 9px; color: #596c68; font-size: 12px; font-weight: 750; }
.profile-matrix span.active { border-color: var(--petrol); background: var(--petrol); color: #fff; }
.profile-matrix small { display: block; margin-bottom: 5px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.dimension-list { display: grid; gap: 10px; }
.dimension-row { display: grid; grid-template-columns: 250px 1fr; align-items: center; gap: 7px 22px; padding: 20px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.dimension-row:last-child { border-bottom: 0; }
.dimension-copy h3 { margin: 0 0 2px; font-size: 16px; }
.dimension-copy span { color: var(--muted); font-size: 12px; }
.dimension-row > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.dimension-tip { grid-column: 1 / -1; padding: 10px 13px; border-radius: 8px; background: #f3eee2; color: #465c58; font-size: 12px; }

.strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.strength-grid article { padding: 24px; border-radius: 16px; background: #f3f4ef; }
.strength-grid ol { margin: 0; padding-left: 22px; }
.strength-grid li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.strength-grid li:last-child { border-bottom: 0; }
.strength-grid li strong { display: inline-block; min-width: 70%; font-size: 14px; }
.strength-grid li span { color: var(--muted); font-size: 12px; }

.quality-note { margin-top: 22px; padding: 16px 18px; border: 1px dashed #c6a76d; border-radius: 10px; color: #5c584c; background: #faf6ec; font-size: 13px; }
.quality-action { display: inline-block; margin-top: 10px; padding: 0; color: var(--danger); }
.result-notice { margin-top: 24px; }
.result-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 24px; padding: 28px; border-radius: 18px; background: var(--petrol-light); }
.result-cta h2 { margin-bottom: 4px; font-size: 24px; font-weight: 500; }
.result-cta p { margin: 0; color: var(--muted); font-size: 14px; }

/* Own-result comparison and follow-up */
.comparison-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.comparison-metric { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #f5f7f3; }
.comparison-metric > span { display: block; min-height: 42px; font-size: 13px; font-weight: 750; }
.comparison-metric > div { display: flex; align-items: center; gap: 10px; margin: 12px 0 6px; }
.comparison-metric strong { color: var(--petrol); font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.comparison-metric b { color: var(--muted); font-weight: 500; }
.delta { display: inline-block; margin: 0; font-size: 12px; font-weight: 800; }
.delta.up { color: #17604b; }
.delta.down { color: #8a352f; }
.delta.stable { color: #4c5f5b; }
.delta.context { color: #6f5228; }
.comparison-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.comparison-table-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.table-swipe-hint { display: none; margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.comparison-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; font-size: 13px; }
.comparison-table caption { padding: 14px 16px; color: var(--ink-deep); text-align: left; font-weight: 800; }
.comparison-table th, .comparison-table td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead th { background: #edf3ef; color: var(--ink-deep); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.comparison-table tbody th { min-width: 230px; font-weight: 700; }
.comparison-insight { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--petrol); background: #eaf1ed; }
.comparison-insight p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.comparison-context { margin-top: 12px; padding: 18px 20px; border: 1px solid #d6c296; border-radius: 12px; background: #fbf6e9; }
.comparison-context p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.method-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.control-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.control-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #f7f8f4; }
.control-grid span { color: var(--gold-text); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.control-grid h3 { margin: 18px 0 7px; font-family: Georgia, serif; font-size: 19px; line-height: 1.25; }
.control-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.calendar-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.calendar-actions > span { flex-basis: 100%; color: var(--muted); font-size: 12px; }

/* Shareable short report */
.professional-summary { display: none; border-width: 2px; }
.professional-head { display: flex; align-items: center; gap: 30px; padding-bottom: 24px; border-bottom: 2px solid var(--ink-deep); }
.professional-head img { width: 170px; height: auto; mix-blend-mode: multiply; }
.professional-head h2 { margin: 6px 0 0; font-size: clamp(30px, 4vw, 42px); font-weight: 500; }
.fill-lines { margin: 24px 0; padding: 18px 20px; border: 1px dashed #9eaaa7; border-radius: 10px; }
.fill-lines p { margin: 8px 0; overflow-wrap: anywhere; font-size: 13px; }
.professional-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 22px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.professional-facts p { margin: 0; }
.professional-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.professional-metrics p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 16px; border-radius: 10px; background: #eaf1ed; }
.professional-metrics span { font-size: 12px; font-weight: 700; }
.professional-metrics strong { color: var(--petrol); font-family: Georgia, serif; font-size: 28px; }
.professional-focus { margin-top: 20px; color: var(--muted); font-size: 13px; }
.professional-focus p { margin: 7px 0; }

/* Seven-day program */
.program-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.program-intro p { max-width: 690px; margin: 0; color: var(--muted); }
.program-badge { flex: 0 0 auto; padding: 8px 13px; border-radius: 999px; background: var(--petrol-light); color: var(--petrol); font-size: 12px; font-weight: 800; }
.program-list { display: grid; gap: 12px; counter-reset: day; }
.program-day { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fafbf7; break-inside: avoid; }
.day-number { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-deep); color: #fff; font-family: Georgia, serif; font-size: 21px; }
.program-day h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 22px; }
.program-day .day-focus { margin: 0 0 10px; color: var(--gold-text); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.program-day p { margin: 0; color: var(--muted); font-size: 14px; }
.program-day .micro-action { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--petrol); background: #eaf1ed; color: #304b48; }

/* Workbook */
.workbook {
  margin-top: 28px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.workbook-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 2px solid var(--ink-deep); }
.workbook-header h2 { margin: 0 0 6px; font-size: 35px; font-weight: 500; }
.workbook-header p { margin: 0; color: var(--muted); }
.workbook-mark { color: var(--gold); font-family: Georgia, serif; font-size: 30px; }
.worksheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.worksheet-field { min-height: 155px; padding: 20px; border: 1px solid #aebdb8; border-radius: 12px; break-inside: avoid; }
.worksheet-field.wide { grid-column: 1 / -1; }
.worksheet-field span { display: block; margin-bottom: 12px; color: var(--petrol); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.worksheet-field h3 { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.write-lines { min-height: 65px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, #d7dfdc 28px); }

.help-block { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border: 1px solid #e0c18d; border-radius: 16px; background: #fbf5e8; }
.help-block .help-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink-deep); font-weight: 900; }
.help-block h2 { margin: 0 0 5px; font-family: inherit; font-size: 17px; letter-spacing: 0; }
.help-block p { margin: 0; color: #5c5b53; font-size: 13px; }
.help-block a { color: var(--petrol); font-weight: 800; }

.result-disclaimer { margin-top: 28px; padding: 24px 28px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.5); }
.result-disclaimer p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Modal */
.modal { width: min(720px, calc(100% - 24px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0; border: 0; border-radius: 22px; color: var(--ink-deep); background: var(--paper); box-shadow: 0 30px 120px rgba(5,30,29,.35); }
.modal::backdrop { background: rgba(7,36,35,.64); backdrop-filter: blur(4px); }
.modal-card { margin: 0; padding: 0; }
.modal-head { display: flex; justify-content: space-between; gap: 20px; padding: 30px 32px 22px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 6px 0 0; font-size: 30px; font-weight: 500; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink-deep); cursor: pointer; font-size: 25px; }
.modal-copy { padding: 26px 32px; color: var(--muted); }
.modal-copy h3 { color: var(--ink-deep); }
.modal-copy li { margin: 7px 0; }
.method-copy code { padding: 2px 5px; border-radius: 4px; background: #eaf1ed; color: var(--ink-deep); }
.method-version { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.modal-actions { display: flex; justify-content: flex-end; padding: 0 32px 28px; }

@media (max-width: 960px) {
  .hero-section { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { margin: 0 auto; text-align: center; }
  .hero-copy .eyebrow, .trust-row { justify-content: center; }
  .hero-portrait { width: min(820px, 100%); min-height: 480px; margin: 0 auto; }
  .hero-portrait img { min-height: 480px; }
  .hero-visual { min-height: 390px; }
  .reflection-disc { width: 350px; }
  .test-grid, .axes-grid, .metric-grid, .strength-grid { grid-template-columns: 1fr; }
  .test-card { min-height: auto; }
  .profile-card { grid-template-columns: 1fr; }
  .dimension-preview-grid { grid-template-columns: 1fr 1fr; }
  .privacy-strip { grid-template-columns: auto 1fr; }
  .privacy-buttons { grid-column: 1 / -1; justify-content: flex-start; }
  .retest-panel { grid-template-columns: 1fr; }
  .retest-actions { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .retest-actions .inline-action { grid-column: 1 / -1; }
  .control-grid { grid-template-columns: 1fr 1fr; }
  .author-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1040px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar, .inner-header, .quiz-header { width: calc(100% - 28px); }
  .topbar, .inner-header, .quiz-header { min-height: 68px; }
  .brand span:last-child { font-size: 10px; }
  .brand-logo { width: 102px; height: 44px; }
  .brand-product { display: none; }
  .topbar .text-link, .save-status { display: none; }
  .hero-section { padding: 58px 22px 48px; }
  .hero-copy h1 { font-size: 47px; }
  .hero-lead { font-size: 17px; }
  .trust-row { gap: 8px 14px; font-size: 12px; }
  .hero-actions { justify-content: center; }
  .hero-actions .button { width: 100%; }
  .hero-portrait { min-height: 280px; border-radius: 20px; }
  .hero-portrait img { min-height: 280px; object-position: 70% center; }
  .hero-portrait figcaption { right: 18px; bottom: 16px; font-size: 17px; }
  .hero-visual { min-height: 300px; }
  .reflection-disc { width: min(280px, 82vw); }
  .floating-note { font-size: 11px; }
  .note-one { left: 0; }
  .note-two { right: 0; }
  .test-picker, .method-section, .dimensions-section, .faq-section, .author-section, .privacy-strip { width: calc(100% - 28px); }
  .test-picker, .method-section, .dimensions-section, .faq-section, .author-section { padding: 74px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 35px; }
  .test-card { padding: 28px 24px; border-radius: 20px; }
  .inline-status { align-items: flex-start; flex-direction: column; }
  .test-card h3 { font-size: 27px; }
  .test-card .feature-list { font-size: 14px; }
  .recommended { right: 24px; }
  .resume-box { grid-template-columns: 1fr; }
  .resume-box .button, .resume-box strong, .resume-box span, .resume-box .inline-action { grid-column: 1; grid-row: auto; }
  .retest-panel { padding: 24px 20px; }
  .retest-actions { grid-template-columns: 1fr; }
  .retest-actions .button { width: 100%; }
  .retest-actions .inline-action { grid-column: auto; }
  .axes-grid article { min-height: auto; padding: 26px; }
  .axis-number { margin-bottom: 26px; }
  .dimension-preview-grid { grid-template-columns: 1fr; }
  .privacy-strip { grid-template-columns: 1fr; margin-bottom: 70px; padding: 24px; }
  .privacy-icon { width: 44px; height: 44px; }
  .privacy-buttons { flex-direction: column; }
  .privacy-buttons .button { width: 100%; }
  .author-section { gap: 28px; }
  .author-section aside { padding: 24px 22px; }
  .faq-list summary { padding: 18px 50px 18px 18px; }
  .faq-list summary::after { right: 18px; }
  .faq-list details p { padding: 16px 18px 20px; }
  .footer-inner { width: calc(100% - 28px); padding-top: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { align-items: flex-start; flex-direction: column; }
  .intro-main, .quiz-main, .results-main, .progress-wrap { width: calc(100% - 24px); }
  .intro-main, .quiz-main, .results-main { padding-top: 32px; }
  .intro-card, .question-card { padding: 28px 20px; border-radius: 20px; }
  .intro-card h1 { font-size: 39px; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; margin: 34px 0; padding-top: 28px; }
  .quiz-header .text-link { font-size: 12px; }
  .question-card h1 { font-size: 28px; }
  .answer-option { grid-template-columns: 36px 1fr 20px; padding: 11px 12px; }
  .option-label { font-size: 14px; }
  .quiz-actions { position: sticky; bottom: 0; z-index: 4; margin: 28px -20px -28px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,253,248,.96); box-shadow: 0 -12px 30px rgba(15,54,52,.08); }
  .quiz-actions .button { min-width: 0; padding-inline: 16px; }
  .keyboard-tip { display: none; }
  .result-hero { grid-template-columns: 1fr; padding: 32px 24px; }
  .score-orb { width: 140px; height: 140px; }
  .score-orb > div { width: 114px; height: 114px; }
  .score-orb strong { font-size: 42px; }
  .result-section, .workbook { padding: 28px 20px; }
  .comparison-metrics, .professional-metrics { grid-template-columns: 1fr; }
  .result-nav { align-items: flex-start; gap: 8px; padding: 10px 12px; }
  .result-nav strong { display: none; }
  .result-priority { grid-template-columns: 1fr; gap: 18px; padding: 26px 20px; }
  .result-top-actions { align-items: stretch; flex-direction: column; }
  .result-top-actions > div { flex-direction: column; }
  .result-top-actions .button { width: 100%; }
  .result-top-actions > span { text-align: left; }
  .comparison-table { min-width: 650px; }
  .table-swipe-hint { display: block; }
  .comparison-table th:first-child { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 8px 0 12px rgba(15,54,52,.05); }
  .comparison-table thead th:first-child { z-index: 3; background: #edf3ef; }
  .control-grid, .professional-facts { grid-template-columns: 1fr; }
  .professional-head { flex-direction: column; align-items: flex-start; }
  .professional-head img { width: 145px; }
  .profile-card { padding: 22px; }
  .dimension-row { grid-template-columns: 1fr; gap: 10px; }
  .dimension-row > p, .dimension-tip { grid-column: auto; }
  .strength-grid li strong { min-width: 0; display: block; }
  .result-cta, .program-intro { flex-direction: column; align-items: flex-start; }
  .program-day { grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; }
  .day-number { width: 44px; height: 44px; font-size: 17px; }
  .worksheet-grid { grid-template-columns: 1fr; }
  .worksheet-field.wide { grid-column: auto; }
  .workbook-header { flex-direction: column; }
  .help-block { grid-template-columns: 1fr; }
  .result-actions { flex-direction: column; }
  .result-actions .button { width: 100%; }
  .modal-head { position: sticky; z-index: 3; top: 0; padding-left: 22px; padding-right: 22px; background: var(--paper); }
  .modal-copy { padding-left: 22px; padding-right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  @page { margin: 15mm; }
  body { background: #fff; color: #000; font-size: 9.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .no-print, .inner-header, .topbar, .site-footer, .modal { display: none !important; }
  .results-main { width: 100%; padding: 0; }
  .result-hero, .result-section, .workbook, .result-disclaimer, .help-block { box-shadow: none; }
  .result-hero { background: #fff; color: #000; border: 2px solid #000; }
  .result-hero .eyebrow, .result-hero p:last-of-type, .result-meta-line { color: #000; }
  .score-orb { background: none; border: 2px solid #000; }
  .score-orb > div { background: #fff; color: #000; }
  .score-orb span { color: #000; }
  .result-section, .workbook { border-color: #888; }
  .score-bar { border: 1px solid #777; background: #fff; }
  .score-bar span { background: #777; }
  .profile-card, .metric-card, .strength-grid article, .program-day { background: #fff; border: 1px solid #aaa; }
  .profile-matrix span.active { color: #000; background: #fff; border: 2px solid #000; }
  .dimension-row, .program-day, .worksheet-field, .comparison-metric, .control-grid article, tr { break-inside: avoid; }
  thead { display: table-header-group; }
  .comparison-table-wrap { overflow: visible; border-color: #888; }
  .comparison-table { min-width: 0; font-size: 8.5pt; }
  .comparison-table th, .comparison-table td { padding: 7px 8px; }
  .professional-head img { width: 130px; }
  .professional-summary { break-before: page; }
  .workbook { break-before: page; }
  .write-lines { min-height: 75px; }
  a { color: #000; text-decoration: none; }
  .help-block a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 7pt; overflow-wrap: anywhere; }
  body.professional-print .result-section:not(.professional-summary),
  body.professional-print .result-hero,
  body.professional-print .result-priority,
  body.professional-print .results-main > .quality-note,
  body.professional-print .workbook,
  body.professional-print .help-block,
  body.professional-print .result-disclaimer { display: none !important; }
  body.professional-print .professional-summary { display: block !important; break-before: auto; margin-top: 18px; }
}

/* Premium visual system · v1.5 */
@media screen {
  :root {
    --ink: #143c39;
    --ink-deep: #082d2b;
    --petrol: #195854;
    --petrol-2: #397b75;
    --petrol-light: #e2eeea;
    --cream: #f0ece2;
    --paper: #fffdf8;
    --gold: #c9a260;
    --gold-text: #785420;
    --focus: #76511c;
    --focus-on-dark: #f3d99f;
    --muted: #536b67;
    --line: #ced9d3;
    --danger: #963a31;
    --shadow: 0 30px 90px rgba(7, 43, 41, .11);
    --shadow-soft: 0 16px 48px rgba(7, 43, 41, .075);
    --shadow-dark: 0 38px 100px rgba(2, 24, 23, .28);
    --radius-lg: 18px;
    --radius-md: 12px;
  }

  html { background: var(--cream); }

  body {
    background:
      radial-gradient(circle at 14% 8%, rgba(201,162,96,.09), transparent 22rem),
      var(--cream);
    color: #102f2d;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: -.006em;
  }

  body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    opacity: .17;
    pointer-events: none;
    background-image: radial-gradient(rgba(8,45,43,.18) .45px, transparent .45px);
    background-size: 5px 5px;
  }

  h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.04em; }

  .topbar,
  .inner-header,
  .quiz-header {
    min-height: 92px;
  }

  .topbar {
    position: relative;
  }

  .topbar::after,
  .inner-header::after,
  .quiz-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(8,45,43,.17) 18%, rgba(8,45,43,.17) 82%, transparent);
  }

  .brand { gap: 15px; letter-spacing: .09em; }
  .brand-logo { width: 154px; height: 53px; }
  .brand-product { color: #355a56; font-size: 11px; letter-spacing: .1em; }
  .topbar-links { gap: 30px; }
  .topbar-links .text-link { font-size: 13px; text-decoration: none; }
  .topbar-links .text-link:hover { color: var(--ink-deep); }

  .button {
    min-height: 52px;
    border-radius: 8px;
    padding-inline: 23px;
    letter-spacing: .005em;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  }
  .button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7,43,41,.13); }
  .button-primary { background: var(--petrol); }
  .button-primary:hover { background: #0f4744; }
  .button-secondary, .button-ghost { background: rgba(255,253,248,.48); }
  .text-link, .link-button, .inline-action { text-decoration-thickness: 1px; }

  .hero-section {
    min-height: 720px;
    isolation: isolate;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, .78fr);
    gap: clamp(48px, 7vw, 108px);
    border: 0;
    padding-top: 76px;
    padding-bottom: 76px;
    color: #f6f4ed;
    background:
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 88px 88px,
      linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 88px 88px,
      radial-gradient(circle at 78% 18%, rgba(201,162,96,.18), transparent 25rem),
      linear-gradient(128deg, #062826 0%, #0a3633 56%, #123f3b 100%);
  }

  .hero-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: max(48px, calc((100vw - 1180px) / 2));
    width: 1px;
    background: linear-gradient(transparent, rgba(201,162,96,.65) 18%, rgba(201,162,96,.22) 78%, transparent);
  }

  .hero-copy { max-width: 740px; padding-left: clamp(0px, 2vw, 24px); }
  .hero-copy .eyebrow { color: #f2d99f; }
  .hero-copy .eyebrow > span { width: 42px; background: #d8b879; }
  .hero-copy h1 {
    max-width: 780px;
    margin: 22px 0 30px;
    color: #fffdf8;
    font-size: clamp(58px, 6.4vw, 92px);
    line-height: .99;
    font-weight: 500;
  }
  .hero-copy h1 em { color: #e2c889; font-style: normal; }
  .hero-lead { max-width: 670px; color: #d5e2df; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.72; }
  .hero-section .button-primary { background: #d6b36f; color: #092f2d; }
  .hero-section .button-primary:hover { background: #e4c789; }
  .hero-section .link-button { color: #f3d99f; }
  .hero-section .trust-row { color: #c8d8d4; }
  .hero-section .trust-row i { color: #e5cb92; }

  .hero-portrait {
    min-height: 552px;
    overflow: visible;
    border: 1px solid rgba(237,211,156,.62);
    border-radius: 7px;
    background: #d8dfdd;
    box-shadow: var(--shadow-dark);
  }
  .hero-portrait::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 18px -18px -18px 18px;
    border: 1px solid rgba(201,162,96,.32);
  }
  .hero-portrait::after { border-radius: inherit; background: linear-gradient(to top, rgba(3,25,24,.82), transparent 44%); }
  .hero-portrait img { min-height: 552px; border-radius: inherit; object-position: 74% center; }
  .hero-portrait figcaption { right: 30px; bottom: 28px; font-size: 24px; }
  .hero-portrait figcaption span { color: #d9e4e1; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

  .test-picker,
  .method-section,
  .dimensions-section,
  .faq-section,
  .author-section { padding: 124px 0; }

  .section-heading { margin-bottom: 58px; }
  .section-heading h2 { margin-top: 4px; font-size: clamp(40px, 4.6vw, 58px); line-height: 1.07; }
  .section-heading > p:last-child { max-width: 680px; margin-right: auto; margin-left: auto; font-size: 17px; }
  .section-heading.left > p:last-child { margin-left: 0; }
  .eyebrow { color: #406d68; font-size: 11px; letter-spacing: .2em; }
  .eyebrow > span { width: 34px; }

  .test-grid { gap: 30px; }
  .test-card {
    min-height: 596px;
    overflow: hidden;
    border-radius: 11px;
    padding: 48px;
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .test-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .test-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -100px;
    width: 230px;
    height: 230px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .07;
  }
  .quick-card { border: 1px solid rgba(16,61,57,.17); border-top: 4px solid var(--gold); background: linear-gradient(155deg, #fffefb, #f8f5ec); }
  .detailed-card {
    border: 1px solid #123f3c;
    border-top: 4px solid #d6b36f;
    background:
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 62px 62px,
      radial-gradient(circle at 94% 4%, rgba(201,162,96,.23), transparent 39%),
      #082f2d;
  }
  .recommended { right: 34px; border-radius: 0 0 6px 6px; padding: 9px 17px 10px; background: #d6b36f; letter-spacing: .16em; }
  .card-topline { margin-bottom: 46px; }
  .test-icon { width: 76px; height: 76px; border-radius: 50%; font-size: 27px; }
  .time-badge { border: 1px solid rgba(25,88,84,.1); border-radius: 4px; background: #edf4f1; letter-spacing: .04em; }
  .detailed-card .time-badge { border-color: rgba(255,255,255,.12); }
  .card-kicker { letter-spacing: .18em; }
  .test-card h3 { max-width: 440px; margin-bottom: 20px; font-size: 35px; line-height: 1.12; }
  .feature-list { margin-top: 22px; }
  .feature-list li { padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid rgba(8,45,43,.09); }
  .feature-list li:last-child { border-bottom: 0; }
  .detailed-card .feature-list li { border-color: rgba(255,255,255,.09); }
  .test-card .full-button { position: relative; z-index: 1; }

  .inline-status,
  .retest-panel { border-radius: 8px; box-shadow: var(--shadow-soft); }

  .method-section { position: relative; border-top-color: rgba(8,45,43,.13); }
  .axes-grid { gap: 30px; }
  .axes-grid article {
    min-height: 268px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(8,45,43,.16);
    border-radius: 8px;
    padding: 40px;
    background: rgba(255,253,248,.74);
    box-shadow: var(--shadow-soft);
  }
  .axes-grid article::after {
    content: "";
    position: absolute;
    top: -44px;
    right: -44px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(201,162,96,.38);
    transform: rotate(45deg);
  }
  .axis-number { margin-bottom: 58px; color: #9a7435; letter-spacing: .2em; }
  .axes-grid h3 { font-size: 29px; }

  .dimensions-section { border-top: 1px solid rgba(8,45,43,.13); }
  .dimension-preview-grid { gap: 14px; }
  .dimension-preview-grid article {
    min-height: 144px;
    position: relative;
    border-radius: 6px;
    padding: 25px;
    background: rgba(255,253,248,.7);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
  }
  .dimension-preview-grid article:hover { transform: translateY(-3px); border-color: #b89a61; background: #fffdf8; }
  .dimension-preview-grid span { color: #8d692e; letter-spacing: .18em; }
  .dimension-preview-grid h3 { margin-top: 28px; font-size: 16px; }

  .author-section { gap: 70px; }
  .author-section h2 { font-size: clamp(44px, 5vw, 62px); }
  .author-section aside {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(224,193,130,.42);
    border-radius: 8px;
    padding: 38px;
    background: linear-gradient(145deg, #0b3431, #062725);
    box-shadow: var(--shadow-dark);
  }
  .author-section aside::after { content: "DG"; position: absolute; right: -14px; bottom: -32px; color: rgba(255,255,255,.045); font-family: Georgia, serif; font-size: 130px; line-height: 1; }

  .faq-list { gap: 9px; }
  .faq-list details { border-radius: 6px; background: rgba(255,253,248,.68); }
  .faq-list summary { padding-top: 23px; padding-bottom: 23px; }
  .faq-list details[open] { border-color: rgba(120,84,32,.4); background: #fffdf8; box-shadow: var(--shadow-soft); }

  .privacy-strip {
    border: 1px solid rgba(8,45,43,.16);
    border-radius: 8px;
    padding: 34px 38px;
    background: linear-gradient(135deg, #e8f0ec, #f8f4e8);
    box-shadow: var(--shadow-soft);
  }
  .privacy-icon { border: 1px solid rgba(255,255,255,.3); background: #0e4a46; }

  .site-footer {
    border-top: 3px solid #b98f4d;
    background:
      linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px) 0 0 / 70px 70px,
      #052725;
  }
  .footer-inner { padding-top: 66px; }
  .footer-brand img { width: 188px; }
  .footer-frame { border-radius: 7px; background: rgba(255,255,255,.045); }
  .footer-meta { margin-top: 46px; padding-top: 24px; }

  .inner-shell,
  .quiz-shell,
  .result-shell {
    background:
      radial-gradient(circle at 88% 3%, rgba(201,162,96,.13), transparent 25rem),
      linear-gradient(180deg, #f3f0e8, #ece7dc);
  }
  .intro-main, .quiz-main, .results-main { padding-top: 68px; }
  .intro-card,
  .question-card {
    border: 1px solid rgba(8,45,43,.16);
    border-top: 4px solid #b88e4d;
    border-radius: 10px;
    box-shadow: var(--shadow);
  }
  .intro-card { padding: clamp(40px, 6vw, 72px); }
  .intro-card h1 { font-size: clamp(44px, 5vw, 66px); line-height: 1.05; }
  .intro-grid { border-top-color: rgba(8,45,43,.13); }
  .scale-preview > div { border-bottom: 1px solid rgba(8,45,43,.08); }
  .scale-preview > div:last-child { border-bottom: 0; }
  .notice-box { border-left-width: 4px; border-radius: 0 6px 6px 0; }

  .progress-wrap { margin-top: 24px; }
  .progress-track { height: 5px; background: rgba(8,45,43,.13); }
  .progress-track span { background: linear-gradient(90deg, #1a5c57, #c5a15f); }
  .question-card { padding: clamp(38px, 6vw, 70px); }
  .question-counter { color: #7d5921; letter-spacing: .18em; }
  .question-card h1 { max-width: 820px; font-size: clamp(31px, 4vw, 45px); line-height: 1.24; }
  .question-hint { margin-bottom: 32px; }
  .answer-list { gap: 9px; }
  .answer-option {
    min-height: 66px;
    border-color: rgba(8,45,43,.16);
    border-radius: 7px;
    padding: 13px 18px;
    background: #fffefb;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
  }
  .answer-option:hover { border-color: #678e89; transform: translateX(3px); box-shadow: 0 8px 22px rgba(7,43,41,.07); }
  .answer-option.selected { border-color: #0f514d; background: #0f514d; color: #fff; box-shadow: 0 10px 26px rgba(7,43,41,.17); }
  .selected .option-number { border-color: #e3c98f; background: #e3c98f; color: #082d2b; }
  .selected .option-check { color: #f3d99f; }
  .answer-option.not-applicable.selected { border-color: #795a28; background: #795a28; }
  .quiz-actions { border-top-color: rgba(8,45,43,.12); }

  .results-main { width: min(1080px, calc(100% - 40px)); }
  .result-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(225,197,139,.42);
    border-left: 5px solid #caa35f;
    border-radius: 10px;
    background:
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 66px 66px,
      radial-gradient(circle at 90% 0%, rgba(201,162,96,.24), transparent 36%),
      #072d2b;
    box-shadow: var(--shadow-dark);
  }
  .result-hero::after { content: ""; position: absolute; right: -100px; bottom: -180px; width: 380px; height: 380px; border: 1px solid rgba(229,203,146,.15); border-radius: 50%; }
  .result-hero > * { position: relative; z-index: 1; }
  .result-hero h1 { font-size: clamp(43px, 5vw, 64px); }
  .result-meta-line { color: #a8bbb7 !important; letter-spacing: .02em; }
  .score-orb { width: 182px; height: 182px; padding: 1px; box-shadow: 0 22px 55px rgba(0,0,0,.23); }
  .score-orb > div { width: 148px; height: 148px; border: 1px solid rgba(255,255,255,.12); }

  .result-top-actions,
  .result-nav { border-radius: 8px; box-shadow: var(--shadow-soft); }
  .result-nav { top: 12px; background: rgba(255,253,248,.91); backdrop-filter: blur(16px) saturate(1.2); }
  .result-priority {
    border: 1px solid rgba(159,117,48,.48);
    border-radius: 9px;
    background: linear-gradient(135deg, #fff9eb, #edf3ed);
    box-shadow: var(--shadow-soft);
  }
  .result-priority aside { border: 1px solid rgba(232,204,146,.25); border-radius: 7px; box-shadow: 0 18px 45px rgba(7,43,41,.2); }
  .result-section,
  .workbook {
    border-color: rgba(8,45,43,.15);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
  }
  .metric-card,
  .comparison-metric,
  .strength-grid article,
  .control-grid article,
  .program-day {
    border-radius: 7px;
    background: #f8f8f3;
  }
  .metric-card { border-top: 3px solid #b88e4d; }
  .metric-top strong { color: #14544f; font-size: 38px; }
  .score-bar { height: 6px; }
  .score-bar span { background: linear-gradient(90deg, #124f4b, #4d8c85); }
  .inverse-bar span { background: linear-gradient(90deg, #c39b55, #98614c); }
  .profile-card { border: 1px solid rgba(226,202,150,.26); border-radius: 7px; background: #092f2d; box-shadow: var(--shadow-dark); }
  .profile-card h2, .profile-card p { color: #fff; }
  .profile-card p { color: #cbdad7; }
  .profile-label { color: #f1d89f; }
  .profile-matrix span { border-color: rgba(255,255,255,.17); color: #b8ccc7; }
  .profile-matrix span.active { border-color: #d4b16d; background: #d4b16d; color: #082d2b; }

  .dimension-row { padding: 24px 0; }
  .dimension-copy h3 { font-size: 17px; }
  .dimension-tip { border-left: 3px solid #b88e4d; border-radius: 0 5px 5px 0; }
  .quality-note { border-style: solid; border-radius: 6px; }
  .comparison-table-wrap { border-radius: 6px; }
  .comparison-table thead th { background: #e6efeb; }
  .comparison-insight { border-left-width: 4px; }
  .comparison-context { border-radius: 6px; }
  .result-cta { border: 1px solid rgba(8,45,43,.13); border-radius: 7px; }

  .program-list { position: relative; gap: 14px; }
  .program-list::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 52px; width: 1px; background: rgba(8,45,43,.18); }
  .program-day { padding: 28px; }
  .day-number { position: relative; z-index: 1; border: 1px solid #d3b573; background: #092f2d; box-shadow: 0 0 0 7px #fafbf7; }
  .program-day .micro-action { border-left-color: #b88e4d; }

  .workbook { border-top: 4px solid #b88e4d; }
  .worksheet-field { border-radius: 6px; background: #fffefb; }
  .help-block, .result-disclaimer { border-radius: 6px; }

  .modal { border: 1px solid rgba(225,197,139,.5); border-radius: 9px; box-shadow: 0 34px 130px rgba(3,26,25,.45); }
  .modal-head { border-top: 4px solid #b88e4d; }
  .icon-button { border-radius: 5px; }

  .hero-copy,
  .hero-portrait,
  .test-card,
  .axes-grid article,
  .dimension-preview-grid article {
    animation: premium-enter .62s ease both;
  }
  .hero-portrait { animation-delay: .08s; }
  .test-card:nth-child(2), .axes-grid article:nth-child(2) { animation-delay: .08s; }
  .dimension-preview-grid article:nth-child(2n) { animation-delay: .035s; }

  @keyframes premium-enter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media screen and (max-width: 960px) {
  .hero-section { grid-template-columns: 1fr; gap: 64px; padding-top: 86px; padding-bottom: 86px; }
  .hero-section::before { left: 48px; }
  .hero-copy { padding-left: 0; }
  .hero-copy h1 { max-width: 820px; }
  .hero-portrait { min-height: 520px; }
  .hero-portrait img { min-height: 520px; }
  .test-card { min-height: 550px; }
}

@media screen and (max-width: 640px) {
  .topbar, .inner-header, .quiz-header { min-height: 74px; }
  .brand-logo { width: 112px; height: 42px; }
  .hero-section { gap: 44px; padding: 62px 22px 58px; text-align: left; }
  .hero-section::before { left: 22px; }
  .hero-copy { margin: 0; text-align: left; }
  .hero-copy .eyebrow, .hero-section .trust-row { justify-content: flex-start; }
  .hero-copy h1 { font-size: clamp(48px, 15vw, 64px); }
  .hero-actions { justify-content: flex-start; }
  .hero-portrait { min-height: 340px; margin-right: 8px; border-radius: 5px; }
  .hero-portrait::before { inset: 10px -10px -10px 10px; }
  .hero-portrait img { min-height: 340px; }
  .hero-portrait figcaption { right: 20px; bottom: 18px; }
  .test-picker, .method-section, .dimensions-section, .faq-section, .author-section { padding: 84px 0; }
  .section-heading h2 { font-size: 38px; }
  .test-card { min-height: auto; border-radius: 8px; padding: 32px 25px; }
  .card-topline { margin-bottom: 36px; }
  .test-icon { width: 66px; height: 66px; }
  .test-card h3 { font-size: 30px; }
  .axes-grid article { border-radius: 7px; padding: 29px 25px; }
  .dimension-preview-grid article { min-height: 118px; }
  .author-section aside, .privacy-strip, .footer-frame { border-radius: 7px; }
  .intro-main, .quiz-main, .results-main { padding-top: 38px; }
  .intro-card, .question-card { border-radius: 8px; }
  .intro-card h1 { font-size: 42px; }
  .question-card { padding: 31px 20px; }
  .question-card h1 { font-size: 29px; }
  .answer-option { min-height: 62px; border-radius: 6px; }
  .quiz-actions { background: rgba(255,253,248,.97); backdrop-filter: blur(12px); }
  .result-hero { border-left-width: 4px; border-radius: 8px; }
  .result-hero h1 { font-size: 43px; }
  .result-section, .workbook { border-radius: 8px; }
  .profile-card { border-radius: 7px; }
  .program-list::before { left: 40px; }
  .program-day { padding: 20px 17px; }
  .day-number { box-shadow: 0 0 0 5px #fafbf7; }
}

@media screen and (max-width: 360px) {
  .hero-section { padding-right: 18px; padding-left: 18px; }
  .hero-section::before { left: 18px; }
  .hero-copy h1 { font-size: 45px; }
  .hero-lead { font-size: 16px; }
  .hero-portrait { min-height: 300px; }
  .hero-portrait img { min-height: 300px; }
  .test-card { padding: 28px 21px; }
  .recommended { right: 18px; }
  .answer-option { grid-template-columns: 34px 1fr 18px; gap: 10px; padding-right: 11px; padding-left: 11px; }
  .quiz-actions .button { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-portrait,
  .test-card,
  .axes-grid article,
  .dimension-preview-grid article { animation: none !important; }
}

/* Editorial refinement · authority and business-report direction */
@media screen {
  :root {
    --ink: #1d2632;
    --ink-deep: #101a27;
    --petrol: #2e6556;
    --petrol-2: #4c7b6e;
    --petrol-light: #e6eeea;
    --cream: #f1eee8;
    --paper: #fcfbf7;
    --gold: #b88945;
    --gold-text: #805517;
    --focus: #70470c;
    --focus-on-dark: #ffd58a;
    --muted: #5c6570;
    --line: #d8d4cb;
    --shadow: 0 20px 60px rgba(16,26,39,.10);
    --shadow-soft: none;
    --shadow-dark: none;
  }

  html { scroll-padding-top: 92px; }
  body { background: var(--cream); color: var(--ink); }
  body::before { display: none; }
  .hero-section {
    min-height: min(760px, calc(100svh - 92px));
    display: grid;
    grid-template: 1fr / 1fr;
    gap: 0;
    padding: 0;
    color: var(--ink-deep);
    background: #d8dcdd;
  }
  .hero-section::before { display: none; }
  .hero-copy,
  .hero-portrait { grid-area: 1 / 1; }
  .hero-copy {
    z-index: 2;
    width: min(610px, calc(52vw - 48px));
    max-width: none;
    margin: auto auto auto max(48px, calc((100vw - 1180px) / 2));
    padding: 52px 0;
  }
  .hero-copy .eyebrow { color: #3d574f; }
  .hero-copy .eyebrow > span { background: var(--brass, #b88945); }
  .hero-copy h1 { color: var(--ink-deep); font-size: clamp(58px, 6.3vw, 90px); }
  .hero-copy h1 em { color: var(--ink-deep); }
  .hero-lead { max-width: 590px; color: #3f4c56; }
  .hero-section .button-primary { background: var(--ink-deep); color: #fff; }
  .hero-section .button-primary:hover { background: #25344a; }
  .hero-section .link-button { color: #24384b; }
  .hero-section .trust-row {
    width: max-content;
    max-width: 100%;
    gap: 0;
    margin-top: 26px;
    border-top: 1px solid rgba(16,26,39,.2);
    border-bottom: 1px solid rgba(16,26,39,.2);
    color: #3e4b55;
  }
  .hero-section .trust-row li { padding: 10px 18px; border-left: 1px solid rgba(16,26,39,.2); }
  .hero-section .trust-row li:first-child { padding-left: 0; border-left: 0; }
  .hero-section .trust-row i { display: none; }
  .hero-portrait {
    min-height: min(760px, calc(100svh - 92px));
    overflow: hidden;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #d8dcdd;
    box-shadow: none;
  }
  .hero-portrait::before,
  .hero-portrait::after { display: none; }
  .hero-portrait img {
    width: 100%;
    height: 100%;
    min-height: min(760px, calc(100svh - 92px));
    border-radius: 0;
    object-fit: cover;
    object-position: center;
  }
  .hero-portrait figcaption {
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 24px;
    padding: 10px 14px;
    color: var(--ink-deep);
    background: rgba(252,251,247,.92);
    text-align: left;
    font-size: 18px;
  }
  .hero-portrait figcaption span { color: #4f5963; font-size: 10px; }

  .button:hover { transform: none; }

  .test-card {
    border-radius: 8px;
    box-shadow: none;
    transition: border-color .18s ease, background-color .18s ease;
  }
  .test-card:hover { transform: none; border-color: #a78a58; box-shadow: none; }
  .test-card::after { display: none; }
  .quick-card { background: var(--paper); }
  .detailed-card { background: var(--ink-deep); }
  .test-icon {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: var(--ink-deep);
    font-size: 58px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
  }
  .detailed-card .test-icon { border: 0; color: #f4d79c; }
  .recommended { top: 16px; right: 28px; padding: 0; border-radius: 0; color: #f4d79c; background: transparent; }

  .axes-grid { position: relative; gap: 0; }
  .axes-grid article {
    min-height: 240px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    padding: 18px 52px 18px 0;
    background: transparent;
    box-shadow: none;
  }
  .axes-grid article + article { border-left: 1px solid var(--line); padding-right: 0; padding-left: 52px; }
  .axes-grid article::after { display: none; }
  .axis-number { margin-bottom: 52px; }

  .dimension-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
  .dimension-preview-grid article {
    min-height: 116px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 24px 0;
    background: transparent;
  }
  .dimension-preview-grid article:hover { transform: none; border-color: var(--gold); background: transparent; }
  .dimension-preview-grid h3 { margin-top: 20px; font-size: 18px; }

  .author-section aside {
    border: 0;
    border-left: 4px solid var(--gold);
    border-radius: 0;
    padding: 12px 0 12px 32px;
    color: var(--ink);
    background: transparent;
    box-shadow: none;
  }
  .author-section aside::after { display: none; }
  .author-section aside strong { color: var(--gold-text); }
  .author-section aside p { color: var(--muted); }
  .author-section aside a { color: var(--ink-deep); }

  .faq-list details { border-width: 0 0 1px; border-radius: 0; background: transparent; }
  .faq-list details[open] { border-color: var(--gold); background: transparent; box-shadow: none; }
  .faq-list details[open] summary { border-bottom-color: var(--line); }

  .site-footer { border-top: 1px solid var(--gold); background: var(--ink-deep); }
  .footer-grid { grid-template-columns: 1.25fr .75fr .9fr; }
  .footer-frame {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    gap: 24px;
    border-width: 1px 0 0;
    border-radius: 0;
    padding: 24px 0 0;
    background: transparent;
  }

  .inner-shell,
  .quiz-shell,
  .result-shell { background: var(--cream); }
  .intro-card,
  .question-card { border-top-color: var(--gold); box-shadow: none; }
  .progress-track,
  .score-bar { border-radius: 0; }
  .progress-track span { border-radius: 0; background: var(--gold); }
  .answer-option:hover { transform: none; box-shadow: none; }
  .answer-option.selected {
    border: 2px solid var(--ink-deep);
    color: var(--ink-deep);
    background: #f3f0e9;
    box-shadow: none;
  }
  .selected .option-number { border-color: var(--ink-deep); background: var(--ink-deep); color: #fff; }
  .selected .option-check { color: var(--ink-deep); }
  .answer-option.not-applicable { margin-top: 10px; border-top-width: 1px; }
  .answer-option.not-applicable.selected { border-color: #75531d; color: var(--ink-deep); background: #f5ead5; }

  .result-hero { border-left-width: 4px; background: var(--ink-deep); box-shadow: none; }
  .result-hero::after { display: none; }
  .result-score {
    width: auto;
    height: auto;
    min-width: 190px;
    display: block;
    margin: 0;
    padding: 22px 0 22px 34px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.24);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .result-score dt { color: #f2d398; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
  .result-score dd { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
  .result-score strong { color: #fff; font-family: Georgia, serif; font-size: 68px; font-weight: 500; line-height: .9; }
  .result-score span { color: #cbd3d8; font-size: 16px; }

  .result-priority { background: #f7f2e8; box-shadow: none; }
  .result-priority aside { background: var(--ink-deep); box-shadow: none; }
  .result-section, .workbook { box-shadow: none; }
  .metric-card, .comparison-metric, .strength-grid article, .control-grid article, .program-day { background: transparent; }
  .metric-card, .comparison-metric { border-width: 1px 0 0; border-radius: 0; }
  .profile-card { background: var(--ink-deep); box-shadow: none; }
  .profile-matrix-wrap {
    display: grid;
    grid-template: minmax(0, 1fr) 26px / 28px minmax(0, 1fr);
    gap: 8px;
  }
  .profile-matrix { grid-area: 1 / 2; }
  .profile-axis { color: #aebcc3; font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
  .profile-axis strong { color: #e5c987; font-size: 9px; letter-spacing: .1em; }
  .profile-axis-y { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
  .profile-axis-y strong { writing-mode: vertical-rl; transform: rotate(180deg); }
  .profile-axis-x { grid-area: 2 / 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
  .profile-axis-x strong { text-align: center; }
  .score-bar span { background: var(--positive, #2e6556); }
  .inverse-bar span { background: #a66850; }
  .program-day { border-width: 0 0 1px; border-radius: 0; }
  .day-number { border: 0; border-radius: 0; color: var(--gold-text); background: transparent; box-shadow: none; font-size: 38px; }

  .hero-copy,
  .hero-portrait,
  .test-card,
  .axes-grid article,
  .dimension-preview-grid article { animation-name: editorial-enter; animation-duration: .42s; }
  @keyframes editorial-enter {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media screen and (max-width: 960px) {
  .hero-section { display: grid; grid-template: auto auto / 1fr; min-height: auto; background: var(--paper); }
  .hero-copy, .hero-portrait { grid-area: auto; }
  .hero-copy {
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 0 60px;
    text-align: left;
  }
  .hero-copy .eyebrow, .hero-section .trust-row { justify-content: flex-start; }
  .hero-portrait, .hero-portrait img { min-height: 0; aspect-ratio: 16 / 9; }
  .hero-portrait img { object-position: 72% center; }
  .hero-portrait figcaption { right: 24px; bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-frame { grid-template-columns: 160px 1fr; }
  .footer-frame p:last-child { grid-column: 2; }
}

@media screen and (max-width: 640px) {
  .hero-copy { width: calc(100% - 40px); padding: 58px 0 48px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 13vw, 3.65rem); }
  .hero-section .trust-row { width: 100%; display: grid; grid-template-columns: 1fr; }
  .hero-section .trust-row li { padding: 8px 0; border: 0; border-top: 1px solid rgba(16,26,39,.16); }
  .hero-section .trust-row li:first-child { border-top: 0; }
  .hero-portrait, .hero-portrait img { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-portrait figcaption { right: 16px; bottom: 14px; }
  .test-icon { font-size: 48px; }
  .axes-grid article { padding: 28px 0; }
  .axes-grid article + article { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .dimension-preview-grid { grid-template-columns: 1fr; }
  .footer-grid, .footer-frame { grid-template-columns: 1fr; }
  .footer-frame p:last-child { grid-column: auto; }
  .quiz-actions { border-top: 1px solid var(--line); background: var(--paper); box-shadow: none; backdrop-filter: none; }
  .result-score { min-width: 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.24); border-left: 0; }
  .result-score strong { font-size: 58px; }
}

@media screen and (max-width: 360px) {
  .quiz-actions { gap: 8px; }
  .quiz-actions .button {
    flex: 0 0 auto;
    min-width: 44px;
    padding-inline: 12px;
    white-space: nowrap;
  }
}

@media (hover: hover) {
  .button:hover, .test-card:hover, .dimension-preview-grid article:hover { transform: none; }
}

@media (forced-colors: active) {
  .answer-option.selected { outline: 2px solid Highlight; }
  .score-bar span, .progress-track span { background: Highlight; }
}

@media print {
  .profile-axis { display: none !important; }
  .result-score { width: auto; height: auto; display: block; margin: 0; border: 2px solid #000; border-radius: 0; padding: 10px; }
  .result-score dt { color: #000; font-size: 8pt; }
  .result-score dd { margin: 4px 0 0; }
  .result-score strong { color: #000; font-size: 32pt; }
  .result-score span { color: #000; }
}
