:root {
  --ink: #263746;
  --ink-2: #405362;
  --mist: #eaf2f4;
  --mist-2: #d6e6ea;
  --vermilion: #b74735;
  --vermilion-dark: #a94331;
  --washi: #f7f3eb;
  --washi-2: #eee7da;
  --gold: #b99455;
  --green: #5f8069;
  --purple: #88749b;
  --white: #fffdf8;
  --line: rgba(38, 55, 70, 0.17);
  --line-strong: rgba(38, 55, 70, 0.34);
  --shadow-soft: 0 18px 48px rgba(38, 55, 70, 0.1);
  --shadow-lift: 0 22px 70px rgba(38, 55, 70, 0.16);
  --radius-shell: 32px;
  --radius-card: 20px;
  --radius-control: 14px;
  --page: min(1180px, calc(100vw - 48px));
  --font-sans: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--washi);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(210, 92, 71, 0.08), transparent 25rem),
    radial-gradient(circle at 88% 24%, rgba(79, 125, 145, 0.11), transparent 30rem),
    var(--washi);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

body.app-active {
  background: var(--washi);
}

body.app-active .site-header,
body.app-active .site-footer {
  display: none;
}

body[data-initial-type] #marketingView,
body[data-initial-type] > .site-header,
body[data-initial-type] > .site-footer {
  display: none;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

.notranslate,
[translate="no"] {
  unicode-bidi: isolate;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(210, 92, 71, 0.55);
  outline-offset: 4px;
}

.question-panel h1:focus,
.tie-shell h1:focus,
.result-headline h1:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: min(1320px, calc(100vw - 32px));
  margin: 14px auto 0;
  padding: 12px 14px 12px 20px;
  border: 1px solid rgba(38, 55, 70, 0.12);
  border-radius: 18px;
  background: rgba(247, 243, 235, 0.86);
  box-shadow: 0 8px 30px rgba(38, 55, 70, 0.05);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.brand-word {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-word span {
  color: var(--vermilion);
}

.brand-sub {
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
}

.site-nav a,
.site-footer a {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--vermilion);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 12px;
}

.button-large {
  min-height: 60px;
  padding-inline: 28px;
  border-radius: 17px;
  font-size: 15px;
}

.button-primary {
  background: var(--vermilion);
  box-shadow: 0 12px 28px rgba(210, 92, 71, 0.26);
  color: white;
}

.button-primary:hover {
  background: var(--vermilion-dark);
  box-shadow: 0 16px 36px rgba(210, 92, 71, 0.34);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  box-shadow: 0 12px 25px rgba(38, 55, 70, 0.2);
}

.button-outline {
  border-color: var(--line-strong);
  background: transparent;
}

.button-outline:hover,
.button-ghost:hover {
  border-color: var(--ink);
  background: rgba(38, 55, 70, 0.05);
}

.button-ghost {
  min-height: 44px;
  padding-inline: 16px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.text-link,
.text-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
}

.text-link:hover,
.text-button:hover {
  color: var(--vermilion);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
  min-height: calc(100svh - 86px);
  padding-block: clamp(72px, 10vw, 132px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.station-label {
  display: inline-grid;
  grid-template-columns: 34px 32px auto;
  align-items: center;
  margin-bottom: 38px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.station-label > * {
  display: grid;
  min-height: 30px;
  place-items: center;
}

.station-label span {
  background: var(--ink);
  color: white;
}

.station-label b {
  background: var(--vermilion);
  color: white;
}

.station-label i {
  padding-inline: 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
}

.hero h1,
.section-heading h2,
.atlas-heading h2,
.final-cta h2,
.static-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(48px, 5.7vw, 80px);
}

.hero h1 em {
  color: var(--vermilion);
  font-style: normal;
}

.hero-lead {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--ink-2);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
}

.hero-facts {
  display: flex;
  gap: 0;
  margin-top: 34px;
}

.hero-facts span {
  min-width: 92px;
  padding: 0 22px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-facts span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts b {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.microcopy {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(38, 55, 70, 0.62);
  font-size: 11px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(79, 125, 145, 0.32);
  border-radius: 50%;
  content: "";
}

.hero-visual::before {
  width: 360px;
  height: 360px;
  top: -82px;
  right: -82px;
  box-shadow: 0 0 0 28px rgba(79, 125, 145, 0.04), 0 0 0 62px rgba(79, 125, 145, 0.025);
}

.hero-visual::after {
  width: 130px;
  height: 130px;
  left: -38px;
  bottom: -28px;
  border-color: rgba(210, 92, 71, 0.35);
  box-shadow: 0 0 0 22px rgba(210, 92, 71, 0.04);
}

.hero-visual img {
  aspect-ratio: 1.12;
  width: 100%;
  border: 1px solid rgba(38, 55, 70, 0.12);
  border-radius: 48% 48% 24px 24px;
  box-shadow: var(--shadow-lift);
  object-fit: cover;
  object-position: center;
}

.hero-visual picture {
  display: block;
}

.hero-visual figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  background: rgba(247, 243, 235, 0.86);
  backdrop-filter: blur(14px);
  font-size: 10px;
}

.hero-visual figcaption span {
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-visual figcaption strong {
  font-size: 12px;
}

.hero-visual figcaption i {
  color: var(--ink-2);
  font-size: 16px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.axis-intro {
  padding-block: 110px 125px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.5fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -46px;
}

.section-heading h2,
.atlas-heading h2,
.final-cta h2 {
  font-size: clamp(38px, 4.8vw, 64px);
}

.section-heading > p:last-child,
.atlas-heading > p:last-child,
.final-cta > p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.9;
}

.axis-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.axis-route::before {
  position: absolute;
  top: -42px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.axis-card {
  position: relative;
  min-height: 220px;
  padding: 28px 30px 24px;
  overflow: hidden;
  border: 1px solid rgba(38, 55, 70, 0.13);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 248, 0.58);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.axis-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.axis-card::after {
  position: absolute;
  width: 190px;
  height: 190px;
  top: -80px;
  right: -60px;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 18px color-mix(in srgb, currentColor 7%, transparent), 0 0 0 42px color-mix(in srgb, currentColor 4%, transparent);
  content: "";
  opacity: 0.35;
}

.axis-sk { color: #4f7d91; background: linear-gradient(145deg, rgba(234, 242, 244, 0.92), rgba(255, 253, 248, 0.68)); }
.axis-wm { color: #5f8069; background: linear-gradient(145deg, rgba(237, 243, 237, 0.92), rgba(255, 253, 248, 0.68)); }
.axis-ht { color: #b96a50; background: linear-gradient(145deg, rgba(248, 236, 231, 0.92), rgba(255, 253, 248, 0.68)); }
.axis-dn { color: #88749b; background: linear-gradient(145deg, rgba(240, 236, 244, 0.92), rgba(255, 253, 248, 0.68)); }

.axis-number {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.axis-card > p {
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.axis-card h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.axis-card h3 span {
  color: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.axis-card h3 i {
  color: var(--line-strong);
  font-family: var(--font-sans);
  font-size: 16px;
  font-style: normal;
}

.axis-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 15px;
  border-top: 1px dashed currentColor;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
}

.how-section {
  padding-block: 85px 120px;
  border-top: 1px solid var(--line);
}

.section-heading.compact {
  display: block;
  margin-bottom: 54px;
}

.section-heading.compact .eyebrow {
  margin-bottom: 14px;
}

.how-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  min-height: 250px;
  padding: 30px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.how-list li:first-child {
  border-left: 0;
}

.how-list > li > span {
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 800;
}

.how-list h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
}

.how-list p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.9;
}

.atlas-section {
  padding-block: 130px;
}

.atlas-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 52px;
}

.atlas-heading .eyebrow {
  align-self: start;
  margin-top: 12px;
}

.atlas-heading h2 {
  max-width: 760px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.atlas-heading > p:last-child {
  font-size: 14px;
}

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

.type-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.type-card:hover {
  border-color: var(--ink);
  box-shadow: 0 18px 46px rgba(38, 55, 70, 0.14);
  transform: translateY(-6px);
}

.type-card figure {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--washi-2);
}

.type-card figure::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(27, 43, 55, 0.48));
  content: "";
  pointer-events: none;
}

.type-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.type-card:hover img {
  transform: scale(1.035);
}

.type-number,
.type-code {
  position: absolute;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.type-number {
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(247, 243, 235, 0.78);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 10px;
}

.type-code {
  bottom: 14px;
  left: 16px;
  color: white;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.type-card > div {
  display: flex;
  min-height: 184px;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.type-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.type-card p {
  display: -webkit-box;
  margin: 10px 0 16px;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.type-card > div > span {
  margin-top: auto;
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.atlas-footnote {
  margin: 30px 0 0;
  color: var(--ink-2);
  font-size: 12px;
  text-align: center;
}

.atlas-footnote span {
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.trust-section {
  margin-block: 70px 130px;
  padding: 60px;
  border: 1px solid rgba(38, 55, 70, 0.13);
  border-radius: var(--radius-shell);
  background:
    linear-gradient(rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 96px, rgba(38, 55, 70, 0.08) 97px),
    var(--mist);
}

.trust-section > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}

.trust-section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 600;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.trust-grid article {
  min-height: 220px;
  padding: 25px;
  border: 1px solid rgba(38, 55, 70, 0.12);
  border-radius: 16px;
  background: rgba(247, 243, 235, 0.86);
}

.trust-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.trust-grid h3 {
  margin: 27px 0 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.trust-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.8;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
  margin-bottom: 120px;
  padding: 70px 30px;
  overflow: hidden;
  border-radius: var(--radius-shell);
  background: var(--ink);
  color: white;
  text-align: center;
}

.final-cta > *:not(.weather-ring) {
  position: relative;
  z-index: 1;
}

.final-cta .eyebrow {
  margin-bottom: -30px;
  color: #f6aa97;
}

.final-cta p:not(.eyebrow) {
  margin-top: -32px;
  color: rgba(255, 255, 255, 0.7);
}

.weather-ring,
.result-weather {
  position: absolute;
  border: 1px solid rgba(234, 242, 244, 0.23);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(234, 242, 244, 0.05), 0 0 0 78px rgba(234, 242, 244, 0.035), 0 0 0 130px rgba(234, 242, 244, 0.02);
}

.weather-ring {
  width: 260px;
  height: 260px;
  top: 40px;
  right: 60px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: start;
  gap: 34px;
  width: var(--page);
  margin: 0 auto;
  padding: 45px 0 30px;
  border-top: 1px solid var(--ink);
}

.site-footer > p {
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer small {
  grid-column: 1 / -1;
  color: rgba(38, 55, 70, 0.55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* Quiz */
.app-view {
  min-height: 100svh;
  background:
    radial-gradient(circle at 76% 18%, rgba(79, 125, 145, 0.13), transparent 25rem),
    var(--washi);
}

.quiz-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1040px, calc(100vw - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px 0 30px;
}

.quiz-topline {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 20px;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.65);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.icon-button:hover {
  border-color: var(--ink);
  transform: rotate(5deg);
}

.quiz-progress-copy {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.quiz-progress-copy span:last-child {
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-weight: 600;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(38, 55, 70, 0.12);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--vermilion);
  transition: width 300ms ease;
}

.progress-step-0 { width: 0% !important; }
.progress-step-1 { width: 4.1667% !important; }
.progress-step-2 { width: 8.3333% !important; }
.progress-step-3 { width: 12.5% !important; }
.progress-step-4 { width: 16.6667% !important; }
.progress-step-5 { width: 20.8333% !important; }
.progress-step-6 { width: 25% !important; }
.progress-step-7 { width: 29.1667% !important; }
.progress-step-8 { width: 33.3333% !important; }
.progress-step-9 { width: 37.5% !important; }
.progress-step-10 { width: 41.6667% !important; }
.progress-step-11 { width: 45.8333% !important; }
.progress-step-12 { width: 50% !important; }
.progress-step-13 { width: 54.1667% !important; }
.progress-step-14 { width: 58.3333% !important; }
.progress-step-15 { width: 62.5% !important; }
.progress-step-16 { width: 66.6667% !important; }
.progress-step-17 { width: 70.8333% !important; }
.progress-step-18 { width: 75% !important; }
.progress-step-19 { width: 79.1667% !important; }
.progress-step-20 { width: 83.3333% !important; }
.progress-step-21 { width: 87.5% !important; }
.progress-step-22 { width: 91.6667% !important; }
.progress-step-23 { width: 95.8333% !important; }
.progress-step-24 { width: 100% !important; }

.quiz-time {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.question-panel {
  display: grid;
  align-content: center;
  width: min(780px, 100%);
  margin: 35px auto;
}

.question-panel > .eyebrow {
  color: var(--ink-2);
  text-align: center;
}

.question-panel h1,
.tie-shell h1,
.reveal-shell h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.55;
  text-align: center;
}

.answers {
  display: grid;
  gap: 8px;
  margin-top: 42px;
}

.answer-button {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 26px;
  align-items: center;
  min-height: 62px;
  padding: 8px 18px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.62);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.answer-button:hover {
  border-color: var(--ink);
  background: var(--white);
  transform: translateX(4px);
}

.answer-button[aria-checked="true"] {
  border-color: var(--vermilion);
  background: rgba(210, 92, 71, 0.08);
}

.answer-marker {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.answer-button[aria-checked="true"] .answer-marker {
  border-color: var(--vermilion);
  background: var(--vermilion);
  color: white;
}

.answer-button > i {
  color: var(--ink-2);
  font-style: normal;
  text-align: right;
}

.quiz-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.quiz-controls p {
  margin: 0;
  color: rgba(38, 55, 70, 0.56);
  font-size: 11px;
}

.quiz-controls .text-button[disabled] {
  opacity: 0.35;
  cursor: default;
}

.tie-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  max-width: 820px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tie-weather {
  position: absolute;
  inset: 8% 0 auto;
  height: 160px;
  opacity: 0.45;
}

.tie-weather span {
  position: absolute;
  border: 1px solid #4f7d91;
  border-radius: 50%;
}

.tie-weather span:nth-child(1) { width: 130px; height: 130px; left: 8%; top: 0; box-shadow: 0 0 0 20px rgba(79, 125, 145, 0.05); }
.tie-weather span:nth-child(2) { width: 70px; height: 70px; right: 18%; top: 45px; border-color: var(--vermilion); }
.tie-weather span:nth-child(3) { width: 9px; height: 9px; right: 8%; top: 16px; background: var(--gold); border: 0; box-shadow: -30px 30px 0 #4f7d91, -65px 8px 0 var(--vermilion); }

.tie-shell .eyebrow {
  position: relative;
}

.tie-lead {
  max-width: 600px;
  margin: 20px auto 36px;
  color: var(--ink-2);
  font-size: 13px;
}

.tie-options {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tie-option {
  display: grid;
  min-height: 170px;
  place-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 248, 0.72);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.7;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tie-option:hover {
  border-color: var(--vermilion);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.reveal-shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.reveal-lines {
  display: grid;
  width: min(660px, 100%);
  gap: 10px;
  margin-top: 55px;
}

.reveal-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  min-height: 64px;
  padding: 8px 18px 8px 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.66);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.reveal-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-line b {
  display: grid;
  align-self: stretch;
  place-items: center;
  border-radius: 9px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.axis-tone-sk { color: #4f7d91; }
.axis-tone-wm { color: #5f8069; }
.axis-tone-ht { color: #b96a50; }
.axis-tone-dn { color: #88749b; }

.code-letters .axis-tone-sk,
.reveal-line.axis-tone-sk b,
.axis-result.axis-tone-sk .axis-result-heading b { background: #4f7d91; }
.code-letters .axis-tone-wm,
.reveal-line.axis-tone-wm b,
.axis-result.axis-tone-wm .axis-result-heading b { background: #5f8069; }
.code-letters .axis-tone-ht,
.reveal-line.axis-tone-ht b,
.axis-result.axis-tone-ht .axis-result-heading b { background: #b96a50; }
.code-letters .axis-tone-dn,
.reveal-line.axis-tone-dn b,
.axis-result.axis-tone-dn .axis-result-heading b { background: #88749b; }

.reveal-line span {
  padding-inline: 16px;
  font-weight: 800;
}

.reveal-line i {
  color: var(--ink-2);
  font-size: 11px;
  font-style: normal;
}

/* Result */
.result-view {
  background:
    radial-gradient(circle at 90% 8%, rgba(210, 92, 71, 0.12), transparent 26rem),
    radial-gradient(circle at 8% 28%, rgba(79, 125, 145, 0.13), transparent 32rem),
    var(--washi);
}

.result-shell {
  width: min(1060px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0 75px;
}

.result-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.result-hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 90px);
  align-items: center;
  padding-block: 76px;
}

.result-code-card {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 5;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
  color: white;
}

.result-code-card::after {
  position: absolute;
  inset: 13px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 20px;
  content: "";
  pointer-events: none;
}

.result-code-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-portrait-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 43, 55, 0.14), rgba(27, 43, 55, 0.04) 36%, rgba(27, 43, 55, 0.88) 100%);
}

.result-code-card > *:not(img, .result-portrait-shade) {
  position: relative;
  z-index: 2;
}

.result-code-card > p,
.result-code-card > span {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 12px rgba(27, 43, 55, 0.4);
}

.result-code-card > strong {
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 8vw, 100px);
  letter-spacing: -0.07em;
  line-height: 0.85;
  text-shadow: 0 3px 20px rgba(27, 43, 55, 0.45);
}

.result-code-card > span {
  margin-top: 14px;
}

.code-letters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 16px;
}

.code-letters span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 9px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
}

.result-headline h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.result-tagline {
  margin: 26px 0 0;
  color: var(--vermilion);
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.75;
}

.tone-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.6);
}

.tone-toggle button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.tone-toggle button.active {
  background: var(--ink);
  color: white;
}

.result-summary {
  margin: 26px 0 0;
  color: var(--ink-2);
  line-height: 1.95;
}

.axis-results {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 248, 0.58);
}

.axis-result {
  display: grid;
  grid-template-columns: 150px 1fr 135px;
  align-items: center;
  gap: 22px;
  min-height: 54px;
}

.axis-result-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.axis-result-heading b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
}

.axis-result-heading span {
  font-size: 12px;
  font-weight: 800;
}

.axis-meter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 14px;
  border-radius: 99px;
  background: rgba(38, 55, 70, 0.09);
}

.axis-meter::before {
  position: absolute;
  z-index: 2;
  width: 2px;
  height: 22px;
  top: 50%;
  left: 50%;
  background: var(--washi);
  content: "";
  transform: translate(-50%, -50%);
}

.axis-meter-fill {
  position: absolute;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}

.axis-meter-fill.left { right: 50%; }
.axis-meter-fill.right { left: 50%; }

.meter-level-1 { width: 8%; }
.meter-level-2 { width: 8.3333%; }
.meter-level-3 { width: 12.5%; }
.meter-level-4 { width: 16.6667%; }
.meter-level-5 { width: 20.8333%; }
.meter-level-6 { width: 25%; }
.meter-level-7 { width: 29.1667%; }
.meter-level-8 { width: 33.3333%; }
.meter-level-9 { width: 37.5%; }
.meter-level-10 { width: 41.6667%; }
.meter-level-11 { width: 45.8333%; }
.meter-level-12 { width: 50%; }

.axis-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 9px;
  font-weight: 700;
}

.axis-meter-labels i {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 800;
}

.axis-band {
  justify-self: end;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

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

.detail-card {
  min-height: 235px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 248, 0.6);
}

.detail-card > p {
  margin: 0;
  color: var(--vermilion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.detail-card h2 {
  margin: 22px 0 16px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
}

.detail-card div {
  color: var(--ink-2);
  line-height: 1.9;
}

.detail-strength {
  background: var(--mist);
}

.detail-accident {
  grid-column: 1 / -1;
  min-height: auto;
  background: rgba(210, 92, 71, 0.08);
}

.share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 38px;
  align-items: center;
  margin-top: 72px;
  padding: 30px;
  border-radius: 28px;
  background: var(--ink);
  color: white;
}

.share-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2);
}

.share-preview img {
  aspect-ratio: 1200 / 630;
  width: 100%;
  object-fit: cover;
}

.share-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.share-preview figcaption span {
  color: #f6aa97;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.share-preview figcaption b {
  font-weight: 700;
  text-align: right;
}

.share-content {
  min-width: 0;
}

.share-panel h2,
.feedback-panel h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
}

.share-panel p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.8;
}

.share-panel .eyebrow {
  color: #f6aa97;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.share-x-primary {
  grid-column: 1 / -1;
  min-height: 56px;
  justify-content: space-between;
  border-color: white;
  background: white;
  color: var(--ink);
  font-size: 13px;
}

.share-x-primary:hover {
  border-color: #f38a73;
  background: #f38a73;
  color: var(--ink);
}

.share-panel .button-outline,
.share-panel .button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.share-panel .button-ghost {
  background: rgba(255, 255, 255, 0.06);
}

.share-panel .button-outline:hover,
.share-panel .button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.share-copy {
  grid-column: 1 / -1;
}

.feedback-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px 50px;
  align-items: center;
  margin-top: 14px;
  padding: 38px 46px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.55);
}

.feedback-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.feedback-actions button {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--washi);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.feedback-actions button:hover,
.feedback-actions button.active {
  border-color: var(--vermilion);
  background: rgba(210, 92, 71, 0.08);
}

.feedback-note {
  grid-column: 2;
  margin: 0;
  color: rgba(38, 55, 70, 0.58);
  font-size: 10px;
}

.result-footer-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 42px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100vw - 44px));
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
  color: white;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.noscript-result {
  width: min(720px, calc(100vw - 40px));
  margin: 60px auto;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  text-align: center;
}

.noscript-result img {
  width: min(360px, 100%);
  margin: 0 auto 28px;
  border-radius: 20px;
}

/* Static pages */
.static-main {
  width: min(920px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 95px 0 120px;
}

.static-hero {
  padding-bottom: 60px;
  border-bottom: 1px solid var(--ink);
}

.static-hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 82px);
}

.static-hero > p:last-child {
  max-width: 680px;
  margin: 25px 0 0;
  color: var(--ink-2);
  font-size: 17px;
}

.static-content {
  display: grid;
  gap: 55px;
  padding-top: 65px;
}

.static-content section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 45px;
  padding-bottom: 55px;
  border-bottom: 1px solid var(--line);
}

.static-content h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
}

.static-content h3 {
  margin: 28px 0 10px;
  font-size: 15px;
}

.static-content p,
.static-content li {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 2;
}

.static-content p:first-child {
  margin-top: 0;
}

.static-content ul,
.static-content ol {
  margin: 0;
  padding-left: 1.3em;
}

.notice-box {
  padding: 22px 24px;
  border-left: 4px solid var(--vermilion);
  background: rgba(210, 92, 71, 0.07);
}

.back-home {
  display: inline-flex;
  margin-top: 55px;
}

@media (max-width: 1000px) {
  :root {
    --page: min(100% - 36px, 900px);
  }

  .site-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 90px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .hero-visual img {
    aspect-ratio: 16 / 9;
    border-radius: 26px;
  }

  .hero-visual::before {
    right: -10px;
  }

  .hero-visual::after {
    left: -6px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading .eyebrow {
    margin-bottom: -8px;
  }

  .atlas-heading {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 24px 46px;
  }

  .atlas-heading .eyebrow {
    grid-column: 1 / -1;
    margin: 0;
  }

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

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer nav {
    grid-column: 1 / -1;
  }

  .result-hero {
    grid-template-columns: minmax(280px, 0.68fr) 1fr;
    gap: 45px;
  }

  .share-panel,
  .feedback-panel {
    grid-template-columns: 1fr;
  }

  .feedback-note {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100vw - 28px);
    --radius-shell: 24px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    width: calc(100vw - 20px);
    margin-top: 10px;
    padding-left: 14px;
  }

  .site-header .brand-sub,
  .site-header .button {
    display: none;
  }

  .hero {
    gap: 45px;
    padding-block: 70px 85px;
  }

  .station-label {
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-facts span {
    min-width: auto;
    padding-inline: 14px;
  }

  .hero-facts b {
    font-size: 19px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-visual figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .hero-visual figcaption span {
    display: none;
  }

  .hero-visual figcaption {
    grid-template-columns: 1fr auto;
  }

  .axis-intro,
  .how-section,
  .atlas-section {
    padding-block: 82px;
  }

  .section-heading h2,
  .atlas-heading h2,
  .final-cta h2 {
    font-size: 40px;
  }

  .axis-route {
    grid-template-columns: 1fr;
  }

  .axis-route::before {
    display: none;
  }

  .axis-card {
    min-height: 198px;
    padding: 24px;
  }

  .axis-card h3 {
    font-size: 25px;
  }

  .how-list {
    grid-template-columns: 1fr;
  }

  .how-list li,
  .how-list li:first-child {
    min-height: 0;
    padding: 28px 8px;
    border-left: 0;
    border-bottom: 0;
  }

  .atlas-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }

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

  .type-card {
    border-radius: 15px;
  }

  .type-card > div {
    min-height: 148px;
    padding: 14px 13px 13px;
  }

  .type-card h3 {
    font-size: 16px;
  }

  .type-card p {
    margin-block: 8px 12px;
    font-size: 10px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
  }

  .type-code {
    bottom: 11px;
    left: 12px;
    font-size: clamp(28px, 10vw, 39px);
  }

  .type-number {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }

  .trust-section {
    margin-block: 45px 85px;
    padding: 30px 20px;
  }

  .trust-section > div:first-child {
    display: block;
  }

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

  .trust-grid article {
    min-height: 0;
  }

  .final-cta {
    min-height: 430px;
    margin-bottom: 70px;
  }

  .final-cta .eyebrow,
  .final-cta p:not(.eyebrow) {
    margin: 0;
  }

  .weather-ring {
    top: 30px;
    right: -10px;
  }

  .site-header .brand,
  .result-nav .brand,
  .site-footer a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer nav {
    display: grid;
    grid-column: auto;
  }

  .site-footer small {
    grid-column: auto;
  }

  .quiz-shell {
    width: calc(100vw - 28px);
    padding-top: 14px;
  }

  .quiz-topline {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .quiz-time {
    display: none;
  }

  .question-panel {
    margin-block: 22px;
  }

  .question-panel h1,
  .tie-shell h1,
  .reveal-shell h1 {
    font-size: 29px;
    line-height: 1.55;
  }

  .answers {
    margin-top: 30px;
  }

  .answer-button {
    min-height: 57px;
    padding-right: 12px;
    font-size: 13px;
  }

  .quiz-controls {
    padding-top: 14px;
  }

  .quiz-controls p {
    display: none;
  }

  .tie-options {
    grid-template-columns: 1fr;
  }

  .tie-option {
    min-height: 130px;
    padding: 24px;
    font-size: 17px;
  }

  .result-shell {
    width: calc(100vw - 28px);
    padding-top: 18px;
  }

  .result-hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 48px;
  }

  .result-code-card {
    aspect-ratio: 4 / 5;
    width: 100%;
  }

  .result-code-card > strong {
    font-size: 86px;
  }

  .axis-results {
    padding: 18px 14px;
  }

  .axis-result {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding-block: 8px;
    border-bottom: 1px solid var(--line);
  }

  .axis-result:last-child {
    border-bottom: 0;
  }

  .axis-meter-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .axis-band {
    grid-column: 2;
    grid-row: 1;
  }

  .result-details {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .detail-card,
  .detail-accident {
    grid-column: 1;
    min-height: 0;
    padding: 26px;
  }

  .share-panel {
    gap: 30px;
    margin-top: 48px;
    padding: 18px;
  }

  .share-content {
    padding: 4px 4px 10px;
  }

  .share-preview figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .share-preview figcaption b {
    text-align: left;
  }

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

  .feedback-panel {
    gap: 24px;
    padding: 28px 22px;
  }

  .feedback-actions {
    grid-template-columns: 1fr;
  }

  .result-footer-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .static-main {
    padding-top: 70px;
  }

  .static-content section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
