:root {
  --bg: #f1ead7;
  --bg-deep: #d7ccb4;
  --panel: rgba(255, 252, 244, 0.7);
  --panel-strong: rgba(255, 251, 242, 0.92);
  --text: #1f241d;
  --muted: #556152;
  --line: rgba(39, 47, 36, 0.14);
  --accent: #1d5c49;
  --accent-strong: #0f3d31;
  --accent-soft: #d7e7de;
  --shadow: 0 24px 60px rgba(31, 36, 29, 0.14);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 28%),
    radial-gradient(circle at right 20%, rgba(29, 92, 73, 0.16), transparent 24%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 36, 29, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 36, 29, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  padding: 12px 0 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-strong);
  color: #f8f5ec;
  box-shadow: var(--shadow);
}

.brand-name,
.nav-link,
.button,
.eyebrow,
.hero-points,
.news-meta,
.news-tag {
  letter-spacing: -0.02em;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
}

.hero-copy,
.phone-card,
.feature-card,
.spotlight,
.stats-band {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-strong), rgba(255, 250, 240, 0.78));
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-strong);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1,
.section-heading h2,
.spotlight h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(3.4rem, 6vw, 5.9rem);
  max-width: 11ch;
}

.lede {
  max-width: 36rem;
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: #f8f5ec;
  background: var(--accent-strong);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 252, 244, 0.72);
  border: 1px solid var(--line);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-points li {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(39, 47, 36, 0.08);
}

.phone-card {
  padding: 20px;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(20, 28, 24, 0.96), rgba(15, 24, 20, 0.92));
  color: #f8f5ec;
  position: relative;
  overflow: hidden;
}

.phone-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(97, 182, 151, 0.24), transparent 28%);
  pointer-events: none;
}

.phone-status,
.news-meta,
.stats-band {
  display: flex;
  justify-content: space-between;
}

.phone-status {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: rgba(248, 245, 236, 0.72);
}

.news-card {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(248, 245, 236, 0.1);
}

.news-card-featured h2 {
  margin-top: 8px;
  font-size: 1.5rem;
  line-height: 1.08;
}

.news-card p {
  margin: 12px 0 0;
  line-height: 1.6;
  color: rgba(248, 245, 236, 0.8);
}

.news-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(227, 195, 90, 0.18);
  color: #f7dfa0;
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 700;
}

.news-tag-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 245, 236, 0.72);
}

.news-meta {
  gap: 10px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(248, 245, 236, 0.68);
}

.mini-feed {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.stats-band {
  gap: 18px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.stats-band div {
  display: grid;
  gap: 6px;
}

.stats-band strong {
  font-size: 1rem;
}

.stats-band span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding-top: 82px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2,
.spotlight h2 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
}

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

.feature-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 244, 0.72);
}

.feature-card h3 {
  font-size: 1.2rem;
}

.feature-card p,
.spotlight p {
  margin: 12px 0 0;
  line-height: 1.7;
  color: var(--muted);
}

.spotlight {
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  background: linear-gradient(135deg, rgba(19, 63, 50, 0.95), rgba(42, 87, 70, 0.86));
  color: #f8f5ec;
}

.spotlight .eyebrow,
.spotlight p {
  color: rgba(248, 245, 236, 0.8);
}

.spotlight .button-primary {
  background: #f6ecd0;
  color: var(--accent-strong);
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .stats-band,
  .spotlight {
    grid-template-columns: 1fr;
  }

  .stats-band,
  .spotlight {
    display: grid;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .topbar {
    margin-bottom: 20px;
  }

  .hero-copy,
  .phone-card,
  .spotlight {
    padding: 22px;
  }

  h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

  .nav-link {
    font-size: 0.95rem;
  }
}
