@import url('data:text/css,');

:root {
  --ink: #102c35;
  --muted: #60747b;
  --paper: #f5f6f1;
  --white: #ffffff;
  --navy: #071f29;
  --teal: #087f7a;
  --teal-dark: #05615f;
  --mint: #78d4b4;
  --coral: #ed6f62;
  --yellow: #e7b84b;
  --line: #dce5e2;
  --shadow: 0 22px 65px rgba(7, 31, 41, .10);
  /* Keep supporting text readable across the predictor, guide, and footer. */
  --text-xxs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 14px;
  --text-lg: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.topbar { height: 78px; padding: 0 clamp(24px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; background: rgba(245,246,241,.94); border-bottom: 1px solid rgba(16,44,53,.08); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.brand em { color: var(--teal); font-style: normal; }
.brand-mark { width: 36px; height: 36px; display: inline-grid; place-items: center; color: white; background: var(--coral); border-radius: 10px 10px 13px 13px; transform: rotate(-3deg); box-shadow: 0 7px 16px rgba(237,111,98,.25); }
.topbar nav { display: flex; gap: 34px; }
.topbar nav a { text-decoration: none; color: #476069; font-size: 14px; font-weight: 650; }
.topbar nav a:hover { color: var(--teal); }
.offline-pill { border: 1px solid #cfe2dc; border-radius: 999px; background: #eef8f3; color: #376459; padding: 8px 13px; font-size: var(--text-md); font-weight: 700; }
.offline-pill span { width: 7px; height: 7px; border-radius: 50%; background: #36af80; display: inline-block; margin-right: 7px; box-shadow: 0 0 0 4px rgba(54,175,128,.12); }

.hero { min-height: 680px; padding: 80px clamp(24px, 8vw, 126px) 100px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; overflow: hidden; background: radial-gradient(circle at 85% 35%, rgba(120,212,180,.16), transparent 27%), linear-gradient(180deg, #f8f9f5 0%, var(--paper) 100%); }
.hero-copy { max-width: 680px; }
.eyebrow { text-transform: uppercase; color: var(--teal); font-size: var(--text-md); font-weight: 850; letter-spacing: .2em; }
.eyebrow > span { display: inline-block; width: 26px; height: 2px; background: var(--coral); vertical-align: middle; margin: 0 10px 3px 0; }
h1 { margin: 20px 0 24px; max-width: 710px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(54px, 5.6vw, 84px); line-height: .99; letter-spacing: -.045em; font-weight: 500; }
h1 strong, .responsible-copy h2 strong { color: var(--teal); font-weight: 500; }
.hero-lede { max-width: 600px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; gap: 13px; margin: 34px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 22px; border-radius: 8px; text-decoration: none; font-weight: 750; font-size: 14px; }
.button.primary { background: var(--teal); color: white; box-shadow: 0 10px 24px rgba(8,127,122,.2); }
.button.primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.button.ghost { border: 1px solid #ccd9d6; background: rgba(255,255,255,.55); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #687a80; font-size: var(--text-md); font-weight: 700; letter-spacing: .02em; }
.trust-row span::first-letter { color: var(--teal); }

.heart-visual { min-height: 490px; position: relative; display: grid; place-items: center; }
.heart-core { position: relative; z-index: 4; width: 200px; height: 200px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffafa4, var(--coral) 52%, #c94e46 100%); box-shadow: 0 30px 60px rgba(237,111,98,.27), inset 0 2px 8px rgba(255,255,255,.38); }
.heart-core span { color: white; font-size: 112px; line-height: 1; filter: drop-shadow(0 7px 8px rgba(132,33,29,.22)); animation: beat 2s ease-in-out infinite; }
.heart-core b { position: absolute; right: 21px; bottom: 28px; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--navy); color: var(--mint); border: 4px solid #f59a8f; font-size: var(--text-md); letter-spacing: .05em; }
@keyframes beat { 0%, 30%, 100% { transform: scale(1); } 12% { transform: scale(1.06); } 20% { transform: scale(1.01); } }
.orbit { position: absolute; border: 1px solid rgba(8,127,122,.16); border-radius: 50%; }
.orbit-one { width: 350px; height: 350px; animation: spin 18s linear infinite; }
.orbit-two { width: 455px; height: 455px; border-style: dashed; animation: spin 27s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(8,127,122,.08); }
.orbit i:nth-child(1) { left: 12%; top: 19%; }.orbit i:nth-child(2) { right: -4px; top: 48%; }.orbit i:nth-child(3) { left: 36%; bottom: -4px; background: var(--coral); }
.pulse-line { position: absolute; z-index: 6; width: 420px; height: 70px; background: linear-gradient(transparent 49%, rgba(255,255,255,.8) 50%, transparent 52%); opacity: .55; mask: linear-gradient(90deg, transparent, black 15%, black 85%, transparent); }
.data-chip { position: absolute; z-index: 7; padding: 12px 15px; background: rgba(255,255,255,.9); border: 1px solid #dbe6e3; box-shadow: 0 11px 28px rgba(16,44,53,.1); border-radius: 8px; min-width: 125px; }
.data-chip small { display: block; font-size: var(--text-xxs); color: var(--teal); letter-spacing: .16em; font-weight: 900; }
.data-chip strong { display: block; font-size: var(--text-md); margin-top: 3px; }
.chip-one { left: 2%; top: 16%; }.chip-two { right: -2%; top: 29%; }.chip-three { left: 7%; bottom: 13%; }

.predictor-section { background: var(--navy); color: white; padding: 95px clamp(24px, 7vw, 110px) 110px; position: relative; }
.predictor-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 55%); }
.section-heading { position: relative; z-index: 1; max-width: 710px; }
.section-heading h2, .responsible-copy h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.035em; font-size: clamp(38px, 4vw, 58px); line-height: 1.05; margin: 10px 0 15px; }
.section-heading > p:last-child { color: #a9b9bd; font-size: 16px; }
.profile-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; max-width: 800px; margin: 34px 0 24px; position: relative; z-index: 1; }
.profile-button { border: 1px solid rgba(255,255,255,.13); color: white; background: rgba(255,255,255,.06); border-radius: 10px; min-height: 67px; padding: 12px 15px; display: flex; align-items: center; gap: 12px; cursor: pointer; text-align: left; transition: .2s; }
.profile-button:hover, .profile-button.selected { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.profile-button.selected { outline: 2px solid rgba(120,212,180,.5); }
.profile-button > i { width: 11px; height: 11px; border-radius: 50%; background: #48b990; box-shadow: 0 0 0 5px rgba(72,185,144,.12); }
.profile-button.moderate > i { background: var(--yellow); box-shadow: 0 0 0 5px rgba(231,184,75,.12); }
.profile-button.higher > i { background: var(--coral); box-shadow: 0 0 0 5px rgba(237,111,98,.12); }
.profile-button span { flex: 1; }.profile-button b, .profile-button small { display: block; }.profile-button b { font-size: var(--text-lg); }.profile-button small { color: #91a8ad; font-size: var(--text-sm); margin-top: 2px; }.profile-button > strong { font-size: var(--text-lg); color: #9edcc8; }
.workspace-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; max-width: 1240px; gap: 22px; align-items: start; }
.input-card, .result-card { color: var(--ink); background: white; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.25); overflow: hidden; }
.card-heading { min-height: 70px; padding: 17px 23px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.card-heading > div { display: flex; align-items: center; gap: 12px; }.card-heading h3 { margin: 0; font-size: 15px; }.step-number { font-size: var(--text-xs); font-weight: 900; color: var(--teal); letter-spacing: .12em; }
.text-button { border: 0; background: none; color: var(--muted); font-size: var(--text-md); cursor: pointer; text-decoration: underline; }
.card-actions { display: flex !important; align-items: center; gap: 10px !important; }.card-actions a { color: var(--teal); font-size: var(--text-xs); font-weight: 800; text-decoration: none; }.card-actions a:hover { text-decoration: underline; }
.form-section { padding: 17px 23px 5px; }.form-section h4 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .13em; color: #89999e; margin: 0 0 12px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 15px; }
.field > span { display: block; min-height: 20px; font-size: var(--text-md); color: #455f67; font-weight: 700; margin-bottom: 6px; }.field span small { color: #9aa9ad; font-weight: 500; }
.field input, .field select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #d7e1df; background: #fbfcfa; color: var(--ink); border-radius: 7px; outline: none; font-size: var(--text-md); }
.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,127,122,.09); }.field em { display: none; color: #c8443b; font-size: var(--text-xs); font-style: normal; margin-top: 3px; }.field.invalid input, .field.invalid select { border-color: #d9574d; }.field.invalid em { display: block; }
.info { display: inline-grid; place-items: center; width: 15px; height: 15px; padding: 0; margin-left: 3px; border: 1px solid #9db0b4; border-radius: 50%; color: #738a8f; background: white; font-size: var(--text-xs); cursor: pointer; }
.advanced { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 16px; padding: 0 23px; }.advanced summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 15px 0; list-style: none; }.advanced summary::-webkit-details-marker { display: none; }.advanced summary b, .advanced summary small { display: block; }.advanced summary b { font-size: var(--text-md); }.advanced summary small { color: #9aa9ad; font-size: var(--text-xs); font-weight: 500; }.advanced summary i { font-style: normal; transition: .2s; }.advanced[open] summary i { transform: rotate(180deg); }.advanced-grid { padding: 0 0 17px; }
.analyze-button { width: calc(100% - 46px); margin: 19px 23px 9px; height: 52px; border: 0; border-radius: 8px; background: var(--teal); color: white; display: flex; align-items: center; gap: 12px; padding: 0 18px; cursor: pointer; font-weight: 800; box-shadow: 0 10px 22px rgba(8,127,122,.18); }.analyze-button:hover { background: var(--teal-dark); }.analyze-button i { margin-left: auto; font-style: normal; }.button-heart { color: #ff9c90; font-size: 19px; }.privacy-note { text-align: center; color: #94a5a9; font-size: var(--text-xs); margin: 0 0 18px; }
.model-badge, .xai-badge { color: var(--teal); background: #e8f5f1; border: 1px solid #d1e9e1; padding: 5px 8px; border-radius: 4px; font-size: var(--text-xxs); letter-spacing: .12em; font-weight: 900; }
.result-card { min-height: 660px; }.state-panel { min-height: 590px; padding: 30px 34px; }.idle-state, .loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.state-panel[hidden] { display: none; }
.idle-icon { position: relative; width: 130px; height: 130px; display: grid; place-items: center; margin-bottom: 19px; }.idle-icon span { font-size: 70px; color: #d5e1de; animation: beat 2s ease-in-out infinite; }.idle-icon i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #e2eae8; animation: breathe 2.5s ease-out infinite; }.idle-icon i:last-child { animation-delay: 1.2s; }
@keyframes breathe { from { transform: scale(.7); opacity: .8; } to { transform: scale(1.18); opacity: 0; } }
.idle-state h3, .loading-state h3 { font-family: Georgia, serif; font-size: 27px; margin: 5px 0 8px; }.idle-state > p, .loading-state > p:last-child { max-width: 360px; color: var(--muted); font-size: var(--text-md); line-height: 1.7; }.mini-flow { margin-top: 28px; display: flex; gap: 13px; align-items: center; }.mini-flow span { color: #70858b; font-size: var(--text-xxs); letter-spacing: .12em; font-weight: 900; padding: 7px 9px; background: #f2f6f4; border-radius: 4px; }.mini-flow i { color: #b0bfbc; font-style: normal; }
.scanner { width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; position: relative; background: #eef7f4; overflow: hidden; }.scanner span { color: var(--coral); font-size: 72px; animation: beat 1.5s infinite; }.scanner i { position: absolute; left: 0; right: 0; height: 2px; background: var(--teal); box-shadow: 0 0 10px var(--mint); animation: scan 1.6s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 20%; } 50% { top: 80%; } }
.loading-bar { width: 270px; height: 5px; background: #e6eeec; border-radius: 99px; margin: 16px 0; overflow: hidden; }.loading-bar i { display: block; height: 100%; background: linear-gradient(90deg,var(--mint),var(--teal)); animation: load 1.1s ease-in-out infinite; }
@keyframes load { from { width: 0; } to { width: 100%; } }
.result-state { text-align: center; }.result-eyebrow { margin: 0 0 8px; }.score-ring { --score: 0deg; --ring: var(--yellow); width: 154px; height: 154px; margin: 10px auto 14px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring) var(--score), #e9eeec 0); position: relative; }.score-ring::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: white; }.score-ring.lower { --ring: #42ae82; }.score-ring.moderate { --ring: var(--yellow); }.score-ring.higher { --ring: var(--coral); }.score-ring > div { position: relative; z-index: 1; line-height: 1; }.score-ring strong { font-family: Georgia, serif; font-size: 46px; font-weight: 500; }.score-ring span { color: var(--muted); font-size: 17px; }.score-ring small { display: block; color: #88999e; font-size: var(--text-xxs); text-transform: uppercase; letter-spacing: .12em; margin-top: 7px; }.result-state > h3 { margin: 0; font-size: 22px; font-family: Georgia, serif; }.result-state > p { color: var(--muted); font-size: var(--text-sm); max-width: 400px; margin: 7px auto 15px; }
.risk-scale { margin: 10px auto 20px; max-width: 380px; }.scale-track { height: 7px; border-radius: 9px; background: linear-gradient(90deg, #45af85 0 33%, #e8bb4e 33% 66%, #ed7063 66%); position: relative; }.scale-track i { position: absolute; top: 50%; width: 14px; height: 14px; border: 3px solid white; border-radius: 50%; background: var(--navy); box-shadow: 0 1px 5px #668; transform: translate(-50%,-50%); }.scale-labels { display: flex; justify-content: space-between; color: #8b9da1; font-size: var(--text-xxs); text-transform: uppercase; letter-spacing: .08em; margin-top: 7px; }
.explanation-block { text-align: left; background: #f4f7f5; border: 1px solid #e1e9e7; border-radius: 9px; padding: 15px; }.explanation-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dee7e4; padding-bottom: 10px; margin-bottom: 8px; }.explanation-heading b, .explanation-heading small { display: block; }.explanation-heading b { font-size: var(--text-md); }.explanation-heading small { color: #8ca0a4; font-size: var(--text-xxs); }.factor { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 12px; padding: 7px 0; }.factor-copy b, .factor-copy small { display: block; }.factor-copy b { font-size: var(--text-xs); }.factor-copy small { color: #82959a; font-size: var(--text-xxs); margin-top: 2px; }.factor-meter { height: 5px; background: #dfe8e5; border-radius: 9px; overflow: hidden; }.factor-meter i { display: block; height: 100%; border-radius: 9px; }.factor-meter .up { background: var(--coral); margin-left: auto; }.factor-meter .down { background: #42ae82; }.result-disclaimer { background: #fff4e2; border-left: 3px solid var(--yellow); padding: 9px 10px; text-align: left; border-radius: 4px; color: #715f39 !important; }

.how-section { padding: 105px clamp(24px, 7vw, 110px); background: #f9faf7; }.centered { margin: auto; text-align: center; }.centered .eyebrow > span { display: none; }.how-section .section-heading > p:last-child { color: var(--muted); }.learning-flow { max-width: 1210px; margin: 55px auto 42px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }.learning-flow article { min-height: 215px; background: white; border: 1px solid var(--line); border-radius: 11px; padding: 25px; box-shadow: 0 12px 36px rgba(7,31,41,.05); }.flow-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: #e9f4f0; font-size: 21px; }.learning-flow small { display: block; color: var(--coral); font-size: var(--text-xxs); letter-spacing: .14em; font-weight: 900; margin-top: 22px; }.learning-flow h3 { font-family: Georgia, serif; font-size: 20px; margin: 6px 0; }.learning-flow p { color: var(--muted); font-size: var(--text-md); line-height: 1.65; }.flow-arrow { color: #9fb2ae; font-style: normal; }
.model-stats { max-width: 1210px; margin: auto; display: grid; grid-template-columns: repeat(4,1fr); background: var(--navy); border-radius: 11px; overflow: hidden; }.model-stats div { padding: 21px 24px; border-right: 1px solid rgba(255,255,255,.1); }.model-stats div:last-child { border-right: 0; }.model-stats span, .model-stats b, .model-stats small { display: block; }.model-stats span { color: var(--mint); font-size: var(--text-xxs); letter-spacing: .14em; font-weight: 900; }.model-stats b { color: white; font-size: 18px; margin: 5px 0 3px; }.model-stats small { color: #86a0a6; font-size: var(--text-xs); }
.guide-callout { max-width: 1210px; margin: 24px auto 0; padding: 25px 28px; border: 1px solid #cfe3dc; background: #eef8f4; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }.guide-callout span:first-child { color: var(--teal); font-size: var(--text-xxs); font-weight: 900; letter-spacing: .14em; }.guide-callout h3 { font-family: Georgia, serif; font-size: 22px; margin: 5px 0; }.guide-callout p { color: var(--muted); font-size: var(--text-sm); margin: 0; }.guide-callout .button { flex: 0 0 auto; }

.responsible-section { padding: 100px clamp(24px, 8vw, 126px); display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; background: #eef1eb; }.responsible-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }.principles { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }.principles span { padding: 7px 10px; border: 1px solid #cbd9d5; border-radius: 4px; background: rgba(255,255,255,.5); color: #47645f; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }.limitation-card { display: flex; gap: 20px; padding: 30px; border: 1px solid #ead8ba; border-radius: 12px; background: #fffaf0; box-shadow: var(--shadow); }.warning-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #8d6821; background: #f6e7bd; font-weight: 900; }.limitation-card h3 { font-family: Georgia, serif; font-size: 23px; margin: 3px 0 12px; }.limitation-card ul { margin: 0; padding-left: 17px; color: #6e6655; font-size: var(--text-md); }.limitation-card li { margin: 7px 0; }
footer { padding: 38px clamp(24px, 6vw, 96px); background: var(--navy); color: white; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 25px; }.footer-brand { display: flex; align-items: center; gap: 12px; }.footer-brand b, .footer-brand small { display: block; }.footer-brand b { font-size: var(--text-md); }.footer-brand small, footer p { color: #88a1a6; font-size: var(--text-xs); }.footer p { text-align: center; }.footer p b { color: #f4d995; }.footer .source { text-align: right; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); color: white; background: var(--navy); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 14px 40px rgba(0,0,0,.25); padding: 12px 17px; border-radius: 7px; max-width: min(90vw, 540px); font-size: var(--text-md); }

/* Science guide */
.guide-page { background: #f7f8f4; }
.guide-page code { font-family: "SFMono-Regular", Consolas, monospace; }
.print-button { padding: 8px 12px; border: 1px solid #cbd9d5; border-radius: 6px; background: white; color: var(--ink); cursor: pointer; font-size: var(--text-md); font-weight: 750; }
.print-button:hover { border-color: var(--teal); color: var(--teal); }
.guide-hero { min-height: 570px; padding: 90px clamp(24px, 8vw, 126px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; background: radial-gradient(circle at 83% 35%, rgba(120,212,180,.17), transparent 29%), #f6f8f3; }
.guide-hero h1 { font-size: clamp(48px, 5.2vw, 75px); }
.guide-hero > div > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.guide-rule-card { position: relative; padding: 38px; border: 1px solid #cfe0db; border-radius: 15px; background: rgba(255,255,255,.78); box-shadow: var(--shadow); }
.guide-rule-card::before { content: '“'; position: absolute; right: 24px; top: -30px; color: rgba(8,127,122,.12); font-family: Georgia, serif; font-size: 130px; }
.guide-rule-card > span { color: var(--coral); font-size: var(--text-xxs); letter-spacing: .16em; font-weight: 900; }
.guide-rule-card blockquote { position: relative; margin: 16px 0 0; font-family: Georgia, serif; font-size: 25px; line-height: 1.5; }
.section-shell { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.quick-foundations, .dataset-section, .evaluation-section, .questions-section, .sources-section { padding-block: 100px; }
.guide-section-heading { max-width: 790px; }.guide-section-heading h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; font-size: clamp(37px, 4vw, 56px); line-height: 1.07; margin: 10px 0 15px; }.guide-section-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.foundation-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin: 42px 0 28px; }.foundation-grid article { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: white; }.foundation-grid article > b { color: var(--coral); font-size: var(--text-xs); letter-spacing: .12em; }.foundation-grid h3 { margin: 24px 0 7px; font-family: Georgia, serif; font-size: 22px; }.foundation-grid p { margin: 0; color: var(--muted); font-size: var(--text-md); line-height: 1.7; }
.science-flow { padding: 17px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 9px; background: var(--navy); color: white; }.science-flow span { font-size: var(--text-sm); font-weight: 750; }.science-flow span i { width: 22px; height: 22px; margin-right: 7px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-size: var(--text-xxs); font-style: normal; }.science-flow > b { color: #64868c; }
.terms-section, .ai-section, .demo-section { padding-block: 100px; background: var(--navy); color: white; }.light-heading > p:last-child { color: #9cb1b5; }
.measurement-groups { margin-top: 45px; display: grid; gap: 30px; }.measurement-group { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.035); }.group-title { padding: 16px 22px; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.035); }.group-title span { color: var(--mint); font-size: var(--text-xs); font-weight: 900; letter-spacing: .14em; }.group-title p { margin: 0; color: #7f9ca1; font-size: var(--text-sm); }
.term-card { margin: 13px; border: 1px solid #dce5e2; border-radius: 9px; background: white; color: var(--ink); overflow: hidden; }.term-card + .term-card { margin-top: -5px; }.term-card summary { min-height: 64px; padding: 13px 17px; display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; }.term-card summary::-webkit-details-marker { display: none; }.term-card summary::after { content: '+'; color: #8ca09f; font-weight: 500; }.term-card[open] summary::after { content: '−'; }.term-card summary > span:nth-child(2) { flex: 1; }.term-card summary b, .term-card summary small { display: block; }.term-card summary b { font-size: var(--text-lg); }.term-card summary small { margin-top: 2px; color: #8ba09f; font-size: var(--text-xs); }.term-card summary small code { color: var(--teal); }.term-card summary strong { padding: 5px 8px; border-radius: 5px; background: #edf6f2; color: var(--teal); font-size: var(--text-xs); }.term-number { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 7px; background: #edf4f1; color: var(--teal); font-size: var(--text-xs); font-weight: 900; }.term-body { padding: 2px 64px 18px; border-top: 1px solid #e5ecea; }.term-body p { margin: 12px 0 0; color: #526a71; font-size: var(--text-md); line-height: 1.7; }.term-body b { color: var(--ink); }.term-body dfn { color: var(--teal-dark); font-style: normal; font-weight: 750; }.term-body code { padding: 1px 4px; border-radius: 3px; background: #eef3f1; color: #1f625e; font-size: var(--text-sm); }
.code-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; margin-top: 12px; }.code-grid span { padding: 9px 10px; border: 1px solid #dce6e3; border-radius: 6px; background: #f7f9f7; color: #4d666d; font-size: var(--text-sm); }.code-grid code { margin-right: 5px; background: var(--teal); color: white; }
.test-explainer { padding: 14px 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #a8bcbf; font-size: var(--text-xs); }.test-explainer b { color: white; }.test-explainer span { padding: 6px 8px; border-radius: 4px; background: rgba(255,255,255,.08); }.test-explainer i { color: var(--mint); font-style: normal; }.target-group { border-color: rgba(231,184,75,.35); }.target-group .group-title span { color: #f1cf7b; }
.dataset-section { background: #f7f8f4; }.raw-row { margin: 37px 0 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 21px 24px; border-radius: 9px; background: var(--navy); color: white; }.raw-row div span { display: block; margin-bottom: 9px; color: var(--mint); font-size: var(--text-xxs); letter-spacing: .14em; font-weight: 900; }.raw-row div > code { font-size: var(--text-lg); word-spacing: 6px; color: #f4db9e; }.raw-row p { max-width: 260px; margin: 0; color: #89a3a8; font-size: var(--text-xs); line-height: 1.6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: white; }.dataset-table { width: 100%; border-collapse: collapse; font-size: var(--text-md); }.dataset-table th { padding: 12px 14px; background: #eef3f0; color: #577078; text-align: left; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; }.dataset-table td { padding: 10px 14px; border-top: 1px solid #e7ecea; }.dataset-table tr:hover { background: #fafcfb; }.dataset-table code { color: var(--teal-dark); font-weight: 750; }.dataset-table .target-row { background: #fff7e9; font-weight: 700; }
.dataset-lessons { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-top: 18px; }.dataset-lessons article { padding: 17px; border-left: 3px solid var(--teal); background: white; box-shadow: 0 7px 20px rgba(7,31,41,.04); }.dataset-lessons b { color: var(--teal); font-family: Georgia, serif; font-size: 17px; }.dataset-lessons p { margin: 4px 0 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.6; }
.math-steps { margin-top: 45px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.math-steps article { min-height: 190px; padding: 24px; display: flex; gap: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.055); }.math-steps article > span { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-size: var(--text-xs); font-weight: 900; }.math-steps h3 { margin: 2px 0 7px; font-family: Georgia, serif; font-size: 21px; }.math-steps p { color: #a2b6ba; font-size: var(--text-sm); line-height: 1.7; }.math-steps p b { color: white; }.math-steps code { display: inline-block; margin-top: 9px; padding: 8px 10px; border-radius: 5px; background: rgba(0,0,0,.22); color: #a6e2cf; font-size: var(--text-xs); }.thresholds { display: flex; margin-top: 13px; }.thresholds i { flex: 1; padding: 8px 5px; text-align: center; font-size: var(--text-xxs); font-style: normal; color: #08242c; }.thresholds .low { background: #57bd92; border-radius: 5px 0 0 5px; }.thresholds .mid { background: #e6bb54; }.thresholds .high { background: #e8796d; border-radius: 0 5px 5px 0; }
.term-dictionary { margin-top: 22px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; }.term-dictionary article { min-height: 145px; padding: 18px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }.term-dictionary article:nth-child(4n) { border-right: 0; }.term-dictionary h3 { margin: 0 0 6px; color: var(--mint); font-size: var(--text-md); }.term-dictionary p { margin: 0; color: #96adb1; font-size: var(--text-xs); line-height: 1.65; }.term-dictionary p b { color: white; }
.score-warning { margin-top: 22px; padding: 22px; display: flex; gap: 15px; border: 1px solid rgba(231,184,75,.35); border-radius: 9px; background: rgba(231,184,75,.08); }.score-warning > span { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 900; }.score-warning h3 { margin: 1px 0 5px; font-family: Georgia, serif; font-size: 19px; }.score-warning p { margin: 0; color: #b5c3c5; font-size: var(--text-sm); line-height: 1.7; }.score-warning p b { color: #f5dc9f; }
.fold-diagram { margin: 40px 0 22px; display: grid; gap: 7px; }.fold-diagram > div { display: grid; grid-template-columns: 75px repeat(5,1fr); gap: 6px; align-items: center; }.fold-diagram span { color: var(--muted); font-size: var(--text-xxs); letter-spacing: .08em; font-weight: 850; }.fold-diagram i { padding: 9px; border-radius: 4px; background: #dce9e5; color: #57736f; text-align: center; font-size: var(--text-xxs); font-style: normal; font-weight: 850; }.fold-diagram i.test { background: var(--coral); color: white; }.evaluation-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.evaluation-notes p { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); font-size: var(--text-sm); line-height: 1.7; }.evaluation-notes b { color: var(--ink); }
.demo-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: start; }.demo-steps { margin: 35px 0 0; padding: 0; list-style: none; }.demo-steps li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); }.demo-steps li > span { color: var(--mint); font-size: var(--text-xxs); font-weight: 900; }.demo-steps p { margin: 0; color: #9eb2b6; font-size: var(--text-sm); line-height: 1.65; }.demo-steps p b { color: white; }.say-dont-say { padding: 26px; border-radius: 12px; background: white; color: var(--ink); }.say-dont-say h3 { margin: 0 0 19px; font-family: Georgia, serif; font-size: 25px; }.say-dont-say > div { padding: 13px; border-radius: 7px; background: #eef7f3; }.say-dont-say > div + div { margin-top: 8px; }.say-dont-say div span { color: #258563; font-size: var(--text-xxs); letter-spacing: .1em; font-weight: 900; }.say-dont-say div p { margin: 3px 0 0; color: #476269; font-size: var(--text-sm); }.say-dont-say .dont { background: #fff0ee; }.say-dont-say .dont span { color: #c6544b; }
.qa-grid { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.qa-grid details { padding: 17px 19px; border: 1px solid var(--line); border-radius: 8px; background: white; }.qa-grid summary { cursor: pointer; color: var(--ink); font-size: var(--text-md); font-weight: 750; }.qa-grid p { margin: 11px 0 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.7; }
.sources-section { border-top: 1px solid var(--line); }.sources-section ul { margin-top: 32px; padding: 0; list-style: none; columns: 2; column-gap: 45px; }.sources-section li { break-inside: avoid; margin: 0 0 13px; color: var(--muted); font-size: var(--text-sm); line-height: 1.65; }.sources-section a { color: var(--teal-dark); font-weight: 750; }.source-note { margin-top: 24px; padding: 13px; border-left: 3px solid var(--teal); background: #edf5f2; color: var(--muted); font-size: var(--text-sm); }

/* Password-protected exhibition preparation */
.protected-callout { margin-block: 70px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid #cfe3dc; border-radius: 12px; background: #eef8f4; }
.protected-callout h2 { margin: 7px 0; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }.protected-callout p { margin-bottom: 0; color: var(--muted); }.protected-callout .button { flex: 0 0 auto; }
.access-back { text-decoration: none; }.access-page { min-height: 100vh; background: radial-gradient(circle at 50% 35%, rgba(120,212,180,.18), transparent 34%), var(--navy); }.access-shell { min-height: calc(100vh - 78px); padding: 55px 20px; display: grid; place-items: center; }.access-card { width: min(100%, 510px); padding: 43px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: white; box-shadow: 0 28px 80px rgba(0,0,0,.3); }.access-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #e8f5f1; color: var(--teal); font-size: 26px; }.access-card .eyebrow { margin: 24px 0 7px; }.access-card h1 { margin: 0; font-size: 46px; }.access-card > p:not(.eyebrow) { color: var(--muted); font-size: var(--text-md); }.access-form { display: grid; gap: 9px; margin-top: 25px; }.access-form label { font-size: var(--text-md); font-weight: 750; }.access-form input { width: 100%; height: 49px; padding: 0 13px; border: 1px solid #ccd9d6; border-radius: 7px; outline: none; font-size: 16px; }.access-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,127,122,.1); }.access-form .button { margin-top: 7px; border: 0; cursor: pointer; }.access-error { margin: 2px 0; color: #bd3f37; font-size: var(--text-sm); }.access-card > small { display: block; margin-top: 18px; color: #7a8e93; font-size: var(--text-xs); }.exhibition-hero { padding: 85px 0; background: radial-gradient(circle at 80% 45%, rgba(120,212,180,.17), transparent 28%), #f6f8f3; }.exhibition-hero h1 { margin: 15px 0; }.exhibition-hero p:last-child { max-width: 720px; color: var(--muted); font-size: 17px; }.exhibition-page .questions-section { padding-block: 100px; }

@media (max-width: 980px) {
  .topbar nav { display: none; }.hero { grid-template-columns: 1fr; padding-top: 60px; }.heart-visual { min-height: 440px; }.workspace-grid { grid-template-columns: 1fr; }.result-card { min-height: 600px; }.learning-flow { grid-template-columns: 1fr 1fr; }.flow-arrow { display: none; }.model-stats { grid-template-columns: 1fr 1fr; }.responsible-section { grid-template-columns: 1fr; gap: 42px; }
}
@media (max-width: 640px) {
  .topbar { height: 65px; padding: 0 16px; }.offline-pill { display: none; }.hero { padding: 48px 20px 70px; }.hero h1 { font-size: 48px; }.hero-lede { font-size: 15px; }.hero-actions { flex-direction: column; align-items: stretch; }.heart-visual { min-height: 365px; transform: scale(.8); margin: -40px; }.predictor-section, .how-section, .responsible-section { padding: 70px 17px; }.profile-picker { grid-template-columns: 1fr; }.field-grid { grid-template-columns: 1fr; }.input-card, .result-card { border-radius: 10px; }.state-panel { padding: 26px 18px; }.learning-flow, .model-stats { grid-template-columns: 1fr; }.learning-flow article { min-height: 0; }.model-stats div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); } footer { grid-template-columns: 1fr; text-align: center; } footer .footer-brand { justify-content: center; } footer .source { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

@media (max-width: 980px) {
  .guide-hero { grid-template-columns: 1fr; gap: 35px; }
  .foundation-grid { grid-template-columns: 1fr 1fr; }
  .term-dictionary { grid-template-columns: 1fr 1fr; }
  .term-dictionary article:nth-child(2n) { border-right: 0; }
  .demo-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 640px) {
  .guide-callout { flex-direction: column; align-items: stretch; }
  .guide-hero { padding: 55px 20px; }
  .guide-hero h1 { font-size: 44px; }
  .print-button { font-size: var(--text-xs); }
  .section-shell { width: min(100% - 32px, 1220px); }
  .quick-foundations, .dataset-section, .evaluation-section, .questions-section, .sources-section, .terms-section, .ai-section, .demo-section { padding-block: 70px; }
  .foundation-grid, .math-steps, .dataset-lessons, .evaluation-notes, .qa-grid { grid-template-columns: 1fr; }
  .science-flow { align-items: stretch; flex-direction: column; }
  .science-flow > b { transform: rotate(90deg); align-self: center; }
  .term-body { padding: 2px 18px 18px; }
  .term-card summary { gap: 9px; }
  .term-card summary strong { display: none; }
  .code-grid { grid-template-columns: 1fr; }
  .test-explainer { display: grid; }
  .raw-row { grid-template-columns: 1fr; }
  .raw-row div > code { font-size: var(--text-sm); word-spacing: 1px; }
  .term-dictionary { grid-template-columns: 1fr; }
  .term-dictionary article { border-right: 0; }
  .fold-diagram > div { grid-template-columns: 55px repeat(5,1fr); gap: 3px; }
  .fold-diagram i { padding: 7px 2px; font-size: var(--text-xxs); }
  .sources-section ul { columns: 1; }
  .protected-callout { margin-block: 45px; padding: 24px; align-items: stretch; flex-direction: column; }.access-shell { min-height: calc(100vh - 65px); }.access-card { padding: 29px 23px; }.access-card h1 { font-size: 38px; }.exhibition-hero { padding: 60px 0; }
}

@media print {
  .topbar, .guide-hero .hero-actions, footer { display: none !important; }
  body, .guide-page, .terms-section, .ai-section, .demo-section { background: white !important; color: #111 !important; }
  .guide-hero, .quick-foundations, .dataset-section, .evaluation-section, .questions-section, .sources-section, .terms-section, .ai-section, .demo-section { min-height: 0; padding: 28px 0 !important; }
  .section-shell, .guide-hero { width: 100%; padding-inline: 0 !important; }
  .guide-hero { display: block; }
  .guide-hero h1 { font-size: 42px; }
  .guide-rule-card { box-shadow: none; margin-top: 25px; }
  .light-heading > p:last-child, .math-steps p, .demo-steps p, .score-warning p, .group-title p { color: #444 !important; }
  .measurement-group, .math-steps article, .term-dictionary, .term-dictionary article, .score-warning { border-color: #bbb !important; background: white !important; color: #111 !important; }
  .group-title { background: #eee !important; border-color: #bbb !important; }
  .group-title span, .term-dictionary h3 { color: #075e5a !important; }
  .measurement-groups details { break-inside: avoid; }
  .term-card:not([open]) > .term-body { display: block; }
  .term-card summary::after { display: none; }
  .math-steps, .term-dictionary, .foundation-grid { grid-template-columns: 1fr 1fr; }
  .math-steps code { background: #eee; color: #075e5a; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .say-dont-say { border: 1px solid #bbb; }
  .demo-steps p b { color: #111; }
  a { text-decoration: none; }
  .sources-section a::after { content: ' (' attr(href) ')'; font-weight: 400; }
}
