/* RESONO websites — shared stylesheet (resono.world + resonoai.com)
   Themes: .theme-world (light, Signal teal) · .theme-ai (dark, bright cyan)
   Fonts: Manrope (Latin) + Noto Sans TC (Traditional Chinese) */

:root {
  --ink: #0F2233; --ground: #F8FAF7; --signal: #0E9A90; --signal-ink: #0B7C74; --signal-bright: #45CBBE;
  --create: #E4633F; --decide: #0E7A72; --simulate: #4F55C9;
  --fovery-ink: #2A2140; --fovery-ember: #F2643D; --fovery-spark: #FFB52E; --fovery-paper: #FFF7EC;
  --radius-s: 12px; --radius-m: 18px; --radius-l: 24px;
  --gutter: clamp(20px, 6vw, 120px);
  --section: clamp(64px, 9vw, 112px);
  --maxw: 1440px;
}
.theme-world {
  --bg: var(--ground); --fg: var(--ink); --body: #3C4852; --muted: #5A6670; --line: #E3E8E4;
  --surface: #FFFFFF; --surface-2: #F3F6F3; --accent: var(--signal); --accent-text: var(--signal-ink);
  --btn-bg: var(--ink); --btn-fg: var(--ground); --btn-line: var(--ink);
  --p-create: var(--create); --p-decide: var(--decide); --p-simulate: var(--simulate);
}
.theme-ai {
  --bg: var(--ink); --fg: var(--ground); --body: #B9C6CF; --muted: #8EA2B2; --line: #22394C;
  --surface: #16304A; --surface-2: #122A40; --accent: var(--signal-bright); --accent-text: var(--signal-bright);
  --btn-bg: var(--signal-bright); --btn-fg: var(--ink); --btn-line: #3A5064;
  --p-create: #F08A6A; --p-decide: #45CBBE; --p-simulate: #9A9EF0;
}
.band-light {
  --bg: var(--ground); --fg: var(--ink); --body: #3C4852; --muted: #5A6670; --line: #E3E8E4;
  --surface: #FFFFFF; --surface-2: #EEF2EF; --accent: var(--signal); --accent-text: var(--signal-ink);
  --btn-bg: var(--ink); --btn-fg: var(--ground); --btn-line: var(--ink);
  --p-create: var(--create); --p-decide: var(--decide); --p-simulate: var(--simulate);
}
.band-dark {
  --bg: var(--ink); --fg: var(--ground); --body: #B9C6CF; --muted: #8EA2B2; --line: #2A4256;
  --surface: #16304A; --surface-2: #122A40; --accent: var(--signal-bright); --accent-text: var(--signal-bright);
  --btn-bg: var(--signal-bright); --btn-fg: var(--ink); --btn-line: #3A5064;
}
.band-white { --bg: #FFFFFF; --surface: var(--ground); }
.band-raised { --bg: #16304A; --surface: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: Manrope, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 17px; line-height: 1.6; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--fg); }
h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.035em; }
h1.h1-long { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }
h2.h2-s { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -0.01em; }
html[lang="zh-Hant"] h1, html[lang="zh-Hant"] h2, html[lang="zh-Hant"] h3 { letter-spacing: 0.01em; line-height: 1.28; }
html[lang="zh-Hant"] body { line-height: 1.75; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { background: var(--bg); color: var(--fg); padding: var(--section) 0; }
.section.tight-top { padding-top: 24px; }
.section.rule { border-top: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); line-height: 1.6; }
.eyebrow.muted { color: var(--muted); }
html[lang="zh-Hant"] .eyebrow { letter-spacing: 0.14em; }
.eyebrows { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.eyebrows .sep { color: var(--line); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--body); }
.body { color: var(--body); }
.small { font-size: 14px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-s { display: flex; flex-direction: column; gap: 10px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 44px; }
.head-row > p { max-width: 480px; color: var(--body); font-size: 18px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 48px 80px; align-items: start; }

/* buttons, tags, chips */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: var(--radius-s); font-size: 15px; font-weight: 800; border: 1.5px solid var(--btn-line); color: var(--fg); background: transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn.primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn.primary:hover { color: var(--btn-fg); }
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.tag { display: inline-flex; align-items: center; align-self: flex-start; min-height: 26px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.flow .chip { padding: 6px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--body); font-size: 12.5px; font-weight: 700; }
.flow .arr { color: var(--muted); font-size: 13px; font-weight: 700; }
.flow.big .chip { font-size: 15px; padding: 10px 16px; background: var(--surface); }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--accent-text); }
.link svg { width: 14px; height: 14px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand .sym { width: 32px; height: 32px; }
.brand .wm { width: 124px; height: auto; }
.brand .divider { width: 1.5px; height: 22px; background: var(--line); }
.brand .cjk { font-family: "Noto Sans TC", sans-serif; font-size: 21px; font-weight: 700; line-height: 1; }
.brand .ai-badge { padding: 4px 7px; border-radius: 6px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.brand .descriptor { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); margin-left: 4px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; color: var(--body); }
.nav a { color: var(--body); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav .lang { color: var(--muted); }
.nav .nav-cta { min-height: 40px; padding: 0 16px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.theme-world .nav .nav-cta { border: 1.5px solid var(--signal); color: var(--signal-ink); }
.theme-ai .nav .nav-cta { background: var(--accent); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--fg); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; }

/* hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 720px; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-art .caption { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--muted); text-align: center; }
.hero-art .caption-2 { font-size: 15px; font-weight: 600; color: var(--body); text-align: center; }
.rings { position: relative; width: min(100%, 520px); aspect-ratio: 1; }
.rings > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rings .node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translate(-50%, -50%); }
.rings .node .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; }
.rings .node .dot svg { width: 30px; height: 30px; }
.rings .node span { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; color: var(--muted); white-space: nowrap; }
.crumbs { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }
.crumbs b { color: var(--accent-text); font-weight: 700; }
.stack-tiles { position: relative; width: min(100%, 470px); min-height: 440px; }
.stack-tiles .tile { position: absolute; width: min(360px, 82%); display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,0.25); color: var(--fg); }
.stack-tiles .tile:hover { transform: translateY(-2px); }
.stack-tiles .tile:nth-child(2) { left: 0; top: 10px; }
.stack-tiles .tile:nth-child(3) { right: 0; top: 150px; }
.stack-tiles .tile:nth-child(4) { left: 4%; top: 290px; }
.stack-tiles > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tile .ico svg { width: 36px; height: 36px; }
.tile .k { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; }
.tile .n { font-size: 19px; font-weight: 800; line-height: 1.2; }
.tile .s { font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px; display: flex; flex-direction: column; gap: 14px; color: var(--fg); position: relative; overflow: hidden; }
.card .k { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; }
.card .name { font-size: clamp(26px, 2.3vw, 34px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; }
.card .sub { font-size: 16px; font-weight: 700; color: var(--fg); }
.card .tagline { font-size: 15px; font-weight: 700; }
.card .desc { font-size: 15.5px; color: var(--body); }
.card .foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; position: relative; }
.card .ico-box { width: 64px; height: 64px; border-radius: 18px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.card .ico-box svg { width: 40px; height: 40px; }
.card .deco { position: absolute; right: -56px; bottom: -56px; width: 200px; height: 200px; opacity: 0.1; pointer-events: none; }
.card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card .bar { position: absolute; left: 0; right: 0; top: 0; height: 6px; }
.card.pcard { padding-top: 36px; }
.fovery-wm { height: 34px; width: auto; display: block; }
.scale-card .ico { width: 64px; height: 64px; }
.idea-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.idea-tab { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-top: 3px solid var(--line); }
.idea-tab:first-child { border-top-color: var(--accent); }
.idea-tab svg { width: 40px; height: 40px; flex-shrink: 0; }
.idea-tab .t { font-size: 18px; font-weight: 700; }
.statement { font-size: clamp(36px, 4.2vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
html[lang="zh-Hant"] .statement { letter-spacing: 0.01em; line-height: 1.25; }
.col-rule { padding-top: 24px; border-top: 2px solid var(--fg); display: flex; flex-direction: column; gap: 14px; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.principles > div { padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); }
.principles > div:first-child { border-left: 0; }
.principles .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.principles .t { font-size: 20px; font-weight: 700; color: var(--fg); }
.hub { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.hub .n { font-size: 13px; font-weight: 800; color: var(--accent-text); }
.hub .t { font-size: 22px; font-weight: 700; }
.anchor-list { display: flex; flex-direction: column; gap: 12px; }
.anchor-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.anchor-list .l { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.anchor-list .n { font-size: 13px; font-weight: 800; color: var(--accent-text); }
.anchor-list .t { font-size: 20px; font-weight: 700; color: var(--fg); }
.anchor-list .d { font-size: 15px; font-weight: 600; color: var(--muted); }
.cap-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.cap-row .cap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cap-row .cap svg { width: 52px; height: 52px; }
.cap-row .cap span { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: var(--muted); }
.cap-row .line { width: 36px; height: 1.5px; background: var(--line); }
.xcard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; color: var(--fg); }
.xcard .art { height: 180px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.xcard .art svg { max-height: 140px; width: auto; }
.xcard .in { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.xcard .name { font-size: 24px; font-weight: 800; }
.xcard .tagline { font-size: 16px; font-weight: 700; color: var(--accent-text); }
.xcard .desc { font-size: 15px; color: var(--body); }
.xcard .link { margin-top: auto; padding-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag.accent { color: var(--accent-text); background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: transparent; }
.sol { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; color: var(--fg); }
.sol .n { font-size: 40px; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--fg) 22%, transparent); }
.sol .t { font-size: 21px; font-weight: 700; line-height: 1.2; }
.sol .d { font-size: 15px; color: var(--body); }
.sol .link { margin-top: auto; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step .num { display: flex; align-items: center; }
.step .num span { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.step .num i { flex-grow: 1; height: 2px; background: var(--line); margin-left: 8px; }
.step:last-child .num i { visibility: hidden; }
.step .t { font-size: 22px; font-weight: 700; margin-top: 4px; }
.step .d { font-size: 15px; color: var(--body); }
.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-content: start; }
.links-grid a { min-height: 64px; padding: 0 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 700; color: var(--fg); }
.links-grid a svg { width: 14px; height: 14px; color: var(--accent-text); flex-shrink: 0; }
.cta-box { position: relative; overflow: hidden; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cta-box .deco { position: absolute; right: -40px; top: -90px; width: 380px; height: 380px; opacity: 0.12; pointer-events: none; }
.cta-center { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta-center .sym { width: 56px; height: 56px; }
.mail { font-size: 15px; font-weight: 700; color: var(--accent-text); }

/* product / sub pages */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 88px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.page-hero .crumb-nav { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.page-hero .crumb-nav a { color: var(--muted); }
.page-hero .crumb-nav a:hover { color: var(--accent-text); }
.page-hero .crumb-nav [aria-current] { color: var(--fg); }
.page-hero .title-row { display: flex; align-items: center; gap: 16px; }
.page-hero .title-row .ico-box { width: 64px; height: 64px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.page-hero .title-row .ico-box svg { width: 40px; height: 40px; }
.page-hero .headline { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: var(--fg); }
.figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.figure .frame { border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.figure .frame svg, .figure .frame img { width: 86%; height: 86%; object-fit: contain; }
.figure figcaption { font-size: 12px; font-weight: 700; color: var(--muted); }
.block { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 32px 80px; padding: 48px 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 0; }
.block .content { display: flex; flex-direction: column; gap: 16px; color: var(--body); font-size: 17px; }
.block .content strong { color: var(--fg); }
.bullets { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding: 14px 18px 14px 44px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--body); font-size: 16px; }
.bullets li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.bullets li b { color: var(--fg); font-weight: 800; }
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.defs > div { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.defs dt { font-weight: 800; color: var(--fg); }
.defs dd { margin: 0; color: var(--body); font-size: 15.5px; }
.loop { padding: 28px 0 8px; }
.loop .wrap { display: flex; flex-direction: column; gap: 14px; }
.fovery-hero { --bg: var(--fovery-paper); --fg: var(--fovery-ink); --body: #4A3F52; --muted: #6B5F57; --line: #EFE3D6; --surface: #FFFFFF; --surface-2: #FFF1E6; --accent: var(--fovery-ember); --accent-text: #C2410C; --btn-bg: var(--fovery-ink); --btn-fg: var(--fovery-paper); --btn-line: var(--fovery-ink); background: var(--bg); color: var(--fg); }
.fovery-hero h1 { font-family: Nunito, Manrope, "Noto Sans TC", sans-serif; }
.fovery-hero .fovery-logo { width: min(260px, 60vw); height: auto; }
.fovery-hero .endorse { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--muted); }
.policy { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.policy-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.policy-nav a { padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--body); }
.policy-nav a[aria-current="page"] { background: var(--surface); color: var(--fg); border: 1px solid var(--line); }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; color: var(--body); }
.prose h2 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.3; margin-top: 26px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose .meta { font-size: 14px; font-weight: 700; color: var(--muted); }
.contact-box { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.contact-box a { font-weight: 800; color: var(--accent-text); }

/* footer */
.site-footer { background: var(--bg); color: var(--body); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; line-height: 1.75; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px 40px; }
.site-footer .brand .sym { width: 26px; height: 26px; }
.site-footer .brand .wm { width: 100px; }
.site-footer .brand .cjk { font-size: 17px; }
.site-footer h2 { font-size: 14px; letter-spacing: 0; line-height: 1.5; margin-bottom: 6px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer nav a { color: var(--body); }
.site-footer .copy { margin-top: 14px; color: var(--muted); }

/* responsive */
@media (max-width: 1100px) {
  .g3, .g4, .principles, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles > div:nth-child(3) { border-left: 0; }
  .principles > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero .wrap, .page-hero .wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: 2; }
  .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy { grid-template-columns: minmax(0, 1fr); }
  .policy-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .nav { gap: 20px; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .brand .descriptor { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; height: calc(100dvh - 76px); background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav a { font-size: 22px; font-weight: 700; color: var(--fg); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav .lang { color: var(--fg); }
  .nav .nav-cta { margin-top: 20px; justify-content: center; min-height: 52px; font-size: 16px; border-bottom: 0; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .principles, .steps, .idea-tabs, .defs, .links-grid { grid-template-columns: minmax(0, 1fr); }
  .principles > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .principles > div:first-child { border-top: 0; }
  .block { grid-template-columns: minmax(0, 1fr); padding: 36px 0; }
  .btns .btn { flex: 1 1 100%; }
  .stack-tiles { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .stack-tiles > svg { display: none; }
  .stack-tiles .tile { position: static; width: 100%; box-shadow: none; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .brand .wm { width: 100px; }
  .brand .cjk { font-size: 17px; }
  .site-header .wrap { height: 64px; }
  .nav { inset: 64px 0 auto 0; height: calc(100dvh - 64px); }
  .head-row { margin-bottom: 28px; }
  .card { padding: 24px; }
}

/* fixes */
.card .fovery-wm, .pcard .fovery-wm { width: 95px; height: 34px; align-self: flex-start; }
html[lang="zh-Hant"] h1.h1-long { font-size: clamp(30px, 3.3vw, 46px); }
@media (max-width: 720px) { .br-d { display: none; } }
.page-hero .title-row { flex-direction: column; align-items: flex-start; gap: 18px; }
