:root {
  --bg: #0A0A0A;
  --bg-2: #0D0D0D;
  --panel: #16120f;
  --panel-2: #211814;
  --line: #2a211c;
  --line-hot: #3a2b24;
  --accent: #CC5929;
  --accent-dark: #8f3f20;
  --text: #F0EBE3;
  --secondary: #8A8278;
  --muted: #5A5550;
  --shadow: rgba(0, 0, 0, 0.72);
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
  overscroll-behavior-y: none;
}
body {
  min-height: 100%;
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 30% -10%, #1a1410 0%, var(--bg) 44%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

main,
.section,
.hero,
.editions-note,
.site-footer {
  background-color: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 30% -10%, #1a1410 0%, var(--bg) 44%, var(--bg-2) 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}
.site-nav a:hover, .text-link:hover { color: var(--accent); }
.nav-cta { color: var(--text); }
.nav-toggle { display: none; }

.section, .hero {
  padding: clamp(76px, 12vw, 132px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.section { max-width: 1280px; margin: 0 auto; }
.narrow { max-width: 940px; }
.center { text-align: center; }
.section-grid, .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(48px, 8vw, 92px);
}
.hero { min-height: 100vh; max-width: 1380px; margin: 0 auto; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 18, 15, 0.82);
  color: var(--secondary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 32px;
}
.status-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(204, 89, 41, 0.85);
  animation: pulse 2s infinite;
}

h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.035em; line-height: 0.98; }
h1 { font-size: clamp(56px, 11vw, 112px); margin-bottom: 30px; }
h2 { font-size: clamp(42px, 7vw, 72px); margin-bottom: 28px; }
h3 { font-size: 24px; margin-bottom: 16px; letter-spacing: -0.02em; }
strong { color: var(--accent); font-weight: 400; }
p { color: var(--secondary); margin: 0; }
.hero p, .center > p, .prose p { font-size: clamp(18px, 2.2vw, 22px); }
.prose { display: grid; gap: 26px; }
.section-kicker, .microcopy {
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.microcopy { color: var(--muted); margin-top: 18px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.center-row { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 14px;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border: 1px solid #6f3019;
  color: var(--text);
  box-shadow: inset 0 1px 1px rgba(240,235,227,0.18), 0 18px 34px -12px var(--shadow), 0 0 22px rgba(204,89,41,0.16);
}
.secondary {
  border: 1px solid var(--line);
  background: rgba(22, 18, 15, 0.62);
  color: rgba(240, 235, 227, 0.82);
}
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 13px;
}

.device-placeholder {
  width: min(390px, 100%);
  aspect-ratio: 390 / 844;
  border-radius: 48px;
  border: 1px solid var(--line-hot);
  background: linear-gradient(135deg, var(--line), var(--bg-2), #050505);
  box-shadow: 0 42px 110px var(--shadow), inset 0 1px 1px rgba(240,235,227,0.12);
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 24px;
}
.device-label, .stack-label, .icon-placeholder {
  border: 1px dashed rgba(204, 89, 41, 0.42);
  border-radius: 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 18px;
}
.device-card {
  border: 1px solid var(--line-hot);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--panel-2), var(--bg-2));
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(240,235,227,0.08), 0 24px 60px var(--shadow);
}
.device-card span, .device-card em { display: block; color: var(--accent); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; }
.device-card strong { display: block; color: var(--text); font-size: 32px; margin: 18px 0 42px; }
.qr-preview { width: 92px; height: 92px; background: repeating-linear-gradient(90deg, var(--text), var(--text) 7px, var(--line) 7px, var(--line) 14px); opacity: 0.72; border-radius: 8px; }

.how-works {
  max-width: none;
  padding-top: clamp(92px, 14vw, 176px);
  padding-bottom: clamp(76px, 10vw, 132px);
  background: radial-gradient(circle at 50% 0%, rgba(204, 89, 41, 0.08), transparent 42%), var(--bg);
}
.how-works-header {
  position: relative;
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 0 clamp(18px, 4vw, 56px);
  text-align: center;
}
.how-works-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(138, 130, 120, 0.22);
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.rail-screw {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2e, #09090b);
  border: 1px solid #050505;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.12), 0 1px 1px rgba(255,255,255,0.05);
}
.flow-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #070707;
  border: 1px solid #050505;
  color: #45d483;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.9), 0 1px 1px rgba(255,255,255,0.04);
}
.flow-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 7px #22c55e, inset 0 1px 1px rgba(255,255,255,0.8);
}
.how-works-header h2 {
  color: transparent;
  background: linear-gradient(180deg, #fff, #d7d0c8 44%, #5a5550);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.how-works-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--secondary);
  font-size: clamp(17px, 2vw, 20px);
}
.how-works-meter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
}
.how-works-meter span {
  width: 64px;
  height: 2px;
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 1px 1px rgba(0,0,0,1), 0 1px 0 rgba(255,255,255,0.08);
}
.how-works-meter i {
  width: 6px;
  height: 12px;
  transform: skewX(-20deg);
  background: #3f3a35;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.14);
}
.how-works-meter em { font-style: normal; }
.how-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 32px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px);
}
.how-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  border-radius: 32px;
  border: 1px solid #3f3f46;
  background: linear-gradient(135deg, #2a2a2e 0%, #121214 100%);
  box-shadow: -16px -16px 40px rgba(63,63,70,0.04), 32px 32px 80px rgba(0,0,0,0.72), inset 1px 1px 2px rgba(255,255,255,0.1), inset -1px -1px 4px rgba(0,0,0,0.8);
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.how-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: screen;
  background-image: repeating-linear-gradient(90deg, #fff, #fff 1px, transparent 1px, transparent 4px);
}
.how-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 120% at 0% 0%, rgba(255,255,255,0.06), transparent 50%);
}
.how-card:hover { transform: translateY(-4px); filter: brightness(1.05) saturate(1.04); }
.how-card-top,
.how-card-screen,
.how-card h3,
.how-card p { position: relative; z-index: 1; }
.how-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  color: #5a5550;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.how-card-top i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f7b68e, var(--accent) 45%, #451c0e 72%);
  box-shadow: 0 0 10px rgba(204,89,41,0.55), inset 0 1px 2px rgba(255,255,255,0.45);
}
.how-card-screen {
  min-height: 165px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #050505;
  background: #050505;
  box-shadow: inset 0 8px 16px rgba(0,0,0,1), inset 0 2px 4px rgba(0,0,0,0.8), 0 1px 1px rgba(255,255,255,0.08);
}
.credential-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(90,85,80,0.35);
}
.credential-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(204,89,41,0.35);
  border-radius: 6px;
  background: rgba(204,89,41,0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.credential-row strong,
.credential-row small { display: block; }
.credential-row strong { color: var(--text); font-size: 14px; }
.credential-row small { color: var(--muted); font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 9px; }
.status-line,
.consent-row,
.verify-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 8px;
  border: 1px solid rgba(90,85,80,0.36);
  border-radius: 7px;
  background: rgba(22,18,15,0.66);
  color: #d8d2ca;
  font-size: 10px;
}
.status-line span { color: var(--accent); }
.request-title { color: #d8d2ca; font-size: 12px; margin-bottom: 14px; }
.consent-row { justify-content: space-between; opacity: 0.62; }
.consent-row span { width: 14px; height: 14px; border: 1px solid #5a5550; border-radius: 3px; }
.consent-row strong { margin-right: auto; color: #b9b1a8; font-size: 10px; font-weight: 500; }
.consent-row small { color: var(--muted); font-size: 8px; }
.consent-row.active { opacity: 1; border-color: rgba(204,89,41,0.5); }
.consent-row.active span { width: auto; height: auto; border: 0; color: var(--accent); }
.consent-row.active strong { color: var(--text); }
.consent-row.active small { color: #d7835a; }
.proof-valid {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(90,85,80,0.35);
  color: #45d483;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 0 4px rgba(34,197,94,0.35);
}
.verify-line { justify-content: space-between; border: 0; background: transparent; padding: 5px 0; }
.verify-line span { color: var(--secondary); font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.verify-line strong { color: #45d483; font-size: 10px; font-weight: 700; }
.how-card h3 {
  margin-top: auto;
  color: var(--text);
  font-size: 18px;
}
.how-card p { color: var(--secondary); font-size: 15px; line-height: 1.5; }

.cards { display: grid; gap: 24px; margin-top: 42px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .editions-note {
  background: linear-gradient(135deg, var(--panel), var(--bg));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(240,235,227,0.05), 0 24px 60px rgba(0,0,0,0.35);
}
.card p { font-size: 18px; }
.small p { font-size: 16px; }
.icon-placeholder { height: 112px; display: grid; place-items: center; margin-bottom: 24px; }

.stack-placeholder {
  position: relative;
  min-height: 520px;
  border-radius: 38px;
  border: 1px solid var(--line-hot);
  background: linear-gradient(135deg, var(--panel-2), var(--bg));
  box-shadow: inset 0 1px 0 rgba(240,235,227,0.08), 0 40px 110px var(--shadow);
  overflow: hidden;
}
.stack-label { margin: 28px; }
.fanned-card {
  position: absolute;
  left: 50%;
  width: min(290px, 74%);
  height: 164px;
  border-radius: 24px;
  border: 1px solid var(--line-hot);
  background: linear-gradient(135deg, #2a1b14, var(--bg-2));
  color: var(--text);
  display: flex;
  align-items: flex-start;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(240,235,227,0.08);
}
.front { top: 210px; transform: translateX(-50%) rotate(-4deg); z-index: 3; }
.mid { top: 265px; transform: translateX(-47%) rotate(3deg); z-index: 2; }
.back { top: 320px; transform: translateX(-54%) rotate(-8deg); z-index: 1; }

.editions-note {
  max-width: 760px;
  margin: 48px auto;
  text-align: center;
  padding: 24px;
}
.editions-note h2 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.editions-note p { font-size: 15px; }
.closing h2 { font-size: clamp(48px, 9vw, 96px); }

.site-footer {
  padding: 72px clamp(18px, 4vw, 56px) 44px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto 48px;
}
.footer-grid nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.footer-grid a { color: var(--secondary); }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { display: block; margin-bottom: 18px; }
.fine-print { max-width: 1280px; margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  .nav-toggle {
    display: inline-flex;
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 10, 10, 0.96);
  }
  .site-nav.open { display: flex; }
  .section-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .three, .two, .four, .how-works-grid { grid-template-columns: 1fr; }
  .how-works-rail { align-items: flex-start; flex-direction: column; }
  .how-works-meter { flex-wrap: wrap; }
  .hero { min-height: auto; padding-top: 96px; }
  .device-placeholder { margin: 0 auto; }
}

@media (max-width: 430px) {
  body { font-size: 17px; }
  .section, .hero { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 54px; }
  h2 { font-size: 40px; }
  .button { width: 100%; }
  .cta-row { width: 100%; }
  .device-placeholder { border-radius: 34px; padding: 18px; }
}
