:root {
  --bg: #f5efe4;
  --paper: rgba(255, 251, 245, 0.84);
  --card: rgba(255, 248, 238, 0.92);
  --text: #1b130d;
  --muted: #695646;
  --line: rgba(72, 43, 21, 0.12);
  --accent: #b6562d;
  --accent-strong: #8f3e1d;
  --accent-soft: #f2d5b7;
  --shadow: 0 24px 60px rgba(71, 42, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 185, 129, 0.48), transparent 28%),
    radial-gradient(circle at top right, rgba(193, 111, 75, 0.18), transparent 30%),
    linear-gradient(180deg, #fbf6ee 0%, var(--bg) 48%, #efe5d6 100%);
  font-family: "Outfit", sans-serif;
}

code {
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(182, 86, 45, 0.1);
  color: var(--accent-strong);
  font-family: inherit;
  font-size: 0.96em;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero {
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 28px;
}

.brand {
  font-family: "Noto Serif SC", serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 36px 0 60px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.download-card h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  line-height: 1.14;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #fff8f0;
  box-shadow: 0 12px 30px rgba(182, 86, 45, 0.22);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: rgba(143, 62, 29, 0.15);
  background: rgba(255, 252, 247, 0.7);
}

.button-wide {
  width: 100%;
  margin-top: 10px;
}

.hero-points,
.card-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.card-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.hero-points li::before,
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card,
.feature-card,
.step-card,
.download-card,
.faq-item {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  border-radius: 28px;
  backdrop-filter: blur(10px);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-card h2 {
  margin: 18px 0 0;
  font-size: 1.9rem;
}

.mini-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mini-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.mini-value {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.section {
  padding: 80px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
}

.single-line-title {
  white-space: nowrap;
}

.feature-grid,
.step-list,
.faq-list {
  display: grid;
  gap: 18px;
}

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

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

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.step-card,
.faq-item {
  padding: 24px;
  border-radius: 24px;
}

.feature-card h3,
.step-card h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.feature-card p,
.step-card p,
.faq-item p,
.download-text,
.install-note,
.install-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.step-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
}

.download-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
}

.download-text {
  margin-top: 12px;
}

.download-meta {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid rgba(72, 43, 21, 0.09);
}

.download-meta p {
  margin: 0 0 10px;
  color: var(--muted);
}

.install-list {
  margin: 0;
  padding-left: 22px;
}

.install-list li {
  margin-top: 10px;
  padding-left: 4px;
}

.install-note {
  margin-top: 18px;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.install-copy .section-heading {
  margin-bottom: 22px;
}

.install-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.install-shot {
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.78);
  box-shadow: var(--shadow);
}

.install-shot-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.install-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.image-lightbox {
  width: min(92vw, 1280px);
  max-height: 92vh;
  padding: 20px;
  border: 0;
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.96);
  box-shadow: 0 24px 80px rgba(19, 13, 8, 0.22);
}

.image-lightbox::backdrop {
  background: rgba(27, 19, 13, 0.52);
  backdrop-filter: blur(4px);
}

.image-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 40px);
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.92);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.footer {
  padding: 72px 0 24px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .download-card,
  .feature-grid,
  .step-list,
  .faq-list,
  .install-layout,
  .install-gallery {
    grid-template-columns: 1fr;
  }

  .single-line-title {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 16px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
  }

  .topbar-links {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero-grid {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .hero-card,
  .feature-card,
  .step-card,
  .faq-item,
  .download-card {
    border-radius: 22px;
  }

  .section {
    padding-top: 64px;
  }
}
