/* ── Design Tokens ─────────────────────────────────── */
:root {
  --accent:       #4A5568;
  --accent-light: #E8EAED;
  --ink:         #2C2C2A;
  --ink-mid:     #5F5E5A;
  --ink-muted:   #888780;
  --border:      #D3D1C7;
  --bg:          #fff;
  --bg-soft:     #F9F8F5;
  --radius:      12px;
  --radius-sm:   8px;
  --nav-h:       56px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --accent-light: #1A2028;
  --ink:         #EEECEA;
  --ink-mid:     #A8A79F;
  --ink-muted:   #6B6A64;
  --border:      #2E2C2A;
  --bg:          #111110;
  --bg-soft:     #1A1A18;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
    --accent-light: #1A2028;
    --ink:         #EEECEA;
    --ink-mid:     #A8A79F;
    --ink-muted:   #6B6A64;
    --border:      #2E2C2A;
    --bg:          #111110;
    --bg-soft:     #1A1A18;
  }
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding-top: var(--nav-h);
  overflow-x: hidden;
}

/* ── Nav ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 100;
}
html[data-theme="dark"] .site-nav { background: rgba(17,17,16,0.95); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .site-nav { background: rgba(17,17,16,0.95); }
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo {
  width: 52px;
  height: auto;
}
html[data-theme="dark"] .nav-logo { filter: invert(1); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .nav-logo { filter: invert(1); }
}
.nav-wordmark {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-wordmark span { color: var(--ink); }
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.88; }
.nav-end { display: flex; align-items: center; gap: 6px; }
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
}
.theme-toggle:hover { color: var(--ink); }
.icon-sun  { display: none; }
.icon-moon { display: block; }
html[data-theme="dark"] .icon-sun  { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .icon-sun  { display: block; }
  html:not([data-theme="light"]) .icon-moon { display: none; }
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
  }
  html[data-theme="dark"] .nav-links { background: #111110; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

/* ── Shared ───────────────────────────────────────── */
.section { padding: 4rem 2rem; }
.section-inner { max-width: 860px; margin: 0 auto; }
.section-inner--wide { max-width: 1060px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.section-heading {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 620px;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.cta-row--center { justify-content: center; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: var(--ink-mid); }

/* ── Problem ──────────────────────────────────────── */
#problem {
  text-align: center;
  padding: 5rem 2rem 3rem;
  /* PLACEHOLDER — replace with: background-image: url('assets/images/hero-bg.jpg'); background-size: cover; background-position: center; */
  background: linear-gradient(180deg, #e2e6ea 0%, var(--bg-soft) 100%);
}
html[data-theme="dark"] #problem {
  background: linear-gradient(180deg, #151b22 0%, var(--bg-soft) 100%);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) #problem {
    background: linear-gradient(180deg, #151b22 0%, var(--bg-soft) 100%);
  }
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}
.hero-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 1.5rem;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 0.75rem;
}
.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin: 1.5rem auto;
  max-width: 400px;
}
.hero-bullets li {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Founders ─────────────────────────────────────── */
#founders {
  background: var(--bg);
}
.about-team {
  margin-top: 3rem;
}
.about-team .section-label {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 1.75rem;
  line-height: 1.3;
}
.team-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 600px) {
  .team-list { grid-template-columns: 1fr; }
}
.team-member {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.team-member:last-child {
  border-bottom: 1px solid var(--border);
}
.team-member strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.team-member span {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ── Product ──────────────────────────────────────── */
#product {
  background: var(--bg-soft);
}

.research-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 2.5rem;
}
@media (max-width: 600px) {
  .research-cards { grid-template-columns: 1fr; }
}
.research-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s;
}
.research-card:hover { border-color: var(--accent); }
.research-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}
.research-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}
.research-card p {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.research-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* ── Apply ────────────────────────────────────────── */
#apply {
  background: var(--bg-soft);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}
@media (max-width: 700px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.contact-aside p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.contact-aside a { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { min-height: 120px; resize: vertical; }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
html[data-theme="dark"] .site-footer { background: rgba(17,17,16,0.95); }
.footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.footer-brand span { color: var(--ink); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy {
  font-size: 12px;
  color: var(--ink-muted);
}
.footer-disclaimer {
  width: 100%;
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}
/* ── Device Columns ──────────────────────────────────── */
.device-section {
  background: #20201e;
  padding: 4rem 2rem;
}
.device-section-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.device-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.device-col {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: #30302d;
}
.device-col:first-child { border-radius: 12px 0 0 12px; }
.device-col:last-child  { border-radius: 0 12px 12px 0; }
.device-img-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.device-img-wrap img {
  max-height: 180px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.device-img-wrap--multi {
  gap: 1rem;
}
.device-img-wrap--multi img {
  max-height: 150px;
  flex: 1;
  min-width: 0;
}
.device-col--prototype .device-img-wrap img {
  opacity: 0.85;
  filter: grayscale(0.4);
}
.device-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A5568;
  margin-bottom: 0.4rem;
}
.device-col-name {
  font-size: 20px;
  font-weight: 700;
  color: #EEECEA;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.device-col-copy {
  font-size: 14px;
  color: #A8A79F;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}
.device-signal {
  font-size: 11px;
  color: #6B6A64;
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 1px solid #2E2C2A;
}
.device-signal strong {
  color: #888780;
  font-weight: 600;
}
.device-section-footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #EEECEA;
  letter-spacing: -0.01em;
}
.device-section-header {
  max-width: 860px;
  margin: 0 auto 2.5rem;
}
.device-section-h2 {
  font-size: 32px;
  font-weight: 700;
  color: #EEECEA;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 0.4rem;
}
.coaching-flow-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.coaching-flow-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.coaching-flow-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.coaching-flow-subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
}
.coaching-flow-text p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.coaching-flow-text p:last-child { margin-bottom: 0; }
.coaching-flow-wrap {
  flex-shrink: 0;
}
.coaching-flow-img {
  width: 220px;
  height: auto;
}
@media (max-width: 768px) {
  .coaching-flow-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .coaching-flow-wrap {
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .device-columns {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .device-col:first-child { border-radius: 12px 12px 0 0; }
  .device-col:last-child  { border-radius: 0 0 12px 12px; }
}
