@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/7point-start/barlow-semi-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f6f2;
  --ink: #231d1b;
  --muted: #615752;
  --red: #a51e21;
  --rule: #d9d0cb;
  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font: 100%/1.55 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: #f2c6bd; color: var(--ink); }

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

a:hover { color: var(--red); }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

figure, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

.wrap {
  width: min(100% - 2.5rem, 75rem);
  margin-inline: auto;
}

.site-header, .site-footer, nav {
  display: flex;
  align-items: center;
}

.site-header, .site-footer {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
}

.site-header {
  min-height: 4.65rem;
  border-bottom: 1px solid var(--rule);
}

nav { gap: .4rem clamp(1rem, 3vw, 2rem); }
nav a { padding-block: .7rem; font-weight: 600; }

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font: 700 1.85rem/1 var(--display);
  letter-spacing: -.03em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.75rem, 4.5vw, 4.5rem);
  padding-block: clamp(3.5rem, 7vw, 6.25rem);
}

h1, h2, dt {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: .99;
}

h1, h2 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.2vw, 4.65rem); }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.3rem); }

h1 em, h2 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

.intro {
  max-width: 47ch;
  margin-top: 1.35rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.download { margin-top: 1.6rem; }
.download p { color: var(--muted); font-size: .9rem; }
.download p + p { margin-top: .15rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  min-height: 3.25rem;
  margin-bottom: .65rem;
  padding: .7rem 1rem;
  border-radius: .4rem;
  background: var(--red);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button:hover { background: #801517; color: #fff; }
.button:focus-visible { outline-color: var(--red); }

.arrow {
  display: inline-block;
  flex: none;
  width: .55rem;
  height: .55rem;
  margin-inline-end: .25rem;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

.product img, .installation img {
  width: 100%;
  border-radius: .75rem;
}

.product figcaption {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .85rem;
}

.overview {
  border-block: 1px solid var(--rule);
  background: #f0ede7;
}

.overview-layout, .setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 7vw, 6rem);
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.installation { margin-top: 1.6rem; }

.features { align-self: center; }
.features > div { padding-block: 1.3rem; border-top: 1px solid var(--rule); }
.features > div:last-child { border-bottom: 1px solid var(--rule); }
.features dt { font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.1; }
.features dd { margin-top: .45rem; color: var(--muted); }

.setup {
  background: #79191d;
  color: #fff7f0;
}

.setup p { max-width: 43ch; margin-top: .85rem; }
.setup a:hover { color: #ffd5c8; }

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: .8rem;
  padding-block: .5rem;
  font-weight: 700;
}

.setup ol { margin: 0; padding-inline-start: 2rem; }
.setup li { padding: .8rem 0 .8rem .5rem; }
.setup li + li { border-top: 1px solid #aa6161; }
.setup li::marker { font-weight: 700; color: #ffccbf; }

.site-footer {
  min-height: 5rem;
  padding-block: .65rem;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 50rem) {
  .site-header { min-height: 4rem; }
  .hero, .overview-layout, .setup-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.4rem 2.6rem; }
  h1 { font-size: clamp(2.65rem, 10.8vw, 4.6rem); }
  .overview-layout, .setup-layout { padding-block: 2.6rem; }
}

@media (max-width: 24rem) {
  .wrap { width: calc(100% - 2rem); }
  .site-header nav { font-size: .925rem; }
  h1 { font-size: clamp(2.5rem, 11vw, 2.8rem); }
}
