:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #eff4ef; background: #0a0d0b; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 70% 4%, #194b31 0, transparent 34%), linear-gradient(180deg, #0d110e 0, #080a09 100%); }
main { width: min(1180px, calc(100% - 48px)); margin: auto; }
nav, header, .result-head, .actions, footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
nav { height: 92px; border-bottom: 1px solid #283129; }
a { color: inherit; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.public-client-badge { color: #83e6ab; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.nav-tools { display: flex; align-items: center; gap: 16px; }
.language-picker select { border: 1px solid #354039; border-radius: 10px; padding: 8px 30px 8px 10px; color: #dfe6e1; background: #111612; font: inherit; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
header { min-height: 590px; }
h1, h2, h3, p { margin: 0; }
h1 { max-width: 740px; font-size: clamp(58px, 9vw, 118px); line-height: .84; letter-spacing: -.072em; }
h1 em { color: #83e6ab; font-style: normal; }
.eyebrow { color: #83e6ab; font-size: 11px; font-weight: 750; letter-spacing: .18em; }
.lede { max-width: 600px; margin-top: 34px; color: #a3ada5; font-size: 19px; line-height: 1.7; }
aside { width: 310px; display: grid; gap: 1px; border: 1px solid #2a342c; border-radius: 18px; overflow: hidden; background: #2a342c; }
aside div { display: grid; grid-template-columns: 34px 1fr; gap: 15px; padding: 19px; background: #111612; }
aside span, .principles article > span { color: #83e6ab; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
aside p { color: #bec6c0; font-size: 13px; line-height: 1.5; }
.demo-shell { display: grid; grid-template-columns: .85fr 1fr; gap: 44px; padding: 54px; border: 1px solid #2a352d; border-radius: 30px; background: rgba(17, 22, 18, .9); box-shadow: 0 30px 110px #0008; }
.demo-copy h2 { margin-top: 12px; font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: -.052em; }
.demo-copy > p:last-child { margin-top: 24px; color: #929e95; line-height: 1.7; }
.public-client-note { display: grid; align-content: center; gap: 14px; border: 1px solid #35433a; border-radius: 18px; padding: 24px; background: #0c110e; }
.public-client-note strong { color: #e4b65d; }
.public-client-note p { color: #929e95; line-height: 1.65; }
button, .button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; padding: 14px 18px; color: #08110b; background: #83e6ab; font: inherit; font-weight: 750; cursor: pointer; }
button:disabled { opacity: .45; cursor: wait; }
.secondary { color: #dfe6e1; background: #242c27; border: 1px solid #3a463e; }
.result, .error { grid-column: 1 / -1; border-radius: 16px; padding: 22px; }
.result { border: 1px solid #35433a; background: #0c110e; }
.result-head { justify-content: flex-start; gap: 10px; }
.state-dot { width: 9px; height: 9px; border-radius: 50%; background: #e4b65d; box-shadow: 0 0 16px #e4b65d88; }
.state-dot[data-state="approved"] { background: #83e6ab; box-shadow: 0 0 16px #83e6ab88; }
.state-dot[data-state="denied"], .state-dot[data-state="expired"] { background: #e27378; }
.result code { display: block; margin-top: 15px; color: #83e6ab; overflow-wrap: anywhere; }
.result > p { margin: 14px 0 20px; color: #a6b0a8; }
.actions { justify-content: flex-start; flex-wrap: wrap; }
.error { color: #ffc8ca; border: 1px solid #6d383b; background: #321a1c; white-space: pre-wrap; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 92px 0; }
.principles article { border-top: 1px solid #354039; padding-top: 22px; }
.principles h3 { margin-top: 12px; font-size: 21px; }
.principles p { margin-top: 13px; color: #8f9992; line-height: 1.65; font-size: 14px; }
footer { min-height: 110px; border-top: 1px solid #252d28; color: #69736c; font-size: 12px; }
.callback { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 20px; max-width: 680px; }
.callback h1 { font-size: 64px; }
.callback > p:not(.eyebrow) { color: #98a39b; line-height: 1.7; }
.callback-language { position: absolute; top: 28px; right: 28px; }
@media (max-width: 850px) { header { align-items: flex-start; flex-direction: column; justify-content: center; } aside { width: 100%; } .demo-shell { grid-template-columns: 1fr; padding: 30px; } .principles { grid-template-columns: 1fr; } }
@media (max-width: 560px) { main { width: min(100% - 28px, 1180px); } nav { height: 72px; } .public-client-badge { display: none; } h1 { font-size: 56px; } .demo-shell { padding: 22px; border-radius: 20px; } .actions { align-items: stretch; flex-direction: column; } }
