:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --panel: #fffdf8;
  --ink: #111111;
  --muted: #625e56;
  --line: rgba(17, 17, 17, 0.12);
  --accent: #3f6e55;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar,
.hero,
.section,
.footer {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  padding: 24px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  text-decoration: none;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.nav,
.footer nav,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

.hero {
  padding: clamp(58px, 10vw, 116px) 0 clamp(44px, 8vw, 76px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
}

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

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

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 1fr);
  gap: clamp(24px, 5vw, 70px);
}

.panel,
.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
}

.panel p,
.product-card p {
  color: var(--muted);
  max-width: 100%;
}

.panel p:last-child,
.product-card p:last-child {
  margin-bottom: 0;
}

.product-card {
  display: grid;
  gap: 24px;
}

.links {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer {
  margin-top: auto;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  html,
  body,
  .shell {
    max-width: 100vw;
  }

  .topbar,
  .hero,
  .section,
  .footer {
    width: 100vw;
    max-width: 100vw;
    margin-inline: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand,
  .nav,
  .actions,
  .links,
  .footer nav {
    max-width: 100%;
  }

  .brand span:last-child,
  .nav a,
  .links a {
    overflow-wrap: anywhere;
  }

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

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: 40px;
    line-height: 1;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    max-width: 100%;
    font-size: 18px;
  }

  .panel,
  .product-card {
    padding: 22px;
  }
}
