:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --text: #171717;
  --muted: #66645f;
  --line: #ded9cf;
  --accent: #111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.mark {
  width: 42px;
  height: 42px;
  border: 5px solid #161616;
  border-radius: 8px;
  position: relative;
  background: #f9f7f0;
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
  background: #77736a;
}

.mark::before {
  width: 22px;
  height: 1px;
  left: 5px;
  top: 15px;
}

.mark::after {
  width: 1px;
  height: 22px;
  left: 16px;
  top: 5px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 13px;
}

nav {
  display: flex;
  gap: 16px;
  font-size: 15px;
}

nav a,
a {
  color: var(--accent);
  text-underline-offset: 3px;
}

main {
  padding-top: 44px;
}

.hero {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}

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

.feature {
  min-height: 120px;
}

.feature strong {
  display: block;
  margin-bottom: 8px;
}

.muted {
  color: var(--muted);
}

ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

footer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  nav {
    flex-wrap: wrap;
  }

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