/* =========================================================
   DoDigital — modern stylesheet
   Brand: logo cyan #14AECF + logo green #2BD97B, font Tajawal.
   Change a colour once here and the whole site follows.
   ========================================================= */
:root {
  --primary: #14AECF;
  --primary-600: #0E93B0;
  --primary-50: #E8F8FC;
  --accent: #2BD97B;
  --accent-50: #E7FBF0;
  --ink: #0B1026;          /* headings + dark sections */
  --ink-2: #141A3A;
  --text: #474C63;
  --muted: #7B809A;
  --bg: #F6F8FC;
  --card: #FFFFFF;
  --line: #E6E9F2;
  --grad: linear-gradient(120deg, #14AECF 0%, #2BD97B 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(11, 16, 38, .07);
  --shadow-lg: 0 24px 60px rgba(11, 16, 38, .12);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Tajawal", system-ui, sans-serif; font-size: 17px; line-height: 1.8; color: var(--text); background: var(--card); direction: rtl; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 800; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; }
.section--soft { background: var(--bg); }
.center { text-align: center; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- section heading ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--primary-600); background: var(--primary-50); padding: 6px 14px; border-radius: 99px; margin-bottom: 16px; }
.head { max-width: 680px; margin-bottom: 56px; }
.head.center { margin-inline: auto; }
.head h2 { font-size: 42px; margin-bottom: 14px; letter-spacing: -.3px; }
.head p { font-size: 18px; color: var(--muted); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.head-row .head { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 14px; font-weight: 700; font-size: 16px; font-family: inherit; border: 0; cursor: pointer; background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(20,174,207,.28); white-space: nowrap; }
.btn:hover { background: var(--primary-600); transform: translateY(-2px); }
.btn--grad { background: var(--grad); }
.btn--grad:hover { background: var(--grad); filter: brightness(1.05); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.22); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--light:hover { background: #fff; color: var(--primary-600); }
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn--line:hover { border-color: var(--primary); color: var(--primary-600); background: transparent; }
.btn--wa { background: #25D366; box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.btn--wa:hover { background: #1DA851; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-600); }
.link-arrow:hover { gap: 12px; }

/* ---------- header ---------- */
.header { position: fixed; top: 0; inset-inline: 0; z-index: 50; padding: 18px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.header .container { display: flex; align-items: center; gap: 32px; }
.header.scrolled, .header--light { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.logo img { height: 32px; width: auto; }
.logo .logo-light { display: none; }
.header--dark:not(.scrolled) .logo .logo-light { display: block; }
.header--dark:not(.scrolled) .logo .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.nav > ul { display: flex; gap: 4px; }
.nav li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 16px; color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer; }
.header--dark:not(.scrolled) .nav > ul > li > a, .header--dark:not(.scrolled) .nav > ul > li > button { color: #fff; }
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .nav a.active { color: var(--primary); }
.nav .chev { font-size: 11px; transition: transform .2s; }
.nav .has-sub:hover .chev, .nav .has-sub:focus-within .chev { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; width: 330px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; border: 1px solid var(--line); }
.sub::before { content: ""; position: absolute; top: -12px; inset-inline: 0; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; }
.sub a:hover { background: var(--bg); }
.sub i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.sub strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.4; }
.sub span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ico-cyan { background: var(--primary-50); color: var(--primary-600); }
.ico-green { background: var(--accent-50); color: #17A75C; }
.ico-violet { background: #EFEBFF; color: #6C4DF6; }
.ico-amber { background: #FFF4E5; color: #E58A00; }
.ico-pink { background: #FFECF3; color: #E0336F; }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); }
.nav-close { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding-top: 120px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 420px at 18% 30%, rgba(20,174,207,.38), transparent 70%),
    radial-gradient(520px 380px at 30% 85%, rgba(43,217,123,.25), transparent 70%),
    radial-gradient(700px 500px at 95% 0%, rgba(20,174,207,.18), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hero__copy { padding: 60px 0 130px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 16px 6px 6px; border-radius: 99px; font-size: 14px; margin-bottom: 26px; color: rgba(255,255,255,.9); }
.pill b { background: var(--grad); color: var(--ink); padding: 2px 10px; border-radius: 99px; font-size: 12px; }
.hero h1 { color: #fff; font-size: 62px; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 22px; }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,.75); max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 28px; margin-top: 46px; flex-wrap: wrap; }
.hero__trust div { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.75); }
.hero__trust i { color: var(--accent); }
.hero__visual { position: relative; display: flex; justify-content: center; align-self: end; }
.hero__ring { position: absolute; bottom: -120px; width: 520px; height: 520px; border-radius: 50%; background: var(--grad); opacity: .9; filter: blur(.5px); }
.hero__ring::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--ink); opacity: .35; }
.hero__person { position: relative; width: 420px; z-index: 1; }
.float { position: absolute; z-index: 2; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.25); animation: bob 6s ease-in-out infinite; }
.float i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; }
.float strong { display: block; font-size: 16px; line-height: 1.3; }
.float span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.float--a { top: 22%; inset-inline-end: -10px; }
.float--b { bottom: 18%; inset-inline-start: -20px; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- category bento ---------- */
.cats { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.cat-card { position: relative; border-radius: var(--radius); padding: 36px; overflow: hidden; display: flex; flex-direction: column; min-height: 260px; border: 1px solid var(--line); background: #fff; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card i.big { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 22px; }
.cat-card h3 { font-size: 26px; margin-bottom: 10px; }
.cat-card p { color: var(--muted); margin-bottom: 22px; max-width: 420px; }
.cat-card .link-arrow { margin-top: auto; }
.cat-card--feature { grid-row: span 2; background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.75); }
.cat-card--feature h3 { color: #fff; font-size: 32px; }
.cat-card--feature p { color: rgba(255,255,255,.7); }
.cat-card--feature .link-arrow { color: var(--accent); }
.cat-card--feature::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(20,174,207,.4), transparent 70%); left: 50%; transform: translateX(-50%); bottom: -170px; }
.cat-card__book { position: relative; z-index: 1; display: block; width: 240px; max-width: 70%; margin: 30px auto 0; transition: transform .3s; }
.cat-card--feature:hover .cat-card__book { transform: translateY(-6px) scale(1.03); }
.cat-card--feature .cat-card__body { position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.badge--green { background: var(--accent-50); color: #17A75C; }
.badge--amber { background: #FFF4E5; color: #C47700; }
.badge--dark { background: rgba(255,255,255,.12); color: #fff; }
.cat-card .badge { position: absolute; top: 24px; inset-inline-end: 24px; }

/* ---------- featured product ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.feature__media { position: relative; background: var(--grad); border-radius: 28px; padding: 50px; display: grid; place-items: center; }
.feature__media::before { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(255,255,255,.45); border-radius: 20px; }
.feature__media img { width: 66%; position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(11,16,38,.35)); }
.price-tag { white-space: nowrap; z-index: 2; position: absolute; top: 26px; inset-inline-start: 26px; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow-lg); text-align: center; }
.price-tag del { display: block; font-size: 14px; color: var(--muted); line-height: 1; }
.price-tag strong { font-size: 28px; color: var(--ink); line-height: 1.2; }
.feature h2 { font-size: 40px; margin-bottom: 16px; }
.feature .lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; }
.checks { display: grid; gap: 14px; margin-bottom: 34px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li i { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-50); color: #17A75C; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; margin-top: 3px; }
.facts { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.facts span { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.facts i { color: var(--primary); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- prompts ---------- */
.prompts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prompt { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.prompt:hover { box-shadow: var(--shadow); border-color: #D7DCEA; }
.prompt__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.prompt h3 { font-size: 18px; }
.prompt pre { font-family: inherit; white-space: pre-wrap; background: var(--bg); border-radius: 12px; padding: 16px; font-size: 15px; line-height: 1.8; color: var(--ink-2); flex: 1; border: 1px dashed var(--line); }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--primary-600); background: var(--primary-50); border: 0; border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.copy-btn:hover { background: #D5F2F9; }
.copy-btn.done { background: var(--accent-50); color: #17A75C; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab { font-family: inherit; font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.tab:hover { border-color: var(--primary); color: var(--primary-600); }
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.prompt[hidden] { display: none; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why div { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; margin-bottom: 18px; }
.why h3 { font-size: 19px; margin-bottom: 8px; }
.why p { font-size: 15.5px; color: var(--muted); }

/* ---------- blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; color: #fff; }
.cover i { font-size: 54px; position: relative; z-index: 1; opacity: .95; }
.cover::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.14); inset-inline-end: -60px; top: -70px; }
.cover::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.1); inset-inline-start: -40px; bottom: -60px; }
.cover--1 { background: linear-gradient(135deg, #0B1026, #14AECF); }
.cover--2 { background: linear-gradient(135deg, #14AECF, #2BD97B); }
.cover--3 { background: linear-gradient(135deg, #6C4DF6, #14AECF); }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; gap: 14px; font-size: 14px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.post__meta i { color: var(--primary); margin-inline-end: 4px; }
.post h3 { font-size: 21px; margin-bottom: 10px; line-height: 1.45; }
.post p { font-size: 15.5px; color: var(--muted); margin-bottom: 18px; }
.post .link-arrow { margin-top: auto; }

/* ---------- newsletter band ---------- */
.band { position: relative; overflow: hidden; background: var(--ink); border-radius: 28px; padding: 64px; color: rgba(255,255,255,.75); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(43,217,123,.35), transparent 65%); inset-inline-start: -160px; top: -200px; }
.band h2 { color: #fff; font-size: 38px; margin-bottom: 12px; }
.subscribe { display: flex; background: #fff; border-radius: 16px; padding: 6px; gap: 6px; }
.subscribe input { flex: 1; border: 0; background: transparent; padding: 0 16px; font-family: inherit; font-size: 16px; min-width: 0; color: var(--ink); }
.subscribe input:focus { outline: none; }
.small-note { font-size: 13px; margin-top: 10px; color: rgba(255,255,255,.55); }

/* ---------- footer ---------- */
.footer { background: var(--bg); padding: 80px 0 0; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { font-size: 17px; margin-bottom: 18px; }
.footer p { font-size: 15.5px; color: var(--muted); }
.footer__brand img { height: 32px; width: auto; margin-bottom: 20px; }
.footer__brand p { margin-bottom: 22px; max-width: 360px; }
.footer ul li { margin-bottom: 10px; font-size: 15.5px; }
.footer ul a:hover { color: var(--primary-600); }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact i { color: var(--primary); width: 18px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer__bottom { border-top: 1px solid var(--line); padding: 22px 0; font-size: 14px; color: var(--muted); }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.wa-float { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 18px; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 14px 30px rgba(37,211,102,.4); }
.wa-float:hover { transform: translateY(-3px); color: #fff; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; background: var(--ink); color: rgba(255,255,255,.75); padding: 160px 0 90px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 320px at 15% 20%, rgba(20,174,207,.35), transparent 70%), radial-gradient(420px 300px at 85% 100%, rgba(43,217,123,.22), transparent 70%); }
.page-hero h1 { color: #fff; font-size: 52px; margin-bottom: 14px; letter-spacing: -.3px; }
.page-hero p { font-size: 19px; max-width: 640px; }
.crumbs { font-size: 14px; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .5; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card__media { background: var(--grad); padding: 30px; position: relative; }
.product-card__media img { width: 72%; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(11,16,38,.35)); }
.product-card__media .badge { position: absolute; top: 16px; inset-inline-end: 16px; background: #E0336F; color: #fff; }
.product-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 20px; line-height: 1.45; margin-bottom: 8px; }
.product-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-weight: 800; color: var(--ink); font-size: 22px; }
.price del { color: var(--muted); font-weight: 500; font-size: 15px; margin-inline-end: 8px; }

.empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 60px 30px; text-align: center; background: #fff; }
.empty i.big { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; margin: 0 auto 20px; }
.empty h3 { font-size: 26px; margin-bottom: 10px; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }

/* product page */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.pd__media { position: sticky; top: 110px; }
.pd__mockup { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.pd__mockup img { width: 100%; }
.pd h1 { font-size: 38px; margin-bottom: 14px; }
.pd .price { font-size: 34px; display: block; margin-bottom: 18px; }
.pd .lead { font-size: 18px; margin-bottom: 22px; }
.pd .meta { font-size: 15px; color: var(--muted); padding-top: 22px; margin-top: 28px; border-top: 1px solid var(--line); }
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 46px 0 16px; }
.prose h3 { font-size: 23px; margin: 34px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-inline-start: 4px; }
.prose ul li, .prose ol li { position: relative; padding-inline-start: 28px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 7px; background: var(--primary-50); color: var(--primary-600); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.prose a { color: var(--primary-600); font-weight: 700; border-bottom: 1.5px solid rgba(20,174,207,.35); }
.prose a:hover { border-color: var(--primary); }
.prose strong { color: var(--ink); }
.prose blockquote { border-inline-start: 4px solid var(--accent); background: var(--accent-50); padding: 18px 22px; border-radius: 12px; margin: 26px 0; color: var(--ink); }
.prose .callout { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 30px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.prose th { background: var(--bg); color: var(--ink); }

.article { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.article .cover { border-radius: var(--radius); margin-bottom: 40px; aspect-ratio: 21 / 9; }
.toc { position: sticky; top: 110px; background: var(--bg); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.toc h4 { font-size: 16px; margin-bottom: 12px; }
.toc a { display: block; font-size: 15px; padding: 6px 0; color: var(--text); }
.toc a:hover { color: var(--primary-600); }
.toc .side-cta { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.toc .side-cta p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 50px; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.author-box img { width: 56px; height: 56px; border-radius: 16px; background: #fff; padding: 8px; }
.author-box p { font-size: 15px; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: 15px; }
.form input, .form textarea { width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 14px 16px; font-family: inherit; font-size: 16px; margin-bottom: 20px; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.form textarea { min-height: 150px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info { display: grid; gap: 16px; align-content: start; }
.info a, .info div { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.info a:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.info i.big { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.info h4 { font-size: 17px; }
.info span { color: var(--muted); font-size: 15px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .float { animation: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero h1 { font-size: 50px; }
  .why { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 991px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch; gap: 20px; padding: 80px 22px 30px; margin: 0; box-shadow: var(--shadow-lg); transform: translateX(110%); transition: transform .3s; overflow-y: auto; z-index: 80; }
  .nav.open { transform: none; }
  .nav-close { display: grid; place-items: center; position: absolute; top: 18px; inset-inline-end: 18px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
  .nav > ul { flex-direction: column; }
  .header--dark:not(.scrolled) .nav > ul > li > a, .header--dark:not(.scrolled) .nav > ul > li > button { color: var(--ink); }
  .sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 0; }
  .nav .chev { display: none; }
  .header--dark:not(.scrolled) .menu-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
  .hero .container { grid-template-columns: 1fr; }
  .hero__copy { padding: 40px 0 10px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__person { width: 340px; }
  .hero__ring { width: 400px; height: 400px; bottom: -100px; }
  .cats { grid-template-columns: 1fr; }
  .cat-card--feature { grid-row: auto; }
  .feature, .pd, .contact, .band { grid-template-columns: 1fr; }
  .pd__media { position: static; }
  .prompts, .posts, .products-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .head h2 { font-size: 34px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .hero { padding-top: 84px; }
  .hero__copy { padding: 26px 0 0; }
  .pill { font-size: 12.5px; margin-bottom: 18px; }
  .hero h1 { font-size: 34px; margin-bottom: 14px; }
  .hero p.lead { font-size: 16px; margin-bottom: 24px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 140px; height: 50px; padding: 0 16px; font-size: 15px; }
  .hero__trust { gap: 8px 16px; margin-top: 22px; }
  .hero__trust div { font-size: 13.5px; gap: 6px; }
  .hero__visual { margin-top: 26px; }
  .hero__person { width: 230px; }
  .hero__ring { width: 270px; height: 270px; bottom: -80px; }
  .float { padding: 8px 10px; gap: 8px; border-radius: 12px; }
  .float i { width: 30px; height: 30px; font-size: 13px; border-radius: 9px; }
  .float strong { font-size: 13px; }
  .float span { font-size: 11px; }
  .float--a { inset-inline-end: 2%; top: 10%; }
  .float--b { inset-inline-start: 2%; bottom: 16%; }
  .wa-float { width: 50px; height: 50px; font-size: 24px; border-radius: 15px; bottom: 16px; inset-inline-start: 16px; }
  .header { padding: 12px 0; }
  .logo img { height: 28px; }
  .head h2 { font-size: 29px; }
  .prompts, .posts, .products-grid, .why, .footer__grid, .form .row2 { grid-template-columns: 1fr; }
  .cat-card { padding: 28px; }
  .cat-card__book { width: 190px; }
  .feature__media { padding: 30px; }
  .band { padding: 40px 24px; }
  .band h2 { font-size: 30px; }
  .subscribe { flex-direction: column; background: transparent; padding: 0; }
  .subscribe input { background: #fff; border-radius: 12px; height: 52px; }
  .page-hero { padding: 130px 0 70px; }
  .page-hero h1 { font-size: 36px; }
  .pd h1 { font-size: 30px; }
  .form-card { padding: 26px; }
  .prose h2 { font-size: 25px; }
}
