:root {
  color-scheme: light;
  --maroon: #6f1d2a;
  --maroon-dark: #51131d;
  --maroon-pale: #f5eaec;
  --ink: #211d1e;
  --muted: #665f61;
  --line: #ddd6d7;
  --paper: #fbfaf8;
  --white: #fff;
  --width: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

header, main, footer { width: min(calc(100% - 48px), var(--width)); margin-inline: auto; }
header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; }
.logo { width: 31px; height: 31px; display: grid; place-items: center; color: white; background: var(--maroon); border-radius: 5px; }
.logo img { width: 20px; color: white; filter: invert(1); }
nav { display: flex; gap: 27px; color: var(--muted); font-size: 14px; }
nav a:hover, footer a:hover { color: var(--maroon); }

.hero { max-width: 790px; padding: 112px 0 100px; }
.label { margin: 0 0 14px; color: var(--maroon); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: 0; max-width: 780px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 72px); font-weight: 500; }
.summary { max-width: 710px; margin: 29px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); font-size: 14px; font-weight: 650; }
.button:hover { border-color: #aaa0a2; }
.button.primary { color: white; border-color: var(--maroon); background: var(--maroon); }
.button.primary:hover { background: var(--maroon-dark); }
.note { margin: 15px 0 0; color: #81787a; font-size: 13px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; padding: 27px 25px; border-right: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border: 0; }
.facts strong { font-size: 15px; }
.facts span { color: var(--muted); font-size: 13px; }

section:not(.hero, .facts) { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-title { max-width: 670px; margin-bottom: 44px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 48px); font-weight: 500; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-list article { min-height: 180px; padding: 28px 30px 28px 0; border-bottom: 1px solid var(--line); }
.feature-list article:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.feature-list article:nth-child(3n+2), .feature-list article:nth-child(3n) { padding-left: 30px; }
.feature-list h3 { margin: 0 0 10px; font-size: 18px; }
.feature-list p, .prose { color: var(--muted); }
.feature-list p { margin: 0; font-size: 14px; }
code { padding: 2px 5px; color: var(--maroon-dark); background: var(--maroon-pale); border-radius: 3px; font-family: "SFMono-Regular", Consolas, monospace; font-size: .9em; }

.how, .security { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.how .section-title, .security .section-title { margin: 0; }
.prose { max-width: 650px; font-size: 16px; }
.prose p:first-child { margin-top: 0; }
.prose p { margin-bottom: 20px; }
.prose ul { margin: 28px 0; padding-left: 20px; }
.prose li { margin: 8px 0; padding-left: 6px; }
.text-link { color: var(--maroon); font-weight: 650; font-size: 14px; }
.security { background: var(--maroon-pale); box-shadow: 50vw 0 var(--maroon-pale), -50vw 0 var(--maroon-pale); }

.install { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.install h2 { font-size: 40px; }
.install p:not(.label) { max-width: 610px; margin-bottom: 0; color: var(--muted); }
.install .actions { flex-shrink: 0; }

footer { min-height: 105px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
footer > span { color: var(--ink); font-weight: 700; }
footer div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }

@media (max-width: 740px) {
  header, main, footer { width: min(calc(100% - 32px), var(--width)); }
  nav a:not(:last-child) { display: none; }
  .hero { padding: 78px 0 72px; }
  h1 { font-size: 47px; }
  .summary { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  section:not(.hero, .facts) { padding: 78px 0; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article, .feature-list article:nth-child(3n+2), .feature-list article:nth-child(3n) { min-height: 0; padding: 24px 0; border-right: 0; }
  .how, .security { grid-template-columns: 1fr; gap: 35px; }
  .install { align-items: flex-start; flex-direction: column; }
  .install .actions, .install .button { width: 100%; }
  .install .button { justify-content: center; }
  footer { padding: 30px 0; align-items: flex-start; }
  footer div { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
