:root {
  --ink: #111111;
  --muted: #6b6a66;
  --line: #d9d6cf;
  --paper: #f4f2ed;
  --paper-deep: #e9e6df;
  --orange: #e76c32;
  --orange-soft: #f3c8ae;
  --white: #fffdf8;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(17, 17, 17, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }

.site-header {
  width: min(1240px, calc(100% - 64px));
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.brand-mark { width: 20px; height: 22px; display: inline-flex; gap: 3px; align-items: end; }
.brand-mark span { display: block; width: 4px; background: var(--ink); }
.brand-mark span:nth-child(1) { height: 10px; }
.brand-mark span:nth-child(2) { height: 17px; background: var(--orange); }
.brand-mark span:nth-child(3) { height: 22px; }
.brand-word { letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 12px; color: var(--muted); }
.site-nav a:hover, .text-link:hover { color: var(--orange); }
.header-cta { justify-self: end; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.header-cta span, .text-link span { color: var(--orange); margin-left: 7px; }

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 60px;
  padding: 64px 0 70px;
}
.hero-copy { max-width: 560px; }
.eyebrow, .section-kicker, .score-topline, .score-foot, .visual-label span, .rubric-list b {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); margin: 0 0 24px; }
.status-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--orange); box-shadow: 0 0 0 4px rgba(231, 108, 50, .13); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 600px; margin-bottom: 24px; font-size: clamp(42px, 5vw, 70px); letter-spacing: -.055em; line-height: 1.06; font-weight: 800; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 500px; color: var(--muted); font-size: 17px; line-height: 1.85; margin-bottom: 31px; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #383735; }
.button-orange { background: var(--orange); color: #1b120e; border: none; width: 100%; margin-top: 10px; }
.button-orange:hover { background: #ee7e49; }
.button-light { color: var(--ink); border-color: rgba(255, 253, 248, .38); background: var(--white); }
.button-light:hover { background: var(--orange); border-color: var(--orange); }
.text-link { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 800; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.hero-note { margin: 22px 0 0; color: #8b8982; font-size: 11px; }
.hero-visual { position: relative; min-height: 500px; }
.hero-visual::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); z-index: -1; }
.hero-visual img { display: block; width: 100%; height: 500px; object-fit: cover; filter: saturate(.82); }
.visual-label { position: absolute; padding: 13px 15px; background: var(--white); box-shadow: var(--shadow); display: grid; gap: 4px; }
.visual-label strong { font-size: 13px; letter-spacing: -.01em; }
.visual-label-top { top: 30px; left: -24px; min-width: 170px; }
.visual-label-bottom { right: -18px; bottom: 25px; min-width: 128px; }
.visual-label-bottom strong { font-size: 30px; line-height: 1; }

.signal-bar { display: grid; grid-template-columns: 100px 100px 100px 1fr; align-items: center; gap: 25px; min-height: 104px; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.signal-bar > div { display: grid; gap: 1px; border-right: 1px solid var(--line); }
.signal-bar strong { font-size: 27px; line-height: 1; letter-spacing: -.05em; }
.signal-bar span { color: var(--muted); font-size: 10px; }
.signal-bar p { justify-self: end; margin: 0; color: var(--muted); font-size: 13px; }

.audit-section { padding: 125px 0 135px; }
.section-intro { max-width: 640px; margin-bottom: 60px; }
.section-intro.compact { max-width: 700px; margin-bottom: 48px; }
.section-kicker { color: var(--orange); margin-bottom: 18px; }
h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -.055em; line-height: 1.1; margin-bottom: 19px; }
.section-intro > p:last-child { max-width: 560px; color: var(--muted); margin-bottom: 0; }
.audit-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 65px; align-items: start; }
.audit-form { border-top: 1px solid var(--ink); }
.audit-context { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 0 23px; border-bottom: 1px solid var(--line); }
.input-field { display: grid; gap: 7px; }
.input-field > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.input-field input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); padding: 0 12px; font-size: 12px; outline: none; }
.input-field input::placeholder { color: #9b9890; }
.input-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(231, 108, 50, .22); }
.audit-question { border: 0; border-bottom: 1px solid var(--line); padding: 22px 0 23px; margin: 0; }
.audit-question legend { width: 100%; padding: 0; margin-bottom: 16px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.audit-question legend span { color: var(--orange); margin-right: 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row label span { display: flex; justify-content: center; align-items: center; gap: 7px; border: 1px solid var(--line); padding: 9px 8px; text-align: center; color: var(--muted); font-size: 11px; border-radius: 7px; transition: border .18s ease, background .18s ease, color .18s ease; }
.choice-row label span small { color: #9b9890; font-size: 9px; }
.choice-row label:hover span { border-color: var(--ink); color: var(--ink); }
.choice-row input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.choice-row input:checked + span small { color: #c9c5bc; }
.choice-row input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.audit-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.audit-actions .button-orange { width: auto; flex: 1; margin-top: 0; }
.button-quiet { min-height: 48px; border-color: var(--line); color: var(--muted); background: transparent; }
.button-quiet:hover { border-color: var(--ink); color: var(--ink); }
.form-hint { min-height: 24px; margin: 12px 0 0; color: var(--muted); font-size: 11px; }

.score-panel { position: sticky; top: 30px; padding: 25px; color: var(--white); background: var(--ink); min-height: 400px; display: flex; flex-direction: column; box-shadow: 17px 17px 0 var(--orange-soft); }
.score-topline { display: flex; justify-content: space-between; align-items: center; color: #b4b0a8; }
.score-topline span:last-child { color: var(--orange); }
.score-number { margin-top: 44px; font-size: 100px; line-height: .9; letter-spacing: -.08em; font-weight: 800; }
.score-number small { color: #817e77; font-size: 14px; letter-spacing: 0; margin-left: 7px; }
.score-meter { height: 5px; margin-top: 23px; background: #353431; overflow: hidden; }
.score-meter span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .3s ease; }
.score-title { margin: 31px 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.score-description { max-width: 380px; margin-bottom: 18px; color: #aaa69d; font-size: 12px; line-height: 1.75; }
.score-breakdown { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: auto; }
.breakdown-bar { display: grid; gap: 6px; }
.breakdown-bar i { display: block; height: 34px; background: #353431; position: relative; overflow: hidden; }
.breakdown-bar i::after { content: ""; position: absolute; inset: auto 0 0; height: var(--fill); background: var(--orange); }
.breakdown-bar span { color: #817e77; font-size: 9px; text-align: center; }
.score-foot { display: flex; justify-content: space-between; margin-top: 26px; color: #77736b; font-size: 9px; }

.list-section { padding: 0 0 130px; }
.list-toolbar { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.list-toolbar strong { font-size: 16px; letter-spacing: -.03em; }
.list-toolbar span { color: var(--muted); font-size: 11px; }
.evaluation-list { border-bottom: 1px solid var(--line); }
.evaluation-empty { padding: 46px 0 53px; color: var(--muted); font-size: 13px; }
.evaluation-empty strong { display: block; color: var(--ink); margin-bottom: 5px; font-size: 16px; }
.evaluation-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(190px, .8fr) 90px; gap: 25px; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); }
.evaluation-row:last-child { border-bottom: 0; }
.evaluation-main { min-width: 0; }
.evaluation-name { display: block; overflow: hidden; color: var(--ink); font-size: 16px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.evaluation-url { display: block; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.evaluation-date { display: block; margin-top: 8px; color: #9b9890; font-size: 10px; }
.evaluation-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.evaluation-bar { display: grid; gap: 5px; }
.evaluation-bar i { display: block; height: 26px; background: var(--paper-deep); position: relative; overflow: hidden; }
.evaluation-bar i::after { content: ""; position: absolute; inset: auto 0 0; height: var(--fill); background: var(--orange); }
.evaluation-bar span { color: var(--muted); font-size: 9px; text-align: center; }
.evaluation-score { text-align: right; }
.evaluation-score strong { display: block; font-size: 29px; line-height: 1; letter-spacing: -.06em; }
.evaluation-score small { color: var(--muted); font-size: 10px; }
.evaluation-level { display: inline-block; margin-top: 7px; color: var(--orange); font-size: 10px; font-weight: 800; }
.source-queue { margin-top: 68px; }
.source-list { border-bottom: 1px solid var(--line); }
.source-empty { padding: 28px 0; color: var(--muted); font-size: 12px; }
.source-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 110px; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.source-row:last-child { border-bottom: 0; }
.source-main { min-width: 0; }
.source-name { display: block; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.source-url { display: block; overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.source-status { justify-self: start; padding: 5px 8px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 800; }
.source-status-needs_review { color: var(--orange); border-color: var(--orange-soft); }
.source-status-complete { color: #53755c; border-color: #9bb7a0; }
.source-status-error { color: #a33d2e; border-color: #d59f96; }
.source-last { color: #9b9890; font-size: 10px; text-align: right; }

.method-section { padding: 120px 0 130px; border-top: 1px solid var(--line); }
.rubric-list { border-top: 1px solid var(--ink); }
.rubric-list article { display: grid; grid-template-columns: 70px 1fr 1.5fr 140px; gap: 25px; align-items: baseline; padding: 25px 0; border-bottom: 1px solid var(--line); }
.rubric-list article > span { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.rubric-list h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.rubric-list p { margin: 0; color: var(--muted); font-size: 13px; }
.rubric-list b { color: #9d9a93; font-size: 9px; text-align: right; }

.note-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; padding: 125px 0; border-top: 1px solid var(--line); }
.note-quote blockquote { max-width: 570px; margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.1; letter-spacing: -.055em; font-weight: 800; }
.note-quote em { color: var(--orange); font-style: normal; }
.note-copy { max-width: 430px; align-self: end; }
.note-copy p { color: var(--muted); font-size: 15px; }
.note-copy p + p { margin-top: 22px; }
.note-copy .text-link { margin-top: 14px; }

.closing-section { display: grid; grid-template-columns: 1.05fr .95fr auto; gap: 55px; align-items: end; padding: 90px 0; border-top: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.closing-section > * { margin-left: 32px; margin-right: 32px; }
.closing-section > :first-child { margin-left: 0; }
.closing-section > :last-child { margin-right: 0; }
.closing-section h2 { margin-bottom: 0; }
.closing-section > p { max-width: 355px; color: #aaa69d; margin-bottom: 3px; font-size: 13px; }
.closing-section .section-kicker { color: var(--orange); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 40px 0 52px; }
.site-footer p { color: var(--muted); font-size: 11px; margin: 8px 0 0; }
.footer-meta { display: flex; justify-content: flex-end; gap: 24px; color: var(--muted); font-size: 10px; }
.footer-disclaimer { grid-column: 1 / -1; max-width: 760px; padding-top: 25px; border-top: 1px solid var(--line); line-height: 1.7; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 58px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 390px; }
  .hero-visual img { height: 390px; }
  .audit-layout { grid-template-columns: 1fr; gap: 55px; }
  .score-panel { position: static; min-height: 340px; }
  .list-section { padding-bottom: 84px; }
  .note-section { grid-template-columns: 1fr; gap: 45px; }
  .note-copy { align-self: start; }
  .closing-section { grid-template-columns: 1fr 1fr; gap: 35px; }
  .closing-section > * { margin-left: 0; margin-right: 0; }
  .closing-section .button { justify-self: start; }
}

@media (max-width: 640px) {
  .shell, .site-header { width: min(100% - 36px, 1240px); }
  .site-header { height: 66px; grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .header-cta { font-size: 11px; }
  .hero { min-height: 0; padding: 48px 0 62px; gap: 34px; }
  h1 { font-size: clamp(39px, 13vw, 58px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { gap: 17px; flex-wrap: wrap; }
  .hero-visual, .hero-visual img { min-height: 280px; height: 280px; }
  .hero-visual::after { inset: 12px -10px -10px 10px; }
  .visual-label-top { top: 15px; left: -10px; }
  .visual-label-bottom { right: -8px; bottom: 14px; }
  .signal-bar { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 0; }
  .signal-bar > div { border-right: 0; }
  .signal-bar p { grid-column: 1 / -1; justify-self: start; margin-top: 5px; }
  .audit-section, .method-section, .note-section { padding: 78px 0 84px; }
  .section-intro { margin-bottom: 41px; }
  h2 { font-size: 38px; }
  .audit-question legend { font-size: 14px; }
  .audit-context { grid-template-columns: 1fr; }
  .choice-row label span { font-size: 10px; padding: 8px 4px; }
  .choice-row label span small { font-size: 8px; }
  .audit-actions { align-items: stretch; flex-direction: column; }
  .audit-actions .button-orange { width: 100%; flex: auto; }
  .score-panel { padding: 21px; box-shadow: 10px 10px 0 var(--orange-soft); }
  .score-number { font-size: 88px; }
  .rubric-list article { grid-template-columns: 35px 1fr; gap: 12px 16px; padding: 20px 0; }
  .rubric-list article p { grid-column: 2; }
  .rubric-list b { grid-column: 2; text-align: left; }
  .list-toolbar { align-items: flex-start; flex-direction: column; gap: 4px; }
  .evaluation-row { grid-template-columns: minmax(0, 1fr) 74px; gap: 18px; }
  .evaluation-bars { grid-column: 1 / -1; grid-row: 2; }
  .evaluation-score { grid-column: 2; grid-row: 1; }
  .source-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 15px; }
  .source-status { grid-column: 2; grid-row: 1; }
  .source-last { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .note-quote blockquote { font-size: 39px; }
  .closing-section { grid-template-columns: 1fr; padding: 66px 0; gap: 27px; }
  .closing-section > p { margin: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 25px; padding: 35px 0 45px; }
  .footer-meta { justify-content: flex-start; flex-wrap: wrap; gap: 10px 17px; }
}

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