:root {
  --bg: #fbf7f2;
  --bg-2: #fffdf9;
  --ink: #1a1210;
  --muted: #5c5148;
  --line: rgba(26, 18, 16, 0.12);
  --accent: #de1122;
  --cta: #de1122;
  --cta-ink: #fff;
  --chip: #2a1810;
  --header-h: 56px;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Hiragino Sans", "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

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

a, button { touch-action: manipulation; }

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 80;
}
.skip-link:focus { inset-inline-start: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: rgba(251, 247, 242, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 24px, 720px);
  margin-inline: auto;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; }

.brand-mark {
  width: 148px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 12px;
  border: 1.5px solid #2a1810;
  border-radius: 999px;
  background: #fff;
  color: #2a1810;
  cursor: pointer;
}

.lang-btn img { width: 18px; height: 18px; }

.lang-btn-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

#lang-code { font-size: 12px; font-weight: 800; }
.lang-btn-label { font-size: 10px; font-weight: 650; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 750;
  border: 0;
  text-align: center;
}

.btn-header {
  min-height: 44px;
  padding: 8px 14px;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 14px;
}

.btn-primary {
  width: 100%;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 17px;
}

.hero {
  width: min(100%, 720px);
  margin-inline: auto;
  min-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top));
  display: flex;
  flex-direction: column;
  padding-inline: 16px;
}

.hero-visual {
  margin-inline: -16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #eadfd0;
  border-radius: 0 0 22px 22px;
}

.hero-visual img {
  width: 100%;
  height: min(38dvh, 280px);
  object-fit: cover;
  object-position: center 18%;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 7.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.accent {
  display: inline-block;
  padding: 0 7px 1px;
  border-radius: 8px;
  background: var(--cta);
  color: #fff;
}

.lede {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.hero-note {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.proof-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-row li {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 4px;
  border-radius: 12px;
  background: var(--chip);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-peek {
  margin-top: auto;
  padding: 12px 12px 22px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-bottom: 0;
}

.peek-kicker,
.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.peek-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.peek-cards span {
  min-height: 52px;
  border-radius: 12px;
  background: #f0e6dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px;
  text-align: center;
}

.peek-cards b {
  color: var(--accent);
  font-size: 13px;
}

.peek-cards em {
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  color: var(--ink);
}

.peek-more {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.panel {
  width: min(100% - 32px, 720px);
  margin: 0 auto 18px;
  padding: 18px 16px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.section-lede,
.panel p { margin: 0 0 12px; color: var(--muted); }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.steps li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #f6efe6;
}

.steps strong { font-size: 16px; }
.steps span { color: var(--muted); font-size: 14px; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.tag-row li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #2a1810;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.cond-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cond-grid li {
  padding: 12px;
  border-radius: 12px;
  background: #f6efe6;
  font-size: 14px;
}

.store-list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.store-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #f6efe6;
}

.store-list a { color: var(--accent); font-weight: 700; text-decoration: none; }

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 700;
}

.honesty ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.honesty li + li { margin-top: 8px; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq p { margin: 8px 0 0; }

.final .text-link { display: block; }

.site-footer {
  width: min(100% - 32px, 720px);
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 12px;
}

.sticky-action {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px max(12px, env(safe-area-inset-bottom));
  background: rgba(251, 247, 242, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.sticky-action[hidden] { display: none; }

.lang-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.45);
}

.lang-backdrop[hidden],
.lang-sheet[hidden] { display: none; }

.lang-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 12px 16px max(20px, env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 18px 18px 0 0;
}

.lang-sheet-title { margin: 4px 0 10px; text-align: center; font-weight: 700; }

.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lang-option {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #f6efe6;
  color: var(--ink);
  cursor: pointer;
}

.lang-option[aria-current="true"] {
  background: var(--cta);
  color: #fff;
}

[dir="rtl"] .lang-btn-copy { align-items: flex-end; }
[dir="rtl"] .honesty ul { padding-left: 0; padding-right: 18px; }

body.lang-open { overflow: hidden; }
body.lang-open .sticky-action { display: none; }

@media (max-width: 359px) {
  .lang-btn-label { display: none; }
  .brand-mark { width: 120px; }
  .hero-visual img { height: min(32dvh, 210px); }
}

@media (min-width: 720px) {
  .hero .btn-primary,
  .final .btn-primary {
    width: auto;
    min-width: 280px;
  }
  .hero-visual {
    margin: 12px 0 16px;
    border-radius: 22px;
  }
}
