:root {
  --bg: #f7f1e7;
  --surface: #fffaf2;
  --surface-strong: #f2e7d6;
  --text: #241d17;
  --muted: #6a5d50;
  --accent: #8a5518;
  --accent-strong: #6f4310;
  --border: #dfcfbb;
  --shadow: 0 18px 40px rgba(74, 49, 22, 0.08);
  --content-width: 1120px;
  --radius: 22px;
  --font-body: "Trebuchet MS", "Segoe UI", Verdana, Arial, sans-serif;
  --font-head: "Trebuchet MS", "Segoe UI", Verdana, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 178, 119, 0.18), transparent 34%),
    linear-gradient(180deg, #fcf8f1 0%, var(--bg) 100%);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; display: block; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header, .site-footer { background: rgba(255, 250, 242, 0.92); backdrop-filter: blur(12px); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(223, 207, 187, 0.85); }
.site-width { width: min(var(--content-width), calc(100% - 32px)); margin: 0 auto; }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-row { padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand__mark {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: linear-gradient(160deg, #8a5518 0%, #be8a4c 100%);
  color: #fff9f1; font-weight: 700; font-size: 20px; box-shadow: var(--shadow);
}
.brand__text strong { display: block; font-size: 18px; }
.brand__text span { display: block; color: var(--muted); font-size: 13px; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 20px; }
.nav a { color: var(--muted); font-size: 14px; }
.nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
.main { flex: 1; padding: 32px 0 56px; }
.hero, .panel, .faq-item, .support-card, .howto-step, .story-block {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(223, 207, 187, 0.6);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(74, 49, 22, 0.06);
}
.hero { display: grid; gap: 20px; grid-template-columns: 1fr; padding: 38px; }
.eyebrow {
  display: inline-block; padding: 8px 12px; margin-bottom: 12px; border-radius: 999px;
  background: rgba(138, 85, 24, 0.12); color: var(--accent-strong); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
h1, h2, h3 { margin: 0 0 14px; font-family: var(--font-head); line-height: 1.1; }
h1 { font-size: clamp(44px, 5vw, 62px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 28px; font-weight: 800; }
p, li { line-height: 1.82; color: var(--text); font-size: 18px; }
.lede { font-size: 21px; color: var(--muted); max-width: 62ch; line-height: 1.82; }
.hero__actions, .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.button, .button-secondary {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 18px;
  border-radius: 12px; font-weight: 700; transition: transform 120ms ease, background-color 120ms ease;
}
.button { background: var(--accent); color: #fff9f1; }
.button:hover { background: var(--accent-strong); color: #fff9f1; }
.button-secondary { background: rgba(138, 85, 24, 0.1); color: var(--accent-strong); }
.button-secondary:hover { background: rgba(138, 85, 24, 0.16); }
.button:hover, .button-secondary:hover { transform: translateY(-1px); }
.stats, .feature-grid, .panel-grid, .support-grid, .howto-grid, .faq-grid { display: grid; gap: 18px; }
.stats { grid-template-columns: 1fr; }
.stat, .feature-card, .faq-item, .support-card, .howto-step, .story-block { padding: 22px; }
.stat strong, .feature-card strong { display: block; margin-bottom: 10px; font-size: 21px; }
.feature-grid, .panel-grid, .faq-grid, .support-grid, .howto-grid { grid-template-columns: 1fr; }
.section { margin-top: 28px; }
.section-header { margin-bottom: 16px; }
.section-header p { color: var(--muted); max-width: 70ch; }
.shot { padding: 20px; background: linear-gradient(180deg, rgba(255, 252, 247, 0.86) 0%, rgba(244, 233, 216, 0.9) 100%); border: 1px solid rgba(223, 207, 187, 0.6); border-radius: 18px; }
.shot__frame {
  aspect-ratio: 16 / 10; border-radius: 16px; border: 1px dashed rgba(138, 85, 24, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0%, rgba(242, 231, 214, 0.88) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--muted); text-align: center; padding: 22px; font-size: 18px; line-height: 1.7;
}
.shot__frame--image {
  padding: 0;
  overflow: hidden;
  border-style: solid;
}
.shot__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.faq-item h3 { margin-bottom: 10px; font-size: 24px; }
.footer-row { align-items: flex-start; padding: 28px 0 34px; }
.footer-copy { max-width: 38ch; }
.footer-copy p, .footer-meta p, .page-hero p { color: var(--muted); margin: 10px 0 0; }
.footer-links { display: grid; gap: 8px; min-width: 180px; }
.footer-meta { text-align: right; }
.page-hero { padding: 28px 0 14px; }
.page-stack { display: grid; gap: 18px; }
.callout { border-left: 4px solid var(--accent); padding-left: 16px; color: var(--muted); }
.badge-list {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 18px 0 0;
}
.badge-list li {
  padding: 8px 12px; border-radius: 999px; background: rgba(138, 85, 24, 0.1);
  color: var(--accent-strong); font-size: 14px; font-weight: 700;
}
.support-list { list-style: none; padding: 0; margin: 16px 0 0; }
.support-list li { margin-top: 10px; }
code { padding: 2px 6px; border-radius: 6px; background: rgba(138, 85, 24, 0.1); font-family: Consolas, monospace; }
.flow-layout {
  display: grid;
  gap: 18px;
}

.feature-showcase {
  display: grid;
  gap: 18px;
}

.feature-showcase__item {
  padding: 22px;
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(223, 207, 187, 0.6);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(74, 49, 22, 0.06);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 22px;
  align-items: center;
}

.feature-row--reverse {
  grid-template-columns: 1fr minmax(240px, 320px);
}

.feature-row__visual {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  border: 1px dashed rgba(138, 85, 24, 0.2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0%, rgba(242, 231, 214, 0.88) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  padding: 20px;
  font-size: 16px;
  line-height: 1.7;
}
.feature-row__visual--image {
  padding: 0;
  overflow: hidden;
  border-style: solid;
}
.feature-row__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.feature-row__highlight {
  position: absolute;
  top: 16%;
  right: 10%;
  width: 56%;
  height: 14%;
  border: 3px solid #cf7f1c;
  border-radius: 14px;
  box-shadow: 0 0 0 8px rgba(207, 127, 28, 0.16);
}

.feature-row__highlight--hidden {
  display: none;
}

.feature-row__content h3 {
  margin-bottom: 10px;
}

.media-text {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: start;
}

.media-text--reverse {
  grid-template-columns: 1fr minmax(280px, 420px);
}

.media-text__media,
.media-text__content {
  min-width: 0;
}

@media (max-width: 900px) {
  .media-text,
  .media-text--reverse,
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .hero, .feature-grid, .panel-grid, .faq-grid, .support-grid, .howto-grid, .stats { grid-template-columns: 1fr; }
  .header-row, .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
  .site-width { width: min(var(--content-width), calc(100% - 20px)); }
  .main { padding-top: 18px; }
  .hero, .panel, .faq-item, .support-card, .howto-step, .story-block { padding: 18px; }
  .nav { justify-content: flex-start; }
}
