/* ============================================================
   OurMarket — Public marketing homepage
   JetBrains Mono · hairline borders · escrow-green accents
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #F1F4F8;
  --surface: #FFFFFF;
  --surface-raised: #F7F9FC;
  --border: #DCE2EA;
  --hairline: #E7EBF1;

  --ink: #10141C;
  --ink-2: #525C6B;
  --ink-3: #8991A1;

  --green: #15A24A;
  --green-dark: #0E8A3D;
  --green-deep: #008751;
  --green-soft: #E8F6EE;

  --amber: #D97706;
  --amber-soft: #FEF3E2;
  --red: #DC2626;
  --blue: #0284C7;
  --blue-soft: #E0F1FB;
  --purple: #7C3AED;

  --grid-line: rgba(16, 20, 32, 0.05);
  --dark-chip: #10141C;

  --r-xs: 6px;
  --r-sm: 8px;
  --r: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  --t: 0.18s cubic-bezier(.4, 0, .2, 1);

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #090C11;
  --surface: #10141C;
  --surface-raised: #161B25;
  --border: #232A38;
  --hairline: #1B212C;

  --ink: #F3F5F9;
  --ink-2: #97A1B4;
  --ink-3: #636C7E;

  --green: #22C55E;
  --green-dark: #16A34A;
  --green-deep: #22C55E;
  --green-soft: rgba(34, 197, 94, 0.12);

  --amber: #F5A623;
  --amber-soft: rgba(245, 166, 35, 0.12);
  --red: #F0554B;
  --blue: #38BDF8;
  --blue-soft: rgba(56, 189, 248, 0.12);
  --purple: #A78BFA;

  --grid-line: rgba(255, 255, 255, 0.045);
  --dark-chip: #F3F5F9;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--mono);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "tnum" 1, "ss01" 1;
  transition: background .25s ease, color .25s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul { list-style: none; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

::selection { background: var(--green); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r);
  font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.3px; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: var(--t);
  border: 1px solid transparent;
  font-family: var(--mono);
}
.btn i { font-size: 0.9em; }
.btn-sm { padding: 8px 14px; font-size: 11px; }
.btn-lg { padding: 13px 24px; font-size: 13px; }

.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-light { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-light:hover { background: var(--surface-raised); transform: translateY(-1px); }

.btn-dark { background: var(--dark-chip); color: var(--bg); border-color: var(--dark-chip); }
[data-theme="dark"] .btn-dark { background: #fff; color: #10141C; border-color: #fff; }

.btn-stack { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-stack small { font-size: 9px; font-weight: 700; letter-spacing: 0.8px; opacity: 0.75; }
.btn-stack strong { font-size: 13px; font-weight: 800; }

.eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.eyebrow.dim { color: var(--ink-3); }

.section { padding: 64px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2;
}
.section-sub {
  color: var(--ink-2); font-size: 13px; max-width: 560px; margin-top: 8px;
  line-height: 1.6;
}

.link-more {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--ink-2);
  transition: var(--t);
}
.link-more:hover { gap: 11px; color: var(--green); }

/* ============================================================
   ANNOUNCE
   ============================================================ */
.announce {
  background: var(--dark-chip); color: var(--bg);
  font-size: 11px; letter-spacing: 0.3px;
}
[data-theme="dark"] .announce { background: var(--surface-raised); color: var(--ink); border-bottom: 1px solid var(--border); }
.announce-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 34px;
}
.announce p { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.announce p i { color: #4ADE80; }
.announce-links { display: flex; align-items: center; gap: 20px; }
.announce-links a { display: inline-flex; align-items: center; gap: 6px; opacity: 0.75; transition: var(--t); }
.announce-links a:hover { opacity: 1; }
.announce-links i { color: #4ADE80; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 900;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}

.header-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: transparent;
}
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -0.3px; }
.brand-name strong { font-weight: 800; color: var(--green); }

.nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
  margin-left: 12px;
}
.nav a {
  padding: 8px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav a:hover { color: var(--ink); background: var(--surface-raised); }

.header-actions {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 0.92rem; color: var(--ink-2);
  transition: var(--t);
  border: 1px solid transparent;
}
.icon-btn:hover { background: var(--surface-raised); color: var(--ink); border-color: var(--border); }

.hamburger {
  display: none;
  flex-direction: column; gap: 4px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.hamburger span {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg);
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 20% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 20% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 11px; border-radius: var(--r-xs);
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(21, 162, 74, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(21, 162, 74, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(21, 162, 74, 0.05); }
}

.hero-copy h1 {
  font-size: 46px; font-weight: 800;
  line-height: 1.05; letter-spacing: -1.8px;
  margin-bottom: 18px;
}
.hl { color: var(--green); }
.hero-copy > p {
  font-size: 14px; color: var(--ink-2);
  max-width: 500px; margin-bottom: 28px;
  line-height: 1.6;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}

/* ---------- Early access / founding member card ---------- */
.hero-launch {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  max-width: 500px;
  position: relative;
  overflow: hidden;
}
.hero-launch::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
}
.launch-ico {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid; place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}
[data-theme="dark"] .launch-ico { color: var(--green); }
.launch-copy {
  display: flex; flex-direction: column;
  line-height: 1.45; gap: 1px;
  min-width: 0;
}
.launch-tag {
  font-size: 9px; font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--green);
  margin-bottom: 2px;
}
.launch-copy strong {
  font-size: 13px; font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.launch-copy small {
  font-size: 11px; color: var(--ink-2);
  line-height: 1.5;
}

/* ---------- Phone mockup ---------- */
.hero-visual {
  position: relative;
  display: grid; place-items: center;
  min-height: 580px;
}

.phone-wrap { position: relative; }

.phone {
  width: 290px; height: 580px;
  background: var(--dark-chip);
  border-radius: 34px;
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.06),
    0 30px 60px -20px rgba(16, 20, 28, 0.4);
  position: relative;
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: var(--dark-chip);
  border-radius: var(--r-pill);
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  background: var(--bg);
  overflow: hidden;
  padding: 36px 14px 12px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}

[data-theme="dark"] .phone { background: #000; box-shadow: 0 0 0 2px rgba(255,255,255,0.08), 0 30px 60px -20px rgba(0,0,0,0.6); }

.wallet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px;
}
.wallet-head span { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; }
.wallet-head i { color: var(--ink-2); font-size: 0.85rem; }

.wallet-balance {
  background: var(--green);
  color: #fff;
  border-radius: var(--r-md);
  padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative; overflow: hidden;
}
.wallet-balance::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.wallet-balance::before {
  content: '';
  position: absolute;
  bottom: -40px; right: 20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.wallet-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1px;
  opacity: 0.85;
}
.wallet-amount {
  font-size: 22px; font-weight: 800;
  letter-spacing: -1px; line-height: 1.1;
  position: relative; z-index: 1;
}
.wallet-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 4px;
  position: relative; z-index: 1;
}
.wpill {
  font-size: 8.5px; font-weight: 700;
  padding: 3px 7px; border-radius: var(--r-pill);
  letter-spacing: 0.3px;
}
.wpill.amber { background: rgba(255,255,255,0.22); color: #fff; }
.wpill.green { background: rgba(255,255,255,0.14); color: #fff; }

.wallet-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.wstat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 6px;
  display: flex; flex-direction: column; gap: 3px;
}
.wstat-ico {
  width: 20px; height: 20px; border-radius: 5px;
  display: grid; place-items: center;
  font-size: 0.65rem;
}
.wstat-ico.g { background: var(--green-soft); color: var(--green-deep); }
[data-theme="dark"] .wstat-ico.g { color: var(--green); }
.wstat-ico.a { background: var(--amber-soft); color: var(--amber); }
.wstat-ico.b { background: var(--blue-soft); color: var(--blue); }
.wstat strong {
  font-size: 10px; font-weight: 800;
  letter-spacing: -0.3px; line-height: 1.1;
  font-feature-settings: "tnum" 1;
}
.wstat small { font-size: 8px; color: var(--ink-3); font-weight: 600; }

.wallet-actions {
  display: flex; gap: 6px;
}
.wallet-actions button {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 8.5px; font-weight: 700;
  color: var(--ink-2);
  transition: var(--t);
}
.wallet-actions button i { font-size: 0.85rem; color: var(--green); }
.wallet-actions button:hover { border-color: var(--green); }

.wallet-label-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9px; font-weight: 700;
  color: var(--ink-3); letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 0 0;
}
.wallet-label-row span { color: var(--green); cursor: pointer; }

.wallet-txns {
  display: flex; flex-direction: column; gap: 6px;
  overflow: hidden;
}
.txn {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 8px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 10px;
}
.txn-ico {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.65rem;
}
.txn-ico.g { background: var(--green-soft); color: var(--green-deep); }
[data-theme="dark"] .txn-ico.g { color: var(--green); }
.txn-ico.a { background: var(--amber-soft); color: var(--amber); }
.txn-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.txn-info strong {
  font-size: 9px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.txn-info small { font-size: 8px; color: var(--ink-3); }
.txn-amt {
  font-size: 10px; font-weight: 800;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}
.txn-amt.ok { color: var(--green); }
.txn-amt.warn { color: var(--amber); }

.wallet-nav {
  position: absolute;
  bottom: 10px; left: 14px; right: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 4px;
  display: flex; justify-content: space-around; align-items: center;
}
.wallet-nav span {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-3); font-size: 0.75rem;
  transition: var(--t);
}
.wallet-nav span.active {
  background: var(--green); color: #fff;
  padding: 6px 12px; width: auto; height: auto;
  border-radius: var(--r-pill);
}

/* floating cards */
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(16, 20, 28, 0.15);
}
.float-card strong { display: block; font-size: 11px; font-weight: 700; }
.float-card small { font-size: 10px; color: var(--ink-3); }
.fc-ico {
  width: 30px; height: 30px; border-radius: var(--r-sm);
  display: grid; place-items: center; font-size: 0.82rem;
  flex-shrink: 0;
}
.fc-ico.green { background: var(--green-soft); color: var(--green-deep); }
[data-theme="dark"] .fc-ico.green { color: var(--green); }
.fc-ico.amber { background: var(--amber-soft); color: var(--amber); }

.fc-1 { top: 40px; left: -30px; animation: floatY 5s ease-in-out infinite .4s; }
.fc-2 { bottom: 90px; right: -30px; animation: floatY 5.5s ease-in-out infinite .8s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { background: var(--surface); border-bottom: 1px solid var(--hairline); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 20px;
  border-right: 1px solid var(--hairline);
}
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { padding-right: 0; border-right: none; }
.trust-ico {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; font-size: 0.9rem;
  flex-shrink: 0;
}
[data-theme="dark"] .trust-ico { color: var(--green); }
.trust-item strong { display: block; font-size: 11.5px; font-weight: 700; }
.trust-item small { font-size: 10px; color: var(--ink-3); display: block; line-height: 1.35; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 22px;
  position: relative;
  transition: var(--t);
}
.feature-card:hover { border-color: var(--green); transform: translateY(-2px); }
.feature-ico {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 1rem;
  margin-bottom: 16px;
}
.feature-ico.g { background: var(--green-soft); color: var(--green-deep); }
[data-theme="dark"] .feature-ico.g { color: var(--green); }
.feature-ico.a { background: var(--amber-soft); color: var(--amber); }
.feature-ico.b { background: var(--blue-soft); color: var(--blue); }
.feature-ico.p { background: rgba(124, 58, 237, 0.1); color: var(--purple); }
.feature-ico.t { background: rgba(13, 148, 136, 0.1); color: #0D9488; }
.feature-num {
  position: absolute; top: 24px; right: 22px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.2px; color: var(--ink-3);
}
.feature-card h3 {
  font-size: 14px; font-weight: 800;
  letter-spacing: -0.3px; margin-bottom: 6px;
}
.feature-card p {
  font-size: 12px; color: var(--ink-2); line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 22px;
  position: relative;
  transition: var(--t);
}
.step:hover { border-color: var(--green); background: var(--surface); }
.step-num {
  position: absolute; top: 22px; right: 22px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.2px; color: var(--ink-3);
}
.step-ico {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
[data-theme="dark"] .step-ico { color: var(--green); }
.step h3 {
  font-size: 14px; font-weight: 800;
  letter-spacing: -0.3px; margin-bottom: 6px;
}
.step p { font-size: 12px; color: var(--ink-2); line-height: 1.55; }
.step-line {
  display: grid; place-items: center;
  color: var(--ink-3); font-size: 0.9rem;
  padding: 0 4px;
}

/* ============================================================
   BROWSE / FOUNDING VENDORS
   ============================================================ */
.browse { background: var(--bg); }

.founding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.founding-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 22px;
  position: relative;
  transition: var(--t);
}
.founding-card:hover { border-color: var(--green); transform: translateY(-2px); }

.founding-num {
  position: absolute; top: 22px; right: 22px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.2px; color: var(--ink-3);
  font-feature-settings: "tnum" 1;
}
.founding-ico {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.founding-ico.g { background: var(--green-soft); color: var(--green-deep); }
[data-theme="dark"] .founding-ico.g { color: var(--green); }
.founding-ico.a { background: var(--amber-soft); color: var(--amber); }
.founding-ico.b { background: var(--blue-soft); color: var(--blue); }
.founding-ico.p { background: rgba(124, 58, 237, 0.1); color: var(--purple); }

.founding-card h3 {
  font-size: 14px; font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.founding-card p {
  font-size: 12px; color: var(--ink-2);
  line-height: 1.6;
}

.browse-cta {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.browse-cta > i {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; font-size: 1rem;
  flex-shrink: 0;
}
[data-theme="dark"] .browse-cta > i { color: var(--green); }
.browse-cta > div { flex: 1; min-width: 200px; }
.browse-cta strong { display: block; font-size: 13px; font-weight: 800; letter-spacing: -0.2px; }
.browse-cta small { font-size: 11.5px; color: var(--ink-2); }

/* ============================================================
   VENDORS / PROMOS
   ============================================================ */
.vendors { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.promo {
  border-radius: var(--r-md);
  padding: 34px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; overflow: hidden; position: relative;
  border: 1px solid transparent;
}
.promo-copy { position: relative; z-index: 2; max-width: 68%; }
.promo-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 1.4px;
  padding: 4px 10px; border-radius: var(--r-xs);
  margin-bottom: 12px;
}
.promo h3 {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.6px; line-height: 1.2;
  margin-bottom: 8px;
}
.promo p { font-size: 12px; margin-bottom: 18px; line-height: 1.6; }
.promo-art {
  font-size: 5rem; opacity: 0.12;
  position: absolute; right: 20px; bottom: -12px;
  z-index: 1; line-height: 1;
}
.promo .btn { position: relative; z-index: 2; }

.promo-dark { background: var(--dark-chip); color: var(--bg); }
[data-theme="dark"] .promo-dark { background: var(--surface-raised); border-color: var(--border); color: var(--ink); }
.promo-dark p { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .promo-dark p { color: var(--ink-2); }
.promo-dark .promo-tag { background: rgba(255,255,255,0.1); color: #E2E8F0; }
[data-theme="dark"] .promo-dark .promo-tag { background: var(--green-soft); color: var(--green); }
.promo-dark .promo-art { color: #fff; opacity: 0.08; }

.promo-green { background: var(--green-soft); color: var(--ink); border-color: rgba(21, 162, 74, 0.2); }
.promo-green p { color: var(--ink-2); }
.promo-green .promo-tag { background: rgba(21, 162, 74, 0.15); color: var(--green-deep); }
[data-theme="dark"] .promo-green .promo-tag { color: var(--green); }
.promo-green .promo-art { color: var(--green-deep); opacity: 0.1; }

/* ============================================================
   DOWNLOAD CARD
   ============================================================ */
.download { background: var(--bg); }
.download-card {
  background: var(--dark-chip);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .download-card { background: var(--surface-raised); border: 1px solid var(--border); color: var(--ink); }
.download-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.download-copy { position: relative; z-index: 2; max-width: 620px; }
.download-copy h2 {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.8px; line-height: 1.15;
  margin-bottom: 10px;
}
.download-copy p {
  font-size: 13px; color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 22px;
}
[data-theme="dark"] .download-copy p { color: var(--ink-2); }

.download-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

.download-note {
  font-size: 11px; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.3px;
}
[data-theme="dark"] .download-note { color: var(--ink-3); }
.download-note i { color: #4ADE80; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding: 46px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--hairline);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  font-size: 11.5px; color: var(--ink-2);
  line-height: 1.6; max-width: 300px; margin-bottom: 16px;
}
.footer-social { display: flex; gap: 6px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  border: 1px solid var(--border); color: var(--ink-2);
  display: grid; place-items: center; font-size: 0.85rem;
  transition: var(--t);
}
.footer-social a:hover { background: var(--green); color: #fff; border-color: var(--green); }

.footer-col h4 {
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.4px; color: var(--ink-3);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: 11.5px; color: var(--ink-2);
  transition: var(--t);
}
.footer-col ul a:hover { color: var(--green); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 20px;
  font-size: 10.5px; color: var(--ink-3);
  letter-spacing: 0.3px;
}
/* ---------- Payments & logistics partners ---------- */
.pay-partners {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pay-partner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 120px;
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: var(--t);
}
.pay-partner img {
  height: 22px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.pay-partner:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -8px rgba(16, 20, 28, 0.15);
}

/* Dark mode: invert dark-on-light logos so they stay legible */
[data-theme="dark"] .pay-partner {
  background: #FFFFFF;
  border-color: transparent;
}
[data-theme="dark"] .pay-partner:hover { border-color: var(--green); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 130%);
  background: var(--dark-chip); color: var(--bg);
  padding: 11px 20px;
  border-radius: var(--r);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  z-index: 1100;
  display: flex; align-items: center; gap: 9px;
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1);
  max-width: calc(100vw - 40px);
}
[data-theme="dark"] .toast { background: var(--green); color: #fff; }
.toast.show { transform: translate(-50%, 0); }
.toast i { color: #4ADE80; }
[data-theme="dark"] .toast i { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .founding-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 38px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); row-gap: 26px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; padding-right: 0; }
  .trust-item:nth-child(3) { padding-left: 0; border-top: 1px solid var(--hairline); padding-top: 14px; }
  .trust-item:nth-child(4) { border-top: 1px solid var(--hairline); padding-top: 14px; }
  .trust-grid { gap: 0; }
  .trust-item { padding: 14px 20px; }
  .trust-item:nth-child(odd) { padding-left: 0; }
}

@media (max-width: 960px) {
  /* ---------- Mobile nav dropdown ---------- */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px -16px rgba(16, 20, 28, 0.22);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    margin-left: 0;
    flex: initial;
    max-height: calc(100dvh - 98px);
    overflow-y: auto;
    z-index: 950;
    animation: menuDrop 0.18s cubic-bezier(.4, 0, .2, 1);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--r-sm);
    text-align: left;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav a:active { background: var(--surface-raised); }

  .hamburger { display: flex; }
  .header-actions .btn-ghost { display: none; }

  @keyframes menuDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ---------- Hero ---------- */
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-launch { margin: 0 auto; }
  .hero-visual { min-height: 520px; }
  .hero-copy h1 { font-size: 34px; }

  /* ---------- Steps ---------- */
  .steps { grid-template-columns: 1fr; }
  .step-line { transform: rotate(90deg); padding: 4px 0; }

  /* ---------- Promos / download ---------- */
  .promo-grid { grid-template-columns: 1fr; }
  .download-card { padding: 36px 28px; text-align: center; }
  .download-copy { margin: 0 auto; }
  .download-buttons { justify-content: center; }
  .download-note { justify-content: center; }
}

/* Prevent body scroll when the mobile menu is open */
body.menu-open { overflow: hidden; }

/* Safe-area insets for notched devices */
@supports (padding: max(0px)) {
  .announce-inner {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}

/* Optional: make the mobile menu overlay the hero instead of pushing content */
.header { z-index: 1000; }

@media (max-width: 760px) {
  .founding-grid { grid-template-columns: 1fr; }
  .announce-links { display: none; }
  .announce-inner { justify-content: center; }

  .section { padding: 46px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .section-head h2 { font-size: 20px; }

  .hero { padding: 36px 0 50px; }
  .hero-copy h1 { font-size: 30px; letter-spacing: -1px; }
  .hero-copy > p { font-size: 13px; }
  .hero-cta .btn { width: 100%; }

  .feature-grid { grid-template-columns: 1fr; }


  .promo { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .promo-copy { max-width: 100%; }
  .promo-art { font-size: 3.6rem; right: 12px; }
  .promo h3 { font-size: 17px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
  .pay-partners { justify-content: center; }

  .phone { width: 260px; height: 530px; }
  .wallet-amount { font-size: 19px; }
  .fc-1 { left: -12px; top: 30px; }
  .fc-2 { right: -12px; bottom: 70px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-copy h1 { font-size: 26px; }



  .footer-grid { grid-template-columns: 1fr; }

  .phone { width: 240px; height: 500px; }
  .float-card { padding: 8px 11px; }
  .fc-ico { width: 26px; height: 26px; font-size: 0.72rem; }
  .float-card strong { font-size: 10px; }
  .float-card small { font-size: 9px; }
}

@media (max-width: 480px) {
  .header-actions { gap: 4px; }
  .header-actions .btn-primary {
    padding: 8px 12px;
    font-size: 10.5px;
    letter-spacing: 0.2px;
  }
  .header-actions .btn-primary i { display: none; }
  .brand-name { font-size: 14px; }
  .brand-mark { width: 32px; height: 32px; }
  .icon-btn, .hamburger { width: 36px; height: 36px; }
}

/* Prevent horizontal scroll / tap flash on mobile */
html { overflow-x: hidden; }
@media (hover: none) {
  .btn, .nav a, .icon-btn, .hamburger, .chip, .cat-card, .feature-card {
    -webkit-tap-highlight-color: transparent;
  }
}