@charset "UTF-8";

/* Site palette and typography: /uship/css/ushipcss_style.css. */
:root {
  color-scheme: dark;
  --bg: #0b1320;
  --ink: #e1eaee;
  --muted: #9bb7c7;
  --line: #284454;
  --cyan: #05a1bd;
  --cyan-200: #a5f3fc;
  --link: #00ffff;
  --link-hover: #ff4081;
  --surface: #142735;
  --surface-hover: #1a3b4b;
  --selected: #123f50;
  --control-line: #527a8d;
  --disabled: #243948;
  --shadow: 0 14px 36px rgba(0, 0, 0, .35);
  --r: 18px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto,
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    "Yu Gothic", Meiryo, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 2.1; letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a, summary { touch-action: manipulation; }
a { color: var(--link); text-underline-offset: 5px; }
a:hover { color: var(--link-hover); }
button { cursor: pointer; border: 0; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; }
.shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }

/* Header and introduction */
.site-header { min-height: 100px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--surface); gap: 12px 20px; }
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: .03em; text-decoration: none; display: flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--cyan-200); }
.brand-symbol { display: block; position: relative; flex-shrink: 0; width: 30px; height: 32px; }
.brand-symbol i { position: absolute; border: 1.5px solid var(--cyan); border-radius: 50%; width: 22px; height: 22px; left: 0; top: 2px; }
.brand-symbol i+i { left: 9px; top: 11px; background: var(--surface); border-color: var(--cyan-200); }
.header-link { font-size: 14px; text-decoration: none; letter-spacing: .04em; }
.header-link span { margin-left: 10px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 36px; padding: 64px 0 56px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; font-weight: 600; line-height: 1.6; color: var(--cyan-200); }
.hero .eyebrow { display: flex; gap: 10px; align-items: center; }
.small-line { flex-shrink: 0; width: 22px; height: 2px; background: var(--cyan); }
h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.5; letter-spacing: .02em; margin: 24px 0; }
.accent-word { color: var(--cyan-200); }
.hero-lead { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.hero-description { font-size: 18px; color: var(--muted); line-height: 2.1; }
.quiz-facts { display: flex; flex-wrap: wrap; align-items: center; margin: 28px 0 24px; font-size: 14px; gap: 16px; color: var(--muted); }
.quiz-facts span { white-space: nowrap; }
.quiz-facts span+span { border-left: 1px solid var(--line); padding-left: 16px; }
.quiz-facts b { font-size: 22px; color: var(--ink); font-weight: 600; margin-right: 3px; font-variant-numeric: tabular-nums; }
.button { min-height: 54px; padding: 13px 25px; font-size: 16px; line-height: 1.6; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background .16s, color .16s, transform .16s; }
.button span { font-size: 20px; line-height: 1; }
.button-primary { background: var(--cyan); color: var(--bg); border: 1px solid var(--cyan); box-shadow: var(--shadow); }
.button-primary:hover:enabled, a.button-primary:hover { background: var(--cyan-200); border-color: var(--cyan-200); color: var(--bg); transform: translateY(-1px); }
.button-primary:disabled { background: var(--disabled); border-color: var(--control-line); color: var(--muted); box-shadow: none; }
#start-button { width: min(100%, 340px); }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.start-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.hero-art { position: relative; padding-top: 26px; max-width: 470px; width: 100%; justify-self: end; }
.hero-art svg { display: block; width: 100%; height: auto; }
.art-caption { position: absolute; top: 0; right: 30px; font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.art-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; padding: 0 22px; font-size: 12px; color: var(--muted); }
.art-footer span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.how-it-works { padding: 28px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.how-it-works>div { display: flex; align-items: flex-start; gap: 16px; }
.how-it-works>div+div { border-left: 1px solid var(--line); padding-left: 24px; }
.step-number { color: var(--cyan-200); font-size: 16px; font-weight: 600; line-height: 1.8; font-variant-numeric: tabular-nums; }
.how-it-works h2 { font-size: 16px; line-height: 1.8; }
.how-it-works p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.9; }
.thinkers-section { padding: 44px 0 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-size: 24px; line-height: 1.6; }
.section-aside { font-size: 14px; color: var(--muted); padding-bottom: 2px; }
.thinker-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.thinker-list li { padding: 7px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.thinker-list li:before { content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.thinker-list li:nth-child(4n+1):before { background: var(--cyan-200); }
.about-test { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); padding: 20px 0; margin-top: 12px; }
.about-test summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-block: 4px; color: var(--ink); }
.about-test summary::-webkit-details-marker { display: none; }
.about-test summary:after { content: "＋"; font-size: 20px; color: var(--cyan-200); }
.about-test[open] summary:after { content: "−"; }
.about-test>div { max-width: 820px; padding: 12px 0 8px; }
.about-test p+p { margin-top: 16px; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.site-footer>span { font-size: 16px; font-weight: 700; color: var(--ink); }
.site-footer a { margin-left: auto; text-decoration: none; white-space: nowrap; }

/* Questions */
.quiz-view { max-width: 768px; margin: 56px auto 64px; }
.quiz-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.question-count { font-size: 16px; letter-spacing: .08em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.question-count strong { font-size: 26px; font-weight: 600; }
progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 6px; border: 0; background: var(--line); margin-top: 14px; border-radius: 5px; overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--cyan); transition: width .2s; }
progress::-moz-progress-bar { background: var(--cyan); }
.question-heading { margin: 36px 0 28px; }
.topic-label { display: inline-block; font-size: 14px; color: var(--cyan-200); letter-spacing: .08em; margin-bottom: 14px; }
.question-heading h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.65; overflow-wrap: anywhere; }
.question-heading>p:last-child { font-size: 14px; color: var(--muted); margin-top: 14px; }
#question-title:focus, #result-title:focus, #main:focus { outline: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.answer-option { position: relative; display: block; width: 100%; padding: 0; margin-bottom: 14px; background: transparent; color: var(--ink); text-align: left; border-radius: 10px; letter-spacing: inherit; }
.answer-body { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--control-line); border-radius: 10px; transition: background .15s, border-color .15s; }
.answer-letter { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid var(--control-line); border-radius: 50%; font-size: 14px; font-weight: 600; color: var(--muted); }
.answer-text { min-width: 0; font-size: 18px; line-height: 1.9; overflow-wrap: anywhere; }
.answer-check { margin-left: auto; flex-shrink: 0; color: var(--link); visibility: hidden; font-size: 20px; }
.answer-option:hover .answer-body { border-color: var(--cyan-200); background: var(--surface-hover); }
.answer-option[aria-pressed="true"] .answer-body { background: var(--selected); border-color: var(--link); }
.answer-option[aria-pressed="true"] .answer-letter { background: var(--cyan-200); border-color: var(--cyan-200); color: var(--bg); }
.answer-option[aria-pressed="true"] .answer-check { visibility: visible; }
.quiz-navigation { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 28px; }
.button-back { color: var(--muted); background: transparent; padding-left: 4px; gap: 13px; }
.button-back:hover { color: var(--link-hover); }
.quiz-footnote { text-align: center; font-size: 14px; color: var(--muted); margin-top: 28px; }

/* Results */
.result-view { max-width: 910px; margin: 50px auto 56px; }
.result-heading { text-align: center; margin-bottom: 36px; }
.result-heading h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.6; margin-top: 14px; }
.result-heading h2 span { display: inline-block; }
.result-heading>p:last-child { font-size: 16px; color: var(--muted); margin-top: 12px; }
.result-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.result-card-hero { background: var(--selected); border-bottom: 1px solid var(--control-line); display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 25px; padding: 36px 40px; }
.result-kicker { font-size: 14px; color: var(--cyan-200); display: flex; align-items: center; gap: 10px; }
.result-kicker:before { content: ""; flex-shrink: 0; width: 18px; height: 2px; background: var(--cyan); }
.result-card h3 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.roman-name { font-size: 14px; letter-spacing: .06em; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.result-title { font-size: 18px; margin-top: 20px; line-height: 1.9; }
.result-emblem { position: relative; width: 130px; height: 130px; border: 1px solid var(--cyan); border-radius: 50%; display: grid; place-items: center; }
.result-emblem:before { content: ""; position: absolute; inset: 17px; border: 1px solid var(--cyan); border-radius: 50%; transform: translateX(17px); }
.result-emblem:after { content: ""; position: absolute; bottom: 14px; left: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--cyan); }
.result-emblem span { font-size: 32px; z-index: 1; color: var(--cyan-200); }
.result-content { padding: 36px 40px; }
.result-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.result-tags li { font-size: 14px; padding: 4px 12px; border-radius: 10px; background: var(--selected); color: var(--cyan-200); }
.result-content h4 { font-size: 18px; margin-bottom: 12px; }
.result-content p { font-size: 18px; line-height: 2.1; }
.result-block+.result-block { margin-top: 32px; }
.result-block .section-label { font-size: 12px; letter-spacing: .14em; color: var(--cyan-200); margin-bottom: 8px; }
.answer-evidence { border-left: 2px solid var(--cyan); padding-left: 18px; margin-top: 20px; }
.answer-evidence p { font-size: 14px; color: var(--muted); }
.answer-evidence ul { padding-left: 20px; margin: 8px 0 0; font-size: 16px; line-height: 2; }
.answer-evidence li+li { margin-top: 8px; }
.answer-evidence li::marker { color: var(--cyan-200); }
.perspective { background: var(--selected); border: 1px solid var(--control-line); border-radius: 10px; padding: 24px; margin-top: 32px; }
.perspective h4 { color: var(--cyan-200); font-size: 16px; }
.result-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: 28px; }
.profile-link { display: inline-block; max-width: 100%; min-height: 44px; padding: 8px 0; font-size: 16px; font-weight: 600; line-height: 1.8; overflow-wrap: anywhere; }
.profile-link.button { display: inline-flex; padding: 13px 20px; text-align: center; text-decoration: none; }
.runner-card .result-links { margin-top: 18px; }
.runners-section { margin-top: 44px; }
.runners-section h3 { font-size: 24px; line-height: 1.6; margin: 8px 0 24px; }
.runner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.runner-card { border: 1px solid var(--line); background: var(--surface); padding: 28px; border-radius: var(--r); }
.runner-number { font-size: 14px; color: var(--cyan-200); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.runner-card h4 { font-size: 26px; line-height: 1.6; overflow-wrap: anywhere; }
.runner-card .runner-title { font-size: 16px; color: var(--cyan-200); margin: 10px 0 16px; line-height: 1.8; }
.runner-card p { font-size: 18px; color: var(--muted); line-height: 2.1; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.result-share { display: flex; justify-content: center; margin-top: 24px; }
.button-secondary { background: transparent; border: 1px solid var(--control-line); color: var(--ink); }
.button-secondary:hover { background: var(--surface-hover); }
.result-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 24px; line-height: 2; }
.skip-link { position: fixed; top: 10px; left: 15px; padding: 8px 16px; border-radius: 10px; background: var(--cyan-200); color: var(--bg); z-index: 10; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { clip-path: none; }
.skip-link:hover { color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.noscript-message { padding: 20px; border: 1px solid var(--cyan); border-radius: 10px; margin-bottom: 20px; }

@media (min-width: 1500px) {
  .hero { padding-block: 80px 72px; }
  .hero-art { max-width: 490px; }
}
@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .hero { gap: 24px; padding-block: 48px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .desktop-break { display: none; }
  .how-it-works { gap: 16px; padding: 24px 20px; }
  .how-it-works>div { gap: 10px; }
  .how-it-works>div+div { padding-left: 16px; }
  .section-aside { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 580px; width: 100%; margin-inline: auto; }
  .hero-art { max-width: 380px; justify-self: center; }
  .how-it-works { grid-template-columns: 1fr; gap: 24px; }
  .how-it-works>div { gap: 18px; }
  .how-it-works>div+div { border: 0; padding: 0; }
  .runner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { line-height: 2; }
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 80px; padding: 16px 12px; gap: 8px 12px; }
  .wordmark { font-size: 18px; gap: 9px; }
  .header-link { font-size: 12px; }
  .header-link span { margin-left: 3px; }
  .hero { padding: 36px 0 32px; gap: 28px; }
  .hero-copy { max-width: 470px; }
  h1 { font-size: clamp(27px, 7.5vw, 40px); margin: 20px 0; line-height: 1.55; }
  .quiz-facts { margin: 24px 0; font-size: 13px; gap: 12px; }
  .quiz-facts span+span { padding-left: 12px; }
  #start-button { width: 100%; max-width: 370px; }
  .intro-actions .button { width: 100%; max-width: 370px; }
  .hero-art { max-width: 340px; }
  .art-caption { right: 18px; }
  .art-footer { padding-inline: 12px; }
  .how-it-works { padding: 24px 20px; }
  .thinkers-section { padding: 32px 0; }
  .section-heading h2 { font-size: 22px; }
  .thinker-list { gap: 8px; }
  .thinker-list li { padding: 5px 11px; }
  .about-test { padding-block: 16px; }
  .site-footer { padding: 20px 16px; gap: 10px 16px; }
  .site-footer p { order: 3; flex-basis: 100%; }
  .site-footer>span { font-size: 15px; }
  .quiz-view { margin: 32px auto 40px; }
  .question-heading { margin-top: 28px; margin-bottom: 24px; }
  .question-heading h2 { font-size: 24px; }
  .answer-body { padding: 16px 12px; gap: 12px; }
  .answer-letter { width: 30px; height: 30px; }
  .answer-check { font-size: 18px; }
  .quiz-navigation { gap: 8px; margin-top: 24px; }
  .button-back { padding-right: 12px; gap: 10px; }
  .result-view { margin: 32px auto 40px; }
  .result-heading { margin-bottom: 28px; }
  .result-heading .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .result-heading h2 { font-size: 24px; }
  .result-card-hero { padding: 24px; grid-template-columns: minmax(0, 1fr) 56px; gap: 12px; }
  .result-card h3 { font-size: 28px; }
  .result-kicker { font-size: 13px; }
  .result-kicker:before { width: 12px; }
  .result-emblem { width: 54px; height: 54px; }
  .result-emblem:before { inset: 8px; transform: translateX(7px); }
  .result-emblem:after { width: 15px; height: 15px; left: 0; bottom: 0; }
  .result-emblem span { font-size: 20px; }
  .roman-name { font-size: 12px; letter-spacing: .03em; }
  .result-title { margin-top: 16px; }
  .result-content { padding: 24px 20px; }
  .result-content p { line-height: 2; }
  .result-tags { gap: 8px; }
  .perspective { padding: 18px 16px; }
  .runners-section { margin-top: 32px; }
  .runners-section h3 { font-size: 22px; }
  .runner-grid { gap: 16px; }
  .runner-card { padding: 24px 20px; }
  .runner-card h4 { font-size: 24px; }
  .result-actions { flex-direction: column; gap: 14px; margin-top: 28px; }
  .result-actions .button { width: 100%; }
  .result-share .button { width: 100%; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  .site-header { padding-inline: 10px; }
  .wordmark { font-size: 16px; }
  .hero .eyebrow { letter-spacing: .02em; gap: 8px; }
  .quiz-facts { font-size: 12px; gap: 8px; }
  .quiz-facts span+span { padding-left: 8px; }
  .question-heading h2 { font-size: 23px; }
  .answer-body { gap: 10px; }
  .result-card-hero { padding: 24px 20px; grid-template-columns: 1fr; }
  .result-emblem { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .button-primary:hover:enabled, a.button-primary:hover { transform: none; }
}
