body { background: var(--page); color: var(--text); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; translate: 0 -160%; padding: 10px 14px; background: var(--text); color: white; border-radius: 8px; }
.skip-link:focus { translate: 0; }
.eyebrow { margin: 0; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tool-hero { width: min(1320px, calc(100% - 32px)); margin: auto; padding: clamp(58px,9vw,116px) 0 clamp(38px,6vw,68px); display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: clamp(40px,8vw,120px); align-items: end; }
.tool-hero h1 { margin: 14px 0 22px; font-family: var(--font-serif); font-size: clamp(50px,7vw,96px); line-height: 1; letter-spacing: -.06em; }
.tool-hero h1 em { color: var(--primary); font-style: normal; }
.tool-hero p:last-child { color: var(--muted); line-height: 1.9; }
.privacy-card { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); }
.privacy-dot { width: 10px; height: 10px; flex: none; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.privacy-card p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }

.checker-workspace { width: min(1100px, calc(100% - 24px)); margin: auto; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: 14px; }
.input-card, .result-card, .suggestion-card, .content-section { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.input-card { padding: 28px; }
.input-card > label { display: block; margin-bottom: 10px; font-weight: 800; }
.input-card > div:first-of-type { display: grid; grid-template-columns: 1fr auto; }
.input-card input { min-height: 56px; border: 1px solid var(--line); border-radius: 14px 0 0 14px; background: var(--surface-soft); color: var(--text); padding-inline: 14px; font-family: var(--font-mono); font-size: 18px; }
.input-card button { min-width: 80px; border: 0; border-radius: 0 14px 14px 0; background: var(--primary); color: white; font-weight: 800; }
.score-row { display: flex; justify-content: space-between; gap: 16px; margin: 18px 0 10px; color: var(--muted); font-size: 12px; }
progress { width: 100%; height: 12px; border: 0; border-radius: 99px; overflow: hidden; background: var(--line); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--primary); }
progress::-moz-progress-bar { background: var(--primary); }
#app-status { color: var(--muted); font-size: 11px; }

.result-card { padding: 28px; }
.result-card h2, .suggestion-card h2, .content-section h2 { margin: 7px 0 18px; font-family: var(--font-serif); }
#check-list, #suggestion-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
#check-list li, #suggestion-list li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
#check-list li[data-pass="true"] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
#check-list li[data-pass="false"] { color: var(--muted); }

.suggestion-card, .content-section { width: min(1100px, calc(100% - 32px)); margin: 28px auto 0; padding: 28px; }
.suggestion-card > a { display: inline-block; margin-top: 18px; color: var(--primary); font-weight: 800; }

@media (max-width: 880px) { .tool-hero, .checker-workspace { grid-template-columns: 1fr; } }
