:root {
  color-scheme: light;
  --paper: #fffaf4;
  --surface: #ffffff;
  --surface-2: #f4eee6;
  --ink: #251d22;
  --muted: #695f66;
  --line: #ded2c6;
  --brand: #512bd4;
  --fan: #d4147a;
  --maker: #087d7d;
  --organizer: #a35f00;
  --trust: #2f6f4e;
  --danger: #a73535;
  --shadow: 0 18px 48px rgba(37, 29, 34, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(8, 125, 125, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(37, 29, 34, 0.1);
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.footer-links a,
.cta-row a {
  border-radius: var(--radius);
  text-decoration: none;
}

.nav-links a {
  padding: 9px 11px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.86) 48%, rgba(255, 250, 244, 0.54) 100%),
    repeating-linear-gradient(135deg, rgba(81, 43, 212, 0.08) 0 1px, transparent 1px 28px),
    #f4eee6;
}

.hero .section-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
  min-height: 620px;
  padding: 76px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--maker);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.badge::before,
.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--maker);
}

.badge.review::before,
.status-pill.review::before {
  background: var(--organizer);
}

.badge.trust::before,
.status-pill.trust::before {
  background: var(--trust);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-row a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  font-weight: 900;
}

.cta-row a.primary {
  background: var(--ink);
  color: var(--paper);
}

.cta-row a.secondary {
  background: rgba(255, 255, 255, 0.62);
}

.visual-panel {
  position: relative;
  border: 1px solid rgba(37, 29, 34, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-frame {
  max-width: 390px;
  margin-left: auto;
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #2c242a;
  color: #fff;
}

.device-title {
  font-weight: 900;
}

.device-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px;
  background: var(--surface-2);
}

.device-tabs span {
  padding: 7px 6px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.device-tabs span:first-child {
  background: var(--brand);
  color: #fff;
}

.mock-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.mock-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mock-thumb {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(212, 20, 122, 0.2), rgba(8, 125, 125, 0.22)),
    repeating-linear-gradient(45deg, transparent 0 6px, rgba(37, 29, 34, 0.08) 6px 8px);
}

.mock-row strong,
.mock-row span {
  display: block;
}

.mock-row span {
  color: var(--muted);
  font-size: 0.84rem;
}

.mock-price {
  color: var(--maker);
  font-weight: 900;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: min(180px, 100%);
  aspect-ratio: 1;
  margin: 18px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.qr-grid span {
  border-radius: 2px;
  background: var(--ink);
}

.qr-grid span:nth-child(3n),
.qr-grid span:nth-child(5n) {
  background: transparent;
}

.route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.route-list a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.route-list a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.section {
  padding: 66px 0;
}

.section.alt {
  border-block: 1px solid var(--line);
  background: var(--surface-2);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.policy-block,
.source-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card {
  min-height: 190px;
  padding: 18px;
}

.card p,
.policy-block p,
.source-note p,
.flow-step p {
  margin: 0;
  color: var(--muted);
}

.card-kicker {
  margin-bottom: 14px;
  color: var(--fan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}

.flow-step {
  position: relative;
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.flow-step::before {
  content: counter(step);
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}

.policy-block {
  padding: 22px;
}

.policy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  padding-left: 18px;
  border-left: 4px solid var(--maker);
  color: var(--muted);
}

.source-note {
  margin-top: 22px;
  padding: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #2c242a;
  color: #fffaf4;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  padding: 42px 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer-links h3 {
  color: #ffffff;
}

.footer-links a {
  display: block;
  margin: 6px 0;
  color: rgba(255, 250, 244, 0.78);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.fine-print {
  margin: 14px 0 0;
  color: rgba(255, 250, 244, 0.66);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .hero .section-inner {
    min-height: auto;
  }

  .hero .section-inner,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .device-frame {
    margin: 0;
  }

  .card-grid,
  .flow,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }

  .hero .section-inner {
    padding: 48px 0;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    display: block;
  }

  .card-grid,
  .flow,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .mock-row {
    grid-template-columns: 36px 1fr;
  }

  .mock-price {
    grid-column: 2;
  }
}
