:root {
  color-scheme: light;
  --bg: #f4f0e7;
  --bg-deep: #e9e2d5;
  --surface: #fffdf8;
  --surface-soft: rgba(255, 253, 248, .72);
  --surface-strong: #f8f3e8;
  --ink: #171816;
  --ink-soft: #595a55;
  --ink-faint: #85867e;
  --line: rgba(40, 36, 26, .14);
  --line-gold: rgba(173, 126, 43, .4);
  --gold: #a87927;
  --gold-bright: #c99b45;
  --gold-pale: #ead3a1;
  --blue: #2f6f99;
  --blue-bright: #4c91bc;
  --blue-soft: rgba(47, 111, 153, .1);
  --teal: #2f7564;
  --teal-bright: #4b957f;
  --teal-soft: rgba(47, 117, 100, .1);
  --violet: #654895;
  --violet-bright: #8062b3;
  --violet-soft: rgba(101, 72, 149, .1);
  --green: #477b59;
  --amber: #a96f1d;
  --shadow: 0 28px 80px rgba(73, 60, 35, .1);
  --header-bg: rgba(250, 247, 240, .84);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --sans: Inter, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090b0c;
  --bg-deep: #050607;
  --surface: #111416;
  --surface-soft: rgba(17, 20, 22, .78);
  --surface-strong: #171818;
  --ink: #f1ebdf;
  --ink-soft: #b6b1a7;
  --ink-faint: #7f807c;
  --line: rgba(226, 210, 175, .14);
  --line-gold: rgba(204, 161, 84, .44);
  --gold: #c69a4b;
  --gold-bright: #e0bd77;
  --gold-pale: #f0dbab;
  --blue: #4d8db7;
  --blue-bright: #74b3d7;
  --blue-soft: rgba(77, 141, 183, .12);
  --teal: #4b9a80;
  --teal-bright: #73c1a6;
  --teal-soft: rgba(75, 154, 128, .13);
  --violet: #9b7bcd;
  --violet-bright: #bea0ec;
  --violet-soft: rgba(155, 123, 205, .13);
  --green: #70ad7c;
  --amber: #d6a34a;
  --shadow: 0 34px 90px rgba(0, 0, 0, .36);
  --header-bg: rgba(9, 11, 12, .85);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.8; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background: radial-gradient(circle at 8% 5%, rgba(191,150,77,.11), transparent 28%), radial-gradient(circle at 92% 75%, rgba(191,150,77,.06), transparent 28%); }
a { color: inherit; }
button { font: inherit; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 9px 15px; background: var(--surface); border: 1px solid var(--gold); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: var(--header-bg); backdrop-filter: blur(18px); }
.header-inner { width: min(1320px, calc(100% - 48px)); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: -.025em; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line-gold); color: var(--gold-bright); font-family: var(--serif); transform: rotate(45deg); }
.brand-mark b { font-size: 13px; font-weight: 400; transform: rotate(-45deg); }
.brand-symbol { display: block; width: 58px; height: 40px; object-fit: contain; flex-shrink: 0; }
.desktop-nav { display: flex; gap: 29px; margin-left: auto; }
.desktop-nav a, .site-footer nav a { color: var(--ink-soft); text-decoration: none; font-size: 11px; letter-spacing: .07em; }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--gold-bright); }
.product-menu { position: relative; }
.product-menu summary { display: flex; gap: 10px; align-items: center; min-height: 40px; cursor: pointer; list-style: none; color: var(--ink-soft); font-size: 11px; letter-spacing: .07em; }
.product-menu summary::-webkit-details-marker { display: none; }
.product-menu summary:focus-visible, .product-submenu a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.product-menu[open] summary { color: var(--gold-bright); }
.product-submenu { position: absolute; top: 100%; left: 0; width: 245px; padding: 8px; border: 1px solid var(--line-gold); background: var(--surface); box-shadow: var(--shadow); }
.desktop-nav .product-submenu a { display: block; padding: 14px 12px; font-size: 13px; }
.product-submenu a:hover { background: var(--surface-strong); }
.product-submenu button { display: block; width: 100%; padding: 14px 12px; border: 0; background: transparent; color: var(--ink-faint); text-align: left; font-size: 13px; cursor: not-allowed; }
.product-submenu button small { display: block; margin-top: 4px; font-size: 10px; }
.desktop-nav { align-items: center; }
.header-actions { display: flex; align-items: center; gap: 17px; }
.mobile-menu-toggle, .theme-cycle { display: none; }
.theme-switcher { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); }
.theme-switcher button { min-width: 36px; padding: 4px 8px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-faint); cursor: pointer; font-size: 10px; }
.theme-switcher button[aria-pressed="true"] { color: var(--ink); background: var(--surface-strong); box-shadow: 0 1px 5px rgba(0,0,0,.1); }
.login-link { display: flex; align-items: center; gap: 6px; min-height: 39px; padding: 4px 15px; border: 1px solid var(--line-gold); color: var(--gold-bright); text-decoration: none; font-size: 11px; }
.login-link small { color: var(--ink-faint); font-size: 8px; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, black 58%, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; padding-block: 64px 32px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 23px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: .025em; }
h1 { margin-bottom: 27px; font-size: clamp(52px, 7vw, 88px); line-height: 1.35; }
h2 { margin-bottom: 21px; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.48; }
.lead { max-width: 625px; margin-bottom: 34px; color: var(--ink-soft); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 12px 24px; border: 1px solid transparent; text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #17130b; background: linear-gradient(135deg, var(--gold-pale), var(--gold-bright)); box-shadow: 0 14px 34px rgba(165,120,40,.2); }
.button-outline { border-color: var(--line-gold); color: var(--gold-bright); }
.text-link { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 5px; font-size: 13px; font-weight: 600; }
.microcopy { margin: 18px 0 0; color: var(--ink-faint); font-size: 10px; }
.hero-system { position: relative; }
.hero-brand-art { width: 100%; min-width: 0; }
.hero-logo { display: block; width: 100%; height: auto; border-radius: 2px; }
.hero-logo-dark { display: none; }
html[data-theme="dark"] .hero-logo-light { display: none; }
html[data-theme="dark"] .hero-logo-dark { display: block; }
.system-frame { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line-gold); background: linear-gradient(135deg, transparent, var(--surface-soft)); transform: rotate(4deg); }
.system-frame::before, .system-frame::after { content: ""; position: absolute; inset: 10%; border: 1px solid var(--line); transform: rotate(30deg); }
.system-frame::after { inset: 23%; transform: rotate(60deg); border-color: var(--line-gold); }
.frame-corners { position: absolute; inset: -1px; border: 15px solid transparent; border-top-color: var(--gold); border-left-color: var(--gold); width: 68px; height: 68px; opacity: .7; }
.system-wordmark { position: relative; z-index: 2; color: var(--gold-bright); font-family: var(--serif); font-size: clamp(62px, 9vw, 116px); letter-spacing: .08em; text-shadow: 0 18px 38px rgba(165,120,40,.14); }
.system-axis { position: absolute; z-index: 1; background: var(--line-gold); opacity: .6; }
.axis-x { width: 82%; height: 1px; transform: rotate(-22deg); }
.axis-y { width: 1px; height: 82%; transform: rotate(22deg); }
.node { position: absolute; z-index: 3; width: 7px; height: 7px; border: 1px solid var(--gold-bright); background: var(--bg); transform: rotate(45deg); }
.node-a { left: 14%; top: 42%; }.node-b { right: 18%; top: 20%; }.node-c { right: 12%; bottom: 31%; }.node-d { left: 30%; bottom: 12%; }
.system-meta { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; color: var(--ink-faint); font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.hero-system > p { margin: 12px 0 0; color: var(--ink-faint); font-family: var(--mono); font-size: 8px; letter-spacing: .19em; text-align: right; }
.hero-index { position: relative; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.hero-index > div { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 25px 28px; border-right: 1px solid var(--line); }
.hero-index > div:last-child { border: 0; }
.hero-index > div > span { color: var(--gold); font-family: var(--mono); font-size: 10px; }
.hero-index p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.hero-index strong { display: block; color: var(--ink); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }

.section { padding-block: 128px; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.05fr .75fr; align-items: end; gap: 90px; margin-bottom: 65px; }
.section-head > p, .principles-intro > p:not(.eyebrow) { color: var(--ink-soft); }
.section.products-section { background: var(--surface); padding-block: 48px; }
.products-section .section-head { gap: 16px 40px; margin-bottom: 28px; }
.products-section .section-head h2 { margin-bottom: 0; }
.products-section .section-head > p { margin: 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-card { display: flex; flex-direction: column; min-width: 0; aspect-ratio: 1; border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, transform .2s; }
.product-card:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.product-featured { background: linear-gradient(125deg, var(--bg), var(--surface-strong)); box-shadow: var(--shadow); }
.product-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 24px; border-bottom: 1px solid var(--line); color: var(--ink-faint); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.status { color: var(--ink-faint); }.status-available { color: var(--green); }.status-development { color: var(--amber); }
.product-body, .product-body.compact { display: flex; flex: 1 0 auto; min-width: 0; align-items: center; padding: 28px; }
.product-body > div { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.product-topline, .product-link { flex-shrink: 0; }
.product-body > .product-emblem { display: none; }
.product-number { margin: 0 0 11px; color: var(--gold); font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }
.product-body h3 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(28px, 3.3vw, 44px); font-weight: 400; }
.product-body > div > p:not(.product-number) { max-width: 650px; color: var(--ink-soft); font-size: 13px; }
.product-body ul { display: grid; gap: 10px; margin: 27px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 12px; }
.product-body li { position: relative; padding-left: 20px; }
.product-body li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.product-emblem { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line-gold); transform: rotate(45deg); }
.product-emblem::before { content: ""; position: absolute; inset: 15%; border: 1px solid var(--line); }
.product-emblem span { position: absolute; width: 70%; height: 70%; border: 1px solid var(--line); border-radius: 50%; }
.product-emblem b { color: var(--gold-bright); font-family: var(--serif); font-size: 62px; font-weight: 400; transform: rotate(-45deg); }
.product-link { display: flex; align-items: center; justify-content: space-between; padding: 20px 25px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 700; }
.product-link:not(.muted):hover { color: var(--gold-bright); }
.product-link.muted { color: var(--ink-faint); font-weight: 400; }
.product-future { background: transparent; }
.product-swap { border-color: color-mix(in srgb, var(--blue) 42%, var(--line)); background: linear-gradient(145deg, var(--bg), var(--blue-soft)); }
.product-swap:hover { border-color: var(--blue-bright); }
.product-swap .status, .product-swap .product-number, .product-swap .product-link { color: var(--blue-bright); }
.product-swap .status { border-color: color-mix(in srgb, var(--blue) 55%, transparent); background: var(--blue-soft); }
.product-swap .product-body li::before { border-color: var(--blue); }

.section.services-section { background: linear-gradient(135deg, var(--bg), var(--bg-deep)); padding-block: 48px; }
.services-section .section-head { gap: 16px 40px; margin-bottom: 28px; }
.services-section .section-head h2 { margin-bottom: 0; }
.services-section .section-head > p { margin: 0; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card { display: flex; flex-direction: column; min-height: 390px; padding: 42px; border: 1px solid var(--line); background: var(--surface); transition: transform .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); }
.service-number { color: var(--gold); font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }
.service-card h3 { margin: 55px 0 18px; font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); font-weight: 400; line-height: 1.35; }
.service-card > p:not(.service-number) { max-width: 520px; color: var(--ink-soft); font-size: 13px; }
.service-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid currentColor; color: var(--gold-bright); text-decoration: none; font-size: 12px; font-weight: 700; }
.service-membership { border-color: var(--line-gold); background: linear-gradient(145deg, var(--surface), var(--surface-strong)); }
.service-membership:hover { border-color: var(--gold-bright); }
.service-copy-trade { border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); background: linear-gradient(145deg, var(--surface), var(--violet-soft)); }
.service-copy-trade:hover { border-color: var(--violet-bright); }
.service-copy-trade .service-number, .service-copy-trade .service-link { color: var(--violet-bright); }

.broker-links-section { padding-block: 78px; border-bottom: 1px solid var(--line); background: var(--surface); }
.broker-links-card { display: flex; align-items: center; justify-content: space-between; gap: 75px; padding: 48px 52px; border: 1px solid color-mix(in srgb, var(--teal) 45%, var(--line)); background: linear-gradient(135deg, var(--bg), var(--teal-soft)); box-shadow: var(--shadow); }
.broker-links-card .eyebrow { color: var(--teal); }
.broker-links-card h2 { margin-bottom: 10px; font-size: 38px; }
.broker-links-card p:not(.eyebrow) { max-width: 720px; margin-bottom: 13px; color: var(--ink-soft); font-size: 13px; }
.broker-links-card small { display: block; max-width: 760px; color: var(--ink-faint); font-size: 9px; }
.broker-button { min-width: 235px; border-color: var(--teal); color: var(--teal-bright); white-space: nowrap; }
.broker-button:hover { border-color: var(--teal-bright); }
.service-broker { border-color: var(--teal); background: linear-gradient(135deg, var(--bg), var(--teal-soft)); }
.service-broker .service-number, .service-broker .service-link { color: var(--teal-bright); }
.service-broker small { color: var(--ink-faint); font-size: 9px; margin-bottom: 24px; }
.membership-banner { border-color: var(--line-gold); background: linear-gradient(145deg, var(--surface), var(--surface-strong)); }
.membership-banner .eyebrow, .membership-banner .broker-button { color: var(--gold-bright); }
.membership-banner .broker-button { border-color: var(--line-gold); }

.principles-section { background: linear-gradient(135deg, var(--bg), var(--bg-deep)); }
.principles-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 100px; }
.principle-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principle-list li { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.principle-list > li > span { color: var(--gold); font-family: var(--mono); font-size: 10px; }
.principle-list h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.principle-list p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.flow-section { background: var(--surface); }
.section-head.centered { display: block; max-width: 800px; margin: 0 auto 65px; text-align: center; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head.centered > p { max-width: 680px; margin-inline: auto; }
.flow-list { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); }
.flow-list li { min-height: 240px; padding: 34px; border-right: 1px solid var(--line); }
.flow-list li:last-child { border: 0; }
.flow-list > li > span { color: var(--gold); font-family: var(--mono); font-size: 10px; }
.flow-list h3 { margin: 54px 0 8px; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.flow-list p { color: var(--ink-soft); font-size: 12px; }

.account-section { padding-block: 115px; border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.account-grid { display: grid; grid-template-columns: 1fr 430px; align-items: center; gap: 100px; }
.account-grid > div > p:not(.eyebrow) { color: var(--ink-soft); }
.account-panel { padding: 35px; border: 1px solid var(--line-gold); background: var(--surface); box-shadow: var(--shadow); }
.panel-label { color: var(--gold); font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }
.account-panel dl { margin: 25px 0 30px; border-top: 1px solid var(--line); }
.account-panel dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.account-panel dt, .account-panel dd { font-size: 11px; }
.account-panel dt { color: var(--ink-soft); }.account-panel dd { margin: 0; }.account-panel .ready { color: var(--amber); }
.account-panel .button { width: 100%; }
.account-secondary { display: block; margin-top: 15px; color: var(--gold-bright); text-align: center; text-decoration-color: var(--gold); text-underline-offset: 4px; font-size: 11px; font-weight: 600; }
.membership-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 48px; }
.membership-account-grid .membership-heading { grid-column: 1 / -1; display: block; margin-bottom: 8px; }
.membership-heading h2 { margin-bottom: 0; }
.membership-account-grid > section { padding: 0; border: 0; background: none; min-width: 0; }
.membership-account-grid .page-shell { width: 100%; margin: 0; }
.membership-account-grid .membership-banner { height: 100%; flex-direction: column; align-items: stretch; justify-content: center; gap: 32px; padding: 36px; }
.membership-account-grid .account-grid { display: flex; height: 100%; flex-direction: column; align-items: stretch; gap: 24px; padding: 36px; border: 1px solid var(--line-gold); background: var(--surface); }
.membership-account-grid > section h2 { font-size: clamp(28px, 3vw, 38px); }
.membership-account-grid .account-grid > div > p:not(.eyebrow) { font-size: 13px; }
.membership-account-grid .account-panel { padding: 0; border: 0; box-shadow: none; background: none; }
@media (max-width: 680px) {
  .membership-account-grid { grid-template-columns: 1fr; padding-block: 48px; }
  .membership-account-grid .membership-banner, .membership-account-grid .account-grid { padding: 28px; }
}
.support-section { padding-block: 36px; border-bottom: 1px solid var(--line); background: var(--surface); }
.support-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.support-actions { display: flex; gap: 12px; flex-shrink: 0; }
.support-actions .button { min-width: 120px; padding: 14px 20px; }
.support-actions .button:disabled { cursor: not-allowed; }
.support-inner h2 { margin-bottom: 7px; font-size: 34px; }
.support-inner p:not(.eyebrow) { margin: 0; color: var(--ink-soft); font-size: 13px; }
.support-state { padding: 14px 20px; border: 1px solid var(--line); color: var(--ink-faint); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; white-space: nowrap; }

.site-footer { padding: 55px 0 45px; background: var(--bg-deep); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.site-footer nav { display: flex; gap: 25px; }
.footer-legal { padding-top: 25px; color: var(--ink-faint); font-size: 9px; }
.footer-legal > p { max-width: 850px; }
.footer-legal > div { display: flex; justify-content: space-between; gap: 30px; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; gap: 8px 16px; padding-block: 8px; }
  .desktop-nav { display: flex; order: 3; width: 100%; margin-left: 0; gap: 24px; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; min-height: 440px; isolation: isolate; }
  .hero-system { position: absolute; inset: 16px 0 16px auto; width: min(64vw, 400px); margin: 0; display: grid; align-items: center; pointer-events: none; z-index: 0; }
  .hero-system .hero-logo { opacity: .38; }
  .hero-copy h1, .hero-copy .lead { text-shadow: 0 0 3px #fffdf7, 0 0 6px #fffdf7, 0 0 10px #fffdf7, 0 0 18px rgba(255, 253, 247, .98), 0 0 28px rgba(255, 253, 247, .9); }
  html[data-theme="dark"] .hero-copy h1, html[data-theme="dark"] .hero-copy .lead { text-shadow: none; }
  .hero-copy { position: relative; z-index: 2; }
  .section-head, .principles-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-body { grid-template-columns: 1fr 190px; }
  .account-grid { grid-template-columns: 1fr; gap: 42px; }
  .broker-links-card { align-items: flex-start; flex-direction: column; gap: 28px; }
}

@media (max-width: 680px) {
  .page-shell, .header-inner { width: min(100% - 32px, 1180px); }
  .header-inner { min-height: 64px; }
  .brand { font-size: 11px; }
  .brand-mark { width: 25px; height: 25px; }
  .login-link { display: none; }
  .theme-switcher button { min-width: 32px; padding-inline: 6px; }
  .hero-grid { display: block; padding-block: 48px 24px; }
  .hero-system { width: min(100%, 360px); right: 0; margin: 0; }
  .hero-system .hero-logo { opacity: .34; }
  h1 { font-size: 52px; }
  h2 { font-size: 34px; }
  .lead { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .hero-index { width: 100%; grid-template-columns: 1fr; padding-inline: 16px; }
  .hero-index > div { padding: 16px 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-index > div:last-child { border-bottom: 0; }
  .section { padding-block: 88px; }
  .section-head { margin-bottom: 45px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-featured { grid-column: auto; }
  .product-body, .product-body.compact { display: block; padding: 29px; }
  .product-emblem { display: none; }
  .product-card { min-height: 360px; height: auto; aspect-ratio: auto; }
  .product-featured { min-height: 360px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 345px; padding: 31px 25px; }
  .service-card h3 { margin-top: 38px; font-size: 36px; }
  .product-topline { padding: 14px 17px; }
  .product-body h3 { font-size: 36px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-list h3 { margin-top: 24px; }
  .account-section { padding-block: 85px; }
  .broker-links-section { padding-block: 58px; }
  .broker-links-card { padding: 31px 25px; }
  .broker-links-card h2 { font-size: 31px; }
  .account-panel { padding: 27px 22px; }
  .support-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .site-footer nav { flex-wrap: wrap; }
  .footer-legal > div { flex-direction: column; gap: 8px; }
}

@media (max-width: 680px) {
  .site-header .header-inner { position: relative; flex-wrap: nowrap; justify-content: flex-end; gap: 12px; padding-block: 8px; }
  .site-header .header-inner > .brand { display: none; }
  .header-actions { display: contents; }
  .header-actions .theme-switcher { display: none; }
  .theme-cycle { display: block; order: 0; min-width: 80px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 12px; cursor: pointer; }
  .header-actions .login-link { display: flex; order: 1; min-height: 44px; justify-content: center; }
  .login-link small { display: none; }
  .mobile-menu-toggle { display: block; order: 2; width: 44px; height: 44px; border: 1px solid var(--line-gold); background: var(--surface); color: var(--ink); font-size: 24px; cursor: pointer; }
  .site-header .desktop-nav { display: none; position: absolute; top: 100%; right: 0; width: min(340px, 100%); max-height: 75vh; overflow-y: auto; padding: 12px; border: 1px solid var(--line-gold); background: var(--surface); box-shadow: var(--shadow); }
  .site-header .desktop-nav.mobile-open { display: block; }
  .product-menu summary { padding: 8px 12px; }
  .product-submenu { position: static; width: 100%; border: 0; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Product purchase actions */
.product-card-actions { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-top:1px solid var(--line);flex-shrink:0; }
.product-card-actions .product-link { border:0;padding:8px 0;min-height:44px;font-size:12px; }
.product-purchase { display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:44px;padding:10px 18px;border:1px solid var(--gold);color:var(--ink);background:var(--surface-strong);text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0; }
.product-swap .product-purchase { border-color:var(--blue);background:var(--blue-soft); }
.product-purchase:hover { border-color:var(--gold-bright);color:var(--gold-bright); }
.product-swap .product-purchase:hover { border-color:var(--blue-bright);color:var(--blue-bright); }
.product-card-actions a:focus-visible { outline:2px solid var(--gold);outline-offset:3px; }
@media(max-width:680px) { .product-card-actions { padding:12px 16px;gap:8px; } .product-purchase { padding-inline:12px;gap:8px; } }

/* Membership application actions */
.membership-banner .membership-actions { width:100%;padding:12px 0 0;gap:8px;border-color:var(--line-gold); }
.membership-actions .product-link { color:var(--gold-bright); }
.membership-actions .product-purchase { padding-inline:12px;gap:8px; }

/* Account card signed-in state */
.account-entry-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.account-entry-actions .button { min-width:0;padding:12px 8px;font-size:12px; }
.account-entry-actions[hidden], .account-login-status[hidden] { display:none; }
.account-panel .account-login-status { margin:0;padding:18px;border:1px solid var(--line-gold);color:var(--gold-bright);overflow-wrap:anywhere; }
