/* nStamp static landing page — Cloudflare Pages ready */
:root {
  --ink: #07182f;
  --ink-2: #0b2544;
  --ink-3: #123962;
  --paper: #f8fbff;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #dbe7f5;
  --teal: #35e6bb;
  --teal-2: #8ff8dc;
  --gold: #ffd166;
  --card: #ffffff;
  --shadow: 0 24px 80px rgba(7, 24, 47, .16);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 10%, rgba(53, 230, 187, .17), transparent 28rem),
    radial-gradient(circle at 92% 2%, rgba(18, 57, 98, .26), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 42%, #f8fbff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  transform: translateY(-160%);
  z-index: 20;
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}
.section-pad { padding: 96px 0; }
.small-top { padding-top: 42px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 251, 255, .76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 231, 245, .72);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.13rem;
}
.brand img { border-radius: 12px; box-shadow: 0 10px 30px rgba(7, 24, 47, .14); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .94rem;
  color: #314560;
}
.nav-menu a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-menu a:hover { background: rgba(7, 24, 47, .07); color: var(--ink); transform: translateY(-1px); }
.nav-cta {
  color: var(--ink) !important;
  background: var(--teal) !important;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(53, 230, 187, .26);
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 118px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 54vw;
  height: 54vw;
  transform: translate(23%, -35%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 24, 47, .15), transparent 62%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .82fr);
  align-items: center;
  gap: 56px;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.eyebrow span {
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(53, 230, 187, .16);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 18px 0 24px;
  max-width: 780px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: .89;
  letter-spacing: -.075em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.055em;
}
h3 { font-size: 1.2rem; line-height: 1.18; margin-bottom: 10px; }
.lede {
  max-width: 650px;
  color: #40546f;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #03111f;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  box-shadow: 0 18px 40px rgba(53, 230, 187, .35);
}
.button.secondary {
  background: rgba(255,255,255,.72);
  border-color: var(--line);
  color: var(--ink);
}
.button.dark { background: var(--ink); color: #fff; box-shadow: none; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: #485d77;
  font-size: .92rem;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(219,231,245,.9);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
}
.trust-row span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.proof-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82));
  box-shadow: var(--shadow);
  border: 1px solid rgba(219,231,245,.88);
  overflow: hidden;
}
.proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,24,47,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7,24,47,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  pointer-events: none;
}
.proof-card > * { position: relative; }
.proof-card-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
.seal-orbit {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: #07182f;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 18px 46px rgba(7,24,47,.22);
}
.seal-orbit img { width: 86px; height: 86px; }
.mini-label, .hash-label {
  color: var(--muted-2);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .72rem;
  margin-bottom: 6px;
}
.proof-card h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); letter-spacing: -.045em; margin-bottom: 0; }
.hash-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: end;
  margin: 26px 0 20px;
  padding: 18px;
  background: #061326;
  border-radius: 22px;
  color: white;
}
.hash-label { grid-column: 1 / -1; color: #8aa0bb; margin: 0; }
.hash-panel code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1rem, 2vw, 1.16rem);
  color: var(--teal-2);
  overflow-wrap: anywhere;
}
.copy-hash {
  border: 0;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  color: #061326;
  background: var(--teal);
  font-weight: 800;
}
.proof-steps {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.proof-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
}
.proof-steps li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #03111f;
  background: var(--teal);
  font-weight: 900;
}
.proof-steps li.live::before { content: "•"; animation: pulse 1.55s ease-in-out infinite; }
.proof-steps strong { line-height: 1.1; }
.proof-steps span { color: var(--muted); font-size: .92rem; }
.chain-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.chain-line span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: .76;
}

.two-col, .trust-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 54px;
  align-items: start;
}
.two-col p:last-child {
  margin: 6px 0 0;
  color: #40546f;
  font-size: 1.16rem;
}
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.centered { text-align: center; margin-inline: auto; }
.section-head p { color: #526780; font-size: 1.06rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card, .use-card, .stack-item, details {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(7, 24, 47, .06);
}
.step-card {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.step-card.featured {
  background: linear-gradient(180deg, #07182f, #0d2748);
  color: white;
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(7, 24, 47, .26);
}
.step-card p { color: #526780; margin-bottom: 0; }
.step-card.featured p { color: #b6c7dc; }
.step-number {
  margin-bottom: auto;
  color: var(--teal);
  font-weight: 900;
  letter-spacing: .08em;
}
.muted-section { background: rgba(234, 244, 255, .72); }
.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.use-card { padding: 22px; }
.use-card span { font-size: 1.7rem; display: inline-block; margin-bottom: 18px; }
.use-card p { color: #526780; margin: 0; }
.body-large { color: #40546f; font-size: 1.12rem; }
.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 850;
  border-bottom: 2px solid var(--teal);
}
.trust-stack { display: grid; gap: 12px; }
.stack-item {
  display: grid;
  grid-template-columns: minmax(150px, .4fr) 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
}
.stack-item strong { color: var(--ink); }
.stack-item span { color: #526780; }

.cta-band { padding-top: 28px; }
.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 44px;
  color: white;
  background:
    radial-gradient(circle at 90% 12%, rgba(53, 230, 187, .28), transparent 26rem),
    linear-gradient(135deg, #07182f, #0e3157);
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.cta-card .section-kicker { color: var(--teal-2); }
.cta-card h2 { max-width: 760px; margin-bottom: 12px; }
.cta-card p { color: #c5d4e6; margin-bottom: 0; }

.faq-section { padding-top: 56px; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
details { padding: 20px 22px; }
summary { cursor: pointer; font-weight: 850; }
details p { color: #526780; margin: 12px 0 0; }

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(219,231,245,.9);
  background: rgba(255,255,255,.62);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  color: #526780;
  font-size: .95rem;
}
.footer-brand { color: var(--ink); }
.footer-grid p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #40546f; }
.footer-links a:hover { color: var(--ink); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 230, 187, .35); }
  50% { box-shadow: 0 0 0 8px rgba(53, 230, 187, 0); }
}

@media (max-width: 940px) {
  .section-pad { padding: 72px 0; }
  .hero { padding-top: 92px; }
  .hero-grid, .two-col, .trust-grid, .cta-card { grid-template-columns: 1fr; }
  .steps-grid, .use-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: white;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 800;
    cursor: pointer;
  }
  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 13px 14px; }
  .steps-grid, .use-grid { grid-template-columns: 1fr; }
  .proof-card { padding: 18px; }
  .proof-card-top { grid-template-columns: 1fr; }
  .seal-orbit { width: 106px; height: 106px; }
  .hash-panel { grid-template-columns: 1fr; }
  .copy-hash { justify-self: start; }
  .stack-item { grid-template-columns: 1fr; gap: 4px; }
  .cta-card { padding: 28px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
