:root {
  color-scheme: light;
  --navy-950: #0a2236;
  --navy-900: #102f4a;
  --navy-800: #174d72;
  --navy-700: #236589;
  --blue-100: #e8f1f7;
  --blue-50: #f3f8fb;
  --ink: #112335;
  --ink-soft: #526475;
  --ink-faint: #788896;
  --paper: #fbfaf6;
  --paper-2: #f2efe6;
  --white: #ffffff;
  --line: #06c755;
  --line-dark: #04a947;
  --coral: #c8614c;
  --gold: #bd8f47;
  --rule: #d9e0e4;
  --rule-dark: rgba(255, 255, 255, .16);
  --shadow: 0 20px 60px rgba(11, 39, 59, .10);
  --shadow-deep: 0 28px 80px rgba(5, 24, 38, .24);
  --sans: "Inter", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Noto Serif TC", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; border-radius: 8px; background: var(--navy-950); color: #fff; text-decoration: none; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:where(a, button, summary):focus-visible { outline: 3px solid rgba(35, 101, 137, .45); outline-offset: 4px; border-radius: 8px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid transparent; background: rgba(251, 250, 246, .86); backdrop-filter: blur(18px) saturate(160%); transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-color: rgba(17, 35, 53, .09); box-shadow: 0 8px 30px rgba(16, 47, 74, .06); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-logo { width: 210px; height: auto; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--navy-900); color: #fff; box-shadow: 0 8px 20px rgba(16, 47, 74, .18); }
.brand-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: var(--serif); font-size: 18px; letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; color: var(--ink-faint); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: 30px; }
.site-nav a, .text-link { position: relative; color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a::after, .text-link::after { position: absolute; content: ""; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--navy-800); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after, .text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.mobile-nav-actions { display: none; }
.nav-toggle { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; display: none; background: transparent; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; margin: 4px auto; display: block; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.button { min-height: 50px; padding: 12px 22px; border: 1px solid var(--navy-900); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--navy-900); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { background: var(--navy-800); box-shadow: 0 12px 30px rgba(16, 47, 74, .15); transform: translateY(-2px); }
.button-sm { min-height: 42px; padding: 10px 18px; font-size: 13px; }
.button-line { border-color: var(--line); background: var(--line); color: #062e16; }
.button-line:hover { border-color: var(--line-dark); background: var(--line-dark); color: #fff; }
.line-dot { width: 34px; height: 22px; display: inline-grid; place-items: center; border-radius: 6px; background: rgba(255, 255, 255, .88); color: #07873a; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.button-quiet { border-color: #cdd8de; background: transparent; color: var(--navy-900); }
.button-quiet:hover { background: #fff; }
.button-outline { border-color: #afbdc6; background: transparent; color: var(--navy-900); }
.button-dark-outline { border-color: rgba(255,255,255,.4); background: transparent; color: #fff; }
.button-dark-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.hero { position: relative; min-height: 810px; padding: 155px 0 95px; overflow: hidden; background: linear-gradient(120deg, var(--paper) 0%, var(--paper) 58%, #edf4f7 100%); }
.hero::before { position: absolute; content: ""; width: 540px; height: 540px; top: 60px; right: -160px; border-radius: 50%; border: 1px solid rgba(35, 101, 137, .12); box-shadow: 0 0 0 70px rgba(35, 101, 137, .025), 0 0 0 140px rgba(35, 101, 137, .018); }
.hero-grid, .cta-grid { position: absolute; inset: 0; opacity: .33; pointer-events: none; background-image: linear-gradient(rgba(16,47,74,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(16,47,74,.06) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, #000, transparent 58%); }
.hero-layout { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-index { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-700); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--coral); }
.hero h1 { margin: 24px 0 26px; font-family: var(--serif); font-size: clamp(50px, 5.3vw, 74px); font-weight: 700; letter-spacing: -.055em; line-height: 1.14; }
.hero h1 em { display: inline-block; color: var(--navy-700); font-style: normal; }
.hero-lead { max-width: 590px; margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.85; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 11px 20px; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.hero-proof svg { width: 16px; height: 16px; fill: none; stroke: var(--line-dark); stroke-width: 2.5; }

.product-stage { position: relative; min-height: 610px; }
.stage-glow { position: absolute; inset: 10% 0 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(35,101,137,.18), transparent 66%); filter: blur(10px); }
.phone-mockup { position: absolute; z-index: 3; width: 330px; min-height: 604px; top: 0; right: 115px; overflow: hidden; border: 8px solid var(--navy-950); border-radius: 38px; background: #eef1f3; box-shadow: var(--shadow-deep); }
.phone-top { height: 34px; padding: 8px 17px 0; display: flex; justify-content: space-between; color: var(--ink); font-size: 9px; font-weight: 700; }
.phone-island { width: 86px; height: 17px; margin-top: -3px; border-radius: 10px; display: block; background: var(--navy-950); }
.chat-head { height: 58px; padding: 8px 13px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #d6dde1; background: #fff; }
.chat-avatar { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: var(--navy-900); color: #fff; font-family: var(--serif); font-size: 14px; }
.chat-avatar img { width: 100%; height: 100%; }
.chat-head div { display: flex; flex-direction: column; line-height: 1.2; }
.chat-head strong { font-size: 13px; }
.chat-head small { color: var(--ink-faint); font-size: 9px; }
.chat-menu { margin-left: auto; color: var(--ink-faint); letter-spacing: 2px; }
.chat-body { height: 436px; padding: 15px 12px; overflow: hidden; background: #e7ecee; }
.user-bubble { width: max-content; max-width: 80%; margin: 0 0 12px auto; padding: 9px 12px; border-radius: 13px 3px 13px 13px; background: var(--line); color: #082e17; font-size: 10px; }
.scan-card { padding: 12px; border-radius: 3px 14px 14px 14px; background: #fff; box-shadow: 0 5px 15px rgba(24,50,68,.08); }
.scan-title { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; }
.status-pill { padding: 2px 7px; border-radius: 10px; background: #fff0cf; color: #825b0a; font-size: 8px; }
.receipt-visual { height: 86px; padding: 11px 15px; display: flex; flex-direction: column; justify-content: center; border: 1px dashed #b9c5ca; background: #f9f7ee; color: #59636a; font-family: var(--mono); font-size: 7px; text-align: center; }
.receipt-visual .receipt-brand { margin-bottom: 5px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.receipt-visual strong { margin-top: 4px; color: var(--ink); font-size: 16px; }
.scan-data { margin: 9px 0; }
.scan-data div { padding: 4px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #edf0f2; font-size: 8px; }
.scan-data dt { color: var(--ink-faint); }
.scan-data dd { margin: 0; color: var(--ink); font-weight: 600; }
.scan-data .scan-total { color: var(--navy-700); }
.scan-data .scan-total dd { color: var(--navy-700); font-size: 10px; }
.scan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; font-size: 8px; text-align: center; }
.scan-actions span, .scan-actions strong { padding: 7px 5px; border-radius: 5px; }
.scan-actions span { background: #edf1f3; }
.scan-actions strong { background: var(--line); color: #07351a; }
.rich-menu-mini { height: 68px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d4dcdf; background: #fff; }
.rich-menu-mini span { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #e4e8ea; color: var(--ink-soft); font-size: 9px; }
.rich-menu-mini b { color: var(--navy-800); font-size: 17px; line-height: 1; }
.ledger-float { position: absolute; z-index: 2; width: 260px; top: 96px; right: -10px; padding: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-deep); transform: rotate(2deg); }
.float-head { display: flex; justify-content: space-between; color: rgba(255,255,255,.65); font-size: 9px; letter-spacing: .08em; }
.float-metric { margin-top: 24px; display: flex; flex-direction: column; }
.float-metric small { color: rgba(255,255,255,.58); }
.float-metric strong { margin: 3px 0; font-size: 24px; letter-spacing: -.04em; }
.float-metric span { color: #8edaa9; font-size: 9px; }
.float-bars { height: 82px; margin-top: 15px; display: flex; align-items: end; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.22); }
.float-bars i { width: 100%; height: var(--h); display: block; border-radius: 4px 4px 0 0; background: linear-gradient(#64b8d5, #347798); }
.accuracy-float { position: absolute; z-index: 4; right: 0; bottom: 32px; width: 280px; padding: 14px; border: 1px solid #dbe4e7; border-radius: 13px; display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.accuracy-float > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #dff7e8; color: #0f8240; font-weight: 800; }
.accuracy-float div { display: flex; flex-direction: column; line-height: 1.35; }
.accuracy-float strong { font-size: 11px; }
.accuracy-float small { color: var(--ink-faint); font-size: 8px; }

.trust-strip { padding: 20px 0; border-block: 1px solid #dbe2e5; background: rgba(255,255,255,.72); }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 26px; color: var(--ink-faint); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.trust-items i { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }

.section-heading { max-width: 650px; margin-bottom: 62px; }
.section-heading h2, .fx-copy h2, .final-cta h2 { margin: 15px 0 20px; font-family: var(--serif); font-size: clamp(38px, 4vw, 56px); letter-spacing: -.045em; line-height: 1.28; }
.section-heading > p, .section-heading.split > p { max-width: 610px; margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .section-index { justify-content: center; }
.section-heading.centered > p { margin-inline: auto; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 100px; }
.section-heading.split h2 { margin-bottom: 0; }
.problem-section { background: #fff; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.outcome-card { min-height: 315px; padding: 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; background: #fff; }
.outcome-no { color: var(--coral); font-family: var(--mono); font-size: 11px; font-weight: 700; }
.outcome-card h3 { margin: auto 0 13px; font-family: var(--serif); font-size: 25px; }
.outcome-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.outcome-card small { margin-top: 26px; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.guide-section { background: var(--paper-2); }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: none; }
.step-card { position: relative; min-height: 350px; padding: 30px 26px; border: 1px solid #d4d1c8; border-right: 0; background: rgba(255,255,255,.46); }
.step-card:last-child { border-right: 1px solid #d4d1c8; }
.step-card:not(:last-child)::after { position: absolute; z-index: 2; content: "→"; right: -14px; top: 80px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #d4d1c8; border-radius: 50%; background: var(--paper-2); color: var(--ink-faint); font-size: 12px; }
.step-number { color: var(--ink-faint); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.step-icon { width: 62px; height: 62px; margin: 42px 0 26px; display: grid; place-items: center; border-radius: 18px; background: var(--blue-100); color: var(--navy-800); }
.step-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.step-icon.line { background: #dcf7e5; color: #05883a; }
.step-icon.line span { font-size: 10px; font-weight: 800; }
.step-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.guide-note { margin-top: 22px; padding: 18px 24px; display: flex; align-items: center; gap: 20px; border: 1px dashed #c5c0b4; color: var(--ink-soft); font-size: 12px; }
.guide-note strong { margin-right: auto; color: var(--ink); }
.guide-note span { padding-left: 18px; position: relative; }
.guide-note span::before { position: absolute; content: "✓"; left: 0; color: var(--line-dark); font-weight: 800; }

.feature-section { background: #fff; }
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bento-card { position: relative; min-height: 320px; padding: 36px; overflow: hidden; border: 1px solid var(--rule); border-radius: 16px; background: var(--blue-50); }
.bento-card h3 { max-width: 440px; margin: 11px 0 12px; font-family: var(--serif); font-size: 27px; line-height: 1.35; }
.bento-card > p { max-width: 490px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.bento-large { min-height: 405px; grid-column: span 2; }
.card-kicker { color: var(--navy-700); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-icon { width: 46px; height: 46px; margin-bottom: 38px; display: grid; place-items: center; border: 1px solid #bed0da; border-radius: 13px; color: var(--navy-800); font-family: var(--serif); font-weight: 700; }
.bento-ai { padding-right: 45%; background: var(--navy-900); color: #fff; }
.bento-ai .card-kicker, .bento-report .card-kicker { color: #7ec4df; }
.bento-ai > p { color: rgba(255,255,255,.7); }
.ocr-fields { position: absolute; top: 36px; right: 36px; width: 38%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ocr-fields span { padding: 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; color: rgba(255,255,255,.75); font-size: 11px; }
.ocr-fields span:nth-child(3n+1) { background: rgba(126,196,223,.10); }
.confidence { position: absolute; right: 36px; bottom: 36px; width: 38%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: 9px; }
.confidence div { height: 4px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.13); }
.confidence i { width: 96%; height: 100%; display: block; background: #7ec4df; }
.confidence strong { color: #fff; font-size: 11px; }
.bento-currency { background: #edf7f0; }
.currency-pair { margin-top: 42px; padding: 15px 18px; display: flex; align-items: center; gap: 16px; border: 1px solid #c5ddcc; border-radius: 10px; background: rgba(255,255,255,.7); font-family: var(--mono); font-size: 12px; }
.currency-pair i { margin-left: auto; color: var(--ink-faint); font-style: normal; }
.currency-pair strong { color: #176b43; }
.bento-report { padding-right: 54%; background: #f4f0e7; }
.bento-report .card-kicker { color: var(--gold); }
.report-preview { position: absolute; top: 30px; right: 30px; bottom: 30px; width: 48%; overflow: hidden; border: 1px solid #d6d3cb; border-radius: 10px; display: grid; grid-template-columns: 34% 1fr; background: #fff; box-shadow: 0 12px 30px rgba(29,49,63,.08); }
.report-sidebar { padding: 20px 14px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid #e6e7e5; background: var(--navy-900); color: rgba(255,255,255,.65); font-size: 8px; }
.report-sidebar b { margin-bottom: 18px; color: #fff; font-size: 11px; }
.report-sidebar span { padding: 7px; border-radius: 4px; }
.report-sidebar .active { background: rgba(255,255,255,.12); color: #fff; }
.report-main { padding: 22px 18px; }
.report-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report-stats span { padding: 10px; border: 1px solid #e0e5e7; border-radius: 5px; display: flex; flex-direction: column; }
.report-stats small { color: var(--ink-faint); font-size: 7px; }
.report-stats b { font-size: 10px; }
.report-chart { margin-top: 24px; }
.report-chart i { width: var(--w); height: 16px; margin-bottom: 14px; display: block; border-radius: 2px; background: linear-gradient(90deg, var(--navy-800), #7ab3ca); }

.fx-section { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; }
.fx-section::before { position: absolute; content: ""; inset: 0; opacity: .08; background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0); background-size: 34px 34px; }
.fx-layout { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.section-index.light { color: #7ec4df; }
.fx-copy h2 { margin-top: 17px; }
.fx-copy > p { color: rgba(255,255,255,.68); font-size: 16px; }
.fx-points { margin: 36px 0 0; padding: 0; list-style: none; }
.fx-points li { padding: 14px 0; border-top: 1px solid var(--rule-dark); display: grid; grid-template-columns: 38px 1fr; color: rgba(255,255,255,.8); font-size: 13px; }
.fx-points span { color: #7ec4df; font-family: var(--mono); font-size: 9px; }
.fx-table-wrap { border: 1px solid rgba(255,255,255,.18); border-radius: 15px; overflow: hidden; background: rgba(255,255,255,.06); box-shadow: var(--shadow-deep); backdrop-filter: blur(10px); }
.fx-table-head { padding: 18px 22px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.fx-table-row { padding: 16px 22px; display: grid; grid-template-columns: .65fr 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.10); font-family: var(--mono); font-size: 12px; }
.fx-table-row.head { color: rgba(255,255,255,.44); font-size: 9px; }
.fx-table-row b { color: #8bd0e8; }
.fx-table-row strong { text-align: right; }
.fx-table-foot { padding: 22px; display: flex; justify-content: space-between; background: rgba(126,196,223,.09); }
.fx-table-foot span { color: rgba(255,255,255,.6); }
.fx-table-foot strong { font-size: 21px; }

.workflow-section { background: #fff; }
.workflow-map { padding: 32px; border: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; }
.workflow-map article { min-height: 260px; padding: 22px; }
.role-icon { width: 54px; height: 54px; margin-bottom: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--navy-800); font-family: var(--serif); font-size: 19px; font-weight: 700; }
.workflow-map small { color: var(--coral); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.workflow-map h3 { margin: 8px 0 10px; font-family: var(--serif); font-size: 20px; }
.workflow-map p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.flow-arrow { color: #a6b1b8; font-style: normal; }
.control-tags { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.control-tags span { padding: 7px 13px; border: 1px solid #d5dde1; border-radius: 20px; color: var(--ink-soft); font-size: 10px; }

.admin-section { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; }
.admin-section::before { position: absolute; content: ""; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(135deg, #000, transparent 72%); }
.admin-section .shell { position: relative; }
.admin-section .section-heading h2 { color: #fff; }
.admin-section .section-heading > p, .admin-section .section-heading.split > p { color: rgba(255,255,255,.68); }
.admin-console-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 22px; align-items: stretch; }
.admin-scope-list { display: grid; gap: 10px; }
.admin-scope-list article { padding: 23px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.055); }
.admin-scope-list span { color: #7ec4df; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.admin-scope-list h3 { margin: 8px 0 7px; color: #fff; font-family: var(--serif); font-size: 21px; }
.admin-scope-list p { margin: 0; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.7; }
.admin-board { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 17px; background: #f7f9fa; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.admin-board-top { min-height: 76px; padding: 15px 18px 15px 22px; border-bottom: 1px solid #dbe3e8; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; }
.admin-board-top div { display: flex; flex-direction: column; }
.admin-board-top small { color: var(--ink-faint); font-size: 10px; }
.admin-board-top strong { font-size: 14px; }
.admin-board-top > span { padding: 7px 11px; border-radius: 18px; background: #def4e7; color: #176b43; font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-board-body { min-height: 430px; display: grid; grid-template-columns: 142px 1fr; }
.admin-board-nav { padding: 21px 12px; display: flex; flex-direction: column; gap: 7px; background: #102f4a; color: rgba(255,255,255,.62); }
.admin-board-nav strong { margin: 0 8px 15px; color: #fff; font-size: 12px; }
.admin-board-nav span { padding: 9px 10px; border-radius: 7px; font-size: 10px; }
.admin-board-nav .active { background: rgba(255,255,255,.13); color: #fff; }
.admin-board-main { min-width: 0; padding: 20px; }
.admin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.admin-metrics span { padding: 12px; border: 1px solid #dce4e8; border-radius: 8px; display: flex; flex-direction: column; background: #fff; }
.admin-metrics small { color: var(--ink-faint); font-size: 9px; }
.admin-metrics b { margin-top: 3px; color: var(--navy-800); font-size: 23px; }
.admin-setting-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-setting-grid article { min-width: 0; min-height: 105px; padding: 13px; border: 1px solid #dce4e8; border-radius: 8px; display: flex; flex-direction: column; background: #fff; }
.admin-setting-grid small { color: var(--ink-faint); font-size: 9px; }
.admin-setting-grid b { margin: 5px 0; font-size: 13px; }
.admin-setting-grid span { color: var(--ink-soft); font-size: 10px; }
.admin-audit-row { margin-top: 12px; padding: 13px 15px; border-left: 3px solid var(--navy-700); display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; background: #eaf2f6; }
.admin-audit-row span { color: var(--ink-faint); font-size: 9px; }
.admin-audit-row b { font-size: 11px; text-align: right; }
.admin-audit-row small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 9px; }

.commercial-section { background: #f7f8f7; }
.commercial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.standard-card { position: relative; min-height: 285px; padding: 29px 27px; border: 1px solid #d6dfe4; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(15,47,72,.045); }
.standard-code { color: var(--navy-700); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.standard-state { position: absolute; top: 24px; right: 24px; padding: 5px 9px; border: 1px solid #b8d7c5; border-radius: 14px; background: #eff8f3; color: #176b43; font-size: 9px; }
.standard-card h3 { margin: 53px 0 11px; font-family: var(--serif); font-size: 22px; }
.standard-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.commercial-note { margin-top: 16px; padding: 20px 24px; border: 1px solid #d4dde2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; background: #eef3f6; }
.commercial-note strong { font-size: 13px; }
.commercial-note span { color: var(--ink-soft); font-size: 12px; }
.commercial-note a { min-height: 44px; display: inline-flex; align-items: center; color: var(--navy-700); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }

.company-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #123752, #0a2236); color: #fff; }
.company-section::after { position: absolute; content: ""; width: 520px; height: 520px; right: -220px; bottom: -310px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.018); }
.company-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 90px; }
.company-copy h2 { margin: 17px 0 20px; font-family: var(--serif); font-size: clamp(38px, 4vw, 56px); letter-spacing: -.045em; line-height: 1.28; }
.company-copy > p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.85; }
.company-principles { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.company-principles span { padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.78); font-size: 11px; }
.company-card { padding: 36px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: var(--shadow-deep); }
.company-card-label { color: var(--navy-700); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.company-card h3 { margin: 12px 0 24px; font-family: var(--serif); font-size: 27px; line-height: 1.4; }
.company-card dl { margin: 0 0 26px; }
.company-card dl div { padding: 10px 0; border-top: 1px solid #dfe5e8; display: grid; grid-template-columns: 100px 1fr; gap: 14px; }
.company-card dt { color: var(--ink-faint); font-size: 11px; }
.company-card dd { margin: 0; color: var(--ink); font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.company-card dd a { color: var(--navy-700); }
.button-company { width: 100%; }

.use-cases { background: var(--paper-2); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use-card { padding: 24px 24px 30px; border: 1px solid #d8d4ca; background: rgba(255,255,255,.62); }
.use-card h3 { margin: 24px 0 10px; font-family: var(--serif); font-size: 23px; }
.use-card > p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.use-card ul { margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid #dedad1; display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; color: var(--navy-700); font-size: 10px; font-weight: 700; }
.use-visual { position: relative; height: 150px; overflow: hidden; background: var(--navy-900); }
.use-visual::before { position: absolute; content: ""; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 24px 24px; }
.use-visual span, .use-visual i, .use-visual b { position: absolute; display: block; border: 2px solid #8ac4db; background: rgba(138,196,219,.12); }
.use-visual span { width: 48px; height: 72px; left: 50%; bottom: 20px; transform: translateX(-50%); }
.use-visual i { width: 38px; height: 52px; left: 27%; bottom: 20px; }
.use-visual b { width: 38px; height: 90px; right: 25%; bottom: 20px; }
.use-visual.office span { width: 120px; height: 88px; }
.use-visual.office i, .use-visual.office b { width: 30px; height: 30px; bottom: 0; border-radius: 50%; }
.use-visual.group span { width: 70px; height: 100px; }
.use-visual.group i { left: 16%; width: 76px; height: 58px; }
.use-visual.group b { right: 16%; width: 76px; height: 58px; }

.pricing-section { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 38px 34px; border: 1px solid var(--rule); border-radius: 15px; display: flex; flex-direction: column; background: #fff; }
.price-card.featured { border: 2px solid var(--navy-800); background: var(--blue-50); box-shadow: var(--shadow); transform: translateY(-12px); }
.recommended { position: absolute; top: -14px; left: 50%; padding: 5px 15px; border-radius: 14px; background: var(--navy-800); color: #fff; font-size: 10px; font-weight: 700; transform: translateX(-50%); white-space: nowrap; }
.plan-code { color: var(--coral); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.price-card h3 { margin: 8px 0 17px; font-family: var(--serif); font-size: 24px; }
.price { color: var(--navy-900); font-size: 39px; font-weight: 700; letter-spacing: -.04em; }
.price small { margin-right: 6px; font-size: 12px; }
.price span { color: var(--ink-faint); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.price-card > p { min-height: 48px; margin: 8px 0 24px; color: var(--ink-soft); font-size: 12px; }
.price-card ul { margin: 0 0 30px; padding: 22px 0 0; border-top: 1px solid var(--rule); list-style: none; }
.price-card li { margin: 10px 0; display: flex; gap: 9px; color: var(--ink-soft); font-size: 12px; }
.price-card li span { color: var(--line-dark); font-weight: 800; }
.price-card .button { width: 100%; margin-top: auto; }
.enterprise-line { margin-top: 20px; padding: 23px 28px; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.enterprise-line div { display: flex; flex-direction: column; }
.enterprise-line span { color: var(--ink-soft); font-size: 12px; }
.enterprise-line a { color: var(--navy-700); font-size: 13px; font-weight: 700; text-decoration: none; }

.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .62fr 1fr; gap: 100px; align-items: start; }
.faq-layout .section-heading { position: sticky; top: 120px; }
.inline-arrow { margin-top: 20px; display: inline-flex; gap: 18px; color: var(--navy-700); font-size: 13px; font-weight: 700; text-decoration: none; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { min-height: 76px; padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 24px; height: 24px; flex: 0 0 24px; }
.faq-list summary span::before, .faq-list summary span::after { position: absolute; content: ""; top: 11px; right: 3px; left: 3px; height: 1px; background: var(--ink); transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { margin: -3px 42px 23px 4px; color: var(--ink-soft); font-size: 14px; }

.final-cta { position: relative; padding: 120px 0; overflow: hidden; background: var(--navy-900); color: #fff; }
.cta-grid { opacity: .13; mask-image: radial-gradient(circle at center, black, transparent 70%); }
.cta-inner { position: relative; max-width: 850px; text-align: center; }
.cta-inner .section-index { justify-content: center; }
.final-cta h2 { margin: 17px 0 20px; font-size: clamp(42px, 5vw, 64px); }
.final-cta p { max-width: 650px; margin: 0 auto; color: rgba(255,255,255,.7); font-size: 16px; }
.final-cta .hero-actions { justify-content: center; }

.site-footer { padding: 70px 0 25px; border-top: 1px solid #dfe4e6; background: #f6f5f0; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; }
.footer-brand p { max-width: 340px; margin: 20px 0 0; color: var(--ink-soft); font-size: 12px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid h3 { margin: 4px 0 12px; font-size: 12px; }
.footer-grid > div:not(.footer-brand) a { color: var(--ink-soft); font-size: 11px; text-decoration: none; }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--navy-700); }
.footer-bottom { margin-top: 55px; padding-top: 20px; border-top: 1px solid #d8dddf; display: flex; justify-content: space-between; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .site-nav { gap: 19px; }
  .hero-layout { grid-template-columns: .9fr 1.1fr; gap: 30px; }
  .phone-mockup { right: 90px; }
  .ledger-float { right: -20px; }
  .workflow-map { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .flow-arrow { display: none; }
  .workflow-map article { border-right: 1px solid var(--rule); }
  .workflow-map article:last-child { border: 0; }
}

@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; justify-self: end; }
  .header-actions { display: none; }
  .site-nav { position: fixed; top: 78px; right: 0; left: 0; padding: 20px 24px 28px; border-bottom: 1px solid var(--rule); display: flex; align-items: stretch; flex-direction: column; gap: 0; background: rgba(251,250,246,.98); box-shadow: 0 20px 40px rgba(12,38,56,.12); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .site-nav a { min-height: 48px; padding: 13px 2px; border-bottom: 1px solid #e2e5e4; }
  .site-nav .mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .site-nav .mobile-nav-actions a { min-height: 48px; padding: 13px 16px; border: 1px solid var(--navy-800); color: var(--paper); text-align: center; }
  .site-nav .mobile-nav-actions a::after { display: none; }
  .site-nav .mobile-nav-actions .button-quiet { background: transparent; color: var(--navy-800); }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 0; padding-top: 130px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .product-stage { width: min(100%, 650px); margin: 30px auto 0; }
  .section-heading.split { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2) { border-right: 1px solid #d4d1c8; }
  .step-card:nth-child(2)::after { display: none; }
  .bento-ai { padding-right: 36px; padding-bottom: 230px; }
  .ocr-fields { top: auto; right: 36px; bottom: 60px; left: 36px; width: auto; grid-template-columns: repeat(4, 1fr); }
  .confidence { right: 36px; bottom: 28px; left: 36px; width: auto; }
  .bento-report { padding-right: 36px; padding-bottom: 300px; }
  .report-preview { top: auto; right: 30px; bottom: 30px; left: 30px; width: auto; height: 240px; }
  .fx-layout { grid-template-columns: 1fr; gap: 55px; }
  .workflow-map { grid-template-columns: repeat(2, 1fr); }
  .workflow-map article:nth-child(2) { border-right: 0; }
  .workflow-map article:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .admin-console-layout { grid-template-columns: 1fr; }
  .admin-scope-list { grid-template-columns: repeat(3, 1fr); }
  .admin-scope-list article { padding: 20px; }
  .commercial-grid { grid-template-columns: repeat(2, 1fr); }
  .company-layout { grid-template-columns: 1fr; gap: 44px; }
  .company-copy { max-width: 720px; }
  .use-grid, .pricing-grid { grid-template-columns: 1fr; }
  .use-card { display: grid; grid-template-columns: .8fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 24px; }
  .use-visual { grid-row: 1 / 4; }
  .use-card h3 { margin-top: 0; }
  .price-card.featured { transform: none; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-layout .section-heading { position: static; }
  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 72px 0; }
  .brand-copy small { display: none; }
  .brand-logo { width: 168px; }
  .hero { padding: 118px 0 64px; }
  .hero h1 { font-size: clamp(41px, 12vw, 54px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { align-items: flex-start; flex-direction: column; }
  .product-stage { min-height: 570px; transform: scale(.92); transform-origin: top center; margin-bottom: -45px; }
  .phone-mockup { right: auto; left: 0; width: 310px; }
  .ledger-float { width: 215px; right: -24px; }
  .float-metric strong { font-size: 20px; }
  .accuracy-float { right: -10px; width: 242px; }
  .trust-items { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .trust-items::-webkit-scrollbar { display: none; }
  .trust-items span { flex: 0 0 auto; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .fx-copy h2 { font-size: 37px; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-card { min-height: 260px; }
  .steps { grid-template-columns: 1fr; }
  .step-card, .step-card:nth-child(2) { min-height: 300px; border-right: 1px solid #d4d1c8; border-bottom: 0; }
  .step-card:last-child { border-bottom: 1px solid #d4d1c8; }
  .step-card:not(:last-child)::after { top: auto; right: 50%; bottom: -14px; content: "↓"; transform: translateX(50%); }
  .step-card:nth-child(2)::after { display: grid; }
  .step-icon { margin: 30px 0 22px; }
  .guide-note { align-items: flex-start; flex-direction: column; gap: 8px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }
  .bento-card { padding: 28px; }
  .bento-ai { padding-bottom: 320px; }
  .ocr-fields { right: 28px; bottom: 62px; left: 28px; grid-template-columns: repeat(2, 1fr); }
  .confidence { right: 28px; bottom: 28px; left: 28px; }
  .bento-report { padding-bottom: 280px; }
  .report-preview { right: 18px; bottom: 18px; left: 18px; height: 230px; }
  .fx-table-row { padding: 13px 12px; grid-template-columns: .55fr 1fr 1fr 1fr; font-size: 9px; }
  .fx-table-head { padding: 15px 12px; }
  .workflow-map { padding: 0; grid-template-columns: 1fr; }
  .workflow-map article { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--rule) !important; }
  .workflow-map article:last-child { border-bottom: 0 !important; }
  .admin-scope-list { grid-template-columns: 1fr; }
  .admin-board-top { align-items: flex-start; flex-direction: column; }
  .admin-board-body { display: block; }
  .admin-board-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-board-nav strong { grid-column: 1 / -1; margin-bottom: 4px; }
  .admin-board-main { padding: 14px; }
  .admin-metrics span { padding: 10px 8px; }
  .admin-metrics small { min-height: 31px; }
  .admin-setting-grid { grid-template-columns: 1fr; }
  .admin-audit-row { grid-template-columns: 1fr; }
  .admin-audit-row b { text-align: left; }
  .admin-audit-row small { grid-column: auto; }
  .commercial-grid { grid-template-columns: 1fr; }
  .standard-card { min-height: 0; }
  .commercial-note { grid-template-columns: 1fr; gap: 7px; }
  .company-principles { grid-template-columns: 1fr; }
  .company-card { padding: 28px 23px; }
  .company-card dl div { grid-template-columns: 1fr; gap: 3px; }
  .use-card { display: block; }
  .use-visual { margin-bottom: 22px; }
  .use-card h3 { margin-top: 0; }
  .price-card { padding: 34px 26px; }
  .enterprise-line { align-items: flex-start; flex-direction: column; }
  .faq-list summary { font-size: 16px; }
  .final-cta { padding: 88px 0; }
  .final-cta h2 { font-size: 39px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 12px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  .product-stage { transform: scale(.82); margin-left: -18px; margin-right: -18px; margin-bottom: -95px; }
  .ledger-float { right: -35px; }
  .accuracy-float { right: -25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

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

@media print {
  .site-header, .hero-actions, .final-cta, .site-footer { display: none; }
  .hero, .section { min-height: 0; padding: 36px 0; break-inside: avoid; }
  .reveal { opacity: 1; transform: none; }
}
