/* DIYZIGN investor site — static template
   Edit colors & spacing in :root below */

:root{
  --bg: #0b0f1a;
  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.09);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);
  --faint: rgba(255,255,255,0.52);
  --border: rgba(255,255,255,0.12);
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --accent: #7c5cff;
  --accent-2: #28d7ff;
  --radius: 18px;
  --radius-sm: 14px;
  --max: 1120px;
  --pad: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(124,92,255,0.45), transparent 60%),
    radial-gradient(1200px 700px at 90% 10%, rgba(40,215,255,0.28), transparent 55%),
    radial-gradient(900px 600px at 60% 110%, rgba(124,92,255,0.25), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }
strong{ font-weight: 700; }
.mono{ font-family: var(--mono); }

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Let the fixed page background show through cleanly */
body[data-base="../"] .hero,
body[data-base="../"] .section{
  background: transparent;
}

/* If you still want alt sections to feel slightly different, use a subtle tint */
body[data-base="../"] .section.alt{
  background: rgba(255,255,255,0.02);
}

/* Only affect the three cards under "Where We Are Now" */
#traction .gtm-subhead + .grid-3 strong,
#traction .gtm-subhead + .grid-3 b{
  color: rgba(255,255,255,0.92);
  font-weight: 900;
}

/* Investor pages: lock the background gradient so it does NOT move on scroll */
body[data-base="../"]{
  /* create a stacking context so our fixed ::before can sit behind content */
  position: relative;
  z-index: 0;

  /* ensure the scrolling background doesn't interfere */
  background: transparent !important;
}

/* Hero panel: video fills the “window” area */
.panel-body--video{
  padding: 12px;           /* small frame padding, adjust if you want */
}

/* Match your video’s aspect ratio so it fills without cropping */
.mock-screen.mock-video{
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #000;

  /* Your video is ~86:39 (very wide). This prevents cropping. */
  aspect-ratio: 86 / 39;
}

.hero h1{
  font-size: clamp(2.0rem, 2.7vw, 3.0rem);
  line-height: 1.02;
}

.mock-screen.mock-video .demo-video{
  width: 100%;
  height: 100%;
  display: block;

  /* KEY: show the whole logo (no cropping) */
  object-fit: contain;

  background: #000;
  border-radius: 16px;
}
/* Put the two status pills side-by-side under the demo video */
.panel-micro{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  padding: 0 12px;
}

.panel-micro .pill{
  width: 100%;
  text-align: center;
}

/* On small screens, stack them */
@media (max-width: 560px){
  .panel-micro{
    grid-template-columns: 1fr;
  }
}

/* Buttons under the demo video card */
.panel-actions{
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: center;  /* centered under the card */
  flex-wrap: wrap;
}

/* Optional: tighten spacing so it feels “built-in” */
.panel-body--video{
  padding-bottom: 14px;
}

/* Fixed gradient layer (stationary while scrolling) */
body[data-base="../"]::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  /* your “fade” — tweak colors/positions if you want */
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(124,92,255,0.28), transparent 60%),
    radial-gradient(1200px 700px at 85% 35%, rgba(40,215,255,0.18), transparent 60%),
    radial-gradient(1000px 600px at 50% 95%, rgba(255,77,159,0.10), transparent 60%),
    #0b0f1a;
}

/* Overview cards: make bold labels white + heavy like Product Features */
#overview .overview-grid strong,
#overview .overview-grid b{
  color: rgba(255,255,255,0.92);
  font-weight: 900;
}

/* Demo video inside the hero panel */
.mock-video{
  padding: 0;                 /* remove inner padding so video fills */
  overflow: hidden;
  border-radius: inherit;
}

.demo-video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;          /* nice crop if container is taller */
  border-radius: inherit;
}

/* Optional: keep a clean video shape */
.mock-video{
  aspect-ratio: 16 / 9;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
  width:auto;
  height:auto;
  padding: 10px 12px;
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 9999;
}

        /* Hero pills: bigger + bold + white */
        .hero .micro .pill{
          font-size: 14px;            /* bump size */
          font-weight: 900;           /* bold */
          color: rgba(255,255,255,0.95);
          padding: 10px 14px;         /* slightly larger pill */
          border-color: rgba(255,255,255,0.22);
        }
        
        /* If you want "Patents Pending" not italic anymore, remove the <em> tag.
           If you want it italic BUT still bold/white, keep it and ensure it inherits: */
        .hero .micro .pill em{
          font-style: italic;
          font-weight: 900;
          color: inherit;
        }

.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(11,15,26,0.85), rgba(11,15,26,0.35));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  height: 72px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand-mark{
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 40px rgba(124,92,255,0.45);
}
.brand-name{ font-weight: 750; letter-spacing: 0.3px; }
.brand-sub{
  font-size: 12px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

/* Platform cards: make bold labels white + heavy */
#platform .list strong,
#platform .list b{
  color: rgba(255,255,255,0.92);
  font-weight: 900;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}
.nav a{ color: var(--muted); }
.nav a:hover{ color: var(--text); text-decoration:none; }
.nav-cta{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.nav-toggle span{
  display:block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}

.hero{
  padding: 84px 0 48px;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero-loop{
  display: block;
  width: 63.25%;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}


.eyebrow{
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
h1{
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.05;
  margin: 0 0 14px;
}
.lead{
  font-size: 16px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 22px;
}

.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
  box-shadow: none;
  text-decoration:none;
}
.button:hover{
  text-decoration:none;
  background: rgba(255,255,255,0.08);
}
.button.primary{
  background: linear-gradient(135deg, rgba(124,92,255,0.95), rgba(40,215,255,0.65));
  border-color: rgba(255,255,255,0.14);
}
.button.small{ padding: 10px 12px; border-radius: 12px; font-size: 13px; }

.pill{
  display:inline-block;
  margin: 8px 8px 0 0;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.16);
  color: var(--muted);
  font-size: 12px;
}

.hero-panel .panel-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel-top{
  display:flex;
  gap: 8px;
  align-items:center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.panel-title{
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.panel-body{ padding: 14px; }
.mock-row{ display:flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.mock-chip{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  background: rgba(0,0,0,0.12);
}
.mock-screen{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 18px;
  min-height: 180px;
  background:
    radial-gradient(900px 260px at 20% 10%, rgba(124,92,255,0.25), transparent 55%),
    radial-gradient(900px 260px at 80% 90%, rgba(40,215,255,0.18), transparent 55%),
    rgba(255,255,255,0.03);
}
.mock-title{ margin: 0 0 6px; font-weight: 750; }
.mock-sub{ margin: 0; color: var(--muted); font-size: 13px; }

.mock-stat{
  flex: 1;
  min-width: 110px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 10px 12px;
}
.mock-stat-k{ font-size: 11px; color: var(--muted); }
.mock-stat-v{ font-size: 16px; font-weight: 800; }

.caption{
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.section{
  padding: 56px 0;
}
.section.alt{
  background: linear-gradient(to bottom, rgba(255,255,255,0.035), transparent 30%, transparent 70%, rgba(255,255,255,0.03));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-head{
  display:flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2{
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.2px;
}
.muted{ color: var(--muted); }
.hint{ color: var(--faint); font-size: 12px; margin-top: 10px; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.contact-single{
  max-width: 640px;
  margin: 0 auto;
}
.card{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 16px;
}
.card h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.card p{ margin: 0 0 10px; color: var(--muted); }
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 6px 0; }

.callout{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(40,215,255,0.06));
}
.callout h3{ margin: 0 0 6px; }
.callout p{ margin: 0; }

.split{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
}
.steps{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.steps li{ margin: 8px 0; }
.quote{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 16px;
  background: rgba(0,0,0,0.14);
}
.quote-text{ margin:0 0 10px; font-size: 16px; color: rgba(255,255,255,0.88); }
.quote-meta{ margin: 0; font-size: 12px; color: var(--muted); }

.metrics{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.metric-k{ font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.metric-v{ font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.metric-n{ font-size: 12px; color: var(--faint); margin-top: 6px; }

.team{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.person{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.avatar{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(40,215,255,0.12));
  font-weight: 850;
}
.person-name{ margin: 0; }
.person-role{ margin: 4px 0 8px; color: var(--faint); font-size: 12px; }
.person-bio{ margin: 0; color: var(--muted); }

/* Go-to-Market card */
.gtm-card{
  padding: 18px;
}

.gtm-top{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
}

.gtm-visual{
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.14);
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gtm-visual-inner{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(124,92,255,0.20), transparent 60%),
    radial-gradient(700px 300px at 80% 100%, rgba(40,215,255,0.16), transparent 60%),
    rgba(0,0,0,0.10);
}

.gtm-acquire h3,
.gtm-convert h3{
  margin: 0 0 12px;
}

.gtm-cols{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gtm-item{
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.14);
}

.gtm-item h4{
  margin: 0 0 6px;
  font-size: 15px;
}

.gtm-item p{
  margin: 0;
  line-height: 1.55;
}

.gtm-convert{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.gtm-steps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gtm-step{
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.14);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.gtm-step-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  flex: 0 0 auto;
}

.gtm-step-title{
  font-weight: 900;
  margin-bottom: 4px;
}

.gtm-step-body p{
  margin: 0;
}

/* Acquisition cards use the same layout as conversion cards */
.gtm-steps-acquire{
  margin-top: 12px;
}

/* Founder section */
.founder{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
}

.founder-portrait{
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-portrait span{
  color: var(--faint);
  font-size: 12px;
}

.founder-portrait img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-name{
  margin: 0 0 10px;
}

.founder-caption{
  color: var(--muted);
  line-height: 1.65;
}

.founder-caption p{
  margin: 0 0 12px;
}

.founder-caption p:last-child{
  margin-bottom: 0;
}

.row{ display:flex; gap: 10px; flex-wrap: wrap; }

.note{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  color: var(--muted);
  font-size: 13px;
}

.form label{
  display:block;
  margin-bottom: 10px;
}
.form span{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.form input, .form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  font-family: var(--font);
}
.form input::placeholder, .form textarea::placeholder{ color: rgba(255,255,255,0.38); }
.form input:focus, .form textarea:focus{
  outline: none;
  border-color: rgba(124,92,255,0.7);
  box-shadow: 0 0 0 4px rgba(124,92,255,0.16);
}
.form .hint{ margin: 12px 0 0; }

.footer{
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.footer a{ color: var(--muted); }
.footer a:hover{ color: var(--text); text-decoration:none; }

/* Unified Business Model Card */
.model-card{
  padding: 18px;
}

.model-revenue{
  margin-top: 8px;
}

.tile{
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.14);
  height: 100%;
}

.model-footnote{
  margin-top: 14px;
}

.model-lower{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.model-subhead{
  margin: 0 0 12px;
}

/* GTM subhead styling to match other headings */
.gtm-subhead{
  margin: 18px 0 12px;
}

/* Advantage tiles match the “fund tiles” feel */
.adv-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.adv-tile{
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.14);
  height: 100%;
}

.adv-tile h4{
  margin: 0 0 8px;
  font-size: 16px;
}

.adv-tile p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.span-2{
  grid-column: 1 / -1;
}

/* subtle tints so they feel “designed” but still uniform */
.adv-tile.a1{
  border-color: rgba(40,215,255,0.22);
  background: rgba(40,215,255,0.08);
}
.adv-tile.a2{
  border-color: rgba(124,92,255,0.22);
  background: rgba(124,92,255,0.08);
}
.adv-tile.a3{
  border-color: rgba(255,77,159,0.20);
  background: rgba(255,77,159,0.08);
}

.adv-quote{
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.14);
}

.adv-quote p{
  margin: 0;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
}
/* Full-width quote inside the Business model card (polished) */
.model-wide-quote{
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);

  /* subtle “premium” glow without looking neon */
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(900px 420px at 85% 100%, rgba(40,215,255,0.14), transparent 60%),
    rgba(0,0,0,0.16);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.model-wide-quote p{
  margin: 0;
  font-weight: 900;
  color: rgba(255,255,255,0.94);
  line-height: 1.55;

  /* slightly larger, responsive type */
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: -0.01em;

  /* makes it feel like a “statement” */
  text-align: center;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

/* Business model intro text inside the unified card */
.model-intro{
  margin: 4px 0 14px;
  padding: 0 2px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  display: grid;
  gap: 10px;
}

.model-intro p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Business model additions */
.model-footnote{ margin-top: 14px; }

.advantages{ margin-top: 12px; }
.span-2{ grid-column: 1 / -1; }

.adv.a1{
  background: rgba(40,215,255,0.10);
  border-color: rgba(40,215,255,0.24);
}
.adv.a2{
  background: rgba(124,92,255,0.14);
  border-color: rgba(124,92,255,0.28);
}
.adv.a3{
  background: rgba(255,77,159,0.14);
  border-color: rgba(255,77,159,0.26);
}

.adv h4{ margin: 0 0 8px; font-size: 16px; }
.adv p{ margin: 0; color: rgba(255,255,255,0.88); }

.funds-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.fund-item{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.14);
}

.ring{
  --p: 50;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-2) calc(var(--p)*1%), rgba(255,255,255,0.12) 0);
  position: relative;
  flex: 0 0 auto;
}
.ring::before{
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: rgba(11,15,26,0.85);
  border: 1px solid rgba(255,255,255,0.10);
}
.ring span{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
}

.fund-title{ font-weight: 800; }
.fund-desc{ margin-top: 4px; font-size: 12px; color: var(--muted); }

.model-quote{ margin-top: 14px; }

/* Overview: make cards in each row match height */
.overview-grid{
  align-items: stretch;
}
.overview-grid > .card{
  height: 100%;
}

/* Product Features list (Overview card) */
/* Product Features list (compact to match Market card height) */
.feature-steps{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;

  display: grid;

  /* two columns on desktop */
  grid-template-columns: repeat(2, minmax(0, 1fr));

  /* puts 01–03 in left column, 04–05 in right column */
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;

  gap: 10px 18px;
}

/* Product Features list (2x2 grid) */
.feature-steps{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;          /* ensures 1,2 on top row; 3,4 on bottom */
  gap: 16px 18px;
}

.feature-steps li{
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;

  padding: 0;
  border: 0;
}

.step-num{
  font-weight: 900;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.02em;
}

.step-title{
  display: inline;
  font-weight: 900;
  margin: 0;
}
.step-title::after{
  content: ": ";
}

.feature-steps li .muted{
  display: inline;
  line-height: 1.45;
}

/* --- Hero demo video panel --- */
.panel-body--video {
  /* optional: reduce padding so video feels larger */
  padding: 12px;
}

.mock-screen.mock-video {
  padding: 0;               /* override mock-screen padding */
  background: #000;         /* black bars if needed */
  overflow: hidden;
  border-radius: 16px;

  /* Match your video’s wide aspect ratio (86:39) so it doesn’t crop */
  aspect-ratio: 86 / 39;
}

.mock-screen.mock-video .demo-video {
  width: 100%;
  height: 100%;
  display: block;

  /* KEY: prevents the logo from being cut off */
  object-fit: contain;

  background: #000;
  border-radius: 16px;
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .gtm-top{ grid-template-columns: 1fr; }
  .gtm-cols{ grid-template-columns: 1fr; }
  .gtm-steps{ grid-template-columns: 1fr; }
  .metrics{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .funds-grid{ grid-template-columns: 1fr; }
  .span-2{ grid-column: auto; }
  .fund-item{ align-items: flex-start; }
  .team{ grid-template-columns: 1fr; }
  .founder{ grid-template-columns: 1fr; }
  .founder-portrait{ max-width: 340px; }
  .section-head{ flex-direction: column; align-items:flex-start; }
     .feature-steps{
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
   .feature-steps{
    grid-template-columns: 1fr;
  }
  .nav{
    position: fixed;
    inset: 72px 12px auto 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(11,15,26,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav a{ padding: 10px 10px; border-radius: 12px; }
  .nav a:hover{ background: rgba(255,255,255,0.06); }
  .nav.open{ display:flex; }
  .nav-toggle{ display:block; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
}

/* Solid black background for the gateway home page only */
body[data-base=""]{
  background: #000;
}

/* ------------------------------
   Gateway (home)
-------------------------------- */
.gateway{
  min-height: 100vh;
  display: grid;
  place-items: center;
  /* smaller top padding + larger bottom padding shifts content upward */
  padding: 24px var(--pad) 120px;
}

.gateway-inner{
  width: 100%;
  max-width: 860px;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: left;
}

.gateway-logo{
  width: min(740px, 88vw);
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}

.gateway-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.gateway-footnote{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 58ch;
}

/* ------------------------------
   Modal (beta)
-------------------------------- */
.modal[hidden]{
  display: none !important;
}

.modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 1000;
}

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.modal-dialog{
  position: relative;
  width: min(860px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.modal-x{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.modal-x:hover{ background: rgba(255,255,255,0.08); }

.modal-lead{ color: var(--muted); margin-top: 6px; }

.modal-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

.modal-grid h3{ margin: 0 0 8px; font-size: 14px; letter-spacing: 0.2px; }

.modal-grid ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.modal-grid li{ margin: 8px 0; }

.modal-callout{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(124,92,255,0.25);
  border-radius: 14px;
}

.modal-form{
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.check{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}

.check input{ margin-top: 4px; }

.field{
  display: grid;
  gap: 8px;
}

.field span:first-child{ font-size: 13px; color: var(--muted); }

.field input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  outline: none;
}

.field input:focus{
  border-color: rgba(40,215,255,0.55);
  box-shadow: 0 0 0 4px rgba(40,215,255,0.12);
}

.hint{ font-size: 12px; color: var(--faint); }

.form-errors{
  min-height: 18px;
  font-size: 13px;
  color: #ffd6d6;
}

.form-status{
  min-height: 18px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.form-status.is-error{ color: #ffd6d6; }
.form-status.is-success{ color: #b8f5cf; }

.modal-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fineprint{
  margin: 0;
  font-size: 12px;
  color: var(--faint);
}

@media (max-width: 760px){
  .modal-dialog{ padding: 18px; }
  .modal-grid{ grid-template-columns: 1fr; }
  .modal-actions{ justify-content: stretch; }
  .modal-actions .button{ width: 100%; justify-content: center; }
}
