/* Hey Hudhud — desktop web design system
   Mirrors the mobile app tokens (Q.*): sage green + gold on warm cream,
   Plus Jakarta Sans (Latin), Amiri (Arabic). 1.7px icon stroke. */

:root {
  --green:      #2E7D64;
  --green-deep: #1F5A48;
  --green-soft: #E6F0EC;
  --mint:       #7FC8A9;
  --gold:       #C9A03D;
  --gold-soft:  #F5E9C8;
  --amber:      #E6B96B;
  --rose:       #D08A82;
  --flame:      #F0784A;

  --cream:      #FDF8F0;
  --cream-deep: #F4ECDC;
  --white:      #FFFFFF;
  --line:       #EAE3D2;

  --ink:        #2C2C2C;
  --ink-2:      #5C5C5C;
  --ink-3:      #9A958C;

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --arabic: "Amiri", "Scheherazade New", serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 50px rgba(46,125,100,.18), 0 8px 24px rgba(0,0,0,.08);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;

  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.arabic { font-family: var(--arabic); direction: rtl; }

/* subtle geometric grid used behind hero / bands */
.grid-tex {
  background-image:
    linear-gradient(var(--green) 1px, transparent 1px),
    linear-gradient(90deg, var(--green) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .035;
}

/* ── Layout helpers ─────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-size: 12px; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: 1.4px;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800;
  letter-spacing: -0.6px; color: var(--green-deep); line-height: 1.12;
  margin: 12px 0 0; text-wrap: balance;
}
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.6; }

/* ── Top nav ─────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253,248,240,.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--arabic); font-size: 22px;
  box-shadow: 0 4px 12px rgba(46,125,100,.25);
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.4px; color: var(--green-deep); }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  padding: 10px 18px; border-radius: 100px;
  background: var(--green); color: #fff !important; font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 12px rgba(46,125,100,.28); transition: transform .12s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(46,125,100,.34); }

/* ── Buttons & badges ────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 14px; border: none;
  background: var(--green); color: #fff; font-family: var(--sans);
  font-weight: 700; font-size: 15px; letter-spacing: .3px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(46,125,100,.3); transition: transform .12s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(46,125,100,.36); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 14px;
  background: #fff; border: 1.5px solid var(--green); color: var(--green);
  font-family: var(--sans); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background .15s;
}
.btn-ghost:hover { background: var(--green-soft); }

.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 18px; border-radius: 13px;
  background: var(--ink); color: #fff; transition: transform .12s, box-shadow .15s;
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge.is-soon { opacity: .68; cursor: default; }
.store-badge.is-soon:hover { transform: none; box-shadow: var(--shadow-sm); }
.store-badge > span { display: inline-flex; flex-direction: column; justify-content: center; text-align: left; }
.store-badge .sb-sub { display: block; font-size: 10.5px; opacity: .8; line-height: 1; letter-spacing: .3px; }
.store-badge .sb-main { display: block; font-size: 18px; font-weight: 700; line-height: 1.15; margin-top: 2px; letter-spacing: -.2px; }

/* ── Hero ────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero .grid-tex { position: absolute; inset: 0; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 72px 28px 84px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -1.4px;
  line-height: 1.05; margin: 16px 0 0; color: var(--green-deep); text-wrap: balance;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub { font-size: 19px; color: var(--ink-2); line-height: 1.55; margin: 20px 0 30px; max-width: 460px; }
.hero-bismillah {
  font-size: 26px; color: var(--green-deep); opacity: .4; margin-bottom: 4px;
}
.trust { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }
.trust .stars { display: flex; gap: 2px; }

/* phone mockup */
.phone-stage { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-halo {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,200,169,.35), transparent 65%);
  filter: blur(10px);
}
.phone {
  position: relative; width: 300px; border-radius: 44px; margin: 0;
  background: var(--cream); box-shadow: var(--shadow-lg), 0 0 0 10px #1a1a1a, 0 0 0 11px #333;
  overflow: hidden; flex-shrink: 0;
}
.phone > img { width: 100%; height: auto; display: block; }
.phone .island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 26px; border-radius: 16px; background: #000; z-index: 5;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 22px 4px; font-size: 12.5px; font-weight: 700; color: var(--ink);
}
.phone-body { padding: 6px 16px; }

/* mini home recreation */
.mh-head { display: flex; align-items: center; gap: 10px; margin: 8px 0 14px; }
.mh-av {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.mh-xp {
  margin-left: auto; display: flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 6px 10px;
  font-size: 11.5px; font-weight: 700;
}
.mh-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.mh-card { border-radius: 14px; padding: 11px; }
.mh-card.streak { background: #fff; border: 1px solid var(--line); }
.mh-card.today { background: var(--green); color: #fff; }
.mh-card .k { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; opacity: .8; }
.mh-card .v { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin-top: 4px; }
.mh-card .v small { font-size: 11px; font-weight: 600; opacity: .8; }
.mh-verse {
  background: linear-gradient(180deg, var(--cream), #fff);
  border: 1px solid rgba(201,160,61,.28); border-radius: 16px; padding: 15px; margin-bottom: 12px;
}
.mh-verse .lbl { display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.mh-verse .ar { text-align: right; font-family: var(--arabic); font-size: 22px; color: var(--ink); line-height: 1.7; }
.mh-verse .tr { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(201,160,61,.4); font-size: 11px; font-style: italic; color: var(--ink-2); }
.mh-cont {
  background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 11px;
  display: flex; align-items: center; gap: 11px;
}
.mh-ring { width: 42px; height: 42px; flex-shrink: 0; }
.mh-cont .t { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-3); }
.mh-cont .n { font-size: 13.5px; font-weight: 700; margin-top: 1px; }
.mh-cont .m { font-size: 10.5px; color: var(--ink-2); }
.mh-play {
  margin-left: auto; width: 36px; height: 36px; border-radius: 11px; background: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mh-nav {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 0 16px;
  background: rgba(253,248,240,.9); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-around;
}
.mh-nav .item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 600; color: var(--ink-3); }
.mh-nav .item.on { color: var(--green); font-weight: 700; }

/* ── Feature cards ───────────────────────────────── */
.section { padding: 84px 0; }
.section.tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head .lead { margin-top: 14px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px) { .family-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px; transition: transform .15s, box-shadow .15s;
}
.section.tint .feature { background: var(--cream); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ficon {
  width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature h3 { font-size: 19px; font-weight: 800; letter-spacing: -.3px; margin: 0 0 8px; }
.feature p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.feature .ar-tag { font-family: var(--arabic); font-size: 15px; color: var(--gold); margin-top: 12px; text-align: right; }

/* ── Showcase strip ──────────────────────────────── */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.shot {
  border-radius: var(--r-lg); overflow: hidden; background: var(--cream-deep);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  aspect-ratio: 320 / 640; position: relative;
}

/* phone-framed real screenshots */
.showcase-phones {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 34px; flex-wrap: wrap;
}
.pshot {
  width: 320px; max-width: 88vw; margin: 0; padding: 11px;
  background: #1b1b1b; border-radius: 46px;
  box-shadow: var(--shadow-lg), 0 0 0 2px #333;
}
.pshot img { width: 100%; height: auto; display: block; border-radius: 36px; }
.pshot-lift { transform: translateY(-20px); }
@media (max-width: 560px) { .pshot-lift { transform: none; } }

/* ── Mascot band ─────────────────────────────────── */
.mascot-band { background: var(--green-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mascot-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 72px 28px;
  display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center;
}
.mascot-copy h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--green-deep); letter-spacing: -.5px; margin: 12px 0 16px; }
.mascot-copy p { font-size: 17px; color: var(--ink-2); line-height: 1.6; max-width: 520px; }

/* Mascot pose animations */
.mascot-svg { overflow: visible; }
@keyframes hud-bob   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes hud-blink { 0%,90%,100% { transform: scaleY(1); } 94%,96% { transform: scaleY(.12); } }
@keyframes hud-crest { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes hud-point { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@keyframes hud-arrow { 0%,100% { opacity: .25; transform: translateX(0); } 50% { opacity: 1; transform: translateX(6px); } }
.mascot-svg .hud-mascot { transform-box: fill-box; transform-origin: 50% 90%; animation: hud-bob 3.4s ease-in-out infinite; }
.mascot-svg .hud-eyes   { transform-box: fill-box; transform-origin: center; animation: hud-blink 4.6s ease-in-out infinite; }
.mascot-svg .hud-crest  { transform-box: fill-box; transform-origin: 50% 100%; animation: hud-crest 4s ease-in-out infinite; }
.mascot-svg .hud-point  { transform-box: fill-box; transform-origin: left center; animation: hud-point 1.5s ease-in-out infinite; }
.mascot-svg .hud-arrow  { transform-box: fill-box; transform-origin: center; animation: hud-arrow 1.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .mascot-svg .hud-mascot, .mascot-svg .hud-eyes, .mascot-svg .hud-crest, .mascot-svg .hud-point, .mascot-svg .hud-arrow { animation: none; }
}

/* ── CTA band ────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff; position: relative; overflow: hidden;
}
.cta-band .grid-tex { position: absolute; inset: 0; opacity: .06;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px); }
.cta-inner { max-width: var(--maxw); margin: 0 auto; padding: 76px 28px; text-align: center; position: relative; }
.cta-inner .ar { font-family: var(--arabic); font-size: 30px; opacity: .55; margin-bottom: 10px; }
.cta-inner h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.8px; margin: 0 0 16px; }
.cta-inner p { font-size: 18px; opacity: .9; margin: 0 auto 30px; max-width: 480px; }
.cta-band .store-row { justify-content: center; }
.cta-band .store-badge { background: #fff; color: var(--ink); }

/* ── Footer ──────────────────────────────────────── */
.footer { background: var(--ink); color: #cfc9bd; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 28px 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer-blurb { font-size: 14px; line-height: 1.6; margin: 16px 0 0; max-width: 300px; color: #a49e91; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #8a8478; margin: 0 0 16px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14px; color: #cfc9bd; transition: color .15s; }
.footer ul a:hover { color: var(--mint); }
.footer-bottom {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: #8a8478;
}

/* ── Document (legal) pages ──────────────────────── */
.doc-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.doc-hero-inner { max-width: 820px; margin: 0 auto; padding: 56px 28px 44px; }
.doc-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.8px; color: var(--green-deep); margin: 14px 0 12px; }
.doc-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }
.doc-meta b { color: var(--ink-2); font-weight: 600; }

.doc-wrap { max-width: 820px; margin: 0 auto; padding: 48px 28px 80px; display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: start; }
.toc { position: sticky; top: 92px; }
.toc h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); margin: 0 0 14px; font-weight: 700; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.toc a { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; transition: color .15s; }
.toc a:hover { color: var(--green); }

.doc { font-size: 15.5px; color: var(--ink); line-height: 1.7; }
.doc h2 {
  font-size: 22px; font-weight: 800; color: var(--green-deep); letter-spacing: -.3px;
  margin: 40px 0 12px; scroll-margin-top: 90px;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 16.5px; font-weight: 700; margin: 24px 0 8px; }
.doc p { margin: 0 0 14px; color: var(--ink-2); }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); }
.doc li { margin-bottom: 8px; }
.doc a.link { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.doc strong { color: var(--ink); font-weight: 700; }
.doc .callout {
  background: var(--green-soft); border: 1px solid rgba(46,125,100,.2);
  border-radius: var(--r-sm); padding: 16px 18px; margin: 0 0 20px;
}
.doc .callout.gold { background: var(--gold-soft); border-color: rgba(201,160,61,.35); }
.doc .callout p:last-child { margin-bottom: 0; }
.doc .callout .ct { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--green); margin-bottom: 6px; }
.doc .callout.gold .ct { color: #9a7b26; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 20px; }
.steps li {
  position: relative; padding: 14px 16px 14px 56px; margin-bottom: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink-2); font-size: 15px;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}
.steps li strong { display: block; color: var(--ink); margin-bottom: 2px; }

.contact-card {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 22px; box-shadow: var(--shadow-sm);
}
.contact-card .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; }
.contact-card .cl { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.contact-card .ce { font-size: 17px; font-weight: 700; color: var(--green-deep); }

/* support FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 4px 20px; transition: box-shadow .15s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary .chev { transform: rotate(90deg); }
.faq .fa-body { padding: 0 0 18px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 44px; }
.support-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .15s, box-shadow .15s;
}
.support-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.support-tile .ti { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.support-tile h3 { font-size: 19px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.3px; }
.support-tile p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.55; }
.support-tile a.link { color: var(--green); font-weight: 700; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .store-row, .trust { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .mascot-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .mascot-copy p { margin-left: auto; margin-right: auto; }
  .shots { grid-template-columns: 1fr 1fr; }
  .doc-wrap { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; max-width: 320px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ── WordPress core & theme integration ─────────────── */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0;
  overflow: hidden; position: absolute !important; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
  font-weight: 700; font-size: 14px;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px;
}
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 6px; }
img { max-width: 100%; height: auto; }
.doc img { border-radius: var(--r-sm); }

/* generated (editor) content inside doc pages inherits .doc styles automatically */
.doc blockquote {
  border-left: 3px solid var(--green); margin: 0 0 16px; padding: 4px 0 4px 18px;
  color: var(--ink-2); font-style: italic;
}
.doc table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.doc th { background: var(--green-soft); color: var(--green-deep); font-weight: 700; }

/* mobile nav toggle */
.nav-toggle {
  display: none; margin-left: auto; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--green-deep);
}
.nav-toggle svg { display: block; }
@media (max-width: 560px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px; box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav.is-open .nav-links a:not(.nav-cta) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-links .nav-cta { display: inline-flex; justify-content: center; margin-top: 12px; }
  .nav-inner { position: relative; }
}

/* pagination (archive/index fallback) */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.pagination .page-numbers {
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink-2); font-weight: 600; font-size: 14px;
}
.pagination .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }

/* simple post list (blog fallback) */
.post-list { max-width: 820px; margin: 0 auto; padding: 48px 28px 80px; }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px; margin-bottom: 20px;
}
.post-card h2 { margin: 0 0 8px; font-size: 22px; color: var(--green-deep); }
.post-card .post-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.post-card p { color: var(--ink-2); margin: 0 0 14px; }

/* ── Editor "Details" blocks styled as the FAQ accordion ─ */
.doc details, .doc .wp-block-details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 4px 20px; margin: 0 0 12px; transition: box-shadow .15s;
}
.doc details[open], .doc .wp-block-details[open] { box-shadow: var(--shadow-sm); }
.doc details > summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ink);
}
.doc details > summary::-webkit-details-marker { display: none; }
.doc details > summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(-45deg); transition: transform .2s; margin-right: 4px;
}
.doc details[open] > summary::after { transform: rotate(45deg); }
.doc details > :not(summary) { font-size: 15px; color: var(--ink-2); line-height: 1.65; padding-bottom: 6px; }

/* Support intro tiles rendered by page-support.php */
.support-tile h3 { color: var(--ink); }

/* ── Hey Hudhud brand mark & wordmark ────────────────── */
.brand-badge {
  width: 40px; height: 40px; padding: 0; border-radius: 0;
  background: none !important; box-shadow: none !important;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-badge .brand-mark { width: 100%; height: 100%; display: block; }
.brand-name { font-family: "Baloo 2", var(--sans); font-weight: 800; }
.brand-name .wm-hey { color: #DB8B4D; }
.brand-name .wm-hud { color: #2A2723; }
/* On the dark footer keep the wordmark readable. */
.footer .brand-name, .footer .brand-name .wm-hud { color: #fff; }
.footer-tagline {
  font-family: "Baloo 2", var(--sans); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; color: var(--mint); margin-top: 8px;
}
