/* Nita Play — homepage stylesheet */

:root {
  --bg: #F8F6F1;
  --bg-soft: #F1EEE6;
  --surface: #FFFFFF;
  --ink: #1A1A1A;
  --muted: #4C4B46;
  --line: #E4DFD3;
  --accent: #177A5A;
  --accent-dark: #0E5740;
  --accent-deep: #0B4232;
  --accent-bright: #2E9E74;
  --accent-tint: #E7F1EC;
  --accent-ink: #FFFFFF;
  --font-head: Georgia, Cambria, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
}

/* ---------- Shell ---------- */

.app-shell {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
}

.app-main {
  grid-column: 2;
  min-width: 0;
}

/* ---------- Sidebar navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  grid-column: 1;
  height: 100vh;
  background: var(--accent-dark);
  color: #EAF2EE;
  overflow-y: auto;
  z-index: 40;
}

.site-nav-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px 28px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-bright);
  color: var(--accent-deep);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
}

.site-nav .brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  color: #FFFFFF;
}

.brand-tag {
  margin: 14px 0 30px;
  font-size: 13px;
  line-height: 1.5;
  color: #B8D2C6;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: #D7E7DF;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: var(--accent-deep);
  color: #FFFFFF;
  text-decoration: none;
}

.nav-contact {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid var(--accent-deep);
}

.nav-contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8FB8A6;
  margin-bottom: 10px;
}

.nav-contact-link {
  display: block;
  color: #EAF2EE;
  font-size: 14px;
  margin-bottom: 6px;
  text-decoration: none;
}

.nav-contact-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.nav-copy {
  margin-top: 26px;
  font-size: 12px;
  color: #8FB8A6;
}

/* ---------- Mobile bar ---------- */

.mobile-bar {
  display: none;
}

.nav-toggle {
  display: none;
}

/* ---------- Shared section primitives ---------- */

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title {
  font-size: 40px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Hero ---------- */

.hero-band {
  padding: 96px 64px 88px;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-title {
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.hero-lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-tint);
}

.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-proof li {
  font-size: 14px;
  color: var(--muted);
}

.hero-proof strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--accent-dark);
}

/* ---------- Hero visual ---------- */

.hero-visual {
  position: relative;
  min-height: 420px;
}

.dash-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px #E4DDCF;
  overflow: hidden;
}

.dash-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.dash-head .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D6CFC0;
}

.dash-head .dot:nth-child(1) { background: #E8A0A0; }
.dash-head .dot:nth-child(2) { background: #E5C98A; }
.dash-head .dot:nth-child(3) { background: #9BC9A8; }

.dash-title {
  margin-left: 8px;
  font-size: 13px;
  color: var(--muted);
}

.dash-body {
  padding: 24px 24px 20px;
}

.dash-stat-value {
  font-family: var(--font-head);
  font-size: 52px;
  color: var(--accent-dark);
  line-height: 1;
}

.dash-stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin: 22px 0;
}

.dash-bars span {
  flex: 1;
  background: var(--accent-tint);
  border-radius: 4px 4px 0 0;
  min-height: 12px;
}

.dash-bars span:nth-child(6),
.dash-bars span:nth-child(8) {
  background: var(--accent);
}

.dash-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.dash-row-right {
  margin-left: auto;
  font-weight: 600;
  color: var(--accent);
}

.dash-foot {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.float-chip {
  position: absolute;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent-dark);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 30px #D8CFBC;
}

.chip-a { top: -18px; right: 18px; }
.chip-b { bottom: -16px; left: -10px; background: var(--accent); }

/* ---------- Manifesto ---------- */

.manifesto {
  padding: 100px 64px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.manifesto-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.manifesto-text {
  font-size: 46px;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 24px;
}

.manifesto-text span {
  color: var(--accent);
}

.manifesto-sub {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- Capabilities ---------- */

.capabilities-section {
  padding: 100px 64px;
  background: var(--bg);
}

.cap-list {
  list-style: none;
  max-width: 1080px;
  margin: 0 auto;
  counter-reset: cap;
}

.cap-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.cap-item:first-child {
  border-top: 1px solid var(--line);
}

.cap-num {
  font-family: var(--font-head);
  font-size: 40px;
  color: var(--accent);
}

.cap-body h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.cap-body p {
  color: var(--muted);
  max-width: 640px;
  font-size: 16px;
}

/* ---------- Comparison table ---------- */

.compare-section {
  padding: 100px 64px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.table-wrap {
  max-width: 960px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px #E7E0D1;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--accent-dark);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 16px;
}

.compare-table thead th:first-child {
  background: var(--accent-deep);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.highlight-cell {
  color: var(--accent-dark);
  font-weight: 600;
  background: var(--accent-tint);
}

/* ---------- Process ---------- */

.process-section {
  padding: 100px 64px;
  background: var(--bg);
}

.process-list {
  list-style: none;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.process-item {
  padding: 30px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.process-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--accent);
  margin-bottom: 14px;
}

.process-body h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.process-body p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Quote band ---------- */

.quote-band {
  padding: 110px 64px;
  background: var(--accent-dark);
  text-align: center;
}

.quote-text {
  max-width: 900px;
  margin: 0 auto 24px;
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1.4;
  color: #FFFFFF;
}

.quote-attrib {
  font-size: 14px;
  color: #B8D2C6;
}

/* ---------- Metrics ---------- */

.metrics-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.metric {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: none;
}

.metric-value {
  display: block;
  font-family: var(--font-head);
  font-size: 46px;
  color: var(--accent-dark);
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-section {
  padding: 100px 64px;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1080px;
  margin: 0 auto;
}

.contact-info .section-title {
  font-size: 38px;
}

.contact-list {
  list-style: none;
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
}

.contact-list li span:first-child {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-list a {
  font-weight: 600;
  color: var(--accent-dark);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 24px 60px #E8E1D2;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
  background: var(--surface);
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--accent-dark);
  min-height: 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--accent-deep);
  color: #D7E7DF;
}

.newsletter-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 64px;
  background: var(--accent-dark);
  border-bottom: 1px solid var(--accent-deep);
}

.newsletter-copy h3 {
  color: #FFFFFF;
  font-size: 24px;
  margin-bottom: 6px;
}

.newsletter-copy p {
  color: #B8D2C6;
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  min-width: 320px;
}

.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
}

.newsletter-form button {
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  background: var(--accent-bright);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 56px 64px 40px;
}

.footer-brand {
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-about p {
  color: #B8D2C6;
  font-size: 14px;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: #B8D2C6;
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 64px 28px;
  border-top: 1px solid var(--accent-deep);
}

.footer-bottom p {
  font-size: 13px;
  color: #8FB8A6;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #D7E7DF;
  font-size: 13px;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title { font-size: 46px; }
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-main {
    grid-column: 1;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    grid-column: 1;
    width: 272px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .brand-mobile {
    color: var(--accent-dark);
  }

  .brand-mobile .brand-name {
    color: var(--ink);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--accent-dark);
    border-radius: 2px;
  }

  .hero-band {
    padding: 56px 24px 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title { font-size: 38px; }
  .hero-visual { min-height: 360px; }

  .manifesto,
  .capabilities-section,
  .compare-section,
  .process-section,
  .contact-section {
    padding: 72px 24px;
  }

  .quote-band {
    padding: 80px 24px;
  }

  .quote-text { font-size: 26px; }

  .metrics-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1),
  .metric:nth-child(2) { border-bottom: 1px solid var(--line); }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .newsletter-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .newsletter-form {
    width: 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 44px 24px 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px 26px;
  }
}

@media (max-width: 560px) {
  .process-list {
    grid-template-columns: 1fr;
  }

  .cap-item {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .cap-num { font-size: 28px; }

  .hero-proof {
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
