:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #586174;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: rgba(20, 33, 61, 0.14);
  --navy: #153f76;
  --orange: #e8692f;
  --gold: #f4c15d;
  --mint: #dff7ed;
  --shadow: 0 18px 44px rgba(20, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(9, 21, 42, 0.72), rgba(9, 21, 42, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a,
.site-footer a,
.text-link {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover,
.text-link:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(18px, 5vw, 72px) 68px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 43, 0.86) 0%, rgba(7, 20, 43, 0.56) 44%, rgba(7, 20, 43, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 20, 43, 0.7) 0%, rgba(7, 20, 43, 0) 40%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.8rem, 6.2vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  justify-content: start;
  min-width: 154px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.store-button svg {
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-button small {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.82;
}

.store-button span {
  display: block;
  margin-top: 3px;
  font-size: 1.02rem;
  line-height: 1;
}

.store-button-dark {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.intro-band,
.section,
.cta-section,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 42px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

h2,
h3,
p {
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
}

h3 {
  margin: 0;
  font-size: 1.04rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.intro-band p {
  margin: 0;
  font-size: 1.06rem;
}

.community-section {
  background: #f1f7f4;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.community-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.08);
}

.community-grid p {
  margin: 8px 0 0;
}

.section {
  padding-top: 74px;
  padding-bottom: 74px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.section-copy > p {
  max-width: 720px;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.steps article,
.wallet-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.08);
}

.steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 950;
}

.steps h3,
.steps p {
  grid-column: 2;
}

.steps p,
.wallet-grid p {
  margin: 6px 0 0;
}

.visual-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 420px);
}

.visual-frame img,
.wallet-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wallet-section {
  background: #eef8f9;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.wallet-grid article {
  padding: 20px;
}

.wallet-visual {
  width: min(100%, 520px);
  margin: 34px auto 0;
}

.wallet-visual + .wallet-visual {
  margin-top: 24px;
}

.wallet-visual figcaption {
  margin-top: 9px;
  color: #14213d;
  font-weight: 800;
  text-align: center;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 38px;
  align-items: start;
  background: #fff;
}

.faq-section {
  background: #fff;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.faq-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list article:first-child {
  grid-column: span 2;
}

.faq-list p {
  margin: 8px 0 0;
}

.about-section .about-copy {
  margin-top: 0;
  padding-top: clamp(30px, 3vw, 48px);
  font-size: 1.05rem;
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 30px;
  align-items: center;
}

.founder-copy {
  max-width: 760px;
}

.founder-callout {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.08);
}

.founder-callout strong {
  color: var(--ink);
  font-size: 1rem;
}

.founder-callout span {
  color: var(--muted);
  line-height: 1.6;
}

.founder-mascot {
  justify-self: center;
  width: min(220px, 55vw);
  filter: drop-shadow(0 18px 26px rgba(20, 33, 61, 0.18));
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(223, 247, 237, 0.84), rgba(255, 255, 255, 0.96)),
    #fff;
  border-top: 1px solid var(--line);
}

.waitlist-copy {
  max-width: 720px;
}

.waitlist-copy p {
  max-width: 620px;
}

.waitlist-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.waitlist-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.waitlist-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 33, 61, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: 3px solid rgba(21, 63, 118, 0.18);
  border-color: var(--navy);
}

.waitlist-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.waitlist-note {
  margin: 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.83rem;
}

.waitlist-note[data-state="success"] {
  color: #12683f;
}

.waitlist-note[data-state="error"] {
  color: #ae3521;
}

.cta-section {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 72px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 33, 61, 0.96), rgba(21, 63, 118, 0.94)),
    var(--ink);
}

.cta-section h2 {
  max-width: 760px;
}

.cta-section p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  background: #09152a;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav {
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 90svh;
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 20, 43, 0.36) 0%, rgba(7, 20, 43, 0.82) 64%, rgba(7, 20, 43, 0.94) 100%);
  }

  .hero-content {
    align-self: end;
  }

  .intro-band,
  .split-section,
  .about-section,
  .founder-section,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .about-section .about-copy {
    padding-top: 0;
  }

  .founder-mascot {
    width: 150px;
  }

  .wallet-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-list article:first-child {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-content {
    min-width: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .download-actions,
  .store-button {
    width: 100%;
    min-width: 0;
  }

  .steps article {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 16px;
  }

  .steps span {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}
