/* ==========================================================================
   Mnum — PureLeaf theme
   Persian (RTL) · Vazirmatn · light default, dark via html.dark
   MIT License · © MehrAfzar TD LTD
   ========================================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --surface2: #F2F0EA;
  --border: #E5E7EB;
  --accent: #F26D3D;
  --accent2: #0F3D36;
  --accent-text: #C2491C;          /* orange that passes contrast on text */
  --accent-glow: rgba(242, 109, 61, 0.18);
  --text: #1F2937;
  --muted: #6B7280;
  --danger: #B42318;

  --btn-bg: #0F3D36;
  --btn-fg: #FAF9F6;
  --logo-arch: #0F3D36;
  --shadow: 0 1px 2px rgba(15, 61, 54, 0.06), 0 12px 32px rgba(15, 61, 54, 0.08);

  --font-display: 'Vazirmatn', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Vazirmatn', system-ui, 'Segoe UI', Tahoma, sans-serif;

  --radius: 18px;
  --max-w: 760px;
  --max-w-wide: 1100px;
  --nav-h: 68px;

  color-scheme: light;
}

html.dark {
  --bg: #0A2420;
  --surface: #0F332D;
  --surface2: #134039;
  --border: #1E4D45;
  --accent: #F26D3D;
  --accent2: #8FD3BD;
  --accent-text: #FF8A5C;
  --accent-glow: rgba(242, 109, 61, 0.22);
  --text: #F3F1EA;
  --muted: #A9BDB8;
  --danger: #FF8A7A;

  --btn-bg: #F26D3D;
  --btn-fg: #0A1F1B;
  --logo-arch: #FAF9F6;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);

  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s, color 0.25s;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -70px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--max-w-wide); margin-inline: auto; padding-inline: 24px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
@supports (background: color-mix(in srgb, red, blue)) {
  .nav {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}

.nav-inner {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  height: var(--nav-h);
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}
.brand-mark { width: 30px; height: 30px; --mark-arch: var(--logo-arch); }

.nav-links { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface2); }
.nav-links a.active { color: var(--text); background: var(--surface2); font-weight: 700; }
.nav-mobile-only { display: none; }

.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

.icon-btn, .nav-hamburger {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover, .nav-hamburger:hover { border-color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
html.dark .icon-sun { display: block; }
html.dark .icon-moon { display: none; }

.nav-hamburger { display: none; flex-direction: column; gap: 4px; justify-content: center; align-items: center; }
.nav-hamburger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; border-radius: 12px; }

/* ---------- Power line (signature divider) ---------- */
.power-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0.75;
  box-shadow: 0 0 18px 2px var(--accent-glow);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0F3D36;
  color: #FAF9F6;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 36, 32, 0) 0%, rgba(10, 36, 32, 0.3) 55%, rgba(10, 36, 32, 0.8) 100%);
}
.hero-pattern { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }

/* If a photo is ever placed inside .hero-bg, it must fill the hero (global img reset would otherwise fight it) */
.hero-bg img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.hero-content {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 109, 61, 0.35);
  background: rgba(242, 109, 61, 0.12);
  color: #FFB08F;
  font-size: 0.88rem;
  font-weight: 600;
}
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  line-height: 1.35;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin: 0; max-width: 34em; font-size: 1.1rem; line-height: 2.05; color: rgba(250, 249, 246, 0.84); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn-primary { background: var(--accent); color: #0A1F1B; }
.hero .btn-ghost { color: #FAF9F6; border-color: rgba(250, 249, 246, 0.38); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #FAF9F6; }

/* Hero visual: phone mockup + QR table tent */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 540px; }

.phone {
  position: relative;
  width: 264px;
  height: 528px;
  padding: 10px;
  border-radius: 42px;
  background: #071A17;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  animation: float 7s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 18px;
  inset-inline: 0;
  margin-inline: auto;
  z-index: 2;
  width: 84px;
  height: 22px;
  border-radius: 12px;
  background: #071A17;
}
.phone-screen {
  height: 100%;
  padding: 46px 14px 14px;
  border-radius: 32px;
  background: #FAF9F6;
  color: #1F2937;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.ph-head { display: flex; align-items: center; justify-content: space-between; }
.ph-title { font-weight: 800; font-size: 15px; color: #0F3D36; }
.ph-mark { width: 22px; height: 22px; --mark-arch: #0F3D36; }
.ph-chips { display: flex; gap: 6px; }
.ph-chips span { padding: 4px 10px; border-radius: 999px; background: #EFEDE6; color: #6B7280; font-size: 11px; font-weight: 600; }
.ph-chips .on { background: #0F3D36; color: #FAF9F6; }
.ph-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid #E5E7EB; }
.ph-thumb { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.ph-thumb.t1 { background: linear-gradient(135deg, #C9A27E, #8B5E3C); }
.ph-thumb.t2 { background: linear-gradient(135deg, #F2C6B4, #E08E73); }
.ph-thumb.t3 { background: linear-gradient(135deg, #B7D3C2, #6FA58A); }
.ph-thumb.t4 { background: linear-gradient(135deg, #E9D8B4, #C9A862); }
.ph-thumb.t5 { background: linear-gradient(135deg, #D8C3E0, #A77DBA); }
.ph-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ph-info b { font-size: 12.5px; }
.ph-info small { color: #6B7280; font-size: 10.5px; }
.ph-price { color: #C2491C; font-weight: 800; font-size: 12px; white-space: nowrap; }

.tent {
  position: absolute;
  inset-inline-end: -6px;
  bottom: 40px;
  width: 150px;
  padding: 16px 14px 12px;
  border-radius: 16px;
  background: #fff;
  color: #1F2937;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.7;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  transform: rotate(-6deg);
  animation: float2 8s ease-in-out infinite;
}
.tent::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 16px;
  width: 14px;
  height: 22px;
  background: #F26D3D;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}
.tent .qr { width: 100%; height: auto; margin-bottom: 6px; fill: #0F3D36; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float2 { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(8px); } }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-strip-inner {
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-item { text-align: center; padding: 4px 8px; border-inline-start: 1px solid var(--border); }
.stat-item:first-child { border-inline-start: 0; }
.stat-item-value { display: block; font-size: 1.35rem; font-weight: 800; color: var(--accent2); line-height: 1.6; }
.stat-item-label { display: block; margin-top: 2px; font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ---------- Sections ---------- */
[hidden] { display: none !important; }

.section { padding: 88px 0; }
.section-alt { background: var(--surface2); border-block: 1px solid var(--border); }
.section-header { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-eyebrow { display: inline-block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 700; color: var(--accent-text); }
.section-title { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.5; }
.section-lead { margin: 14px 0 0; color: var(--muted); line-height: 2; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-num { width: 44px; height: 44px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 14px; background: var(--btn-bg); color: var(--btn-fg); font-size: 1.15rem; font-weight: 800; }
.step h3 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.6; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.9; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.feature:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 30px var(--accent-glow); }
.feature-icon { width: 48px; height: 48px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-glow); color: var(--accent-text); }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.6; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.9; }

/* Demo band */
.demo-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 60px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0F3D36, #0B2E29);
  color: #FAF9F6;
  text-align: center;
}
.demo-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -50px;
  top: -30px;
  width: 280px;
  height: 280px;
  border: 46px solid rgba(255, 255, 255, 0.05);
  border-bottom: 0;
  border-radius: 140px 140px 0 0;
}
.demo-band .section-eyebrow { color: #FFB08F; }
.demo-band h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; }
.demo-band p { margin: 0 auto 28px; max-width: 34em; color: rgba(250, 249, 246, 0.82); line-height: 2; }
.demo-band .btn-primary { background: var(--accent); color: #0A1F1B; }

/* Pricing */
.price-card {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  padding: 48px 36px 36px;
  border-radius: 24px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.price-card::before {
  content: "";
  position: absolute;
  top: -1.5px;
  inset-inline-end: 36px;
  width: 30px;
  height: 52px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.price-amount { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.4; color: var(--accent2); }
.price-note { margin: 6px 0 26px; font-size: 0.88rem; color: var(--muted); }
.price-list { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; text-align: start; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.8; }
.price-list li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
}
.price-card .btn-primary { width: 100%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-intro .section-eyebrow { margin-bottom: 8px; }
.contact-intro .section-title { text-align: start; }
.contact-intro .section-lead { max-width: 28em; }
.contact-meta { margin-top: 28px; display: grid; gap: 6px; font-size: 0.95rem; line-height: 1.9; color: var(--muted); }
.contact-meta strong { color: var(--text); }
.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.contact-link:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 12px 26px var(--accent-glow); }
.contact-label { font-weight: 700; }
.contact-value { color: var(--muted); font-size: 0.95rem; }

/* ---------- Blog ---------- */
.page-header { max-width: var(--max-w-wide); margin-inline: auto; padding: 72px 24px 40px; text-align: center; }
.page-header h1 { margin: 8px 0 12px; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.4; }
.page-header p { max-width: 36em; margin: 0 auto; color: var(--muted); line-height: 2; }
.page-body { max-width: var(--max-w-wide); margin-inline: auto; padding: 24px 24px 96px; }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.posts-grid .loading, .posts-grid .load-error { grid-column: 1 / -1; }
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 36px var(--accent-glow); }
.post-card-image { aspect-ratio: 16 / 9; background: var(--surface2); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-art {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0F3D36, #0B2E29);
}
.post-card-art::before {
  content: "";
  position: absolute;
  inset-inline-start: -30px;
  bottom: -50px;
  width: 170px;
  height: 170px;
  border: 30px solid rgba(255, 255, 255, 0.05);
  border-bottom: 0;
  border-radius: 85px 85px 0 0;
}
.post-card-art svg { width: 54px; height: 54px; --mark-arch: #FAF9F6; }
.post-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.post-card-cat { font-size: 0.82rem; font-weight: 700; color: var(--accent-text); }
.post-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.7; }
.post-card p { flex: 1; margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.9; }
.post-card time { font-size: 0.85rem; color: var(--muted); }

/* ---------- Article ---------- */
.article-header { max-width: var(--max-w); margin-inline: auto; padding: 64px 24px 28px; }
.article-cat { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--accent-glow); color: var(--accent-text); font-size: 0.82rem; font-weight: 700; }
.article-header h1 { margin: 16px 0 12px; font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 800; line-height: 1.55; }
.article-meta { color: var(--muted); font-size: 0.92rem; }

.article-hero-wrap { width: 100%; box-sizing: border-box; max-width: var(--max-w-wide); margin: 0 auto 32px; padding-inline: 24px; }
.article-hero-image { aspect-ratio: 21 / 9; overflow: hidden; border-radius: 20px; background: var(--surface2); }
.article-hero-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.article-body { max-width: var(--max-w); margin-inline: auto; padding: 0 24px 40px; }
.article-content { font-size: 1.08rem; line-height: 2.1; }
.article-content p { margin: 0 0 1.3em; }
.article-content h2 { position: relative; margin: 2em 0 0.7em; padding-inline-start: 18px; font-size: 1.45rem; line-height: 1.6; }
.article-content h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.3em; width: 5px; height: 1.1em; border-radius: 3px; background: var(--accent); }
.article-content ul { margin: 0 0 1.4em; padding-inline-start: 1.5em; }
.article-content li { margin: 0.4em 0; }
.article-content li::marker { color: var(--accent); }
.article-figure { margin: 2em 0; }
.article-figure img { width: 100%; border-radius: 16px; }
.article-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 0.88rem; text-align: center; }

.article-cta { max-width: var(--max-w); margin: 24px auto 96px; padding-inline: 24px; }
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-box strong { display: block; font-size: 1.1rem; line-height: 1.7; }
.cta-box span { color: var(--muted); font-size: 0.95rem; }
.back-link { display: inline-block; margin-top: 22px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--accent-text); }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 28px; background: #0A2B26; color: rgba(250, 249, 246, 0.8); }
.footer-inner { max-width: var(--max-w-wide); margin-inline: auto; padding-inline: 24px; display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { color: #FAF9F6; }
.footer .brand-mark { --mark-arch: #FAF9F6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: inherit; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; border-top: 1px solid rgba(250, 249, 246, 0.12); font-size: 0.88rem; }

/* ---------- States & animation ---------- */
.loading { padding: 48px 0; text-align: center; color: var(--muted); animation: pulse 1.4s ease-in-out infinite; }
.load-error { padding: 32px 0; text-align: center; color: var(--danger); }
.fade-in { animation: fadeIn 0.5s ease both; }

@keyframes pulse { 50% { opacity: 0.4; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    inset-inline: 0;
    top: var(--nav-h);
    margin: 0;
    padding: 12px 16px 20px;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
  .nav-hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 56px 20px 64px; }
  .hero-visual { min-height: 520px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat-item { border-inline-start: 0; }
  .section { padding: 64px 0; }
  .demo-band { padding: 44px 24px; }
}

@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-mobile-only { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .price-card { padding: 44px 22px 28px; }
}

@media (max-width: 480px) {
  .tent { width: 128px; inset-inline-end: 0; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
