:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --surface: #fffdf8;
  --ink: #1f2520;
  --muted: #697168;
  --line: #d9d4ca;
  --accent: #477a5b;
  --accent-strong: #295f43;
  --warm: #c58b3d;
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.actions,
.panel-top,
.grid,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--surface);
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
}

.nav-cta,
.primary {
  background: var(--ink);
  color: var(--surface);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  align-items: center;
  gap: 48px;
  padding: 56px 40px 84px;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 14px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  max-width: 760px;
}

.lead {
  margin-top: 24px;
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  border: 1px solid var(--ink);
  font-weight: 800;
}

.secondary {
  background: transparent;
}

.product-panel,
.section article,
.security {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-panel {
  padding: 20px;
  box-shadow: 0 24px 70px rgba(31, 37, 32, 0.12);
}

.panel-top {
  justify-content: space-between;
  color: var(--muted);
  font-weight: 800;
}

.panel-top strong {
  color: var(--accent-strong);
}

.note-card {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbf1df;
}

.note-card span,
.grid span,
.plans span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.note-card h2 {
  margin-top: 8px;
  font-size: 26px;
}

.note-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.grid {
  margin-top: 14px;
  gap: 10px;
}

.grid div {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.grid strong {
  display: block;
  margin-top: 8px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 40px;
}

.section h2 {
  margin-top: 10px;
  max-width: 760px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
}

.cards,
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.section article {
  padding: 22px;
}

.section article h3 {
  font-size: 22px;
}

.section article p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

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

.plans article {
  min-height: 220px;
}

.plans .highlight {
  border-color: var(--accent);
  background: #eef7f0;
}

.price {
  margin-top: 18px;
  font-size: 46px;
  font-weight: 900;
  color: var(--accent-strong);
}

.security ul {
  margin: 26px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 20px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

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

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
