@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f2f5f4;
  --paper-deep: #e7ecea;
  --surface: #ffffff;
  --ink: #10252b;
  --ink-soft: #33484e;
  --muted: #5a6a6e;
  --line: #d8e0de;
  --line-strong: #bdcac7;
  --navy: #102c34;
  --accent: #0e796f;
  --accent-dark: #075b54;
  --accent-pale: #e6f1ef;
  --danger: #a84c53;
  --danger-pale: #f8ebec;
  --warn: #9a6827;
  --warn-pale: #f7efe3;
  --ok: #217563;
  --shadow: 0 24px 70px rgba(22, 49, 54, .10);
  --shadow-soft: 0 12px 32px rgba(22, 49, 54, .07);
  --r-xl: 28px;
  --r-lg: 18px;
  --r-md: 13px;

  --bg-image: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(14, 121, 111, .3); outline-offset: 3px; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
}
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(242, 245, 244, .04) 0%, rgba(242, 245, 244, .30) 42%, rgba(242, 245, 244, .70) 68%, rgba(242, 245, 244, .94) 88%);
}

.app {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 28px;
}

.screen { display: none; min-height: 100vh; min-height: 100dvh; }
.screen.active { display: flex; flex-direction: column; animation: screenIn 280ms ease both; }
.screen-center { align-items: center; justify-content: center; }
.screen-quiz { width: min(100%, 760px); margin: 0 auto; }
.screen-analyzing { width: min(100%, 620px); margin: 0 auto; }
#s-result { width: min(100%, 820px); margin: 0 auto; }

@keyframes screenIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
}
.brand-lockup { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-text { color: var(--ink); font-size: 13px; font-weight: 740; letter-spacing: .015em; white-space: nowrap; }
.brand-tagline { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 560; letter-spacing: .08em; }
.brand-mini { font-size: 12px; color: var(--muted); }
.topbar-right { display: inline-flex; align-items: center; gap: 10px; }
.time-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.time-label svg { color: var(--accent); }

.counter {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  white-space: nowrap;
}

.lang-slot { display: inline-flex; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.lang-btn:hover { background: #fff; border-color: var(--accent); }
.lang-btn svg { color: var(--accent); }

.lang-sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: 18px; }
.lang-backdrop { position: absolute; inset: 0; background: rgba(10, 30, 35, .56); backdrop-filter: blur(4px); }
.lang-panel {
  position: relative;
  width: min(100%, 440px);
  padding: 20px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: sheetIn 220ms ease both;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lang-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.lang-title { margin: 0; font-size: 13px; font-weight: 750; letter-spacing: .08em; color: var(--ink); }
.lang-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
}
.lang-list { display: flex; flex-direction: column; gap: 8px; }
.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
}
.lang-opt[aria-current="true"] { border-color: var(--accent); background: var(--accent-pale); }
.lang-opt .tick { color: var(--accent); opacity: 0; }
.lang-opt[aria-current="true"] .tick { opacity: 1; }
body.sheet-open { overflow: hidden; }
.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 730;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.btn-primary { border: 1px solid var(--navy); background: var(--navy); color: #fff; box-shadow: 0 15px 28px rgba(16, 44, 52, .17); }
.btn-primary:hover { background: #173b45; box-shadow: 0 17px 32px rgba(16, 44, 52, .22); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary svg { color: #71c8b9; transition: transform 160ms ease; }
.btn-primary:hover svg { transform: translateX(2px); }
.btn-secondary { border: 1px solid var(--line-strong); background: rgba(255,255,255,.48); color: var(--ink); }
.btn-secondary:hover { border-color: var(--accent); background: #fff; }

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.site-footer p { margin: 0; }
.footer-copy { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.privacy-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.privacy-note-strong { color: var(--ink-soft); font-weight: 620; }
.site-footer a { color: var(--ink-soft); text-decoration: none; font-weight: 620; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }

/* Check flow: a single mobile-first system, shared with the homepage palette. */
.topbar-compact { position: relative; }
#s-quiz, #s-result { width: min(100%, 700px); padding-inline: 4px; }
#s-quiz .topbar, #s-result .topbar { min-height: 66px; gap: 10px; }
#s-quiz .brand-mini { display: block; font-size: 11px; letter-spacing: 0; margin-right: auto; }
#s-result .brand-text { font-size: 12px; letter-spacing: 0; }
.back { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; border:1px solid var(--line); border-radius:10px; background:transparent; color:var(--ink-soft); cursor:pointer; }
.back:hover { border-color:var(--accent); background:#fff; }
.back[disabled] { opacity:.35; cursor:default; }
.quiz-status { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:20px; }
.q-topic { display:flex; align-items:center; gap:8px; margin:0; color:var(--accent-dark); font-size:13px; font-weight:650; line-height:1.4; }
.q-topic-icon { display:grid; place-items:center; width:28px; height:28px; flex-shrink:0; border-radius:7px; background:#e3ede8; }
.q-topic-icon svg { width:18px; height:18px; }
.quiz-status .counter { flex-shrink:0; color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
.progress { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; margin-top:12px; }
.progress-step { position:relative; height:27px; color:var(--muted); font-size:11px; font-weight:650; line-height:17px; }
.progress-step::before { content:attr(data-step); }
.progress-step::after { content:''; position:absolute; left:0; right:0; bottom:0; height:4px; border-radius:4px; background:#d4dedc; }
.progress-step.done { color:var(--accent-dark); }
.progress-step.done::before { content:'✓'; }
.progress-step.done::after { background:#76a99c; }
.progress-step.current { color:var(--accent-dark); }
.progress-step.current::after { background:var(--accent-dark); }
.quiz-main { flex:1 0 auto; padding:26px 0 28px; }
.q-text { margin:0; color:var(--ink); font-size:27px; line-height:1.3; letter-spacing:-.03em; font-weight:700; text-wrap:pretty; outline:none; }
.q-purpose { margin:12px 0 0; color:var(--muted); font-size:13px; line-height:1.6; }
.q-hint { margin:22px 0 10px; font-size:12px; color:var(--muted); }
.opts { display:grid; gap:9px; }
.opt { display:grid; grid-template-columns:minmax(0,1fr) 22px; align-items:center; gap:14px; width:100%; min-height:60px; padding:13px 15px; border:1px solid var(--line-strong); border-radius:10px; background:#fff; color:var(--ink); font-size:15px; font-weight:550; line-height:1.45; text-align:start; cursor:pointer; transition:background-color 160ms,border-color 160ms; }
.opt-txt { min-width:0; overflow-wrap:anywhere; }
.opt-radio { display:none; }
.opt-check { display:grid; place-items:center; width:21px; height:21px; border:1px solid var(--line-strong); border-radius:50%; color:transparent; }
.opt[aria-pressed="true"] { border-color:var(--accent-dark); background:var(--accent-pale); box-shadow:inset 0 0 0 1px var(--accent-dark); }
.opt[aria-pressed="true"] .opt-check { background:var(--accent-dark); border-color:var(--accent-dark); color:white; }
@media (hover:hover) { .opt:hover { border-color:var(--accent); background:#f6faf7; } }
.opts.locked .opt { pointer-events:none; }
.opts.locked .opt:not([aria-pressed="true"]) { opacity:.6; }
.quiz-foot { display:flex; align-items:flex-start; justify-content:center; gap:7px; margin:0 0 22px; color:var(--muted); font-size:12px; line-height:1.6; text-align:center; }
.quiz-foot svg { flex-shrink:0; margin-top:3px; color:var(--accent-dark); }
.ana { width:100%; padding:28px 20px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.ana-kicker { color:var(--accent-dark); font-size:12px; font-weight:700; letter-spacing:.08em; }
.ana-mark { display:grid; place-items:center; width:48px; height:48px; margin-top:22px; border-radius:12px; background:var(--accent-pale); color:var(--accent-dark); }
.ana-title { margin:20px 0 0; font-size:27px; font-weight:700; line-height:1.3; letter-spacing:-.03em; }
.ana-lead { margin:12px 0 0; color:var(--muted); font-size:14px; line-height:1.6; }
.chk-list { list-style:none; display:grid; gap:0; padding:0; margin:22px 0 0; }
.chk { display:flex; align-items:center; gap:10px; min-height:44px; border-bottom:1px solid var(--line); color:var(--ink-soft); font-size:14px; opacity:0; transform:translateY(4px); transition:opacity 200ms,transform 200ms; }
.chk.on { opacity:1; transform:none; }
.chk-ico { display:grid; place-items:center; width:20px; height:20px; color:var(--accent-dark); }
.ana-foot { display:flex; align-items:center; gap:9px; margin:22px 0 0; color:var(--muted); font-size:12px; }
.live-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); }
.result-layout { flex:1 1 auto; padding:28px 0 32px; }
#s-result { --result-tone:#075b54; --result-wash:#edf5f0; --result-line:#bfd5c9; }
#s-result[data-level="high"] { --result-tone:#93434a; --result-wash:#fbf1ee; --result-line:#e6c4c2; }
#s-result[data-level="review"] { --result-tone:#79531f; --result-wash:#faf5e9; --result-line:#dfcea9; }
.res-head { padding:20px; border:1px solid var(--result-line); border-radius:12px; background:var(--result-wash); }
.res-heading-meta { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.res-head .eyebrow { color:var(--ink-soft); font-size:12px; letter-spacing:.06em; }
.res-complete { display:flex; align-items:center; gap:6px; flex-shrink:0; font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums; }
.res-priority { display:flex; align-items:center; gap:10px; margin:22px 0 0; color:var(--result-tone); font-size:14px; line-height:1.5; font-weight:700; }
.res-priority-icon { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; border-radius:8px; background:#fff; }
.res-priority-icon svg { width:23px; height:23px; }
.res-complete svg { width:16px; height:16px; }
.res-title { margin:18px 0 0; color:var(--ink); font-size:30px; font-weight:700; line-height:1.25; letter-spacing:-.035em; text-wrap:pretty; outline:none; }
.res-sub { margin:12px 0 0; color:var(--ink-soft); font-size:15px; line-height:1.65; }
.result-context { margin:14px 0 0; color:var(--muted); font-size:12px; line-height:1.65; }
.cards { display:flex; flex-direction:column; gap:16px; margin-top:24px; }
.cards:empty { display:none; }
.card { padding:20px 18px 6px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.card[data-sev="high"] { --card-tone:#93434a; --card-wash:#f7e6e3; background:#fff9f7; border-color:#e6c4c2; border-top:4px solid var(--card-tone); }
.card[data-sev="review"] { --card-tone:#79531f; --card-wash:#f4ecd8; background:#fffdf7; border-color:#dfcea9; border-inline-start:3px solid var(--card-tone); }
.card-head { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.card-ico { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; border-radius:9px; color:var(--card-tone); background:var(--card-wash); }
.card-area { flex:1; min-width:80px; color:var(--muted); font-size:12px; font-weight:600; }
.card .sev { color:var(--card-tone); background:var(--card-wash); padding:4px 7px; border-radius:5px; font-size:12px; font-weight:650; line-height:1.4; }
.card h3 { margin:16px 0 0; font-size:20px; font-weight:700; line-height:1.4; letter-spacing:-.025em; }
.next-action { margin-top:16px; padding:14px; border-radius:8px; background:#fff; border:1px solid var(--card-wash); }
.next-label { display:block; color:var(--card-tone); font-size:12px; font-weight:700; }
.next-action p { margin:6px 0 0; color:var(--ink-soft); font-size:14px; line-height:1.7; }
.card .expand { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:48px; margin-top:6px; padding:10px 0; border:0; background:transparent; color:var(--accent-dark); font-size:13px; font-weight:600; text-align:start; cursor:pointer; }
.card .expand svg { flex-shrink:0; transition:transform 180ms; }
.card .expand[aria-expanded="true"] svg { transform:rotate(180deg); }
.card .detail { margin:0 0 14px; padding-top:10px; border-top:1px solid var(--line); }
.card .detail p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
.res-note { margin:22px 0 0; padding:18px; border-inline-start:3px solid var(--accent); background:#e8f0eb; color:var(--ink-soft); font-size:14px; line-height:1.7; }
.well { margin-top:28px; }
.well-head { margin:0; color:var(--ink); font-size:16px; font-weight:650; }
.well-list { list-style:none; display:grid; gap:0; padding:0; margin:12px 0 0; }
.well-list li { display:flex; align-items:center; gap:10px; min-height:48px; padding:10px 0; border-bottom:1px solid var(--line); color:var(--ink-soft); font-size:14px; }
.well-ico { display:grid; place-items:center; width:24px; height:24px; flex-shrink:0; border-radius:50%; background:var(--accent-pale); color:var(--accent-dark); }
.res-actions { display:grid; gap:10px; margin-top:28px; }
.res-actions .btn { min-height:54px; padding:12px 18px; border-radius:10px; font-size:14px; box-shadow:none; }
.res-actions .btn-primary { color:var(--accent-dark); background:var(--accent-pale); border-color:#bed4cb; }
.res-actions .btn-secondary { border-color:var(--line-strong); background:var(--surface); color:var(--ink); }
.res-actions .btn-secondary:hover { border-color:var(--accent-dark); background:#f6faf7; }
.res-actions .btn-secondary:active { background:var(--accent-pale); transform:translateY(1px); }
.result-footer { margin-top:auto; font-size:12px; }
.result-footer .privacy-note { font-size:12px; }
@media (max-width:359px) {
 #s-quiz .brand-mini { font-size:10px; }
 #s-quiz .lang-btn { padding-inline:8px; }
 .q-text { font-size:24px; }
 .opt { padding:12px; font-size:14px; }
 .card { padding-inline:15px; }
 .res-title { font-size:28px; }
}
@media (max-height:720px) and (max-width:560px) {
 #s-quiz .topbar { min-height:58px; }
 .quiz-status { margin-top:12px; }
 .quiz-main { padding:20px 0 18px; }
 .q-text { font-size:24px; }
 .q-purpose { margin-top:8px; }
 .q-hint { margin-top:16px; }
 .opt { min-height:58px; padding-block:11px; }
 .opts { gap:8px; }
 .quiz-foot { margin-bottom:14px; }
}
@media (min-width:821px) {
 .quiz-status { margin-top:28px; }
 .quiz-main { padding:36px 0; }
 .q-text { font-size:34px; }
 .q-purpose { font-size:15px; }
 .opt { min-height:64px; font-size:16px; }
 .result-layout { padding-top:38px; }
 .res-title { font-size:38px; }
 .card { padding:24px 26px 8px; }
 .res-head { padding:26px; }
}

@media (max-width: 820px) { .app { padding: 0 18px; } }
@media (max-width: 560px) {
 .app { padding:0 16px; }
 .topbar { min-height:66px; }
 .brand-mark { width:31px; height:31px; }
 .brand-tagline, .time-label { display:none; }
 .lang-btn { min-height:44px; padding:0 10px; }
 .eyebrow { font-size:10.5px; }
 .site-footer { align-items:center; gap:8px; padding:16px 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.screen-legal { width: min(100%, 760px); margin: 0 auto; }

.page-bg-quiet::after { background: linear-gradient(180deg, rgba(242, 245, 244, .66) 0%, rgba(242, 245, 244, .88) 42%, rgba(242, 245, 244, .97) 100%); }
a.brand { text-decoration: none; }
.screen-legal .site-footer { margin-top: auto; }
.legal-main { padding: 30px 0 34px; }
.legal-h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 8.2vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.legal-updated { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.legal-summary {
  text-wrap: pretty;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .6);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.78;
}
.legal-sec { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-sec h2 { margin: 0; color: var(--ink); font-size: 15.5px; font-weight: 720; }
.legal-sec p { margin: 9px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.82; text-wrap: pretty; }
.legal-contact { border-top: 1px solid var(--line-strong); }
.legal-mail { margin: 10px 0 0; }
.legal-mail a { color: var(--accent-dark); font-weight: 640; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.footer-links a { color: var(--ink-soft); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a + a::before { content: '·'; margin-right: 10px; color: var(--line-strong); }
.footer-links a:hover { color: var(--accent-dark); }

/* Homepage: one mobile-first layout. Quiz, results and legal styles remain above. */
.screen-hero { --home-space: 48px; color: var(--ink); }
.screen-hero .topbar { min-height: 66px; }
.screen-hero .brand-mark svg { width: 18px; height: 18px; }
.screen-hero .brand-text { font-size: 12px; letter-spacing: 0; }
.home-main { display: block; padding: 0 4px; }
.home-main svg { width: 24px; height: 24px; flex-shrink: 0; }
.home-main figure { margin: 0; overflow: hidden; }
.home-main p { text-wrap: pretty; }
.home-main .home-kicker { margin: 0 0 10px; color: var(--accent-dark); font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.65; }
.home-main .home-heading { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: -.035em; text-wrap: balance; }
.home-main .btn { min-height: 58px; padding: 13px 18px; font-size: 16px; line-height: 1.4; border-radius: 10px; box-shadow: none; }
.home-main .btn-primary { background: var(--accent-dark); border-color: var(--accent-dark); }
.home-main .btn-primary:hover { background: #064b45; }
.landing-hero { display: grid; gap: 18px; padding: 30px 0 0; }
.landing-hero .hero-title { margin: 0; max-width: 15em; font-size: clamp(30px, 8.6vw, 38px); line-height: 1.23; letter-spacing: -.04em; font-weight: 750; text-wrap: balance; }
.phrase-tail { display: block; }
.landing-copy .home-kicker { max-width: 32em; letter-spacing: .01em; font-weight: 600; color: var(--muted); }
html[lang="zh"] .hero-title .phrase-tail { white-space: nowrap; }
.landing-sub { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.hero-warning { margin: 12px 0 0; color: var(--ink); font-size: 14px; line-height: 1.6; font-weight: 680; }
.landing-visual { position:relative; border-radius: 12px; height: clamp(170px, 48vw, 220px); background: #e7e9e3; }
.landing-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.landing-visual figcaption { position:absolute; inset:auto 0 0; padding:28px 16px 13px; background:linear-gradient(transparent,rgba(9,27,27,.8)); color:#fff; font-size:13px; line-height:1.5; }
.landing-action { min-width: 0; }
.landing-expectation { margin:0 0 10px; font-size:13px; line-height:1.5; color:var(--accent-dark); font-weight:650; }
.landing-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 0; list-style: none; margin: 13px 0 0; padding: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.landing-trust li { padding: 0 6px; border-inline-end: 1px solid var(--line-strong); }
.landing-trust li:last-child { border: 0; }
.home-disclosure > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; cursor:pointer; list-style:none; font-size:14px; line-height:1.5; font-weight:650; }
.home-disclosure > summary::-webkit-details-marker { display:none; }
.home-disclosure > summary::after { content:''; flex:0 0 8px; width:8px; height:8px; margin-inline:3px; border-right:1.8px solid currentColor; border-bottom:1.8px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform 180ms ease; }
.home-disclosure[open] > summary::after { transform:translateY(2px) rotate(225deg); }
.home-main summary:focus-visible { outline:3px solid #229887; outline-offset:4px; border-radius:4px; }
.home-main .btn span { min-width:0; }
.risk-data-section { margin: 32px 0 0; padding: 26px 20px 22px; color: #fff; background: var(--navy); border-radius: 14px; }
.risk-data-section .home-kicker { color: #72d0c0; }
.risk-data-section .home-heading { max-width: 13em; }
.risk-data-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin-top: 22px; container-type: inline-size; }
.risk-data-stat { display: flex; min-width: 0; gap: 8px; padding: 18px 0 0; flex-direction: column; }
.risk-data-stat + .risk-data-stat + .risk-data-stat { padding-inline-start: 14px; border-inline-start: 1px solid rgba(255,255,255,.18); }
.risk-data-stat strong { display:block; color: #fff; font-size: 23px; font-size: clamp(19px,7.8cqi,30px); line-height: 1.15; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.risk-data-stat span { color: #bed3ce; font-size: 13px; line-height: 1.5; }
.risk-data-stat-primary { grid-column: 1 / -1; padding: 0 0 22px; border-bottom: 1px solid rgba(255,255,255,.2); }
.risk-data-stat-primary strong { color:#a5e6d5; font-size: 54px; font-size: clamp(46px,19cqi,76px); line-height:1.05; letter-spacing:-.06em; }
.risk-data-stat-primary span { color:#e4f0ed; font-size:14px; }
.risk-data-body { margin: 0 0 12px; color: #d5e1de; font-size: 14px; line-height: 1.72; }
.risk-data-details { margin-top:12px; border-bottom:1px solid rgba(255,255,255,.18); color:#b3e2d7; }
.risk-data-note { margin: 16px 0 0; padding: 0 0 0 12px; border-inline-start: 2px solid #72d0c0; color: #fff; font-size: 14px; line-height: 1.65; font-weight: 620; }
.risk-data-section .btn { margin-top:18px; background:#edf8f3; border-color:#edf8f3; color:var(--navy); }
.risk-data-section .btn:hover { background:#d5eee3; }
.risk-data-section .btn svg { color:var(--accent-dark); }
.risk-data-sources { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 10px; }
.risk-data-sources a { display:inline-flex; align-items:center; min-height:44px; color: #b3e2d7; font-size: 12px; line-height: 1.5; text-underline-offset: 3px; }
.scope-section { padding: var(--home-space) 0; }
.scope-rows { display:grid; margin-top:20px; border-top:1px solid var(--line-strong); }
.scope-row { min-width:0; border-bottom:1px solid var(--line-strong); }
.scope-row > summary { padding:18px 0; align-items:flex-start; }
.scope-row > summary::after { align-self:center; color:var(--accent-dark); }
.scope-copy { display:block; flex:1; min-width:0; }
.scope-copy strong { display:block; font-size:16px; line-height:1.4; color:var(--ink); }
.scope-copy > span { display:block; margin-top:6px; color:var(--ink-soft); font-size:14px; line-height:1.6; font-weight:400; }
.scope-icon { display: grid; place-items: center; width: 34px; height: 36px; color: var(--accent-dark); background: #e3ede8; border-radius: 8px; }
.scope-icon svg { width:20px; height:20px; }
.scope-row > p { margin:0 24px 18px 46px; padding-inline-start:12px; border-inline-start:2px solid var(--accent); color:var(--ink-soft); font-size:14px; line-height:1.6; }
.learn-section { padding: 0 0 32px; border-bottom: 1px solid var(--line-strong); }
.learn-stories { display: grid; gap: 16px; margin-top: 22px; }
.learn-story { min-width: 0; padding:18px; background:#e8efeb; border:1px solid #d9e4dd; border-radius:12px; }
.learn-story-top { display: grid; gap: 16px; align-items: start; }
.learn-story h3 { margin: 0; font-size: 21px; line-height: 1.35; letter-spacing: -.025em; font-weight: 700; }
.learn-story p { margin: 9px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.backup-visual { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:10px; min-height:128px; padding:14px; border:1px solid #c7d4ce; border-radius:10px; background:#f6f8f4; color:var(--accent-dark); }
.backup-visual > span { display:grid; justify-items:center; gap:8px; text-align:center; }
.backup-visual b { color:var(--ink); font-size:13px; line-height:1.5; font-weight:650; }
.backup-visual i { font-style:normal; font-size:22px; color:var(--muted); }
.backup-visual small { grid-column:1/-1; color:var(--ink-soft); text-align:center; font-size:12px; line-height:1.5; }
.learn-story details { margin-top: 12px; border-bottom: 1px solid #c6d4ce; }
.learn-story summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 10px 4px 10px 0; cursor: pointer; font-size: 14px; font-weight: 650; color: var(--accent-dark); list-style: none; }
.learn-story summary::-webkit-details-marker { display:none; }
.learn-story summary::after { content: ''; flex: 0 0 8px; width: 8px; height: 8px; margin: -4px 3px 0 0; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); transition: transform 180ms ease; }
.learn-story details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.learn-story details p { margin: 0 0 16px; }
.permission-visual { display: grid; align-content:center; min-height:128px; gap: 8px; padding: 16px; margin-bottom: 16px; border: 1px solid #c7d4ce; border-radius: 10px; background: #f6f8f4; }
.permission-visual > div { display:flex; align-items:center; gap:12px; }
.permission-visual > div + div { border-top: 1px solid #d9e2db; padding-top:10px; }
.permission-visual svg { color: var(--accent-dark); }
.permission-visual span { display:flex; flex:1; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; }
.permission-visual b { font-size: 13px; font-weight: 650; }
.permission-visual small { font-size: 12px; color:var(--muted); }
.permission-visual i { color:var(--muted); font-size:22px; font-style:normal; width:18px; flex-shrink:0; text-align:center; }
.permission-visual .permission-open { height:10px; width:10px; border:2px solid #967037; border-radius:50%; }
.learn-reminder { display:flex; align-items:flex-start; gap:10px; margin:26px 0 0; color:var(--ink-soft); font-size:13px; line-height:1.6; }
.learn-reminder svg { width:18px; height:18px; margin-top:2px; color:var(--accent-dark); }
.outcome-section { margin:var(--home-space) 0 32px; border:1px solid var(--line-strong); border-radius:14px; background:#fff; }
.outcome-copy { padding:24px 20px; }
.outcome-section .home-heading { max-width: 24em; text-wrap:pretty; }
.outcome-section .phrase-tail { margin-top:12px; font-size:16px; font-weight:500; line-height:1.65; letter-spacing:0; color:var(--ink-soft); }
.outcome-body { margin: 16px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.68; }
.outcome-deliverables { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:0; margin:22px 0 18px; }
.outcome-deliverables li { display:flex; flex-direction:column; align-items:center; gap:10px; padding:8px 6px; text-align:center; min-width:0; }
.outcome-deliverables li + li { border-inline-start:1px solid var(--line); }
.outcome-deliverables li > span { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; color:var(--accent-dark); background:#e6efea; font-size:12px; font-weight:700; }
.outcome-deliverables strong { font-size:14px; line-height:1.5; }
.outcome-coverage { border-top:1px solid var(--line); color:var(--accent-dark); }
.outcome-items { margin: 0 0 10px; padding: 12px; border-inline-start: 2px solid var(--accent); background: #e6efea; }
.outcome-items p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.outcome-items p + p { margin-top: 4px; }
.outcome-note { margin: 10px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.home-close { margin:0; padding:26px 20px; color:#fff; background:var(--navy); border-radius:0 0 12px 12px; }
.home-close .home-heading { max-width:18em; font-size:24px; }
.home-close > p { color:#cbdad9; margin:12px 0 22px; font-size:14px; line-height:1.65; }
.home-close .btn-primary { background:#f2f7f2; border-color:#f2f7f2; color:var(--navy); }
.home-close .btn-primary svg { color:var(--accent-dark); }
.home-close .btn-primary:hover { background:#dcece4; }
.home-close .closing-trust { margin: 14px 0 0; color: #c1d4ce; font-size: 13px; line-height: 1.55; text-align: center; }
.screen-hero .site-footer { padding:22px 4px 30px; font-size:12px; }
.screen-hero .privacy-note, .screen-hero .footer-links a { font-size:12px; }

@media (max-width: 359px) {
 .screen-hero .topbar { gap:8px; }
 .screen-hero .brand { gap:7px; min-width:0; overflow:hidden; }
 .screen-hero .brand-wordmark { width:112px; max-width:100%; height:auto; }
 .screen-hero .lang-btn { gap:5px; padding-inline:8px; }
 .landing-hero { padding-top:24px; gap:15px; }
 .landing-hero .hero-title { font-size:30px; }
 .landing-visual { height:170px; }
 .learn-story { padding:15px; }
 .learn-story h3 { font-size:20px; }
}
@media (min-width: 821px) {
 .screen-hero { --home-space:72px; }
 .screen-hero .topbar { min-height:76px; }
 .home-main { max-width:1000px; margin:0 auto; padding:0; }
 .landing-hero { grid-template-columns:1fr 1fr; grid-template-areas:"copy visual" "action visual"; gap:24px 56px; padding-top:58px; align-items:center; }
 .landing-copy { grid-area:copy; align-self:end; }
 .landing-hero .hero-title { font-size:clamp(34px,3.6vw,46px); max-width:15em; }
 .landing-sub { font-size:17px; }
 .hero-warning { font-size:15px; }
 .landing-visual { grid-area:visual; height:410px; border-radius:16px; }
 .landing-action { grid-area:action; align-self:start; }
 .landing-trust { justify-content:flex-start; }
 .risk-data-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 40px; padding:36px; margin:var(--home-space) 0 0; }
 .risk-data-head { grid-column:1; }
 .risk-data-metrics { grid-column:2; grid-row:1 / span 3; align-self:start; margin-top:0; }
 .risk-data-note, .risk-data-details, .risk-data-sources { grid-column:1; }
 .risk-data-note { max-width:48em; }
 .risk-data-section .btn { grid-column:2; grid-row:4; align-self:center; margin-top:20px; }
 .home-main .home-heading { font-size:32px; }
 .scope-rows { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; border-top:0; align-items:stretch; }
 .scope-row { border-top:1px solid var(--line-strong); }
 .scope-row > summary { flex-wrap:wrap; position:relative; padding-top:20px; padding-inline-end:22px; }
 .scope-copy { flex-basis:100%; }
 .scope-row > summary::after { position:absolute; inset-inline-end:4px; top:32px; }
 .scope-row > p { margin-inline:0; }
 .learn-stories { grid-template-columns:1fr 1fr; gap:20px; align-items:stretch; }
 .learn-story { display:flex; flex-direction:column; padding:24px; }
 .learn-story details { margin-top:auto; padding-top:12px; }
 .learn-story-top { grid-template-columns:1fr; gap:18px; }
 .backup-visual, .permission-visual { min-height:150px; }
 .learn-reminder { max-width:48em; }
 .outcome-section { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); }
 .outcome-copy { padding:32px; }
 .home-close { display:flex; flex-direction:column; justify-content:center; padding:32px; border-radius:0 12px 12px 0; }
 .home-close .home-heading { font-size:28px; }
 .home-close .btn { margin-top:6px; }
}

.brand-mark { background: none; }
.brand-mark img { display: block; width: 100%; height: 100%; }
.brand-wordmark { display: block; height: 19px; width: auto; }
.brand-small { gap: 7px; margin-right: auto; }
.brand-small .brand-mark { width: 24px; height: 24px; }
.brand-small .brand-wordmark { height: 13px; }
