:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17213a; background: #f5f7fb; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at top left, #e9f4ff 0, transparent 32rem), #f5f7fb; }
.lp-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 40px; }
.lp-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin: 22px 0; }
.eyebrow { margin: 0 0 8px; color: #245fa5; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1 { max-width: 930px; margin: 0; font-size: clamp(1.75rem, 3.7vw, 3rem); line-height: 1.06; letter-spacing: -.035em; }
.subtitle { margin: 12px 0 0; color: #52627b; font-size: 1.08rem; }
.local-note { flex: 0 0 auto; margin: 4px 0; padding: 8px 12px; border: 1px solid #bfd2ea; border-radius: 999px; background: #fff; color: #49627f; font-size: .82rem; font-weight: 750; }
.local-note span { color: #1e9d68; }
.lp-workspace, .lp-insight { border: 1px solid #cbd8e8; border-radius: 24px; background: rgba(255,255,255,.97); box-shadow: 0 18px 50px rgba(42,74,112,.1); }
.lp-workspace { display: grid; gap: 16px; padding: clamp(14px, 2.8vw, 28px); }
.wheel-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(14px,2vw,24px); }
.wheel-card { min-width: 0; padding: clamp(15px,2.2vw,23px); border: 1px solid #cbd8e8; border-radius: 20px; background: #f7fbff; }
.wheel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wheel-heading span { color: #52627b; font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.wheel-heading h2 { margin: 3px 0 0; font-size: clamp(1.1rem,2.1vw,1.45rem); }
.wheel-heading > strong { flex: 0 0 auto; padding: 7px 9px; border-radius: 999px; background: #fff; color: #52627b; font-size: .73rem; }
.wheel-heading > strong span { color: #8e4917; font-size: inherit; }
.wheel { display: block; width: min(100%,360px); margin: 12px auto 0; overflow: visible; }
.lp-segment { stroke: #fff; stroke-width: 4; stroke-linejoin: round; transition: filter .18s ease, stroke-width .18s ease; }
.segment-1 { fill: #b96622; }
.segment-2 { fill: #3975b7; }
.segment-3 { fill: #258162; }
.segment-4 { fill: #8052a6; }
.lp-segment.is-selected { stroke: #17213a; stroke-width: 9; filter: brightness(1.08); }
.lp-segment-label { fill: #fff; font-size: 28px; font-weight: 900; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(23,33,58,.45); stroke-width: 3px; }
.hub { fill: #fff; stroke: #17213a; stroke-width: 5; }
.comparison-card, .area-card, .probability-card, .explore-card, .conclusion-card { padding: 17px 20px; border: 1px solid #cbd8e8; border-radius: 17px; background: #fff; }
.comparison-card h2, .area-card h2, .probability-card h2 { margin: 0 0 12px; color: #52627b; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.comparison-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.comparison-columns p { margin: 0; padding: 13px 15px; border-radius: 13px; background: #f2f6fb; }
.comparison-columns strong { color: #245fa5; font-size: 1.12rem; }
.comparison-columns small { display: block; margin-top: 5px; color: #52627b; }
.comparison-card output { display: block; margin-top: 12px; color: #9a3e2e; font-size: clamp(1.25rem,3vw,1.8rem); font-weight: 900; text-align: center; text-decoration: line-through; text-decoration-thickness: 3px; }
.area-card { border-color: #e0b991; background: #fff7ed; }
.probability-card { border-color: #9cccbc; background: #eaf9f3; }
.probability-card .comparison-columns p { background: rgba(255,255,255,.7); font-size: clamp(1.1rem,2.5vw,1.45rem); text-align: center; }
.probability-card .comparison-columns strong { color: #18715b; font-size: clamp(1.4rem,3vw,2rem); }
.explore-card { display: grid; grid-template-columns: auto minmax(220px,1fr) auto; gap: 16px; align-items: center; background: #f7fbff; }
.explore-card label { font-weight: 850; }
.explore-card input { width: 100%; accent-color: #a65b1d; }
.explore-card output { min-width: 92px; color: #8e4917; font-weight: 900; text-align: right; }
.conclusion-card { border-color: #9cccbc; background: #eaf9f3; text-align: center; }
.conclusion-card h2 { margin: 0 0 7px; color: #18715b; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.conclusion-card p { margin: 5px 0; font-size: clamp(1rem,2.1vw,1.25rem); }
.lp-insight { margin-top: 16px; padding: 20px 24px; }
.lp-insight > p { min-height: 1.5em; margin: 0 0 14px; color: #354964; }
.lp-controls { display: flex; gap: 12px; flex-wrap: wrap; }
.primary-button, .reset-button { min-height: 46px; padding: 0 20px; border-radius: 13px; font: inherit; font-weight: 800; cursor: pointer; }
.primary-button { border: 1px solid #8e4917; background: #a65b1d; color: #fff; }
.primary-button:disabled { cursor: not-allowed; opacity: .55; }
.reset-button { border: 1px solid #bdd0e4; background: #fff; color: #405873; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
[hidden] { display: none !important; }

@media (max-width: 720px) {
  .lp-shell { width: min(100% - 20px,1160px); padding-top: 10px; }
  .lp-header { display: block; }
  .local-note { display: inline-block; margin-top: 14px; }
  .lp-workspace { padding: 10px; }
  .wheel-grid, .comparison-columns { grid-template-columns: 1fr; }
  .wheel-heading { display: grid; }
  .wheel-heading > strong { justify-self: start; }
  .wheel { width: min(100%,300px); }
  .explore-card { grid-template-columns: 1fr; }
  .explore-card output { text-align: left; }
  .lp-insight { padding: 18px; }
  .lp-controls > * { flex: 1 1 140px; }
}

@media (min-width: 721px) and (max-width: 1040px) {
  .lp-shell { width: min(100% - 28px,1160px); }
  .wheel { width: min(100%,310px); }
}

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