/* MultiMind Fund landing
   Brand tokens and self-hosted Bodoni Moda + Manrope from the MultiMind
   palette used in the KOP builds (multimind.us assets). */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/bodoni-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/bodoni-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/bodoni-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/bodoni-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: 215 42% 6%;
  --foreground: 48 42% 93%;
  --card: 214 34% 9%;
  --primary: 196 62% 57%;
  --primary-foreground: 215 42% 6%;
  --secondary: 213 25% 15%;
  --muted: 214 22% 14%;
  --muted-foreground: 207 14% 66%;
  --accent: 188 71% 68%;
  --border: 207 24% 23%;
  --radius: 1rem;

  --bg: hsl(var(--background));
  --bg-theme: #07101b;
  --fg: hsl(var(--foreground));
  --card-bg: hsl(var(--card));
  --cyan: hsl(var(--primary));
  --cyan-soft: hsl(var(--accent));
  --ink: hsl(var(--primary-foreground));
  --muted-bg: hsl(var(--muted));
  --muted-fg: hsl(var(--muted-foreground));
  --line: hsl(var(--border));
  --secondary-bg: hsl(var(--secondary));

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Bodoni Moda", ui-serif, Georgia, "Times New Roman", serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --header-h: 4.5rem;
  --content: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.85rem);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg-theme);
  color: var(--fg);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

[hidden] { display: none !important; }


a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--cyan-soft); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(7, 16, 27, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 hsl(var(--border) / 0.6);
}

.header-inner {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--fg);
  min-width: 0;
}
.brand:hover { color: var(--fg); }
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cyan);
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  padding: 0;
}
.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--cyan-soft); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: 0.7rem;
  background: var(--cyan);
  color: var(--ink) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--cyan-soft); color: var(--ink) !important; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--cyan);
  color: var(--ink);
}
.btn-primary:hover { background: var(--cyan-soft); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero */

.hero {
  position: relative;
  padding: 3.25rem 0 4.5rem;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -15% auto auto;
  width: min(42rem, 90vw);
  height: 28rem;
  background: radial-gradient(ellipse at center, rgba(76, 184, 221, 0.16), transparent 68%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  color: #f7f3ea;
  letter-spacing: -0.02em;
}
.lead {
  margin: 1.15rem 0 0;
  font-size: 1.08rem;
  color: var(--muted-fg);
  max-width: 38rem;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  max-width: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 184, 221, 0.18), transparent 70%);
  z-index: -1;
}
.hero-mark {
  width: min(18rem, 70%);
  height: auto;
}

/* Sections */

.section {
  padding: 4.25rem 0;
}
.section-alt {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(76, 184, 221, 0.07), transparent 60%),
    linear-gradient(180deg, hsl(214 34% 8%), var(--bg-theme));
  border-block: 1px solid hsl(var(--border) / 0.6);
}
.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: #f7f3ea;
  max-width: 24ch;
}
.section-intro {
  margin: 0.9rem 0 0;
  color: var(--muted-fg);
  max-width: 42rem;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.app-card, .price-card, .legal-doc, .faq-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.app-card { padding: 1.6rem 1.5rem 1.7rem; }
.app-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #f7f3ea;
}
.app-card p { margin: 0 0 0.85rem; color: var(--muted-fg); }
.app-card p:last-child { margin-bottom: 0; }
.app-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--fg);
}
.app-list li { margin: 0.35rem 0; }
.app-list li::marker { color: var(--cyan); }

/* Pricing */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2rem;
}
.price-card {
  padding: 1.4rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.price-card.is-bundle {
  border-color: hsl(var(--primary) / 0.7);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.35), var(--shadow);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(76, 184, 221, 0.12), transparent 70%),
    var(--card-bg);
}
.price-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #f7f3ea;
}
.price-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.price-desc {
  margin: 0.35rem 0 1rem;
  color: var(--muted-fg);
  font-size: 0.95rem;
}
.pass-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid hsl(var(--border) / 0.75);
}
.pass-row:last-of-type { padding-bottom: 0.2rem; }
.pass-name { font-weight: 700; color: #f7f3ea; }
.pass-save, .pass-note {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted-fg);
}
.pass-price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cyan-soft);
  text-align: right;
}
.pass-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}
.coming-soon {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
}
.pass-actions .btn { min-height: 2.4rem; padding: 0.45rem 0.95rem; }

.agree-panel {
  margin-top: 2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.agree-gate {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  color: var(--fg);
  cursor: pointer;
}
.agree-gate input {
  margin-top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: hsl(var(--primary));
  flex-shrink: 0;
}
.agree-hint {
  margin: 0.7rem 0 0;
  color: var(--cyan-soft);
  font-size: 0.92rem;
}
.price-footnote {
  margin: 1.1rem 0 0;
  color: var(--muted-fg);
  font-size: 0.9rem;
}

/* FAQ */

.faq-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.faq-item { padding: 0; overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #f7f3ea;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 1rem 1.15rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-q span:last-child {
  color: var(--cyan);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 500;
}
.faq-q[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.15rem 1.1rem;
  color: var(--muted-fg);
  margin: 0;
}
.faq-a p { margin: 0 0 0.7rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* Footer */

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid hsl(var(--border) / 0.7);
  background:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(76, 184, 221, 0.1), transparent 70%),
    linear-gradient(180deg, hsl(214 34% 8%), #050b12);
}
.footer-inner {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.footer-brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}
.footer-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cyan);
}
.footer-meta {
  margin: 0.15rem 0 0;
  color: var(--muted-fg);
  font-size: 0.88rem;
}
.footer-col h2 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 700;
}
.footer-col p, .footer-col a { margin: 0; color: var(--fg); font-size: 0.92rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.35rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--cyan-soft); }

/* Legal pages */

.legal-page { padding: 2.5rem 0 4rem; }
.legal-doc {
  padding: 2rem 1.6rem 2.25rem;
  max-width: 50rem;
  margin: 0 auto;
}
.legal-doc h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #f7f3ea;
}
.legal-meta {
  margin: 0 0 1.5rem;
  color: var(--muted-fg);
  font-size: 0.95rem;
}
.legal-doc h2 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}
.legal-doc p, .legal-doc li {
  color: var(--fg);
  margin: 0 0 0.7rem;
}
.legal-doc ul { margin: 0 0 0.7rem; padding-left: 1.2rem; }
.legal-doc li::marker { color: var(--cyan); }

.noscript-note {
  margin: 0;
  padding: 0.7rem 1rem;
  background: var(--secondary-bg);
  color: var(--fg);
  text-align: center;
  font-size: 0.92rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .app-grid,
  .price-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .hero-mark { width: min(12rem, 50%); }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #07101b;
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    display: none;
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .site-nav a { display: block; padding: 0.55rem 0.2rem; }
  .nav-cta { justify-content: center; margin-top: 0.4rem; }
}

@media (max-width: 520px) {
  .pass-row { grid-template-columns: 1fr; }
  .pass-price, .pass-actions { text-align: left; justify-content: flex-start; }
  .legal-doc { padding: 1.35rem 1.05rem 1.6rem; }
}
