/*
 * CreationConnect — shared site CSS.
 * Light-first "CreationConnect Design System" — the SAME token system
 * as the admin dashboard (creationconnect-admin/src/index.css) and the
 * mobile app's ccui/foundation/tokens.ts. This is a full visual-system
 * replacement of the prior dark-navy/gold "luxury" landing skin: no
 * dark canvas, no atmospheric glow/blob effects, no second typeface.
 * White/light surfaces dominate; color is reserved for CTAs, financial
 * status, verification and warning/success/danger states.
 *
 * The established reveal, sticky-header, mobile-nav and waitlist hooks
 * remain stable. Ecosystem navigation and page components extend that
 * same shared layer without introducing a framework or dependency.
 */

@font-face {
  font-family: "CreationConnect Ionicons";
  src: url("/fonts/Ionicons.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
  font-display: block;
}

:root {
  color-scheme: light;

  /* ---- Background ---- */
  --bg-canvas: #F5F5F9;
  --bg-subtle: #EEEEF3;

  /* ---- Surface ---- */
  --surface-primary: #FFFFFF;
  --surface-secondary: #FAFAFC;
  --surface-interactive: #F0F0F5;

  /* ---- Text ---- */
  --text-primary: #12131A;
  --text-secondary: #40434F;
  --text-muted: #666B7A;
  --text-inverse: #F4F4F8;

  /* ---- Border ---- */
  --border-default: #E4E4EE;
  --border-subtle: #EFEFF5;
  --border-strong: #C9C9D6;

  /*
   * ---- Brand accent (gold) ----
   * v2 text-safe values (release-blocker fix): v1 was only verified
   * against a solid white/canvas surface, but these text tokens are
   * ALSO used as text directly on the matching `-soft` tinted
   * background below (e.g. `.tier-badge`, `.demo-badge`,
   * `.currency-badge`) — alpha-blending the fill color into the
   * canvas pulls that background's luminance down, and v1 fell short
   * there: accent-text ~4.21:1 on accent-soft, success-text ~4.15:1
   * on success-soft, warning-text ~4.30:1 on warning-soft. v2 is
   * solved against the harder case (20% tint on the page canvas, the
   * worst alpha used anywhere in this system) with margin.
   */
  --accent-fill: #D4AF37;     /* icon glyphs, badge fills, button backgrounds */
  --accent-text: #7C651B;     /* 4.86:1 on its own tint over canvas, 5.29:1 flat */
  --accent-soft: rgba(212, 175, 55, 0.12);
  --accent-line: rgba(212, 175, 55, 0.32);
  --ink-on-accent: #070D1F;   /* text placed on a solid gold fill */

  /* ---- Semantic status ---- */
  --success: #1FAE73;         /* icon glyphs, fills — fails AA as text, use --success-text for text */
  --success-text: #14714B;    /* 5.04:1 on its own tint over canvas, 5.53:1 flat */
  --warning-fill: #E2A63B;
  --warning-text: #895F14;    /* 4.71:1 on its own tint over canvas, 5.20:1 flat */
  --danger-fill: #E24B6B;
  --danger-text: #B81E3E;     /* 5.19:1 on its own tint over canvas, 5.86:1 flat */
  --info: #5C52E0;            /* verification-blue / Blue Badge — icon/fill use only */
  --info-text: #4F44DD;       /* 5.28:1 on its own tint over canvas, 6.03:1 flat — text-safe, use instead of --info for text */

  --success-soft: rgba(31, 174, 115, 0.10);
  --warning-soft: rgba(226, 166, 59, 0.12);
  --danger-soft: rgba(226, 75, 107, 0.10);
  --info-soft: rgba(92, 82, 224, 0.10);
  --info-line: rgba(92, 82, 224, 0.28);

  /* ---- Radius — 3 named sizes + pill, nothing arbitrary ---- */
  --radius-control: 12px;
  --radius-section: 16px;
  --radius-feature: 24px;
  --radius-pill: 9999px;

  /* ---- Shadow — two steps only, both subtle ---- */
  --shadow-resting: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-raised: 0 8px 24px rgba(15, 23, 42, 0.08);

  /* ---- Type scale — Inter only ---- */
  --fs-display: 34px;
  --fs-h1: 28px;
  --fs-h2: 24px;
  --fs-h3: 20px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-label: 11px;

  --motion-fast: 150ms;
  --motion-normal: 220ms;
}

/*
 * Dark-mode token mirror — kept in sync with the admin dashboard's
 * `.dark` class values for design-system parity. Nothing on this site
 * sets [data-theme="dark"] today (light is the default and primary
 * presentation, deliberately, per product direction) — this block is
 * inert until a future toggle opts a page in.
 */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-canvas: #0A0B10;
  --bg-subtle: #0F1016;
  --surface-primary: #15161F;
  --surface-secondary: #1D2030;
  --surface-interactive: #20222E;
  --text-primary: #F4F4F8;
  --text-secondary: #C7C9D4;
  --text-muted: #9BA0B0;
  --text-inverse: #12131A;
  --border-default: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.icon { font-family: "CreationConnect Ionicons"; font-style: normal; font-weight: normal; line-height: 1; }
.tnum { font-variant-numeric: tabular-nums; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16,.8,.24,1), transform .6s cubic-bezier(.16,.8,.24,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

main { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (min-width: 1600px) { .wrap { max-width: 1360px; } }

/* ============ Buttons ============ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: var(--fs-small); font-weight: 800; color: var(--ink-on-accent);
  background: var(--accent-fill); border: 1px solid var(--accent-fill);
  border-radius: var(--radius-control); padding: 14px 24px; cursor: pointer;
  box-shadow: var(--shadow-resting); transition: box-shadow var(--motion-normal) ease, transform var(--motion-normal) ease, filter var(--motion-normal) ease;
  text-decoration: none; line-height: 1;
}
.btn-primary:hover { box-shadow: var(--shadow-raised); filter: brightness(1.04); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; filter: none; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: var(--fs-small); font-weight: 800; color: var(--text-primary);
  background: var(--surface-primary); border: 1px solid var(--border-default);
  border-radius: var(--radius-control); padding: 13px 23px; text-decoration: none;
  box-shadow: var(--shadow-resting); transition: border-color var(--motion-normal) ease, background-color var(--motion-normal) ease, box-shadow var(--motion-normal) ease;
}
.btn-outline:hover { border-color: var(--border-strong); background: var(--surface-interactive); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-small); font-weight: 700; color: var(--text-secondary);
  text-decoration: none; border-bottom: 1px solid var(--border-strong); padding-bottom: 3px;
  transition: color var(--motion-normal) ease, border-color var(--motion-normal) ease;
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--accent-text); }

@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(212,175,55,.45); } 70% { box-shadow: 0 0 0 8px rgba(212,175,55,0); } 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); } }

/* ============ Site header / navigation ============ */
.site-header {
  position: sticky; top: 0; z-index: 40; padding: 14px 0;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--motion-normal) ease, border-color var(--motion-normal) ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border-default); box-shadow: var(--shadow-resting); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-mark { display: inline-flex; align-items: center; text-decoration: none; color: var(--text-primary); flex: none; }
/*
 * Same canonical lockup asset and same uncropped presentation as the
 * footer's .footer-mark-img (full icon + "CREATION CONNECT" wordmark
 * + swoosh, scaled as one image) — only smaller, for header space.
 * No crop window, no alternate wordmark style: this must stay
 * visually identical to the footer version at every size.
 */
.brand-mark img { display: block; width: 104px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; padding: 8px 12px;
  border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 700; color: var(--text-secondary);
  text-decoration: none; white-space: nowrap; transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease;
}
.nav-link:hover { color: var(--text-primary); background: var(--surface-interactive); }
.nav-link.is-active { color: var(--accent-text); background: var(--accent-soft); }
.site-header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--ink-on-accent);
  background: var(--accent-fill); border-radius: var(--radius-pill); padding: 10px 18px; text-decoration: none;
  box-shadow: var(--shadow-resting); transition: box-shadow var(--motion-normal) ease, filter var(--motion-normal) ease;
}
.btn-nav-cta:hover { box-shadow: var(--shadow-raised); filter: brightness(1.03); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  width: 40px; height: 40px; border-radius: var(--radius-control); border: 1px solid var(--border-default);
  background: var(--surface-primary); cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text-primary); border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 4px; }
.mobile-nav { max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 13px 6px; border-top: 1px solid var(--border-subtle); font-size: 14.5px; font-weight: 700; color: var(--text-secondary); text-decoration: none; }
.mobile-nav a.is-active { color: var(--accent-text); }
.mobile-nav a.mobile-nav-cta { margin-top: 8px; border-top: none; text-align: center; border-radius: var(--radius-control); background: var(--accent-soft); color: var(--accent-text); font-weight: 900; }

@media (max-width: 1180px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .btn-nav-cta { display: none; }
}

/* ============ Shared section typography ============ */
.section-eyebrow { display: block; text-align: center; font-size: var(--fs-label); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
h2.section-title, h3.section-title { text-align: center; font-size: clamp(22px, 2.6vw, var(--fs-h2)); font-weight: 800; letter-spacing: -.005em; margin: 0 0 52px; color: var(--text-primary); }
p.section-lede { max-width: 640px; margin: -32px auto 44px; text-align: center; font-size: var(--fs-body); font-weight: 500; line-height: 1.7; color: var(--text-muted); }
@media (max-width: 640px) { h2.section-title, h3.section-title { margin-bottom: 36px; } }

/* ============ Home hero ============ */
.hero { position: relative; padding: 128px 0 72px; }
.hero-grid { width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-label); font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill); padding: 8px 16px 8px 13px; margin-bottom: 24px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-fill); animation: pulse-dot 2.6s ease-out infinite; }
h1.headline { font-size: clamp(28px, 4vw, var(--fs-display)); font-weight: 900; line-height: 1.14; letter-spacing: -.01em; margin: 0 0 16px; color: var(--text-primary); }
h1.headline .accent { color: var(--accent-text); }
h2.subheadline { font-size: clamp(16px, 1.6vw, var(--fs-h3)); font-weight: 700; color: var(--text-secondary); margin: 0 0 16px; }
p.lede { font-size: var(--fs-body); font-weight: 500; line-height: 1.7; color: var(--text-muted); max-width: 460px; margin: 0 0 30px; }
.lede strong { color: var(--text-secondary); font-weight: 700; }
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---- Product preview: phone device frame (light UI, real hierarchy) ---- */
.device-stage { position: relative; display: flex; align-items: center; justify-content: center; }
.device-frame {
  width: 292px; background: var(--surface-primary); border: 1px solid var(--border-default);
  border-radius: var(--radius-feature); padding: 10px; box-shadow: var(--shadow-raised);
}
.device-screen {
  position: relative; border-radius: var(--radius-section); overflow: hidden;
  background: var(--bg-canvas); border: 1px solid var(--border-subtle); display: flex; flex-direction: column;
}
.device-notch { position: absolute; z-index: 5; top: 8px; left: 50%; transform: translateX(-50%); width: 72px; height: 18px; border-radius: var(--radius-pill); background: var(--text-primary); opacity: .9; }
.device-status { height: 30px; padding: 8px 16px 0; display: flex; align-items: flex-start; justify-content: space-between; color: var(--text-primary); font-size: 8.5px; font-weight: 800; }
.device-status .icon { font-size: 9px; margin-left: 4px; }
.app-header { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 6px 14px 8px; }
.app-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-on-accent); background: var(--accent-fill); font-size: 9.5px; font-weight: 900; }
.app-brand { font-size: 11px; font-weight: 900; letter-spacing: -.01em; color: var(--text-primary); }
.app-header-actions { display: flex; align-items: center; gap: 3px; }
.app-header-action { position: relative; width: 24px; height: 26px; display: grid; place-items: center; color: var(--text-secondary); font-size: 13px; }
.app-header-action .count { position: absolute; top: 0; right: 0; min-width: 10px; height: 10px; padding: 0 2px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--danger-fill); color: #fff; font-family: "Inter", sans-serif; font-size: 6px; font-weight: 900; border: 1px solid var(--surface-primary); }
.app-scroll { flex: 1; min-height: 0; padding: 2px 14px 68px; overflow: hidden; }
.demo-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.app-greeting { margin: 0; font-size: 16px; line-height: 1.2; font-weight: 900; letter-spacing: -.01em; color: var(--text-primary); }
.demo-badge { padding: 4px 7px; border-radius: var(--radius-pill); border: 1px solid var(--info-line); background: var(--info-soft); color: var(--info-text); font-size: 6.5px; font-weight: 900; letter-spacing: .06em; }
.app-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.app-section-title { margin: 0; font-size: 10.5px; font-weight: 800; color: var(--text-primary); }
.app-section-link { color: var(--accent-text); font-size: 7px; font-weight: 800; }

.wallet-card { position: relative; overflow: hidden; padding: 14px; border-radius: var(--radius-feature); background: var(--surface-primary); border: 1px solid var(--border-default); box-shadow: var(--shadow-resting); }
.wallet-top { display: flex; justify-content: space-between; align-items: center; }
.currency-id { display: flex; align-items: center; gap: 7px; }
.currency-badge { width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); font-size: 8px; font-weight: 900; }
.currency-label { font-size: 8px; font-weight: 800; letter-spacing: .1em; color: var(--text-muted); }
.wallet-trend { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: var(--radius-pill); background: var(--success-soft); color: var(--success-text); font-size: 7px; font-weight: 800; }
.wallet-balance { margin: 12px 0 10px; color: var(--text-primary); font-size: 22px; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.wallet-meta { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 10px; align-items: center; }
.wallet-meta-divider { width: 1px; height: 20px; background: var(--border-default); }
.wallet-meta-label { display: block; margin-bottom: 2px; color: var(--text-muted); font-size: 6.5px; font-weight: 700; }
.wallet-meta-value { color: var(--text-primary); font-size: 9px; font-weight: 800; }
.wallet-last-activity { margin: 10px 0 0; color: var(--text-muted); font-size: 7px; font-weight: 600; }
.wallet-pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 9px 0 0; }
.wallet-dot { width: 5px; height: 5px; border-radius: 3px; background: var(--border-strong); }
.wallet-dot.active { width: 16px; background: var(--accent-fill); }

.market-head { margin-top: 12px; }
.market-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.market-card { overflow: hidden; border-radius: var(--radius-section); background: var(--surface-primary); border: 1px solid var(--border-default); }
.market-image { position: relative; height: 78px; overflow: hidden; background: var(--surface-interactive); }
.market-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.market-category { position: absolute; left: 6px; top: 6px; padding: 3px 6px; border-radius: var(--radius-pill); background: rgba(18,19,26,.62); color: #fff; font-size: 5.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.market-body { padding: 7px 8px 9px; }
.market-price { margin: 0; font-size: 9px; font-weight: 900; color: var(--text-primary); }
.market-price span { color: var(--text-muted); font-size: 6px; font-weight: 700; }
.market-title { margin: 3px 0 5px; min-height: 16px; color: var(--text-primary); font-size: 6.8px; line-height: 1.25; font-weight: 700; }
.seller-row { display: flex; align-items: center; gap: 4px; min-width: 0; color: var(--text-muted); font-size: 5.6px; font-weight: 700; }
.seller-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seller-avatar { width: 12px; height: 12px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-interactive); color: var(--accent-text); font-size: 5px; font-weight: 900; }
.seller-verified { color: var(--info); font-size: 7px; }
.market-location { display: flex; align-items: center; gap: 2px; margin-top: 3px; color: var(--text-muted); font-size: 5.4px; font-weight: 600; }

.app-dock { position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%); width: 86%; height: 48px; padding: 4px 8px; display: flex; align-items: center; justify-content: space-around; border-radius: var(--radius-pill); background: var(--surface-primary); border: 1px solid var(--border-default); box-shadow: var(--shadow-raised); }
.dock-item { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-pill); color: var(--text-muted); font-size: 15px; }
.dock-item.active { color: var(--accent-text); background: var(--accent-soft); }

@media (max-width: 1080px) {
  .hero { padding-top: 100px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .eyebrow { margin: 0 auto 24px; }
  p.lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
}
@media (max-width: 640px) {
  .hero { padding: 84px 0 48px; }
  .device-frame { width: 258px; }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-dot { animation: none !important; }
}

/* ============ Inner-page hero ============ */
.page-hero { position: relative; padding: 144px 0 68px; text-align: center; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-label); font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill); padding: 8px 16px; margin-bottom: 24px;
}
.page-hero h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 18px; color: var(--text-primary); }
.page-hero h1 .accent { color: var(--accent-text); }
.page-hero .lede-page { max-width: 620px; margin: 0 auto; font-size: 16px; font-weight: 500; line-height: 1.72; color: var(--text-secondary); }
.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 640px) { .page-hero { padding: 112px 0 48px; } }

/* ============ Generic content components ============ */
.content-section { padding: 24px 0 104px; }
.content-section.tight { padding-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card {
  position: relative; background: var(--surface-primary); border: 1px solid var(--border-default);
  border-radius: var(--radius-section); padding: 24px 22px; box-shadow: var(--shadow-resting);
  transition: border-color var(--motion-normal) ease, box-shadow var(--motion-normal) ease;
}
.info-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-raised); }
.card-glyph { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-control); color: var(--accent-fill); background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 19px; margin-bottom: 14px; flex: none; }
.info-card h4 { font-size: var(--fs-h3); font-weight: 700; margin: 0 0 8px; color: var(--text-primary); }
.info-card p { font-size: var(--fs-small); font-weight: 500; color: var(--text-muted); line-height: 1.6; margin: 0; }
@media (max-width: 980px) { .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; } }

/* Numbered flow (marketplace escrow steps, etc.) */
.flow-steps { position: relative; max-width: 740px; margin: 0 auto; }
.flow-steps::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 1.5px; background: var(--border-default); }
.flow-step { position: relative; display: flex; gap: 20px; padding: 0 0 36px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step-num {
  position: relative; z-index: 1; flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface-primary); border: 1.5px solid var(--accent-line); color: var(--accent-text);
  font-size: 17px; font-weight: 900; box-shadow: var(--shadow-resting);
}
.flow-step.is-alt .flow-step-num { border-color: var(--danger-fill); color: var(--danger-text); }
.flow-step-body { padding-top: 7px; }
.flow-step-body h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--text-primary); }
.flow-step-body p { margin: 0; font-size: var(--fs-small); font-weight: 500; line-height: 1.65; color: var(--text-muted); }
.flow-step-tag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.flow-step.is-alt .flow-step-tag { background: var(--danger-soft); border-color: rgba(226,75,107,.30); color: var(--danger-text); }

/* Horizontal process cards (Diaspora Assist) */
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.flow-grid .flow-step {
  min-width: 0; display: grid; grid-template-rows: auto auto auto 1fr; align-content: start; gap: 0;
  padding: 24px 22px; background: var(--surface-primary); border: 1px solid var(--border-default);
  border-radius: var(--radius-feature); box-shadow: var(--shadow-resting);
}
.flow-grid .flow-number {
  width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 50%; background: var(--surface-primary); border: 1.5px solid var(--accent-line);
  color: var(--accent-text); font-size: 14px; font-weight: 900; box-shadow: var(--shadow-resting);
}
.flow-grid .flow-step-tag {
  display: inline-flex; align-items: center; justify-content: center; width: 128px; min-height: 26px;
  margin: 0 0 14px; padding: 4px 10px;
}
.flow-grid .flow-step h4 { min-height: 45px; margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text-primary); }
.flow-grid .flow-step p { max-width: 28ch; margin: 0; font-size: var(--fs-small); font-weight: 500; line-height: 1.65; color: var(--text-muted); }
@media (max-width: 980px) { .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid .flow-step h4 { min-height: 0; }
  .flow-grid .flow-step p { max-width: none; }
}

/* Split panel (copy + visual/card) */
.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-panel.reverse { direction: rtl; }
.split-panel.reverse > * { direction: ltr; }
.split-copy .section-eyebrow { text-align: left; }
.split-copy h3 { text-align: left; font-size: clamp(20px, 2.4vw, var(--fs-h2)); font-weight: 800; letter-spacing: -.005em; margin: 0 0 16px; color: var(--text-primary); }
.split-copy p { font-size: var(--fs-body); font-weight: 500; line-height: 1.72; color: var(--text-secondary); margin: 0 0 14px; }
.split-visual { background: var(--surface-primary); border: 1px solid var(--border-default); border-radius: var(--radius-feature); padding: 28px; box-shadow: var(--shadow-resting); }
.about-vision .section-eyebrow { margin-bottom: 14px; text-align: left; }
.about-vision h3 { margin: 0 0 12px; font-size: clamp(20px, 2.4vw, var(--fs-h2)); font-weight: 800; line-height: 1.3; color: var(--text-primary); }
.about-vision p { margin: 0; font-size: var(--fs-body); font-weight: 500; line-height: 1.72; color: var(--text-secondary); }
@media (max-width: 900px) { .split-panel { grid-template-columns: 1fr; gap: 28px; } .split-copy h3, .split-copy .section-eyebrow { text-align: center; } .split-copy p { text-align: center; } }

/* Checklist */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-small); font-weight: 550; line-height: 1.55; color: var(--text-secondary); }
.check-list .icon { flex: none; margin-top: 1px; color: var(--success); font-size: 15px; }

/* Tier / comparison cards (verification, pricing-style) */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.tier-card { position: relative; background: var(--surface-primary); border: 1px solid var(--border-default); border-radius: var(--radius-feature); padding: 30px 26px; box-shadow: var(--shadow-resting); }
.tier-card.is-featured { border-color: var(--accent-line); box-shadow: var(--shadow-raised); }
.tier-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--radius-pill); font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.tier-badge.blue { color: var(--info-text); background: var(--info-soft); border: 1px solid var(--info-line); }
.tier-badge.gold-tone { color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.tier-card h4 { font-size: var(--fs-h2); font-weight: 800; margin: 0 0 8px; color: var(--text-primary); }
.tier-card .tier-sub { font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); margin: 0 0 20px; line-height: 1.5; }
.tier-card .check-list { margin-bottom: 22px; }
.tier-footnote { font-size: 12px; font-weight: 700; color: var(--text-muted); margin: 0; }
.tier-footnote.is-accent { color: var(--accent-text); }
@media (max-width: 760px) { .tier-grid { grid-template-columns: 1fr; } }

/* Verified identity row — mirrors ccui SellerIdentity's avatar + name + badge pattern */
.identity-row { display: flex; align-items: center; gap: 10px; }
.identity-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-interactive); color: var(--accent-text); font-size: 13px; font-weight: 900; flex: none; }
.identity-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.identity-badges { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; }
.identity-badges .icon { font-size: 14px; }
.identity-badges .icon.blue { color: var(--info); }
.identity-badges .icon.gold { color: var(--accent-fill); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border-default); border-radius: var(--radius-section); background: var(--surface-primary); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: var(--fs-small); font-weight: 700; color: var(--text-primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--accent-text); font-size: 19px; font-weight: 400; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 19px; font-size: var(--fs-small); font-weight: 500; line-height: 1.68; color: var(--text-muted); }

/* Legal documents (privacy / terms) */
.legal-notice { display: flex; gap: 14px; max-width: 800px; margin: 0 auto 44px; padding: 17px 20px; border: 1px solid var(--accent-line); border-radius: var(--radius-section); background: var(--accent-soft); }
.legal-notice .icon { flex: none; color: var(--accent-text); font-size: 18px; }
.legal-notice p { margin: 0; font-size: var(--fs-small); font-weight: 600; line-height: 1.6; color: var(--text-secondary); }
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 { font-size: var(--fs-h3); font-weight: 800; margin: 40px 0 12px; color: var(--text-primary); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: var(--fs-body); font-weight: 500; line-height: 1.78; color: var(--text-secondary); margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { font-size: var(--fs-body); font-weight: 500; line-height: 1.78; color: var(--text-secondary); margin-bottom: 8px; }
.legal-body strong { color: var(--text-primary); font-weight: 700; }
.legal-meta { max-width: 800px; margin: 0 auto 8px; color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }

/* Download / beta-access status cards */
.beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.beta-card { background: var(--surface-primary); border: 1px solid var(--border-default); border-radius: var(--radius-feature); padding: 30px 26px; text-align: center; box-shadow: var(--shadow-resting); }
.beta-card-glyph { width: 54px; height: 54px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: var(--radius-section); color: var(--accent-fill); background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 26px; }
.beta-card h4 { font-size: 18px; font-weight: 800; margin: 0 0 10px; color: var(--text-primary); }
.beta-card p.beta-desc { font-size: var(--fs-small); font-weight: 500; color: var(--text-muted); line-height: 1.6; margin: 0 0 20px; min-height: 40px; }
.beta-status { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--surface-interactive); border: 1px solid var(--border-default); color: var(--text-secondary); font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.beta-status .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-fill); animation: pulse-dot 2.6s ease-out infinite; }
@media (max-width: 760px) { .beta-grid { grid-template-columns: 1fr; } }

/* Currency chips (wallet page) */
.currency-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.currency-chip { text-align: center; background: var(--surface-primary); border: 1px solid var(--border-default); border-radius: var(--radius-section); padding: 24px 12px; box-shadow: var(--shadow-resting); }
.currency-chip .badge { width: 44px; height: 44px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); font-size: 12px; font-weight: 900; }
.currency-chip h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 800; color: var(--text-primary); }
.currency-chip p { margin: 0; font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
.rail-note { display: flex; align-items: flex-start; gap: 12px; max-width: 760px; margin: 30px auto 0; padding: 16px 20px; border-radius: var(--radius-section); background: var(--surface-secondary); border: 1px solid var(--border-default); }
.rail-note .icon { flex: none; color: var(--accent-text); font-size: 16px; margin-top: 1px; }
.rail-note p { margin: 0; font-size: var(--fs-small); font-weight: 550; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 760px) { .currency-grid { grid-template-columns: repeat(2, 1fr); } }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.contact-card { background: var(--surface-primary); border: 1px solid var(--border-default); border-radius: var(--radius-feature); padding: 32px 28px; box-shadow: var(--shadow-resting); display: flex; flex-direction: column; }
.contact-card .card-glyph { width: 44px; height: 44px; font-size: 20px; }
.contact-card h4 { font-size: 18px; font-weight: 800; margin: 0 0 10px; color: var(--text-primary); }
.contact-card p { font-size: var(--fs-body); font-weight: 500; color: var(--text-muted); line-height: 1.65; margin: 0 0 20px; flex: 1; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============ Standalone product/wallet previews (readable scale) ============ */
/* Same real hierarchy as the phone-mockup .market-card/.wallet-card above
   (MarketplaceDiscoveryCard/ProductCard, WalletPortfolioCard), rendered at
   normal reading size for the homepage teaser sections rather than shrunk
   to fit inside the device frame. */
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.preview-card { background: var(--surface-primary); border: 1px solid var(--border-default); border-radius: var(--radius-section); overflow: hidden; box-shadow: var(--shadow-resting); transition: box-shadow var(--motion-normal) ease, border-color var(--motion-normal) ease; }
.preview-card:hover { box-shadow: var(--shadow-raised); border-color: var(--border-strong); }
.preview-card-image { position: relative; height: 168px; background: var(--surface-interactive); overflow: hidden; }
.preview-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-card-tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(18,19,26,.62); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.preview-card-body { padding: 15px 17px 17px; }
.preview-card-price { margin: 0; font-size: 17px; font-weight: 900; color: var(--text-primary); }
.preview-card-price span { color: var(--text-muted); font-size: 12px; font-weight: 700; }
.preview-card-title { margin: 6px 0 11px; font-size: 13.5px; font-weight: 700; color: var(--text-primary); line-height: 1.4; }
.preview-card-location { display: flex; align-items: center; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-subtle); color: var(--text-muted); font-size: 11.5px; font-weight: 600; }
.preview-card-location .icon { font-size: 12px; color: var(--text-muted); }
@media (max-width: 620px) { .preview-grid { grid-template-columns: 1fr; } }

.wallet-preview-card { position: relative; max-width: 380px; margin: 0 auto; padding: 24px; border-radius: var(--radius-feature); background: var(--surface-primary); border: 1px solid var(--border-default); box-shadow: var(--shadow-raised); }
.wallet-preview-top { display: flex; justify-content: space-between; align-items: center; }
.wallet-preview-id { display: flex; align-items: center; gap: 10px; }
.wallet-preview-badge { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); font-size: 13px; font-weight: 900; }
.wallet-preview-label { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--text-muted); }
.wallet-preview-trend { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--success-soft); color: var(--success-text); font-size: 12px; font-weight: 800; }
.wallet-preview-balance { margin: 20px 0 18px; color: var(--text-primary); font-size: 34px; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.wallet-preview-meta { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 16px; align-items: center; }
.wallet-preview-meta-divider { width: 1px; height: 30px; background: var(--border-default); }
.wallet-preview-meta-label { display: block; margin-bottom: 3px; color: var(--text-muted); font-size: 11px; font-weight: 700; }
.wallet-preview-meta-value { color: var(--text-primary); font-size: 15px; font-weight: 800; }
.wallet-preview-activity { margin: 18px 0 0; color: var(--text-muted); font-size: 12px; font-weight: 600; }

/* ============ Waitlist / email-capture module ============ */
.notify-section { position: relative; padding: 8px 0 130px; display: flex; justify-content: center; }
.notify-section.in-page { padding: 0 0 104px; }
.notify-panel {
  position: relative; width: 100%; max-width: 840px; text-align: center;
  background: var(--surface-primary); border: 1px solid var(--border-default); border-radius: var(--radius-feature);
  padding: 48px clamp(24px, 6vw, 68px) 42px; box-shadow: var(--shadow-raised);
}
.waitlist-mark { width: 34px; height: auto; display: block; margin: 0 auto 16px; }
.waitlist-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--accent-text); font-size: var(--fs-label); line-height: 1; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.waitlist-eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-fill); }
.notify-panel h3 { margin: 0; color: var(--text-primary); font-size: clamp(24px, 3.2vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.waitlist-support { max-width: 540px; margin: 15px auto 26px; color: var(--text-secondary); font-size: 15.5px; line-height: 1.6; font-weight: 500; }
.notify-form {
  width: 100%; max-width: 620px; min-height: 58px; margin: 0 auto; padding: 6px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-default); border-radius: var(--radius-control); background: var(--surface-secondary);
  transition: border-color var(--motion-normal) ease, box-shadow var(--motion-normal) ease;
}
.notify-form:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.waitlist-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 13px; }
.waitlist-field > .icon { flex: none; color: var(--accent-text); font-size: 17px; }
.notify-input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text-primary); caret-color: var(--accent-text); font-size: 15px; font-weight: 600; }
.notify-input::placeholder { color: var(--text-muted); opacity: 1; }
.waitlist-submit {
  position: relative; flex: none; min-width: 172px; min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: var(--radius-control); color: var(--ink-on-accent); background: var(--accent-fill); font-size: var(--fs-small); font-weight: 800; cursor: pointer;
  box-shadow: var(--shadow-resting); transition: box-shadow var(--motion-normal) ease, filter var(--motion-normal) ease, opacity var(--motion-normal) ease;
}
.waitlist-submit:hover:not(:disabled) { box-shadow: var(--shadow-raised); filter: brightness(1.03); }
.waitlist-submit:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.waitlist-submit .icon { font-size: 15px; }
.waitlist-spinner { display: none; width: 15px; height: 15px; border: 2px solid rgba(7,13,31,.28); border-top-color: var(--ink-on-accent); border-radius: 50%; animation: waitlist-spin .75s linear infinite; }
.waitlist-submit.is-loading .waitlist-spinner { display: block; }
.waitlist-submit.is-loading .waitlist-arrow { display: none; }
@keyframes waitlist-spin { to { transform: rotate(360deg); } }
.waitlist-trust { margin: 13px auto 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; font-weight: 600; }
.waitlist-error { max-width: 620px; min-height: 20px; margin: 9px auto 0; color: var(--danger-text); font-size: 12.5px; line-height: 1.45; font-weight: 700; }
.waitlist-result { max-width: 620px; margin: 26px auto 0; padding: 21px 22px; border: 1px solid rgba(31,174,115,.28); border-radius: var(--radius-section); background: var(--success-soft); text-align: left; }
.waitlist-result[hidden] { display: none; }
.waitlist-result[data-tone="duplicate"] { border-color: var(--accent-line); background: var(--accent-soft); }
.waitlist-result-row { display: flex; align-items: flex-start; gap: 13px; }
.waitlist-result-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--success); background: rgba(31,174,115,.16); font-size: 19px; }
.waitlist-result[data-tone="duplicate"] .waitlist-result-icon { color: var(--accent-text); background: var(--accent-soft); }
.waitlist-result-title { margin: 0 0 5px; color: var(--text-primary); font-size: 15.5px; line-height: 1.3; font-weight: 800; }
.waitlist-result-message { margin: 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.55; font-weight: 500; }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .notify-section { padding: 0 0 96px; }
}
@media (max-width: 560px) {
  .notify-panel { padding: 36px 20px 30px; border-radius: var(--radius-section); }
  .notify-form { min-height: 0; padding: 7px; flex-direction: column; align-items: stretch; gap: 7px; }
  .waitlist-field { min-height: 50px; padding: 0 12px; }
  .waitlist-submit { width: 100%; min-height: 50px; }
}

/* ============ Site footer ============ */
.site-footer { position: relative; width: 100%; padding: 60px 28px 32px; background: var(--surface-primary); border-top: 1px solid var(--border-default); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-mark-img { width: 128px; height: auto; margin-bottom: 10px; }
.footer-slogan { font-size: 13px; font-weight: 600; color: var(--text-muted); max-width: 220px; }
.footer-col h4 { margin: 0 0 14px; font-size: var(--fs-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.footer-col { display: flex; flex-direction: column; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 6px 0; transition: color var(--motion-fast) ease; }
.footer-col a:hover { color: var(--accent-text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid var(--border-default); }
.footer-copy { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.footer-legal-links { display: flex; align-items: center; gap: 18px; }
.footer-legal-links a { font-size: 12px; font-weight: 700; color: var(--text-muted); text-decoration: none; }
.footer-legal-links a:hover { color: var(--accent-text); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .footer-brand-col { grid-column: 1 / -1; align-items: center; text-align: center; margin: 0 auto; }
  .footer-col { align-items: center; text-align: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow-dot, .beta-status .pulse-dot, .waitlist-spinner { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ============ Ecosystem navigation ============ */
.site-header-inner { max-width: 1320px; }
.site-nav { flex-wrap: nowrap; }
.nav-menu { position: relative; }
.nav-menu > summary {
  list-style: none; cursor: pointer; gap: 6px; border: 0;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform var(--motion-fast) ease;
}
.nav-menu[open] > summary::after { transform: translateY(3px) rotate(225deg); }
.nav-menu-panel {
  position: absolute; z-index: 60; top: calc(100% + 10px); left: 50%; width: 292px;
  padding: 8px; border: 1px solid var(--border-default); border-radius: var(--radius-section);
  background: var(--surface-primary); box-shadow: var(--shadow-raised); transform: translateX(-50%);
}
.nav-menu-panel.is-trust { width: 238px; }
.nav-menu-link {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 44px; padding: 10px 11px; border-radius: 10px; color: var(--text-secondary);
  font-size: 12.5px; font-weight: 700; line-height: 1.35; text-decoration: none;
}
.nav-menu-link:hover, .nav-menu-link:focus-visible { color: var(--text-primary); background: var(--surface-interactive); }
.nav-menu-link.is-active { color: var(--accent-text); background: var(--accent-soft); }
.nav-menu-status { flex: none; color: var(--text-muted); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.nav-menu-divider { height: 1px; margin: 7px 10px; background: var(--border-subtle); }
.nav-menu-label { padding: 7px 11px 3px; color: var(--text-muted); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.btn-nav-login {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 4px;
  color: var(--text-secondary); font-size: 12.5px; font-weight: 750; text-decoration: none;
}
.btn-nav-login:hover { color: var(--text-primary); }
.mobile-nav-group { border-top: 1px solid var(--border-subtle); }
.mobile-nav-group > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 6px;
  color: var(--text-secondary); font-size: 14.5px; font-weight: 700; list-style: none; cursor: pointer;
}
.mobile-nav-group > summary::-webkit-details-marker { display: none; }
.mobile-nav-group > summary.is-active { color: var(--accent-text); }
.mobile-nav-group > summary::after { content: "+"; color: var(--accent-text); font-size: 18px; font-weight: 500; }
.mobile-nav-group[open] > summary::after { content: "−"; }
.mobile-nav-group > a { padding-left: 18px; border-top-color: var(--border-subtle); font-size: 13.5px; }
.mobile-nav a.mobile-nav-login { color: var(--text-primary); }
@media (max-width: 1240px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 700px) {
  .btn-nav-login, .btn-nav-cta { display: none; }
}

/* ============ Ecosystem shared components ============ */
.section-intro { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-eyebrow.is-left { text-align: left; }
.feature-heading { margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); }
.feature-copy { color: var(--text-muted); line-height: 1.7; }
.section-intro .section-title { margin-bottom: 14px; }
.section-intro p { margin: 0; color: var(--text-muted); font-size: var(--fs-body); line-height: 1.72; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ecosystem-card {
  position: relative; min-height: 250px; padding: 25px 23px; display: flex; flex-direction: column;
  border: 1px solid var(--border-default); border-radius: var(--radius-feature); background: var(--surface-primary);
  box-shadow: var(--shadow-resting); transition: border-color var(--motion-normal) ease, box-shadow var(--motion-normal) ease, transform var(--motion-normal) ease;
}
.ecosystem-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.ecosystem-card-glyph {
  width: 42px; height: 42px; margin-bottom: 24px; display: grid; place-items: center;
  border: 1px solid var(--accent-line); border-radius: var(--radius-control); color: var(--accent-text); background: var(--accent-soft); font-size: 19px;
}
.ecosystem-card h3, .ecosystem-card h4 { margin: 0 0 9px; color: var(--text-primary); font-size: 18px; line-height: 1.3; font-weight: 800; }
.ecosystem-card p { margin: 0 0 22px; color: var(--text-muted); font-size: var(--fs-small); line-height: 1.65; }
.ecosystem-card .card-link { margin-top: auto; align-self: flex-start; }
.status-badge {
  display: inline-flex; align-items: center; width: fit-content; min-height: 26px; margin-bottom: 16px; padding: 4px 10px;
  border: 1px solid var(--border-default); border-radius: var(--radius-pill); color: var(--text-secondary); background: var(--surface-interactive);
  font-size: 9.5px; line-height: 1; font-weight: 850; letter-spacing: .07em; text-transform: uppercase;
}
.status-badge::before { content: ""; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--text-muted); }
.status-badge.is-core { color: var(--success-text); border-color: rgba(31,174,115,.24); background: var(--success-soft); }
.status-badge.is-core::before { background: var(--success); }
.status-badge.is-early, .status-badge.is-preview { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-soft); }
.status-badge.is-early::before, .status-badge.is-preview::before { background: var(--accent-fill); }
.status-badge.is-soon::before { background: var(--warning-fill); }
.page-hero .status-badge { display: flex; margin: 0 auto 16px; }
.assist-panel {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 36px; align-items: center;
  padding: clamp(30px, 6vw, 64px); border: 1px solid var(--border-default); border-radius: var(--radius-feature);
  background: var(--surface-primary); box-shadow: var(--shadow-raised);
}
.assist-panel h2, .assist-panel h3 { margin: 6px 0 14px; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; }
.assist-panel p { max-width: 620px; margin: 0 0 24px; color: var(--text-secondary); line-height: 1.7; }
.assist-prompt {
  padding: 18px; border: 1px solid var(--border-default); border-radius: var(--radius-section); background: var(--surface-secondary);
}
.assist-prompt-label { display: block; margin-bottom: 12px; color: var(--text-muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.assist-prompt p { margin: 0; color: var(--text-primary); font-size: 14px; font-weight: 650; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }

/* Search, forms, providers, jobs and trust profiles */
.search-shell {
  max-width: 980px; margin: 0 auto 38px; padding: 12px; display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 10px;
  border: 1px solid var(--border-default); border-radius: var(--radius-feature); background: var(--surface-primary); box-shadow: var(--shadow-raised);
}
.field-group { min-width: 0; }
.field-label { display: block; margin: 0 0 7px; color: var(--text-secondary); font-size: 11px; line-height: 1.2; font-weight: 800; }
.form-control {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--border-default); border-radius: var(--radius-control);
  color: var(--text-primary); background: var(--surface-secondary); font-size: 14px; font-weight: 600; outline: none;
}
textarea.form-control { min-height: 152px; resize: vertical; line-height: 1.6; }
.form-control::placeholder { color: var(--text-muted); opacity: 1; }
.form-control:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-shell .btn-primary { align-self: end; min-height: 48px; }
.category-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 42px; }
.category-chip { padding: 8px 13px; border: 1px solid var(--border-default); border-radius: var(--radius-pill); color: var(--text-secondary); background: var(--surface-primary); font-size: 11.5px; font-weight: 750; }
.category-chip.is-active { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-soft); }
.preview-note { max-width: 760px; margin: 0 auto 24px; color: var(--text-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.provider-grid, .job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.provider-card, .job-card {
  min-width: 0; padding: 23px; display: flex; flex-direction: column; border: 1px solid var(--border-default);
  border-radius: var(--radius-feature); background: var(--surface-primary); box-shadow: var(--shadow-resting);
}
.provider-card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; }
.provider-avatar { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--accent-text); background: var(--accent-soft); font-size: 13px; font-weight: 900; }
.provider-name { margin: 0 0 3px; color: var(--text-primary); font-size: 15px; font-weight: 800; }
.provider-service { margin: 0; color: var(--text-muted); font-size: 11.5px; font-weight: 650; }
.provider-location, .job-location { display: flex; gap: 6px; align-items: center; margin: 0 0 15px; color: var(--text-muted); font-size: 11.5px; font-weight: 650; }
.trust-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; padding: 0; list-style: none; }
.trust-list li { padding: 6px 9px; border-radius: var(--radius-pill); color: var(--text-secondary); background: var(--surface-interactive); font-size: 10px; font-weight: 750; }
.provider-card .cta-row, .job-card .cta-row { margin-top: auto; }
.provider-card .btn-primary, .provider-card .btn-outline, .job-card .btn-primary, .job-card .btn-outline { flex: 1; padding-left: 12px; padding-right: 12px; }
.flow-inline { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.flow-inline li { color: var(--text-secondary); font-size: 12px; font-weight: 750; }
.flow-inline li:not(:last-child)::after { content: "→"; margin-left: 7px; color: var(--accent-text); }
.identity-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }
.trust-profile {
  padding: 27px; border: 1px solid var(--border-default); border-radius: var(--radius-feature); background: var(--surface-primary); box-shadow: var(--shadow-raised);
}
.trust-profile-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border-subtle); }
.trust-profile-name { margin: 0; font-size: 17px; font-weight: 850; }
.trust-profile-note { margin: 3px 0 0; color: var(--text-muted); font-size: 11px; }
.trust-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 18px; }
.trust-metric { padding: 12px; border-radius: var(--radius-control); background: var(--surface-secondary); }
.trust-metric strong { display: block; color: var(--text-primary); font-size: 12px; }
.trust-metric span { color: var(--text-muted); font-size: 10.5px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mode-card { padding: 28px; border: 1px solid var(--border-default); border-radius: var(--radius-feature); background: var(--surface-primary); }
.mode-card h3 { margin: 12px 0 9px; font-size: 20px; }
.mode-card p { margin: 0 0 20px; color: var(--text-muted); line-height: 1.65; }
.job-type { display: inline-flex; padding: 5px 9px; margin-bottom: 15px; border-radius: var(--radius-pill); color: var(--accent-text); background: var(--accent-soft); font-size: 9.5px; font-weight: 850; text-transform: uppercase; }
.job-card h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.35; }
.job-meta { margin: 0 0 15px; color: var(--text-secondary); font-size: 12px; font-weight: 700; }
.job-card > p { margin: 0 0 20px; color: var(--text-muted); font-size: var(--fs-small); line-height: 1.65; }
.request-shell { max-width: 920px; margin: 0 auto; padding: clamp(24px, 5vw, 46px); border: 1px solid var(--border-default); border-radius: var(--radius-feature); background: var(--surface-primary); box-shadow: var(--shadow-raised); }
.request-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.request-form-grid .is-wide { grid-column: 1 / -1; }
.form-note { margin: 14px 0 0; color: var(--text-muted); font-size: 11.5px; line-height: 1.6; }
.form-status { min-height: 22px; margin: 10px 0 0; color: var(--text-secondary); font-size: 12px; font-weight: 700; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.capability-card { padding: 22px 18px; border: 1px solid var(--border-default); border-radius: var(--radius-section); background: var(--surface-primary); }
.capability-card h3 { margin: 0 0 7px; font-size: 15px; }
.capability-card p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
.disclaimer {
  max-width: 800px; margin: 30px auto 0; padding: 16px 19px; border: 1px solid var(--accent-line);
  border-radius: var(--radius-section); color: var(--text-secondary); background: var(--accent-soft); font-size: 12.5px; line-height: 1.65; text-align: center;
}
.single-identity-band { padding: 26px; border: 1px solid var(--border-default); border-radius: var(--radius-feature); background: var(--surface-secondary); text-align: center; }
.single-identity-band strong { display: block; margin-bottom: 5px; color: var(--text-primary); font-size: 17px; }
.single-identity-band span { color: var(--text-muted); font-size: 13px; }

@media (max-width: 980px) {
  .ecosystem-grid, .provider-grid, .job-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .assist-panel, .identity-panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .search-shell { grid-template-columns: 1fr; padding: 10px; }
  .search-shell .btn-primary { width: 100%; }
  .mode-grid { grid-template-columns: 1fr; }
  .request-form-grid { grid-template-columns: 1fr; }
  .request-form-grid .is-wide { grid-column: auto; }
}
@media (max-width: 640px) {
  .ecosystem-grid, .provider-grid, .job-grid, .capability-grid { grid-template-columns: 1fr; }
  .ecosystem-card { min-height: 0; }
  .assist-panel { padding: 28px 22px; }
  .trust-metrics { grid-template-columns: 1fr; }
  .cta-row > .btn-primary, .cta-row > .btn-outline { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ecosystem-card { transition: none; }
  .ecosystem-card:hover { transform: none; }
}

/* ============ Expanded ecosystem footer ============ */
.footer-grid { grid-template-columns: 1.25fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand-col { grid-column: 1 / -1; align-items: center; text-align: center; margin: 0 auto; }
  .footer-col { align-items: center; text-align: center; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
