/* ============================================================
   ThirdEyeOS — Marketing site styles
   Builds on css/tokens.css (same brand tokens as the app).
   Dark warm foundation · orange accent · Poppins · glassy panels.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-1);
  color: var(--text-1);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Living background: animated node network (from the app) over fixed warm glows ---- */
#bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bgfx {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% -5%, var(--orange-glow), transparent 60%),
    radial-gradient(45% 40% at 8% 8%, rgba(var(--accent-rgb), 0.20), transparent 55%),
    radial-gradient(70% 60% at 50% 110%, rgba(var(--accent-rgb), 0.10), transparent 60%),
    var(--bg-0);
}
.bgfx::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 3px 3px; opacity: 0.5; mix-blend-mode: overlay;
}

/* ---- Layout ---- */
.wrap { width: 90%; max-width: 1680px; margin-inline: auto; padding-inline: 0; }
section { position: relative; }
.section-pad { padding-block: clamp(56px, 9vw, 120px); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease);
}
.site-header.scrolled {
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(10, 8, 7, 0.72);
  border-bottom-color: var(--hairline);
}
.nav { display: flex; align-items: center; gap: 20px; height: 58px; }
.nav-mobile-only { display: none; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand .brand-logo { height: 30px; width: auto; display: block; }
.site-footer .brand .brand-logo { height: 32px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill);
  color: var(--text-2); font-size: 0.94rem; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text-1); background: var(--panel); }
.nav-links a.active { color: var(--orange-bright); }
.nav-links a.btn { border-radius: 10px; font-weight: 700; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--text-on-orange); background: linear-gradient(180deg, var(--orange-bright), var(--orange)); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text-1); cursor: pointer; padding: 8px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 0.98rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease); white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--orange-bright), var(--orange));
  color: var(--text-on-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--orange-line), 0 22px 60px -18px var(--orange-glow); }
.btn-ghost { background: var(--panel); color: var(--text-1); border-color: var(--card-border); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--card-border-warm); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Type helpers ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none;
  color: var(--orange-bright);
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--orange-soft); border: 1px solid var(--orange-line);
}
h1, h2, h3 { font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.15rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.25rem); }
h3 { font-size: 1.15rem; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--text-2); font-weight: 400; line-height: 1.6; }
.muted { color: var(--text-3); }
.accent { color: var(--orange-bright); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-sub { max-width: 620px; }
.maxw-md { max-width: 780px; }

/* ---- Hero ---- */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(40px, 7vw, 84px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (min-width: 901px) {
  .hero-flip { grid-template-columns: 1fr 1fr; }
  .hero-flip .hero-visual { order: -1; }
}
/* Home hero heading matches the banner heading above it */
.hero-flip h1 { font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1.14; }
.hero-eyebrow { margin-bottom: 16px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.hero-visual { position: relative; }
.hero-visual .hero-frame {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3; background: var(--bg-2);
}
.hero-visual .hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-eye {
  position: absolute; width: clamp(90px, 16vw, 150px); top: -26px; right: -14px;
  filter: drop-shadow(0 0 34px var(--orange-glow)); animation: float 7s var(--ease) infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- Trust strip ---- */
.strip { border-block: 1px solid var(--hairline); background: rgba(255,255,255,0.02); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; align-items: center; padding-block: 20px; }
.strip span { color: var(--text-3); font-size: 0.92rem; display: inline-flex; gap: 9px; align-items: center; }
.strip .dot { color: var(--orange); }

/* ---- Generic panels / cards ---- */
.panel {
  background: var(--panel); border: 1px solid var(--card-border);
  border-radius: var(--r-lg); padding: 26px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card {
  background: var(--panel); border: 1px solid var(--card-border);
  border-radius: var(--r-md); padding: 24px;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--card-border-warm); background: var(--panel-2); }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--orange-soft); border: 1px solid var(--orange-line); margin-bottom: 16px;
  font-size: 22px; color: var(--orange-bright);
}
.card .ic svg { width: 23px; height: 23px; }

/* ---- Section tiles (homepage: every section in its own rounded tile) ---- */
.tile {
  background: linear-gradient(180deg, rgba(14,10,8,0.32), rgba(9,6,5,0.4));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4.4vw, 50px);
  box-shadow: var(--shadow-card);
  margin-top: clamp(16px, 2.2vw, 26px);
}
.tile-strip { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; align-items: center; padding-block: clamp(15px, 2.2vw, 20px); }
.tile-strip > span { color: var(--text-3); font-size: 0.92rem; display: inline-flex; gap: 9px; align-items: center; }
.tile-strip .dot { color: var(--orange); }
/* A section that only holds a highlighted CTA band shouldn't get a glass wrapper too */
.tile:has(> .cta-band) { background: none; border: 0; box-shadow: none; padding: 0; }
/* App-style icons inside market cards (investors page) */
.market .ic { color: var(--orange-bright); }
.market .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 0.97rem; margin: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: 14px 0; }
.section-head p { color: var(--text-2); font-size: 1.08rem; margin: 0; }
.section-head.center p { margin-inline: auto; }

/* ---- Grids ---- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---- "How it works" steps ---- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--hairline); }
.step:first-child { border-top: 0; }
.step .num {
  counter-increment: step; flex: none;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  display: grid; place-items: center; font-weight: 700;
  background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange-bright);
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-2); margin: 0; }

/* ---- Big feature rows ---- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 54px); align-items: center; }
.frow-media { order: -1; }
@media (min-width: 901px) { .frow.flip .frow-media { order: 0; } }
.frow-media {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--card-border-warm);
  background: var(--bg-2); aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}
.frow-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.frow-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,4,3,0.34), rgba(6,4,3,0.04) 34%, rgba(6,4,3,0.04) 62%, rgba(6,4,3,0.40));
}
/* floating detail cards over the module glyph (mirrors the homepage/vision panels) */
.frow-media .ed-resource { max-width: min(74%, 252px); }
.frow-media .ed-resource.fm-tl { left: 7%; top: 12%; right: auto; bottom: auto; }
.frow-media .ed-resource.fm-br { right: 7%; bottom: 12%; left: auto; top: auto; }
@media (max-width: 760px) { .frow-media .ed-resource { display: none; } }
.frow ul { list-style: none; padding: 0; margin: 18px 0 0; }
.frow li { padding: 7px 0 7px 28px; position: relative; color: var(--text-2); }
.frow li::before { content: "✦"; position: absolute; left: 0; color: var(--orange); }

/* ---- Persona / "who we're looking for" cards ---- */
.persona {
  background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-md);
  padding: 24px; position: relative; overflow: hidden;
}
.persona::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--orange-bright), var(--orange-deep)); }
.persona .tag { font-size: 0.76rem; letter-spacing: 0.02em; text-transform: none; color: var(--orange-bright); font-weight: 700; }
.persona h3 { margin: 10px 0 8px; }
.persona p { color: var(--text-2); font-size: 0.96rem; margin: 0; }

/* ---- Checklist (good fit / not yet) ---- */
.checks { display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check .mk { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.check.yes .mk { background: var(--good-soft); border: 1px solid var(--good-line); color: var(--good); }
.check.no  .mk { background: var(--warn-soft); border: 1px solid rgba(224,160,60,0.3); color: var(--warn); }

/* ---- Waitlist / CTA band ---- */
.cta-band {
  border-radius: var(--r-xl); padding: clamp(34px, 5vw, 60px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(var(--accent-rgb), 0.22), transparent 55%),
    var(--panel-strong);
  border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft);
  position: relative; overflow: hidden;
}
.release-form { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.86rem; color: var(--text-2); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--text-1);
  background: var(--bg-2); border: 1px solid var(--card-border); border-radius: var(--r-sm);
  padding: 13px 15px; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange-line); box-shadow: 0 0 0 3px var(--orange-soft);
}
.field textarea { resize: vertical; min-height: 92px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.82rem; color: var(--text-3); }
.form-success {
  display: none; padding: 20px 22px; border-radius: var(--r-md);
  background: var(--good-soft); border: 1px solid var(--good-line); color: var(--text-1);
}
.form-success.show { display: block; }
.form-success h3 { color: var(--good); margin-bottom: 6px; }

/* ---- Blog ---- */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
@media (max-width: 900px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-list { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-thumb { overflow: hidden; background: var(--bg-2); aspect-ratio: 3 / 2; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.2vw, 28px); flex: 1; }
.post-card .meta { font-size: 0.84rem; color: var(--text-3); display: flex; gap: 10px; flex-wrap: wrap; }
.post-card h3 { font-size: 1.22rem; line-height: 1.25; }
.post-card:hover h3 { color: var(--orange-bright); }
.post-card p { color: var(--text-2); margin: 0; font-size: 0.96rem; }
.post-card .readmore { color: var(--orange-bright); font-weight: 600; font-size: 0.92rem; margin-top: auto; padding-top: 6px; }

.article { max-width: 720px; margin-inline: auto; }
.article .meta { color: var(--text-3); font-size: 0.9rem; margin-bottom: 10px; }
.article h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 18px; }
.article-body { font-size: 1.09rem; color: var(--text-2); }
.article-body p { margin: 0 0 20px; }
.article-body h2 { font-size: 1.6rem; color: var(--text-1); margin: 40px 0 14px; }
.article-body h3 { font-size: 1.2rem; color: var(--text-1); margin: 30px 0 10px; }
.article-body ul { padding-left: 22px; margin: 0 0 20px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 26px 0; padding: 16px 22px; border-left: 3px solid var(--orange);
  background: var(--panel); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text-1); font-style: italic;
}
.article-body strong { color: var(--text-1); font-weight: 600; }
.back-link { color: var(--text-2); font-size: 0.92rem; display: inline-flex; gap: 7px; margin-bottom: 26px; }
.back-link:hover { color: var(--orange-bright); }

/* ---- Blog: 2-col cover hero (image left, first paragraph right) ---- */
.blog-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: center; }
@media (max-width: 860px) { .blog-hero { grid-template-columns: 1fr; gap: 26px; } }
.blog-cover { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft); aspect-ratio: 4 / 5; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-hero-copy .meta { color: var(--text-3); font-size: 0.9rem; margin-bottom: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.blog-hero-copy h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 18px; line-height: 1.12; }
.blog-hero-copy .lead-para { font-size: 1.15rem; color: var(--text-1); line-height: 1.6; margin: 0; }

/* ---- Blog post: single tile, floated cover, copy flows col-2 then full-width ---- */
.blog-post .blog-post-inner { display: flow-root; max-width: 960px; margin-inline: auto; }
.blog-post .blog-cover {
  float: left; width: clamp(230px, 34%, 360px); aspect-ratio: 4 / 5;
  margin: 4px clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 30px) 0;
}
.blog-post .post-head { margin-bottom: 22px; }
.blog-post .post-head .meta { color: var(--text-3); font-size: 0.9rem; margin-bottom: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.blog-post .post-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 16px; line-height: 1.12; }
.blog-post .post-head .lead-para { font-size: 1.15rem; color: var(--text-1); line-height: 1.6; margin: 0; }
.blog-post .article-body { clear: left; font-size: 1.09rem; color: var(--text-2); }
.blog-post .article-body > *:first-child { margin-top: 0; }
@media (max-width: 700px) {
  .blog-post .blog-cover { float: none; width: 100%; max-width: 420px; margin: 0 0 24px; }
}

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--hairline); background: rgba(10,8,7,0.5); margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 36px; padding-block: 52px; }
.footer-release { color: var(--orange-bright); font-size: 0.85rem; font-weight: 700; margin: 12px 0 0; }
.footer-brand p { color: var(--text-3); font-size: 0.92rem; max-width: 280px; margin: 14px 0 0; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.02em; text-transform: none; color: var(--text-3); margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-2); padding: 5px 0; font-size: 0.95rem; }
.footer-col a:hover { color: var(--orange-bright); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-block: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--text-3); font-size: 0.86rem; }
.made-by { display: inline-flex; align-items: center; gap: 5px; color: var(--text-3); transition: color .2s var(--ease); }
.made-by:hover { color: var(--text-1); }
.made-by .heart-ic { width: 13px; height: 13px; fill: #fff; flex: 0 0 auto; position: relative; top: 0.5px; transition: transform .2s var(--ease); }
.made-by:hover .heart-ic { transform: scale(1.18); }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { max-width: 480px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .frow { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* Logo + toggle stay above the full-screen overlay so it can always be closed. */
  .nav-toggle { display: grid; place-items: center; min-width: 44px; min-height: 44px;
    position: relative; z-index: 60; font-size: 1.5rem; }
  .site-header .brand { position: relative; z-index: 60; }
  body.nav-open .site-header {
    background: transparent; border-bottom-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }

  /* ---- Full-screen mobile nav overlay (visibility-driven so the opaque base
     never bleeds through; solid #0b0806 with warm orange glows on top) ---- */
  .nav-links {
    position: fixed; inset: 0; z-index: 40;
    flex-direction: column; align-items: center; justify-content: center;
    gap: clamp(10px, 2.2vh, 22px); counter-reset: navi;
    padding: 92px 8% max(36px, env(safe-area-inset-bottom));
    background:
      radial-gradient(130% 52% at 50% -8%, var(--orange-glow), transparent 58%),
      radial-gradient(120% 55% at 50% 110%, rgba(var(--accent-rgb), 0.15), transparent 60%),
      #0b0806;
    visibility: hidden; pointer-events: none; opacity: 1;
    transition: visibility 0s linear .42s;
  }
  .nav-links.open { visibility: visible; pointer-events: auto; transition: visibility 0s; }

  /* Big numbered links with a staggered entrance. */
  .nav-links a:not(.btn) {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    font-family: var(--font); font-weight: 800; letter-spacing: -0.01em;
    font-size: clamp(2rem, 8.5vw, 2.9rem); line-height: 1.04; color: var(--text-1);
    padding: 3px 0; background: none; border-radius: 0;
    opacity: 0; transform: translateY(22px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s var(--ease);
  }
  .nav-links a:not(.btn)::before {
    counter-increment: navi; content: "0" counter(navi);
    font-family: var(--font); font-size: 0.66rem; font-weight: 800;
    letter-spacing: 0.34em; color: var(--orange-bright); opacity: 0.85;
  }
  .nav-links a:not(.btn):hover, .nav-links a:not(.btn):active,
  .nav-links a:not(.btn).active { color: var(--orange-bright); background: none; }
  .nav-links.open a:not(.btn) { opacity: 1; transform: none; }
  .nav-links.open a:nth-of-type(1) { transition-delay: .08s; }
  .nav-links.open a:nth-of-type(2) { transition-delay: .15s; }
  .nav-links.open a:nth-of-type(3) { transition-delay: .22s; }
  .nav-links.open a:nth-of-type(4) { transition-delay: .29s; }
  .nav-links.open a:nth-of-type(5) { transition-delay: .36s; }

  .nav-links a.btn {
    margin-top: clamp(20px, 3.6vh, 38px); width: min(80%, 320px);
    padding: 16px 24px; font-size: 1rem; justify-content: center;
    opacity: 0; transform: translateY(22px);
    transition: opacity .5s var(--ease) .42s, transform .5s var(--ease) .42s;
  }
  .nav-links.open a.btn { opacity: 1; transform: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-eye { display: none; }

  /* ---- Tight, tidy mobile footer: brand on top, link groups in a 2-col grid ---- */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding-block: 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; margin-top: 10px; }
  .footer-release { margin-top: 8px; }
  .footer-col h4 { margin-bottom: 6px; }
  .footer-col a { padding-block: 6px; font-size: 0.92rem; }
  .footer-bottom {
    flex-direction: column; align-items: center; text-align: center;
    gap: 6px; padding-block: 18px;
  }
}
body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .hero-eye { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Deck-driven sections (added from investor + partner deck)
   ============================================================ */

/* ---- Photo frames (warm-bordered imagery from the deck) ---- */
.photo-frame {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft);
  background: var(--bg-2);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame.tall { aspect-ratio: 3 / 4; }
.photo-frame.wide { aspect-ratio: 3 / 2; }

/* ---- Full-tile hero banner (rounded image tile with overlaid copy) ---- */
.tile-hero {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft);
  aspect-ratio: 21 / 9; background: var(--bg-2);
}
.tile-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Center-only blur behind the copy — feathers out to keep the photo crisp at the edges */
.tile-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 72%, #000 0%, #000 38%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 72%, #000 0%, #000 38%, transparent 80%);
}
/* Warm scrim: darkest behind the copy (lower-center), fading out to reveal the scene at the edges */
.tile-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 82% 76% at 50% 74%,
      rgba(6,4,3,0.80) 0%,
      rgba(6,4,3,0.68) 36%,
      rgba(6,4,3,0.34) 66%,
      rgba(6,4,3,0.08) 100%),
    linear-gradient(180deg, rgba(216,92,39,0.05), rgba(6,4,3,0) 42%, rgba(6,4,3,0.34));
}
.tile-hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(22px, 4.5vw, 54px);
}
.tile-hero-copy h2 {
  max-width: none; margin: 0 auto; color: #fff; text-align: center;
  text-transform: none; font-weight: 700; letter-spacing: 0.005em;
  font-size: clamp(1.2rem, 3vw, 2.5rem); line-height: 1.16;
}
.tile-hero-copy .accent { color: var(--orange-bright); }
.tile-hero-copy p {
  max-width: 640px; margin: clamp(10px, 1.4vw, 16px) auto 0; text-align: center;
  color: rgba(255,255,255,0.9); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.5;
}
.hero-release {
  display: flex; width: fit-content; align-items: center; justify-content: center; gap: 8px;
  margin: clamp(14px, 1.8vw, 20px) auto 0 !important; max-width: none !important;
  color: var(--orange-bright) !important; font-size: 0.9rem !important; font-weight: 700; letter-spacing: 0.01em;
}
.hero-banner-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(16px, 2vw, 22px); }
.hero-banner-cta .btn-ghost { background: rgba(10,8,7,0.5); border-color: rgba(255,255,255,0.28); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-banner-cta .btn-ghost:hover { background: rgba(10,8,7,0.68); border-color: rgba(255,255,255,0.5); }
@media (max-width: 700px) {
  .tile-hero { aspect-ratio: 4 / 5; }
  .tile-hero::before { -webkit-mask-image: radial-gradient(ellipse 92% 52% at 50% 76%, #000 0%, #000 44%, transparent 82%); mask-image: radial-gradient(ellipse 92% 52% at 50% 76%, #000 0%, #000 44%, transparent 82%); }
  .tile-hero::after {
    background:
      radial-gradient(ellipse 100% 60% at 50% 80%, rgba(6,4,3,0.84) 0%, rgba(6,4,3,0.7) 40%, rgba(6,4,3,0.32) 72%, rgba(6,4,3,0.08) 100%),
      linear-gradient(180deg, rgba(6,4,3,0) 32%, rgba(6,4,3,0.44));
  }
}

/* ---- Desktop app preview (browser frame cycling through primary screens) ---- */
.appwin {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft);
  background: var(--bg-1); aspect-ratio: 4 / 3;
}
.appwin-bar { height: 32px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--hairline); }
.appwin-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.appwin-bar .addr { margin-left: 8px; flex: 1; height: 18px; max-width: 230px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--hairline); display: flex; align-items: center; padding: 0 10px; color: var(--text-3); font-size: 10px; }
.appwin-body { display: grid; grid-template-columns: 132px 1fr; height: calc(100% - 32px); }
.appwin-rail { border-right: 1px solid var(--hairline); padding: 12px 9px; background: rgba(255,255,255,0.015); display: flex; flex-direction: column; }
.appwin-rail .brandmark { padding: 2px 6px 12px; }
.appwin-rail .brandmark img { height: 13px; width: auto; opacity: 0.95; }
.appwin-rail .rail-label { font-size: 8.5px; letter-spacing: 0.02em; text-transform: none; color: var(--text-3); padding: 0 8px 6px; }
.appwin-nav { display: flex; flex-direction: column; gap: 2px; }
.appwin-nav .n { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--text-2); font-size: 11px; font-weight: 600; transition: background .35s var(--ease), color .35s var(--ease); }
.appwin-nav .n .ic { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; flex: none; color: var(--text-3); }
.appwin-nav .n .ic svg { width: 14px; height: 14px; }
.appwin-nav .n.active { background: var(--orange-soft); color: var(--orange-bright); }
.appwin-nav .n.active .ic { color: var(--orange-bright); }
.rail-relief { margin-top: auto; display: flex; align-items: center; gap: 7px; padding: 8px 9px; border-radius: 9px; font-size: 11px; font-weight: 700; color: var(--orange-bright); background: var(--orange-soft); border: 1px solid var(--orange-line); }
.rail-relief .ic { display: inline-flex; } .rail-relief svg { width: 13px; height: 13px; }
.appwin-right { display: flex; flex-direction: column; min-width: 0; }
.appwin-top { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--hairline); }
.aw-search { flex: 1; height: 25px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--hairline); display: flex; align-items: center; gap: 7px; padding: 0 10px; color: var(--text-3); font-size: 10px; }
.aw-search svg { width: 12px; height: 12px; flex: none; }
.aw-ava { width: 23px; height: 23px; border-radius: 50%; background: linear-gradient(135deg, var(--orange-bright), var(--orange-deep)); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.appwin-main { position: relative; overflow: hidden; flex: 1; }
.appwin-screen { position: absolute; inset: 0; padding: 14px 16px; background: var(--bg-1); opacity: 0; transform: translateY(7px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.appwin-screen.on { opacity: 1; transform: none; z-index: 1; }
.aw-eyebrow { font-size: 9px; letter-spacing: 0.02em; text-transform: none; color: var(--orange-bright); font-weight: 700; }
.aw-h { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 4px 0 2px; color: var(--text-1); }
.aw-sub { font-size: 11px; color: var(--text-2); }
.aw-flow { display: flex; align-items: center; gap: 6px; margin-top: 13px; flex-wrap: wrap; }
.aw-flow span { font-size: 10px; padding: 5px 9px; border-radius: 999px; background: var(--panel); border: 1px solid var(--card-border); color: var(--text-1); }
.aw-flow i { color: var(--orange); font-style: normal; font-size: 10px; }
.aw-cards { display: flex; gap: 10px; margin-top: 14px; }
.aw-card { flex: 1; padding: 11px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--card-border); font-size: 11px; color: var(--text-2); }
.aw-card b { display: block; font-size: 18px; color: var(--orange-bright); font-weight: 700; }
.aw-input { margin-top: 12px; height: 32px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--card-border-warm); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 11px; color: var(--text-3); }
.aw-input .mic { color: var(--orange-bright); display: inline-flex; }
.aw-input .mic svg { width: 13px; height: 13px; }
.aw-row { display: flex; align-items: center; gap: 11px; margin-top: 14px; }
.aw-btn { font-family: var(--font); font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(180deg, var(--orange-bright), var(--orange)); border: 0; border-radius: 8px; padding: 7px 11px; display: inline-flex; align-items: center; gap: 5px; cursor: default; }
.aw-btn svg { width: 11px; height: 11px; }
.aw-ghost { font-size: 10px; color: var(--text-2); font-weight: 600; }
.aw-cap { font-size: 8px; letter-spacing: 0.02em; text-transform: none; color: var(--text-3); margin: 12px 0 7px; }
.aw-items { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.aw-item { font-size: 11px; font-weight: 500; color: var(--text-1); background: var(--panel); border: 1px solid var(--card-border); border-radius: 9px; padding: 6px 9px; display: flex; align-items: center; gap: 9px; }
.aw-item .di { width: 22px; height: 22px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--hairline); display: grid; place-items: center; flex: none; color: var(--text-2); }
.aw-item .di svg { width: 12px; height: 12px; }
.aw-item .di.dollar { color: var(--area-money); font-weight: 800; font-size: 12px; }
.aw-item em { font-style: normal; }
.aw-tag { margin-left: auto; font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag-cal { color: var(--orange-bright); background: var(--orange-soft); border: 1px solid var(--orange-line); }
.tag-task { color: var(--good); background: var(--good-soft); border: 1px solid var(--good-line); }
.tag-fin { color: var(--area-money); background: rgba(217,164,65,0.14); border: 1px solid rgba(217,164,65,0.32); }
.aw-week { display: flex; gap: 6px; margin-top: 15px; }
.aw-week span { position: relative; flex: 1; text-align: center; font-size: 10px; padding: 6px 0 10px; border-radius: 8px; background: var(--panel); border: 1px solid var(--card-border); color: var(--text-2); }
.aw-week span.td { background: var(--orange-soft); border-color: var(--orange-line); color: var(--orange-bright); font-weight: 700; }
.aw-week span.has-a::after, .aw-week span.has-b::after { content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; }
.aw-week span.has-a::after { background: var(--area-health); }
.aw-week span.has-b::after { background: var(--area-family); }
.aw-tasks { margin-top: 13px; display: flex; flex-direction: column; gap: 10px; }
.aw-task { font-size: 11px; font-weight: 500; color: var(--text-1); display: flex; align-items: center; gap: 9px; }
.aw-task i { position: relative; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--orange-line); display: inline-block; flex: none; }
.aw-task s { text-decoration: line-through; }
.aw-task.done s { color: var(--text-3); }
.aw-task.done i { background: var(--orange); border-color: var(--orange); }
.aw-task.done i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 6px; border: solid var(--text-on-orange); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.adot { width: 7px; height: 7px; border-radius: 50%; margin-left: auto; flex: none; }
@media (max-width: 900px) { .appwin-body { grid-template-columns: 116px 1fr; } }

/* ---- Emotional split band (photo + copy) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .split-media { order: 1; }

/* ---- Big statement (category / thesis lines) ---- */
.statement {
  text-align: center; max-width: 860px; margin: 0 auto;
  font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 600; line-height: 1.28; letter-spacing: -0.02em;
}
.statement-body {
  max-width: 620px; margin: clamp(14px, 1.6vw, 20px) auto 0;
  color: rgba(255,255,255,0.92); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.5;
}
.statement-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(20px, 2.4vw, 30px); }
.statement-cta .btn-ghost {
  background: rgba(10,8,7,0.5); border-color: rgba(255,255,255,0.28); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.statement-cta .btn-ghost:hover { background: rgba(10,8,7,0.68); border-color: rgba(255,255,255,0.5); }

/* ---- Living collage behind the category statement ---- */
/* Square tiles: with 7 cols x 3 rows, height = width * 3/7 keeps every cell 1:1 */
.statement-tile { position: relative; overflow: hidden; padding: 0; aspect-ratio: 7 / 3; }
.statement-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(28px, 5vw, 60px);
}
.statement-logo { height: clamp(30px, 3.4vw, 46px); width: auto; margin-bottom: clamp(16px, 2vw, 26px); }
.collage {
  position: absolute; inset: 0; z-index: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
}
.collage .ctile { position: relative; overflow: hidden; background: var(--bg-2); }
.collage .layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s var(--ease);
  filter: grayscale(0.25) brightness(0.82) contrast(1.02) saturate(0.9);
}
.collage .layer.on { opacity: 1; }
/* Center-only blur behind the text — feathers out to keep edge photos crisp */
.statement-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: radial-gradient(ellipse 68% 82% at 50% 50%, #000 0%, #000 34%, transparent 76%);
  mask-image: radial-gradient(ellipse 68% 82% at 50% 50%, #000 0%, #000 34%, transparent 76%);
}
/* Warm scrim: darkest in the middle behind the copy, fading out to reveal the photos at the edges */
.statement-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 88% at 50% 50%,
      rgba(9,6,5,0.94) 0%,
      rgba(9,6,5,0.86) 34%,
      rgba(9,6,5,0.5) 66%,
      rgba(9,6,5,0.2) 100%),
    linear-gradient(180deg, rgba(216,92,39,0.08), rgba(9,6,5,0) 45%, rgba(216,92,39,0.08));
}
@media (max-width: 900px) { .statement-tile { aspect-ratio: 4 / 3; } .collage { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); } }
@media (max-width: 560px) { .statement-tile { aspect-ratio: 3 / 4; } .collage { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .collage .layer { transition: none; } }

/* ---- Community + resources ---- */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 22px); margin-top: clamp(30px, 4vw, 44px); }
.comm-card {
  background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.comm-card:hover { transform: translateY(-4px); border-color: var(--card-border-warm); box-shadow: var(--shadow-card); }
.comm-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 4px;
  background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange-bright);
}
.comm-ic svg { width: 26px; height: 26px; }
.comm-card h3 { font-size: 1.3rem; margin: 0; }
.comm-card p { color: var(--text-2); margin: 0; line-height: 1.55; }
/* Resources intro: pulsing glow + designed category chips */
.resource-intro { position: relative; overflow: hidden; }
.resource-intro > * { position: relative; z-index: 1; }
.resource-intro::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; top: -22%; left: 50%;
  width: min(52%, 560px); aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.52), rgba(var(--accent-rgb), 0.16) 44%, transparent 70%);
  filter: blur(30px); animation: principlesGlow 4.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .resource-intro::before { animation: none; transform: translateX(-50%) scale(1); opacity: 0.5; } }
.resource-intro .comm-chips { gap: 10px; margin-top: clamp(24px, 3vw, 34px); }
.resource-intro .comm-chips span {
  font-size: 0.88rem; color: var(--text-1); font-weight: 600;
  background: var(--panel-strong); border: 1px solid var(--card-border-warm);
  padding: 9px 15px 9px 13px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.resource-intro .comm-chips span::before { content: "✦"; color: var(--orange-bright); font-size: 0.7rem; }
.resource-intro .comm-chips span:hover { transform: translateY(-2px); border-color: var(--orange-line); background: var(--panel-2); }

.comm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.comm-chips span {
  font-size: 0.82rem; color: var(--text-2); background: var(--panel-2);
  border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 6px 12px;
}
.comm-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.comm-list li { position: relative; padding-left: 26px; color: var(--text-2); line-height: 1.45; }
.comm-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--orange-soft); border: 1px solid var(--orange-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0713f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}
@media (max-width: 760px) { .community { grid-template-columns: 1fr; } }

/* ---- Editorial panels: alternating image + copy (guidance / village) ---- */
.ed-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.5vw, 64px); align-items: center; margin-top: clamp(26px, 4vw, 50px); }
.ed-media .photo-frame { aspect-ratio: 1 / 1; }
.ed-panel.reverse { grid-template-columns: 1fr 1fr; }
.ed-panel.reverse .ed-media { order: 2; }
.ed-panel.reverse .ed-copy { order: 1; }
.ed-media { position: relative; }
.ed-copy .eyebrow { margin-bottom: 14px; }
.ed-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 14px; line-height: 1.15; }
.ed-copy .ed-headline { font-size: clamp(1.6rem, 2.9vw, 2.25rem); margin: 0 0 14px; line-height: 1.15; }
.ed-copy > p { color: var(--text-2); font-size: 1.05rem; line-height: 1.55; margin: 0 0 20px; }
.ed-copy .comm-chips { margin-top: 0; }
.ed-copy .comm-list { margin-top: 4px; }
/* Floating overlay cards on the imagery */
.ed-float {
  position: absolute; z-index: 3;
  background: var(--panel-strong); border: 1px solid var(--card-border-warm);
  border-radius: var(--r-md); box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ed-resource { left: clamp(12px, 3%, 22px); bottom: -20px; max-width: min(46%, 230px); display: flex; align-items: center; gap: 10px; padding: 10px 13px; }
.ed-resource.ed-tr { left: auto; bottom: auto; right: clamp(12px, 3%, 22px); top: -18px; }
.ed-resource.ed-tl { left: clamp(12px, 3%, 22px); top: -18px; right: auto; bottom: auto; }
.ed-resource.ed-br { right: clamp(12px, 3%, 22px); bottom: -20px; left: auto; top: auto; }
/* Built differently: 1:1 graphic that can host corner pill tabs */
.built-diff .split-media { position: relative; }
.built-diff .photo-frame { aspect-ratio: 1 / 1; }
.ed-resource .er-ic { flex: none; width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange-bright); }
.ed-resource .er-ic svg { width: 20px; height: 20px; }
.ed-resource b { display: block; color: var(--text-1); font-size: 0.92rem; line-height: 1.2; }
.ed-resource span { display: block; margin-top: 3px; color: var(--orange-bright); font-size: 0.8rem; }
.ed-village { right: clamp(14px, 3%, 26px); bottom: -20px; display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.ev-avas { display: flex; }
.ev-ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; color: #fff; border: 2px solid var(--panel-strong); margin-left: -9px; background: linear-gradient(150deg, var(--orange), var(--orange-deep)); }
.ev-ava:first-child { margin-left: 0; }
.ev-ava.more { background: var(--panel-2); color: var(--text-2); }
.ev-label { color: var(--text-1); font-size: 0.88rem; font-weight: 600; }
@media (max-width: 760px) {
  .ed-panel, .ed-panel.reverse { grid-template-columns: 1fr; gap: 26px; }
  .ed-panel.reverse .ed-media, .ed-panel.reverse .ed-copy { order: 0; }
  .ed-resource { max-width: none; }
}

/* ---- Built differently (merged intelligence + shame-free) ---- */
.bd-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.bd-card { background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-md); padding: 18px; }
.bd-card b { display: block; color: var(--text-1); font-size: 1rem; margin-bottom: 6px; }
.bd-card span { color: var(--text-2); font-size: 0.9rem; line-height: 1.45; }
.bd-closing { margin-top: 24px; font-weight: 600; font-size: 1.1rem; color: var(--text-1); }
@media (max-width: 760px) { .built-diff .split-media { order: 2; } }
@media (max-width: 560px) { .bd-principles { grid-template-columns: 1fr; } }

/* ---- Quiet audience line above the waitlist ---- */
.audience-line { text-align: center; max-width: 780px; margin: clamp(28px, 3.6vw, 46px) auto clamp(16px, 2vw, 24px); color: var(--text-3); font-size: 0.95rem; }

/* Consequence band — tucked under the reality copy in the left column */
.consequence-band { margin-top: clamp(20px, 2.6vw, 28px); }
.consequence-band > .eyebrow { display: inline-block; margin-bottom: 12px; }

/* ---- Beta invitation: community cluster + raised form panel ---- */
.beta-cluster { position: relative; display: flex; align-items: center; margin-bottom: 12px; width: max-content; }
.beta-cluster::before { content: ""; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); width: 200px; height: 84px; z-index: -1; background: radial-gradient(closest-side, var(--orange-glow), transparent); opacity: 0.5; filter: blur(6px); }
.bc-photo { width: 66px; height: 66px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--panel-strong); box-shadow: 0 0 0 1px var(--card-border-warm); margin-left: -18px; }
.bc-photo:first-child { margin-left: 0; }
.bc-more { margin-left: 14px; font-size: 0.92rem; font-weight: 700; color: var(--orange-bright); }
.bc-caption { margin: 0 0 22px; color: var(--text-1); font-weight: 600; font-size: 0.98rem; }
.beta-form-panel {
  background: radial-gradient(120% 120% at 100% 0%, rgba(var(--accent-rgb), 0.20), transparent 60%), var(--panel-strong);
  border: 1px solid var(--card-border-warm); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-card);
}
/* Form fills the full width of the orange panel */
.beta-form-panel .release-form { max-width: none; }
/* Full-width release form: centered intro on top, wide orange-glass form below */
.release-top { text-align: center; }
.release-top .beta-cluster { margin-inline: auto; margin-bottom: 12px; }
.release-top .bc-caption { text-align: center; }
.release-form-full { margin-top: clamp(24px, 3vw, 38px); }
.release-form-full .btn-block { max-width: 460px; margin-inline: auto; }

/* ---- Investor pathway: slim restrained strip ---- */
/* investor-strip container + children now share the .home-banner style (see homepage banners block) */
.statement .accent { color: var(--orange-bright); }
.statement-sub { text-align: center; max-width: 640px; margin: 20px auto 0; color: var(--text-2); font-size: 1.08rem; }

/* ---- Stats band ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-md);
  padding: 24px 22px; text-align: left;
}
.stat .num { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; color: var(--orange-bright); line-height: 1; letter-spacing: -0.02em; }
.stat .lbl { margin-top: 10px; color: var(--text-2); font-size: 0.92rem; line-height: 1.4; }
.stats-source { margin-top: 16px; color: var(--text-3); font-size: 0.8rem; text-align: center; }
.stats-source a { color: inherit; text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 2px; transition: color .2s var(--ease); }
.stats-source a:hover { color: var(--orange-bright); text-decoration-color: var(--orange-line); }

/* Problem section: copy left, stat tiles right */
.problem-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
.problem-copy h2 { margin: 14px 0 16px; }
.problem-copy p { color: var(--text-2); font-size: 1.05rem; margin: 0; }
.problem-stats .stats-grid { grid-template-columns: repeat(2, 1fr); }
.problem-stats .stats-source { text-align: left; }
@media (max-width: 860px) { .problem-split { grid-template-columns: 1fr; gap: 26px; } }

/* Two side-by-side info tiles (image + heading + stats/chips) */
.dual-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 26px); margin-top: clamp(16px, 2.2vw, 26px); align-items: stretch; }
.dual-tiles .tile { margin-top: 0; }
.info-tile { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.info-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.info-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--orange); color: var(--text-on-orange); border-color: transparent; box-shadow: 0 4px 14px -4px rgba(0,0,0,0.5); }
.info-body { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; flex: 1; }
.info-body h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin: 0 0 12px; }
.info-body > p { color: var(--text-2); margin: 0 0 20px; font-size: 1rem; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.stat-card { background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-md); padding: 22px 20px; display: flex; flex-direction: column; text-align: left; }
.stat-card b { color: var(--orange-bright); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.stat-card span { margin-top: 10px; color: var(--text-2); font-size: 0.9rem; line-height: 1.4; }
.cost-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.info-more { align-self: stretch; margin-top: auto; }
.cost-chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text-2); background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 7px 13px; }
.cost-chips span::before { content: ""; width: 13px; height: 13px; flex: none; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0743B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2s4 4 4 8a4 4 0 0 1-8 0c0-1 .5-2 .5-2S6 9 6 12a6 6 0 0 0 12 0c0-5-6-10-6-10z'/></svg>") center/contain no-repeat; }
@media (max-width: 860px) { .dual-tiles { grid-template-columns: 1fr; } }

/* Product showcase (the relief) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.showcase-media { position: relative; }
.showcase-media .photo-frame { aspect-ratio: 4 / 3; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-eye { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(6,4,3,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--card-border-warm); display: grid; place-items: center; color: var(--orange-bright); }
.showcase-eye svg { width: 22px; height: 22px; }
.showcase-copy h2 { margin: 12px 0 16px; }
.showcase-copy .lead { margin-bottom: 24px; }
.protect-points { display: flex; flex-direction: column; gap: 16px; }
.protect-point { display: flex; gap: 14px; align-items: flex-start; }
.protect-point .pp-ic { flex: none; width: 40px; height: 40px; border-radius: 13px; background: var(--orange-soft); border: 1px solid var(--orange-line); display: grid; place-items: center; color: var(--orange-bright); }
.protect-point .pp-ic svg { width: 20px; height: 20px; }
.protect-point b { display: block; color: var(--text-1); font-size: 1rem; }
.protect-point > div > span { display: block; color: var(--text-2); font-size: 0.92rem; margin-top: 3px; line-height: 1.4; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } }

/* Feature phone — single device with app shell, auto-cycling pages */
.tour { display: grid; grid-template-columns: minmax(252px, 330px) 1fr; gap: clamp(30px, 5vw, 58px); align-items: center; max-width: 1120px; margin: clamp(24px, 3.2vw, 40px) auto 0; }
.app-phone { width: 100%; max-width: 288px; }
.phone-col { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.phone-col .btn { width: 100%; max-width: 288px; }
.phone { width: 100%; aspect-ratio: 9 / 19.2; border-radius: 34px; background: linear-gradient(160deg, #241b16, #0f0b09); border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft); padding: 8px; }
.phone-inner { position: relative; width: 100%; height: 100%; border-radius: 27px; background: var(--bg-1); overflow: hidden; display: flex; flex-direction: column; }
.phone-bar { flex: none; height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 9px; font-weight: 600; color: var(--text-2); }
.phone-bar .dots { display: flex; gap: 3px; }
.phone-bar .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); display: block; }
.phone-top { flex: none; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--hairline); }
.phone-logo { height: 11px; width: auto; opacity: 0.95; }
.phone-ava { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--orange-bright), var(--orange-deep)); color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.phone-screen-wrap { position: relative; flex: 1; overflow: hidden; }
.pscreen { position: absolute; inset: 0; padding: 12px; display: flex; flex-direction: column; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); background: var(--bg-1); }
.pscreen.on { opacity: 1; transform: none; }
.ps-hero { text-align: center; margin: 4px 0 12px; }
.ps-icon { width: 42px; height: 42px; border-radius: 13px; background: var(--orange-soft); border: 1px solid var(--orange-line); display: inline-grid; place-items: center; color: var(--orange-bright); margin-bottom: 8px; }
.ps-icon svg { width: 22px; height: 22px; }
.ps-title { font-size: 14px; font-weight: 700; color: var(--text-1); letter-spacing: -0.01em; }
.ps-content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.phone-nav { flex: none; height: 48px; display: flex; align-items: center; justify-content: space-around; border-top: 1px solid var(--hairline); background: rgba(255,255,255,0.02); padding: 0 8px; }
.pn { color: var(--text-3); display: grid; place-items: center; }
.pn svg { width: 18px; height: 18px; }
.pn.fab { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(180deg, var(--orange-bright), var(--orange)); color: #fff; box-shadow: 0 5px 14px -4px var(--orange-glow); }
.pn.fab svg { width: 19px; height: 19px; }
/* content blocks inside a phone screen */
.ps-list { display: flex; flex-direction: column; gap: 6px; }
.ps-row { display: flex; align-items: center; gap: 7px; background: var(--panel); border: 1px solid var(--hairline); border-radius: 9px; padding: 8px 9px; font-size: 9.5px; color: var(--text-1); }
.ps-cb { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid var(--orange-line); flex: none; position: relative; }
.ps-cb.on { background: var(--orange); border-color: var(--orange); }
.ps-cb.on::after { content: ""; position: absolute; left: 4px; top: 1px; width: 2.5px; height: 5.5px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ps-ic { width: 18px; height: 18px; border-radius: 5px; background: var(--orange-soft); display: grid; place-items: center; flex: none; color: var(--orange-bright); }
.ps-ic svg { width: 11px; height: 11px; }
.ps-t { flex: 1; line-height: 1.2; }
.ps-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ps-time { font-size: 8.5px; font-weight: 700; color: var(--orange-bright); flex: none; min-width: 28px; }
.ps-amt { font-size: 9.5px; font-weight: 700; color: var(--text-1); }
.ps-tag { font-size: 7.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.ps-tag.on, .ps-tag.safe { color: var(--good); background: var(--good-soft); }
.ps-tag.due { color: var(--orange-bright); background: var(--orange-soft); }
.ps-chat { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ps-bubble { max-width: 84%; font-size: 9px; line-height: 1.3; padding: 6px 9px; border-radius: 12px; }
.ps-bubble.in { align-self: flex-start; background: var(--panel-2); color: var(--text-1); border-bottom-left-radius: 3px; }
.ps-bubble.out { align-self: flex-end; background: linear-gradient(180deg, var(--orange-bright), var(--orange)); color: #fff; border-bottom-right-radius: 3px; }
.ps-input { margin-top: auto; height: 24px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--card-border-warm); display: flex; align-items: center; padding: 0 10px; font-size: 8.5px; color: var(--text-3); }
.ps-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 8px; }
.ps-area { font-size: 8.5px; padding: 6px 8px; border-radius: 8px; background: var(--panel); border: 1px solid var(--hairline); display: flex; align-items: center; gap: 5px; color: var(--text-1); }
/* synced feature list */
/* Slow orange "breathing" glow behind the core-features tile */
.tile-breathe { position: relative; overflow: hidden; }
.tile-breathe::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48% 46% at 38% 42%, rgba(216, 92, 39, 0.20), rgba(216, 92, 39, 0) 68%),
    radial-gradient(40% 38% at 72% 64%, rgba(216, 92, 39, 0.12), rgba(216, 92, 39, 0) 70%);
  animation: tile-breathe 9s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes tile-breathe {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .tile-breathe::before { animation: none; opacity: 0.6; transform: none; }
}

.tour-right { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 760px; }
.tour-head h2 { margin: 12px 0 10px; }
.tour-head p { color: var(--text-2); margin: 0; font-size: 1.02rem; line-height: 1.5; }
.tour-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.tour-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; text-align: left; font-family: var(--font); cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease); }
.tour-item:hover:not(.active) { background: var(--panel); }
.tour-item:hover:not(.active) .ti-ic { color: var(--text-2); }
.tour-item .ti-ic { width: 40px; height: 40px; border-radius: 13px; background: var(--panel); border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--text-3); flex: none; transition: .3s var(--ease); }
.tour-item .ti-ic svg { width: 20px; height: 20px; }
.tour-item b { display: block; color: var(--text-2); font-size: 1rem; font-weight: 600; }
.tour-item .ti-desc { display: block; color: var(--text-3); font-size: 0.88rem; margin-top: 2px; line-height: 1.35; }
.tour-item.active { background: var(--panel); border-color: var(--card-border-warm); }
.tour-item.active .ti-ic { background: var(--orange-soft); border-color: var(--orange-line); color: var(--orange-bright); }
.tour-item.active b { color: var(--text-1); }
@media (max-width: 860px) { .tour { grid-template-columns: 1fr; gap: 34px; } .tour-right { max-width: 520px; } }

/* ---- The model: Capture → Translate → Organize → Support ---- */
.model { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.model-step {
  background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-lg);
  padding: 26px 24px 28px; position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.model-step:hover { transform: translateY(-4px); border-color: var(--card-border-warm); box-shadow: var(--shadow-card); }
.ms-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ms-ic {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: var(--panel); border: 1px solid var(--hairline);
  display: grid; place-items: center; color: var(--text-3);
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.ms-ic svg { width: 22px; height: 22px; }
.ms-n { font-size: 1.9rem; font-weight: 800; line-height: 1; color: rgba(255,255,255,0.13); letter-spacing: -0.01em; }
.model-step:hover .ms-ic { color: var(--orange-bright); background: var(--orange-soft); border-color: var(--orange-line); }
.model-step .k { font-size: 0.8rem; letter-spacing: 0.01em; text-transform: none; color: var(--orange-bright); font-weight: 700; }
.model-step h3 { margin: 8px 0 10px; font-size: 1.25rem; }
.model-step p { color: var(--text-2); font-size: 0.95rem; margin: 0; }
.model-step .arrow { display: none; }
/* Final step — the payoff: a soft-orange resolved state */
.model-step:last-child { background: var(--orange-soft); border-color: var(--orange-line); }
.model-step:last-child .ms-ic { background: rgba(var(--accent-rgb), 0.18); border-color: var(--orange-line); color: var(--orange-bright); }
.model-step:last-child .ms-n { color: rgba(var(--accent-rgb), 0.35); }
/* Body copy for the section — both paragraphs together, full width, above the cards */
.model-copy { margin: clamp(-30px, -2.6vw, -18px) 0 clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 14px; text-align: center; }
.model-copy p { color: var(--text-2); font-size: 1.08rem; line-height: 1.55; margin: 0; max-width: none; }

/* ---- Retention flywheel (compounding value chain) ---- */
.flywheel { display: grid; gap: 12px; max-width: 720px; margin-inline: auto; }
.flywheel .link {
  display: flex; align-items: center; gap: 16px; padding: 16px 22px;
  background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-pill);
  color: var(--text-1); font-weight: 500;
}
.flywheel .link .n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange-bright);
  font-size: 0.85rem; font-weight: 700;
}
.flywheel .link:last-child { background: var(--orange-soft); border-color: var(--orange-line); }

/* ---- Fragment list ("current tools solve fragments") ---- */
.fragments { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.fragments span {
  padding: 9px 16px; border-radius: var(--r-pill); font-size: 0.9rem; color: var(--text-2);
  background: var(--panel); border: 1px solid var(--hairline);
}
.fragments span s { color: var(--text-3); text-decoration-color: var(--orange); }

/* ---- Founder ---- */
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.founder-photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft); aspect-ratio: 1/1; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder .sig { margin-top: 20px; font-weight: 600; color: var(--text-1); }
.founder .sig span { display: block; color: var(--text-3); font-weight: 400; font-size: 0.9rem; margin-top: 2px; }

/* ---- Phased roadmap ---- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.phase { background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-md); padding: 26px; }
.phase .ph-k { font-size: 0.74rem; letter-spacing: 0.02em; text-transform: none; color: var(--orange-bright); font-weight: 700; }
.phase h3 { margin: 8px 0 16px; }
.phase ul { list-style: none; padding: 0; margin: 0; }
.phase li { padding: 6px 0 6px 26px; position: relative; color: var(--text-2); font-size: 0.94rem; }
.phase li::before { content: "✦"; position: absolute; left: 0; top: 7px; font-size: 0.72rem; color: var(--orange); }
.phase.now { border-color: var(--card-border-warm); background: var(--panel-2); }

/* ---- Revenue paths ---- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path { background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-md); padding: 24px; }
.path .p-n { font-size: 0.76rem; letter-spacing: 0.02em; text-transform: none; color: var(--orange-bright); font-weight: 700; }
.path h3 { margin: 8px 0 8px; font-size: 1.12rem; }
.path p { color: var(--text-2); font-size: 0.93rem; margin: 0; }

/* ---- Market pills ---- */
.markets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.market { text-align: center; background: var(--panel); border: 1px solid var(--card-border); border-radius: var(--r-md); padding: 22px 14px; }
.market .ic { font-size: 26px; margin-bottom: 10px; }
.market h3 { font-size: 0.98rem; margin: 0 0 6px; }
.market p { color: var(--text-3); font-size: 0.82rem; margin: 0; line-height: 1.4; }

/* ---- Deck-section responsive ---- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .model { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder-photo { max-width: 340px; }
  .roadmap, .paths { grid-template-columns: 1fr; }
  .markets { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stats-grid, .model, .markets { grid-template-columns: 1fr; }
}

/* =====================================================================
   FINAL POLISH — accessibility, reduced-motion, legal pages, mobile
   ===================================================================== */

/* ---- Visible keyboard focus on every interactive element ---- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
.tour-item:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 2px;
  border-radius: 6px;
}
/* keep the form fields' softer ring but make it keyboard-visible too */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--orange-bright); outline-offset: 1px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---- Skip link (keyboard users jump past the nav) ---- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--panel-strong); color: var(--text-1);
  border: 1px solid var(--orange-line); border-radius: 8px;
  padding: 10px 16px; font-weight: 700; transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---- Minimum readable body text + a touch more contrast on meta text ---- */
.form-note, .stats-source, .muted, .footer-bottom, .aw-cap { font-size: 0.9rem; }
.ti-desc { font-size: 0.9rem; }

/* ---- Broad reduced-motion: calm everything decorative ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tile-breathe::before { animation: none !important; opacity: 0.6; transform: none; }
  .beta-cluster::before { animation: none !important; }
}

/* ---- Legal / trust pages: readable restrained prose ---- */
.legal { max-width: 760px; }
.legal .eyebrow { display: inline-block; margin-bottom: 12px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 10px; }
.legal .legal-updated { color: var(--text-3); font-size: 0.92rem; margin: 0 0 8px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-2); font-size: 1.02rem; line-height: 1.65; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--orange-bright); text-decoration: underline; text-underline-offset: 2px; }
.legal .legal-note {
  margin-top: 30px; padding: 16px 20px; border: 1px solid var(--card-border);
  border-left: 2px solid var(--orange-line); border-radius: var(--r-md);
  background: rgba(var(--accent-rgb), 0.05); color: var(--text-2); font-size: 0.95rem;
}

/* =====================================================================
   MOBILE BEHAVIOUR PASS
   ===================================================================== */
@media (max-width: 900px) {
  /* Dim the animated network so it never competes with text on small screens */
  #bgfx { opacity: 0.45; }
  /* Overlay callout cards must not cover faces — sit them below the image on small screens */
  .ed-media { padding-bottom: 34px; }
  .ed-resource, .ed-village { position: static; margin: -14px 14px 0; max-width: none; }
}
@media (max-width: 760px) {
  /* Statistics: two per row on medium mobile */
  .problem-stats .stats-grid { grid-template-columns: 1fr 1fr; }
  /* Category chips scroll horizontally with a fade cue instead of wrapping tall */
  .comm-chips {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .comm-chips::-webkit-scrollbar { display: none; }
  .comm-chips span { flex: 0 0 auto; }
  .consequence-band .cost-chips {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .consequence-band .cost-chips::-webkit-scrollbar { display: none; }
  .consequence-band .cost-chips span { flex: 0 0 auto; }
  /* Four How-It-Works cards stack with a subtle connecting line */
  .model { grid-template-columns: 1fr; position: relative; }
  .model .model-step { position: relative; }
  .model .model-step:not(:last-child)::after {
    content: ""; position: absolute; left: 50%; bottom: -18px; width: 2px; height: 18px;
    background: linear-gradient(var(--orange-line), transparent); transform: translateX(-50%);
  }
}
@media (max-width: 480px) {
  /* Statistics: one per row on narrow screens */
  .problem-stats .stats-grid { grid-template-columns: 1fr; }
}

/* ---- Dedicated release page: copy/form left, edge-to-edge image right ---- */
.release-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 56px); align-items: stretch; }
.release-copy { min-width: 0; }
.release-copy .beta-cluster { margin-bottom: 12px; }
.release-copy .beta-form-panel { margin-top: clamp(20px, 2.4vw, 28px); }
.release-media {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft);
  background: var(--bg-2); min-height: 100%;
}
.release-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .release-grid { grid-template-columns: 1fr; }
  .release-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
}

/* ---- Homepage banners (release + investor) — one cohesive style ---- */
.home-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(22px, 2.6vw, 32px) clamp(24px, 2.8vw, 38px);
  border: 1px solid var(--card-border-warm); border-radius: var(--r-xl);
  background: radial-gradient(130% 180% at 100% 0%, rgba(var(--accent-rgb), 0.15), transparent 58%), var(--panel-strong);
  box-shadow: var(--shadow-card);
}
.home-banner h2, .home-banner h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); margin: 8px 0 6px; line-height: 1.16; }
.home-banner p { color: var(--text-2); margin: 0; font-size: 1rem; }
.home-banner > .btn { flex: none; }
@media (max-width: 680px) { .home-banner { flex-direction: column; align-items: flex-start; } .home-banner > .btn { align-self: stretch; } }
/* release-specific: avatar cluster */
.release-banner .beta-cluster { flex: none; margin-bottom: 0; }
.release-banner .beta-cluster .bc-photo { width: 52px; height: 52px; margin-left: -16px; }
.rb-copy { flex: 1 1 380px; min-width: 0; }
/* investor-specific: eye badge (matches cluster weight) */
.is-eye { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange-bright); }
.is-eye svg { width: 26px; height: 26px; }
.is-copy { flex: 1 1 380px; min-width: 0; }

/* ============================================================
   VISION PAGE
   ============================================================ */

/* ---- Hero: text-dominant left, value-network visual right ---- */
.vision-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.5vw, 64px); align-items: center; }
@media (min-width: 861px) { .vision-hero .vision-visual { order: -1; } }
/* Flip variant: image on the right, copy on the left */
@media (min-width: 861px) { .vision-hero.img-right .vision-visual { order: 0; } }
.vision-hero-copy h1 { line-height: 1.1; }
.vision-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.vv-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.vv-label {
  position: absolute; transform: translate(-50%, -50%);
  padding: 8px 14px; border-radius: var(--r-pill); white-space: nowrap;
  background: var(--panel-strong); border: 1px solid var(--orange-line);
  color: var(--text-1); font-size: 0.82rem; font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.vv-label.vv-r { transform: translate(-82%, -50%); }
@media (max-width: 520px) { .vv-label { font-size: 0.72rem; padding: 6px 11px; } }

/* Photo variant of the hero visual: real image in a rounded frame with the value words pinned to the corners */
.vv-photo { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft); }
.vv-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.vv-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,4,3,0.30), rgba(6,4,3,0) 26%, rgba(6,4,3,0) 62%, rgba(6,4,3,0.42));
}
.vv-photo .vv-label { transform: none; z-index: 2; }
.vv-label.vv-tl { top: 6%; left: 6%; }
.vv-label.vv-mr { top: 45%; right: 6%; left: auto; }
.vv-label.vv-bl { bottom: 7%; left: 8%; top: auto; }
@media (max-width: 520px) { .vv-label.vv-tl { left: 5%; } .vv-label.vv-bl { left: 5%; } .vv-label.vv-mr { right: 5%; } }

/* ---- Problem: single copy column + image ---- */
.problem-grid { align-items: center; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-media {
  position: relative;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--card-border-warm); box-shadow: var(--shadow-soft);
  min-height: 340px;
}
.problem-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@media (max-width: 900px) { .problem-media { aspect-ratio: 3 / 2; min-height: 0; } }

/* Chips floating over the image (mirrors the hero's value pills) */
.problem-supports--float { position: absolute; inset: 0; margin: 0; z-index: 2; pointer-events: none; }
.problem-media .problem-supports--float li {
  position: absolute; pointer-events: auto;
  background: var(--panel-strong); border-color: var(--orange-line); box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.problem-supports--float .pf-tl { top: 6%; left: 5%; }
.problem-supports--float .pf-mr { top: 46%; right: 5%; }
.problem-supports--float .pf-bl { bottom: 7%; left: 5%; }
@media (max-width: 520px) {
  .problem-supports--float li { font-size: 0.82rem; padding: 7px 12px 7px 8px; gap: 8px; }
  .problem-supports--float .ps-mark { width: 22px; height: 22px; }
}

/* ---- Problem: consistent body copy ---- */
.problem-body p { color: var(--text-2); font-size: clamp(1.02rem, 1.35vw, 1.1rem); line-height: 1.62; margin: 0; }
.problem-body p:first-child { color: var(--text-1); }
.problem-body p + p { margin-top: 16px; }

/* ---- Problem: myth-busting chips ---- */
.problem-supports { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.problem-supports li {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 17px 9px 11px; border-radius: var(--r-pill);
  background: var(--panel); border: 1px solid var(--card-border-warm);
  color: var(--text-2); font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.problem-supports li:hover { border-color: var(--orange-line); background: var(--panel-2); }
.problem-supports li strong { color: var(--text-1); font-weight: 700; }
.problem-supports .ps-mark {
  display: inline-grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange-bright);
}
.problem-supports .ps-mark svg { width: 16px; height: 16px; }

/* ---- Principles: left-aligned header + pulsing corner glow ---- */
.principles-section { position: relative; overflow: hidden; }
.principles-section > * { position: relative; z-index: 1; }
.principles-section::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -20%; left: 50%;
  width: min(48%, 540px); aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.55), rgba(var(--accent-rgb), 0.20) 42%, transparent 68%);
  filter: blur(26px);
  animation: principlesGlow 4.5s ease-in-out infinite;
}
@keyframes principlesGlow {
  0%, 100% { opacity: 0.30; transform: translateX(-50%) scale(0.88); }
  50%      { opacity: 0.72; transform: translateX(-50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .principles-section::before { animation: none; opacity: 0.5; transform: translateX(-50%) scale(1); } }

/* ---- Principles: top two carry more weight ---- */
.principles-top { margin-bottom: clamp(18px, 2.4vw, 26px); }
.card-lg { padding: clamp(26px, 3vw, 34px); }
.card-lg h3 { font-size: 1.28rem; }
.card-lg p { font-size: 1.02rem; }
.principles-top .card h3, .principles-rest .card h3 { color: var(--text-1); }

/* ---- Manifesto: full-width image tile ---- */
.manifesto-tile {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(44px, 7vw, 88px);
}
.manifesto-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  object-fit: cover; object-position: center;
}
/* Scrim: darkest behind the copy (center), lighter at the sides so the families stay visible */
.manifesto-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 124% at 50% 50%,
      rgba(6,4,3,0.82) 0%, rgba(6,4,3,0.6) 48%, rgba(6,4,3,0.2) 78%, rgba(6,4,3,0.03) 100%),
    linear-gradient(180deg, rgba(6,4,3,0.26), rgba(6,4,3,0) 32%, rgba(6,4,3,0) 68%, rgba(6,4,3,0.26));
}
.manifesto-inner { position: relative; z-index: 2; }
.manifesto-logo { display: block; height: clamp(28px, 3.2vw, 42px); width: auto; margin: 0 auto clamp(16px, 2.2vw, 26px); }
.manifesto-text {
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.36; font-weight: 600;
  color: var(--text-1); margin: 0 auto; max-width: 600px;
}

/* ---- Founder: narrower column, pull-quote close ---- */
.founder-copy { max-width: none; }
.founder-label { font-size: 0.86rem; }
.founder-pullquote {
  margin-top: 22px; padding-left: 18px; border-left: 3px solid var(--orange);
  font-size: 1.18rem; line-height: 1.42; font-weight: 700; color: var(--text-1);
}

/* ---- CTA: full-width family collage background (same overlay as the collage banner) ---- */
.cta-tile { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; object-position: center; }
/* Center-only blur — feathers out to keep the collage crisp at the edges */
.cta-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: radial-gradient(ellipse 72% 86% at 50% 50%, #000 0%, #000 34%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 86% at 50% 50%, #000 0%, #000 34%, transparent 76%);
}
/* Warm radial scrim: darkest behind the copy, fading to reveal the photos at the edges */
.cta-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 82% 90% at 50% 50%,
      rgba(9,6,5,0.94) 0%, rgba(9,6,5,0.86) 34%, rgba(9,6,5,0.5) 66%, rgba(9,6,5,0.2) 100%),
    linear-gradient(180deg, rgba(216,92,39,0.08), rgba(9,6,5,0) 45%, rgba(216,92,39,0.08));
}
.cta-inner { position: relative; z-index: 2; }

/* ---- CTA framing line (legacy) ---- */
.cta-framing { color: var(--text-3); font-style: italic; font-size: 0.98rem; margin: 0 0 14px; }

@media (max-width: 860px) {
  .vision-hero { grid-template-columns: 1fr; gap: 30px; }
  .vision-visual { max-width: 380px; margin-inline: auto; }
  .founder-copy { max-width: none; }
}

/* ============================================================
   MOBILE — center most content (≤700px)
   ============================================================ */
@media (max-width: 700px) {
  main .section-head,
  main .vision-hero-copy,
  main .ed-copy,
  main .frow > div,
  main .split > div,
  main .founder-copy,
  main .founder > div,
  main .hero-grid > div,
  main .rb-copy,
  main .is-copy,
  main .problem-body,
  main .blog-hero-copy,
  main .cta-inner,
  main .tile-hero-copy,
  main .maxw-md,
  main .maxw-sub { text-align: center; }

  /* center inline / flex clusters */
  main .hero-cta,
  main .hero-banner-cta,
  main .hero-release,
  main .comm-chips,
  main .fragments,
  main .tile-strip,
  main .problem-supports { justify-content: center; align-items: center; }

  /* lists: drop bullets + indent so centered text reads clean */
  main .tile ul:not(.problem-supports),
  main .article-body ul,
  main .comm-list { list-style: none; padding-left: 0; text-align: center; }

  /* signatures, badges, small blocks */
  main .sig { text-align: center; }
  main .home-banner,
  main .release-banner,
  main .investor-strip { text-align: center; flex-direction: column; align-items: center; }
  main .home-banner .rb-copy,
  main .home-banner .is-copy { flex-basis: auto; }

  /* checks / value rows: keep icon+text together but center the group */
  main .checks .check { justify-content: center; text-align: left; }
  main .bd-principles { text-align: center; }

  /* stat/market grids read better centered */
  main .stat, main .market, main .panel { text-align: center; }
}

/* ============================================================
   Investors page — engagement pass (scoped to .inv-page only)
   ============================================================ */

/* Credibility strip: plain text row -> pill badges */
.inv-page .tile-strip { gap: 12px 14px; }
.inv-page .tile-strip > span {
  color: var(--text-2); font-size: 0.9rem; font-weight: 600;
  background: var(--panel-strong); border: 1px solid var(--card-border-warm);
  border-radius: var(--r-pill); padding: 9px 16px;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.inv-page .tile-strip > span:hover { transform: translateY(-2px); border-color: var(--orange-line); }
.inv-page .tile-strip .dot { color: var(--orange-bright); }

/* Stats: flat figures -> glowing cards with gradient numbers */
.stats-grid { gap: 18px; }
.stat {
  position: relative; overflow: hidden;
  background: var(--panel-strong); border: 1px solid var(--card-border-warm);
  border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px) clamp(18px, 2vw, 24px);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-bright));
}
.stat::after {
  content: ""; position: absolute; top: -45%; right: -25%; width: 65%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.20), transparent 70%);
  filter: blur(16px); pointer-events: none;
}
.stat > * { position: relative; z-index: 1; }
.stat:hover { transform: translateY(-4px); border-color: var(--orange-line); box-shadow: var(--shadow-card); }
.stat .num {
  font-size: clamp(2.3rem, 4vw, 3.2rem); letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffd9c2 0%, var(--orange-bright) 72%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--orange-bright);
}
.stat .lbl { font-size: 0.95rem; margin-top: 12px; }

/* Hidden-cost fragments: plain chips -> "leak" chips with a drip marker */
.inv-page .fragments { gap: 12px; }
.inv-page .fragments span {
  position: relative; padding: 10px 16px 10px 33px;
  background: var(--panel); border: 1px solid var(--card-border);
  border-radius: var(--r-pill); color: var(--text-2); font-size: 0.9rem; font-weight: 500;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.inv-page .fragments span::before {
  content: "\2198"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--warn); font-weight: 700; font-size: 0.82rem;
}
.inv-page .fragments span:hover { color: var(--text-1); border-color: rgba(224,160,60,0.5); background: var(--warn-soft); }

/* Markets: flat cards -> icon-badge cards that lift */
.inv-page .markets { gap: 16px; }
.inv-page .market {
  padding: clamp(24px, 2.6vw, 30px) 16px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.inv-page .market:hover { transform: translateY(-5px); border-color: var(--orange-line); box-shadow: var(--shadow-card); }
.inv-page .market .ic {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--orange-soft); border: 1px solid var(--orange-line);
}
.inv-page .market .ic svg { width: 24px; height: 24px; }
.inv-page .market h3 { font-size: 1rem; }

/* Category statement: plain text -> focal band with a mark */
.inv-page .statement { position: relative; }
.inv-page .statement::before {
  content: "\2726"; display: block; color: var(--orange-bright);
  font-size: 1.15rem; margin: 0 auto clamp(14px, 1.8vw, 22px); opacity: .9;
}
.inv-page .statement-sub { font-size: 1.12rem; }

/* Flywheel: list -> compounding ladder, accent intensifies toward the payoff */
.inv-page .flywheel .link {
  position: relative; overflow: hidden;
  background: var(--panel-strong); border: 1px solid var(--card-border-warm);
  padding-left: clamp(18px, 2vw, 26px);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.inv-page .flywheel .link::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--orange), var(--orange-bright));
  opacity: calc(0.28 + var(--i, 0) * 0.18);
}
.inv-page .flywheel .link:hover { transform: translateX(5px); border-color: var(--orange-line); }
.inv-page .flywheel .link .n {
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  color: #fff; border: none;
}
.inv-page .flywheel .link:last-child {
  background: linear-gradient(90deg, var(--orange-soft), var(--panel-strong));
  border-color: var(--orange-line); font-weight: 600; color: var(--text-1);
}

/* Revenue paths: cards -> numbered badge cards that lift */
.inv-page .paths { gap: 18px; }
.inv-page .path {
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.inv-page .path:hover { transform: translateY(-4px); border-color: var(--orange-line); box-shadow: var(--shadow-card); }
.inv-page .path .p-n {
  display: inline-block; background: var(--orange-soft); border: 1px solid var(--orange-line);
  color: var(--orange-bright); border-radius: var(--r-pill);
  padding: 3px 11px; font-size: 0.72rem; letter-spacing: 0.02em; margin-bottom: 12px;
}

/* Founder: soft quote mark on the pullquote */
.inv-page .founder-pullquote::before {
  content: "\201C"; display: block; color: var(--orange-bright);
  font-size: 2.4rem; line-height: 0; margin: 6px 0 2px; font-family: Georgia, serif;
}

/* Opportunity panels: subtle lift on hover */
.inv-page .grid-2 .panel {
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.inv-page .grid-2 .panel:hover { transform: translateY(-3px); border-color: var(--orange-line); box-shadow: var(--shadow-card); }

/* On-brand check icons — orange, not green (sitewide) */
.check.yes .mk { background: var(--orange-soft); border: 1px solid var(--orange-line); color: var(--orange-bright); }

/* Investors: widen centered section heads a touch */
.maxw-wide { max-width: 900px; }
.inv-page .section-head.center { max-width: 900px; }

/* Investors revenue paths: big ghost numerals for visual power */
.inv-page .path { position: relative; overflow: hidden; }
.inv-page .path-fig {
  position: absolute; top: -10px; right: 8px; font-size: clamp(3.4rem, 5vw, 4.8rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: transparent;
  -webkit-text-stroke: 1.4px rgba(240,116,59,0.22); pointer-events: none; user-select: none; z-index: 0;
}
.inv-page .path .p-n, .inv-page .path h3, .inv-page .path p { position: relative; z-index: 1; }

/* ---- Release: "what you get" vs "honest notes" as two accented panels ---- */
.join-notes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.2vw, 26px); align-items: start; }
@media (max-width: 760px) { .join-notes { grid-template-columns: 1fr; } }
.jn-card {
  position: relative; overflow: hidden;
  background: var(--panel-strong); border: 1px solid var(--card-border-warm);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.jn-card > * { position: relative; z-index: 1; }
.jn-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.jn-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.jn-card::after {
  content: ""; position: absolute; top: -42%; right: -22%; width: 58%; aspect-ratio: 1;
  filter: blur(20px); pointer-events: none; opacity: .55;
}
.jn-good::before { background: linear-gradient(90deg, var(--orange), var(--orange-bright)); }
.jn-good::after  { background: radial-gradient(circle, rgba(var(--accent-rgb), 0.22), transparent 70%); }
.jn-good:hover   { border-color: var(--orange-line); }
.jn-note::before { background: linear-gradient(90deg, var(--warn), #f0c877); }
.jn-note::after  { background: radial-gradient(circle, rgba(224,160,60,0.18), transparent 70%); }
.jn-note:hover   { border-color: rgba(224,160,60,0.45); }
.jn-card h2 { margin: 12px 0 20px; font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.15; }
.jn-card .checks { gap: 14px; }
.jn-card .check { align-items: flex-start; }

/* ============================================================
   Sitewide polish pass — consistent hover, accents, chips, strips
   ============================================================ */

/* Trust strips: pill badges everywhere (match investors) */
.tile-strip { gap: 12px 14px; }
.tile-strip > span {
  color: var(--text-2); font-weight: 600; font-size: 0.9rem;
  background: var(--panel-strong); border: 1px solid var(--card-border-warm);
  border-radius: var(--r-pill); padding: 9px 16px;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.tile-strip > span:hover { transform: translateY(-2px); border-color: var(--orange-line); }
.tile-strip .dot { color: var(--orange-bright); }

/* Category chips: stylized pill + hover everywhere */
.comm-chips span {
  background: var(--panel-strong); border: 1px solid var(--card-border-warm);
  color: var(--text-2); font-weight: 500; font-size: 0.9rem; border-radius: var(--r-pill);
  padding: 9px 15px; display: inline-flex; align-items: center; gap: 7px;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.comm-chips span::before { content: "✦"; color: var(--orange-bright); font-size: 0.7rem; }
.comm-chips span:hover { transform: translateY(-2px); border-color: var(--orange-line); }

/* "Built differently" cards: accent bar + glow + hover */
.bd-card { position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.bd-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); }
.bd-card::after { content: ""; position: absolute; top: -42%; right: -22%; width: 56%; aspect-ratio: 1; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.16), transparent 70%); filter: blur(18px); pointer-events: none; }
.bd-card > * { position: relative; z-index: 1; }
.bd-card:hover { transform: translateY(-3px); border-color: var(--orange-line); box-shadow: var(--shadow-card); }

/* Features roadmap phases: accent bar + hover (like stat cards) */
.phase { position: relative; overflow: hidden; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.phase::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); opacity: .75; }
.phase:hover { transform: translateY(-4px); border-color: var(--orange-line); box-shadow: var(--shadow-card); }

/* Big content images lift on hover (feature modules + resource panels) */
.frow-media { transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.frow-media:hover { transform: translateY(-3px); border-color: var(--orange-line); box-shadow: var(--shadow-card); }
.ed-panel .photo-frame { transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.ed-panel:hover .photo-frame { border-color: var(--orange-line); box-shadow: var(--shadow-card); }

/* Floating overlay cards: subtle lift */
.ed-float { transition: transform .2s var(--ease), border-color .2s var(--ease); }
.ed-float:hover { transform: translateY(-3px); border-color: var(--orange-line); }

/* Editorial panel headings: one consistent size sitewide */
.ed-copy h3 { font-size: clamp(1.6rem, 2.9vw, 2.25rem); }

/* Founder portrait: warm scrim + a floating credential pill (match image rhythm) */
.founder-photo { position: relative; }
.founder-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(to top, rgba(10,8,7,0.55), transparent 46%); }
.founder-photo .vv-label { position: absolute; transform: none; z-index: 2; }
.founder-photo .vv-label.vv-bl { bottom: 7%; left: 7%; }

/* ---- Features "And more" grid — more life (accent bar, glow, animated icon) ---- */
.more-grid { gap: clamp(16px, 2vw, 22px); }
.more-grid .card { position: relative; overflow: hidden; transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease); }
.more-grid .card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); opacity: .7; transition: opacity .3s var(--ease); }
.more-grid .card::after { content: ""; position: absolute; top: -42%; right: -25%; width: 62%; aspect-ratio: 1; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.22), transparent 70%); filter: blur(20px); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.more-grid .card > * { position: relative; z-index: 1; }
.more-grid .card:hover { transform: translateY(-6px); border-color: var(--orange-line); box-shadow: var(--shadow-card); background: var(--panel-strong); }
.more-grid .card:hover::before { opacity: 1; }
.more-grid .card:hover::after { opacity: 1; }
.more-grid .card h3 { transition: color .25s var(--ease); }
.more-grid .card:hover h3 { color: var(--orange-bright); }
.more-grid .card .ic { transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), color .28s var(--ease); }
.more-grid .card:hover .ic { transform: translateY(-2px) scale(1.06); background: linear-gradient(135deg, var(--orange), var(--orange-bright)); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.35); }

/* ---- Roadmap phases — more life (glow, title color, stronger lift) ---- */
.phase > * { position: relative; z-index: 1; }
.phase::after { content: ""; position: absolute; top: -40%; right: -24%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.20), transparent 70%); filter: blur(20px); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.phase:hover { transform: translateY(-6px); background: var(--panel-strong); }
.phase:hover::before { opacity: 1; }
.phase:hover::after { opacity: 1; }
.phase h3 { transition: color .25s var(--ease); }
.phase:hover h3 { color: var(--orange-bright); }

/* And more — more resting life (filled icon badges, faint always-on glow) */
.more-grid .card::after { opacity: .32; }
.more-grid .card .ic { background: linear-gradient(135deg, var(--orange), var(--orange-bright)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.28); }
.more-grid .card:hover .ic { transform: translateY(-2px) scale(1.08); box-shadow: 0 10px 24px rgba(var(--accent-rgb), 0.42); }

/* Focus separation on filled orange buttons (WCAG non-text contrast) */
.btn-primary:focus-visible, .nav-links a.btn-primary:focus-visible { box-shadow: 0 0 0 2px var(--bg-0), var(--shadow-glow); }
/* Mobile tap targets */
/* (mobile footer link spacing is set in the tight-footer block above) */
.comm-ic { border-radius: 13px !important; }
.inv-page .market .ic { border-radius: 13px; }

/* Gentle inline form error (not alarming) */
.field-error { color: var(--warn); font-size: 0.84rem; margin-top: 4px; }

/* ---- Journal category filter tabs ---- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(26px, 3.5vw, 42px); }
.filter {
  font: inherit; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 9px 17px; border-radius: var(--r-pill); cursor: pointer;
  background: var(--panel-strong); border: 1px solid var(--card-border-warm); color: var(--text-2);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.filter:hover { color: var(--text-1); border-color: var(--orange-line); transform: translateY(-2px); }
.filter.active { background: linear-gradient(180deg, var(--orange-bright), var(--orange)); border-color: transparent; color: var(--text-on-orange); }
.filter .fcount { opacity: 0.5; font-weight: 700; font-size: 0.9em; margin-left: 3px; }
.filter.active .fcount { opacity: 0.85; }
.filter:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 2px; }
.post-card.hide { display: none; }
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
}

/* ---- Graphic pills: unify to the homepage icon-card style, overlapping the image edge ---- */
.vv-photo { overflow: visible; }
.vv-photo img { border-radius: var(--r-xl); }
.vv-photo::after { border-radius: var(--r-xl); }
.founder-photo { overflow: visible; }
.founder-photo img { border-radius: var(--r-lg); }
.founder-photo::after { border-radius: var(--r-lg); }
/* Let pill titles wrap so content is always contained; give them a touch more room */
.vv-photo .ed-resource, .founder-photo .ed-resource { max-width: min(80%, 260px); }
.vv-photo .ed-resource b, .founder-photo .ed-resource b { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .vv-photo .ed-float, .founder-photo .ed-float { display: none; }
}

/* ============================================================
   MOBILE AUDIT PASS — 2026-07-20
   Appended last so it wins the cascade. Fixes horizontal overflow
   (the real "looks bad"), then: CTAs full-width at section bottoms,
   content centered, crisp + balanced.
   ============================================================ */

/* (body already sets overflow-x:hidden at the top of this file, so the page
   can't scroll sideways once the root-cause overflow below is contained.) */

@media (max-width: 760px) {
  /* --- 1. Root-cause overflow fix -----------------------------------
     The 2-col grids collapse to 1 col, but their items kept the default
     min-width:auto, so each 1fr track (= minmax(auto,1fr)) ballooned to
     fit wide children (horizontal scroll-rows, images), pushing the page
     to ~985px on a 375px screen. Letting grid/flex items shrink below
     their content's min-content width contains everything. */
  main .problem-split > *, main .problem-grid > *, main .showcase > *,
  main .dual-tiles > *, main .tour > *, main .release-grid > *,
  main .vision-hero > *, main .community > *, main .frow > *,
  main .ed-panel > *, main .blog-hero > *, main .split > *,
  main .founder > *, main .hero-grid > *, main .markets > *,
  main .model > *, main .stats-grid > *, main .stat-cards > * { min-width: 0; }

  /* Media never exceeds its column. */
  main img, main svg, main video { max-width: 100%; }
  main .photo-frame, main .ed-media, main .frow-media,
  main .showcase-media, main .vision-visual, main .info-media { max-width: 100%; }

  /* --- 2. CTAs: full-width, centered, at the bottom of the section ---
     Large CTAs (.btn-lg) are the section actions; make every one span its
     column and wrap its label instead of forcing the column wider. */
  main .hero-cta, main .hero-banner-cta {
    flex-direction: column; align-items: stretch; width: 100%;
  }
  /* Every section CTA spans its column; labels wrap rather than overflow. */
  main .btn-lg, main .btn-primary, main .btn-ghost { width: 100%; }
  main .btn { max-width: 100%; white-space: normal; }

  /* Lead with the visual so the copy + its CTA read as the section's end. */
  main .vision-hero .vision-visual,
  main .hero-grid .hero-visual { order: -1; }

  /* --- 3. Centered & balanced ---------------------------------------- */
  main .tile-strip > span { justify-content: center; text-align: center; }
  main .cost-chips, main .comm-chips { justify-content: flex-start; }

  /* Release hero: center the copy to match every other page,
     but keep the form fields left-aligned for legibility. */
  main .release-copy { text-align: center; }
  main .release-copy .beta-cluster { justify-content: center; }
  main .release-copy .beta-form-panel { text-align: left; }

  /* Journal filters: wrap & center so every category is visible and tappable,
     instead of a horizontal scroll row that hides the last few behind a swipe. */
  main .filters {
    flex-wrap: wrap; overflow-x: visible; justify-content: center;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* ============================================================
   Mobile: PHOTO CALLOUT pills rotate one at a time (fade loop). JS (site.js)
   wraps a photo's .ed-float pills in .pill-rotator and cycles an .is-shown class.
   Off mobile the wrapper is display:contents, so the callouts still float over
   the image (abs-pos resolves to .ed-media/.showcase-media). (Chip/tag rows use
   the marquee below instead.)
   ============================================================ */
.pill-rotator { display: contents; }

@media (max-width: 760px) {
  /* Photo callout groups: one pill at a time, so drop the tall stack padding. */
  .ed-media[data-rotator], .showcase-media[data-rotator] { padding-bottom: 0; }
  .ed-media .pill-rotator, .showcase-media .pill-rotator { margin: 14px 10px 0; }

  /* All pills share one grid cell (cell = tallest pill), centered. */
  .pill-rotator { display: grid; justify-items: center; align-items: start; }
  .pill-rotator > * {
    grid-area: 1 / 1; margin: 0; max-width: 100%; position: static;
    opacity: 0; transform: translateY(9px); pointer-events: none;
    transition: opacity .32s var(--ease), transform .32s var(--ease);
    transition-delay: 0s;
  }
  /* Photo callout pills fill the width; chip/tag pills keep their natural width. */
  .ed-media .pill-rotator > .ed-float,
  .showcase-media .pill-rotator > .ed-float { width: 100%; }
  /* The outgoing pill fades fully out, THEN the incoming fades in — no overlap. */
  .pill-rotator > .is-shown {
    opacity: 1; transform: none; pointer-events: auto; transition-delay: .36s;
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  /* No motion: show the pills as a simple centered stack instead of rotating. */
  .pill-rotator { display: block; }
  .pill-rotator > * { position: static; margin: 0 auto 10px; opacity: 1; transform: none; }
  .ed-media .pill-rotator > .ed-float,
  .showcase-media .pill-rotator > .ed-float { width: 100%; }
}

/* ============================================================
   Mobile: chip / tag rows (.cost-chips / .comm-chips / .fragments) scroll as a
   seamless marquee. JS wraps the chips in a .chip-track and appends an identical
   .chip-track--clone; two tracks translating -100% loop with no gap. Off mobile
   the .chip-track is display:contents so the chips wrap exactly as before.
   ============================================================ */
.chip-track { display: contents; }
.chip-track--clone { display: none; }

@media (max-width: 760px) {
  .cost-chips[data-marquee], .comm-chips[data-marquee], .fragments[data-marquee] {
    display: flex; flex-wrap: nowrap; overflow: hidden; justify-content: flex-start;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
  [data-marquee] .chip-track {
    display: flex; flex: 0 0 auto; gap: 8px; padding-right: 8px;
    animation: chip-marquee 26s linear infinite; will-change: transform;
  }
  [data-marquee] .chip-track--clone { display: flex; }
  [data-marquee]:hover .chip-track, [data-marquee]:active .chip-track { animation-play-state: paused; }
}
@keyframes chip-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  [data-marquee] .chip-track { animation: none; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .cost-chips[data-marquee], .comm-chips[data-marquee], .fragments[data-marquee] { overflow-x: auto; }
}

/* Phone-tour: lead with the heading + feature list, phone below, CTA at the
   very bottom of the section on mobile (the "Explore all features" button
   lives inside .phone-col, after the phone). */
@media (max-width: 860px) {
  .tour .tour-right { order: -1; }
}

/* ============================================================
   Mobile: reshape the desktop app preview (browser chrome + left sidebar)
   into a single-column mobile app card — the sidebar becomes a bottom tab bar
   so the main panel gets the full width (no more crushed / wrapping content).
   ============================================================ */
@media (max-width: 760px) {
  .appwin { aspect-ratio: 2 / 3; }
  .appwin-bar .addr { max-width: none; }
  /* Slightly tighten the screen internals so even the busiest screen fits above
     the tab bar without leaving the lighter screens empty. */
  .appwin-screen .aw-flow, .appwin-screen .aw-row,
  .appwin-screen .aw-cards, .appwin-screen .aw-tasks,
  .appwin-screen .aw-week { margin-top: 10px; }
  /* Main panel on top (full width); the rail drops to the bottom as a tab bar. */
  .appwin-body {
    grid-template-columns: 1fr; grid-template-rows: 1fr auto; height: calc(100% - 32px);
  }
  .appwin-right { order: 1; min-height: 0; }
  .appwin-rail {
    order: 2; flex-direction: row; align-items: center; justify-content: space-around;
    border-right: 0; border-top: 1px solid var(--hairline); padding: 5px 4px;
    background: rgba(255,255,255,0.02); overflow: hidden;
  }
  .appwin-rail .brandmark, .appwin-rail .rail-label, .rail-relief { display: none; }
  .appwin-nav { flex-direction: row; width: 100%; justify-content: space-around; gap: 2px; }
  .appwin-nav .n {
    flex: 1; min-width: 0; flex-direction: column; gap: 3px; justify-content: center;
    text-align: center; padding: 4px 2px; font-size: 8px; line-height: 1.1;
  }
  .appwin-nav .n .ic { width: 16px; height: 16px; }
  .appwin-nav .n .ic svg { width: 15px; height: 15px; }
  .appwin-screen { padding: 16px 16px; }
}

/* Bulleted feature lists (roadmap phases + feature-module lists) keep a ✦ pinned
   at the left, so left-align them on mobile — centering strands the bullet away
   from its text. */
@media (max-width: 700px) {
  main .tile .roadmap ul, main .tile .roadmap li,
  main .tile .frow ul, main .tile .frow li { text-align: left; }

  /* Founder photo sits within the tile with even padding on every side (the tile
     padding frames the top/left/right; the gap below matches it). */
  main .founder-photo { max-width: none; width: 100%; margin-inline: 0; }
  /* Justify the story paragraphs (flush both edges); hyphenate so the narrow
     column doesn't open up big word-gaps. Keep the header + pull-quote centered. */
  main .founder-copy p:not(.founder-pullquote) {
    text-align: justify; -webkit-hyphens: auto; hyphens: auto;
  }
  main .founder-copy p:not(.founder-pullquote) + p:not(.founder-pullquote) { margin-top: 16px; }
  /* The pullquote's left bar strands away from centered copy — make it a clean
     centered pull-quote with a touch more breathing room. */
  main .founder-pullquote {
    border-left: 0; padding-left: 0; text-align: center;
    max-width: 32ch; margin: 28px auto 0;
  }
  main .founder-copy .sig { margin-top: 20px; }
  /* Gap below the photo matches the tile padding so the frame around it is even. */
  main .founder { gap: clamp(28px, 4.4vw, 50px); }

  /* Manifesto tile: anchor the background image to the left on mobile. */
  .manifesto-bg { object-position: left center; }
}
