/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; }

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --core:          #00572E;
  --core-muted:    #5A6E65;
  --text:          #26221B;
  --warning-hi:    #AD311D;
  --warning:       #C76842;
  --warning-soft:  #E6A55B;
  --background:    #FBF4EB;
  --success:       #93A664;
  --info:          #546F9E;

  --forest:        var(--core);
  --forest-mid:    #0F472B;
  --forest-edge:   #2B6A48;
  --forest-bright: var(--success);
  --sage:          var(--core-muted);
  --sage-light:    #B7C5AF;
  --cream:         var(--background);
  --cream-tinted:  #F2E7D9;
  --terracotta:    var(--warning);
  --terracotta-bg: #F2DEC8;
  --text-muted:    #5E564B;
  --text-faint:    #877D70;
  --border:        #E4D9CC;

  --sp-1:  4px;  --sp-2:  8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-12: 48px; --sp-16: 64px;
  --sp-24: 96px; --sp-32: 128px;

  --font-display: 'Gloock', Georgia, serif;
  --font-body:    'Epilogue', system-ui, sans-serif;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --r-pill: 9999px;
  --max-w: 1200px;
}

/* ─── Base ───────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ─── Animations ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes letterIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-letter {
  display: inline-block;
  animation: letterIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed        { opacity: 1; transform: translateY(0); }
[data-reveal]:not(.revealed)[data-delay="1"] { transition-delay: 0.2s; }
[data-reveal]:not(.revealed)[data-delay="2"] { transition-delay: 0.4s; }
[data-reveal]:not(.revealed)[data-delay="3"] { transition-delay: 0.6s; }

/* ─── Shared ─────────────────────────────────────────── */
.section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--sp-6);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 52ch;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--warning-hi);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(173 49 29 / 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-bright);
  border: 1px solid var(--forest-bright);
}
.btn-ghost:hover {
  background: rgb(147 166 100 / 0.12);
  border-color: var(--success);
  color: var(--success);
}

/* ─── Nav ────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding: var(--sp-6) var(--sp-8);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav--scrolled {
  background: rgb(0 87 46 / 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: var(--sp-8);
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  color: #dce5d4;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  padding: var(--sp-2) var(--sp-6);
  border: 1px solid rgb(183 197 175 / 0.28);
  border-radius: var(--r-pill);
  transition: background 0.18s, border-color 0.18s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--forest-mid); border-color: rgb(183 197 175 / 0.48); }

.nav-cta--soon {
  opacity: 0.45;
  cursor: not-allowed;
}
.nav-cta--soon:hover { background: transparent; border-color: rgb(183 197 175 / 0.28); }

.btn--soon {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn--soon:hover { transform: none; box-shadow: none; background: var(--terracotta); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease;
}

.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
}

@media (max-width: 800px) {
  .nav-inner { gap: var(--sp-4); }
  .nav-burger { display: flex; }
  .nav-links,
  .nav-cta { display: none; }

  .nav-mobile {
    position: absolute;
    top: calc(100% - 6px);
    left: var(--sp-8);
    right: var(--sp-8);
    display: block;
    background: rgb(11 61 36 / 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgb(183 197 175 / 0.14);
    border-radius: 24px;
    box-shadow: 0 18px 36px rgb(8 29 19 / 0.24);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition:
      transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.2s ease,
      max-height 0.24s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s linear 0.24s;
    transform: translateY(-10px);
  }

  .nav-mobile.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    max-height: 24rem;
    transition:
      transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.2s ease,
      max-height 0.24s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s linear 0s;
    transform: translateY(0);
  }

  .nav-mobile > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--sp-6);
    align-items: flex-end;
    text-align: right;
  }

  .nav-mobile.is-open > ul {
    padding: var(--sp-5) var(--sp-6);
  }

  .nav-mobile a {
    display: block;
    padding: var(--sp-4) 0;
    font-size: 1.125rem;
    color: #eef3e8;
    text-decoration: none;
    transition: color 0.15s;
    min-width: 10ch;
  }

  .nav-mobile a:hover { color: var(--success); }
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  background: var(--forest);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 140px var(--sp-24);
  padding-inline: var(--sp-8);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -240px; right: -180px;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgb(84 111 158 / 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgb(147 166 100 / 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: var(--sp-8);
  opacity: 0.7;
  animation: fadeUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.6vw, 7.2rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-8);
  max-width: 14ch;
  text-wrap: balance;
  animation: none;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #dce5d4;
  max-width: 50ch;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: var(--sp-12);
  animation: fadeUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: fadeUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.hero-mobile-cta {
  display: none;
}

.hero-mobile-cta--active {
  background: var(--warning);
  color: var(--cream);
  min-height: 60px;
  padding: 16px 40px;
  border: 1px solid rgb(255 244 235 / 0.16);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgb(255 244 235 / 0.14),
    0 14px 28px rgb(199 104 66 / 0.28);
}

.hero-mobile-cta--active:hover {
  background: var(--warning-hi);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 34px rgb(173 49 29 / 0.3);
}

.hero-tags {
  padding-top: var(--sp-24);
  padding-inline: var(--sp-8);
  position: relative;
  z-index: 1;
  animation: fadeUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
}

.hero-tag-row {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.hero-tag {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  background: rgb(147 166 100 / 0.18);
  color: #dce5d4;
}

/* ─── About ──────────────────────────────────────────── */
.about {
  padding-block: var(--sp-32);
  padding-inline: var(--sp-8);
  background: var(--cream);
}

.about-inner { max-width: var(--max-w); margin: 0 auto; }

.about-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-24);
  align-items: start;
  margin-top: var(--sp-12);
}

.about-lede {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--sp-8);
}

.about-body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 65ch;
  margin-bottom: var(--sp-6);
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: var(--sp-8);
  background:
    linear-gradient(180deg, #fdf8f2 0%, var(--cream-tinted) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 48px oklch(22% 0.03 82 / 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-aside:hover {
  transform: translateY(-2px);
  border-color: #d6c8b8;
  box-shadow: 0 28px 52px oklch(22% 0.03 82 / 0.1);
}

.about-aside-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.about-stat-grid {
  display: grid;
  gap: var(--sp-4);
}

.about-stat {
  padding: var(--sp-6);
  background: rgb(255 252 247 / 0.88);
  border: 1px solid #ddd0c0;
  border-radius: var(--r-lg);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.about-stat:hover {
  transform: translateY(-2px);
  background: rgb(255 252 247 / 0.96);
  border-color: #d1c0ad;
  box-shadow: 0 12px 24px oklch(22% 0.03 82 / 0.06);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--core);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  max-width: 24ch;
  margin-top: var(--sp-3);
}

.about-aside-note {
  padding-top: var(--sp-2);
  border-top: 1px solid #ddd0c0;
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.6;
}

/* ─── Features ───────────────────────────────────────── */
.features {
  padding-block: var(--sp-32);
  padding-inline: var(--sp-8);
  background: var(--cream-tinted);
}

.features-inner { max-width: var(--max-w); margin: 0 auto; }
.features-header { margin-bottom: var(--sp-12); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.feature {
  padding: var(--sp-8);
  border-radius: var(--r-xl);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  border: 1px solid transparent;
  transition: transform 0.14s ease-out, border-color 0.14s ease-out, box-shadow 0.14s ease-out;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: 0 12px 28px oklch(22% 0.065 155 / 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fdf8f2 0%, var(--cream-tinted) 100%);
  border: 1px solid #ddd0c0;
  border-radius: 18px;
  color: var(--forest);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0 / 0.75),
    0 8px 18px oklch(22% 0.03 82 / 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.feature:hover .feature-icon {
  transform: translateY(-1px);
  border-color: var(--success);
  color: var(--forest-edge);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0 / 0.8),
    0 12px 22px oklch(22% 0.04 82 / 0.08);
}

.feature-icon i {
  font-size: 1.45rem;
  line-height: 1;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-top: var(--sp-2);
}

.feature p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── Demo ───────────────────────────────────────────── */
.demo {
  padding-block: var(--sp-32);
  padding-inline: var(--sp-8);
  background: var(--cream);
}

.demo-inner { max-width: var(--max-w); margin: 0 auto; }
.demo-inner .section-title { margin-bottom: var(--sp-4); }
.demo-inner .section-sub   { margin-bottom: var(--sp-16); }

.phone-row {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.phone-frame {
  width: clamp(165px, 16.5vw, 188px);
  aspect-ratio: 0.59;
  background: linear-gradient(180deg, #1b1b1b 0%, #0f0f0f 100%);
  border-radius: 30px;
  border: 1px solid #2d2d2d;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 7px 7px 9px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 20px 40px oklch(22% 0.05 82 / 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: zoom-in;
  appearance: none;
  text-align: inherit;
}

.phone-frame:hover {
  transform: translateY(-8px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 24px 48px oklch(22% 0.065 155 / 0.16);
}

.phone-frame:focus-visible {
  outline: 3px solid var(--success);
  outline-offset: 4px;
}

.phone-notch {
  width: 72px;
  height: 16px;
  background: #0a0a0a;
  border-radius: 0 0 12px 12px;
  margin: -7px auto 6px;
  flex-shrink: 0;
}

.phone-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--sp-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 200;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 16 12 / 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 500px);
  max-height: min(86vh, 920px);
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(180deg, #1b1b1b 0%, #0f0f0f 100%);
  border: 1px solid #2d2d2d;
  box-shadow: 0 32px 80px rgb(0 0 0 / 0.38);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(min(86vh, 920px) - 24px);
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
  background: #111;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgb(255 253 248 / 0.94);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 800px) {
  .lightbox-dialog {
    width: min(94vw, 460px);
    max-height: 84vh;
    padding: 12px;
    border-radius: 28px;
  }

  .lightbox-image {
    max-height: calc(84vh - 24px);
    border-radius: 20px;
  }
}

@media (min-width: 1200px) {
  .phone-row {
    flex-wrap: nowrap;
  }
}

.phone-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ─── Sprints ────────────────────────────────────────── */
.sprints {
  padding-block: var(--sp-32);
  padding-inline: var(--sp-8);
  background: var(--cream-tinted);
}

.sprints-inner { max-width: var(--max-w); margin: 0 auto; }
.sprints-inner .section-title { margin-bottom: var(--sp-12); }

.sprint-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.sprint {
  padding: var(--sp-12);
  border-radius: var(--r-xl);
  background: var(--cream);
  border: 1px solid transparent;
}

.sprint--done {
  border-color: var(--border);
  box-shadow: 0 10px 24px oklch(22% 0.03 82 / 0.04);
}

.sprint--active {
  background: var(--forest);
  box-shadow: 0 24px 42px oklch(18% 0.05 155 / 0.18);
}

/* Upcoming sprints — muted, outlined, no items list */
.sprint--upcoming {
  background: transparent;
  border: 1px dashed #cdbba7;
  padding: var(--sp-12);
}

.sprint-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-8);
}

.sprint-num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sprint-week {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.sprint--active .sprint-num   { color: var(--success); }
.sprint--upcoming .sprint-num { color: var(--text-faint); }

.sprint-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: #e5ece0;
  color: var(--forest);
}

.sprint--done .sprint-badge {
  background: #ebf0e2;
  color: var(--forest);
  border: 1px solid #c9d5bc;
}

.sprint-badge--active {
  background: rgb(15 71 43 / 0.95);
  color: #dce5d4;
}

.sprint-badge--upcoming {
  background: transparent;
  color: var(--text-faint);
  border: 1px solid #cdbba7;
}

.sprint-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.sprint--active .sprint-name   { color: var(--cream); }
.sprint--upcoming .sprint-name { color: var(--text-faint); }

.sprint-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: var(--sp-8);
  max-width: 55ch;
}
.sprint--active .sprint-desc   { color: #dce5d4; }
.sprint--upcoming .sprint-desc { color: var(--text-faint); margin-bottom: 0; }

.sprint-items { display: flex; flex-direction: column; gap: var(--sp-3); }

.sprint-items li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
  padding-left: var(--sp-6);
  position: relative;
}

.sprint-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

.sprint--active .sprint-items li         { color: #dce5d4; }
.sprint--active .sprint-items li::before { color: var(--success); }

/* ─── Tech / Architecture ────────────────────────────── */
.tech {
  padding-block: var(--sp-32);
  padding-inline: var(--sp-8);
  background: var(--forest);
  position: relative;
  overflow: hidden;
}

.tech::before {
  content: '';
  position: absolute;
  top: -200px; left: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgb(84 111 158 / 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.tech::after {
  content: '';
  position: absolute;
  bottom: -160px; right: -140px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgb(147 166 100 / 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.tech-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tech .section-label {
  color: var(--forest-bright);
  opacity: 0.8;
}
.tech .section-title {
  color: var(--cream);
  margin-bottom: var(--sp-4);
}
.tech .section-sub {
  color: #dce5d4;
  margin-bottom: var(--sp-16);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.tech-card {
  padding: var(--sp-8);
  border-radius: var(--r-xl);
  background: rgb(15 71 43 / 0.92);
  border: 1px solid rgb(183 197 175 / 0.18);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: transform 0.14s ease-out,
              border-color 0.14s ease-out,
              box-shadow 0.14s ease-out;
}

.tech-card:hover {
  transform: translateY(-3px);
  border-color: rgb(147 166 100 / 0.42);
  box-shadow: 0 12px 32px oklch(15% 0.05 155 / 0.4);
}

.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--cream);
}

.tech-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.tech-card li {
  font-size: 0.9375rem;
  color: #dce5d4;
  line-height: 1.5;
  font-weight: 300;
  padding-left: var(--sp-5);
  position: relative;
}

.tech-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--success);
  opacity: 0.7;
}

/* ─── Team ───────────────────────────────────────────── */
.team {
  padding-block: var(--sp-32);
  padding-inline: var(--sp-8);
  background: var(--cream);
}

.team-inner { max-width: var(--max-w); margin: 0 auto; }
.team-inner .section-title { margin-bottom: var(--sp-4); }
.team-inner .section-sub { max-width: 68ch; margin-bottom: var(--sp-12); }
.team-inner .section-sub strong {
  color: var(--forest);
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

.team-member {
  padding: var(--sp-8);
  background: var(--cream-tinted);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.member-name {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
}

.member-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.member-email {
  font-size: 0.875rem;
  color: var(--sage);
  text-decoration: none;
  margin-top: var(--sp-3);
  transition: color 0.15s;
  overflow-wrap: anywhere;
}
.member-email:hover { color: var(--forest); }

.contact-note {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 55ch;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: var(--forest);
  padding-block: var(--sp-24);
  padding-inline: var(--sp-8);
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: -0.04em;
  color: var(--cream);
  line-height: 1;
}

.footer-tagline {
  font-size: 1rem;
  color: #c5d1be;
  font-weight: 300;
}

.footer-course {
  font-size: 0.8125rem;
  color: #adb9a7;
  margin-top: var(--sp-4);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }

  .tech-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .about-content { grid-template-columns: 1fr; gap: var(--sp-12); }
  .about-aside { max-width: 34rem; }
  .sprint-list { grid-template-columns: 1fr; }
  .phone-row { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--sp-4); }
}

@media (max-width: 600px) {
  .nav { padding: var(--sp-4) var(--sp-6); }
  .hero, .about, .features, .demo, .sprints, .tech, .team, .footer { padding-inline: var(--sp-6); }
  .hero {
    min-height: auto;
    padding-block: 120px var(--sp-12);
  }
  .hero-eyebrow {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--sp-6);
    max-width: none;
    line-height: 1.4;
    white-space: normal;
  }
  .hero-title {
    font-size: clamp(2.45rem, 11.6vw, 3.5rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    max-width: 10.5ch;
    white-space: normal;
    margin-bottom: var(--sp-6);
  }
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: var(--sp-10);
  }
  .hero-actions {
    justify-content: center;
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-8);
  }
  .hero-actions > .btn:not(.hero-mobile-cta) {
    display: none;
  }
  .hero-mobile-cta {
    display: inline-flex;
    min-width: 13.5rem;
    justify-content: center;
  }
  .hero-tags {
    padding-top: var(--sp-8);
    padding-inline: 0;
  }
  .hero-tag-row {
    gap: var(--sp-3);
  }
  .hero-tag {
    font-size: 0.75rem;
    padding: 10px 18px;
  }
  .about-aside { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }

  .tech-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
