/* Molecule LUMO Calculation, Orbital design system v1.0 */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/sora-latin.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/jetbrainsmono-latin.woff2) format("woff2"); }

:root {
  --color-navy-900: #0A1A3A;
  --color-navy-800: #0F2A66;
  --color-slate-700: #24365E;
  --color-slate-650: #2B3C62;
  --color-slate-600: #33446A;
  --color-slate-500: #4A5878;
  --color-slate-400: #7D8BA8;
  --color-border-strong: #C5D2EA;
  --color-border: #DCE4F2;
  --color-border-hover: #9DB4DE;
  --color-divider: #E3EAF6;
  --color-divider-soft: #E9EEF7;
  --color-surface: #FFFFFF;
  --color-surface-tint: #F5F8FE;
  --color-surface-hero: #F3F7FF;
  --color-surface-muted: #F0F4FB;
  --color-surface-preview: #F8FAFE;
  --color-blue-700: #0F45C7;
  --color-blue-600: #1557F0;
  --color-blue-400: #6F9BFF;
  --color-blue-200: #BCD2FF;
  --color-blue-100: #D3E1FF;
  --color-blue-50: #EEF4FF;
  --color-amber-400: #F2A93B;
  --color-amber-600: #D98A12;
  --color-amber-700: #9A5B00;
  --color-success-600: #0F7A4F; --color-success-50: #E8F6EF; --color-success-border: #B9E2CD; --color-success-text: #0B5A3A;
  --color-warning-800: #6B3F00; --color-warning-50: #FFF6E5; --color-warning-border: #F4D9A6;
  --color-error-600: #C2261D; --color-error-text: #A8211A; --color-error-50: #FDECEA; --color-error-border: #F4C3BE; --color-error-strong: #7E1A14;
  --color-footer-bg: #0A1A3A;
  --color-footer-text: #C3CEE6;
  --color-footer-link: #DCE5F7;
  --color-footer-rule: #22355E;
  --color-footer-muted: #AEBBD8;
  --color-disabled-bg: #C9D5EC;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius-sm: 8px; --radius-md: 10px; --radius-lg: 12px; --radius-xl: 16px; --radius-2xl: 20px; --radius-3xl: 24px; --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(10,26,58,.04), 0 10px 30px rgba(10,26,58,.06);
  --shadow-card-hover: 0 1px 2px rgba(10,26,58,.04), 0 14px 34px rgba(21,87,240,.12);
  --shadow-calculator: 0 2px 4px rgba(10,26,58,.04), 0 24px 60px rgba(21,87,240,.14);
  --shadow-menu: 0 18px 40px rgba(10,26,58,.14);
  --container: 1200px;
  --gutter: 32px;
  --gutter-sm: 20px;
  --header-height: 76px;
  --header-height-sm: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-text); font-size: 16px; line-height: 1.6; color: var(--color-navy-900); background: var(--color-surface); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-navy-900); letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
img, svg { max-width: 100%; }
a { color: var(--color-blue-600); }
a:hover { color: var(--color-blue-700); }
:focus-visible { outline: 3px solid var(--color-blue-400); outline-offset: 2px; }
button, input, select, textarea { font: inherit; }
sub, sup { line-height: 0; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--color-slate-500); }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.skip { position: absolute; left: 16px; top: -80px; background: var(--color-navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-md); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; text-align: center; }
.btn-p { background: var(--color-blue-600); color: #fff; }
.btn-p:hover { background: var(--color-blue-700); color: #fff; }
.btn-s { background: #fff; color: var(--color-blue-600); border-color: var(--color-blue-200); }
.btn-s:hover { background: var(--color-blue-50); color: var(--color-blue-700); }
.btn-lg { min-height: 56px; font-size: 17px; width: 100%; }
.btn-sm { min-height: 44px; font-size: 14px; padding: 0 16px; }
.btn-w { background: #fff; color: var(--color-navy-800); min-height: 56px; padding: 0 28px; }
.btn-w:hover { background: var(--color-blue-50); color: var(--color-navy-800); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--color-disabled-bg); color: var(--color-slate-500); border-color: transparent; cursor: not-allowed; }
.btn .spin { width: 18px; height: 18px; border-radius: 99px; border: 2.5px solid currentColor; border-right-color: transparent; animation: mlc-spin .8s linear infinite; }
@keyframes mlc-spin { to { transform: rotate(360deg); } }

/* ---------- Generic UI ---------- */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.card-flat { box-shadow: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-blue-600); }
.eyebrow-sm { font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--color-blue-50); border: 1px solid var(--color-blue-100); color: var(--color-blue-700); font-size: 13px; font-weight: 600; align-self: flex-start; }
.lead { font-size: 19px; line-height: 1.7; color: var(--color-slate-600); }
.hint { font-size: 13px; color: var(--color-slate-500); line-height: 1.5; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--color-blue-50); color: var(--color-blue-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-tile-sm { width: 44px; height: 44px; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--color-slate-500); padding: 12px 14px; border-radius: var(--radius-md); background: var(--color-surface-tint); border: 1px solid var(--color-divider); }
.note svg { flex-shrink: 0; margin-top: 1px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-lg); font-size: 14px; line-height: 1.55; }
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert-info { background: var(--color-surface-tint); border: 1px solid var(--color-divider); color: var(--color-slate-700); }
.alert-ok { background: var(--color-success-50); border: 1px solid var(--color-success-border); color: var(--color-success-text); }
.alert-warn { background: var(--color-warning-50); border: 1px solid var(--color-warning-border); color: var(--color-warning-800); }
.alert-err { background: var(--color-error-50); border: 1px solid var(--color-error-border); color: var(--color-error-strong); }
.alert a { color: inherit; font-weight: 600; }
.tbl-box { overflow-x: auto; margin: 8px 0 16px; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.tbl th { background: var(--color-surface-muted); text-align: left; padding: 12px 16px; font-weight: 600; color: var(--color-navy-900); border-bottom: 1px solid var(--color-border); vertical-align: top; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--color-divider-soft); color: var(--color-slate-650); vertical-align: top; line-height: 1.6; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl-wide { min-width: 560px; }

/* ---------- Header ---------- */
.hdr { background: #fff; border-bottom: 1px solid var(--color-divider); position: relative; z-index: 40; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-navy-900); font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand b { color: var(--color-blue-600); font-weight: 700; }
.brand:hover { color: var(--color-navy-900); }
.brand svg { flex-shrink: 0; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav > a, .nav-guides > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm); color: var(--color-slate-700); text-decoration: none; font-size: 15px; font-weight: 500; background: transparent; border: 0; cursor: pointer; }
.nav > a:hover, .nav-guides > button:hover { background: var(--color-blue-50); color: var(--color-blue-700); }
.nav > a.on, .nav-guides > button.on { color: var(--color-blue-600); background: var(--color-blue-50); font-weight: 600; }
.nav-guides { position: relative; }
.nav-guides > button svg { transition: transform .15s; }
.nav-guides > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.guides-menu { position: absolute; top: calc(100% + 8px); left: 0; width: 320px; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; box-shadow: var(--shadow-menu); padding: 8px; z-index: 50; }
.guides-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--color-slate-700); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.4; }
.guides-menu a:hover, .guides-menu a:focus-visible { background: var(--color-blue-50); color: var(--color-blue-700); }
.guides-menu a[aria-current="page"] { color: var(--color-blue-600); font-weight: 600; }
.guides-menu hr { border: 0; border-top: 1px solid var(--color-divider); margin: 6px 0; }
.guides-menu .all { color: var(--color-blue-600); font-weight: 600; }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-md); color: var(--color-navy-900); cursor: pointer; font-weight: 600; font-size: 15px; }
.menu-btn .lbl-tab { display: none; }

/* Mobile menu */
.mmenu { position: fixed; inset: 0; background: #fff; z-index: 200; display: flex; flex-direction: column; }
.mmenu-top { height: var(--header-height-sm); display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; border-bottom: 1px solid var(--color-divider); flex-shrink: 0; }
.mmenu-top .brand { font-size: 16px; gap: 10px; }
.mmenu-close { width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--color-navy-900); background: #fff; cursor: pointer; }
.mmenu nav { flex: 1; overflow: auto; padding-top: 8px; }
.mi { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 20px; text-decoration: none; color: var(--color-navy-900); font-size: 17px; font-weight: 600; border: 0; border-bottom: 1px solid #EEF2F9; background: #fff; cursor: pointer; text-align: left; }
.mi[aria-current="page"] { color: var(--color-blue-600); }
.mi .cur { width: 8px; height: 8px; border-radius: 9px; background: var(--color-blue-600); }
.mgroup { border-bottom: 1px solid #EEF2F9; }
.mgroup > .mi { border-bottom: 0; }
.mgroup > .mi[aria-expanded="true"] { background: var(--color-surface-tint); }
.mgroup > .mi svg { transition: transform .15s; }
.mgroup > .mi[aria-expanded="true"] svg { transform: rotate(180deg); }
.msub { padding-bottom: 8px; }
.msub a { display: flex; align-items: center; min-height: 48px; padding: 0 20px 0 36px; text-decoration: none; color: var(--color-slate-700); font-size: 15px; font-weight: 500; }
.msub a.all { color: var(--color-blue-600); font-weight: 600; }
.msub a[aria-current="page"] { color: var(--color-blue-600); font-weight: 600; }
.mmenu-foot { padding: 16px 20px 28px; border-top: 1px solid var(--color-divider); flex-shrink: 0; }
.mmenu-foot .btn { width: 100%; min-height: 52px; }
body.menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.ft { background: var(--color-footer-bg); color: var(--color-footer-text); padding: 72px 0 32px; margin-top: 96px; }
.ft-grid { display: grid; grid-template-columns: minmax(0,1.6fr) repeat(4, minmax(0,1fr)); gap: 40px; }
.ft-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.ft .brand, .ft .brand:hover { color: #fff; }
.ft-brand p { font-size: 15px; line-height: 1.7; }
.ft h2 { font-family: var(--font-text); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ft a { color: var(--color-footer-link); text-decoration: none; font-size: 15px; display: inline-flex; min-height: 32px; align-items: center; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft-bot { border-top: 1px solid var(--color-footer-rule); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--color-footer-muted); }

/* ---------- Homepage ---------- */
.sec { padding: 96px 0; }
.sec-alt { background: var(--color-surface-tint); border-top: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); }
.h2 { font-size: 38px; line-height: 1.2; font-weight: 700; }
.h3 { font-size: 20px; line-height: 1.35; font-weight: 600; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.hero { background: linear-gradient(180deg, var(--color-surface-hero) 0%, #fff 100%); padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero-deco { position: absolute; right: -120px; top: -60px; opacity: .5; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,540px); gap: 56px; align-items: start; position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; }
.h1 { font-size: 60px; line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; }
.h1 span { color: var(--color-blue-600); display: block; }
.lead-short { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: var(--color-slate-700); font-weight: 500; list-style: none; margin: 0; padding: 0; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.orbital-card { margin: 8px 0 0; padding: 24px; display: grid; grid-template-columns: minmax(0,1fr) 170px; gap: 20px; align-items: center; max-width: 580px; }
.orbital-card figcaption { display: flex; flex-direction: column; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 56px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.intro-sticky { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.body-lg { font-size: 17px; line-height: 1.75; color: var(--color-slate-500); }
.topic { padding: 20px 0; border-top: 1px solid var(--color-divider); display: flex; gap: 16px; }
.topic:last-child { border-bottom: 1px solid var(--color-divider); }
.topic p { margin-top: 6px; color: var(--color-slate-500); }
.fcard { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.fcard p { font-size: 15px; color: var(--color-slate-500); }
.steps3 { list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.step-top { display: flex; align-items: center; gap: 14px; }
.step-n { width: 44px; height: 44px; border-radius: 999px; background: var(--color-blue-600); color: #fff; font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.step-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--color-blue-200) 0 6px, transparent 6px 12px); }
.step p { color: var(--color-slate-500); }
.gcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; text-decoration: none; color: var(--color-navy-900); transition: border-color .15s, box-shadow .15s; }
.gcard:hover { border-color: var(--color-border-hover); color: var(--color-navy-900); box-shadow: var(--shadow-card-hover); }
.gcard p { font-size: 15px; color: var(--color-slate-500); line-height: 1.6; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--color-blue-600); font-weight: 600; font-size: 14px; }
.glinks { display: none; }
.glink { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 12px 0; border-top: 1px solid var(--color-divider); text-decoration: none; color: var(--color-navy-900); font-weight: 600; }
.glink:last-child { border-bottom: 1px solid var(--color-divider); }
.glink svg { color: var(--color-blue-600); flex-shrink: 0; }
.indepth { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 64px; align-items: start; }
.toc-plain { position: sticky; top: 24px; padding: 20px; border-radius: 14px; background: var(--color-surface-tint); border: 1px solid var(--color-divider); }
.indepth .toc-plain { background: #fff; }
.toc-plain a { display: block; padding: 7px 0; color: var(--color-slate-700); text-decoration: none; font-size: 14px; font-weight: 500; }
.toc-plain a:hover, .toc-plain a.on { color: var(--color-blue-600); }
.toc-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-slate-500); margin-bottom: 8px; }
.jump { display: none; }
.hprose { max-width: 740px; }
.hprose h3 { font-size: 26px; line-height: 1.3; font-weight: 700; margin: 0 0 14px; }
.hprose p { color: var(--color-slate-650); font-size: 17px; line-height: 1.75; margin: 0 0 16px; }
.hprose ul { margin: 0 0 16px; padding-left: 22px; color: var(--color-slate-650); font-size: 17px; line-height: 1.75; }
.block { padding: 40px 0; border-top: 1px solid var(--color-divider); scroll-margin-top: 24px; }
.block:first-child { border-top: 0; padding-top: 0; }
.strip4 { padding: 20px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 8px 0 16px; box-shadow: none; }
.strip4 > div { display: flex; flex-direction: column; gap: 6px; }
.strip4 .mono { font-size: 12px; color: var(--color-blue-600); font-weight: 500; }
.strip4 strong { font-size: 15px; }
.two-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.two-cards .card { padding: 20px; box-shadow: none; }
.two-cards strong { display: block; margin-bottom: 8px; }
.two-cards .hint { font-size: 15px; }
.faq { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; color: var(--color-blue-600); transition: transform .15s; }
.faq[open] summary svg { transform: rotate(180deg); }
.faq .ans { padding: 0 20px 18px; color: var(--color-slate-650); line-height: 1.7; }
.cta-sec { padding: 96px 0 0; }
.cta { background: var(--color-navy-800); border-radius: var(--radius-3xl); padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-deco { position: absolute; right: -40px; bottom: -60px; opacity: .35; pointer-events: none; }
.cta h2 { color: #fff; font-size: 36px; line-height: 1.2; font-weight: 700; }
.cta p { color: #C9D7F5; font-size: 18px; }
.cta > div, .cta > a { position: relative; }
.cta-copy { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }

/* ---------- Calculator ---------- */
.calc { padding: 28px; display: flex; flex-direction: column; gap: 22px; border-radius: var(--radius-2xl); box-shadow: var(--shadow-calculator); scroll-margin-top: 16px; }
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc-head h2 { font-size: 20px; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; color: var(--color-slate-500); background: var(--color-surface-muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 9px; background: currentColor; }
.status[data-state="ready"] { color: var(--color-success-600); background: var(--color-success-50); }
.status[data-state="error"] { color: var(--color-error-600); background: var(--color-error-50); }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--color-surface-muted); border-radius: var(--radius-lg); border: 1px solid var(--color-divider); }
.tab { flex: 1; min-height: 44px; border: 0; background: transparent; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--color-slate-500); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.tab[aria-selected="true"] { background: #fff; color: var(--color-blue-600); box-shadow: 0 1px 3px rgba(10,26,58,.12); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .lbl { font-weight: 600; font-size: 14px; color: var(--color-navy-900); }
.input, .select { width: 100%; height: 50px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); padding: 0 14px; font-size: 16px; color: var(--color-navy-900); background: #fff; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5878' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea.input { height: 180px; padding: 14px; resize: vertical; line-height: 1.6; }
.input:hover, .select:hover { border-color: var(--color-border-hover); }
.input:focus, .select:focus { border: 2px solid var(--color-blue-600); box-shadow: 0 0 0 4px #DCE7FF; outline: none; padding-left: 13px; }
textarea.input:focus { padding: 13px; }
.input.mono { font-family: var(--font-mono); font-size: 15px; }
.input::placeholder { color: #6B7893; }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border: 2px solid var(--color-error-600); background-color: #FFFBFA; padding-left: 13px; }
.err { display: flex; gap: 8px; align-items: flex-start; color: var(--color-error-text); font-size: 13px; font-weight: 500; line-height: 1.5; }
.err svg { flex-shrink: 0; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--color-blue-100); background: #fff; color: var(--color-blue-700); font-size: 13px; font-weight: 600; cursor: pointer; }
.chip:hover { background: var(--color-blue-50); }
.preview { border: 1px dashed #B8C9E8; border-radius: var(--radius-lg); background: var(--color-surface-preview); display: flex; align-items: center; gap: 20px; padding: 16px 18px; min-height: 120px; }
.preview.is-empty { flex-direction: column; justify-content: center; gap: 6px; text-align: center; }
.preview.is-error { flex-direction: column; justify-content: center; gap: 6px; text-align: center; border-color: var(--color-error-border); background: #FFFBFA; }
.preview.is-error strong { color: var(--color-error-strong); }
.preview-img { width: 140px; height: 104px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.preview-img svg { width: 100%; height: 100%; }
.preview-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; min-width: 0; }
.preview-meta strong { font-size: 15px; overflow-wrap: anywhere; }
.valid { display: inline-flex; align-items: center; gap: 6px; color: var(--color-success-600); font-weight: 600; }
.invalid { display: inline-flex; align-items: center; gap: 6px; color: var(--color-error-text); font-weight: 600; }
.adv { border-top: 1px solid var(--color-divider); padding-top: 14px; }
.adv summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--color-slate-700); min-height: 32px; display: flex; align-items: center; }
.adv-body { padding-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.drop { position: relative; border: 2px dashed var(--color-border-hover); border-radius: 14px; background: var(--color-surface-preview); padding: 28px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.drop.is-over { border-color: var(--color-blue-600); background: var(--color-blue-50); }
.drop label { color: var(--color-blue-600); text-decoration: underline; cursor: pointer; }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 3px solid var(--color-blue-400); outline-offset: 2px; }
.file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; }
.file > div { flex: 1; min-width: 0; }
.file strong { font-size: 14px; display: block; overflow-wrap: anywhere; }
.file-x { width: 44px; height: 44px; border: 0; background: transparent; color: var(--color-slate-500); border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.file-x:hover { background: var(--color-surface-muted); }
.calc-sub { text-align: center; }
.prog-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.bar { height: 6px; border-radius: 9px; background: var(--color-divider); overflow: hidden; }
.bar span { display: block; height: 100%; width: 10%; background: var(--color-blue-600); border-radius: 9px; transition: width .3s; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.steps li { display: flex; align-items: center; gap: 10px; color: var(--color-slate-500); }
.steps li.done { color: var(--color-navy-900); }
.steps li.cur { color: var(--color-navy-900); font-weight: 600; }
.dot { width: 22px; height: 22px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 2px solid var(--color-border-strong); }
.steps li.done .dot { border: 0; background: var(--color-success-50); color: var(--color-success-600); }
.steps li.cur .dot { border: 2.5px solid var(--color-blue-600); border-right-color: var(--color-border); animation: mlc-spin .8s linear infinite; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; background: var(--color-surface-muted); border: 1px solid var(--color-divider); border-radius: var(--radius-md); }
.seg button { border: 0; background: transparent; font-weight: 600; font-size: 13px; color: var(--color-slate-500); min-height: 36px; padding: 0 12px; border-radius: 7px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--color-blue-600); box-shadow: 0 1px 3px rgba(10,26,58,.12); }
.res-title { font-size: 16px; font-weight: 600; font-family: var(--font-text); letter-spacing: 0; }
.res-title:focus { outline: none; }
.res-title:focus-visible { outline: 3px solid var(--color-blue-400); }
.figure { background: var(--color-surface-hero); border: 1px solid var(--color-blue-100); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.figure-val { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.figure-val .mono { font-size: 44px; font-weight: 600; color: var(--color-navy-800); letter-spacing: -0.02em; line-height: 1.1; }
.figure-val .unit { font-size: 20px; font-weight: 600; color: var(--color-blue-600); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; margin: 0; }
.dl dt { color: var(--color-slate-500); }
.dl dd { margin: 0; font-weight: 600; color: var(--color-navy-900); text-align: right; overflow-wrap: anywhere; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.copied { font-size: 13px; color: var(--color-success-600); font-weight: 600; align-self: center; }
.calc .alert strong { display: block; }

/* ---------- Inner pages ---------- */
.phero { background: var(--color-surface-hero); border-bottom: 1px solid var(--color-divider); padding: 48px 0 64px; }
.phero-article { padding-bottom: 56px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--color-slate-500); margin: 0 0 24px; padding: 0; list-style: none; }
.crumb a { color: var(--color-slate-700); }
.phero-copy { display: flex; flex-direction: column; gap: 16px; max-width: 800px; }
.phero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ph1 { font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.phero .lead { font-size: 19px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--color-slate-500); }
.layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 72px; align-items: start; padding-top: 56px; }
.layout-legal { grid-template-columns: 240px minmax(0,1fr); }
.layout-article { grid-template-columns: minmax(0,1fr) 280px; }
.toc { position: sticky; top: 24px; padding: 22px; border-radius: 14px; background: var(--color-surface-tint); border: 1px solid var(--color-divider); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.toc li { counter-increment: t; }
.toc ol a { display: flex; gap: 10px; padding: 7px 0; color: var(--color-slate-700); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.45; }
.toc ol a::before { content: counter(t, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--color-blue-600); padding-top: 2px; }
.toc ol a:hover, .toc ol a.on { color: var(--color-blue-600); }
.toc ol a.on { font-weight: 600; }
.toc-cta { border-top: 1px solid var(--color-divider); margin-top: 16px; padding-top: 16px; }
.toc-cta .btn { width: 100%; font-size: 15px; min-height: 44px; }
.toc-legal { background: #fff; padding: 20px; }
.toc-legal ol { padding: 0 0 0 20px; list-style: decimal; font-size: 14px; color: var(--color-slate-500); }
.toc-legal li { padding: 5px 0; counter-increment: none; }
.toc-legal a { display: inline; padding: 0; }
.toc-legal a::before { content: none; }
.toc-legal a:hover { text-decoration: underline; }

/* Documentation prose (methodology, accuracy) */
.doc { max-width: 780px; min-width: 0; }
.doc section { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--color-divider); scroll-margin-top: 24px; }
.doc section:last-child { border-bottom: 0; margin-bottom: 0; }
.doc h2 { font-size: 28px; line-height: 1.25; font-weight: 700; margin: 0 0 16px; }
.doc h3 { font-size: 19px; font-weight: 600; margin: 24px 0 8px; }
.doc p, .doc ul, .doc ol { color: var(--color-slate-650); font-size: 17px; line-height: 1.78; margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 24px; }
.doc li { margin-bottom: 4px; }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 8px 0 20px; }
.pipe div { padding: 18px; border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: #fff; display: flex; flex-direction: column; gap: 6px; }
.pipe .mono { font-size: 12px; color: var(--color-blue-600); }
.pipe .muted { font-size: 14px; line-height: 1.5; }
.dlt { display: grid; grid-template-columns: 200px minmax(0,1fr); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 16px; }
.dlt dt { padding: 14px 16px; background: var(--color-surface-tint); font-weight: 600; border-bottom: 1px solid var(--color-divider); }
.dlt dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--color-divider); color: var(--color-slate-650); line-height: 1.6; }
.dlt dt:last-of-type, .dlt dd:last-of-type { border-bottom: 0; }
.refs { margin: 0; padding-left: 22px; font-size: 15px; line-height: 1.7; color: var(--color-slate-650); }
.refs li { margin-bottom: 10px; }
.doc .refs { font-size: 15px; }
.glance { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.glance .card { padding: 24px; display: flex; gap: 14px; }
.glance strong { font-family: var(--font-display); }
.glance p { font-size: 15px; margin-top: 4px; color: var(--color-slate-500); }
.fit { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 0 0 16px; }
.fit > div { border-radius: var(--radius-lg); padding: 18px; font-size: 15px; line-height: 1.6; }
.fit strong { display: block; margin-bottom: 8px; font-size: 15px; }
.doc .fit ul { padding-left: 18px; margin: 0; font-size: 15px; color: inherit; line-height: 1.6; }
.fit-good { background: var(--color-success-50); border: 1px solid var(--color-success-border); color: var(--color-success-text); }
.fit-caution { background: var(--color-warning-50); border: 1px solid var(--color-warning-border); color: var(--color-warning-800); }
.fit-no { background: var(--color-error-50); border: 1px solid var(--color-error-border); color: var(--color-error-strong); }
.factor { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--color-divider-soft); }
.factor:last-child { border-bottom: 1px solid var(--color-divider-soft); }
.factor > .mono { color: var(--color-blue-600); font-size: 13px; padding-top: 3px; }
.doc .factor p { font-size: 15px; margin: 2px 0 0; color: var(--color-slate-500); line-height: 1.6; }

/* Guide article prose */
.prose { max-width: 740px; min-width: 0; }
.prose h2 { font-size: 30px; line-height: 1.25; font-weight: 700; margin: 56px 0 16px; scroll-margin-top: 24px; }
.prose h3 { font-size: 21px; line-height: 1.35; font-weight: 600; margin: 32px 0 10px; }
.prose p { color: var(--color-slate-650); font-size: 17px; line-height: 1.78; margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; color: var(--color-slate-650); font-size: 17px; line-height: 1.78; }
.prose li { margin-bottom: 6px; }
.prose .tbl-box { margin: 8px 0 24px; }
.takeaways { padding: 24px 28px; box-shadow: none; margin-bottom: 8px; }
.prose .takeaways h2 { font-size: 16px; margin: 0 0 12px; font-family: var(--font-text); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-blue-600); }
.prose .takeaways ul { margin: 0; }
.eq { margin: 8px 0 24px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--color-surface-tint); border: 1px solid var(--color-divider); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.eq .f { font-family: var(--font-mono); font-size: 20px; color: var(--color-navy-800); font-weight: 500; }
.eq .n { font-size: 13px; color: var(--color-slate-500); }
.callout { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius-lg); margin: 8px 0 24px; font-size: 16px; line-height: 1.65; background: var(--color-warning-50); border: 1px solid var(--color-warning-border); color: var(--color-warning-800); }
.callout svg { flex-shrink: 0; margin-top: 3px; }
.callout-info { background: var(--color-surface-tint); border-color: var(--color-divider); color: var(--color-slate-700); }
.fig { margin: 8px 0 24px; }
.fig > div { padding: 28px; }
.fig figcaption { padding: 14px 28px; border-top: 1px solid var(--color-divider); font-size: 14px; color: var(--color-slate-500); }
.inline-cta { padding: 28px; margin: 40px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--color-surface-hero); box-shadow: none; }
.inline-cta > div { display: flex; flex-direction: column; gap: 6px; max-width: 440px; }
.inline-cta strong { font-family: var(--font-display); font-size: 20px; }
.inline-cta span { font-size: 15px; color: var(--color-slate-500); }
.related { padding-top: 80px; }
.related h2 { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.related .gcard strong { font-family: var(--font-display); font-size: 19px; }

/* Guides index */
.chip-lg { min-height: 40px; padding: 0 16px; font-size: 14px; color: var(--color-slate-700); }
.chip-lg[aria-pressed="true"] { background: var(--color-navy-900); border-color: var(--color-navy-900); color: #fff; }
.feat { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); overflow: hidden; text-decoration: none; color: var(--color-navy-900); transition: border-color .15s, box-shadow .15s; }
.feat:hover { border-color: var(--color-border-hover); color: var(--color-navy-900); box-shadow: var(--shadow-card-hover); }
.feat-copy { padding: 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feat-copy h2 { font-size: 30px; line-height: 1.25; font-weight: 700; }
.feat-copy p { font-size: 17px; line-height: 1.7; color: var(--color-slate-500); }
.feat-art { background: var(--color-surface-hero); border-left: 1px solid var(--color-divider); display: flex; align-items: center; justify-content: center; padding: 32px; min-height: 280px; }
.gidx .gcard { gap: 12px; padding: 28px; }
.gidx .gcard h2 { font-size: 21px; line-height: 1.35; font-weight: 600; }
.gcard-ref { background: var(--color-surface-tint); box-shadow: none; }
.gcard-ref .eyebrow { color: var(--color-slate-700); }
.band { padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--color-surface-hero); box-shadow: none; }
.band > div { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.band h2 { font-size: 26px; font-weight: 700; }
.band p { font-size: 17px; color: var(--color-slate-500); }

/* About */
.body { color: var(--color-slate-650); font-size: 17px; line-height: 1.78; }
.sec-80 { padding: 80px 0 0; }
.h2-34 { font-size: 34px; line-height: 1.2; font-weight: 700; }
.pcard { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pcard h3 { font-size: 20px; font-weight: 600; }
.pcard p { color: var(--color-slate-500); }
.creator { padding: 48px; display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 40px; align-items: start; background: var(--color-surface-tint); box-shadow: none; }
.mono-av { width: 120px; height: 120px; border-radius: 999px; background: var(--color-navy-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 40px; display: flex; align-items: center; justify-content: center; }
.creator-copy { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.creator-copy h2 { font-size: 30px; font-weight: 700; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 6px; }

/* Contact */
.cgrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,640px); gap: 64px; align-items: start; }
.tips { display: flex; flex-direction: column; gap: 24px; }
.tips h2 { font-size: 24px; font-weight: 700; }
.tip { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--color-divider); }
.tip:last-child { border-bottom: 1px solid var(--color-divider); }
.tip .mono { font-size: 13px; color: var(--color-blue-600); padding-top: 3px; }
.tip p { color: var(--color-slate-500); }
.cform { padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.cform h2 { font-size: 22px; font-weight: 700; }
.cform .two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.req { color: var(--color-error-text); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cform .alert { font-size: 15px; }

/* Legal */
.legal { max-width: 720px; counter-reset: s; min-width: 0; }
.legal section { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid #EEF2F9; counter-increment: s; scroll-margin-top: 24px; }
.legal section:last-child { border-bottom: 0; }
.legal h2 { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 0 0 12px; display: flex; gap: 12px; }
.legal h2::before { content: counter(s) "."; color: var(--color-blue-600); font-family: var(--font-mono); font-size: 18px; padding-top: 3px; }
.legal p, .legal ul { color: var(--color-slate-650); font-size: 16px; line-height: 1.78; margin: 0 0 12px; }
.legal ul { padding-left: 22px; }
.legal .tbl { font-size: 15px; }
.legal .tbl td, .legal .tbl th { padding: 12px 14px; }
.summary { border: 1px solid var(--color-blue-100); background: var(--color-surface-hero); border-radius: 14px; padding: 22px 24px; margin-bottom: 40px; }
.summary strong { display: block; margin-bottom: 6px; font-family: var(--font-display); }
.legal .summary p { font-size: 15px; line-height: 1.7; color: var(--color-slate-500); margin: 0; }
.notice { display: flex; gap: 16px; border: 1px solid var(--color-warning-border); background: var(--color-warning-50); border-radius: 14px; padding: 22px 24px; margin-bottom: 40px; color: var(--color-warning-800); }
.notice svg { flex-shrink: 0; }
.legal .notice p { font-size: 15px; line-height: 1.7; color: var(--color-warning-800); margin: 0; }

/* 404 and generic */
.generic { padding: 56px 0 0; }
.generic .prose { margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
}
@media (max-width: 1000px) {
  .layout, .layout-legal, .layout-article { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .layout-article .aside { order: -1; }
  .cgrid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 959px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .indepth { grid-template-columns: 1fr; gap: 24px; }
  .indepth .toc-plain { position: static; }
  .steps3 .step-line { display: none; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .menu-btn { padding: 0 14px; }
  .menu-btn .lbl-tab { display: inline; }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .intro-sticky { position: static; }
  .glance { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .feat-art { border-left: 0; border-top: 1px solid var(--color-divider); min-height: 220px; }
}
@media (max-width: 760px) {
  .fit { grid-template-columns: 1fr; }
  .strip4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .pipe { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 639px) {
  .wrap { padding: 0 var(--gutter-sm); }
  .hdr-in { height: var(--header-height-sm); }
  .brand { font-size: 16px; gap: 10px; }
  .brand svg { width: 32px; height: 32px; }
  .hero { padding: 32px 0 40px; }
  .hero-copy { gap: 20px; }
  .h1 { font-size: 38px; line-height: 1.08; }
  .lead, .phero .lead { font-size: 17px; line-height: 1.65; }
  .lead-full { display: none; }
  .lead-short { display: block; }
  .checks { display: none; }
  .orbital-card { display: none; }
  .hero-deco { display: none; }
  .calc { padding: 20px; gap: 18px; border-radius: 18px; }
  .calc-head h2 { font-size: 18px; }
  .tab { font-size: 14px; }
  .tab .long { display: none; }
  .preview { gap: 14px; padding: 12px 14px; }
  .preview-img { width: 96px; height: 80px; }
  .figure-val .mono { font-size: 36px; }
  .sec { padding: 56px 0; }
  .h2 { font-size: 28px; line-height: 1.22; }
  .topic { padding: 16px 0; gap: 14px; }
  .topic .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
  .grid-auto { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .fcard { padding: 16px; gap: 8px; box-shadow: none; }
  .fcard .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
  .fcard h3 { font-size: 15px; line-height: 1.35; }
  .fcard p { display: none; }
  .fcard:last-child { grid-column: span 2; }
  .steps3 { display: flex; flex-direction: column; gap: 0; }
  .steps3 .step { flex-direction: row; gap: 16px; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .steps3 .step-top { flex-direction: column; align-self: stretch; }
  .steps3 .step-n { width: 40px; height: 40px; }
  .steps3 .step-line { display: block; flex: 1; width: 2px; height: auto; min-height: 24px; background: var(--color-blue-200); }
  .steps3 .step-body { padding-bottom: 24px; }
  .steps3 .step h3 { font-size: 17px; }
  .steps3 .step p { font-size: 15px; }
  .grid-3 { grid-template-columns: 1fr; }
  .home-guides .grid-3 { display: none; }
  .home-guides .glinks { display: block; margin-top: 8px; }
  .indepth .toc-plain { display: none; }
  .jump { display: flex; flex-direction: column; gap: 8px; }
  .hprose h3 { font-size: 22px; }
  .strip4 { grid-template-columns: 1fr 1fr; }
  .two-cards { grid-template-columns: 1fr; }
  .faq summary { font-size: 16px; padding: 16px; }
  .cta { padding: 40px 24px; }
  .cta h2 { font-size: 28px; }
  .cta .btn { width: 100%; }
  .cta-sec { padding-top: 56px; }
  .ft { padding: 48px 0 32px; margin-top: 64px; }
  .ft-grid { grid-template-columns: 1fr; gap: 28px; }
  .ft h2 { margin-bottom: 8px; font-size: 13px; }
  .ft a { min-height: 40px; }
  .phero { padding: 32px 0 44px; }
  .ph1 { font-size: 34px; }
  .layout { padding-top: 40px; }
  .dlt { grid-template-columns: 1fr; }
  .dlt dd { border-bottom: 1px solid var(--color-divider); }
  .creator { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .mono-av { width: 88px; height: 88px; font-size: 30px; }
  .cform { padding: 24px; }
  .cform .two { grid-template-columns: 1fr; }
  .feat-copy { padding: 28px; }
  .feat-copy h2 { font-size: 24px; }
  .band { padding: 28px; }
  .band .btn { width: 100%; }
  .eq .f { font-size: 17px; }
  .prose h2 { font-size: 26px; margin-top: 44px; }
  .inline-cta .btn { width: 100%; }
}
@media (max-width: 400px) {
  .brand span { font-size: 15px; }
  .grid-auto { grid-template-columns: 1fr; }
  .fcard:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .hdr, .ft, .skip, .toc, .aside, .cta-sec { display: none !important; }
}
