/* VoxMind — minimal, Apple-like, mobile-first */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-card: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --accent: #0066cc;
  --accent-hover: #0077ed;
  --btn: #1d1d1f;
  --btn-hover: #000000;
  --max: 1080px;
  --read: 38rem;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden,
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
  width: auto;
  height: auto;
  z-index: 100;
  background: var(--btn);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--text); text-decoration: none; }
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.brand-name {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.brand-name span { color: inherit; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 980px;
  padding: 0.4rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-soft); }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.4rem;
}
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.7rem 1.25rem 1.1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.85rem; }
  .site-nav a { font-size: 1rem; }
}

/* Hero — typographic, lots of air */
.hero {
  padding: 5.5rem 0 4.75rem;
  text-align: center;
  background: var(--bg);
}
.hero-art { display: none; }
.hero-copy { text-align: center; }
.hero-tagline {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.07;
  color: var(--text);
  margin: 0 auto 1.1rem;
  max-width: 14em;
}
.hero-sub {
  color: var(--text-secondary);
  margin: 0 auto 2rem;
  max-width: 28em;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.pill {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0.9rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.72rem 1.3rem;
  border-radius: 980px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn-gold {
  background: var(--btn);
  color: #fff;
  border-color: var(--btn);
  font-weight: 500;
}
.btn-gold:hover {
  background: var(--btn-hover);
  color: #fff;
  border-color: var(--btn-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--text-tertiary);
  color: var(--text);
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.section-title {
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-lead {
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 0 2rem;
  letter-spacing: -0.01em;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem 1rem;
  margin-bottom: 2rem;
}
.section-head > div { display: contents; }
.section-head .section-lead { margin: 0.15rem 0 0.35rem; max-width: 46rem; }
.section-head .btn { margin-top: 0.15rem; justify-self: start; }
@media (min-width: 700px) {
  .section-head { grid-template-columns: 1fr auto; align-items: center; }
  .section-head .section-kicker { grid-column: 1; grid-row: 1; }
  .section-head .section-title { grid-column: 1; grid-row: 2; }
  .section-head .section-lead { grid-column: 1 / -1; grid-row: 3; }
  .section-head .btn { grid-column: 2; grid-row: 2; justify-self: end; margin-top: 0; }
}

.band-soft { background: var(--bg-soft); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.two { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem 1.3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: inherit;
  text-decoration: none;
}
.card-topic {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 0.55rem;
  font-weight: 500;
}
.card h3 {
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 0.55rem;
  color: var(--text);
}
.card p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  flex: 1;
  font-size: 0.98rem;
}
.card-meta {
  font-size: 0.86rem;
  color: var(--text-tertiary);
  margin-top: auto;
}
.card-meta strong { color: var(--text); font-weight: 550; }

/* Signup box */
.signup {
  background: var(--bg-soft);
  border: 0;
  border-radius: 24px;
  padding: 3rem 1.6rem;
  text-align: center;
}
.signup h2 { margin-top: 0; }
.signup .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.signup-note {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin: 1rem 0 0;
}
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
  justify-content: center;
}
.signup-form input[type="email"] {
  flex: 1 1 14rem;
  max-width: 22rem;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 980px;
  padding: 0.72rem 1.05rem;
  font-family: inherit;
  font-size: 1rem;
}
.signup-form input::placeholder { color: var(--text-tertiary); }
.signup-form input[disabled],
.signup-form button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Page header (inner pages) */
.page-hero {
  padding: 4.2rem 0 2.2rem;
  border-bottom: 0;
  background: var(--bg);
}
.page-hero h1 {
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 0.6rem;
  color: var(--text);
}
.page-hero .section-lead { margin-bottom: 0; }
.prose {
  max-width: var(--read);
}
.wrap.prose {
  max-width: var(--max);
}
.wrap.prose > * {
  max-width: var(--read);
}
.prose h2 {
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  margin: 2.4rem 0 0.65rem;
  color: var(--text);
}
.prose p, .prose li { color: var(--text-secondary); }
.prose ul { padding-left: 1.15rem; }
.prose li { margin: 0.4rem 0; }

/* Insight article */
.article {
  max-width: var(--read);
  margin: 0 auto;
  padding: 3rem 1.25rem 4.5rem;
}
.article-topic { margin-bottom: 0.85rem; }
.article h1 {
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 1.3rem;
  color: var(--text);
}
.article-body p {
  margin: 0 0 1.05rem;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
}
.choices {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}
.choices li {
  border: 1px solid var(--line-soft);
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  margin: 0.4rem 0;
  color: var(--text);
}
.look {
  margin: 2.2rem 0 0;
  padding: 1.3rem 1.3rem;
  border-left: 0;
  background: var(--bg-soft);
  border-radius: 16px;
}
.look h2 {
  margin-top: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.look p { color: var(--text-secondary); margin: 0; }
.sources {
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.sources h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.sources dl { margin: 0; }
.sources dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0.85rem 0 0.15rem;
  font-weight: 500;
}
.sources dd { margin: 0; color: var(--text-secondary); }
.back {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
}
.back:hover { color: var(--text); text-decoration: none; }
.article-topic { display: block; }

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.8rem;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-secondary);
  border-radius: 980px;
  padding: 0.38rem 0.85rem;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filters button:hover {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--text-tertiary);
}
.filters button[aria-pressed="true"] {
  background: var(--btn);
  color: #fff;
  border-color: var(--btn);
}
.insight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 700px) {
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .insight-grid { grid-template-columns: repeat(3, 1fr); }
}
.insight-grid .is-hidden { display: none; }
.filter-empty { display: none; color: var(--text-tertiary); }
.filter-empty.is-on { display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 0;
  padding: 2.6rem 0 2.8rem;
  background: var(--bg-soft);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--text);
  text-decoration: none;
}
.footer-brand:hover { color: var(--text); text-decoration: none; }
.footer-brand img { width: 26px; height: 26px; border-radius: 50%; }
.footer-brand span {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }
.disclaimer {
  color: var(--text);
  font-size: 0.92rem;
  margin: 0 0 0.3rem;
  font-weight: 500;
}
.helpline {
  color: var(--text-secondary);
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
}
.copyright { color: var(--text-tertiary); font-size: 0.82rem; margin: 0; }

.x-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .filters button {
    transition: none;
  }
  a.card:hover { transform: none; }
}

@media (max-width: 699px) {
  .hero { padding: 4rem 0 3.4rem; }
  .section { padding: 3.4rem 0; }
  .page-hero { padding: 3rem 0 1.5rem; }
  .signup { padding: 2.2rem 1.2rem; }
}
