/* Content pages (pricing, features/*, guides/*). Same tokens, header,
   buttons, cards, FAQ and CTA band as the homepage, so the pages read as one
   site. Homepage keeps its own inline styles; legal pages use legal.css. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #1FC7C4; --teal-deep: #0E9B98; --teal-ink: #0A6E6C; --teal-wash: #E6F8F8;
  --yellow: #FFCE4A; --yellow-wash: #FFF6DE;
  --coral: #F98E72; --coral-wash: #FFEFE9;
  --blue: #2E86D9; --blue-wash: #E7F1FC;
  --cream: #FDF7EC;
  --wa: #128C4B; --wa-wash: #E8F7EE;
  --ink: #12333A; --ink-soft: #5A757C; --ink-faint: #8FA5AA;
  --line: #E3ECEC; --r: 14px;
  --shadow-card: 0 1px 2px rgba(18,51,58,.04), 0 8px 24px rgba(18,51,58,.06);
  --shadow-lift: 0 12px 40px rgba(31,199,196,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-latin: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Cairo', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-latin); color: var(--ink); background: #fff; line-height: 1.7; overflow-x: hidden; }
html[dir="rtl"] body { font-family: var(--font-ar); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
html[dir="rtl"] .arw { transform: scaleX(-1); }

/* ═══ HEADER ═══ */
.hdr { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line); }
.nav { height: 68px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand b { font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-inline-start: 20px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.nav-links > a:hover, .dd-btn:hover { color: var(--teal-deep); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 9px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-soft); transition: .15s; }
.lang:hover { border-color: var(--teal); color: var(--teal-deep); }

/* Features dropdown: opens on hover and on keyboard focus, no JS. */
.dd { position: relative; }
.dd-btn { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 600;
  color: var(--ink-soft); padding: 22px 0; }
.dd-btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.dd-menu { display: none; position: absolute; top: 100%; inset-inline-start: -16px; width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px;
  box-shadow: 0 18px 50px rgba(18,51,58,.12); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd:hover .dd-btn svg, .dd:focus-within .dd-btn svg { transform: rotate(180deg); }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; }
.dd-menu a:hover, .dd-menu a:focus { background: var(--teal-wash); outline: none; }
.dd-menu b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; line-height: 1.35; }
.dd-menu small { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; line-height: 1.45; }
.dd-menu .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px;
  font-size: 13.5px; font-weight: 700; color: var(--teal-ink); }

/* Mobile menu */
.mnav { display: none; }
.mnav summary { list-style: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 20px; height: 20px; }
.mnav[open] summary { border-color: var(--teal); color: var(--teal-deep); }
.mnav-panel { position: absolute; top: 68px; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(18,51,58,.10);
  padding: 10px 16px 18px; max-height: calc(100vh - 68px); overflow-y: auto; }
.mnav-panel a { display: block; padding: 11px 4px; font-size: 15.5px; font-weight: 700;
  border-bottom: 1px solid var(--line); }
.mnav-panel small { display: block; padding: 14px 4px 2px; font-size: 12px; font-weight: 800;
  color: var(--ink-faint); text-transform: uppercase; letter-spacing: .6px; }
.mnav-panel .btn { margin-top: 16px; width: 100%; border-bottom: 0; color: #fff; }

/* ═══ BUTTONS ═══ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700;
  border-radius: 11px; transition: transform .14s var(--ease), box-shadow .18s, background .15s, border-color .15s;
  white-space: nowrap; text-align: center; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-fill { background: var(--teal); color: #fff; }
.btn-fill:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-wa { border: 1.5px solid #BFE6CF; color: var(--wa); background: var(--wa-wash); }
.btn-wa:hover { border-color: var(--wa); transform: translateY(-2px); }
.btn-cream { background: #fff; color: var(--teal-deep); }
.btn-cream:hover { transform: translateY(-2px); }
.btn-line { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); }

/* ═══ HERO ═══ */
.phero { padding: 40px 0 64px; background:
  radial-gradient(900px 420px at 88% -8%, var(--teal-wash) 0%, transparent 62%),
  radial-gradient(680px 340px at 4% 8%, var(--yellow-wash) 0%, transparent 58%); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px;
  font-weight: 600; color: var(--ink-faint); margin-bottom: 26px; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--teal-deep); }
.crumbs .sep { color: #C8D6D8; }
.tag { display: inline-flex; align-items: center; gap: 7px; background: var(--teal-wash); color: var(--teal-ink);
  padding: 6px 15px; border-radius: 20px; font-size: 13px; font-weight: 800; margin-bottom: 16px; }
.tag svg { width: 14px; height: 14px; }
h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 18px; max-width: 820px; }
h1 mark { background: none; color: var(--teal-deep); }
.lede { font-size: 18.5px; color: var(--ink-soft); max-width: 680px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.microcopy { margin-top: 14px; font-size: 13.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 7px; }
.microcopy svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }
.byline { font-size: 13.5px; color: var(--ink-faint); margin-top: -12px; margin-bottom: 26px; }

/* ═══ SECTIONS ═══ */
.sec { padding: 72px 0; }
.sec.cream { background: var(--cream); }
.head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
h2 { font-size: clamp(25px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.7px; line-height: 1.2; margin-bottom: 12px; }
.head p { font-size: 17px; color: var(--ink-soft); }
h3 { font-size: 18px; font-weight: 800; letter-spacing: -.2px; line-height: 1.35; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.card ul { margin-top: 10px; padding-inline-start: 18px; }
.card li { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 5px; }
.ic-teal { background: var(--teal-wash); color: var(--teal-deep); }
.ic-coral { background: var(--coral-wash); color: #C4522F; }
.ic-blue { background: var(--blue-wash); color: #1F6BB5; }
.ic-yellow { background: var(--yellow-wash); color: #B38400; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; counter-reset: st; }
.step { text-align: center; }
.step::before { counter-increment: st; content: counter(st); width: 50px; height: 50px; border-radius: 50%;
  background: var(--teal-wash); color: var(--teal-ink); font-size: 20px; font-weight: 800; display: grid;
  place-items: center; margin: 0 auto 16px; box-shadow: 0 0 0 1px var(--line); }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* Two-column: text + checklist */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.ticks li b { color: var(--ink); }
.ticks .tk { width: 24px; height: 24px; border-radius: 50%; background: var(--teal); display: grid;
  place-items: center; flex-shrink: 0; margin-top: 2px; color: #fff; }
.ticks .tk svg { width: 13px; height: 13px; }
.ticks .tk.no { background: #E5ECED; color: var(--ink-faint); }

/* Long-form copy */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 44px 0 12px; scroll-margin-top: 84px; }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose li { font-size: 16.5px; color: #36545B; line-height: 1.85; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-inline-start: 24px; }
.prose li { margin-bottom: 8px; }
.prose li b, .prose p b { color: var(--ink); }
.prose a, .link { color: var(--teal-deep); font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover, .link:hover { color: var(--teal-ink); }
.toc { background: var(--cream); border-radius: var(--r); padding: 20px 24px; margin: 0 0 30px; }
.toc b { display: block; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.toc ol { margin: 0; padding-inline-start: 22px; }
.toc li { font-size: 15px; margin-bottom: 4px; line-height: 1.6; }
.toc a { font-weight: 600; text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--teal-deep); }
.callout { border-inline-start: 4px solid var(--teal); background: var(--teal-wash);
  border-start-end-radius: 12px; border-end-end-radius: 12px; padding: 16px 20px; margin: 22px 0; }
.callout p { margin: 0; color: var(--teal-ink); font-size: 15.5px; }
.callout.warm { border-color: var(--yellow); background: var(--yellow-wash); }
.callout.warm p { color: #6B5200; }
.example { background: #fff; border: 1px dashed #CFE0E1; border-radius: 12px; padding: 16px 20px; margin: 14px 0 20px; }
.example p { margin: 0; font-size: 15.5px; }
.example small { display: block; font-size: 12px; font-weight: 800; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.tbl-wrap { overflow-x: auto; margin: 10px 0 22px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 13px; color: var(--ink-faint); font-weight: 800; }
.prose td { color: #36545B; }

/* Honest "not yet" note */
.honest { display: flex; gap: 14px; align-items: flex-start; background: var(--yellow-wash);
  border: 1px solid #F6E3A8; border-radius: var(--r); padding: 18px 20px; }
.honest svg { width: 22px; height: 22px; color: #B38400; flex-shrink: 0; margin-top: 2px; }
.honest b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.honest p { font-size: 14.5px; color: #6B5200; line-height: 1.6; }

/* ═══ PRICING ═══ */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 30px 26px; position: relative; }
.plan.hot { border-color: var(--teal); box-shadow: var(--shadow-lift); }
.plan .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal);
  color: #fff; font-size: 12px; font-weight: 800; padding: 5px 16px; border-radius: 20px; white-space: nowrap; }
.plan .nm { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  color: var(--ink-faint); margin-bottom: 10px; }
.plan .pr { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; }
.plan .pr small { font-size: 14px; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
.plan .perchild { font-size: 12.5px; font-weight: 700; color: var(--teal-ink); background: var(--teal-wash);
  display: inline-block; padding: 3px 10px; border-radius: 14px; margin-top: 10px; }
.plan .ds { font-size: 14px; color: var(--ink-soft); margin: 12px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.plan li { display: flex; gap: 9px; font-size: 14.5px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--teal); }
.plan li.off { color: var(--ink-faint); }
.plan li.off svg { color: #C8D6D8; }
.plan .btn { width: 100%; }
.band { margin-top: 20px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 24px 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.band.ai { background: linear-gradient(120deg, var(--teal-wash), #fff 70%); border-color: var(--teal); }
.band .gi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.band .gi svg { width: 24px; height: 24px; }
.band .gt { flex: 1; min-width: 220px; }
.band b { display: block; font-size: 17px; font-weight: 800; margin-bottom: 3px; }
.band p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.band .price { font-size: 17px; font-weight: 800; color: var(--teal-ink); white-space: nowrap; }
.note { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--ink-soft); }

.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: start; }
.cmp thead th { font-size: 13px; font-weight: 800; color: var(--ink-soft); background: var(--cream); }
.cmp td { color: var(--ink-soft); }
.cmp .y { color: var(--teal-deep); font-weight: 800; }
.cmp .n { color: #B6C6C8; }

/* ═══ FAQ ═══ */
.faq { max-width: 780px; margin: 0 auto; }
details.qa { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 11px; background: #fff; overflow: hidden; }
details.qa[open] { border-color: #CFE7E7; }
details.qa summary { padding: 18px 22px; font-size: 16px; font-weight: 700; cursor: pointer; display: flex;
  align-items: center; gap: 14px; list-style: none; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ''; width: 9px; height: 9px; border-right: 2.2px solid var(--ink-faint);
  border-bottom: 2.2px solid var(--ink-faint); transform: rotate(45deg); margin-inline-start: auto;
  flex-shrink: 0; transition: transform .25s var(--ease); }
details.qa[open] summary::after { transform: rotate(-135deg); }
.qa-a { padding: 0 22px 20px; }
.qa-a p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }

/* ═══ CTA BAND ═══ */
.cta-sec { padding: 0 0 72px; }
.cta { background: var(--teal); border-radius: 22px; padding: 50px 46px; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,.09); top: -150px; inset-inline-end: -70px; }
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 560px; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.88); font-size: 16px; max-width: 560px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══ RELATED ═══ */
.rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rel a { display: block; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: #fff;
  transition: border-color .15s, transform .2s var(--ease); }
.rel a:hover { border-color: var(--teal); transform: translateY(-2px); }
.rel b { display: block; font-size: 15.5px; font-weight: 800; margin-bottom: 3px; }
.rel span { display: block; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* Guides index */
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; background: #fff; transition: border-color .15s, transform .2s var(--ease), box-shadow .2s; }
.guide:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.guide .kicker { font-size: 12.5px; font-weight: 800; color: var(--teal-ink); margin-bottom: 8px; }
.guide h2 { font-size: 21px; letter-spacing: -.3px; margin-bottom: 10px; }
.guide p { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.guide .more { margin-top: auto; font-size: 14.5px; font-weight: 800; color: var(--teal-deep); display: flex; align-items: center; gap: 6px; }
.guide .more svg { width: 16px; height: 16px; }

/* ═══ FOOTER ═══ */
.ftr { border-top: 1px solid var(--line); padding: 48px 0 36px; background: #fff; }
.fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.fcols .brandcol p { font-size: 14px; color: var(--ink-soft); margin-top: 12px; max-width: 280px; }
.fcols h4 { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px;
  color: var(--ink-faint); margin-bottom: 12px; }
.fcols ul { list-style: none; }
.fcols li { margin-bottom: 8px; }
.fcols li a { font-size: 14px; color: var(--ink-soft); }
.fcols li a:hover { color: var(--teal-deep); }
.fbase { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px;
  color: var(--ink-faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fbase a { color: var(--ink-soft); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .mnav { display: block; }
  .cards, .plans, .rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .fcols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .phero { padding: 26px 0 48px; }
  .sec { padding: 52px 0; }
  .lede { font-size: 17px; }
  .cards, .cards.two, .plans, .steps, .rel, .guide-list { grid-template-columns: 1fr; }
  .btn { white-space: normal; }
  .hero-cta .btn, .cta-btns .btn { width: 100%; }
  .cta { padding: 36px 22px; text-align: center; justify-content: center; }
  .cta-btns { width: 100%; }
  .band { padding: 22px 20px; }
  .plan .btn { white-space: normal; }
  .fcols { grid-template-columns: 1fr; gap: 22px; }
  .prose p, .prose li { font-size: 16px; }
  .cmp th, .cmp td { padding: 10px 8px; font-size: 13px; }
}
