:root {
  color-scheme: light;
  --surface: #faf7f2;
  --ink: #211c18;
  --muted: #514842;
  --line: #ded6cd;
  --accent: #bd390b;
  --accent-hover: #952b08;
  --preview-bg: #fce0c7;
  --page-width: 70rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

main {
  flex: 1;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 4px;
}

.wrap {
  width: min(var(--page-width), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.header-inner {
  min-height: 4.75rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: clamp(0.95rem, 2.3vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-decoration: none;
}

.brand img {
  display: block;
  flex: none;
  border-radius: 0.6rem;
}

.install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
  border-radius: 0.55rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.install:hover {
  background: var(--accent-hover);
  color: #fff;
}

.install-primary {
  min-height: 3.4rem;
  padding-inline: 1.75rem;
  font-size: 1.05rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  padding-block: clamp(2.2rem, 5.5vw, 4rem);
}

.hero h1,
.content h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5.7vw, 4.7rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 12ch;
}

.hero p {
  max-width: 37ch;
  margin: 1.35rem 0 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.product-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  padding-inline: clamp(0.5rem, 5vw, 3.5rem);
}

.product-preview::before {
  position: absolute;
  z-index: -1;
  inset: 7% 0 2%;
  border-radius: 38% 29% 41% 29%;
  background: var(--preview-bg);
  content: "";
}

.product-preview img {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 0.55rem 1.45rem #4b2b171f;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin: 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2rem;
  font-weight: 680;
}

.features li + li {
  border-left: 1px solid var(--line);
}

.features img {
  border-radius: 0.4rem;
}

.feature-symbol {
  flex: none;
  width: 1.75rem;
  color: var(--accent);
}

.icon-search {
  position: relative;
  height: 1.75rem;
}

.icon-search::before {
  position: absolute;
  inset: 0.1rem auto auto 0.1rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.icon-search::after {
  position: absolute;
  top: 1.11rem;
  left: 1.06rem;
  width: 0.62rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left;
}

.icon-heart {
  font-family: sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.landing-section {
  padding-block: clamp(2.4rem, 6vw, 4.75rem);
  border-top: 1px solid var(--line);
}

.landing-section h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.landing-section p {
  color: var(--muted);
}

.landing-section .section-intro {
  max-width: 60ch;
  margin: 0.75rem 0 1.75rem;
  font-size: 1.12rem;
}

.detail-grid,
.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.recipe-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fffaf6;
}

.recipe-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center 62%;
  background: var(--preview-bg);
}

.recipe-card-copy {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.recipe-card h3,
.setup-steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
  line-height: 1.25;
}

.recipe-card p,
.setup-steps p {
  margin: 0;
}

.setup {
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid #ead9c8;
  border-radius: 1rem;
  background: #f8efe6;
}

.setup-steps {
  margin: 1.5rem 0 0;
  padding-inline-start: 0;
  list-style: none;
}

.setup-steps li {
  display: grid;
  align-content: start;
  justify-items: start;
}

.step-number {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  place-items: center;
  border-radius: 50%;
  background: #f7ddc8;
  color: var(--accent-hover);
  font-size: 0.88rem;
  font-weight: 750;
}

.setup + .faq {
  border-top: 0;
}

.faq h2 {
  margin-bottom: 1.25rem;
}

.faq details {
  max-width: 50rem;
  border-block-end: 1px solid var(--line);
}

.faq details:first-of-type {
  border-block-start: 1px solid var(--line);
}

.faq summary {
  padding-block: 0.85rem;
  cursor: pointer;
  font-weight: 680;
}

.faq summary::marker {
  color: var(--accent);
}

.faq details p {
  margin: 0 0 0.95rem;
}

.faq-contact {
  margin: 1.25rem 0 0;
  overflow-wrap: anywhere;
}

.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.content {
  max-width: 44rem;
  padding-block: clamp(2.75rem, 7.5vw, 5.75rem);
  overflow-wrap: anywhere;
}

.content h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 5.5vw, 3.55rem);
}

.content h2 {
  margin: 2.2rem 0 0.4rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.content h3 {
  margin: 1.2rem 0 0.35rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.content p,
.content ol {
  margin: 0 0 1rem;
}

.content ol {
  padding-inline-start: 1.55rem;
}

.content li + li {
  margin-top: 0.35rem;
}

.intro {
  color: var(--muted);
  font-size: 1.15rem;
}

.content code {
  padding: 0.15em 0.3em;
  border-radius: 0.3rem;
  background: #eee7df;
  font-size: 0.9em;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  flex-wrap: wrap;
  padding-block: 1.25rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.footer-inner a {
  color: var(--ink);
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a[aria-current="page"] {
  color: var(--accent-hover);
  text-decoration: underline;
}

@media (max-width: 43rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .product-preview {
    width: min(100%, 23rem);
    margin-inline: auto;
    padding-inline: 1.6rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .features li {
    justify-content: flex-start;
  }

  .features li + li {
    border-left: 0;
  }

  .detail-grid,
  .setup-steps {
    grid-template-columns: 1fr;
  }

  .setup-steps {
    gap: 1.35rem;
  }
}

@media (max-width: 24rem) {
  .header-inner {
    gap: 0.75rem;
  }

  .brand img {
    width: 2rem;
    height: 2rem;
  }

  .header-inner .install {
    padding-inline: 0.65rem;
    font-size: 0.875rem;
  }
}
