/* 男の点数。ひとつの形＝「点」（名前の点、問診票の○、点数）。紙色の地、黒い文字、夜の壁の紺を円に。琥珀・淡い青灰・墨をタイルの面に。丸ゴシック＋Pilcrow Rounded。罫線・影・グラデーションは使わない。 */
:root {
  --bg: #f6f6f3; --surface: #ebece8; --ink: #0d1117; --muted: #5c6470;
  --accent: #1b2f4d; --accent-ink: #ffffff;
  --field-1: #f2b35b; --field-1-ink: #0d1117;
  --field-2: #d9e2ec; --field-2-ink: #0d1117;
  --field-3: #0d1117; --field-3-ink: #f6f6f3;
  --field-4: #9fb8d6; --field-4-ink: #0d1117;
  --sev-high: #b3261e; --sev-mid: #c9711a; --sev-ok: #1e8e5a;
  --font-ja: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', system-ui, sans-serif;
  --font-num: 'Pilcrow Rounded', 'Zen Maru Gothic', system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-note: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.3rem, 4.6vw, 4.3rem);
  --margin: clamp(1rem, 3.5vw, 3.25rem); --gutter: clamp(0.75rem, 1.4vw, 1.5rem);
  --radius: 2rem; --pill: 999px;
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-expo: cubic-bezier(.16, 1, .3, 1); --ease-in-out: cubic-bezier(.76, 0, .24, 1); --ease-soft: cubic-bezier(.33, 1, .68, 1);
  --t-press: 140ms; --t-hover: 180ms; --t-ui: 240ms; --t-reveal: 800ms;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ja); font-size: var(--step-body); line-height: 1.6; font-weight: 500; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: var(--step-head); }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.wrap { padding-inline: var(--margin); max-width: 1760px; margin-inline: auto; }
.num { font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
::selection { background: var(--field-1); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

/* buttons: one shape, fully round */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 3.25rem; padding: .8em 1.6em; border-radius: var(--pill); border: 0; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.btn:active { transform: scale(.97); }
.btn--amber { background: var(--field-1); color: var(--field-1-ink); }
.btn--paper { background: var(--bg); color: var(--ink); }
.btn--quiet { background: var(--surface); color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #13233a; }
  .btn--amber:hover { background: #e9a53f; }
  .btn--paper:hover { background: #ffffff; }
  .btn--quiet:hover { background: #e0e2dd; }
}
.pr { font-family: var(--font-num); font-size: .7em; font-weight: 700; letter-spacing: .06em; background: rgba(255, 255, 255, .22); border-radius: var(--pill); padding: .1em .55em; }
.btn--amber .pr, .btn--quiet .pr, .btn--paper .pr { background: rgba(13, 17, 23, .12); }

/* navigation: words only */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--gutter); padding-block: 1.1rem; position: relative; z-index: 3; }
.nav__mark { display: inline-flex; align-items: center; gap: .5rem; font-weight: 900; font-size: 1.15rem; text-decoration: none; }
.nav__mark i { width: .9em; height: .9em; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav__links { display: flex; gap: 1.25rem; align-items: center; font-weight: 700; font-size: 1rem; }
.nav__links a:not(.btn) { text-decoration: none; }
.nav__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: .09em; }
.nav .btn { min-height: 2.75rem; padding: .55em 1.2em; }
@media (max-width: 720px) { .nav__links a:not(.btn) { display: none; } }

/* hero: the dot, enormous, with the first question inside it */
.hero { position: relative; min-height: calc(100svh - 5.5rem); display: grid; align-items: center; overflow: clip; padding-block: 2rem 2.5rem; }
.hero__copy { position: relative; z-index: 1; width: min(50%, 40rem); }
.hero__checks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-weight: 700; font-size: 1rem; }
.hero__checks a { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; }
.hero__checks i { width: .8em; height: .8em; border-radius: 50%; background: var(--dot, var(--accent)); }
@media (hover: hover) and (pointer: fine) { .hero__checks a:hover { text-decoration: underline; text-underline-offset: .25em; } }
.display { font-size: var(--step-display); line-height: 1.1; letter-spacing: -.03em; font-weight: 900; }
.lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lines [data-line] { display: block; }
.lead { font-size: var(--step-lead); font-weight: 500; margin-top: 1.25rem; max-width: 30ch; line-height: 1.55; }
.lead, .statement { word-break: keep-all; overflow-wrap: anywhere; }
.hero__dot { position: absolute; top: 50%; right: calc(48vw - 120vh); width: 120vh; height: 120vh; transform: translateY(-50%); border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.q1 { position: absolute; top: 50%; left: 7vw; transform: translateY(-50%); width: min(44vh, 26rem, 36vw); display: grid; gap: 1rem; }
.q1__label { font-size: var(--step-lead); font-weight: 700; line-height: 1.4; }
.q1__opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.q1__opt { display: grid; gap: .45rem; justify-items: center; text-decoration: none; color: inherit; }
.q1__opt i { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--bg); color: var(--accent); font-family: var(--font-num); font-style: normal; font-weight: 700; font-size: 1.35rem; display: grid; place-items: center; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.q1__opt span { font-size: var(--step-small); white-space: nowrap; line-height: 1.2; font-weight: 700; }
.q1__opt:active i { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .q1__opt:hover i { background: var(--field-1); } }
.q1__note { font-size: var(--step-small); opacity: .85; }
.counter { display: flex; gap: 1rem; font-size: var(--step-small); opacity: .85; flex-wrap: wrap; }
.counter b { font-family: var(--font-num); font-size: 1rem; }
@media (max-width: 900px) {
  .hero { min-height: 0; display: block; padding-block: 1.5rem 0; }
  .hero__copy { width: auto; }
  .lead { max-width: none; }
  .hero__dot { position: relative; top: auto; right: auto; transform: none; width: calc(100% + 2 * var(--margin)); height: auto; aspect-ratio: 1; margin: 2rem calc(-1 * var(--margin)) 0; padding: 10% 12%; display: grid; place-items: center; }
  .q1 { position: static; transform: none; width: 100%; max-width: 26rem; }
  .hero__checks { margin-top: 1.25rem; }
  .q1__opt i { width: 3rem; height: 3rem; font-size: 1.2rem; }
}

/* intro: three round pictures and one statement */
.intro { padding-block: clamp(4rem, 9vh, 7rem) clamp(3rem, 8vh, 6rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.intro__pics { grid-column: 1 / 6; display: flex; align-items: center; }
.intro__pics figure { width: 36%; aspect-ratio: 1; border-radius: 50%; overflow: clip; flex: none; background: var(--surface); }
.intro__pics figure + figure { margin-left: -8%; }
.intro__pics figure:nth-child(2) { width: 44%; position: relative; z-index: 1; }
.intro__pics img { width: 100%; height: 100%; object-fit: cover; }
.statement { grid-column: 6 / 13; font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 700; line-height: 1.45; }
@media (max-width: 900px) {
  .intro { display: block; padding-block: 4.5rem 3rem; }
  .intro__pics { width: 100%; margin-bottom: 1.75rem; }
  .statement { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  .statement { font-size: 1.3rem; }
  .hero__checks { gap: .4rem 1.1rem; }
}

/* points: one photograph in the circle, nine points in three columns */
.points { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; padding-block: clamp(3rem, 8vh, 6rem); }
.points__pic { grid-column: 1 / 6; justify-self: start; width: min(100%, 78svh); aspect-ratio: 1; border-radius: 50%; overflow: clip; background: var(--surface); position: relative; }
.points__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 240ms ease; }
.points__pic img.is-on { opacity: 1; }
.points__body { grid-column: 7 / 13; }
.points__body h2 { margin-bottom: 2.75rem; }
.points__list { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 2.5rem 2.25rem; }
.points__row { display: block; text-decoration: none; color: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.5; transition: opacity var(--t-hover) ease; }
.points__row::before { content: ''; display: inline-block; width: .72em; height: .72em; border-radius: 50%; background: var(--dot, var(--accent)); margin-right: .5em; vertical-align: -.02em; }
.points__list li:nth-child(-n+3) { --dot: var(--field-1); }
.points__list li:nth-child(n+4):nth-child(-n+6) { --dot: var(--field-4); }
.points__list li:nth-child(n+7) { --dot: var(--ink); }
.points__row small { display: block; color: var(--muted); font-weight: 500; font-size: var(--step-note); line-height: 1.5; margin-top: .1rem; }
@media (hover: hover) and (pointer: fine) {
  .points__list:has(.points__row:hover, .points__row:focus-visible) .points__row:not(:hover, :focus-visible) { opacity: .4; }
}
@media (max-width: 900px) {
  .points { display: block; }
  .points__pic { width: min(82vw, 60svh); margin-bottom: 1.75rem; }
  .points__body h2 { font-size: 1.9rem; margin-bottom: 1.5rem; }
  .points__list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 1.5rem; padding-left: 1.2em; }
  .points__row::before { margin-left: -1.2em; }
}

/* flow: many dots into one */
.flow { padding-block: clamp(4rem, 10vh, 8rem); }
.flow__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: 2.5rem; }
.flow__head h2 { grid-column: 1 / 6; font-size: clamp(2.25rem, 3.6vw, 3.5rem); }
.flow__head p { grid-column: 6 / 11; font-size: 1.0625rem; max-width: 44ch; line-height: 1.6; }
.flow__svg { display: block; width: 100%; height: auto; }
.flow__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 1.5rem; }
.flow__cols b { display: block; font-size: 1.3rem; font-weight: 900; margin-bottom: .25rem; }
.flow__cols p { font-size: 1rem; line-height: 1.55; }
@media (max-width: 900px) {
  .flow__head { display: block; margin-bottom: 1.5rem; }
  .flow__head h2 { font-size: 2rem; }
  .flow__head p { margin-top: .75rem; }
}
@media (max-width: 720px) {
  .flow__body { display: grid; grid-template-columns: 42% 1fr; gap: var(--gutter); }
  .flow__cols { grid-template-columns: 1fr; gap: 0; margin-top: 0; align-content: space-between; }
}

/* stats: three tiles that refuse to line up */
.stats { padding-block: clamp(4rem, 10vh, 8rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 8px; }
.stats h2 { grid-column: 7 / 13; grid-row: 1; font-size: clamp(1.75rem, 2.5vw, 2.25rem); padding: 0 0 1.25rem .5rem; }
.stats__pair { display: contents; }
.tile { border-radius: var(--radius) 45% var(--radius) var(--radius); display: grid; align-content: space-between; padding: 1.75rem; }
.tile .fig { font-family: var(--font-num); font-size: clamp(3.5rem, 6.5vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile .fig small { font-size: .42em; font-weight: 900; letter-spacing: 0; }
.tile .cap { font-size: 1.0625rem; line-height: 1.5; max-width: 28ch; font-weight: 700; margin-top: 1.5rem; }
.tile .cap b { display: block; }
.tile .cap span { display: block; font-weight: 500; font-size: var(--step-note); opacity: .85; margin-top: .2rem; }
.tile--tall { grid-column: 1 / 7; grid-row: 1 / 3; min-height: 60vh; background: var(--accent); color: var(--accent-ink); }
.tile--ink { grid-column: 7 / 10; grid-row: 2; min-height: 40vh; align-self: start; background: var(--field-3); color: var(--field-3-ink); margin-top: 4vh; }
.tile--mid { grid-column: 10 / 13; grid-row: 2; min-height: 32vh; align-self: start; background: var(--field-2); color: var(--field-2-ink); margin-top: 14vh; }
@media (max-width: 900px) {
  .stats { display: block; }
  .stats h2 { padding: 0 0 1rem; font-size: 1.65rem; }
  .tile { padding: 1.25rem; }
  .tile--tall { min-height: 56vw; margin: 0; }
  .tile--tall .fig { font-size: 15vw; }
  .stats__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
  .tile--ink, .tile--mid { min-height: 44vw; margin: 0; }
  .tile--mid { margin-top: 32px; }
  .tile--ink .fig, .tile--mid .fig { font-size: 9vw; }
  .tile .cap { font-size: var(--step-note); margin-top: 1rem; }
}
@media (max-width: 480px) { .tile { padding: 1rem; } }

/* faq: cards filed like a drawer, tabs are dots; the morning on the right */
.faq { padding-block: clamp(4rem, 10vh, 8rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.faq__body { grid-column: 1 / 8; }
.faq h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 3rem; }
.faq__stack { display: grid; }
.card { position: relative; border-radius: var(--radius); padding: 3rem 2rem 2.6rem; margin-top: -1.1rem; color: var(--ink); }
.card:first-child { margin-top: 0; }
.card:nth-child(3n+1) { background: var(--field-2); }
.card:nth-child(3n+2) { background: var(--surface); }
.card:nth-child(3n) { background: var(--field-1); }
.card__tab { position: absolute; top: -1.1rem; left: calc(1.5rem + var(--k) * 6.5rem); width: 3.5rem; height: 3.5rem; border-radius: 50%; background: inherit; display: grid; place-items: center; font-weight: 900; font-size: .8rem; line-height: 1; }
.card__q { display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit; font-weight: 700; font-size: 1.25rem; line-height: 1.4; cursor: pointer; padding: 0; color: inherit; }
.card__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.card__a > div { overflow: hidden; }
.card__a p { font-size: 1.0625rem; line-height: 1.65; max-width: 50ch; padding-top: 1rem; }
.card.is-open .card__a { grid-template-rows: 1fr; }
.faq__pic { grid-column: 9 / 13; position: sticky; top: 2rem; }
.faq__pic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.faq__pic figcaption { margin-top: 1rem; font-size: var(--step-note); color: var(--muted); line-height: 1.6; max-width: 30ch; }
@media (max-width: 900px) {
  .faq { display: block; }
  .faq h2 { font-size: 2.25rem; margin-bottom: 2.5rem; }
  .card { padding: 2.75rem 1.25rem 2.4rem; margin-top: -1rem; }
  .card__tab { left: calc(1rem + var(--k) * 3.5rem); width: 3rem; height: 3rem; top: -1rem; font-size: .75rem; }
  .card__q { font-size: 1.1rem; }
  .faq__pic { position: static; width: 62%; margin-top: 2.5rem; }
}

/* cta: the action tile, flush with both edges */
.cta { padding-block: clamp(4rem, 10vh, 8rem) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 12px; }
.cta__pic { grid-column: 1 / 3; height: 360px; border-radius: 0 var(--radius) var(--radius) 0; overflow: clip; }
.cta__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.cta__main { grid-column: 3 / 11; height: 360px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); padding: 2.5rem; display: grid; align-content: center; justify-items: start; gap: 1rem; }
.cta__main h2 { font-size: 2.5rem; line-height: 1.15; }
.cta__main p { max-width: 44ch; font-size: 1.0625rem; }
.cta__flat { grid-column: 11 / 13; height: 360px; background: var(--field-1); border-radius: var(--radius) 0 0 var(--radius); }
@media (max-width: 720px) {
  .cta { padding-inline: var(--margin); grid-template-columns: 1fr 1fr; row-gap: 12px; padding-top: 3.5rem; }
  .cta__main { grid-column: 1 / 3; order: -1; height: auto; min-height: 300px; padding: 1.75rem; }
  .cta__main h2 { font-size: 1.75rem; }
  .cta__main .btn { width: 100%; }
  .cta__pic, .cta__flat { height: 120px; border-radius: var(--radius); grid-column: auto; }
}

/* footer: the name, built from dots */
.foot { background: var(--surface); margin-top: clamp(5rem, 12vh, 9rem); padding-block: 3rem 2rem; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: end; font-size: 1rem; }
.foot__mark { grid-column: 1 / 8; display: flex; align-items: flex-end; gap: 4px; --u: min(30svh, 20rem, calc((100vw - 2 * var(--margin)) * .56 / 3.24)); }
.foot__mark span { display: grid; place-items: center; border-radius: 50%; font-weight: 900; color: var(--bg); line-height: 1; flex: none; width: calc(var(--u) * var(--k)); aspect-ratio: 1; font-size: calc(var(--u) * .36); }
.foot__mark span:nth-child(1) { --k: 1; background: var(--accent); }
.foot__mark span:nth-child(2) { --k: .72; background: var(--field-4); color: var(--ink); }
.foot__mark span:nth-child(3) { --k: .88; background: var(--field-1); color: var(--ink); }
.foot__mark span:nth-child(4) { --k: .64; background: var(--ink); }
.foot__links { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.foot__links a { text-decoration: none; font-weight: 700; }
.foot__links small { display: block; color: var(--muted); font-size: var(--step-note); font-weight: 500; }
.foot__legal { grid-column: 1 / 8; color: var(--muted); font-size: var(--step-note); line-height: 1.6; max-width: 50ch; }
.foot__last { grid-column: 8 / 13; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: var(--step-note); color: var(--muted); }
@media (max-width: 720px) {
  .foot__grid { grid-template-columns: 1fr; row-gap: 1.75rem; }
  .foot__mark { grid-column: auto; --u: calc((100vw - 2 * var(--margin) - 12px) / 3.24); }
  .foot__links, .foot__legal, .foot__last { grid-column: auto; }
}

/* check views */
.view { padding-block: 1.5rem 4rem; }
.view > * { max-width: 46rem; }
.view__title { font-size: clamp(2rem, 4vw, 3.25rem); }
.view .lead { margin-top: .75rem; max-width: none; }
.quiz { margin-top: 1.75rem; }
.dots { display: flex; gap: .55rem; align-items: center; margin-bottom: 1.25rem; }
.dots i { width: .95rem; height: .95rem; border-radius: 50%; background: var(--surface); transition: background-color var(--t-ui) ease; }
.dots i.on { background: var(--accent); }
.dots span { margin-left: .5rem; font-family: var(--font-num); font-weight: 700; color: var(--muted); font-size: var(--step-note); }
.q { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 900; line-height: 1.4; margin-bottom: 1.25rem; }
.opts { display: grid; gap: .6rem; }
.opt { text-align: left; font: inherit; font-weight: 700; font-size: 1.0625rem; border: 0; border-radius: var(--pill); background: var(--surface); color: var(--ink); padding: .95rem 1.4rem .95rem 3.2rem; position: relative; cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.opt::before { content: ''; position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; border-radius: 50%; background: var(--bg); }
.opt[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.opt[aria-pressed="true"]::before { background: var(--field-1); }
.opt:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .opt:hover { background: var(--field-2); } .opt[aria-pressed="true"]:hover { background: var(--accent); } }
.row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.wait { display: flex; align-items: center; gap: .75rem; padding: 2rem 0; font-weight: 700; }
.wait i { width: 1rem; height: 1rem; border-radius: 50%; background: var(--accent); animation: pulse 700ms var(--ease-in-out) infinite alternate; }
@keyframes pulse { to { transform: scale(.55); opacity: .4; } }
.result { display: grid; gap: 1.5rem; margin-top: .5rem; }
.result__top { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; }
.score-dot { width: clamp(9rem, 22vw, 13rem); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-content: center; text-align: center; }
.score-dot .n { font-family: var(--font-num); font-size: clamp(3.5rem, 8vw, 5.5rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; transition: filter .2s ease; }
.score-dot .m { font-size: 1rem; font-family: var(--font-num); font-weight: 700; opacity: .8; }
.result[data-sev="high"] .score-dot { background: var(--sev-high); }
.result[data-sev="mid"] .score-dot { background: var(--sev-mid); }
.result[data-sev="ok"] .score-dot { background: var(--sev-ok); }
.hidden-score .n { filter: blur(10px); }
.verdict { font-weight: 900; font-size: 1rem; margin-bottom: .35rem; }
.band { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; line-height: 1.2; }
.result p { line-height: 1.65; }
.scale { display: grid; grid-auto-flow: column; gap: 4px; }
.scale i { height: .8rem; border-radius: var(--pill); background: var(--surface); }
.scale i.on { background: var(--accent); }
.result[data-sev="high"] .scale i.on { background: var(--sev-high); }
.result[data-sev="mid"] .scale i.on { background: var(--sev-mid); }
.result[data-sev="ok"] .scale i.on { background: var(--sev-ok); }
.scale-l { display: flex; justify-content: space-between; font-family: var(--font-num); font-weight: 700; font-size: var(--step-note); color: var(--muted); }
.notice, .small { font-size: var(--step-note); color: var(--muted); line-height: 1.6; }
h3 { font-size: 1.15rem; font-weight: 900; margin-top: .5rem; }
.facts { display: grid; gap: .8rem; }
.fact { padding-left: 1.5rem; position: relative; }
.fact::before { content: ''; position: absolute; left: 0; top: .5em; width: .72em; height: .72em; border-radius: 50%; background: var(--field-1); }
.fact b { display: block; }
.fact span { color: var(--muted); font-size: var(--step-note); line-height: 1.6; }
.cta-list { display: grid; gap: .6rem; }
.btn.big { display: grid; gap: .1rem; text-align: left; justify-items: start; padding: 1rem 1.5rem; }
.btn.big small { font-weight: 500; font-size: var(--step-small); opacity: .9; }
textarea.share { width: 100%; font-family: var(--font-num); font-size: var(--step-small); border: 0; border-radius: 1rem; background: var(--surface); color: var(--ink); padding: .8rem; min-height: 6rem; resize: none; }
.check { display: flex; align-items: center; gap: .5rem; font-size: var(--step-note); }
.cardimg { border-radius: 1.5rem; max-width: 100%; }
.sched { display: grid; gap: .6rem; }
.it { display: grid; grid-template-columns: auto 1fr; gap: .75rem; background: var(--surface); border-radius: 1.25rem; padding: .8rem 1rem; }
.tag { font-size: var(--step-small); font-weight: 900; border-radius: var(--pill); padding: .2em .75em; white-space: nowrap; align-self: start; margin-top: .2em; }
.tag.now { background: var(--accent); color: #fff; }
.tag.confirm { background: var(--sev-ok); color: #fff; }
.tag.wait { background: var(--field-2); }
.it .n { font-weight: 900; }
.it .s { color: var(--muted); font-size: var(--step-note); line-height: 1.55; }
.alert { background: var(--field-1); border-radius: 1.25rem; padding: .9rem 1.1rem; font-weight: 700; }
pre.memo { font-family: var(--font-num); font-size: var(--step-note); background: var(--surface); border-radius: 1rem; padding: .8rem 1rem; white-space: pre-wrap; margin: 0; }
.about p { max-width: 62ch; }
.about h2 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: .5rem; }

/* sticky action on phones: a flat field, no line */
.stickybar { display: none; }
@media (max-width: 720px) {
  .stickybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; padding: .6rem max(16px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--bg); gap: .5rem; z-index: 20; }
  .stickybar .btn { flex: 1; }
  body.has-sticky { padding-bottom: 5rem; }
}
#toast { position: fixed; left: 50%; bottom: 6rem; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: .5rem 1rem; border-radius: var(--pill); font-size: var(--step-note); font-weight: 700; z-index: 30; white-space: nowrap; }

/* motion: hidden states only under no-preference; the finished page is the reduced page */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(105%); animation: load-line 800ms var(--ease-expo) forwards; animation-delay: calc(100ms + var(--i) * 90ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(12px); animation: load-rise 500ms var(--ease-out) forwards; animation-delay: 420ms; }
  .js .hero__dot { opacity: 0; transform: translate(10%, -50%); animation: dot-in 1000ms var(--ease-expo) 150ms forwards; }
  .js .q1__opt { opacity: 0; transform: translateY(10px); animation: load-rise 500ms var(--ease-out) forwards; animation-delay: calc(650ms + var(--i) * 70ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); }
  .js [data-stagger].is-in > * { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms); }
  .js .points__pic { clip-path: circle(34% at 50% 50%); opacity: 0; transition: clip-path 1100ms var(--ease-in-out), opacity 500ms ease; }
  .js .points__pic.is-in { clip-path: circle(50.5% at 50% 50%); opacity: 1; }
  .js .cta__main { clip-path: inset(0 100% 0 0 round var(--radius)); transition: clip-path 1000ms var(--ease-in-out); }
  .js .cta__main.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
  @supports (animation-timeline: view()) {
    .js .points__pic img.is-on { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .hero__dot { transform: translate(10%, 0); animation-name: dot-in-m; }
}
@keyframes load-line { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes dot-in { to { opacity: 1; transform: translate(0, -50%); } }
@keyframes dot-in-m { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.08) translateY(-3%); } to { transform: scale(1.08) translateY(3%); } }
@media (prefers-reduced-motion: reduce) { .wait i { animation: none; } .card__a { transition: none; } }
