:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #050c17;
  --surface: rgba(13, 27, 47, .86);
  --surface-solid: #0d1b2f;
  --surface-soft: rgba(22, 40, 66, .68);
  --line: rgba(145, 174, 218, .18);
  --line-strong: rgba(145, 174, 218, .32);
  --ink: #f4f8ff;
  --muted: #9fb0c9;
  --soft: #c7d3e6;
  --cyan: #5ce7d4;
  --blue: #72a7ff;
  --purple: #a98cff;
  --amber: #ffca70;
  --danger: #ff8794;
  --success: #74e2b7;
  --radius: 22px;
  --shadow: 0 24px 90px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--ink);
  font: 15px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; }
.hidden { display: none !important; }

.page-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.page-glow-one { width: 720px; height: 720px; top: -420px; right: -180px; background: radial-gradient(circle, rgba(69, 122, 223, .24), transparent 68%); }
.page-glow-two { width: 620px; height: 620px; top: 420px; left: -410px; background: radial-gradient(circle, rgba(59, 215, 192, .12), transparent 70%); }

.site-header { border-bottom: 1px solid rgba(154, 181, 219, .1); background: rgba(6, 14, 26, .74); backdrop-filter: blur(18px); position: relative; z-index: 5; }
.site-header-inner { width: min(1180px, calc(100% - 40px)); min-height: 74px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(92, 231, 212, .44); border-radius: 12px; background: linear-gradient(145deg, rgba(92, 231, 212, .2), rgba(114, 167, 255, .08)); box-shadow: inset 0 0 20px rgba(92, 231, 212, .08); }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; width: 15px; height: 3px; border-radius: 3px; background: var(--cyan); position: absolute; transform-origin: center; }
.brand-mark { position: relative; }
.brand-mark::before { transform: translateY(-5px) rotate(-32deg); }
.brand-mark::after { transform: translateY(5px) rotate(32deg); }
.brand-mark span { transform: translateX(3px); }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 13px; letter-spacing: .16em; }
.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: .19em; margin-top: 5px; }
.flow-nav { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: rgba(12, 25, 43, .78); }
.flow-nav a { min-width: 92px; padding: 8px 16px; border-radius: 9px; color: var(--muted); text-align: center; font-weight: 700; text-decoration: none; transition: .2s ease; }
.flow-nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.flow-nav a[aria-current="page"] { color: #07121d; background: linear-gradient(110deg, var(--cyan), #8be4ed); box-shadow: 0 8px 24px rgba(92, 231, 212, .18); }
.header-status { justify-self: end; display: flex; align-items: center; gap: 9px; color: var(--soft); font-size: 13px; font-weight: 650; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(116, 226, 183, .1), 0 0 16px rgba(116, 226, 183, .7); }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 62px 0 86px; }
.eyebrow { display: block; color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .2em; margin-bottom: 15px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.04em; }

.home-hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; margin: 18px 0 48px; }
.hero-copy p, .flow-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; }
.trust-row { display: grid; gap: 13px; padding: 20px 22px; border-left: 1px solid var(--line-strong); color: var(--soft); }
.trust-row span { display: flex; align-items: center; gap: 10px; }
.trust-row i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: rgba(92,231,212,.1); font-style: normal; font-size: 11px; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.entry-card { position: relative; min-height: 410px; display: flex; flex-direction: column; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(18,35,59,.94), rgba(9,20,36,.96)); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.entry-card::before { content: ""; position: absolute; width: 300px; height: 300px; top: -190px; right: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(92,231,212,.18), transparent 68%); }
.entry-card-flow::before { background: radial-gradient(circle, rgba(169,140,255,.2), transparent 68%); }
.entry-card:hover { transform: translateY(-4px); border-color: rgba(92,231,212,.45); box-shadow: 0 30px 100px rgba(0,0,0,.38); }
.entry-card-flow:hover { border-color: rgba(169,140,255,.48); }
.entry-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 26px; border: 1px solid rgba(92,231,212,.28); border-radius: 17px; background: rgba(92,231,212,.1); }
.entry-card-flow .entry-icon { border-color: rgba(169,140,255,.32); background: rgba(169,140,255,.11); }
.entry-icon svg { width: 27px; height: 27px; fill: var(--cyan); }
.entry-card-flow .entry-icon svg { fill: var(--purple); }
.entry-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.entry-tag { padding: 5px 9px; border-radius: 7px; background: rgba(92,231,212,.11); color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.entry-card-flow .entry-tag { background: rgba(169,140,255,.12); color: #c6b6ff; }
.entry-state { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.entry-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.entry-content { display: grid; margin-top: 15px; }
.entry-content > strong { font-size: 29px; letter-spacing: -.03em; }
.entry-content > small { margin-top: 1px; color: var(--cyan); font-weight: 700; }
.entry-card-flow .entry-content > small { color: #c4b1ff; }
.entry-content > span { min-height: 52px; margin-top: 17px; color: var(--muted); }
.entry-steps { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.entry-steps b { padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--soft); font-size: 10px; font-weight: 650; }
.entry-action { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 25px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 800; }
.entry-action b { color: var(--cyan); font-size: 21px; }
.entry-card-flow .entry-action b { color: var(--purple); }
.home-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 18px 21px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13,27,47,.52); }
.home-note .note-icon { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(114,167,255,.14); color: var(--blue); font-weight: 800; }
.home-note strong { font-size: 13px; }
.home-note p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.flow-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 42px; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 13px; text-decoration: none; }
.back-link:hover { color: var(--cyan); }
.flow-hero h1 { font-size: clamp(36px, 4.8vw, 58px); }
.hero-mode { min-width: 172px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 17px 19px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13,27,47,.7); }
.hero-mode .live-dot { grid-row: 1 / 3; }
.hero-mode small { color: var(--muted); font-size: 11px; }
.hero-mode strong { font-size: 14px; }
.guide-panel { margin-bottom: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(140deg, rgba(18,36,60,.83), rgba(10,23,41,.8)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.section-heading span, .step-kicker, .support-label { color: var(--cyan); font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section-heading h2 { margin: 4px 0 0; font-size: 23px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.guide-grid-three { grid-template-columns: repeat(3, 1fr); }
.guide-grid li { min-height: 105px; padding: 15px; border: 1px solid rgba(145,174,218,.13); border-radius: 14px; background: rgba(7,17,31,.46); }
.guide-grid li > b { display: block; margin-bottom: 12px; color: var(--cyan); font-size: 11px; letter-spacing: .12em; }
.guide-grid li div { display: grid; gap: 5px; }
.guide-grid strong { font-size: 13px; }
.guide-grid span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.stage-nav { display: grid; grid-template-columns: 1fr 42px 1fr 42px 1fr; align-items: center; margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(7,17,31,.66); }
.stage-nav > i { height: 1px; background: var(--line-strong); }
.stage { display: flex; align-items: center; gap: 11px; opacity: .55; }
.stage b { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 10px; }
.stage span { display: grid; line-height: 1.25; }
.stage strong { font-size: 12px; }
.stage small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.stage.is-active, .stage.is-done { opacity: 1; }
.stage.is-active b { border-color: transparent; color: #06131d; background: var(--cyan); box-shadow: 0 0 24px rgba(92,231,212,.22); }
.stage.is-done b { border-color: rgba(116,226,183,.35); color: var(--success); background: rgba(116,226,183,.1); }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(270px, .85fr); gap: 22px; align-items: start; }
.workflow-column { min-width: 0; }
.workflow-card, .support-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.workflow-card { position: relative; padding: 30px; margin-bottom: 18px; }
.workflow-card.is-active { border-color: rgba(92,231,212,.26); }
.card-heading { margin-bottom: 24px; }
.card-heading-row { display: flex; justify-content: space-between; gap: 20px; }
.card-heading h2 { margin: 5px 0 5px; font-size: 26px; letter-spacing: -.02em; }
.card-heading p { margin: 0; color: var(--muted); }
.brand-field { margin-bottom: 23px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: rgba(5,14,26,.54); }
.field-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }
.brand-mark.mini { width: 29px; height: 29px; border-radius: 9px; transform: scale(.86); }
.field-brand > span:last-child { display: grid; line-height: 1.1; }
.field-brand strong { font-size: 11px; letter-spacing: .07em; }
.field-brand small { margin-top: 3px; color: var(--muted); font-size: 9px; }
label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 15px 0 7px; color: var(--soft); font-size: 13px; font-weight: 720; }
label small { color: var(--muted); font-size: 10px; font-weight: 500; }
input, textarea, select { width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: 12px; outline: none; background: rgba(4,13,25,.84); color: var(--ink); padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
input { min-height: 48px; }
textarea { resize: vertical; line-height: 1.5; }
select { min-height: 48px; color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #6e819e; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(92,231,212,.11); background: rgba(5,15,28,.98); }
.input-row { position: relative; }
.input-row input { padding-right: 72px; }
.icon-button { position: absolute; right: 6px; top: 6px; min-height: 36px; padding: 0 11px; border: 0; border-radius: 8px; background: rgba(114,167,255,.1); color: var(--blue); cursor: pointer; font-size: 11px; font-weight: 750; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.primary-button, .secondary-button, .clear-button, .text-button { min-height: 46px; border-radius: 11px; cursor: pointer; font-weight: 800; transition: .2s ease; }
.primary-button { min-width: 160px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; border: 0; padding: 0 18px; color: #06131c; background: linear-gradient(110deg, var(--cyan), #82d8ff); box-shadow: 0 13px 32px rgba(65,197,204,.16); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 16px 38px rgba(65,197,204,.24); }
.secondary-button { min-width: 150px; border: 1px solid var(--line-strong); padding: 0 17px; color: var(--soft); background: rgba(26,46,74,.75); }
.secondary-button:hover, .clear-button:hover { color: var(--ink); border-color: rgba(114,167,255,.52); }
button:disabled { opacity: .55; cursor: wait; transform: none !important; }
.text-button { min-height: 34px; height: 34px; border: 0; padding: 0 7px; color: var(--muted); background: transparent; }
.text-button:hover { color: var(--cyan); }
.summary-strip, .result-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(4,13,25,.48); }
.summary-strip div, .result-grid div { min-width: 0; padding: 13px 14px; border-right: 1px solid var(--line); }
.summary-strip div:last-child, .result-grid div:last-child { border-right: 0; }
dt { color: var(--muted); font-size: 10px; }
dd { overflow: hidden; margin: 3px 0 0; color: var(--soft); font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.field-feedback { min-height: 23px; margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.field-feedback[data-tone="success"] { color: var(--success); }
.field-feedback[data-tone="error"] { color: var(--danger); }
.two-fields { display: grid; grid-template-columns: .72fr 1.28fr; gap: 14px; }
.external-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.external-actions a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); font-size: 11px; font-weight: 720; text-decoration: none; }
.external-actions a:hover { border-color: rgba(114,167,255,.52); background: rgba(114,167,255,.06); }
.check-row { align-items: flex-start; justify-content: flex-start; margin-top: 17px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(6,16,29,.54); cursor: pointer; }
.check-row input { width: 18px; min-height: 18px; height: 18px; flex: 0 0 auto; margin: 2px 1px 0 0; accent-color: var(--cyan); }
.check-row span { display: grid; gap: 3px; }
.check-row strong { color: var(--soft); font-size: 12px; }
.check-row small { color: var(--muted); font-size: 11px; }
.warning-row { border-color: rgba(255,202,112,.28); background: rgba(255,202,112,.05); }
.result-card { padding-top: 34px; }
.result-icon { width: 52px; height: 52px; display: grid; place-items: center; float: right; border-radius: 17px; color: #07151e; background: var(--success); font-size: 22px; font-weight: 900; box-shadow: 0 0 30px rgba(116,226,183,.17); }
.result-card[data-tone="error"] .result-icon { color: #24080c; background: var(--danger); }
.status { padding-right: 72px; color: var(--success) !important; font-weight: 730; }
.result-card[data-tone="error"] .status { color: var(--danger) !important; }
.notice { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid rgba(114,167,255,.28); border-radius: 13px; color: var(--soft); background: rgba(114,167,255,.08); }
.notice[data-tone="error"] { border-color: rgba(255,135,148,.3); background: rgba(255,135,148,.07); }
.notice[data-tone="success"] { border-color: rgba(116,226,183,.28); background: rgba(116,226,183,.07); }
.notice > span { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: rgba(114,167,255,.16); color: var(--blue); font-weight: 800; font-size: 11px; }
.notice p { margin: 0; font-size: 12px; }
.support-column { position: sticky; top: 24px; display: grid; gap: 16px; }
.support-card { padding: 21px; box-shadow: 0 18px 65px rgba(0,0,0,.2); }
.support-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; color: var(--soft); font-size: 12px; font-weight: 800; }
.metric { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.metric span { color: var(--muted); font-size: 11px; }
.metric strong { text-align: right; font-size: 11px; }
.help-card h2 { margin: 7px 0 9px; font-size: 18px; }
.help-card p { color: var(--muted); font-size: 12px; }
.help-card ul { margin: 15px 0 0; padding: 14px 0 0 18px; border-top: 1px solid var(--line); color: var(--soft); font-size: 11px; }
.help-card li + li { margin-top: 6px; }
.clear-button { width: 100%; border: 1px solid var(--line); color: var(--muted); background: transparent; }

footer { width: min(1180px, calc(100% - 40px)); display: flex; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 23px 0 35px; border-top: 1px solid rgba(145,174,218,.1); color: #70829d; font-size: 10px; letter-spacing: .08em; }

@media (max-width: 900px) {
  .site-header-inner { grid-template-columns: 1fr auto; }
  .flow-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; margin-bottom: 12px; flex-wrap: wrap; }
  .flow-nav a { flex: 1 1 30%; min-width: 0; white-space: nowrap; }
  .header-status { grid-column: 2; grid-row: 1; }
  .home-hero { grid-template-columns: 1fr; gap: 25px; }
  .trust-row { grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 360px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid-three { grid-template-columns: repeat(3, 1fr); }
  .workspace-grid { grid-template-columns: 1fr; }
  .support-column { position: static; grid-template-columns: 1fr 1fr; }
  .clear-button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header-inner, .shell, footer { width: min(100% - 28px, 1180px); }
  .site-header-inner { min-height: 66px; gap: 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { display: none; }
  .header-status { font-size: 11px; }
  .shell { padding: 38px 0 62px; }
  h1 { font-size: 38px; }
  .home-hero { margin-top: 4px; margin-bottom: 30px; }
  .hero-copy p, .flow-hero p { font-size: 15px; }
  .trust-row { grid-template-columns: 1fr; gap: 9px; }
  .entry-card { min-height: 385px; padding: 22px; border-radius: 21px; }
  .entry-content > strong { font-size: 26px; }
  .flow-hero { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .flow-hero h1 { font-size: 36px; }
  .hero-mode { width: 100%; }
  .guide-panel { padding: 20px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .guide-grid, .guide-grid-three { grid-template-columns: 1fr; }
  .guide-grid li { min-height: auto; display: grid; grid-template-columns: 34px 1fr; gap: 3px; }
  .guide-grid li > b { margin: 1px 0 0; }
  .stage-nav { grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 10px; }
  .stage-nav > i { display: none; }
  .stage { gap: 6px; }
  .stage b { width: 27px; height: 27px; }
  .stage small { display: none; }
  .stage strong { font-size: 10px; }
  .workflow-card { padding: 21px; border-radius: 19px; }
  .card-heading-row { display: block; }
  .text-button { margin-top: 8px; padding: 0; }
  .summary-strip, .result-grid { grid-template-columns: 1fr 1fr; }
  .summary-strip div:nth-child(2), .result-grid div:nth-child(2) { border-right: 0; }
  .summary-strip div:nth-child(-n+2), .result-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two-fields { grid-template-columns: 1fr; gap: 0; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .primary-button, .secondary-button { width: 100%; }
  .support-column { grid-template-columns: 1fr; }
  .clear-button { grid-column: auto; }
  footer { display: grid; text-align: center; }
}

@media (max-width: 370px) {
  .site-header-inner, .shell, footer { width: calc(100% - 22px); }
  .brand-copy strong { letter-spacing: .09em; }
  .header-status span:last-child { display: none; }
  .flow-nav a { min-width: 0; padding-inline: 9px; }
  .entry-steps b { font-size: 9px; }
  .workflow-card, .guide-panel { padding: 17px; }
}

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

/* Shared AIWorldPass storefront identity; workflow selectors stay unchanged. */
:root {
  color-scheme: light;
  --bg: #fff; --bg-deep: #fafafa; --surface: #fff;
  --surface-solid: #fff; --surface-soft: #f6f7f8;
  --line: #e5e7eb; --line-strong: #cbd0d6;
  --ink: #171717; --muted: #59616c; --soft: #363b43;
  --cyan: #202020; --blue: #24547d; --purple: #64459a;
  --amber: #946000; --danger: #b42335; --success: #16805c;
  --shadow: 0 5px 22px rgba(0,0,0,.035);
}
body { background: #fff; }
.page-glow, .entry-card::before { display: none; }
.site-header { background: #fff; border-color: var(--line); }
.site-header-inner { grid-template-columns: auto 1fr auto; gap: 22px; }
.brand-mark, .brand-mark.mini { border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
.brand-mark::before, .brand-mark::after { display: none; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.flow-nav { justify-self: end; background: #f7f8f9; }
.flow-nav a { min-width: 0; padding-inline: 12px; }
.flow-nav a:hover { background: #eceef0; }
.flow-nav a[aria-current="page"], .primary-button, .stage.is-active b { background: #171717; color: #fff; box-shadow: none; }
.primary-button:hover { background: #303030; box-shadow: 0 5px 15px #0001; }
.entry-card { background: #fff; }
.entry-card:hover { border-color: #b3b8bf; box-shadow: 0 10px 30px #0001; }
.entry-card-flow .entry-tag, .entry-card-flow .entry-content > small { color: var(--purple); }
.home-note, .hero-mode, .guide-panel, .stage-nav, .brand-field, .summary-strip, .result-grid, .check-row { background: #f7f8fa; }
.guide-grid li { background: #fff; border-color: var(--line); }
.workflow-card.is-active { border-color: var(--line-strong); }
input, textarea, select, input:focus, textarea:focus, select:focus { background: #fff; color: var(--ink); color-scheme: light; }
input:focus, textarea:focus, select:focus { border-color: #59616c; box-shadow: 0 0 0 3px #20202014; }
.secondary-button { background: #fff; }
.support-card { box-shadow: var(--shadow); }
.warning-row { background: #fffbeb; border-color: #ead296; }
.result-icon, .result-card[data-tone="error"] .result-icon { color: #fff; }
.live-dot { box-shadow: 0 0 0 4px #16805c12; }
footer { color: var(--muted); border-color: var(--line); }
a:focus-visible, button:focus-visible { outline: 2px solid #24547d; outline-offset: 4px; }
@media (max-width: 1050px) {
  .site-header-inner { grid-template-columns: 1fr auto; }
  .flow-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; margin-bottom: 12px; flex-wrap: wrap; }
  .flow-nav a { flex: 1 1 30%; white-space: nowrap; }
  .header-status { grid-column: 2; grid-row: 1; }
}
@media (max-width: 620px) {
  .site-header-inner { gap: 12px; }
  .flow-hero h1 { font-size: 30px; line-height: 1.2; }
}
