:root {
  --ink: #102726;
  --muted: #6b7d7a;
  --teal: #087f79;
  --teal-dark: #035e5a;
  --mint: #dff6f1;
  --paper: #f6faf8;
  --line: #dfe9e6;
  --white: #ffffff;
  font-family: Inter, ui-rounded, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #e9f1ee;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 75% 8%, #d4f3eb 0, transparent 34%), linear-gradient(140deg, #f8fbfa 0%, #dfeae7 100%); }
button, input, select { font: inherit; }
button { color: inherit; }
.showcase { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 520px) minmax(400px, 600px); align-items: center; justify-content: center; gap: clamp(36px, 7vw, 110px); padding: 48px; overflow: hidden; }
.intro { max-width: 510px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; font-weight: 750; font-size: 18px; }
.brand-icon { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 8px 24px #087f7930; }
.eyebrow { margin: 56px 0 12px; color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(45px, 5vw, 74px); line-height: .97; letter-spacing: -.055em; }
h1 span { color: var(--teal); }
.lede { max-width: 470px; color: #526562; line-height: 1.65; font-size: 18px; margin: 28px 0; }
.feature-list { display: grid; gap: 13px; font-weight: 650; }
.feature-list span { display: flex; gap: 10px; align-items: center; }
.feature-list i { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--teal); font-style: normal; }
.demo-note { margin-top: 40px; border-left: 3px solid #9bcfc6; padding-left: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 420px; }
.device-stage { position: relative; display: grid; place-items: center; }
.device-stage::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: #87c9bd38; filter: blur(3px); }
.phone { width: 390px; height: 790px; max-height: calc(100vh - 48px); position: relative; background: var(--paper); border: 9px solid #172422; border-radius: 52px; overflow: hidden; box-shadow: 0 44px 80px #163b3533, 0 8px 20px #163b3522; z-index: 1; }
.island { position: absolute; z-index: 10; width: 112px; height: 29px; border-radius: 18px; background: #172422; left: 50%; top: 9px; transform: translateX(-50%); }
.status-bar { height: 49px; padding: 13px 26px 0; display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; background: var(--white); }
.status-icons { font-size: 9px; letter-spacing: 2px; }
.app-shell { height: calc(100% - 49px - 73px); overflow: hidden; background: var(--paper); }
.screen { height: 100%; overflow-y: auto; padding: 18px 20px 30px; display: none; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.active { display: block; animation: screenIn .22s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(5px); } }
.app-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.app-header h2 { font-size: 27px; letter-spacing: -.04em; margin: 1px 0 0; }
.overline { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.icon-button { border: 0; background: var(--teal); color: white; width: 41px; height: 41px; border-radius: 14px; font-size: 23px; cursor: pointer; box-shadow: 0 8px 16px #087f7938; }
.summary-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; }
.summary-card { padding: 16px; background: white; border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 5px; box-shadow: 0 6px 20px #183e3708; }
.summary-card.teal { color: white; border: 0; background: linear-gradient(145deg, #09938b, #056963); }
.summary-card small { font-size: 11px; opacity: .75; }
.summary-card strong { font-size: 19px; }
.summary-card span { font-size: 11px; opacity: .75; }
.section-heading { margin: 28px 0 10px; display: flex; justify-content: space-between; align-items: center; }
.section-heading h3, .subheading { margin: 0; font-size: 16px; }
.section-heading button { border: 0; background: none; color: var(--teal); font-size: 12px; font-weight: 800; cursor: pointer; }
.matter-list { display: grid; gap: 8px; }
.matter-row { border: 1px solid var(--line); background: white; border-radius: 17px; padding: 12px; display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; text-align: left; cursor: pointer; }
.matter-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 19px; }
.coral { background: #ffe6df; color: #ce6045; }.blue { background: #e3efff; color: #3974bb; }.gold { background: #fff1ce; color: #a67412; }
.matter-copy, .matter-total, .receipt-row > span, .receipt-row b { display: grid; gap: 4px; }
.matter-copy strong, .matter-total strong, .receipt-row strong { font-size: 13px; }
.matter-copy small, .matter-total small, .receipt-row small { color: var(--muted); font-size: 10px; font-weight: 500; }
.matter-total { text-align: right; }
.matter-total small { color: var(--teal); }
.primary-action { width: 100%; border: 0; border-radius: 17px; background: var(--teal); color: white; margin-top: 18px; padding: 15px; font-weight: 750; cursor: pointer; box-shadow: 0 10px 20px #087f7930; }
.primary-action span { margin-right: 7px; }
.search { background: #e8efed; border-radius: 13px; display: flex; gap: 8px; padding: 10px 12px; color: var(--muted); }
.search input { background: transparent; border: 0; outline: 0; width: 100%; color: var(--ink); }
.date-label { margin: 23px 0 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.receipt-list { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 0 12px; }
.receipt-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 9px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.receipt-row:last-child { border-bottom: 0; }
.receipt-row[hidden] { display: none; }
.category-icon { display: grid !important; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--mint); color: var(--teal); }
.receipt-row b { font-size: 12px; text-align: right; }
.header-badge { background: var(--mint); color: var(--teal); padding: 7px 10px; border-radius: 20px; font-size: 11px; font-weight: 750; }
.report-hero { border-radius: 22px; padding: 22px; color: white; background: linear-gradient(145deg, #0a8d86, #044d4a); display: grid; gap: 7px; box-shadow: 0 14px 30px #075f5938; }
.report-hero small { opacity: .7; letter-spacing: .1em; font-weight: 750; }
.report-hero strong { font-size: 32px; letter-spacing: -.04em; }
.report-hero span { opacity: .8; font-size: 12px; }
.subheading { margin: 26px 0 15px; }
.category-bars { display: grid; gap: 15px; }
.category-bars > div { display: grid; gap: 7px; }
.category-bars span { display: flex; align-items: center; font-size: 12px; }
.category-bars b { margin-left: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }.coral-bg{background:#df765c}.teal-bg{background:#15958c}.blue-bg{background:#568fd3}.gold-bg{background:#d7a233}
progress { appearance: none; width: 100%; height: 7px; border: 0; border-radius: 10px; overflow: hidden; } progress::-webkit-progress-bar { background: #e5ecea; } progress::-webkit-progress-value { background: var(--teal); border-radius: 10px; }
.export-card { margin-top: 27px; padding: 16px; border: 1px solid var(--line); background: white; border-radius: 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.export-card div { display: grid; gap: 3px; }.export-card small { color: var(--muted); font-size: 9px; font-weight: 800; }.export-card select { border: 0; background: transparent; font-weight: 700; outline: 0; max-width: 150px; }.export-card button { border: 0; border-radius: 12px; background: var(--teal); color: white; padding: 11px; font-size: 11px; font-weight: 750; cursor: pointer; }
.privacy-card { padding: 17px; background: linear-gradient(145deg, #dff7f1, #effaf7); border: 1px solid #c9e9e1; border-radius: 19px; display: flex; gap: 12px; }.privacy-card > span { color: var(--teal); font-size: 26px; }.privacy-card strong { font-size: 14px; }.privacy-card p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.settings-group { margin-top: 20px; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 0 13px; }.settings-group button { border: 0; border-bottom: 1px solid var(--line); background: transparent; width: 100%; padding: 14px 0; display: grid; grid-template-columns: 32px 1fr auto; text-align: left; gap: 8px; align-items: center; }.settings-group button:last-child { border-bottom: 0; }.settings-group button > span { color: var(--teal); }.settings-group button div { display: grid; gap: 3px; }.settings-group strong { font-size: 13px; }.settings-group small, .settings-group i { color: var(--muted); font-size: 10px; font-style: normal; }.version { text-align: center; color: var(--muted); font-size: 10px; margin-top: 25px; }
.tab-bar { height: 73px; background: #ffffffee; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 9px 10px; position: absolute; inset: auto 0 0; backdrop-filter: blur(15px); }
.tab-bar button { border: 0; background: transparent; display: grid; place-items: center; align-content: center; gap: 3px; color: #83918f; font-size: 9px; font-weight: 650; cursor: pointer; }.tab-bar button span { font-size: 20px; line-height: 1; }.tab-bar button.active { color: var(--teal); }
dialog { border: 0; padding: 0; background: transparent; } dialog::backdrop { background: #0c2422aa; backdrop-filter: blur(5px); }
.dialog-shell { width: min(360px, calc(100vw - 28px)); background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px #0005; }
.dialog-head { height: 54px; padding: 0 17px; display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; background: white; text-align: center; }.dialog-head button { justify-self: start; border: 0; background: #e8efed; width: 30px; height: 30px; border-radius: 50%; font-size: 21px; cursor: pointer; }
.scan-state { height: 570px; position: relative; display: grid; place-items: center; align-content: center; gap: 25px; background: linear-gradient(160deg, #273c3a, #0f201f); overflow: hidden; }.scan-state > p { color: white; font-size: 12px; opacity: .8; }
.scan-state[hidden] { display: none; }
.receipt-paper { width: 225px; min-height: 350px; padding: 34px 23px; background: #fffdf5; color: #293431; box-shadow: 0 20px 50px #0005; transform: rotate(-1deg); display: flex; flex-direction: column; gap: 14px; font-family: ui-monospace, monospace; font-size: 10px; }.receipt-logo { text-align: center; font-size: 22px; letter-spacing: .2em; font-weight: 900; }.receipt-paper small { text-align: center; }.receipt-paper hr { width: 100%; border: 0; border-top: 1px dashed #777; }.receipt-paper p { margin: 0; }.receipt-paper b { margin-top: auto; font-size: 13px; }
.scan-line { width: 256px; height: 2px; position: absolute; top: 24%; background: #59efc8; box-shadow: 0 0 18px #59efc8; animation: scan 1.1s ease-in-out infinite alternate; } @keyframes scan { to { top: 73%; } }
.corner { position: absolute; width: 36px; height: 36px; border-color: #72f3d0; border-style: solid; }.tl { top: 84px; left: 52px; border-width: 3px 0 0 3px; }.tr { top: 84px; right: 52px; border-width: 3px 3px 0 0; }.bl { bottom: 108px; left: 52px; border-width: 0 0 3px 3px; }.br { bottom: 108px; right: 52px; border-width: 0 3px 3px 0; }
.review-state { padding: 17px 20px 23px; max-height: 620px; overflow-y: auto; display: grid; gap: 12px; }.review-state[hidden] { display: none; }.success-chip { background: var(--mint); color: var(--teal-dark); border-radius: 12px; padding: 10px; text-align: center; font-size: 11px; font-weight: 750; }.review-state label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }.review-state input, .review-state select { width: 100%; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 11px; padding: 10px 11px; font-size: 13px; text-transform: none; letter-spacing: normal; outline-color: var(--teal); }.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.accuracy-note { color: var(--muted); font-size: 10px; margin: 0; }.save-button { border: 0; padding: 13px; border-radius: 13px; color: white; background: var(--teal); font-weight: 750; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; color: white; background: #173a36; border-radius: 30px; padding: 12px 18px; font-size: 12px; font-weight: 700; transition: .25s; z-index: 50; box-shadow: 0 12px 30px #0003; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.site-footer { position: fixed; left: 24px; bottom: 18px; display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 12px; }
.site-footer span { color: var(--ink); font-weight: 800; }
.site-footer a, .legal-page a { color: var(--teal-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-page { width: min(760px, calc(100% - 36px)); margin: 0 auto; padding: 56px 0 80px; line-height: 1.7; }
.legal-page header { display: flex; align-items: center; gap: 14px; margin-bottom: 46px; }
.legal-page header img { width: 52px; height: 52px; border-radius: 14px; }
.legal-page header strong { display: block; font-size: 20px; }
.legal-page header a { color: var(--muted); font-size: 13px; }
.legal-page article { background: #ffffffd9; border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 5vw, 48px); box-shadow: 0 22px 55px #173a3612; }
.legal-page h1 { font-size: clamp(36px, 7vw, 58px); line-height: 1.02; }
.legal-page h2 { margin: 34px 0 8px; font-size: 20px; }
.legal-page p, .legal-page li { color: #465c58; }
.legal-page .effective { color: var(--muted); font-size: 13px; }
.legal-page .notice { padding: 14px 16px; background: var(--mint); border-radius: 14px; }

@media (max-width: 860px) {
  body { background: #0e1e1c; }
  .showcase { display: block; padding: 0; min-height: 100vh; }
  .intro { display: none; }
  .device-stage::before { display: none; }
  .phone { width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .island { top: 8px; }
  .site-footer { display: none; }
}
