:root {
  color-scheme: dark;
  --bg: #080c18;
  --surface: #101628;
  --surface-soft: #151d32;
  --ink: #f7f8fc;
  --muted: #aab3c8;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #725dff;
  --brand-deep: #513bdc;
  --accent: #f5b72d;
  --paper: #f4f1e8;
  --paper-ink: #111827;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 7%, rgba(114, 93, 255, 0.18), transparent 27rem),
    radial-gradient(circle at 5% 38%, rgba(245, 183, 45, 0.06), transparent 24rem),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(81, 59, 220, 0.25);
}

.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: 1rem; letter-spacing: 0.01em; }
.brand small { margin-top: 5px; color: var(--accent); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.16em; }

nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); font-size: 0.92rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

.hero {
  min-height: 680px;
  padding: 90px 0 80px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h1 span { color: var(--brand); }

.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); box-shadow: 0 12px 34px rgba(81, 59, 220, 0.35); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.035); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.07); }
.button-light { background: var(--ink); color: #111827; white-space: nowrap; }

.trust-list {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--accent); }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.23;
  filter: blur(80px);
}

.display-shell {
  position: relative;
  width: min(390px, 86vw);
  aspect-ratio: 0.82;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: linear-gradient(145deg, #1e263b, #080c16);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.42);
  transform: rotate(3deg);
}

.display-screen {
  height: 100%;
  padding: 36px;
  overflow: hidden;
  border-radius: 19px;
  background: var(--paper);
  color: var(--paper-ink);
}

.screen-label { display: inline-block; margin: 0; padding: 8px 13px; background: var(--accent); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.15em; }
.display-screen h2 { margin: 27px 0 38px; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 0.92; letter-spacing: -0.065em; }
.screen-bottom { display: flex; align-items: center; gap: 22px; }
.screen-bottom p { margin: 0; font-size: 0.85rem; line-height: 1.45; }
.qr {
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  background:
    linear-gradient(90deg, #111827 12px, transparent 12px) 0 0 / 28px 28px,
    linear-gradient(#111827 12px, transparent 12px) 0 0 / 28px 28px,
    linear-gradient(135deg, transparent 40%, #111827 40% 58%, transparent 58%) 0 0 / 19px 19px,
    #fff;
  border: 8px solid #fff;
  outline: 3px solid #111827;
}

.tap-badge {
  position: absolute;
  right: -2%;
  bottom: 8%;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 22, 40, 0.88);
  box-shadow: 0 15px 42px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 800;
}

.tap-badge span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #111827; }

.workflow,
.requirements {
  padding: 72px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.025);
}

h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -0.04em; }
.workflow ol { margin: 0; padding: 0; display: grid; gap: 22px; list-style: none; }
.workflow li { padding-bottom: 22px; display: grid; grid-template-columns: 58px 1fr; border-bottom: 1px solid var(--line); }
.workflow li:last-child { border-bottom: 0; padding-bottom: 0; }
.workflow li span { grid-row: span 2; color: var(--brand); font-weight: 900; }
.workflow li strong { font-size: 1.1rem; }
.workflow li p { margin: 5px 0 0; color: var(--muted); }

.features { padding: 130px 0; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)); }
.feature-grid h3 { margin: 32px 0 10px; font-size: 1.15rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(114, 93, 255, 0.16); color: #a99cff; font-size: 0.78rem; font-weight: 900; }

.privacy-callout {
  padding: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--brand-deep), #33218f);
  box-shadow: 0 28px 75px rgba(81, 59, 220, 0.22);
}

.privacy-callout > div { max-width: 720px; }
.privacy-callout .eyebrow { color: #ffe09a; }
.privacy-callout p:last-child { margin: 20px 0 0; color: #ddd8ff; }

.requirements { margin: 80px 0 110px; align-items: end; }
.requirements > p { margin: 0; color: var(--muted); font-size: 1.04rem; }

footer {
  min-height: 160px;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; }
footer > p { margin: 0; grid-column: 1 / -1; }

.policy-page { background: var(--bg); }
.policy-wrap { width: min(860px, calc(100% - 40px)); padding: 72px 0 100px; }
.policy-card { padding: clamp(28px, 7vw, 72px); border: 1px solid var(--line); border-radius: 32px; background: var(--surface); }
.policy-card h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.effective-date { margin: 18px 0 38px; color: var(--muted); }
.policy-card h2 { margin: 38px 0 8px; font-size: 1.35rem; letter-spacing: -0.02em; }
.policy-card p { color: #c0c8da; }
.policy-card a { color: #a99cff; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-list { justify-content: center; }
  .hero-visual { min-height: 460px; }
  .workflow, .requirements { grid-template-columns: 1fr; gap: 42px; padding: 52px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-callout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 28px, 1160px); }
  .site-header { min-height: 76px; }
  nav { gap: 14px; }
  nav a:first-child { display: none; }
  .hero { min-height: auto; padding: 66px 0 48px; gap: 35px; }
  h1 { font-size: clamp(3.25rem, 18vw, 5rem); }
  .hero-actions { display: grid; }
  .trust-list { gap: 10px 16px; }
  .hero-visual { min-height: 415px; }
  .display-shell { width: min(330px, 88vw); }
  .display-screen { padding: 27px; }
  .qr { width: 92px; height: 92px; }
  .tap-badge { right: 0; bottom: 2%; }
  .workflow, .requirements, .privacy-callout { padding: 34px 25px; border-radius: 24px; }
  .features { padding: 90px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 215px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 7px; }
  .policy-wrap { padding: 40px 0 70px; }
  .policy-card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
