:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --bg-warm: #eee8dc;
  --ink: #13211e;
  --text: #20332f;
  --muted: #5f726d;
  --soft: #e4eee9;
  --panel: #ffffff;
  --panel-warm: #fbfaf6;
  --line: rgba(36, 92, 81, 0.18);
  --line-dark: rgba(255, 255, 255, 0.16);
  --primary: #245c51;
  --primary-dark: #143d36;
  --primary-soft: #dcebe5;
  --lime: #9bef7f;
  --cyan: #64d6e7;
  --amber: #e8bb68;
  --warning: #c27a14;
  --danger: #a6423a;
  --dark: #08100e;
  --dark-panel: #101916;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(19, 33, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(36, 92, 81, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 92, 81, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
}

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

p,
dd {
  line-height: 1.65;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border: 2px solid var(--lime);
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(8, 16, 14, 0.9);
  color: #f5faf7;
  backdrop-filter: blur(18px);
}

.nav-inner,
.section-inner,
.hero-inner,
.family-footer__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f5faf7;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(155, 239, 127, 0.46);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(155, 239, 127, 0.18), rgba(100, 214, 231, 0.12));
  color: var(--lime);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 2px;
  color: rgba(245, 250, 247, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(245, 250, 247, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 136px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("nod-hero-app.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.97) 0%, rgba(247, 244, 238, 0.92) 35%, rgba(247, 244, 238, 0.34) 64%, rgba(247, 244, 238, 0.04) 100%),
    linear-gradient(180deg, rgba(8, 16, 14, 0.07), transparent 38%, rgba(8, 16, 14, 0.09));
}

.hero-inner {
  position: relative;
  padding: 28px 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(4.25rem, 11vw, 7.4rem);
  font-weight: 900;
}

h2 {
  max-width: 850px;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 900;
}

h3 {
  font-size: 1.15rem;
  font-weight: 900;
}

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: #2b4540;
  font-size: clamp(1.12rem, 1.75vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: rgba(36, 92, 81, 0.28);
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary-dark);
}

.button.secondary:hover {
  border-color: var(--primary);
  background: #fff;
}

.hero-facts {
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
}

.hero-facts div {
  padding-top: 14px;
  border-top: 2px solid rgba(36, 92, 81, 0.18);
}

.hero-facts dt {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.flow-strip {
  border-bottom: 1px solid var(--line);
  background: var(--primary-dark);
  color: #eff8f4;
}

.strip-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.strip-inner span {
  position: relative;
  min-width: 0;
}

.strip-inner span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: min(54px, 28%);
  height: 1px;
  background: rgba(155, 239, 127, 0.5);
}

.section {
  padding: clamp(72px, 9vw, 116px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.section:nth-of-type(odd):not(.dark-band):not(.proof-band):not(.flow-strip) {
  background: var(--panel-warm);
}

.section-head {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-head p:not(.eyebrow),
.split > div > p,
.status-layout > div > p,
.proof-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-head p:not(.eyebrow) {
  margin: 18px 0 0;
}

.section-head.compact {
  margin-bottom: 30px;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stage-card,
.screen-card,
.principle,
.status-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.stage-card {
  min-height: 260px;
  padding: 22px;
  box-shadow: 0 16px 46px rgba(36, 92, 81, 0.08);
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 30px;
  border: 1px solid rgba(36, 92, 81, 0.22);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
}

.stage-card p,
.screen-card p,
.principle p,
.status-note,
.faq-list p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.dark-band {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--dark);
  background-size: 42px 42px;
  color: #eff8f4;
}

.dark-band h2,
.dark-band h3 {
  color: #f7fff9;
}

.dark-band .eyebrow {
  color: var(--cyan);
}

.dark-band .eyebrow::before {
  background: linear-gradient(90deg, var(--lime), var(--cyan));
}

.dark-band p,
.dark-band .section-head p:not(.eyebrow) {
  color: rgba(239, 248, 244, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: start;
}

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

.principle {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
}

.principle h3 {
  color: #fff;
}

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

.screen-card {
  min-height: 220px;
  padding: 22px;
}

.screen-card.wide {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(36, 92, 81, 0.1), transparent 48%),
    #fff;
}

.screen-kicker {
  display: block;
  margin-bottom: 42px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-band {
  background: #eaf1ed;
}

.proof-grid,
.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.proof-copy {
  padding-left: 28px;
  border-left: 3px solid var(--primary);
}

.proof-copy p {
  margin: 0;
}

.proof-copy p + p {
  margin-top: 16px;
}

.status-panel {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.status-row span {
  color: var(--muted);
  font-weight: 800;
}

.status-row strong {
  color: var(--primary-dark);
  text-align: right;
}

.status-note {
  margin: 0;
  padding: 20px;
  background: var(--panel-warm);
}

.faq-section {
  padding-bottom: clamp(78px, 9vw, 124px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 0 20px;
  color: rgba(239, 248, 244, 0.72);
}

.family-footer {
  padding: 34px 0;
  background: var(--dark);
  border-top: 1px solid var(--line-dark);
  color: rgba(239, 248, 244, 0.72);
  font-size: 14px;
}

.family-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.family-footer__brand {
  min-width: 0;
  max-width: 620px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: rgba(239, 248, 244, 0.72);
  text-decoration: none;
}

.family-footer__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(155, 239, 127, 0.46);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(155, 239, 127, 0.18), rgba(100, 214, 231, 0.12));
  color: var(--lime);
  font-weight: 900;
}

.family-footer__copy {
  min-width: 0;
}

.family-footer__title,
.family-footer__description,
.family-footer__copyright {
  display: block;
}

.family-footer__title {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.family-footer__description {
  margin-top: 4px;
  line-height: 1.45;
}

.family-footer__copyright {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
}

.family-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-weight: 800;
}

.family-footer a {
  color: var(--soft);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.family-footer a:hover {
  color: var(--lime);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.9) 48%, rgba(247, 244, 238, 0.52) 100%),
      linear-gradient(180deg, rgba(8, 16, 14, 0.04), transparent 40%, rgba(8, 16, 14, 0.08));
  }

  .hero-bg {
    background-position: 64% center;
  }

  .hero-facts,
  .stage-grid,
  .interface-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-card.wide {
    grid-column: span 1;
  }

  .split,
  .proof-grid,
  .status-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof-copy {
    padding-left: 0;
    padding-top: 22px;
    border-left: 0;
    border-top: 3px solid var(--primary);
  }
}

@media (max-width: 760px) {
  .nav-inner,
  .section-inner,
  .hero-inner,
  .family-footer__inner {
    width: calc(100% - 28px);
  }

  .nav-inner {
    min-height: 68px;
  }

  

  .nav-toggle-label {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    position: fixed;
    top: 13px;
    right: 14px;
    z-index: 80;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    cursor: pointer;
  }

  .nav-toggle-label span {
    width: 18px;
    height: 2px;
    display: block;
    background: #fff;
  }

  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px 18px;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(8, 16, 14, 0.98);
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hero {
    min-height: calc(100svh - 148px);
  }

  .hero-inner {
    padding: 44px 0 40px;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .lead {
    max-width: min(94%, 620px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 360px;
  }

  .hero-facts,
  .stage-grid,
  .interface-grid,
  .principle-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .strip-inner {
    min-height: 72px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    font-size: 0.74rem;
  }

  .strip-inner span:not(:last-child)::after {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .stage-card,
  .screen-card {
    min-height: 0;
  }

  .screen-kicker {
    margin-bottom: 28px;
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 14px 18px;
  }

  .status-row strong {
    text-align: left;
  }

  .family-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .family-footer__brand {
    align-items: flex-start;
  }

  .family-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .nav-inner > .nav-toggle-label {
    display: flex !important;
    visibility: visible;
    opacity: 1;
  }

  .lead {
    max-width: 300px;
  }

  .hero-bg {
    background-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 244, 238, 0.99) 0%, rgba(247, 244, 238, 0.96) 54%, rgba(247, 244, 238, 0.72) 100%),
      linear-gradient(180deg, rgba(8, 16, 14, 0.03), transparent 40%, rgba(8, 16, 14, 0.08));
  }

  .hero-facts dd {
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
