:root {
  --ink: #10251f;
  --ink-2: #17332a;
  --lime: #d7ff45;
  --lime-soft: #efffc0;
  --paper: #f4f3ed;
  --white: #fff;
  --line: #d9ded8;
  --muted: #66736e;
  --danger: #9d2f2f;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16, 37, 31, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans TC", sans-serif; line-height: 1.65; }
body.app-page { background: #eeeee8; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand, .eyebrow, .button, .product-price, .panel-title, .progress-steps { font-family: Manrope, "Noto Sans TC", sans-serif; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow-shell { width: min(820px, calc(100% - 48px)); }
.content-shell { width: min(1080px, calc(100% - 48px)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--lime); color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 100; border-bottom: 1px solid rgba(16,37,31,.11); background: rgba(244,243,237,.94); backdrop-filter: blur(14px); }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 8px 28px rgba(16,37,31,.07); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border-radius: 50%; background: var(--ink) url("../images/brand/brand-mark.png") center/cover; color: transparent; font-size: 0; overflow: hidden; }
.brand strong { display: block; font-size: 18px; font-weight: 800; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .28em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.main-nav > a { position: relative; padding: 8px 0; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--ink); transition: right .2s; }
.main-nav > a:hover::after { right: 0; }
.guest-actions, .member-actions { display: flex; align-items: center; gap: 16px; padding-left: 18px; border-left: 1px solid var(--line); }
.member-actions form { margin: 0; }
.member-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; background: white; border: 1px solid var(--line); border-radius: 999px; }
.status-dot, .online i { width: 8px; height: 8px; border-radius: 50%; background: #62c779; box-shadow: 0 0 0 4px rgba(98,199,121,.16); }
.text-button { padding: 0; border: 0; background: none; cursor: pointer; font-size: 12px; color: var(--muted); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--ink); transition: .2s; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 24px; padding: 13px 24px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 800; letter-spacing: .08em; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,37,31,.16); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.button-ghost { border-color: var(--line); background: transparent; }
.button-sm { min-height: 42px; padding: 10px 18px; }
.button-full { width: 100%; }
.button-disabled { pointer-events: none; opacity: .4; }
button:disabled { cursor: not-allowed; opacity: .45; }
.link-arrow { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 10px; font-weight: 800; letter-spacing: .25em; }
.eyebrow span { width: 30px; height: 2px; background: currentColor; }
em { color: var(--lime); font-style: normal; }

.hero { overflow: hidden; background: var(--ink); color: white; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 650px; align-items: stretch; }
.hero-copy { z-index: 2; align-self: center; padding: 80px 50px 80px 0; }
.hero-copy h1 { max-width: 620px; margin-bottom: 30px; font-size: clamp(54px, 6vw, 86px); line-height: .98; letter-spacing: -.06em; }
.hero-lead { max-width: 500px; color: #b9c7c0; font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin: 40px 0 56px; }
.trust-row { display: flex; gap: 36px; color: #8da099; font-size: 10px; letter-spacing: .08em; }
.trust-row span { padding-right: 28px; border-right: 1px solid #385148; }
.trust-row span:last-child { border: 0; }
.trust-row b { display: block; margin-bottom: 4px; color: white; font: 800 13px Manrope; }
.hero-visual { position: relative; min-height: 650px; }
.hero-image { position: absolute; inset: 0 calc((100vw - min(1180px, calc(100vw - 48px))) / -2) 0 0; background: linear-gradient(90deg, rgba(16,37,31,.25), transparent 35%), url("../images/hero/store-vision.jpg") center/cover; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,37,31,.28), transparent 50%); }
.scan-frame { position: absolute; inset: 14% 10% 16%; border: 1px solid rgba(215,255,69,.5); }
.scan-frame span { position: absolute; width: 26px; height: 26px; border-color: var(--lime); }
.scan-frame span:nth-child(1) { top: -2px; left: -2px; border-top: 3px solid; border-left: 3px solid; }
.scan-frame span:nth-child(2) { top: -2px; right: -2px; border-top: 3px solid; border-right: 3px solid; }
.scan-frame span:nth-child(3) { bottom: -2px; left: -2px; border-bottom: 3px solid; border-left: 3px solid; }
.scan-frame span:nth-child(4) { bottom: -2px; right: -2px; border-bottom: 3px solid; border-right: 3px solid; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.floating-card small { display: block; margin-bottom: 3px; color: var(--muted); font: 700 8px Manrope; letter-spacing: .17em; }
.floating-card strong { display: block; font-size: 13px; }
.recognition-card { left: 4%; bottom: 10%; }
.recognition-icon { display: grid; width: 32px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--lime); font-weight: 800; }
.speed-card { right: 0; top: 16%; display: block; text-align: center; }
.speed-card strong { color: var(--ink); font: 800 24px Manrope; }
.marquee { overflow: hidden; border-top: 1px solid #345047; background: var(--lime); color: var(--ink); white-space: nowrap; }
.marquee div { width: max-content; padding: 13px 0; font: 800 11px Manrope; letter-spacing: .18em; animation: marquee 24s linear infinite; }
.marquee i { margin: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-block { padding: 110px 0 120px; }
.section-block.compact { padding-top: 85px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 50px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.1; letter-spacing: -.045em; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 22px; }
.product-card { min-width: 0; }
.product-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1 / .92; background: #e6e6e0; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-image { transform: scale(1.045); }
.product-badge { position: absolute; z-index: 2; left: 15px; top: 15px; padding: 6px 9px; background: var(--ink); color: white; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.product-action { position: absolute; z-index: 2; right: 15px; bottom: 15px; display: grid; width: 42px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--lime); font-size: 24px; transition: transform .2s; }
.product-action:hover { transform: rotate(90deg); }
.product-info { display: flex; justify-content: space-between; gap: 14px; padding: 18px 2px 0; }
.product-type { margin-bottom: 6px; color: #85908b; font: 700 8px Manrope; letter-spacing: .12em; }
.product-info h3 { margin: 0; font-size: 16px; font-weight: 700; }
.product-price { margin: 0; white-space: nowrap; font-size: 13px; font-weight: 800; }
.process-section { padding: 110px 0 120px; background: var(--ink); color: white; }
.section-heading.light > p { color: #9eb0a8; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #3b5149; }
.steps-grid article { position: relative; padding: 48px 48px 10px 0; border-right: 1px solid #3b5149; }
.steps-grid article:not(:first-child) { padding-left: 48px; }
.steps-grid article:last-child { border: 0; }
.step-number { position: absolute; right: 22px; top: 16px; color: #5e746b; font: 700 10px Manrope; }
.step-icon { display: grid; width: 58px; aspect-ratio: 1; margin-bottom: 34px; place-items: center; border: 1px solid #51675e; border-radius: 50%; color: var(--lime); font-size: 25px; }
.steps-grid h3 { margin-bottom: 14px; font-size: 20px; }
.steps-grid p { max-width: 260px; color: #9eb0a8; font-size: 13px; }
.cta-section { padding: 85px 0; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 58px 64px; background: var(--lime); }
.cta-card .eyebrow { margin-bottom: 12px; }
.cta-card h2 { max-width: 700px; margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -.045em; }

.site-footer { padding: 70px 0 42px; background: #091914; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 60px; align-items: end; }
.brand-light .brand-mark { background-color: var(--lime); }
.brand-light small { color: #81928b; }
.footer-grid > div > p { max-width: 390px; margin: 25px 0 0; color: #82938c; font-size: 13px; }
.footer-links { display: grid; gap: 10px; color: #b6c1bd; font-size: 12px; }
.footer-meta { margin: 0; color: #64766e; font: 600 10px/2 Manrope; letter-spacing: .08em; text-align: right; }

.auth-section { min-height: calc(100vh - 88px); padding: 70px 0 90px; background: linear-gradient(90deg, var(--ink) 0 48%, transparent 48%); }
.auth-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.auth-intro { color: white; }
.auth-intro h1 { margin-bottom: 30px; font-size: clamp(48px, 5vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.auth-intro > p:not(.eyebrow) { max-width: 450px; color: #9fb0a9; }
.back-link { display: inline-block; margin-top: 42px; color: #d2dbd7; font-size: 12px; }
.camera-card, .form-card, .cart-list-card, .summary-card, .checkout-method, .details-card, .profile-card { background: white; box-shadow: var(--shadow); }
.camera-card { padding: 24px; }
.camera-head, .panel-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 18px; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.camera-head > div, .panel-title > div { display: flex; align-items: center; gap: 10px; }
.camera-head small, .panel-title > span, .panel-title small { color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ec5e53; box-shadow: 0 0 0 5px rgba(236,94,83,.12); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(236,94,83,0); } }
.camera-view { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #101a17; }
.camera-view img, .camera-view video { width: 100%; height: 100%; object-fit: cover; }
.camera-view video { transform: scaleX(-1); }
.camera-view > p { position: absolute; left: 0; right: 0; bottom: 15px; margin: 0; color: white; font-size: 10px; letter-spacing: .08em; text-align: center; }
.face-guide { position: absolute; width: 42%; height: 65%; left: 29%; top: 12%; border: 1px solid var(--lime); border-radius: 50%; box-shadow: 0 0 0 999px rgba(9,25,20,.2); }
.privacy-note, .notice-box { display: flex; align-items: flex-start; gap: 13px; margin: 18px 0; padding: 14px; background: #f2f4ef; }
.privacy-note > span, .notice-box > span { color: #5f716a; font-size: 20px; }
.privacy-note p, .notice-box p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.privacy-note strong, .notice-box strong { color: var(--ink); }
.form-switch { margin: 18px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.form-switch a { color: var(--ink); font-weight: 700; text-decoration: underline; }

.form-section { padding: 80px 0 110px; }
.form-heading { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.form-heading .eyebrow { justify-content: center; }
.form-heading h1 { margin-bottom: 14px; font-size: clamp(36px, 5vw, 54px); line-height: 1.1; letter-spacing: -.045em; }
.form-heading > p:last-child { color: var(--muted); font-size: 14px; }
.form-card { padding: 42px; }
.alert { margin-bottom: 25px; padding: 13px 16px; border-left: 3px solid var(--danger); background: #fff2f0; color: var(--danger); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-grid label, .editable label { display: grid; gap: 8px; }
.form-grid label > span { font-size: 11px; font-weight: 700; }
.form-grid .full { grid-column: 1 / -1; }
input, select { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 2px; background: #fafaf7; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s; }
input:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16,37,31,.08); }
.upload-section { margin: 40px 0 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.upload-section > div:first-child { margin-bottom: 22px; }
.upload-section h2 { margin-bottom: 4px; font-size: 16px; }
.upload-section p { margin: 0; color: var(--muted); font-size: 11px; }
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.upload-box { display: flex; min-height: 150px; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed #a9b4af; background: #fafaf7; cursor: pointer; transition: border .2s, background .2s; }
.upload-box:hover, .upload-box.has-file { border-color: var(--ink); background: var(--lime-soft); }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; width: 34px; aspect-ratio: 1; margin-bottom: 10px; place-items: center; border-radius: 50%; background: var(--ink); color: white; }
.upload-box strong { font-size: 11px; }
.upload-box small { color: var(--muted); font-size: 9px; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; }

.member-hero { padding: 80px 0; background: linear-gradient(90deg, rgba(16,37,31,.98) 0%, rgba(16,37,31,.9) 56%, rgba(16,37,31,.55) 100%), url("../images/hero/store-entry.jpg") center/cover; color: white; }
.member-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 90px; }
.member-hero h1 { margin-bottom: 20px; font-size: clamp(46px, 5vw, 70px); line-height: 1; letter-spacing: -.05em; }
.member-hero p:not(.eyebrow) { max-width: 540px; color: #a2b1ab; }
.member-hero .button { margin-top: 22px; }
.system-panel { border: 1px solid #3a5047; background: #142d25; }
.system-panel-head { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #3a5047; color: #7f928a; font: 700 9px Manrope; letter-spacing: .15em; }
.online { display: flex; align-items: center; gap: 8px; color: var(--lime); }
.system-stat { display: grid; grid-template-columns: 80px 1fr 24px; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid #2f463d; }
.system-stat:last-child { border: 0; }
.system-stat span { color: #7f928a; font: 700 9px Manrope; }
.system-stat strong { font-size: 12px; }
.system-stat > i { display: grid; place-items: center; width: 20px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 10px; font-style: normal; }

.workspace-section { min-height: 72vh; padding: 64px 0 100px; }
.workspace-heading, .profile-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.workspace-heading h1, .profile-heading h1 { margin-bottom: 8px; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.workspace-heading > div:first-child > p:last-child, .profile-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.workspace-heading .eyebrow, .profile-heading .eyebrow { margin-bottom: 12px; }
.progress-steps { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.progress-steps span { display: flex; align-items: center; gap: 7px; color: #98a29e; white-space: nowrap; }
.progress-steps span.active { color: var(--ink); }
.progress-steps i { display: grid; width: 22px; aspect-ratio: 1; place-items: center; border: 1px solid #b8c0bc; border-radius: 50%; font-style: normal; }
.progress-steps .active i { border-color: var(--ink); background: var(--ink); color: var(--lime); }
.progress-steps b { width: 28px; height: 1px; background: #cbd0cd; }
.progress-steps b.done { background: var(--ink); }
.workspace-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; }
.scanner-panel, .cart-preview { min-width: 0; padding: 24px; background: white; box-shadow: var(--shadow); }
.scanner-view { position: relative; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 20px; background: #101916 url("../images/hero/smart-scanner.jpg") center/cover; }
.scanner-view img { width: 100%; height: 100%; object-fit: cover; }
.product-guide { position: absolute; inset: 14%; border: 1px solid var(--lime); }
.product-guide::before, .product-guide::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(215,255,69,.55); }
.product-guide::before { top: 33%; }.product-guide::after { bottom: 33%; }
.product-guide span { position: absolute; right: 8px; top: 7px; color: var(--lime); font: 700 8px Manrope; letter-spacing: .12em; }
.cart-preview { display: flex; flex-direction: column; }
.count-badge { display: grid; width: 24px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink) !important; }
.cart-preview-body { flex: 1; min-height: 260px; }
.empty-state { display: flex; height: 100%; min-height: 240px; align-items: center; justify-content: center; flex-direction: column; color: var(--muted); text-align: center; }
.empty-state.wide { grid-column: 1 / -1; min-height: 280px; border: 1px dashed #b7c0bc; }
.empty-state.padded { padding: 60px 30px; }
.empty-state h3 { margin: 10px 0 4px; color: var(--ink); font-size: 15px; }
.empty-state p { max-width: 250px; margin-bottom: 0; font-size: 11px; }
.empty-state .button { margin-top: 20px; }
.empty-icon { display: grid; width: 52px; aspect-ratio: 1; place-items: center; border: 1px solid #cfd5d2; border-radius: 50%; font-size: 21px; }
.mini-cart-item { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid #e8ebe8; }
.item-index { color: #a1aaa6; font: 700 9px Manrope; }
.mini-cart-item strong { display: block; font-size: 12px; }.mini-cart-item small { color: #69a077; font-size: 9px; }.mini-cart-item b { font: 800 11px Manrope; }
.cart-preview-footer { display: flex; justify-content: space-between; margin: 20px 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; }.cart-preview-footer strong { font: 800 18px Manrope; }

.cart-layout, .checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cart-list-card, .checkout-method { padding: 26px; }
.cart-row { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 20px; min-height: 105px; border-top: 1px solid #e3e6e3; }
.cart-row-number { color: #9aa49f; font: 700 10px Manrope; }.cart-row-info small { color: #6d9b76; font: 700 8px Manrope; letter-spacing: .13em; }.cart-row-info h2 { margin: 5px 0 0; font-size: 16px; }.cart-row > strong { font: 800 14px Manrope; }
.summary-card { position: sticky; top: 110px; padding: 30px; background: var(--ink); color: white; }
.summary-card .eyebrow { color: var(--lime); }.summary-card h2 { font-size: 24px; }.summary-card dl { margin: 28px 0; }.summary-card dl > div { display: flex; justify-content: space-between; padding: 10px 0; color: #a8b5b0; font-size: 11px; }.summary-card dd { margin: 0; color: white; }.summary-card .summary-total { align-items: end; margin-top: 12px; padding-top: 23px; border-top: 1px solid #42564f; color: white; }.summary-total dd { font: 800 24px Manrope; }.summary-total dd small { color: #7f928a; font-size: 8px; }.continue-link { display: block; margin-top: 18px; color: #aab7b2; font-size: 10px; text-align: center; }
.checkout-method .panel-title { padding-bottom: 22px; border-bottom: 1px solid var(--line); }.secure-chip, .verified-chip { padding: 5px 9px; background: #eaf7e9; color: #44784f !important; font-size: 8px !important; }.identity-card { display: flex; align-items: center; gap: 20px; margin: 35px 0; }.identity-mark, .profile-avatar { display: grid; place-items: center; border-radius: 50%; background: var(--lime); font: 800 30px Manrope; }.identity-mark { width: 75px; aspect-ratio: 1; }.identity-card small { display: block; color: var(--muted); font-size: 9px; }.identity-card strong { font-size: 20px; }.identity-card p { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: #558161; font-size: 10px; }.checkout-items { margin: 24px 0; }.checkout-items > div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid #344b42; color: #b9c4c0; font-size: 10px; }.checkout-items strong { color: white; }

.profile-shell { width: min(1000px, calc(100% - 48px)); }.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }.profile-card { padding: 42px 25px; text-align: center; }.profile-avatar { width: 98px; margin: 0 auto 22px; aspect-ratio: 1; font-size: 38px; }.profile-card h2 { margin-bottom: 3px; font-size: 22px; }.profile-card > p { color: var(--muted); font-size: 11px; word-break: break-all; }.verified-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }.verified-chip i { font-style: normal; }.details-card { padding: 30px; }.details-list { margin: 0; }.details-list > div { display: grid; grid-template-columns: 150px 1fr; padding: 17px 0; border-top: 1px solid #e6e9e6; font-size: 12px; }.details-list dt { color: var(--muted); }.details-list dd { margin: 0; font-weight: 700; }.face-photos { margin-top: 24px; padding-top: 25px; border-top: 1px solid var(--line); }.face-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.face-photo-grid figure { margin: 0; }.face-photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #e7e8e4; }.face-photo-grid figcaption { padding-top: 7px; color: var(--muted); font-size: 9px; }.face-photo-grid.editable label { cursor: pointer; }.face-photo-grid.editable label > span { font-size: 10px; font-weight: 700; }.face-photo-grid.editable input { height: auto; padding: 0; border: 0; background: transparent; font-size: 9px; }

.reveal { animation: reveal .65s both ease-out; }.reveal-delay { animation-delay: .14s; }@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 89px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 2px; padding: 24px; background: var(--paper); box-shadow: 0 22px 40px rgba(16,37,31,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 13px; border-bottom: 1px solid var(--line); }
  .guest-actions, .member-actions { align-items: stretch; flex-direction: column; padding: 18px 0 0; border: 0; }
  .guest-actions .button { width: 100%; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-right: 30px; }
  .trust-row { gap: 18px; }.trust-row span { padding-right: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-grid { gap: 45px; }
  .workspace-heading { align-items: flex-start; flex-direction: column; }
  .workspace-grid { grid-template-columns: 1fr; }
  .cart-preview-body { min-height: 150px; }
  .cart-layout, .checkout-grid { grid-template-columns: 1fr 320px; }
}

@media (max-width: 720px) {
  .shell, .narrow-shell, .content-shell, .profile-shell { width: min(calc(100% - 32px), 620px); }
  .header-inner { min-height: 74px; }.main-nav { top: 75px; }
  .hero-grid { display: flex; min-height: auto; flex-direction: column; }
  .hero-copy { order: 2; padding: 48px 0 60px; }.hero-copy h1 { font-size: clamp(48px, 14vw, 68px); }.hero-visual { min-height: 430px; margin: 0 -16px; }.hero-image { inset: 0; }
  .hero-actions { align-items: stretch; flex-direction: column; margin: 34px 0 45px; }.hero-actions .button { width: 100%; }.hero-actions .link-arrow { align-self: flex-start; }
  .trust-row { justify-content: space-between; gap: 8px; }.trust-row span { padding: 0; border: 0; font-size: 8px; }
  .section-block, .process-section { padding: 75px 0; }.section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 35px; }.section-heading > p { max-width: none; }
  .product-grid { grid-template-columns: 1fr; gap: 36px; }.product-image-wrap { aspect-ratio: 1 / .85; }
  .steps-grid { grid-template-columns: 1fr; }.steps-grid article, .steps-grid article:not(:first-child) { padding: 35px 8px; border-right: 0; border-bottom: 1px solid #3b5149; }.steps-grid article:last-child { border-bottom: 0; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 36px 28px; }.cta-card .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }.footer-meta { text-align: left; }
  .auth-section { padding: 60px 0; background: var(--ink); }.auth-grid { grid-template-columns: 1fr; gap: 45px; }.camera-card { padding: 15px; }
  .form-section { padding: 55px 0 80px; }.form-card { padding: 24px 18px; }.form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }.upload-grid { grid-template-columns: 1fr; }.upload-box { min-height: 115px; }
  .member-hero-grid { grid-template-columns: 1fr; gap: 45px; }.member-hero { padding: 60px 0; }
  .progress-steps { width: 100%; justify-content: space-between; overflow-x: auto; }.progress-steps span { font-size: 0; }.progress-steps i { font-size: 9px; }.progress-steps b { flex: 1; }
  .workspace-section { padding: 45px 0 75px; }.workspace-heading, .profile-heading { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }.workspace-heading h1, .profile-heading h1 { font-size: 40px; }
  .scanner-panel, .cart-preview { padding: 16px; }.scanner-view { aspect-ratio: 4 / 3; }
  .cart-layout, .checkout-grid { grid-template-columns: 1fr; }.summary-card { position: static; }.cart-row { grid-template-columns: 30px 1fr; padding: 18px 0; }.cart-row > strong { grid-column: 2; }
  .profile-heading .button { width: 100%; }.profile-grid { grid-template-columns: 1fr; }.details-card { padding: 22px 18px; }.details-list > div { grid-template-columns: 100px 1fr; }.face-photo-grid { grid-template-columns: 1fr 1fr; }.face-photo-grid.editable { grid-template-columns: 1fr; }.form-actions { flex-direction: column-reverse; }.form-actions .button { width: 100%; }
}

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