:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #fffdfa;
  --surface-muted: #ebe6dc;
  --ink: #182522;
  --muted: #61716b;
  --line: #d9d3c8;
  --accent: #0d5c53;
  --accent-strong: #073d37;
  --warm: #9d6245;
  --green-soft: #dbe8df;
  --blue-soft: #dce7ed;
  --gold-soft: #efe2bd;
  --radius: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

.site-header,
.site-footer,
.hero,
.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand,
.footer-brand {
  font-weight: 760;
  letter-spacing: 0;
  color: var(--accent-strong);
}

.brand {
  font-size: 1.08rem;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a,
.footer-links a {
  padding: 8px 0;
}

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

.hero {
  min-height: 520px;
  padding: 92px 0 84px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-top: 1px solid var(--line);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: 6.4rem;
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.28rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 700;
}

.primary-action {
  padding: 0 20px;
  background: var(--accent);
  color: #fff;
}

.primary-action:hover {
  background: var(--accent-strong);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.app-card {
  min-height: 332px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app-card h3 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.app-card p {
  color: var(--muted);
}

.app-card .tagline {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 740;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 760;
}

.available {
  background: var(--green-soft);
}

.development {
  background: var(--blue-soft);
}

.exploring {
  background: var(--gold-soft);
  color: #5d4922;
}

.secondary-action {
  width: fit-content;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--accent-strong);
  background: #fff;
}

.secondary-action:hover {
  border-color: var(--accent);
}

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

.principles article {
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 253, 250, 0.62);
}

.principles h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 36px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.copyright {
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  h1 {
    font-size: 4.8rem;
  }

  .section-heading h2 {
    font-size: 2.65rem;
  }

  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero,
  .section {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 64px;
  }

  .nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: calc(100vh - 64px);
    padding: 72px 0 56px;
    justify-content: flex-start;
  }

  h1 {
    font-size: 3.55rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

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

  .app-card {
    min-height: 282px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
