/* ============================================================
   QAYEMA — landing styles
   Bone-white / full-black themes · gold accent · RTL-first
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
/* Arabic typography */
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="ar"] .display { font-family: var(--font-ar); font-style: normal !important; font-weight: 500; letter-spacing: 0 !important; }
/* Force El Messiri on all text + form controls for Arabic (controls don't inherit
   font-family; :where keeps specificity 0 so intentional class fonts still win). */
html[lang="ar"] :where(h1,h2,h3,h4,h5,h6,p,span,a,li,label,input,textarea,button,select,blockquote,figcaption) { font-family: var(--font-ar); }
/* Arabic: render all text bold (requested) */
html[lang="ar"] * { font-weight: 700 !important; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: #141109; }

/* grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: var(--noise-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.display { font-family: var(--font-display); font-weight: 400; font-style: normal; }
.gold-text { color: var(--gold-on); }
.mono-label {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold-on);
}
html[lang="ar"] .mono-label { letter-spacing: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.eyebrow .bar { width: 26px; height: 1px; background: var(--gold); }

/* ===== Buttons ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 100px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn-gold { background: var(--gold); color: #1A1408; font-weight: 600; box-shadow: 0 8px 22px -14px rgba(233,189,102,.7); }
.btn-gold:hover { background: var(--gold-deep); box-shadow: 0 12px 28px -14px rgba(233,189,102,.8); }
html:not([lang="ar"]) .btn:hover .ico.arrow { transform: translateX(4px); }
html[lang="ar"] .btn .ico.arrow { transform: scaleX(-1); }
html[lang="ar"] .btn:hover .ico.arrow { transform: scaleX(-1) translateX(4px); }
.btn-line { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.btn-line:hover { border-color: var(--gold); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }


/* segmented toggles */
.seg {
  display: inline-flex; align-items: center; padding: 3px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--surface);
}
.seg button, .seg a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; min-width: 36px; padding: 0 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.seg a:hover { color: var(--text); }
.seg button.on, .seg a.on { color: #1A1408; background: var(--gold); }


/* ===== Hero (centered, product shot) ===== */
.hero {
  position: relative;
  padding: 150px 0 0;
  text-align: center;
  overflow: hidden;
}
/* gold line-art framing layer — separate so we can soften it per theme.
   It reads heavy on the bone background, so light mode runs it at low opacity. */
.hero::before {
  content: "";
  position: absolute;
  inset: -8%;                 /* oversized so the drift never exposes an edge */
  z-index: 0;
  pointer-events: none;
  background: url("../../assets/images/hero_bg.svg") top center / 100% auto no-repeat;
  opacity: .85;
  transform-origin: center;
  will-change: transform;
  animation: heroDrift 22s ease-in-out infinite alternate;
}
html[data-theme="light"] .hero::before { opacity: .3; }
/* slow, calm float — a gentle drift + whisper of rotation and breathing scale */
@keyframes heroDrift {
  from { transform: translate3d(-1%, 0, 0)     rotate(-0.6deg) scale(1.02); }
  to   { transform: translate3d(1%, -1.5%, 0)  rotate(0.6deg)  scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero-center { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { justify-content: center; }
.hero-blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(85px); opacity: .5; pointer-events: none; }
html[data-theme="dark"] .hero-blob { opacity: .38; }
.hero-blob.b1 { width: 460px; height: 460px; top: -130px; inset-inline-start: -120px; background: radial-gradient(circle at 35% 35%, #E0A86A, transparent 70%); }
.hero-blob.b2 { width: 540px; height: 430px; top: -70px; inset-inline-end: -150px; background: radial-gradient(circle at 60% 40%, #F8D38D, transparent 70%); }
.hero-blob.b3 { width: 340px; height: 340px; top: 210px; inset-inline-start: 6%; background: radial-gradient(circle at 50% 50%, #BE8E5A, transparent 70%); opacity: .28; }

.hero-center h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.6vw, 78px); line-height: 1.06; letter-spacing: -0.02em; color: var(--text); max-width: 22ch; }
html[lang="ar"] .hero-center h1 { font-family: var(--font-ar); line-height: 1.28; letter-spacing: 0; font-weight: 500; }
.hero-center h1 .ln { display: block; }
.hero-center h1 .it { font-style: italic; }
html[lang="ar"] .hero-center h1 .it { font-style: normal; color: var(--gold-on); }
.hero-sub { margin: 24px auto 0; max-width: 48ch; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: var(--muted); }

.hero-form { margin: 36px auto 0; display: flex; align-items: center; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; box-shadow: var(--shadow); width: min(460px, 92vw); }
.hero-form input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; outline: 0; color: var(--text); font-size: 14.5px; padding: 0 18px; }
.hero-form input::placeholder { color: var(--faint); }
.hero-form button { flex-shrink: 0; height: 44px; padding: 0 22px; border-radius: 100px; background: var(--gold); color: #1A1408; font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .25s var(--ease); }
.hero-form button:hover { background: var(--gold-deep); }

.hero-rating { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.hero-stars { display: inline-flex; gap: 2px; color: var(--gold); }
.hero-stars svg { width: 15px; height: 15px; }
.hero-rating .sep { width: 1px; height: 14px; background: var(--line); }
.hero-rating b { color: var(--text); font-weight: 600; }

.hero-shot { position: relative; z-index: 1; margin: 66px auto 0; width: min(1120px, 95vw); }
.browser { border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.bw-bar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line-2); background: var(--elevated); }
.bw-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.bw-bar .dot.r { background: #E2796B; } .bw-bar .dot.y { background: #E8C25C; } .bw-bar .dot.g { background: var(--gold-soft); }
.bw-bar .url { margin-inline-start: 16px; height: 26px; flex: 1; max-width: 340px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line-2); display: flex; align-items: center; padding: 0 14px; font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }
.bw-body { position: relative; height: 540px; overflow: hidden; background: var(--bg); }
.bw-body iframe { position: absolute; top: 0; inset-inline-start: 0; width: 1440px; height: 900px; border: 0; transform: scale(.778); transform-origin: top left; pointer-events: none; }
html[dir="rtl"] .bw-body iframe { inset-inline-start: auto; inset-inline-end: 0; transform-origin: top right; }
.bw-body::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -70px 60px -34px var(--bg); }

@keyframes heroUp { from { transform: translateY(26px); } to { transform: none; } }
.hero-center h1 { animation: heroUp .9s var(--ease) both; animation-delay: .08s; }
.hero-sub      { animation: heroUp .8s var(--ease) both; animation-delay: .24s; }
.hero-form     { animation: heroUp .7s var(--ease) both; animation-delay: .38s; }
.hero-rating   { animation: heroUp .7s var(--ease) both; animation-delay: .5s; }
.hero-shot     { animation: heroUp 1s var(--ease) both; animation-delay: .46s; }
@media (prefers-reduced-motion: reduce) {
  .hero-center h1, .hero-sub, .hero-form, .hero-rating, .hero-shot { animation: none; }
}

/* ===== Section frame ===== */
.sec { padding: 130px 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 70px; }
.sec-head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 400; }
html[lang="ar"] .sec-head h2 { line-height: 1.25; letter-spacing: 0; }
.sec-head p { margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.underline-draw { position: relative; display: inline-block; }
.underline-draw::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -.08em; height: 3px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: inline-start; }

/* ===== Problem ===== */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prob-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px 32px; min-height: 280px; display: flex; flex-direction: column; }
.prob-card .num { font-family: var(--font-display); font-size: 30px; color: var(--gold-on); margin-bottom: 64px; }
.prob-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.prob-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.prob-card .strike { margin-top: auto; padding-top: 22px; color: var(--faint); }
.prob-card .strike svg { width: 30px; height: 30px; }

/* ===== Features (clean, Shopify-style) ===== */
.features-wrap { display: flex; flex-direction: column; gap: 20px; }
.feat-lead { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; }
.feat-lead .lead-text { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.feat-lead .badge { align-self: flex-start; font-family: var(--font-sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-on); border: 1px solid var(--line); padding: 7px 13px; border-radius: 100px; margin-bottom: 26px; }
html[lang="ar"] .feat-lead .badge { letter-spacing: 0; }
.feat-lead h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.04; letter-spacing: -0.03em; }
html[lang="ar"] .feat-lead h3 { font-family: var(--font-ar); line-height: 1.25; letter-spacing: 0; }
.feat-lead p { margin: 20px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--muted); max-width: 44ch; }
.feat-lead .lead-vis { position: relative; background: var(--elevated); border-inline-start: 1px solid var(--line); display: grid; place-items: center; padding: 48px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat-cell { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; min-height: 210px; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.feat-cell:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); box-shadow: var(--shadow); }
.feat-cell .c-ic { width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-on); margin-bottom: auto; }
.feat-cell .c-ic svg { width: 21px; height: 21px; }
.feat-cell h3 { margin: 20px 0 7px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.feat-cell p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.scan-demo { position: relative; width: 100%; display: flex; gap: 16px; align-items: center; }
.scan-demo .paper, .scan-demo .digi { flex: 1; border-radius: 14px; border: 1px solid var(--line); padding: 16px; background: var(--surface); }
.scan-demo .paper { font-family: var(--font-display); }
.scan-demo .paper .pl { height: 6px; background: var(--line); border-radius: 3px; margin: 8px 0; }
.scan-demo .paper .pl.s { width: 60%; }
.scan-demo .arrow { color: var(--gold-on); flex-shrink: 0; }
.scan-demo .digi .dl { display: flex; justify-content: space-between; font-size: 10px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.scan-demo .digi .dl .p { color: var(--gold-on); }
.scan-beam { position: absolute; inset-inline: 0; height: 2px; background: var(--gold); box-shadow: 0 0 18px 3px rgba(248,211,141,.55); top: 0; opacity: .9; }

/* ===== How it works (pinned horizontal) ===== */
.how { background: #000; color: #F5F1E8; position: relative; }
.how .pin-wrap { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.how-track { display: flex; will-change: transform; }
.how-intro { flex: 0 0 100vw; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 8vw; }
.how-intro .mono-label { color: var(--gold-soft); }
.how-intro h2 { margin: 24px 0 0; font-family: var(--font-display); font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -0.03em; max-width: 14ch; }
html[lang="ar"] .how-intro h2 { font-family: var(--font-ar); line-height: 1.2; letter-spacing: 0; }
.how-intro p { margin: 26px 0 0; max-width: 44ch; font-size: 18px; line-height: 1.6; color: rgba(245,241,232,.6); }
.how-step { flex: 0 0 78vw; height: 100vh; display: flex; align-items: center; padding: 0 6vw; }
.how-card { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.how-card .idx { font-family: var(--font-display); font-size: clamp(80px, 12vw, 180px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.how-card h3 { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(30px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.02em; }
html[lang="ar"] .how-card h3 { font-family: var(--font-ar); line-height: 1.3; }
.how-card p { margin: 20px 0 0; font-size: 17px; line-height: 1.65; color: rgba(245,241,232,.62); max-width: 42ch; }
.how-card .panel { aspect-ratio: 4/3; border: 1px solid rgba(245,241,232,.12); border-radius: 22px; background: #0A0A0A; position: relative; overflow: hidden; display: grid; place-items: center; }
.how-card .panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 60% 30%, rgba(248,211,141,.16), transparent 70%); }
.how-card .panel .big-ic { color: var(--gold-soft); }
.how-card .panel .big-ic svg { width: 76px; height: 76px; }
.how-progress { position: absolute; bottom: 38px; inset-inline-start: 6vw; inset-inline-end: 6vw; height: 2px; background: rgba(245,241,232,.12); border-radius: 2px; }
.how-progress i { position: absolute; inset-inline-start: 0; top: 0; height: 100%; width: 0; background: var(--gold-grad); border-radius: 2px; }

/* ===== Templates ===== */
.tpl-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tpl-row::-webkit-scrollbar { display: none; }
.tpl-card { flex: 0 0 320px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.tpl-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--gold) 50%,var(--line)); box-shadow: var(--shadow); }
.tpl-prev { aspect-ratio: 4/3.2; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 9px; border-bottom: 1px solid var(--line-2); position: relative; }
.tpl-prev .badge { position: absolute; top: 14px; inset-inline-end: 14px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 100px; }
.tpl-prev .badge.free { background: color-mix(in srgb,var(--gold) 18%, transparent); color: var(--gold-on); }
.tpl-prev .badge.prem { background: var(--gold-grad); color: #1A1408; }
.tpl-prev .pv-rest { font-size: 18px; margin-bottom: 6px; }
.tpl-prev .pv-l { display: flex; justify-content: space-between; font-size: 10.5px; }
.tpl-prev .pv-l .p { color: var(--gold-on); }
.tpl-prev .pv-r { height: 1px; background: var(--line-2); margin: 2px 0; }
.pv-noir { background: #0A0A0A; color: #EDE6D2; } .pv-noir .pv-rest { font-family: var(--font-display); }
.pv-ivory { background: #FBF8F1; color: #141109; } .pv-ivory .pv-rest { font-family: var(--font-display); }
.pv-gold { background: linear-gradient(160deg,#1c160a,#0a0a0a); color: var(--gold-soft); } .pv-gold .pv-rest { font-family: var(--font-display); }
.pv-min { background: #fff; color: #141109; } .pv-min .pv-rest { font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
.tpl-meta { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.tpl-meta .nm { font-size: 16px; font-weight: 500; }
.tpl-meta .tg { font-size: 11px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.tpl-meta .pr { text-align: end; } .tpl-meta .pr .a { font-family: var(--font-display); font-size: 20px; color: var(--gold-on); } .tpl-meta .pr .u { font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 40px; position: relative; overflow: hidden; }
.plan.hot { border-color: color-mix(in srgb,var(--gold) 60%, var(--line)); }
.plan.hot::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.plan .tier { position: relative; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-on); }
.plan .amt { position: relative; display: flex; align-items: baseline; gap: 8px; margin: 18px 0 8px; }
.plan .amt .big { font-family: var(--font-display); font-size: 58px; line-height: 1; letter-spacing: -0.02em; }
.plan .amt .per { font-size: 13px; color: var(--muted); }
.plan .pdesc { position: relative; font-size: 14.5px; color: var(--muted); line-height: 1.55; min-height: 44px; }
.plan ul { position: relative; list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--gold-on); flex-shrink: 0; margin-top: 1px; }
.plan .btn { position: relative; width: 100%; justify-content: center; }
.price-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.price-note b { color: var(--text); font-weight: 500; }
.price-cycle { display: flex; justify-content: center; margin-bottom: 40px; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }
.stat { padding: 40px 28px; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.stat .v { font-family: var(--font-display); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.stat .v .gold-text { font-family: var(--font-display); }
.stat .k { margin-top: 12px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* ===== Testimonials ===== */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.quote.lead { background: var(--elevated); }
.quote .mk { font-family: var(--font-display); font-size: 56px; line-height: .5; color: var(--gold-on); }
.quote .qt { font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; margin: 22px 0; }
.quote.lead .qt { font-size: 22px; }
.quote .by { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 20px; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; color: #1A1408; font-family: var(--font-display); font-size: 18px; }
.quote .by .nm { font-size: 14px; font-weight: 500; } .quote .by .rl { font-size: 12.5px; color: var(--muted); }

/* ===== FAQ ===== */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 4px; text-align: start; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq-q .pm { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--gold-on); inset-inline: 0; top: 50%; height: 2px; transform: translateY(-50%); transition: transform .35s var(--ease); }
.faq-q .pm::after { transform: translateY(-50%) rotate(90deg); }
.faq-item.open .pm::after { transform: translateY(-50%) rotate(0); }
.faq-a { overflow: hidden; height: 0; }
.faq-a .inner { padding: 0 4px 28px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 64ch; }

/* ===== Reveal helpers (JS adds .reveal; GSAP handles when available) ===== */
.reveal { opacity: 0; transform: translateY(28px); }
html.no-gsap .reveal { opacity: 1; transform: none; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { grid-column: 1; grid-row: auto; min-height: 420px; }
  .hero-head { grid-column: 1; grid-row: auto; }
  .hero-foot { grid-column: 1; grid-row: auto; }
  .feat-lead { grid-template-columns: 1fr; }
  .feat-lead .lead-text { padding: 44px; }
  .feat-lead .lead-vis { border-inline-start: 0; border-top: 1px solid var(--line); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .prob-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .how-card { grid-template-columns: 1fr; gap: 30px; }
  .how-step { flex-basis: 92vw; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 22px; }
  .sec { padding: 84px 0; }
  .hero { padding: 120px 0 72px; }
  .hero-cols { grid-template-columns: 1fr; gap: 18px; }
  .price-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-lead .lead-text { padding: 32px 26px; }
  .feat-lead .lead-vis { padding: 32px; }
}
