:root {
  color-scheme: light;
  --paper: #f3eddf;
  --paper-soft: #fbf7ee;
  --ink: #1f2a22;
  --muted: #6f7569;
  --line: #ded4bf;
  --green: #0f4c33;
  --green-soft: #e2eadf;
  --gold: #a97b31;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0)),
    var(--paper);
}

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

.site {
  min-height: 100vh;
}

.nav {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

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

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

.hero {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(52px, 8vw, 96px);
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
}

h3 {
  font-size: 24px;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.lead.compact {
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--green);
  color: white;
  background: var(--green);
  text-decoration: none;
  font-weight: 650;
}

.button.secondary {
  color: var(--green);
  background: transparent;
}

.device {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(31, 42, 34, 0.12);
}

.device img {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
}

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

.inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

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

.card {
  background: rgba(251, 247, 238, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.card p,
.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.7;
}

.card p {
  margin-bottom: 0;
}

.prose {
  max-width: 820px;
}

.prose h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.prose h2 {
  margin-top: 42px;
  font-size: 28px;
}

.prose p,
.prose ul {
  font-size: 17px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .inner {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
  }

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

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
