:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #211d19;
  --muted: #6f675f;
  --line: #e4ded6;
  --accent: #3f6f55;
  --accent-soft: #edf4ef;
  --shadow: 0 18px 45px rgba(33, 29, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(63, 111, 85, 0.12), transparent 34rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header,
.site-footer,
.page {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(33, 29, 25, 0.06);
}

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

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

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

.page {
  padding: 24px 0 56px;
}

.hero,
.content {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  align-items: center;
  gap: 36px;
  padding: clamp(28px, 5vw, 52px);
}

.content {
  padding: clamp(24px, 4vw, 44px);
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

h2 {
  margin: 2.1rem 0 0.75rem;
  font-size: 1.35rem;
}

h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
}

p {
  margin: 0.75rem 0;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.35rem;
}

.lede {
  max-width: 700px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.updated {
  display: inline-flex;
  margin-top: 24px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.primary-action {
  background: var(--accent);
  color: #ffffff;
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.phone-preview {
  width: min(100%, 280px);
  margin-left: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #fffdf9, #f4efe8);
  box-shadow: 0 22px 50px rgba(33, 29, 25, 0.12);
}

.phone-bar {
  width: 74px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #d5cdc3;
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview-card {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.preview-card.large {
  min-height: 118px;
  margin-bottom: 10px;
}

.preview-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.preview-card strong {
  display: block;
  margin-top: 8px;
  line-height: 1.25;
}

.preview-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.preview-list span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #ded7ce;
}

.preview-list span:nth-child(2) {
  width: 74%;
}

.preview-list span:nth-child(3) {
  width: 54%;
}

.section-band {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.section-band.compact {
  padding-top: 30px;
}

.section-band h2 {
  margin-top: 0;
}

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

.feature-grid p {
  color: var(--muted);
}

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

.link-card {
  display: block;
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.link-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.link-card span {
  color: var(--muted);
}

.site-footer {
  padding: 20px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

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

  .phone-preview {
    margin: 8px auto 0;
  }

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