/*
 * The public home page (includes/landing/home.php, 19/09/2026), on the Davar Tech brand.
 *
 * Loaded after davar.css, which supplies the tokens for both themes (--d-bg, --d-text, --d-link,
 * --d-surface-1/2/3, --d-hairline…, --d-amber) and the Kurdish type (Rabar). The brand's rules hold
 * here too: no shadows (depth is surface colour and hairlines), 12px cards and 8px controls, Bodoni
 * only for Latin display type, Rabar for Kurdish, amber only on a screen's main action.
 *
 * Every rule is scoped to body.h-page so davar.css's element rules (a, h1–h6, textarea) do not
 * win over it; logical properties throughout, because the page is right-to-left in Kurdish.
 */

html[data-ui] { scroll-behavior: smooth; scroll-padding-top: 84px; }
.h-page { --h-nav: 72px; --h-max: 1200px; --h-gap: clamp(20px, 3vw, 32px); overflow-x: clip; }
.h-page .h-container { width: 100%; max-width: var(--h-max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); box-sizing: border-box; }
.h-page .h-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.h-page .h-skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 2000; padding: 10px 14px; border-radius: var(--d-r-control); background: var(--d-amber); color: var(--d-on-amber); }
.h-page .h-skip:focus { top: 12px; }
.h-page .material-icons { line-height: 1; }
.h-page svg { width: 18px; height: 18px; flex: none; }

/* ── type ─────────────────────────────────────────────────────────────────────────────────────── */
html .h-page .h-display {
    font-family: var(--d-display); font-weight: 400; letter-spacing: -0.01em; color: var(--d-text);
    text-wrap: balance; margin: 0;
}
html .h-page h1.h-display { font-size: clamp(44px, 6.2vw, 80px); line-height: 1.02; }
html .h-page .h-h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; }
html .h-page .h-h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin: 16px 0 10px; }
.h-page .h-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--d-text-2); margin: 20px 0 0; max-width: 60ch; }
.h-page .h-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
    font-family: var(--d-mono); font-size: 12.5px; font-weight: 400; letter-spacing: .12em; text-transform: lowercase; color: var(--d-text-2);
}
.h-page .h-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--d-link); }
.h-page .h-note { font-size: 13.5px; color: var(--d-text-2); margin: 12px 0 0; }
.h-page p { margin: 0; }

/* Kurdish: Rabar, never the Didone; larger line height; labels untracked */
:is([lang="ku"], [lang="ar"]) .h-page .h-display { font-family: var(--d-ku); font-weight: 500; letter-spacing: 0; }
:is([lang="ku"], [lang="ar"]) .h-page h1.h-display { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.35; }
:is([lang="ku"], [lang="ar"]) .h-page .h-h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.4; }
:is([lang="ku"], [lang="ar"]) .h-page .h-h3 { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.5; }
:is([lang="ku"], [lang="ar"]) .h-page :is(.h-eyebrow, .h-plan-badge, .h-strip-label) { font-family: var(--d-ku); letter-spacing: 0; text-transform: none; font-size: 14px; }

/* ── buttons ──────────────────────────────────────────────────────────────────────────────────── */
.h-page .h-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 44px; padding: 10px 18px; border-radius: var(--d-r-control);
    border: 1px solid var(--d-hairline-strong); background: transparent; color: var(--d-text);
    font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.h-page .h-btn:hover { background: var(--d-surface-3); color: var(--d-text); }
.h-page .h-btn:active { transform: translateY(1px); }
.h-page .h-btn .material-icons { font-size: 20px; }
.h-page .h-btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16.5px; }
.h-page .h-btn-block { width: 100%; }
/* amber: a screen's main action, ink on amber (11.1:1) */
.h-page .h-btn-primary { background: var(--d-amber); border-color: var(--d-amber); color: var(--d-on-amber); }
.h-page .h-btn-primary:hover { background: var(--d-amber-press); border-color: var(--d-amber-press); color: var(--d-on-amber); }
.h-page .h-btn-fb { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--d-on-amber); color: var(--d-amber); }
.h-page .h-btn-fb svg { width: 16px; height: 16px; }
.h-page .h-link {
    display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer;
    color: var(--d-link); font: inherit; font-size: 13.5px;
}
.h-page .h-link .material-icons { font-size: 18px; }
.h-page :is(.h-btn, .h-link, a, summary, button, input, textarea):focus-visible { outline: 2px solid var(--d-link); outline-offset: 3px; }
/* «forward» points left in Kurdish */
[dir="rtl"] .h-page .h-flip { transform: scaleX(-1); }

/* ── preview banner ───────────────────────────────────────────────────────────────────────────── */
.h-page .h-preview {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px;
    background: var(--d-warning-dim); color: var(--d-text); font-size: 13.5px; text-align: center;
    position: relative; z-index: 1200;
}
.h-page .h-preview .material-icons { font-size: 18px; color: var(--d-warning-text); }

/* ── navigation ───────────────────────────────────────────────────────────────────────────────── */
.h-page .h-nav {
    position: sticky; top: 0; z-index: 1100; height: var(--h-nav);
    background: transparent; border-bottom: 1px solid transparent;
    transition: background-color .2s ease, border-color .2s ease;
}
.h-page .h-nav.is-scrolled { background: var(--d-header-bg); border-bottom-color: var(--d-hairline); backdrop-filter: blur(12px); }
.h-page .h-nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
html .h-page .h-logo { width: 116px; padding: 0; margin: 0; flex: none; }
html .h-page .h-logo .d-descriptor { font-size: 7px; }
.h-page .h-nav-links { display: flex; gap: 4px; margin-inline-start: 12px; }
.h-page .h-nav-links a, .h-page .h-signin, .h-page .h-lang {
    padding: 8px 12px; border-radius: var(--d-r-control); color: var(--d-text-2); font-size: 15px; text-decoration: none;
    /*
     * NEVER BREAK A MENU ITEM (20/09/2026). The bar is a flex row, so when a fifth link (Articles)
     * was added every item was shrunk by a dozen pixels — enough for «چۆن کار دەکات؟» to wrap onto a
     * second line and the whole bar to grow to 67px. Measured: with nowrap the row needs 1159px, so
     * the two widths below give it that much before it collapses to the drawer.
     */
    white-space: nowrap;
}
.h-page .h-nav-links a:hover, .h-page .h-signin:hover, .h-page .h-lang:hover { color: var(--d-text); background: var(--d-surface-1); }
.h-page .h-nav-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.h-page .h-lang { font-family: var(--d-ku); }
.h-page .h-lang[lang="en"] { font-family: var(--d-ui); }
.h-page .h-nav-cta { min-height: 40px; padding: 8px 16px; }
.h-page .h-menu-btn {
    display: none; width: 44px; height: 44px; border-radius: var(--d-r-control); border: 1px solid var(--d-hairline);
    background: transparent; color: var(--d-text); cursor: pointer; align-items: center; justify-content: center;
}
.h-page .h-menu-btn .material-icons { font-size: 24px; }

.h-page .h-drawer { position: fixed; inset: 0; z-index: 1300; background: var(--d-scrim); }
.h-page .h-drawer[hidden] { display: none; }
.h-page .h-drawer-panel {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: min(360px, 88vw);
    background: var(--d-surface-1); border-inline-start: 1px solid var(--d-hairline);
    display: flex; flex-direction: column; gap: 24px; padding: 16px 20px 24px; box-sizing: border-box; overflow-y: auto;
}
.h-page .h-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.h-page .h-drawer-links { display: flex; flex-direction: column; }
.h-page .h-drawer-links a { padding: 14px 4px; border-bottom: 1px solid var(--d-hairline-soft); color: var(--d-text); font-size: 18px; text-decoration: none; }

/* ── hero ─────────────────────────────────────────────────────────────────────────────────────── */
.h-page .h-hero { padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); }
.h-page .h-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.h-page .h-hero .h-lead { font-size: clamp(18px, 1.6vw, 21px); }
.h-page .h-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.h-page .h-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--d-text-2); font-size: 14.5px; }
.h-page .h-trust li { display: inline-flex; align-items: center; gap: 6px; }
.h-page .h-trust .material-icons { font-size: 18px; color: var(--d-success-text); }
.h-page .h-proof { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--d-hairline); color: var(--d-text); font-size: 14px; }
.h-page .h-proof-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--d-success); box-shadow: 0 0 0 0 rgba(46, 158, 107, .5); animation: h-pulse 2.4s ease-out infinite; }
@keyframes h-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 107, .45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(46, 158, 107, 0); } }

.h-page .h-hero-stage {
    position: relative; display: flex; justify-content: center; padding: clamp(24px, 4vw, 48px) 0;
}
.h-page .h-hero-stage::before {
    content: ""; position: absolute; inset: 0 6%; border-radius: 28px;
    background: var(--d-surface-1); border: 1px solid var(--d-hairline-soft);
}
.h-page .h-phone {
    position: relative; width: min(360px, 100%); box-sizing: border-box;
    background: var(--d-bg); border: 1px solid var(--d-hairline-strong); border-radius: 32px;
    padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 10px;
}
.h-page .h-phone-bar { display: flex; justify-content: center; padding: 2px 0 6px; }
.h-page .h-phone-bar span { width: 72px; height: 5px; border-radius: 99px; background: var(--d-hairline-strong); }
.h-page .h-post { background: var(--d-surface-1); border: 1px solid var(--d-hairline-soft); border-radius: 16px; padding: 12px; }
.h-page .h-post-head { display: flex; align-items: center; gap: 10px; }
.h-page .h-post-head strong { display: block; font-size: 14px; color: var(--d-text); }
.h-page .h-post-head small { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--d-text-2); }
.h-page .h-plat-mini svg { width: 13px; height: 13px; }
.h-page .h-post-text { font-size: 14px; color: var(--d-text); margin: 10px 0; }
.h-page .h-post-media { height: 104px; border-radius: 12px; background: var(--d-surface-3); display: flex; align-items: center; justify-content: center; color: var(--d-text-2); }
.h-page .h-post-media .material-icons { font-size: 44px; }

.h-page .h-avatar {
    width: 32px; height: 32px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
    background: var(--d-surface-3); color: var(--d-text); font-size: 13px; font-weight: 500;
}
.h-page .h-avatar-page { background: var(--d-link-dim); color: var(--d-link); }
.h-page .h-avatar .material-icons { font-size: 17px; }
.h-page .h-thread { display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.h-page .h-msg { display: flex; align-items: flex-start; gap: 8px; }
.h-page .h-msg-page { padding-inline-start: 22px; }
.h-page .h-bubble { background: var(--d-surface-2); border-radius: 16px; padding: 8px 12px; font-size: 13.5px; line-height: 1.5; color: var(--d-text); min-width: 0; }
.h-page .h-bubble strong { display: block; font-size: 12.5px; margin-bottom: 1px; }
.h-page .h-msg-page .h-bubble { background: var(--d-link-dim); }
.h-page .h-typing { display: flex; align-items: center; gap: 8px; padding-inline-start: 22px; }
.h-page .h-dots { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 16px; background: var(--d-surface-2); }
.h-page .h-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--d-text-2); animation: h-dot 1s ease-in-out infinite; }
.h-page .h-dots i:nth-child(2) { animation-delay: .15s; }
.h-page .h-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes h-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.h-page .h-dm { background: var(--d-surface-1); border: 1px solid var(--d-line-accent, var(--d-hairline)); border-color: rgba(var(--d-link-rgb), .45); border-radius: 16px; padding: 12px; }
.h-page .h-dm-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.h-page .h-dm-head strong { font-size: 13px; color: var(--d-text); }
.h-page .h-dm-head small { margin-inline-start: auto; font-size: 11.5px; color: var(--d-text-2); }
.h-page .h-dm-icon { color: var(--d-link); display: inline-flex; }
.h-page .h-dm p { font-size: 13.5px; line-height: 1.5; color: var(--d-text); }
.h-page .h-dm-btns { display: grid; gap: 6px; margin-top: 10px; }
.h-page .h-dm-btns[hidden] { display: none; }
.h-page .h-dm-btns span { display: block; text-align: center; padding: 7px; border-radius: var(--d-r-control); background: var(--d-surface-3); color: var(--d-link); font-size: 13px; font-weight: 500; }
.h-page .h-float {
    position: absolute; inset-inline-end: 0; top: 34%;
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
    background: var(--d-surface-2); border: 1px solid var(--d-hairline); color: var(--d-text); font-size: 13px; font-weight: 500;
}
.h-page .h-float .material-icons { font-size: 17px; color: var(--d-success-text); }

/* the mock's steps: shown by landing-home.js one after another; without JS everything is shown */
.h-page [data-h-mock] [data-step], .h-page .h-hero-stage > [data-step] { transition: opacity .45s ease, transform .45s ease; }
.h-page.h-js [data-h-mock] [data-step]:not(.is-shown), .h-page.h-js .h-hero-stage > [data-step]:not(.is-shown) { opacity: 0; transform: translateY(8px); }
.h-page.h-js [data-h-mock] .h-typing:not(.is-shown) { display: none; }
.h-page [data-h-mock] .h-typing:not(.is-shown) { display: none; }

/* ── works with ───────────────────────────────────────────────────────────────────────────────── */
.h-page .h-strip { border-block: 1px solid var(--d-hairline-soft); }
.h-page .h-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding-block: 22px; color: var(--d-text-2); }
.h-page .h-strip-label { font-family: var(--d-mono); font-size: 12px; letter-spacing: .12em; text-transform: lowercase; }
.h-page .h-strip-item { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--d-text); }
.h-page .h-strip-item svg { width: 22px; height: 22px; }
.h-page .h-strip-note { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.h-page .h-strip-note .material-icons { font-size: 18px; color: var(--d-success-text); }

/* ── sections ─────────────────────────────────────────────────────────────────────────────────── */
.h-page .h-section { padding-block: clamp(72px, 10vw, 128px); }
.h-page .h-band { background: var(--d-surface-1); border-block: 1px solid var(--d-hairline-soft); }
.h-page .h-band .h-card, .h-page .h-band .h-plan { background: var(--d-bg); }
.h-page .h-head { margin-bottom: clamp(40px, 5vw, 64px); }
.h-page .h-head-center { text-align: center; }
.h-page .h-head-center .h-lead { margin-inline: auto; }
.h-page .h-center { display: flex; justify-content: center; margin-top: 48px; }

.h-page .h-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--h-gap); }
.h-page .h-card {
    position: relative; background: var(--d-surface-1); border: 1px solid var(--d-hairline); border-radius: var(--d-r-card);
    padding: clamp(22px, 2.4vw, 30px); transition: border-color .2s ease, transform .2s ease;
}
.h-page .h-card:hover { border-color: var(--d-hairline-strong); }
html .h-page .h-card h3 { font-size: 18.5px; line-height: 1.35; margin: 16px 0 8px; }
.h-page .h-card p { color: var(--d-text-2); line-height: 1.6; font-size: 15.5px; }
.h-page .h-ic {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
    background: var(--d-link-dim); color: var(--d-link);
}
.h-page .h-ic .material-icons { font-size: 23px; }
.h-page .h-ic-lg { width: 52px; height: 52px; border-radius: 14px; }
.h-page .h-ic-lg .material-icons { font-size: 26px; }
.h-page .h-num { position: absolute; top: 22px; inset-inline-end: 24px; font-family: var(--d-mono); font-size: 13px; color: var(--d-text-2); }

/* features: text beside a small picture of the product */
.h-page .h-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 8vw, 104px); }
.h-page .h-row-flip .h-row-visual { order: -1; }
.h-page .h-row-copy > p { color: var(--d-text-2); font-size: 17px; line-height: 1.65; max-width: 52ch; }
.h-page .h-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.h-page .h-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--d-text); }
.h-page .h-points .material-icons { font-size: 20px; color: var(--d-success-text); margin-top: 1px; }
.h-page .h-row-visual { position: relative; }
.h-page .h-panel { background: var(--d-bg); border: 1px solid var(--d-hairline); border-radius: 20px; padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.h-page .h-panel-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--d-text); margin-bottom: 4px; }
.h-page .h-panel-title .material-icons { font-size: 20px; color: var(--d-link); }
.h-page .h-kw { display: grid; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--d-hairline); }
.h-page .h-kw-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; flex-wrap: wrap; }
.h-page .h-kw-row .material-icons { font-size: 18px; color: var(--d-text-2); }
.h-page .h-kw-tag { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--d-hairline-strong); color: var(--d-text-2); font-size: 12.5px; }
.h-page .h-kw-tag b { color: var(--d-text); font-weight: 500; }
.h-page .h-kw-answer { color: var(--d-text); }
.h-page .h-chat { background: var(--d-surface-2); border-radius: 16px; padding: 10px 14px; font-size: 14px; color: var(--d-text); line-height: 1.55; }
.h-page .h-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h-page .h-pcard { border: 1px solid var(--d-hairline); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--d-surface-1); }
.h-page .h-pcard-img { height: 92px; display: flex; align-items: center; justify-content: center; background: var(--d-surface-3); color: var(--d-text-2); }
.h-page .h-pcard-img .material-icons { font-size: 40px; }
.h-page .h-pcard strong { font-size: 13.5px; color: var(--d-text); padding: 10px 12px 0; }
.h-page .h-pcard small { font-size: 12px; color: var(--d-text-2); padding: 2px 12px 10px; }
.h-page .h-pcard-btn { margin-top: auto; text-align: center; padding: 9px; border-top: 1px solid var(--d-hairline); color: var(--d-link); font-size: 13px; font-weight: 500; }
.h-page .h-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.h-page .h-log li { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--d-surface-1); font-size: 13.5px; color: var(--d-text-2); }
.h-page .h-log-who { color: var(--d-text); font-weight: 500; }
.h-page .h-log-ic { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.h-page .h-log-ic .material-icons { font-size: 16px; }
.h-page .h-log-ic.is-ok { background: var(--d-success-dim); color: var(--d-success-text); }
.h-page .h-log-ic.is-skip { background: var(--d-surface-3); color: var(--d-text-2); }
.h-page .h-mini-grid { margin-top: 8px; }
.h-page .h-mini { display: flex; gap: 16px; align-items: flex-start; }
html .h-page .h-mini h3 { margin-top: 2px; }

/* ── try it ───────────────────────────────────────────────────────────────────────────────────── */
.h-page .h-try {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px);
    background: var(--d-surface-1); border: 1px solid var(--d-hairline); border-radius: 24px; padding: clamp(20px, 3.5vw, 44px);
}
.h-page .h-label { display: block; font-size: 14px; font-weight: 500; color: var(--d-text); margin-bottom: 8px; }
html .h-page .h-input {
    width: 100%; box-sizing: border-box; min-height: 92px; resize: vertical; padding: 12px 14px;
    background: var(--d-bg); border: 1px solid var(--d-hairline-strong); border-radius: var(--d-r-control);
    color: var(--d-text); font: inherit; font-size: 15px; line-height: 1.6;
}
html .h-page .h-input:focus { border-color: var(--d-link); outline: none; box-shadow: 0 0 0 3px var(--d-link-dim); }
.h-page .h-check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; color: var(--d-text); cursor: pointer; }
.h-page .h-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--d-link); }
.h-page .h-try-dm { margin-top: 10px; }
.h-page .h-try-dm[hidden] { display: none; }
.h-page .h-try-dm .h-link { margin-top: 8px; }
.h-page .h-try-form .h-btn { margin-top: 24px; }
.h-page .h-try-preview { display: flex; flex-direction: column; gap: 12px; }
.h-page .h-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--d-hairline); align-self: flex-start; }
.h-page .h-tabs button {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 0; cursor: pointer;
    background: transparent; color: var(--d-text-2); font: inherit; font-size: 14px;
}
.h-page .h-tabs button[aria-selected="true"] { background: var(--d-surface-3); color: var(--d-text); }
.h-page .h-try-screen { min-height: 280px; }
.h-page .h-try-screen .h-dm[hidden] { display: none; }
.h-page .h-mention { color: var(--d-link); font-weight: 500; }

/* ── how it works ─────────────────────────────────────────────────────────────────────────────── */
.h-page .h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--h-gap); counter-reset: none; }
.h-page .h-step { position: relative; padding-top: 28px; border-top: 1px solid var(--d-hairline-strong); }
.h-page .h-step-num { position: absolute; top: -12px; inset-inline-start: 0; padding-inline-end: 12px; background: var(--d-surface-1); font-family: var(--d-mono); font-size: 13px; color: var(--d-link); }
html .h-page .h-step h3 { font-size: 20px; line-height: 1.35; margin: 16px 0 8px; }
.h-page .h-step p { color: var(--d-text-2); line-height: 1.65; font-size: 15.5px; }

/* ── numbers ──────────────────────────────────────────────────────────────────────────────────── */
.h-page .h-numbers { padding-block: clamp(56px, 7vw, 88px); }
/* a label in a heading's clothes: davar.css styles h2 bold and bright, so the label voice is set again */
html .h-page .h-numbers-title { display: flex; justify-content: center; margin-bottom: 36px; font-family: var(--d-mono); font-size: 12.5px; font-weight: 400; letter-spacing: .12em; color: var(--d-text-2); }
:is([lang="ku"], [lang="ar"]) .h-page .h-numbers-title.h-numbers-title { font-family: var(--d-ku); letter-spacing: 0; font-size: 14px; }
.h-page .h-numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.h-page .h-numbers-grid > div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 8px 24px; border-inline-start: 1px solid var(--d-hairline); text-align: center; }
.h-page .h-numbers-grid > div:first-child { border-inline-start: 0; }
.h-page .h-numbers-grid dd { margin: 0; font-family: var(--d-display); font-size: clamp(40px, 4.6vw, 60px); line-height: 1; color: var(--d-text); direction: ltr; }
.h-page .h-numbers-grid dt { font-size: 14.5px; color: var(--d-text-2); }

/* ── pricing ──────────────────────────────────────────────────────────────────────────────────── */
.h-page .h-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--h-gap); align-items: stretch; }
.h-page .h-plan {
    position: relative; display: flex; flex-direction: column; background: var(--d-surface-1); border: 1px solid var(--d-hairline);
    border-radius: 16px; padding: clamp(24px, 2.6vw, 32px);
}
.h-page .h-plan.is-trial { border-color: rgba(var(--d-link-rgb), .6); }
.h-page .h-plan-badge {
    position: absolute; top: -13px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px;
    background: var(--d-link); color: var(--d-bg); font-family: var(--d-mono); font-size: 12px; letter-spacing: .06em; text-transform: lowercase;
}
html .h-page .h-plan-name { font-size: 20px; margin: 0; }
.h-page .h-plan-for { color: var(--d-text-2); font-size: 14.5px; margin-top: 4px; }
.h-page .h-plan-price { margin: 22px 0 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.h-page .h-plan-amount { font-family: var(--d-display); font-size: clamp(42px, 4vw, 54px); line-height: 1; color: var(--d-text); direction: ltr; }
.h-page .h-plan-unit { color: var(--d-text-2); font-size: 14.5px; }
.h-page .h-plan-list { list-style: none; padding: 20px 0 0; margin: 0 0 26px; border-top: 1px solid var(--d-hairline); display: grid; gap: 11px; flex: 1; align-content: start; }
.h-page .h-plan-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--d-text-2); }
.h-page .h-plan-list li.is-strong { color: var(--d-text); font-weight: 500; }
.h-page .h-plan-list .material-icons { font-size: 19px; color: var(--d-success-text); }
.h-page .h-plan-list svg { width: 19px; height: 19px; color: var(--d-text); }
.h-page .h-plans-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 36px auto 0; max-width: 720px; text-align: center; color: var(--d-text-2); font-size: 14.5px; }
.h-page .h-plans-note .material-icons { font-size: 22px; color: var(--d-link); flex: none; }

/* ── FAQ ──────────────────────────────────────────────────────────────────────────────────────── */
.h-page .h-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.h-page .h-faq .h-head { position: sticky; top: calc(var(--h-nav) + 24px); }
.h-page .h-faq-list { border-top: 1px solid var(--d-hairline); }
.h-page .h-faq-item { border-bottom: 1px solid var(--d-hairline); }
.h-page .h-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; cursor: pointer;
    list-style: none; font-size: 17.5px; font-weight: 500; color: var(--d-text);
}
.h-page .h-faq-item summary::-webkit-details-marker { display: none; }
.h-page .h-faq-item summary .material-icons { font-size: 22px; color: var(--d-text-2); transition: transform .2s ease; }
.h-page .h-faq-item[open] summary .material-icons { transform: rotate(45deg); color: var(--d-link); }
.h-page .h-faq-item p { padding: 0 2px 22px; color: var(--d-text-2); line-height: 1.7; font-size: 16px; max-width: 64ch; }

/* ── final call ───────────────────────────────────────────────────────────────────────────────── */
.h-page .h-final { padding-block: clamp(80px, 11vw, 144px); text-align: center; }
.h-page .h-final-inner { display: flex; flex-direction: column; align-items: center; }
.h-page .h-final .h-lead { margin-inline: auto; margin-bottom: 36px; }
.h-page .h-final .h-h2 { max-width: 18ch; }

/* ── footer ───────────────────────────────────────────────────────────────────────────────────── */
.h-page .h-footer { border-top: 1px solid var(--d-hairline); padding-top: 56px; }
.h-page .h-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.h-page .h-footer-brand p { color: var(--d-text-2); font-size: 14.5px; line-height: 1.65; margin-top: 20px; max-width: 40ch; }
html .h-page .h-footer h3 { font-family: var(--d-mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: lowercase; color: var(--d-text-2); margin: 0 0 14px; }
:is([lang="ku"], [lang="ar"]) .h-page .h-footer h3 { font-family: var(--d-ku); letter-spacing: 0; font-size: 14px; }
.h-page .h-footer nav { display: flex; flex-direction: column; gap: 10px; }
.h-page .h-footer nav a { color: var(--d-text); font-size: 15px; text-decoration: none; width: fit-content; }
.h-page .h-footer nav a:hover { color: var(--d-link); }
.h-page .h-footer-bottom { margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--d-hairline-soft); color: var(--d-text-2); font-size: 13.5px; }

/* ── the phone's sticky call ──────────────────────────────────────────────────────────────────── */
.h-page .h-sticky {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 1050; display: none;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--d-header-bg);
    border-top: 1px solid var(--d-hairline); backdrop-filter: blur(12px);
    transform: translateY(110%); transition: transform .25s ease;
}
.h-page .h-sticky.is-visible { transform: translateY(0); }

/* ── appearing on scroll (only when the script runs, and never with reduced motion) ───────────── */
.h-page.h-js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.h-page.h-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── widths ───────────────────────────────────────────────────────────────────────────────────── */
/* Sign in leaves the bar first: it is in the drawer, and the CTA beside it says the same thing. */
@media (max-width: 1240px) {
    .h-page .h-signin { display: none; }
}
@media (max-width: 1120px) {
    .h-page .h-nav-links { display: none; }
    .h-page .h-menu-btn { display: inline-flex; }
}
@media (max-width: 1080px) {
    .h-page .h-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .h-page .h-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .h-page .h-hero-grid, .h-page .h-row, .h-page .h-try, .h-page .h-faq { grid-template-columns: minmax(0, 1fr); }
    .h-page .h-row-flip .h-row-visual { order: 0; }
    .h-page .h-grid-3, .h-page .h-plans, .h-page .h-steps { grid-template-columns: minmax(0, 1fr); }
    .h-page .h-steps { gap: 40px; }
    .h-page .h-numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .h-page .h-numbers-grid > div:nth-child(3) { border-inline-start: 0; }
    .h-page .h-faq .h-head { position: static; }
    .h-page .h-plans { max-width: 480px; margin-inline: auto; gap: 28px; }
    .h-page .h-sticky { display: block; }
    .h-page .h-footer { padding-bottom: 80px; }
}
@media (max-width: 640px) {
    .h-page { --h-nav: 64px; }
    .h-page .h-nav-cta, .h-page .h-lang { display: none; }
    .h-page .h-nav-end { gap: 6px; }
    .h-page .h-cta-row .h-btn { width: 100%; }
    .h-page .h-hero-stage::before { inset: 0; border-radius: 20px; }
    .h-page .h-hero-stage { padding: 20px 12px; }
    .h-page .h-float { display: none; }
    .h-page .h-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-page .h-kw-row { align-items: flex-start; }
}
@media (max-width: 380px) {
    .h-page .h-numbers-grid { grid-template-columns: minmax(0, 1fr); }
    .h-page .h-numbers-grid > div { border-inline-start: 0; }
    .h-page .d-theme-switch { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-ui] { scroll-behavior: auto; }
    .h-page *, .h-page *::before, .h-page *::after { animation: none !important; transition: none !important; }
    .h-page.h-js [data-reveal] { opacity: 1; transform: none; }
}
