:root {
  --ink: #101c2c;
  --muted: #566273;
  --paper: #f4f1e9;
  --white: #fffefa;
  --lime: #c8ff52;
  --cyan: #43d9d0;
  --line: rgba(16, 28, 44, 0.16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Noto Sans JP", system-ui, sans-serif; line-height: 1.65; }
button, input { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: auto; padding: 0 28px; }
.brand { font-weight: 850; font-size: 1.18rem; letter-spacing: -.04em; text-decoration: none; }
.brand span { color: #438b88; }
nav { display: flex; gap: 28px; align-items: center; font-size: .82rem; font-weight: 700; }
nav a { text-decoration: none; }
.nav-cta { border: 1px solid var(--ink); padding: 9px 15px; border-radius: 99px; }
.hero { min-height: calc(100vh - 76px); max-width: var(--max); margin: auto; padding: 10vh 28px 12vh; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 5vw; }
.kicker, .section-label, .card-type { font-size: .7rem; letter-spacing: .19em; font-weight: 800; text-transform: uppercase; }
.kicker { color: #32857f; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3rem, 6.6vw, 6.2rem); line-height: .98; letter-spacing: -.075em; font-weight: 800; }
em { color: #318f89; font-style: normal; }
.lead { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 2rem; border: 0; border-radius: 2px; padding: 14px 20px; font-weight: 750; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: #284158; }
.button-secondary { color: var(--ink); background: var(--lime); }
.privacy-note { margin-top: 12px; font-size: .75rem; color: var(--muted); }
.signal-orbit { position: relative; aspect-ratio: 1; max-width: 410px; width: 100%; justify-self: center; }
.orbit { position: absolute; inset: 12%; border: 1px solid rgba(16, 28, 44, .25); border-radius: 50%; }
.orbit-two { inset: 28%; border-color: #45a7a1; }
.core { position: absolute; inset: 40%; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font-weight: 850; }
.node { position: absolute; width: 13px; height: 13px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 8px rgba(200, 255, 82, .2); }
.node-one { top: 10%; left: 45%; }.node-two { right: 8%; bottom: 29%; }.node-three { left: 21%; bottom: 12%; background: var(--cyan); }
.section-dark { background: var(--ink); color: var(--white); }
.statement, .vision, .diagnostic, .resources, .newsletter { padding: 110px max(28px, calc((100vw - var(--max)) / 2)); }
.section-label { margin-bottom: 54px; color: #57b5af; }
.statement-grid, .vision-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.statement h2, .vision h2, .newsletter h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.05; letter-spacing: -.055em; }
.large-copy { font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.45; }
.statement-grid > div { max-width: 650px; color: #bbc3cc; }
.vision { background: var(--white); }
.principles article { display: grid; grid-template-columns: 50px 120px 1fr; gap: 20px; border-top: 1px solid var(--line); padding: 28px 0; }
.principles article > span { color: #499b95; font-size: .7rem; font-weight: 800; }
.principles h3 { font-size: 1.15rem; }
.principles p { color: var(--muted); }
.diagnostic { background: #d7f7f2; }
.diagnostic-intro { max-width: 720px; margin-bottom: 42px; }
.diagnostic-intro .section-label { margin-bottom: 22px; }
.diagnostic-intro h2 { font-size: clamp(2.3rem, 4.5vw, 4.5rem); line-height: 1.08; letter-spacing: -.055em; margin-bottom: 15px; }
.choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.choice { min-height: 255px; padding: 24px 20px; border: 1px solid rgba(16, 28, 44, .18); background: rgba(255,255,255,.56); color: var(--ink); text-align: left; display: flex; flex-direction: column; cursor: pointer; transition: transform .18s, background .18s; }
.choice:hover, .choice:focus-visible, .choice[aria-pressed="true"] { transform: translateY(-5px); background: var(--white); outline: 2px solid var(--ink); outline-offset: -2px; }
.choice b { font-size: 2.7rem; line-height: 1; }
.choice span { margin-top: auto; }
.choice strong { display: block; margin-bottom: 5px; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.choice i { font-style: normal; margin-top: 13px; align-self: flex-end; }
.route-result { margin-top: 18px; padding: 35px; background: var(--white); border-left: 7px solid #4ba49e; }
.route-result.is-strong { border-color: var(--lime); background: var(--ink); color: var(--white); }
.route-result h3 { font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.15; }
.route-result p { max-width: 750px; }
.resources { background: var(--paper); }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.resource-card { min-height: 380px; padding: 34px; background: var(--white); display: flex; flex-direction: column; scroll-margin-top: 20px; }
.resource-card h2 { font-size: 2rem; line-height: 1.15; letter-spacing: -.035em; }
.resource-card p:not(.card-type) { color: var(--muted); }
.card-type { color: #408f89; }
.accent-card { color: var(--white); background: #277a76; }
.accent-card p:not(.card-type), .accent-card .card-type { color: #d4efec; }
.text-link { margin-top: auto; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: transparent; display: flex; justify-content: space-between; font-weight: 800; text-decoration: none; cursor: pointer; text-align: left; }
.text-link.light { color: var(--white); border-color: rgba(255,255,255,.3); }
.mini-workflow { margin-top: 24px; }
.mini-workflow label, #newsletter-form > label:first-child { display: block; font-size: .8rem; font-weight: 750; }
.mini-workflow input { width: 100%; padding: 9px 0; margin-bottom: 12px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; }
.mini-workflow .button { width: 100%; }
.form-status { min-height: 1.5em; margin: 10px 0 0; font-size: .8rem; }
.newsletter { color: var(--white); background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; }
.newsletter .section-label { margin-bottom: 25px; }
#newsletter-form { max-width: 540px; }
.email-row { display: flex; border-bottom: 1px solid #82909f; }
.email-row input { min-width: 0; flex: 1; padding: 15px 0; color: var(--white); background: transparent; border: 0; outline: none; }
.email-row button { border: 0; padding: 0 18px; background: var(--lime); cursor: pointer; font-weight: 800; }
.check { display: flex; gap: 9px; margin-top: 18px; color: #b7c0ca; font-size: .74rem; }
.check input { flex: 0 0 auto; margin-top: 5px; }
footer { padding: 44px max(28px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 25px; font-size: .78rem; }
footer p:last-child { margin-left: auto; }
footer p { margin-bottom: 0; }
.consent-panel { position: fixed; z-index: 50; right: 22px; bottom: 22px; width: min(460px, calc(100vw - 44px)); padding: 24px; background: var(--white); box-shadow: 0 18px 60px rgba(16,28,44,.22); border: 1px solid var(--line); }
.consent-panel[hidden] { display: none; }
.consent-panel h2 { margin-bottom: 5px; font-size: 1.2rem; }
.consent-panel p, .consent-panel label { font-size: .78rem; }
.consent-actions { display: flex; gap: 13px; margin-top: 18px; align-items: center; }
.plain-button, .privacy-button { border: 0; text-decoration: underline; background: transparent; cursor: pointer; }
.privacy-button { position: fixed; z-index: 20; left: 14px; bottom: 12px; padding: 7px 10px; background: var(--white); box-shadow: 0 2px 14px rgba(0,0,0,.1); font-size: .68rem; }

@media (max-width: 900px) {
  .hero, .statement-grid, .vision-grid, .newsletter { grid-template-columns: 1fr; }
  .signal-orbit { max-width: 300px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice { min-height: 190px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 320px; }
}

@media (max-width: 600px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero { padding-top: 7vh; }
  .signal-orbit { display: none; }
  .statement, .vision, .diagnostic, .resources, .newsletter { padding-top: 76px; padding-bottom: 76px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice { min-height: 140px; }
  .principles article { grid-template-columns: 35px 1fr; }
  .principles p { grid-column: 2; }
  footer { align-items: flex-start; flex-direction: column; }
  footer p:last-child { margin-left: 0; }
}

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

.diagnostic-step { max-width: 760px; margin: 28px auto 0; padding: 32px; background: var(--white); border-left: 7px solid #4ba49e; }
.diagnostic-step[hidden] { display: none; }
.diagnostic-step h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.2; margin-bottom: 10px; }
.diagnostic-questions { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.diagnostic-question .question-text { margin: 0 0 6px; font-size: .95rem; }
.diagnostic-question .question-options { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.diagnostic-question label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.diagnostic-question input { flex: 0 0 auto; margin-top: 5px; }
.diagnostic-output { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.diagnostic-output[hidden] { display: none; }
.diagnostic-output ul { padding-left: 20px; }
.diagnostic-output .button { margin-top: 14px; }

.dashboard { padding: 90px max(28px, calc((100vw - var(--max)) / 2)); background: var(--white); }
.dashboard h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 12px; }
.dashboard .lead { margin-bottom: 32px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-card { padding: 22px; background: var(--paper); border: 1px solid var(--line); }
.dash-value { font-size: 1.15rem; font-weight: 750; margin: 8px 0 0; }
.level-table { margin-top: 36px; padding: 26px; border: 1px solid var(--line); background: var(--paper); }
.level-table h3 { font-size: 1.15rem; margin-bottom: 14px; color: var(--ink); }
.level-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: none; }
.level-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.level-list li:first-child { border-top: 0; }
.level-list b { font-size: .95rem; font-weight: 800; color: #32857f; }
.level-list strong { display: inline; margin-right: 8px; font-weight: 800; }
.level-list span { font-size: .9rem; color: var(--ink); line-height: 1.55; }
.dash-level-result { margin-top: 24px; padding: 22px; background: var(--paper); border: 1px solid var(--line); }
.dash-level-result[hidden] { display: none; }
.dash-level-value { font-size: 1.2rem; font-weight: 800; margin: 6px 0 12px; color: var(--ink); }
.dash-level-actions-label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #408f89; margin-bottom: 6px; }
.dash-level-actions { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dash-level-actions li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.dash-level-actions li::before { content: "☐"; flex: 0 0 auto; color: #408f89; font-weight: 800; }

@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard { padding-top: 64px; padding-bottom: 64px; }
  .level-list li { grid-template-columns: 36px 1fr; gap: 10px; }
}
