* { box-sizing: border-box; }
:root {
  --bg: #0f1220;
  --panel: #171b2e;
  --panel-2: #1e243a;
  --text: #f4f5fb;
  --muted: #b4bad0;
  --accent: #9f7aea;
  --accent-2: #d6b45c;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 18px 55px rgba(0,0,0,0.28);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(159,122,234,0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(214,180,92,0.10), transparent 22%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.page-shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0 28px; }
.hero { padding: 24px 0 34px; }
.back-link { color: var(--muted); text-decoration: none; font-size: .95rem; }
.back-link:hover { color: var(--text); }
.eyebrow { margin-top: 22px; color: var(--accent-2); font-size: 2.02rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
h2 { margin-bottom: 14px; font-size: 1.5rem; letter-spacing: -.02em; }
.hero-copy { max-width: 790px; color: var(--muted); font-size: 1.12rem; }
.card {
  margin-bottom: 22px; padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent), var(--panel);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
}
.input-card label { display: block; margin-bottom: 10px; font-weight: 750; font-size: 1.05rem; }
textarea {
  width: 100%; min-height: 220px; padding: 18px; resize: vertical;
  border: 1px solid var(--border); border-radius: 14px; outline: none;
  background: #0d1020; color: var(--text); font: inherit; line-height: 1.55;
}
textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(159,122,234,.14); }
.input-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
button { padding: 12px 18px; border: 0; border-radius: 12px; font: inherit; font-weight: 750; cursor: pointer; }
.primary-btn { background: linear-gradient(135deg, var(--accent), #7757c8); color: white; }
.primary-btn:hover { transform: translateY(-1px); }
.tool-switch .primary-btn {
  display: inline-block;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
}
.secondary-btn { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); }
.privacy-note,.section-intro { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.hidden { display: none; }
.score-card { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 24px; }
.overall-score { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 850; letter-spacing: -.05em; line-height: 1; }
.score-denominator { color: var(--muted); font-size: 1.2rem; font-weight: 650; letter-spacing: normal; }
.progress-track { grid-column: 1 / -1; height: 13px; overflow: hidden; background: #0d1020; border-radius: 999px; border: 1px solid var(--border); }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; transition: width 500ms ease; }
.readiness-label { grid-column: 1 / -1; margin: 2px 0 0; color: var(--muted); font-weight: 700; }
.dimension-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.dimension { padding: 18px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 15px; }
.dimension-name { min-height: 46px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.dimension-score { margin-top: 8px; font-size: 2rem; font-weight: 850; letter-spacing: -.04em; }
.mini-track { height: 7px; margin-top: 10px; background: #0d1020; border-radius: 999px; overflow: hidden; }
.mini-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.finding-card { border-left: 4px solid var(--accent-2); }
.finding-card p { margin-bottom: 0; color: var(--muted); font-size: 1.03rem; }
.recommendation-list { padding-left: 22px; margin-bottom: 0; }
.recommendation-list li { padding: 7px 0 7px 5px; }
.signal-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.signal { padding: 8px 11px; border-radius: 999px; font-size: .86rem; border: 1px solid var(--border); background: var(--panel-2); }
.signal.positive::before { content: "✓ "; }
.signal.negative::before { content: "△ "; }
.methodology { max-width: 820px; margin: 44px auto 20px; color: var(--muted); text-align: center; }
.methodology h2 { color: var(--text); }
footer { padding-top: 25px; color: var(--muted); text-align: center; font-size: .9rem; }
@media (max-width: 860px) { .dimension-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) {
  .eyebrow { font-size: clamp(1.3rem, 5vw, 2.02rem); letter-spacing: .1em; }
  .page-shell { width: min(100% - 20px,1080px); padding-top: 22px; }
  .card { padding: 20px; border-radius: 16px; }
  .score-card { grid-template-columns: 1fr; }
  .dimension-grid { grid-template-columns: 1fr; }
  .input-actions { flex-direction: column-reverse; }
  button { width: 100%; }
}

footer .trademark-notice { font-size: .78rem; line-height: 1.6; }
