:root {
  --ink: #142033;
  --muted: #667085;
  --paper: #fffdf9;
  --sand: #fff8ed;
  --sand-2: #f7ead7;
  --line: #e7d7bf;
  --gold: #a9761f;
  --red: #d9341b;
  --red-dark: #b92312;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(92, 55, 20, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1180px;
  --wide: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #245cda;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(80, 50, 22, 0.08);
}

.header-inner,
.section-inner,
.footer-inner,
.download-panel-inner,
.quick-facts-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand img,
.footer-brand img {
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(154, 92, 18, 0.18);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: #3f4652;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  justify-self: end;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary,
.header-download {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 26px rgba(217, 52, 27, 0.25);
}

.button-primary:hover,
.header-download:hover {
  background: var(--red-dark);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: #c98469;
}

.button-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.hero-inner {
  width: min(100%, 1500px);
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.12fr);
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  max-width: none;
  padding: 64px 52px 64px max(44px, calc((min(100vw, 1500px) - var(--content)) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 480px;
  margin-bottom: 22px;
  font-size: clamp(52px, 5.1vw, 78px);
  line-height: 0.98;
  font-weight: 700;
}

h1 span {
  display: block;
  color: var(--red);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 480px;
  margin-bottom: 24px;
  color: #394254;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .button-primary {
  min-height: 62px;
  padding-inline: 30px;
  font-size: 18px;
}

.download-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.download-note strong {
  color: var(--ink);
}

.hero-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-art picture,
.hero-art img {
  width: 100%;
  height: 100%;
}

.hero-art img {
  object-fit: cover;
  object-position: 60% center;
}

.quick-facts {
  background: #f3e1c4;
  border-top: 1px solid #e1c89f;
  border-bottom: 1px solid #e1c89f;
}

.quick-facts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-facts-inner > div {
  min-height: 116px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #d7bc90;
}

.quick-facts-inner > div:first-child {
  border-left: 1px solid #d7bc90;
}

.quick-facts dt {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 700;
}

.quick-facts dd {
  margin: 0;
  color: #6e6255;
  font-size: 13px;
  line-height: 1.45;
}

.section {
  padding: 100px 0;
}

.section-inner.wide {
  width: min(calc(100% - 40px), var(--wide));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.install-section {
  background: var(--paper);
}

.install-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.install-steps li {
  position: relative;
  min-height: 240px;
  padding: 42px 36px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-content: start;
  border-right: 1px solid var(--line);
}

.install-steps li:last-child {
  border-right: 0;
}

.step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
}

.install-steps p,
.details-grid p,
.promo-card p {
  color: var(--muted);
}

.install-help {
  margin-top: 26px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--sand);
  border-left: 4px solid var(--gold);
}

.install-help p {
  margin-bottom: 0;
  color: var(--muted);
}

.promo-section {
  background: var(--sand);
  border-top: 1px solid #f0dfc3;
  border-bottom: 1px solid #f0dfc3;
}

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

.promo-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #ebdcc5;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(90, 57, 24, 0.08);
}

.promo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 38%;
}

.promo-card-body {
  padding: 24px;
}

.promo-label {
  margin-bottom: 7px;
  color: var(--red) !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.promo-card-body p:last-child {
  margin-bottom: 0;
}

.details-section {
  background: var(--paper);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.details-grid article {
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  position: relative;
  padding: 13px 0 13px 22px;
  color: var(--muted);
  border-top: 1px solid #eee3d3;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.about-section {
  background: #f1dfc4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 80px;
  align-items: center;
}

.about-grid > div > p:not(.eyebrow) {
  color: #554d43;
  font-size: 17px;
}

.responsible-note {
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.responsible-note strong {
  display: block;
  margin-bottom: 14px;
  color: #ffd9a3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.responsible-note p {
  margin-bottom: 0;
  color: #d5dbe4;
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 84px;
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 42px 25px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 20px;
  color: var(--red);
  font-size: 26px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  margin-bottom: 24px;
  color: var(--muted);
}

.download-panel {
  padding: 74px 0;
  color: var(--white);
  background: var(--ink);
}

.download-panel-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.download-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 50px);
}

.download-panel p:last-child {
  margin-bottom: 0;
  color: #cbd3df;
}

.site-footer {
  padding: 38px 0 112px;
  color: #4e5665;
  background: #efe2d1;
  border-top: 1px solid #dbc7aa;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  font-size: 13px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.mobile-download {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 14px;
  width: min(calc(100% - 28px), 520px);
  min-height: 72px;
  padding: 10px 10px 10px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(20, 32, 51, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(20, 32, 51, 0.3);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.mobile-download span {
  display: flex;
  flex-direction: column;
  color: var(--white);
  line-height: 1.25;
}

.mobile-download small {
  color: #c5cbd5;
}

.mobile-download .button {
  min-height: 50px;
  padding-inline: 22px;
}

.download-status {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.download-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero-inner {
    grid-template-columns: minmax(340px, 0.9fr) minmax(460px, 1.1fr);
    min-height: 590px;
  }

  .hero-copy {
    padding-left: 40px;
  }

  .quick-facts-inner > div {
    padding-inline: 20px;
  }

  .promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    height: 68px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-download {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    width: 100%;
    justify-self: stretch;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(43, 28, 12, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee3d3;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
    padding: 64px 32px 38px;
  }

  .hero-art {
    min-height: 440px;
  }

  .hero-art img {
    object-position: 64% center;
  }

  .quick-facts-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts-inner > div:nth-child(2) {
    border-right: 0;
  }

  .quick-facts-inner > div:nth-child(n + 3) {
    border-top: 1px solid #d7bc90;
  }

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

  .install-steps li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .install-steps li:last-child {
    border-bottom: 0;
  }

  .about-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mobile-download {
    display: flex;
  }

  .download-status {
    right: 14px;
    bottom: 100px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-inner,
  .section-inner,
  .footer-inner,
  .download-panel-inner,
  .quick-facts-inner,
  .section-inner.wide {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero-copy {
    padding: 48px 22px 34px;
  }

  h1 {
    font-size: clamp(45px, 14.5vw, 66px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-art img {
    object-position: 64% center;
  }

  .quick-facts-inner {
    grid-template-columns: 1fr;
  }

  .quick-facts-inner > div,
  .quick-facts-inner > div:first-child,
  .quick-facts-inner > div:nth-child(2) {
    min-height: 94px;
    padding: 20px 8px;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #d7bc90;
  }

  .quick-facts-inner > div:first-child {
    border-top: 0;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .install-steps li {
    padding: 28px 18px;
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }

  .step-number {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  .install-help {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .promo-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    gap: 18px;
  }

  .promo-card img {
    aspect-ratio: 16 / 9;
  }

  .details-grid article {
    padding: 28px 22px;
  }

  .about-grid {
    gap: 34px;
  }

  .responsible-note {
    padding: 28px 24px;
  }

  .faq-list summary {
    font-size: 17px;
  }

  .download-panel {
    padding: 58px 0 132px;
  }

  .download-panel-inner {
    display: grid;
    gap: 28px;
  }

  .download-panel .button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 118px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 20px);
  }

  .brand span {
    display: none;
  }

  .hero-copy {
    padding-inline: 18px;
  }

  h1 {
    font-size: 43px;
  }

  .mobile-download {
    width: calc(100% - 18px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .mobile-download,
  .download-status,
  .hero-actions,
  .download-panel {
    display: none !important;
  }
}
