:root {
  --green-950: #032e1c;
  --green-900: #063b25;
  --green-800: #075231;
  --green-700: #087341;
  --mint-100: #e5f6ec;
  --mint-50: #f1faf5;
  --ink: #10251a;
  --muted: #637169;
  --line: #dbe7df;
  --danger: #b62f38;
  --warning: #98670d;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f3f7f4;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body { min-height: 100vh; margin: 0; overflow-x: hidden; background: radial-gradient(circle at 82% 4%, #d8f5e5 0, transparent 30rem), linear-gradient(180deg, #f9fbfa, #edf4f0); }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.ambient { position: fixed; z-index: -1; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 32rem; height: 32rem; top: -15rem; right: -12rem; background: rgb(20 180 96 / 8%); }
.ambient-two { width: 23rem; height: 23rem; bottom: -12rem; left: -9rem; border: 1px solid rgb(6 59 37 / 6%); box-shadow: 0 0 0 5rem rgb(255 255 255 / 18%); }

.site-header { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 25px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.logo-frame { display: grid; width: 52px; height: 52px; place-items: center; overflow: hidden; border: 1px solid rgb(6 59 37 / 10%); border-radius: 15px; background: white; box-shadow: 0 8px 25px rgb(6 59 37 / 9%); }
.logo-frame img { width: 47px; height: 47px; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { color: var(--green-900); font-size: 15px; letter-spacing: -.01em; }
.brand-copy small { color: var(--muted); font-size: 11px; }
.secure-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid #cfe4d6; border-radius: 999px; color: var(--green-800); background: rgb(255 255 255 / 72%); box-shadow: 0 6px 20px rgb(6 59 37 / 5%); font-size: 11px; font-weight: 750; }
.secure-chip svg { width: 15px; height: 15px; }

.page-shell { width: min(780px, calc(100% - 32px)); margin: 25px auto 0; }
.intro { max-width: 650px; margin: 0 auto 30px; text-align: center; }
.eyebrow, .state-kicker { margin: 0; color: var(--green-700); font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.intro h1 { max-width: 620px; margin: 12px auto 10px; color: var(--green-950); font-size: clamp(30px, 6vw, 51px); font-weight: 680; line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.intro > p:last-child { max-width: 570px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.7; }

.verification-card { position: relative; overflow: hidden; border: 1px solid rgb(6 59 37 / 9%); border-radius: 29px; background: rgb(255 255 255 / 94%); box-shadow: 0 30px 80px rgb(6 59 37 / 13%), 0 3px 10px rgb(6 59 37 / 5%); backdrop-filter: blur(18px); }
.verification-card::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--green-800), #20ae64 65%, #7ed59e); }
.verification-card[data-tone="warning"]::before { background: linear-gradient(90deg, #89600d, #e2a429); }
.verification-card[data-tone="danger"]::before { background: linear-gradient(90deg, #8d202d, #da4a52); }
.state { padding: clamp(28px, 6vw, 50px); }
.state-loading, .state-welcome, .state-error { min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.state h2 { margin: 10px 0 8px; color: var(--green-950); font-size: clamp(24px, 5vw, 34px); font-weight: 680; letter-spacing: -.04em; }
.state > p:not(.state-kicker):not(.support-copy), .result-header p:last-child { max-width: 500px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.status-orb { display: grid; width: 82px; height: 82px; margin-bottom: 20px; place-items: center; border-radius: 50%; background: var(--mint-100); color: var(--green-700); box-shadow: inset 0 0 0 1px rgb(8 115 65 / 8%), 0 13px 35px rgb(6 59 37 / 10%); }
.status-orb svg { width: 39px; height: 39px; }
.neutral-orb svg { fill: currentColor; stroke: none; }
.loading-orb span { width: 32px; height: 32px; border: 3px solid rgb(8 115 65 / 16%); border-top-color: var(--green-700); border-radius: 50%; animation: spin .85s linear infinite; }
.skeleton-stack { display: grid; width: min(360px, 80%); gap: 10px; margin-top: 32px; }
.skeleton-stack i { display: block; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #edf3ef 15%, #f8faf9 45%, #edf3ef 75%); background-size: 220% 100%; animation: shimmer 1.35s linear infinite; }
.skeleton-stack i:nth-child(2) { width: 82%; }
.skeleton-stack i:nth-child(3) { width: 60%; }

.button { display: inline-flex; min-height: 48px; margin-top: 26px; align-items: center; justify-content: center; padding: 0 23px; border: 0; border-radius: 14px; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); }
.primary-button { color: white; background: var(--green-700); box-shadow: 0 10px 24px rgb(8 115 65 / 20%); }
.secondary-button { border: 1px solid #cfe2d6; color: var(--green-800); background: white; }

.result-header { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding-bottom: 30px; }
.result-header .status-orb { width: 76px; height: 76px; margin: 0; }
.result-header h2 { margin-top: 8px; }
.verification-card[data-tone="warning"] .result-orb { color: var(--warning); background: #fff5db; }
.verification-card[data-tone="danger"] .result-orb, .error-orb { color: var(--danger); background: #fff0f1; }
.reference-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #f9fbfa; }
.reference-row > span:first-child { display: grid; gap: 4px; }
.reference-row small, .data-grid dt { color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.reference-row strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--green-950); font-size: 14px; letter-spacing: .05em; }
.status-pill { padding: 8px 10px; border-radius: 999px; color: var(--green-800); background: var(--mint-100); font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.verification-card[data-tone="warning"] .status-pill { color: #76500b; background: #fff2cc; }
.verification-card[data-tone="danger"] .status-pill { color: #9d2731; background: #ffe7e9; }

.data-section { margin-top: 28px; }
.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-icon { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 12px; color: var(--green-700); background: var(--mint-100); }
.section-icon svg { width: 21px; height: 21px; }
.section-heading p { margin: 0 0 3px; color: var(--green-700); font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.section-heading h3 { margin: 0; font-size: 15px; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.data-grid > div { min-width: 0; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.data-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.data-grid > div:nth-last-child(2) { border-bottom: 0; }
.data-grid .wide { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 0; background: var(--mint-50); }
.data-grid dd { margin: 6px 0 0; overflow-wrap: anywhere; color: var(--green-950); font-size: 13px; font-weight: 750; }

.privacy-note { display: flex; gap: 13px; margin-top: 24px; padding: 16px 18px; border: 1px solid #d6e8dc; border-radius: 16px; color: var(--green-900); background: var(--mint-50); }
.privacy-note svg { width: 21px; height: 21px; flex: 0 0 auto; }
.privacy-note strong { font-size: 12px; }
.privacy-note p { margin: 4px 0 0; color: #547063; font-size: 11px; line-height: 1.55; }
.result-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.result-footer span { color: var(--muted); font-size: 10px; }
.text-button { border: 0; padding: 6px; color: var(--green-700); background: none; font-size: 11px; font-weight: 800; }
.support-copy { margin: 16px 0 0; color: #829088; font-size: 10px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; padding: 24px 0; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; color: #6d7972; font-size: 10px; font-weight: 650; }
.trust-row svg { width: 14px; height: 14px; color: var(--green-700); }
.site-footer { width: min(780px, calc(100% - 32px)); margin: 0 auto; padding: 5px 0 calc(30px + env(safe-area-inset-bottom)); color: #7d8982; text-align: center; font-size: 9px; line-height: 1.6; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

@media (max-width: 600px) {
  .site-header { width: min(100% - 28px, 1120px); padding: 17px 0; }
  .brand-copy small { display: none; }
  .secure-chip { padding: 8px 10px; }
  .page-shell { margin-top: 12px; }
  .intro { margin-bottom: 21px; }
  .verification-card { border-radius: 23px; }
  .state { padding: 29px 21px; }
  .result-header { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .result-header .status-orb { width: 70px; height: 70px; }
  .reference-row { align-items: flex-start; }
  .data-grid { grid-template-columns: 1fr; }
  .data-grid > div, .data-grid > div:nth-child(odd), .data-grid > div:nth-last-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .data-grid .wide { grid-column: auto; }
  .result-footer { align-items: flex-start; flex-direction: column; }
  .text-button { padding-left: 0; }
}
