:root {
  --ink: #1b2622;
  --text: #33413b;
  --muted: #56645e;
  --line: #e2ddd2;
  --paper: #ffffff;
  --canvas: #faf8f3;
  --tint: #eef4ef;
  --green: #14583f;
  --green-mid: #1f7a57;
  --green-dark: #0d3f2d;
  --green-soft: #e1efe6;
  --orange: #c8652a;
  --orange-dark: #9a4718;
  --orange-soft: #fbe9dc;
  --gold: #f2c14e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 38, 34, .05), 0 12px 32px rgba(27, 38, 34, .08);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic UI", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.4; letter-spacing: .01em; }
button, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--green); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.pc-only { display: inline; }
.nw { display: inline-block; }

.sample-headline strong { white-space: nowrap; }

/* ---------- ボタン ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(20, 88, 63, .25);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(20, 88, 63, .3); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-small { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: none; }
.button-large { min-height: 60px; min-width: 280px; font-size: 18px; }
.text-link { color: var(--green); font-weight: 700; text-underline-offset: 4px; }
.ghost-button {
  min-height: 48px; padding: 0 18px;
  border: 1px solid #cfc8b9; border-radius: 10px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 15px;
}
.ghost-button:hover { background: #f5f2ea; }
:focus-visible { outline: 3px solid rgba(31, 122, 87, .35); outline-offset: 2px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 18px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; display: block; }
.header-nav { display: flex; gap: 24px; margin-left: auto; }
.header-nav a { color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.header-nav a:hover { color: var(--green); }
.nav-cta { display: none; }
.menu-button { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 120px;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 193, 78, .22), transparent 32%),
    radial-gradient(circle at 70% 95%, rgba(31, 122, 87, .14), transparent 40%),
    var(--canvas);
}
.hero-inner { display: grid; grid-template-columns: .95fr 1.15fr; gap: 32px; align-items: center; }
.hero-visual { position: relative; margin-right: -48px; }
.hero-illustration { display: block; width: 100%; height: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 22px; padding: 6px 14px;
  border-radius: 999px; background: var(--green-soft); color: var(--green-dark);
  font-size: 14px; font-weight: 700;
}
.hero-badge span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.6vw, 56px); font-weight: 800; line-height: 1.3; letter-spacing: .02em; }
.hero h1 em {
  font-style: normal; color: var(--green);
  background: linear-gradient(transparent 68%, rgba(242, 193, 78, .55) 68%);
}
.hero-lead { margin: 22px 0 0; font-size: 18px; color: var(--text); max-width: 600px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.hero-points { display: flex; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.hero-points li { padding: 0 20px; border-left: 1px solid var(--line); }
.hero-points li:first-child { padding-left: 0; border-left: 0; }
.hero-points strong { white-space: nowrap; display: block; color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1.3; }
.hero-points span { color: var(--muted); font-size: 13px; white-space: nowrap; }

.sample-card {
  position: absolute; left: -20px; bottom: -72px; width: 290px;
  margin: 0; padding: 20px 22px;
  background: var(--paper); border-radius: 20px;
  box-shadow: 0 2px 4px rgba(27,38,34,.04), 0 28px 60px rgba(27, 38, 34, .14);
  transform: rotate(-2deg);
}
.sample-card figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.sample-tag { white-space: nowrap; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.sample-headline { margin: 12px 0 14px; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.6; }
.sample-headline strong { color: var(--orange); font-size: 21px; margin: 0 2px; }
.sample-bars { display: grid; gap: 12px; }
.sample-row { display: grid; grid-template-columns: 30px 1fr 36px; align-items: center; gap: 12px; }
.sample-row b { color: var(--ink); font-size: 20px; text-align: right; }
.sample-label { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-weight: 800; font-size: 14px; }
.sample-label.a { background: var(--green-soft); color: var(--green); }
.sample-label.b { background: var(--orange-soft); color: var(--orange-dark); }
.sample-track { height: 14px; border-radius: 999px; background: #efece4; overflow: hidden; }
.sample-track span { display: block; height: 100%; border-radius: 999px; }
.fill-a { background: var(--green); }
.fill-b { background: var(--orange); }
.sample-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 0; }
.sample-metrics div { padding: 10px 12px; border-radius: 10px; background: var(--canvas); }
.sample-metrics dt { color: var(--muted); font-size: 12px; }
.sample-metrics dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.sample-metrics dd strong { color: var(--orange); }
.sample-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 13px; }

/* ---------- セクション共通 ---------- */
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; margin: 0 0 10px;
  color: var(--green); font-size: 14px; font-weight: 800; letter-spacing: .06em;
}
.kicker::before { content: ""; display: inline-block; width: 18px; height: 3px; margin: 0 8px 4px 0; border-radius: 2px; background: var(--gold); vertical-align: middle; }
.section-head h2 { margin: 0; font-size: 36px; font-weight: 800; }
.section-head > p:last-child, .section-head > p:not(.kicker) { margin: 14px 0 0; font-size: 17px; }

/* ---------- 比較ツール ---------- */
.tool-section { padding: 88px 0 96px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workspace { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.step-block { padding: 28px 32px; }
.step-block + .step-block { border-top: 1px solid var(--line); }
.step-label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--ink); font-size: 18px; font-weight: 800; }
.step-label span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-size: 15px; }
.toolbar { background: #fcfbf8; }
.toolbar-fields { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; }
.toolbar-fields > div { flex: 0 1 260px; }
.toolbar-fields .ghost-button { margin-left: auto; }
label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
select {
  width: 100%; min-height: 48px; padding: 0 40px 0 14px;
  border: 1px solid #cfc8b9; border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314583f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--ink); font-size: 16px;
  appearance: none; -webkit-appearance: none;
}
.editors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.editor-card { padding: 20px; border-radius: 14px; border: 2px solid transparent; }
.editor-card.variant-a { background: #f3f8f4; border-color: #cfe3d6; }
.editor-card.variant-b { background: #fdf5ef; border-color: #f2d6c2; }
.editor-heading { display: flex; align-items: center; justify-content: space-between; }
.editor-heading > div { display: flex; align-items: center; gap: 10px; }
.editor-heading h3 { margin: 0; font-size: 18px; }
.editor-heading h3 small { margin-left: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.editor-help { margin: 6px 0 12px; color: var(--muted); font-size: 14px; }
.variant-label { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-size: 15px; font-weight: 800; }
.variant-a .variant-label, .variant-label.a { background: var(--green); color: #fff; }
.variant-b .variant-label, .variant-label.b { background: var(--orange); color: #fff; }
.char-count { color: var(--muted); font-size: 13px; }
textarea {
  display: block; width: 100%; min-height: 210px; resize: vertical; padding: 16px;
  border: 1px solid #d8d2c5; border-radius: 10px; background: #fff;
  color: var(--ink); font-size: 16px; line-height: 1.85;
}
textarea:focus, select:focus { outline: 3px solid rgba(31, 122, 87, .2); outline-offset: 1px; border-color: var(--green-mid); }
.tip { margin: 18px 0 0; padding: 14px 18px; border-radius: 10px; background: #fff8e6; color: var(--text); font-size: 15px; }
.tip strong { margin-right: 12px; color: #8a6312; }
.action-row { background: #fcfbf8; }
.action-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.action-inner p { margin: 0; color: var(--muted); font-size: 14px; }
#persona-status { color: var(--ink); font-weight: 700; }

/* ---------- 結果 ---------- */
.results { margin-top: 56px; scroll-margin-top: 90px; }
.results-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.results-heading h2 { margin: 0; font-size: 30px; font-weight: 800; }
.result-summary { margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: 15px; font-weight: 700; }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.score-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.score-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.score-title h3 { margin: 0; font-size: 15px; }
.winner { flex: none; padding: 2px 10px; border-radius: 999px; background: #f1eee6; color: var(--ink); font-size: 12px; font-weight: 700; }
.score-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.score-value { font-size: 32px; font-weight: 800; line-height: 1.2; }
.score-value small { color: var(--muted); font-size: 12px; font-weight: 600; }
.score-value.a { color: var(--green); }
.score-value.b { color: var(--orange); }
.meter { height: 8px; margin-top: 8px; border-radius: 999px; background: #efece4; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 999px; }
.score-pair > div:first-child .meter span { background: var(--green); }
.score-pair > div:last-child .meter span { background: var(--orange); }
.result-columns { display: grid; grid-template-columns: 1.3fr .9fr; gap: 16px; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-heading h3 { margin: 0; font-size: 18px; }
.legend { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.legend i { width: 12px; height: 12px; margin-left: 8px; border-radius: 3px; }
.a-color { background: var(--green); }
.b-color { background: var(--orange); }
.segment-row { display: grid; grid-template-columns: 110px 1fr 96px; align-items: center; gap: 14px; margin: 14px 0; }
.segment-name { color: var(--ink); font-size: 14px; font-weight: 700; }
.dual-bars { display: grid; gap: 5px; }
.bar { height: 10px; border-radius: 999px; background: #efece4; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 999px; }
.bar.a span { background: var(--green); }
.bar.b span { background: var(--orange); }
.segment-values { color: var(--muted); font-size: 13px; text-align: right; }
.insight { padding: 14px 0; border-top: 1px solid var(--line); }
.insight:first-child { padding-top: 0; border-top: 0; }
.insight strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 15px; }
.insight p { margin: 0; font-size: 14px; }
.notice { margin-top: 6px; padding: 14px; border-radius: 10px; background: #fff8e6; color: #6b5420; font-size: 13px; line-height: 1.7; }
.notice a { margin-left: 4px; font-weight: 700; }

/* ---------- 説明セクション ---------- */
.info-section { padding: 88px 0; }
.info-section.tinted { background: var(--tint); }
.card-grid { display: grid; gap: 20px; }
.card-grid.two { grid-template-columns: 1fr 1fr; }
.info-card { padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 5px solid var(--green); }
.info-card.accent-b { border-top-color: var(--orange); }
.info-card h3 { margin: 16px 0 8px; font-size: 20px; }
.info-card p { margin: 0; }
.info-card ul { margin: 0; padding-left: 1.2em; }
.info-card li + li { margin-top: 4px; }
.info-card .example { margin-top: 14px; padding: 10px 14px; border-radius: 8px; background: var(--canvas); color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split .section-head { margin-bottom: 0; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 38px; font-size: 15px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; }
.check-list strong { display: block; color: var(--ink); font-size: 16px; }
.attribute-board { padding: 28px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.attribute-title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--ink); font-size: 17px; font-weight: 800; }
.attribute-title span { padding: 4px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; }
.attribute-board dl { margin: 0; }
.attribute-board dl div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.attribute-board dt { color: var(--muted); font-size: 14px; }
.attribute-board dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; }

.ceiling { margin-top: 24px; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.ceiling h3 { margin: 0 0 6px; font-size: 20px; }
.ceiling p { margin: 0; }
.ceiling ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 12px; padding: 0; list-style: none; }
.ceiling li { padding: 14px 16px; border-radius: 10px; background: var(--canvas); border-left: 4px solid var(--gold); }
.ceiling li span { display: block; color: var(--muted); font-size: 13px; }
.ceiling li strong { color: var(--ink); font-size: 20px; }
.ceiling .ceiling-note { color: var(--muted); font-size: 14px; }
.caution { margin: 24px 0 0; padding: 18px 22px; border-radius: var(--radius); background: #fff8e6; font-size: 15px; }
.caution strong { margin-right: 12px; color: #8a6312; }
.closing-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 56px; padding: 36px; border-radius: 20px; background: var(--green); color: #fff; }
.closing-cta p { margin: 0; font-size: 20px; font-weight: 700; }
.closing-cta .button { background: #fff; color: var(--green-dark); box-shadow: none; }
.closing-cta .button:hover { background: var(--gold); }

/* ---------- フッター ---------- */
.site-footer { background: #13201b; color: #fff; }
.footer-accent { display: grid; grid-template-columns: 1.7fr 1fr .7fr 1.2fr .9fr; height: 6px; }
.footer-accent span:nth-child(odd) { background: var(--green-mid); }
.footer-accent span:nth-child(even) { background: var(--orange); }
.footer-accent span:nth-child(3) { background: var(--gold); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { display: block; font-size: 17px; }
.footer-brand p { margin: 0; color: #b6c3bd; font-size: 13px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: #dfe7e3; font-size: 14px; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-note { justify-self: end; display: flex; align-items: center; gap: 10px; max-width: 320px; margin: 0; color: #c9d4cf; font-size: 13px; line-height: 1.6; }
.footer-note span { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #24493a; color: #a8ddc5; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid #2a3832; color: #98a7a0; font-size: 12px; }
.footer-bottom p { margin: 0; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .header-inner { position: relative; gap: 12px; }
  .header-inner .button-small { margin-left: auto; }
  .menu-button {
    display: grid; align-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; order: 3;
    border: 1px solid var(--line); border-radius: 10px; background: #fff;
  }
  .menu-button span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 20px;
    background: var(--canvas); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(27, 38, 34, .1);
  }
  .header-nav.is-open { display: flex; }
  .header-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .header-nav .nav-cta {
    display: flex; justify-content: center; margin-top: 16px; padding: 14px;
    border: 0; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700;
  }
  .hero { padding: 48px 0 64px; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .sample-card { position: relative; left: auto; bottom: auto; width: auto; max-width: 420px; margin: -40px auto 0; transform: none; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .result-columns { grid-template-columns: 1fr; }
  .ceiling ul { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-note { justify-self: start; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .pc-only { display: none; }
  .header-inner { height: 60px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-nav { padding: 8px 16px 20px; }
  .hero { padding: 36px 0 52px; }
  .hero-badge { font-size: 12px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  .hero-points { margin-top: 32px; }
  .hero-points li { padding: 0 12px; flex: 1; }
  .hero-points strong { font-size: 18px; }
  .hero-points span { font-size: 12px; line-height: 1.5; display: block; white-space: normal; }
  .sample-card { padding: 18px; margin: -28px 8px 0; }
  .sample-metrics { gap: 6px; }
  .sample-metrics div { padding: 8px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 26px; }
  .section-head > p:not(.kicker) { font-size: 15px; }
  .tool-section, .info-section { padding: 60px 0; }
  .step-block { padding: 22px 16px; }
  .toolbar-fields > div { flex: 1 1 100%; }
  .toolbar-fields .ghost-button { width: 100%; margin-left: 0; }
  .editors { grid-template-columns: 1fr; gap: 16px; }
  .editor-card { padding: 16px; }
  textarea { min-height: 180px; }
  .action-inner { flex-direction: column; align-items: stretch; }
  .button-large { min-width: 0; width: 100%; }
  .results-heading h2 { font-size: 24px; }
  .result-summary { border-radius: 12px; }
  .score-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .segment-row { grid-template-columns: 84px 1fr; gap: 4px 12px; }
  .segment-values { grid-column: 2; text-align: left; }
  .card-grid.two { grid-template-columns: 1fr; }
  .info-card, .attribute-board, .ceiling { padding: 22px; }
  .attribute-board dl div { grid-template-columns: 1fr; gap: 0; }
  .ceiling ul { grid-template-columns: 1fr 1fr; }
  .closing-cta { padding: 28px 20px; text-align: center; }
  .closing-cta p { font-size: 17px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .results:not([hidden]) { animation: reveal .4s ease-out; }
  @keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
