@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@1,6..72,500&display=swap');

:root {
  --ink: #102c2b;
  --muted: #61706d;
  --cream: #f5f2e9;
  --paper: #fffefa;
  --sage: #dfe8da;
  --mint: #b9d9c1;
  --green: #1e6c55;
  --lime: #d9efad;
  --line: #d9dfd7;
  --red: #a33d35;
  --red-soft: #f7e4df;
  --shadow: 0 18px 60px rgba(16, 44, 43, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Manrope, sans-serif; }
button, select, input { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 245px; padding: 32px 24px; background: var(--ink); color: #edf4e7; display: flex; flex-direction: column; z-index: 10; }
.brand { display: flex; align-items: center; gap: 11px; color: white; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { width: 27px; height: 29px; display: flex; gap: 2px; align-items: end; transform: rotate(-8deg); }
.brand-mark i { display: block; width: 7px; background: var(--lime); border-radius: 99px 99px 3px 3px; transform-origin: bottom; }
.brand-mark i:nth-child(1) { height: 17px; transform: rotate(-24deg); }
.brand-mark i:nth-child(2) { height: 27px; }
.brand-mark i:nth-child(3) { height: 20px; transform: rotate(24deg); }
.environment { margin: 34px 0 28px; padding: 9px 11px; border: 1px solid #35504d; border-radius: 8px; font: 10px DM Mono, monospace; color: #aebdb8; text-transform: uppercase; letter-spacing: .06em; }
.environment span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #a5d879; margin-right: 7px; box-shadow: 0 0 0 3px rgba(165,216,121,.13); }
nav { display: grid; gap: 5px; }
.nav-item { width: 100%; border: 0; background: transparent; color: #9eb0ab; text-align: left; padding: 12px 9px; border-radius: 7px; cursor: pointer; font-size: 13px; }
.nav-item span { font: 10px DM Mono, monospace; color: #677e79; margin-right: 9px; }
.nav-item:hover, .nav-item.active { background: #193936; color: white; }
.nav-item.active span { color: var(--lime); }
.sidebar-note { margin-top: auto; border-top: 1px solid #284541; padding: 24px 6px 3px; }
.spruce-sprig { font-size: 26px; color: var(--lime); }
.sidebar-note p { color: #adbbb7; font-size: 12px; line-height: 1.6; }
.sidebar-note a { color: #edf4e7; font-size: 11px; text-decoration: none; border-bottom: 1px solid #5e746e; padding-bottom: 2px; }

main { margin-left: 245px; }
.topbar { height: 72px; padding: 0 6vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(16,44,43,.1); }
.eyebrow, .kicker { font: 500 10px DM Mono, monospace; text-transform: uppercase; letter-spacing: .11em; }
.eyebrow { color: #788680; }
.operator { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); }
.operator-dot { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: white; background: var(--green); font-size: 9px; font-weight: 700; }

.hero { min-height: 465px; padding: 72px 7vw 92px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; overflow: hidden; position: relative; }
.kicker { color: var(--green); font-weight: 500; margin: 0 0 14px; }
.hero h1 { font-size: clamp(58px, 7.1vw, 104px); line-height: .86; letter-spacing: -.068em; margin: 0; font-weight: 600; }
.hero h1 em { font-family: Newsreader, serif; font-weight: 500; color: var(--green); }
.lede { max-width: 620px; font-size: 16px; color: var(--muted); line-height: 1.75; margin: 28px 0 0; }
.hero-art { position: relative; min-height: 330px; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 310px; height: 310px; right: 4%; top: 0; background: radial-gradient(circle at 35% 30%, #eef8ce, #b9d8bd 65%, #92bba7); }
.orb-two { width: 170px; height: 170px; right: 45%; top: 145px; border: 1px solid rgba(30,108,85,.15); }
.credential-card { position: absolute; z-index: 2; right: 9%; top: 84px; width: 330px; min-height: 185px; border: 1px solid rgba(16,44,43,.15); border-radius: 15px; padding: 25px; display: grid; grid-template-columns: 55px 1fr; gap: 17px; align-items: start; background: rgba(255,254,250,.86); box-shadow: 0 24px 60px rgba(16,44,43,.16); backdrop-filter: blur(8px); transform: rotate(3deg); }
.card-seal { width: 51px; height: 51px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font: 500 13px DM Mono; }
.credential-card small { color: var(--muted); font: 9px DM Mono; text-transform: uppercase; }
.credential-card strong { display: block; margin: 6px 0 14px; font-size: 20px; }
.status-line { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 11px; font-weight: 700; }
.status-line b { width: 7px; height: 7px; border-radius: 50%; background: #50a66b; }
.privacy-stripes { grid-column: 1 / -1; display: flex; gap: 5px; margin-top: 17px; }
.privacy-stripes i { height: 5px; border-radius: 5px; background: #d5ddd4; }
.privacy-stripes i:nth-child(1) { width: 45%; }.privacy-stripes i:nth-child(2) { width: 25%; }.privacy-stripes i:nth-child(3) { width: 15%; background: var(--mint); }

.workspace { padding: 0 6vw 88px; background: linear-gradient(var(--ink) 0 190px, #eef0e9 190px); }
.stepper { height: 86px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #69807a; }
.stepper > i { width: 55px; height: 1px; background: #35504d; }
.step { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.step b { width: 25px; height: 25px; border: 1px solid #49635d; border-radius: 50%; display: grid; place-items: center; font: 10px DM Mono; }
.step.active { color: white; }.step.active b { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.panel { max-width: 1120px; margin: 0 auto; border-radius: 17px; background: var(--paper); box-shadow: var(--shadow); padding: 38px 42px; border: 1px solid rgba(16,44,43,.06); }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.panel h2 { font-size: 30px; letter-spacing: -.035em; margin: 0; }
.panel-intro { color: var(--muted); font-size: 13px; max-width: 650px; line-height: 1.7; margin: 15px 0 28px; }
.format-pill, .live-pill, .decision-pill { font: 9px DM Mono; text-transform: uppercase; letter-spacing: .07em; border: 1px solid var(--line); border-radius: 99px; padding: 8px 11px; white-space: nowrap; }
.live-pill { color: var(--green); background: #eff7eb; }.live-pill i { display: inline-block; width: 6px; height: 6px; background: #55a56e; border-radius: 50%; margin-right: 6px; }
.policy-layout { display: grid; grid-template-columns: 1.4fr .7fr; gap: 35px; }
.policy-layout h3, .result-body h3 { font-size: 12px; margin: 0 0 12px; }
.claim-list { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.claim { display: grid; grid-template-columns: 19px 1fr auto; align-items: center; gap: 12px; padding: 13px 15px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.claim:last-child { border: 0; }.claim:hover { background: #f7f9f3; }.claim.selected { background: #f1f6ec; }
.claim input { position: absolute; opacity: 0; }
.check { width: 17px; height: 17px; border: 1px solid #a9b5ad; border-radius: 4px; position: relative; background: white; }
.claim input:checked + .check { background: var(--green); border-color: var(--green); }
.claim input:checked + .check:after { content: '✓'; color: white; position: absolute; inset: 0; text-align: center; font-size: 11px; line-height: 16px; }
.claim strong { display: block; font-size: 12px; }.claim small { color: var(--muted); font-size: 10px; }
.claim > b { font: 8px DM Mono; color: #7a8984; text-transform: uppercase; }
.privacy-preview { align-self: start; padding: 28px; border-radius: 12px; background: var(--ink); color: white; min-height: 290px; }
.preview-icon { width: 40px; height: 40px; border: 1px solid #4b6560; border-radius: 50%; display: grid; place-items: center; color: var(--lime); font-size: 20px; margin-bottom: 30px; }
.privacy-preview .kicker { color: #9ab6ad; }.privacy-preview h3 { font-size: 20px; margin: 0 0 14px; }.privacy-preview p:not(.kicker) { color: #a8b8b3; font-size: 11px; line-height: 1.7; }.privacy-preview p strong { color: white; }
.meter { height: 5px; background: #314c47; border-radius: 8px; overflow: hidden; }.meter span { display: block; height: 100%; background: var(--lime); transition: width .25s; }
.text-button { border: 0; padding: 0 0 3px; border-bottom: 1px solid currentColor; color: var(--green); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.privacy-preview .text-button { color: var(--lime); }
.failure-lab { margin: 24px 0 0; border: 1px solid var(--line); padding: 14px 15px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.failure-lab label span { display: block; font-size: 11px; font-weight: 700; }.failure-lab label small { font-size: 9px; color: var(--muted); }
.failure-lab select { border: 1px solid var(--line); background: white; border-radius: 7px; padding: 8px 32px 8px 10px; font-size: 10px; color: var(--ink); }
.panel-actions { margin: 28px -42px -38px; padding: 18px 42px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.panel-actions > span { font-size: 9px; color: var(--muted); }.panel-actions > span b { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6cb47d; margin-right: 7px; }
.primary-button { border: 0; border-radius: 8px; background: var(--green); color: white; padding: 12px 17px; font-size: 11px; font-weight: 700; cursor: pointer; box-shadow: 0 7px 18px rgba(30,108,85,.18); }
.primary-button:hover { background: #155846; }.primary-button:disabled { opacity: .5; cursor: not-allowed; }.primary-button i { margin-left: 15px; font-style: normal; }
.error-banner { max-width: 1120px; margin: 0 auto 12px; padding: 12px 16px; background: var(--red-soft); border: 1px solid #e6b9b0; color: var(--red); border-radius: 9px; font-size: 11px; }

.request-layout { display: grid; grid-template-columns: 340px 1fr; gap: 55px; align-items: center; padding: 35px 8px 15px; }
.qr-wrap { border: 1px solid var(--line); padding: 23px; border-radius: 13px; text-align: center; background: white; }.qr-wrap svg { width: 230px; height: 230px; }.qr-wrap > span { display: block; font: 8px DM Mono; color: var(--muted); text-transform: uppercase; margin-top: 8px; }
.request-copy > p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 500px; }
.request-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 25px 0; }.request-facts div { border-left: 2px solid var(--mint); padding-left: 11px; }.request-facts small { display: block; font: 8px DM Mono; color: #84918d; text-transform: uppercase; }.request-facts strong { font-size: 11px; }
.request-copy .text-button { margin-left: 18px; }
.protocol-json { max-height: 310px; overflow: auto; background: #0c2524; color: #cbe5c8; padding: 22px; border-radius: 10px; font: 10px/1.6 DM Mono; margin: 25px 0 0; }

.result-panel.passed { border-top: 4px solid #68a878; }.result-panel.failed { border-top: 4px solid var(--red); }
.result-hero { display: grid; grid-template-columns: 55px 1fr auto; gap: 17px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }.result-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #e4f2df; color: var(--green); font-size: 24px; }.failed .result-icon { background: var(--red-soft); color: var(--red); }.result-hero p:not(.kicker) { margin: 7px 0 0; color: var(--muted); font-size: 11px; }.decision-pill { color: var(--green); background: #eff7eb; }.failed .decision-pill { color: var(--red); background: var(--red-soft); }
.result-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 35px; padding-top: 28px; }.check-grid { display: grid; gap: 8px; }.check-card { border: 1px solid var(--line); border-radius: 9px; padding: 12px; display: flex; gap: 10px; align-items: center; }.check-card > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e8f3e4; color: var(--green); font-weight: 700; font-size: 11px; }.check-card.bad > span { background: var(--red-soft); color: var(--red); }.check-card strong { display: block; font-size: 10px; }.check-card small { color: var(--muted); font-size: 9px; }
.receipt { background: #eef3e9; border-radius: 12px; padding: 25px; }.receipt h3 { font-size: 18px; }.receipt-list div { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-bottom: 1px solid #d3ddd0; font-size: 9px; }.receipt-list b { text-align: right; }.receipt-private, .not-shared { display: flex; gap: 10px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #d3ddd0; }.receipt-private > span, .not-shared > span { color: var(--green); }.receipt-private p, .not-shared p { margin: 0; }.receipt-private strong, .not-shared strong { display: block; font-size: 9px; }.receipt-private small, .not-shared small { display: block; font-size: 8px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

.explain-section { padding: 95px 7vw; display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; background: var(--paper); }.section-copy h2, .implementation h2 { font-size: 41px; letter-spacing: -.05em; line-height: 1.08; margin: 0; }.section-copy > p:last-child { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 390px; }.flow-map { align-self: center; display: flex; align-items: center; gap: 10px; }.flow-node { flex: 1; min-height: 145px; background: #eef3e9; border-radius: 11px; padding: 18px; }.flow-node span { font: 9px DM Mono; color: var(--green); }.flow-node b { display: block; margin: 30px 0 5px; font-size: 13px; }.flow-node small { color: var(--muted); font-size: 9px; }.flow-map > i { font-style: normal; color: #91a19b; }
.implementation { padding: 85px 7vw; background: #dfe8da; }.implementation > div:first-child { display: flex; align-items: end; justify-content: space-between; }.integration-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 40px; }.integration-grid > div { background: rgba(255,255,255,.56); border: 1px solid rgba(16,44,43,.08); border-radius: 11px; padding: 24px; }.code-mark { font: 16px DM Mono; color: var(--green); }.integration-grid h3 { font-size: 14px; margin: 35px 0 8px; }.integration-grid p { color: var(--muted); font-size: 10px; line-height: 1.65; }
footer { padding: 20px 7vw; display: flex; justify-content: space-between; font: 8px DM Mono; text-transform: uppercase; color: #70807b; background: var(--ink); }

dialog { border: 0; padding: 0; background: transparent; max-height: 94vh; } dialog::backdrop { background: rgba(6,28,27,.72); backdrop-filter: blur(5px); }
.phone-shell { width: min(390px, 92vw); background: #f8f7f1; border: 8px solid #1a2625; border-radius: 33px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.35); }.phone-top { height: 26px; padding: 7px 19px 0; display: flex; justify-content: space-between; font-size: 8px; font-weight: 700; }.phone-top i { width: 52px; height: 14px; border-radius: 9px; background: #1a2625; position: absolute; left: calc(50% - 26px); top: 5px; }.wallet-head { padding: 9px 16px 14px; display: grid; grid-template-columns: 35px 1fr 35px; text-align: center; align-items: center; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; }.wallet-head button { border: 0; background: transparent; font-size: 20px; text-align: left; cursor: pointer; }.wallet-head b { font: 7px DM Mono; color: var(--green); }.wallet-content { padding: 28px 25px 25px; text-align: center; }.requester-icon { width: 50px; height: 50px; background: var(--ink); color: var(--lime); border-radius: 14px; margin: 0 auto 18px; display: grid; place-items: center; font: 700 12px DM Mono; }.wallet-content h2 { margin: 0; font-size: 23px; line-height: 1.15; letter-spacing: -.04em; }.wallet-sub { color: var(--muted); font-size: 10px; line-height: 1.6; }.wallet-claims { margin: 20px 0; text-align: left; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }.wallet-claims > div { padding: 11px 12px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); background: white; }.wallet-claims > div:last-child { border: 0; }.wallet-claims > div > span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #e6f3df; color: var(--green); font-size: 9px; }.wallet-claims p { margin: 0; }.wallet-claims strong { display: block; font-size: 9px; }.wallet-claims small { color: var(--muted); font-size: 8px; }.not-shared { text-align: left; border-top: 0; padding: 12px; background: #edf3e8; border-radius: 9px; }.wallet-approve { width: 100%; margin-top: 18px; border: 0; border-radius: 9px; padding: 13px; color: white; background: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; }.wallet-decline { border: 0; background: transparent; color: var(--muted); font-size: 10px; padding: 12px; cursor: pointer; }.wallet-tech { display: block; font: 7px DM Mono; color: #889590; }
.credential-dialog { width: min(590px, 92vw); padding: 35px; background: var(--paper); border-radius: 15px; color: var(--ink); }.dialog-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; font-size: 23px; cursor: pointer; }.credential-dialog h2 { margin: 0 0 20px; }.all-claims { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }.all-claims div { display: grid; grid-template-columns: 1fr 1fr auto; gap: 15px; padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: 9px; }.all-claims div:last-child { border: 0; }.all-claims small { font: 7px DM Mono; color: var(--green); text-transform: uppercase; }.dialog-note { font-size: 9px; color: var(--muted); line-height: 1.6; }
.spinner { display: inline-block; width: 10px; height: 10px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; margin-left: 8px; vertical-align: middle; }.spinner.light { border-color: rgba(255,255,255,.35); border-top-color: white; } @keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .sidebar { position: static; width: 100%; height: 66px; padding: 0 20px; flex-direction: row; align-items: center; }.sidebar .environment, .sidebar nav, .sidebar-note { display: none; } main { margin-left: 0; }.topbar { display: none; }.hero { padding-top: 55px; grid-template-columns: 1fr; }.hero-art { display: none; }.workspace { padding-left: 18px; padding-right: 18px; }.policy-layout, .request-layout, .result-body, .explain-section { grid-template-columns: 1fr; }.privacy-preview { min-height: auto; }.request-layout { gap: 20px; }.qr-wrap { max-width: 320px; margin: auto; }.integration-grid { grid-template-columns: 1fr; }.flow-map { flex-direction: column; align-items: stretch; }.flow-map > i { transform: rotate(90deg); text-align: center; }.panel { padding: 28px 23px; }.panel-actions { margin: 25px -23px -28px; padding: 17px 23px; }.panel-actions { align-items: stretch; flex-direction: column; }.step span { display: none; }
}

@media (max-width: 560px) {
  .hero { min-height: 390px; padding: 50px 24px 70px; }.hero h1 { font-size: 58px; }.lede { font-size: 13px; }.workspace { background: linear-gradient(var(--ink) 0 150px, #eef0e9 150px); }.stepper { height: 70px; }.panel-heading { flex-direction: column; }.policy-layout { gap: 20px; }.claim { grid-template-columns: 19px 1fr; }.claim > b { display: none; }.failure-lab { flex-direction: column; align-items: stretch; }.request-facts { grid-template-columns: 1fr; }.request-copy .text-button { display: block; margin: 15px 0 0; }.result-hero { grid-template-columns: 48px 1fr; }.decision-pill { grid-column: 2; justify-self: start; }.explain-section, .implementation { padding: 70px 24px; }.integration-grid { margin-top: 28px; } footer { gap: 20px; flex-direction: column; }
}

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