:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --panel: #ffffff;
  --panel-muted: #edf3ed;
  --text: #1d2720;
  --muted: #607064;
  --line: #d9e2d8;
  --brand: #236747;
  --brand-dark: #174b34;
  --accent: #8b5e34;
  --shadow: 0 10px 30px rgba(29, 39, 32, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--brand);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
  font-size: 0.95rem;
}

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

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

.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(29, 39, 32, 0.9), rgba(29, 39, 32, 0.46)),
    url("assets/images/sugar-glider-hero.png") center/cover;
  color: #ffffff;
}

.hero-content,
.page-heading,
.section,
.legal-page,
.app-list {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.hero-content {
  max-width: 760px;
  margin-left: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d9c0a4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.02;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.lead {
  max-width: 720px;
  margin: 0 0 26px;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions.compact {
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

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

.page {
  padding: clamp(36px, 6vw, 70px) clamp(18px, 4vw, 48px);
}

.page-heading {
  margin-bottom: 42px;
}

.section {
  padding: clamp(42px, 6vw, 72px) clamp(18px, 4vw, 48px);
}

.section.muted {
  width: 100%;
  max-width: none;
  background: var(--panel-muted);
}

.section.muted > * {
  width: min(1100px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 22px;
}

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

.feature,
.app-card,
.contact-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.feature p,
.app-card p,
.contact-box p,
.narrow {
  color: var(--muted);
}

.narrow {
  max-width: 760px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
}

.app-list {
  display: grid;
  gap: 18px;
}

.app-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}

.app-card.placeholder {
  box-shadow: none;
  background: transparent;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

.meta {
  margin: 0;
  font-size: 0.95rem;
}

.contact-box {
  width: min(640px, 100%);
}

.legal-page {
  padding: clamp(36px, 6vw, 70px) clamp(18px, 4vw, 48px);
  max-width: 860px;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.effective-date {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 520px;
  }

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

  .app-card {
    grid-template-columns: 1fr;
  }
}
