:root {
  --bg: #121212;
  --surface: #1e1e1e;
  --elevated: #252525;
  --green: #6a994e;
  --green-hover: #5b8742;
  --text: #f5f5f5;
  --secondary: #cfcfcf;
  --muted: #8a8a8a;
  --border: #2b2b2b;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(106, 153, 78, 0.11), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Page Containers */
.header-container,
.hero,
.feature-section,
.download-section,
.footer-container {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

/* ─────────────────────────────────────────────────────────────
   Standard Scrolling Header (Non-Sticky, Generous Padding)
   ───────────────────────────────────────────────────────────── */
.site-header {
  position: static; /* Scrolls naturally with the document flow */
  width: 100%;
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 16px 0 12px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(106, 153, 78, 0.75);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.brand-name {
  display: grid;
  line-height: 1.1;
  gap: 4px;
}

.brand-name strong {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.brand-name small {
  font-size: 9.5px;
  letter-spacing: 0.42em;
  color: var(--green);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.mobile-subnav a:hover {
  color: var(--text);
}

.header-download {
  padding: 11px 22px;
  border: 1px solid rgba(106, 153, 78, 0.75);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}

.header-download:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-subnav {
  display: none;
}

/* ─────────────────────────────────────────────────────────────
   Main Content & Hero Spacing
   ───────────────────────────────────────────────────────────── */
.main-content {
  flex: 1;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: 72px 0 96px;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--green);
  display: inline-block;
  margin-bottom: 6px;
}

h1 {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin: 18px 0 24px;
}

h1 em,
h2 em,
.card-title em {
  font-style: normal;
  color: var(--green);
}

.hero-copy > p {
  max-width: 540px;
  color: var(--secondary);
  font-size: 16.5px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 36px rgba(106, 153, 78, 0.22);
}

.button-primary:hover {
  background: var(--green-hover);
}

.button-secondary {
  border: 1px solid #383838;
  background: #181818;
}

.download-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 18px;
}

/* ─────────────────────────────────────────────────────────────
   App Artwork & Mockup
   ───────────────────────────────────────────────────────────── */
.hero-art {
  min-height: 480px;
  position: relative;
  display: grid;
  place-items: center;
}

.ambient-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 153, 78, 0.16), transparent 68%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(106, 153, 78, 0.14);
  border-radius: 50%;
}

.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 330px; height: 330px; }

.app-card {
  position: relative;
  width: min(310px, 80vw);
  border: 1px solid #343a34;
  border-radius: 34px;
  padding: 26px;
  background: linear-gradient(155deg, #1d2a1d, #101410 48%, #121212);
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.65);
  transform: rotate(3.5deg);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(106, 153, 78, 0.7);
}

.card-title {
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 46px 0 26px;
}

.metric-card,
.today-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 17px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-icon {
  color: var(--green);
  font-size: 24px;
}

.metric-card small,
.today-card small,
.mini-metrics small {
  display: block;
  color: var(--muted);
  font-size: 9.5px;
}

.metric-card strong { font-size: 21px; }

.metric-card i {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 4px solid var(--green);
  border-right-color: #303730;
}

.mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.mini-metrics > div {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.mini-metrics strong { font-size: 18px; }

.today-card { margin-top: 10px; }
.today-card > span { color: var(--green); font-size: 19px; }
.today-card strong { font-size: 12.5px; }

/* ─────────────────────────────────────────────────────────────
   Features Section
   ───────────────────────────────────────────────────────────── */
.feature-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-heading h2,
.download-panel h2 {
  font-size: clamp(34px, 4.5vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 12px 0 14px;
}

.section-heading p,
.download-panel p {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #383838;
}

.feature-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #4b4b4b;
  font-size: 11px;
  font-weight: 700;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106, 153, 78, 0.7);
  border-radius: 14px;
  color: var(--green);
  font-size: 21px;
}

.feature-card h3 { margin: 24px 0 8px; font-size: 19px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }

/* ─────────────────────────────────────────────────────────────
   Download Section
   ───────────────────────────────────────────────────────────── */
.download-section {
  padding: 60px 0 100px;
}

.download-panel {
  padding: 52px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(110deg, rgba(106, 153, 78, 0.14), rgba(106, 153, 78, 0.02));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.download-large {
  min-width: 190px;
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────── */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.footer-main p { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 12px; transition: color 0.15s; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #666;
  font-size: 11px;
}

/* ─────────────────────────────────────────────────────────────
   Responsive Adjustments (Mobile & Tablet)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .header-container,
  .hero,
  .feature-section,
  .download-section,
  .footer-container {
    width: calc(100% - 40px);
  }

  .site-header {
    padding: 12px 0 10px;
  }

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

  .nav-links {
    display: none;
  }

  .mobile-subnav {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 12px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-subnav a {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 0 72px;
  }

  .hero-copy > p,
  .hero-actions,
  .download-note {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-art { min-height: 400px; margin-top: 16px; }
  .app-card { width: 260px; }
  .orbit-one { width: 370px; height: 370px; }
  .orbit-two { width: 290px; height: 290px; }

  .download-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }

  .download-large { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .header-container,
  .hero,
  .feature-section,
  .download-section,
  .footer-container {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 8px 0;
  }

  .header-inner {
    min-height: 60px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 12px;
  }

  .header-download {
    padding: 8px 16px;
    font-size: 12px;
  }

  h1 { font-size: 42px; }
  .hero-copy > p { font-size: 14.5px; }
  .hero-actions, .hero-actions .button { width: 100%; }

  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-section { padding: 72px 0; }
  .download-section { padding: 40px 0 72px; }

  .app-card { width: 230px; border-radius: 28px; padding: 20px; }
  .card-title { font-size: 23px; margin: 36px 0 20px; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 240px; height: 240px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}