/* ==========================================================================
   ARWriter 2026 — blog design layer (loaded after screen.css)
   Mirrors app.arwriterai.com: Almarai / Inter, purple accent #7C6AEB with an
   indigo→fuchsia gradient, floating pill header, soft cards, RTL-first.
   Every new component is namespaced .arw-* so legacy tool pages keep working.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --arw-font-ar: 'Almarai', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    --arw-font-en: 'Inter', 'Almarai', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --arw-font: var(--arw-font-ar);

    --arw-primary: #7C6AEB;
    --arw-primary-600: #6B58E0;
    --arw-primary-700: #5B47D6;
    --arw-indigo: #6366F1;
    --arw-fuchsia: #D946EF;
    --arw-grad: linear-gradient(100deg, #7C6AEB 0%, #6366F1 45%, #D946EF 100%);
    --arw-grad-cta: linear-gradient(125deg, #7C6AEB 0%, #5B4BE8 45%, #9333EA 80%, #C026D3 100%);

    --arw-bg: #ffffff;
    --arw-bg-soft: #F7F8FC;
    --arw-surface: #ffffff;
    --arw-surface-2: #F2F3F9;
    --arw-text: #0F1222;
    --arw-text-2: #474E66;
    --arw-text-3: #656D85;
    --arw-border: #E5E7F0;
    --arw-border-2: #D6D9E6;
    --arw-primary-soft: rgba(124, 106, 235, 0.10);
    --arw-primary-line: rgba(124, 106, 235, 0.28);
    --arw-primary-text: #5B47D6;
    --arw-ok: #059669;
    --arw-header-bg: rgba(255, 255, 255, 0.82);

    --arw-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --arw-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 28px -12px rgba(16, 24, 40, 0.16);
    --arw-shadow-lg: 0 30px 70px -30px rgba(91, 71, 214, 0.45);

    --arw-r-sm: 10px;
    --arw-r: 16px;
    --arw-r-lg: 24px;
    --arw-r-xl: 32px;

    --arw-max: 1200px;
    --arw-measure: 720px;
    --arw-gutter: 24px;
    --arw-header-h: 64px;
    --arw-header-pad: 12px;
    --arw-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[lang="en"],
.is-en-site {
    --arw-font: var(--arw-font-en);
}

/* Dark tokens: explicit choice, or system preference unless the reader chose light. */
:root[data-theme="dark"],
:root.theme-dark {
    --arw-bg: #0A0C15;
    --arw-bg-soft: #0E111C;
    --arw-surface: #131726;
    --arw-surface-2: #191E30;
    --arw-text: #EEF0F7;
    --arw-text-2: #B7BDCE;
    --arw-text-3: #8F96AB;
    --arw-border: #222839;
    --arw-border-2: #2E3550;
    --arw-primary-soft: rgba(124, 106, 235, 0.17);
    --arw-primary-line: rgba(150, 134, 255, 0.35);
    --arw-primary-text: #ADA1FF;
    --arw-ok: #34D399;
    --arw-header-bg: rgba(14, 17, 28, 0.78);
    --arw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --arw-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 30px -14px rgba(0, 0, 0, 0.7);
    --arw-shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
    color-scheme: dark;

    /* legacy tokens used by screen.css (tool pages, post body cards) */
    --color-bg: #0A0C15;
    --color-bg-secondary: #131726;
    --color-bg-tertiary: #191E30;
    --color-surface: #131726;
    --color-surface-elevated: #191E30;
    --color-border: rgba(255, 255, 255, 0.09);
    --color-border-strong: rgba(255, 255, 255, 0.15);
    --color-text: #EEF0F7;
    --color-text-secondary: #B7BDCE;
    --color-text-tertiary: #8F96AB;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not(.theme-light) {
        --arw-bg: #0A0C15;
        --arw-bg-soft: #0E111C;
        --arw-surface: #131726;
        --arw-surface-2: #191E30;
        --arw-text: #EEF0F7;
        --arw-text-2: #B7BDCE;
        --arw-text-3: #8F96AB;
        --arw-border: #222839;
        --arw-border-2: #2E3550;
        --arw-primary-soft: rgba(124, 106, 235, 0.17);
        --arw-primary-line: rgba(150, 134, 255, 0.35);
        --arw-primary-text: #ADA1FF;
        --arw-ok: #34D399;
        --arw-header-bg: rgba(14, 17, 28, 0.78);
        --arw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
        --arw-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 30px -14px rgba(0, 0, 0, 0.7);
        --arw-shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
        color-scheme: dark;
        --color-bg: #0A0C15;
        --color-bg-secondary: #131726;
        --color-bg-tertiary: #191E30;
        --color-surface: #131726;
        --color-surface-elevated: #191E30;
        --color-border: rgba(255, 255, 255, 0.09);
        --color-border-strong: rgba(255, 255, 255, 0.15);
        --color-text: #EEF0F7;
        --color-text-secondary: #B7BDCE;
        --color-text-tertiary: #8F96AB;
    }
}

/* A reader who picked light on a dark OS: screen.css' auto-dark rule only knew
   .theme-light, so legacy components stayed dark. Force the light legacy tokens. */
:root[data-theme="light"] {
    color-scheme: light;
    --color-bg: #ffffff;
    --color-bg-secondary: #F2F3F9;
    --color-bg-tertiary: #F7F8FC;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;
    --color-border: rgba(15, 18, 34, 0.08);
    --color-border-strong: rgba(15, 18, 34, 0.13);
    --color-text: #0F1222;
    --color-text-secondary: #474E66;
    --color-text-tertiary: #656D85;
}

/* ---------- Base ---------- */
html {
    scroll-padding-top: calc(var(--arw-header-h) + 32px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--arw-font);
    background: var(--arw-bg);
    color: var(--arw-text);
    overflow-x: clip;
}

.noise-overlay { display: none !important; }

/* legacy home backgrounds (screen.css) painted a gradient on every home-template page */
.site-wrapper,
.home-template .site-wrapper,
:root[data-theme="dark"] .home-template .site-wrapper {
    background: var(--arw-bg) !important;
}

.arw-i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* A "forward" arrow/chevron points left in Arabic. */
[dir="rtl"] .arw-i--fwd { transform: scaleX(-1); }
[dir="ltr"] .arw-i--back,
.is-en-site .arw-i--back { transform: scaleX(-1); }

.arw-container {
    width: 100%;
    max-width: var(--arw-max);
    margin-inline: auto;
    padding-inline: var(--arw-gutter);
}

.arw-container--narrow { max-width: 860px; }

.arw-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link { font-family: var(--arw-font); }

:where(.arw-header, .arw-mnav, .arw-footer, .arw-home, .arw-post, .arw-archive, .arw-page, .arw-404) a {
    text-decoration: none;
}

:where(.arw-header, .arw-mnav, .arw-footer, .arw-home, .arw-post, .arw-archive, .arw-page, .arw-404) :is(h1, h2, h3, h4) {
    font-family: var(--arw-font);
    color: var(--arw-text);
    letter-spacing: 0;
}

.is-en-site :where(.arw-home, .arw-post, .arw-archive, .arw-page, .arw-404) :is(h1, h2) {
    letter-spacing: -0.02em;
}

:focus-visible {
    outline: 2px solid var(--arw-primary);
    outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.arw-btn {
    --_h: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--_h);
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--arw-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s var(--arw-ease), box-shadow 0.18s var(--arw-ease), background-color 0.18s, color 0.18s, border-color 0.18s;
}

.arw-btn .arw-i { width: 17px; height: 17px; }

.arw-btn--primary {
    background: var(--arw-primary);
    color: #fff !important;
    box-shadow: 0 10px 24px -10px rgba(124, 106, 235, 0.8);
}

.arw-btn--primary:hover {
    background: var(--arw-primary-600);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -12px rgba(124, 106, 235, 0.9);
}

.arw-btn--outline {
    background: var(--arw-surface);
    color: var(--arw-text) !important;
    border-color: var(--arw-border-2);
}

.arw-btn--outline:hover {
    border-color: var(--arw-primary);
    color: var(--arw-primary-text) !important;
}

.arw-btn--light {
    background: #fff;
    color: #3B2FB0 !important;
}

.arw-btn--light:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5); }

.arw-btn--glass {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
}

.arw-btn--glass:hover { background: rgba(255, 255, 255, 0.16); }

.arw-btn--sm { --_h: 40px; padding: 0 16px; font-size: 14px; }
.arw-btn--lg { --_h: 52px; padding: 0 28px; font-size: 16px; }
.arw-btn--block { width: 100%; }

.arw-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--arw-text-2);
    cursor: pointer;
    transition: background-color 0.18s, color 0.18s;
}

.arw-icon-btn:hover { background: var(--arw-surface-2); color: var(--arw-text); }

.arw-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--arw-primary-text) !important;
}

.arw-link .arw-i { width: 16px; height: 16px; transition: transform 0.2s var(--arw-ease); }
.arw-link:hover .arw-i--fwd { transform: translateX(-3px) scaleX(-1); }
[dir="ltr"] .arw-link:hover .arw-i--fwd,
.is-en-site .arw-link:hover .arw-i--fwd { transform: translateX(3px); }

/* theme icons */
.arw-theme-ico--moon { display: none; }
:root[data-theme="dark"] .arw-theme-ico--sun,
:root.theme-dark .arw-theme-ico--sun { display: none; }
:root[data-theme="dark"] .arw-theme-ico--moon,
:root.theme-dark .arw-theme-ico--moon { display: inline-block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not(.theme-light) .arw-theme-ico--sun { display: none; }
    :root:not([data-theme="light"]):not(.theme-light) .arw-theme-ico--moon { display: inline-block; }
}

/* ---------- Header ---------- */
.arw-header {
    position: sticky;
    top: 0;
    z-index: 900;
    padding: var(--arw-header-pad) var(--arw-gutter) 0;
    pointer-events: none;
}

.arw-header__bar {
    pointer-events: auto;
    max-width: calc(var(--arw-max) - 2 * var(--arw-gutter) + 32px);
    margin-inline: auto;
    height: var(--arw-header-h);
    display: flex;
    align-items: center;
    gap: 16px;
    padding-inline: 14px 10px;
    border-radius: 999px;
    border: 1px solid var(--arw-border);
    background: var(--arw-header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: var(--arw-shadow-sm);
    transition: box-shadow 0.25s, border-color 0.25s;
}

.arw-header.is-scrolled .arw-header__bar { box-shadow: var(--arw-shadow); }

.arw-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-height: 44px;
    color: var(--arw-text) !important;
}

.arw-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: contain;
}

.arw-brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.arw-brand__name {
    font-family: var(--arw-font-en);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--arw-text);
}

.arw-brand__sub {
    font-family: var(--arw-font-ar);
    font-size: 11px;
    font-weight: 400;
    color: var(--arw-text-3);
    margin-top: 2px;
}

.arw-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.arw-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--arw-text-2) !important;
    white-space: nowrap;
    transition: background-color 0.18s, color 0.18s;
}

.arw-nav a:hover,
.arw-nav a[aria-current="page"] {
    background: var(--arw-primary-soft);
    color: var(--arw-primary-text) !important;
}

.arw-header__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.arw-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--arw-border);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--arw-text) !important;
    margin-inline: 4px;
}

.arw-lang .arw-i { width: 16px; height: 16px; color: var(--arw-text-3); }
.arw-lang:hover { border-color: var(--arw-primary); color: var(--arw-primary-text) !important; }

.arw-menu-btn { display: none; }

@media (max-width: 1120px) {
    .arw-nav a { padding: 0 9px; font-size: 14px; }
    .arw-brand__sub { display: none; }
}

@media (max-width: 980px) {
    .arw-nav { display: none; }
    .arw-header__bar { justify-content: space-between; }
    .arw-menu-btn { display: inline-flex; }
    .arw-lang { display: none; }
}

@media (max-width: 560px) {
    :root { --arw-gutter: 16px; --arw-header-h: 58px; --arw-header-pad: 8px; }
    .arw-header__bar { padding-inline: 10px 6px; gap: 6px; }
    .arw-brand img { width: 30px; height: 30px; }
    .arw-brand__name { font-size: 17px; }
    .arw-header .arw-theme-btn { display: none; }
    .arw-header .arw-btn--sm { --_h: 38px; padding: 0 13px; font-size: 13px; }
    .arw-header__actions { gap: 0; }
}

@media (max-width: 359px) {
    .arw-header .arw-btn--sm { display: none; }
}

/* ---------- Mobile nav sheet ---------- */
.arw-mnav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}

.arw-mnav.is-open { visibility: visible; pointer-events: auto; }

.arw-mnav__scrim {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 20, 0.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s;
}

.arw-mnav.is-open .arw-mnav__scrim { opacity: 1; }

.arw-mnav__panel {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(400px, 100%);
    display: flex;
    flex-direction: column;
    background: var(--arw-bg);
    box-shadow: var(--arw-shadow-lg);
    transform: translateX(-100%);
    transition: transform 0.3s var(--arw-ease);
    overflow-y: auto;
    overscroll-behavior: contain;
}

[dir="rtl"] .arw-mnav__panel { inset-inline-end: auto; inset-inline-start: 0; transform: translateX(100%); }
[dir="ltr"] .arw-mnav__panel { inset-inline-start: auto; inset-inline-end: 0; transform: translateX(100%); }
.arw-mnav.is-open .arw-mnav__panel { transform: none; }

.arw-mnav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 12px 16px;
    border-bottom: 1px solid var(--arw-border);
}

[dir="rtl"] .arw-mnav__head { padding: 12px 16px 12px 12px; }

.arw-mnav__links {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
}

.arw-mnav__links a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    color: var(--arw-text) !important;
}

.arw-mnav__links a:hover { background: var(--arw-surface-2); }

.arw-mnav__links a > .arw-i:first-child {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 11px;
    background: var(--arw-primary-soft);
    color: var(--arw-primary-text);
}

.arw-mnav__links a .arw-i--fwd { margin-inline-start: auto; width: 16px; height: 16px; color: var(--arw-text-3); }

.arw-mnav__cta {
    display: grid;
    gap: 10px;
    padding: 6px 24px 18px;
}

.arw-mnav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 24px;
    padding: 14px 0;
    border-top: 1px solid var(--arw-border);
}

.arw-mnav__row .arw-lang { display: inline-flex; margin: 0; }

.arw-mnav__foot {
    margin-top: auto;
    padding: 18px 24px 28px;
    border-top: 1px solid var(--arw-border);
    display: grid;
    gap: 14px;
}

body.arw-lock { overflow: hidden; }

/* ---------- "Works with" assistant chips ---------- */
.arw-works {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--arw-text-3);
}

.arw-works__label { font-weight: 400; }

.arw-chip-ai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px 0 12px;
    border-radius: 999px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    box-shadow: var(--arw-shadow-sm);
    font-family: var(--arw-font-en);
    font-weight: 700;
    font-size: 15px;
    color: var(--arw-text);
    direction: ltr;
}

.arw-chip-ai .arw-i { width: 22px; height: 22px; }
.arw-chip-ai--sm { min-height: 30px; padding: 0 10px 0 8px; font-size: 12.5px; gap: 6px; }
.arw-chip-ai--sm .arw-i { width: 16px; height: 16px; }

.arw-ai-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(15, 18, 34, 0.06);
    box-shadow: var(--arw-shadow);
    color: #0F1222;
}

.arw-ai-tile .arw-i { width: 29px; height: 29px; }

/* ---------- Platform tiles ---------- */
.arw-pf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 16px -8px rgba(15, 18, 34, 0.45);
}

.arw-pf .arw-i { width: 50%; height: 50%; }
.arw-pf--instagram { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }
.arw-pf--facebook { background: #1877F2; }
.arw-pf--tiktok, .arw-pf--x, .arw-pf--threads { background: #000; }
.arw-pf--linkedin { background: #0A66C2; }
.arw-pf--youtube { background: #FF0000; }
.arw-pf--pinterest { background: #E60023; }
.arw-pf--bluesky { background: #0085FF; }
.arw-pf--telegram { background: #26A5E4; }
.arw-pf--reddit { background: #FF4500; }
.arw-pf--gbp { background: #4285F4; }
:root[data-theme="dark"] :is(.arw-pf--tiktok, .arw-pf--x, .arw-pf--threads) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not(.theme-light) :is(.arw-pf--tiktok, .arw-pf--x, .arw-pf--threads) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
}

.arw-pf--sm { width: 30px; height: 30px; border-radius: 9px; box-shadow: none; }
.arw-pf--xs { width: 22px; height: 22px; border-radius: 7px; box-shadow: none; }

/* ---------- Sections ---------- */
.arw-section { padding-block: 88px; }
.arw-section--tight { padding-block: 64px; }
.arw-section--soft { background: var(--arw-bg-soft); border-block: 1px solid var(--arw-border); }

.arw-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.arw-head--start { margin-inline: 0; text-align: start; max-width: none; }

.arw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--arw-primary-line);
    background: var(--arw-primary-soft);
    color: var(--arw-primary-text);
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 18px;
}

.arw-eyebrow .arw-i { width: 15px; height: 15px; }

.arw-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--arw-primary);
}

.arw-h2 {
    font-size: clamp(28px, 2.2vw + 18px, 44px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.arw-lead {
    margin: 14px auto 0;
    font-size: clamp(16px, 0.4vw + 14.5px, 18.5px);
    line-height: 1.85;
    color: var(--arw-text-2);
    max-width: 680px;
}

.arw-head--start .arw-lead { margin-inline: 0; }

.arw-grad-text {
    background: var(--arw-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-block: 0.06em;
}

/* ---------- Hero ---------- */
.arw-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 72px;
    margin-top: calc(-1 * (var(--arw-header-h) + var(--arw-header-pad)));
    padding-top: calc(var(--arw-header-h) + var(--arw-header-pad) + 56px);
}

.arw-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(to right, var(--arw-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--arw-border) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 100%);
    opacity: 0.6;
}

.arw-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 40px;
    left: 50%;
    width: min(1100px, 120%);
    height: 520px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(124, 106, 235, 0.22), rgba(99, 102, 241, 0.10), rgba(217, 70, 239, 0.16));
    filter: blur(70px);
}

.arw-hero__inner {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.arw-hero__title {
    font-size: clamp(34px, 4.1vw + 14px, 66px);
    font-weight: 800;
    line-height: 1.24;
    margin: 0;
    text-wrap: balance;
}

.is-en-site .arw-hero__title { line-height: 1.1; letter-spacing: -0.035em; }

.arw-hero__lead {
    max-width: 680px;
    margin: 22px auto 0;
    font-size: clamp(16px, 0.5vw + 14px, 19px);
    line-height: 1.9;
    color: var(--arw-text-2);
}

.arw-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.arw-hero__ctas .arw-btn { min-width: 200px; }

.arw-hero__works { margin-top: 26px; }

.arw-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 22px 0 0;
    padding: 0;
    font-size: 14px;
    color: var(--arw-text-3);
}

.arw-trust li { display: inline-flex; align-items: center; gap: 6px; }
.arw-trust .arw-i { width: 15px; height: 15px; color: var(--arw-ok); }

.arw-hero__tiles { position: absolute; inset: 0; pointer-events: none; }

.arw-hero__tiles > span {
    position: absolute;
    animation: arw-float 7s ease-in-out infinite;
}

.arw-hero__tiles > span:nth-child(2n) { animation-delay: -2.5s; animation-duration: 8s; }
.arw-hero__tiles > span:nth-child(3n) { animation-delay: -4s; }

@keyframes arw-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 1080px) { .arw-hero__tiles { display: none; } }

@media (max-width: 560px) {
    .arw-hero { padding-top: calc(var(--arw-header-h) + var(--arw-header-pad) + 36px); padding-bottom: 48px; }
    .arw-hero__ctas { flex-direction: column; align-items: stretch; }
    .arw-hero__ctas .arw-btn { min-width: 0; width: 100%; }
    .arw-trust { gap: 6px 14px; font-size: 13px; }
}

/* ---------- Product mock (illustration) ---------- */
.arw-mock {
    position: relative;
    container: arwmock / inline-size;
    max-width: 1120px;
    margin: 56px auto 0;
    padding: 10px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(124, 106, 235, 0.25), rgba(99, 102, 241, 0.08) 45%, rgba(217, 70, 239, 0.18));
    box-shadow: inset 0 0 0 1px var(--arw-primary-line);
}

.arw-mock__win {
    border-radius: 22px;
    overflow: hidden;
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    box-shadow: var(--arw-shadow-lg);
    text-align: start;
}

.arw-mock__bar {
    direction: ltr;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 38px;
    padding: 0 14px;
    background: var(--arw-surface-2);
    border-bottom: 1px solid var(--arw-border);
}

.arw-mock__dots { display: flex; gap: 6px; }
.arw-mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.arw-mock__dots i:nth-child(2) { background: #FEBC2E; }
.arw-mock__dots i:nth-child(3) { background: #28C840; }

.arw-mock__url {
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 18px;
    border-radius: 8px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    font: 500 11.5px/1.2 var(--arw-font-en);
    color: var(--arw-text-3);
}

.arw-mock__url .arw-i { width: 12px; height: 12px; }

.arw-mock__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
}

.arw-mock__cal { padding: 18px; min-width: 0; }

.arw-mock__calhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    white-space: nowrap;
    color: var(--arw-text-3);
}

.arw-mock__calhead b { font-size: 16px; color: var(--arw-text); margin-inline-end: 6px; }

.arw-mock__new {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 9px;
    background: var(--arw-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.arw-mock__new .arw-i { width: 13px; height: 13px; }

.arw-mock__week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.arw-mock__day {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    min-height: 320px;
    padding: 6px 5px;
    border-radius: 12px;
    background: var(--arw-bg-soft);
    border: 1px solid transparent;
}

.arw-mock__day.is-today { background: var(--arw-primary-soft); border-color: var(--arw-primary-line); }

.arw-mock__dname { text-align: center; font-size: 12px; color: var(--arw-text-3); white-space: nowrap; }

.arw-mock__dnum {
    width: 24px;
    height: 24px;
    margin: 0 auto 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: var(--arw-text);
}

.is-today .arw-mock__dnum { background: var(--arw-primary); color: #fff; }

.arw-mock__post {
    padding: 6px;
    border-radius: 9px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    box-shadow: var(--arw-shadow-sm);
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--arw-text-2);
    overflow-wrap: anywhere;
}

.arw-mock__post.is-next { border: 1.5px dashed var(--arw-primary); }

.arw-mock__ptop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    font: 700 11px/1 var(--arw-font-en);
    color: var(--arw-text);
}

.arw-mock__ptop .arw-pf { width: 17px; height: 17px; border-radius: 5px; }
.arw-mock__thumb { height: 26px; border-radius: 6px; margin-bottom: 4px; background: linear-gradient(135deg, #FCD34D, #F97316); }
.arw-mock__thumb--rose { background: linear-gradient(135deg, #FDA4AF, #EC4899); }
.arw-mock__thumb--red { background: linear-gradient(135deg, #F87171, #E11D48); }
.arw-mock__spacer { flex: 1; max-height: 54px; }

.arw-mock__composer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-inline-start: 1px solid var(--arw-border);
    background: var(--arw-bg-soft);
    min-width: 0;
}

.arw-mock__ctitle { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 15px; }
.arw-mock__ctitle .arw-i { width: 16px; height: 16px; color: var(--arw-text-3); }

.arw-mock__accts { display: flex; flex-wrap: wrap; gap: 6px; }

.arw-mock__acct {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 6px;
    border-radius: 999px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-primary-line);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--arw-text);
}

[dir="rtl"] .arw-mock__acct { padding: 4px 6px 4px 10px; }
.arw-mock__acct .arw-pf { width: 18px; height: 18px; border-radius: 6px; }
.arw-mock__acct--add { border-style: dashed; color: var(--arw-primary-text); }
.arw-mock__acct--add .arw-i { width: 13px; height: 13px; }

.arw-mock__text {
    padding: 12px;
    border-radius: 12px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--arw-text);
}

.arw-mock__tools { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }

.arw-mock__write {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7C6AEB, #C026D3);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.arw-mock__write .arw-i { width: 12px; height: 12px; }
.arw-mock__count { font: 500 10.5px/1 var(--arw-font-en); color: var(--arw-text-3); }

.arw-mock__slot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border-radius: 12px;
    background: var(--arw-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.arw-mock__slot .arw-i { width: 15px; height: 15px; }
.arw-mock__slot small { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.2); font-size: 11px; }

.arw-mock__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.arw-mock__btns span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    border-radius: 11px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    font-size: 12px;
    font-weight: 700;
}

.arw-mock__btns .arw-i { width: 14px; height: 14px; color: var(--arw-text-3); }

.arw-mock__toast {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    box-shadow: var(--arw-shadow);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--arw-text);
    text-align: start;
}

.arw-mock__toast small { display: block; font-weight: 400; color: var(--arw-text-3); font-size: 11.5px; margin-top: 2px; }
.arw-mock__toast--claude { top: -24px; inset-inline-start: 44px; }
.arw-mock__toast--ok { bottom: -22px; inset-inline-end: 44px; }

.arw-mock__toast-ico {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FBEDE7;
}

.arw-mock__toast-ico .arw-i { width: 20px; height: 20px; }
.arw-mock__toast-ico--ok { background: #10B981; color: #fff; border-radius: 50%; }

/* Calendar only where it has room; otherwise a clean composer card that hugs its content.
   The container query guards any width the media query misses. */
@container arwmock (max-width: 760px) {
    .arw-mock__body { grid-template-columns: minmax(0, 1fr); }
    .arw-mock__cal { display: none; }
    .arw-mock__composer { border-inline-start: 0; }
}

@media (max-width: 900px) {
    .arw-mock__body { grid-template-columns: minmax(0, 1fr); }
    .arw-mock__cal { display: none; }
    .arw-mock__composer { border-inline-start: 0; padding-bottom: 22px; }
    .arw-mock { max-width: 460px; margin-top: 44px; margin-bottom: 18px; }
    .arw-mock__toast--claude { inset-inline-start: 12px; top: -26px; }
    .arw-mock__toast--ok { display: none; }
}

/* ---------- Platforms ---------- */
.arw-platforms {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 980px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px 12px;
}

.arw-platforms li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--arw-text);
}

.arw-platforms .arw-pf { width: 56px; height: 56px; border-radius: 16px; }

.arw-badge-mini {
    position: absolute;
    top: -12px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-primary-line);
    color: var(--arw-primary-text);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

.arw-platforms__note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.arw-note {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 440px;
    padding: 14px 18px;
    border-radius: var(--arw-r);
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    font-size: 14px;
    line-height: 1.7;
    color: var(--arw-text-2);
    text-align: start;
}

.arw-note > .arw-i { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--arw-primary-soft); color: var(--arw-primary-text); }
.arw-note--ai { background: linear-gradient(135deg, rgba(217, 119, 87, 0.10), rgba(124, 106, 235, 0.08)); border-color: rgba(217, 119, 87, 0.3); color: var(--arw-text); font-weight: 700; }

@media (max-width: 760px) {
    .arw-platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 8px; }
    .arw-platforms li { font-size: 12.5px; }
    .arw-platforms .arw-pf { width: 50px; height: 50px; }
}

@media (max-width: 400px) {
    .arw-platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Steps ---------- */
.arw-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: arw-step;
}

.arw-step {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    border-radius: var(--arw-r-lg);
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    box-shadow: var(--arw-shadow-sm);
}

.arw-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--arw-primary);
    color: #fff;
    font: 800 17px/1 var(--arw-font-en);
    margin-bottom: 18px;
    box-shadow: 0 10px 20px -10px rgba(124, 106, 235, 0.9);
}

.arw-step h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; line-height: 1.5; }
.arw-step p { margin: 0 0 18px; font-size: 15px; line-height: 1.9; color: var(--arw-text-2); }
.arw-step__num { align-self: flex-start; }

.arw-step__visual {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--arw-border-2);
}

@media (max-width: 860px) { .arw-steps { grid-template-columns: 1fr; } }

/* ---------- Claude / ChatGPT panel ---------- */
.arw-ai {
    position: relative;
    overflow: hidden;
    border-radius: var(--arw-r-xl);
    padding: 56px;
    background: radial-gradient(120% 90% at 85% 0%, rgba(217, 119, 87, 0.28) 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(124, 106, 235, 0.35) 0%, transparent 60%), #14121A;
    color: #F4F1EC;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.arw-ai::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.arw-ai > * { position: relative; }
.arw-ai__marks { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.arw-ai__marks .arw-ai-tile { width: 58px; height: 58px; border-radius: 17px; }
.arw-ai__marks .arw-ai-tile .arw-i { width: 32px; height: 32px; }

.arw-ai__mcp {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    font: 700 11px/1.2 var(--arw-font-en);
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
}

.arw-ai__eyebrow { color: #F0A585; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.arw-ai h2 { color: #fff !important; font-size: clamp(28px, 2.4vw + 16px, 46px); font-weight: 800; line-height: 1.25; margin: 0; }
.arw-ai__lead { margin: 18px 0 0; font-size: 16.5px; line-height: 1.95; color: rgba(244, 241, 236, 0.78); }

.arw-ai__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: arw-ai; }

.arw-ai__steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(244, 241, 236, 0.92);
    counter-increment: arw-ai;
}

.arw-ai__steps li::before {
    content: counter(arw-ai);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 50%;
    border: 1px solid rgba(240, 165, 133, 0.5);
    color: #F0A585;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 13px/1 var(--arw-font-en);
}

.arw-connector {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 460px;
}

.arw-connector code {
    flex: 1;
    min-width: 0;
    direction: ltr;
    text-align: left;
    padding: 0 10px;
    background: none;
    border: 0;
    color: #fff;
    font: 600 14px/1.4 ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arw-connector button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #14121A;
    font: 700 13px/1 var(--arw-font);
    cursor: pointer;
}

.arw-connector button .arw-i { width: 15px; height: 15px; }

.arw-ai__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }

.arw-ai__card {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    line-height: 1.75;
    color: rgba(244, 241, 236, 0.75);
}

.arw-ai__card b { display: flex; align-items: center; gap: 8px; color: #fff; font: 700 14.5px/1.2 var(--arw-font-en); margin-bottom: 6px; }
.arw-ai__card .arw-i { width: 18px; height: 18px; }
.arw-ai__card--chatgpt .arw-i { color: #fff; }

.arw-ai__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.arw-ai__incl { display: inline-flex; align-items: center; gap: 6px; color: #6EE7B7; font-size: 14px; font-weight: 700; }
.arw-ai__incl .arw-i { width: 16px; height: 16px; }

/* chat illustration */
.arw-chat {
    border-radius: 22px;
    background: #F7F4EE;
    color: #1F1D1A;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    text-align: start;
}

.arw-chat__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(31, 29, 26, 0.08);
    font-size: 13px;
}

.arw-chat__brand { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 Georgia, 'Times New Roman', serif; direction: ltr; }
.arw-chat__brand .arw-i { width: 20px; height: 20px; }
.arw-chat__conn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid rgba(31, 29, 26, 0.1); font: 700 11.5px/1 var(--arw-font-en); }
.arw-chat__conn i { width: 7px; height: 7px; border-radius: 50%; background: #10B981; }
.arw-chat__body { padding: 18px 16px 20px; display: grid; gap: 14px; }

.arw-chat__user {
    justify-self: end;
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 16px;
    background: #EAE5DB;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 700;
}

.arw-chat__quote { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; font-weight: 400; font-size: 12.5px; color: #5B564F; }

.arw-chat__tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(31, 29, 26, 0.1);
    font-size: 12.5px;
    font-weight: 700;
}

.arw-chat__tool span:last-child { display: inline-flex; align-items: center; gap: 4px; color: #059669; }
.arw-chat__tool .arw-i { width: 14px; height: 14px; }
.arw-chat__reply { font-size: 14px; line-height: 1.9; color: #2E2B27; }

@media (max-width: 960px) {
    .arw-ai { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; }
}

@media (max-width: 560px) {
    .arw-ai { padding: 32px 20px; border-radius: var(--arw-r-lg); }
    .arw-ai__cards { grid-template-columns: 1fr; }
    .arw-connector { flex-wrap: wrap; }
    .arw-connector code { flex-basis: 100%; padding: 8px 10px; }
    .arw-connector button { width: 100%; justify-content: center; }
}

/* ---------- Pricing teaser ---------- */
.arw-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.arw-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    border-radius: var(--arw-r-lg);
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
}

.arw-plan--pop { border-color: var(--arw-primary); box-shadow: 0 0 0 3px var(--arw-primary-soft); }

.arw-plan__pop {
    position: absolute;
    top: -12px;
    inset-inline-start: 20px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--arw-primary);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
}

.arw-plan__name { font-size: 17px; font-weight: 800; color: var(--arw-text); }

.arw-plan__price {
    margin: 12px 0 2px;
    font: 800 32px/1.1 var(--arw-font-en);
    color: var(--arw-text);
}

.arw-plan__price small { font: 700 14px/1 var(--arw-font); color: var(--arw-text-3); margin-inline-start: 4px; }
.arw-plan__per { font-size: 13px; color: var(--arw-text-3); }

.arw-plan ul {
    list-style: none;
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--arw-border);
    display: grid;
    gap: 9px;
    font-size: 14px;
    color: var(--arw-text-2);
}

.arw-plan li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.arw-plan li .arw-i { width: 16px; height: 16px; margin-top: 3px; color: var(--arw-primary); }

.arw-plans__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 22px;
    margin-top: 30px;
    font-size: 14px;
    color: var(--arw-text-3);
    text-align: center;
}

@media (max-width: 980px) { .arw-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Chips ---------- */
.arw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arw-chips--center { justify-content: center; }

.arw-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--arw-border);
    background: var(--arw-surface);
    font-size: 14px;
    font-weight: 700;
    color: var(--arw-text-2) !important;
    white-space: nowrap;
    transition: border-color 0.18s, color 0.18s, background-color 0.18s;
}

.arw-chip:hover,
.arw-chip.is-active {
    border-color: var(--arw-primary);
    color: var(--arw-primary-text) !important;
    background: var(--arw-primary-soft);
}

@media (max-width: 640px) {
    .arw-chips--scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: calc(-1 * var(--arw-gutter));
        padding-inline: var(--arw-gutter);
        -webkit-mask-image: linear-gradient(to left, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
        mask-image: linear-gradient(to left, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    }
    .arw-chips--scroll::-webkit-scrollbar { display: none; }
    .arw-chips--scroll.arw-chips--center { justify-content: flex-start; }
}

/* ---------- Cards ---------- */
.arw-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.arw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.arw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }

@media (max-width: 1024px) { .arw-grid, .arw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .arw-grid, .arw-grid--2, .arw-grid--4 { grid-template-columns: 1fr; gap: 18px; } }

.arw-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: var(--arw-r-lg);
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    overflow: hidden;
    transition: transform 0.22s var(--arw-ease), box-shadow 0.22s var(--arw-ease), border-color 0.22s;
}

.arw-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--arw-shadow);
    border-color: var(--arw-primary-line);
}

.arw-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--arw-surface-2);
    overflow: hidden;
}

.arw-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--arw-ease);
}

.arw-card:hover .arw-card__media img { transform: scale(1.04); }

.arw-card__ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 106, 235, 0.16), rgba(217, 70, 239, 0.12));
    color: var(--arw-primary-text);
}

.arw-card__ph .arw-i { width: 40px; height: 40px; opacity: 0.6; }

.arw-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 18px 20px 20px;
}

.arw-card__tag {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--arw-primary-text) !important;
}

.arw-card__tag:hover { text-decoration: underline; }

.arw-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.is-en-site .arw-card__title { line-height: 1.4; }

.arw-card__title a { color: var(--arw-text) !important; }
.arw-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.arw-card__excerpt {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--arw-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arw-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: 13px;
    color: var(--arw-text-3);
}

.arw-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.arw-meta .arw-i { width: 14px; height: 14px; }
.arw-card .arw-meta { margin-top: auto; padding-top: 4px; }

/* Featured (wide) card */
.arw-card--feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.arw-card--feature .arw-card__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
.arw-card--feature .arw-card__body { justify-content: center; padding: 34px 36px; gap: 14px; }
.arw-card--feature .arw-card__title { font-size: clamp(22px, 1.2vw + 14px, 30px); line-height: 1.5; -webkit-line-clamp: 4; }
.arw-card--feature .arw-card__excerpt { font-size: 16px; -webkit-line-clamp: 3; }
.arw-card--feature .arw-meta { margin-top: 6px; }

@media (max-width: 860px) {
    .arw-card--feature { grid-template-columns: 1fr; }
    .arw-card--feature .arw-card__media { aspect-ratio: 16 / 9; min-height: 0; }
    .arw-card--feature .arw-card__body { padding: 20px 20px 22px; }
}

/* Compact row card (for side lists) */
.arw-row {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: var(--arw-r);
    border: 1px solid var(--arw-border);
    background: var(--arw-surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.arw-row:hover { border-color: var(--arw-primary-line); box-shadow: var(--arw-shadow-sm); }
.arw-row__media { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--arw-surface-2); }
.arw-row__media img { width: 100%; height: 100%; object-fit: cover; }
.arw-row__title { margin: 0 0 6px; font-size: 15px; font-weight: 800; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arw-row__title a { color: var(--arw-text) !important; }
.arw-row__title a::after { content: ""; position: absolute; inset: 0; }
.arw-row .arw-meta { font-size: 12.5px; }

/* ---------- Home blog block ---------- */
.arw-blog-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px 28px;
    margin-bottom: 28px;
}

.arw-blog-top .arw-head { margin: 0; }

.arw-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.arw-lead-grid .arw-card--feature { grid-template-columns: 1fr; }
.arw-lead-grid .arw-card--feature .arw-card__media { aspect-ratio: 16 / 8.2; height: auto; min-height: 0; }
.arw-lead-grid .arw-card--feature .arw-card__body { padding: 24px 28px 26px; }

.arw-side-list {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.arw-side-list .arw-row {
    height: 100%;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    padding: 10px;
    gap: 16px;
}

.arw-side-list .arw-row__media { aspect-ratio: auto; height: 100%; min-height: 120px; }
.arw-side-list .arw-row__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding-block: 6px; }
.arw-side-list .arw-row__title { font-size: 16px; -webkit-line-clamp: 3; margin: 0; }

@media (max-width: 1024px) {
    .arw-lead-grid { grid-template-columns: 1fr; }
    .arw-side-list { grid-template-columns: 1fr; grid-template-rows: none; }
    .arw-side-list .arw-row { grid-template-columns: 150px minmax(0, 1fr); }
    .arw-side-list .arw-row__media { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
}

@media (max-width: 640px) {
    .arw-row, .arw-side-list .arw-row { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
    .arw-side-list .arw-row__title { font-size: 15px; }
}

.arw-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* News strip */
.arw-news {
    margin-top: 64px;
    padding: 28px;
    border-radius: var(--arw-r-lg);
    background: var(--arw-bg-soft);
    border: 1px solid var(--arw-border);
}

.arw-news__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.arw-news__top h3 { margin: 0; font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.arw-news__top h3 .arw-i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--arw-primary-soft); color: var(--arw-primary-text); }
.arw-news .arw-grid--4 .arw-card__title { font-size: 15.5px; }
.arw-news .arw-card__body { padding: 14px 16px 16px; gap: 8px; }

/* ---------- Tools strip ---------- */
.arw-tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.arw-tool {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: var(--arw-r);
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    color: var(--arw-text) !important;
    transition: border-color 0.2s, transform 0.2s var(--arw-ease), box-shadow 0.2s;
}

.arw-tool:hover { border-color: var(--arw-primary-line); transform: translateY(-2px); box-shadow: var(--arw-shadow-sm); }
.arw-tool > .arw-i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--arw-primary-soft); color: var(--arw-primary-text); }
.arw-tool b { display: block; font-size: 15px; font-weight: 800; line-height: 1.5; }
.arw-tool span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--arw-text-3); }

@media (max-width: 1024px) { .arw-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .arw-tools { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.arw-faq { display: grid; gap: 10px; }

.arw-faq details {
    border-radius: var(--arw-r);
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    transition: border-color 0.2s;
}

.arw-faq details[open] { border-color: var(--arw-primary-line); }

.arw-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 14px 20px;
    cursor: pointer;
    list-style: none;
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.6;
    color: var(--arw-text);
}

.arw-faq summary::-webkit-details-marker { display: none; }
.arw-faq summary .arw-i { width: 18px; height: 18px; color: var(--arw-text-3); transition: transform 0.25s var(--arw-ease); }
.arw-faq details[open] summary .arw-i { transform: rotate(180deg); }
.arw-faq details > div { padding: 0 20px 18px; font-size: 15.5px; line-height: 1.95; color: var(--arw-text-2); }
.arw-faq details > div p { margin: 0; }
.arw-faq code { direction: ltr; unicode-bidi: isolate; font-size: 0.92em; padding: 1px 6px; border-radius: 6px; background: var(--arw-surface-2); color: var(--arw-text); }

/* ---------- Final CTA ---------- */
.arw-final {
    position: relative;
    overflow: hidden;
    padding: 64px 32px;
    border-radius: var(--arw-r-xl);
    background: var(--arw-grad-cta);
    color: #fff;
    text-align: center;
    box-shadow: 0 40px 90px -40px rgba(91, 71, 214, 0.8);
}

.arw-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.arw-final > * { position: relative; }
.arw-final__tiles { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.arw-final__tiles .arw-pf, .arw-final__tiles .arw-ai-tile { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5); }
.arw-final__tiles .arw-ai-tile .arw-i { width: 24px; height: 24px; }
.arw-final h2 { color: #fff !important; font-size: clamp(28px, 2.4vw + 16px, 44px); font-weight: 800; line-height: 1.3; margin: 0; }
.arw-final p { margin: 14px auto 0; max-width: 560px; font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, 0.86); }
.arw-final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

@media (max-width: 560px) {
    .arw-final { padding: 44px 20px; border-radius: var(--arw-r-lg); }
    .arw-final__ctas { flex-direction: column; }
}

/* ---------- Store badges ---------- */
.arw-stores { display: flex; flex-wrap: wrap; gap: 10px; }

.arw-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 16px 6px 14px;
    border-radius: 12px;
    background: #0B0B0F;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    line-height: 1.1;
    direction: ltr;
    text-align: left;
    transition: transform 0.2s var(--arw-ease);
}

.arw-store:hover { transform: translateY(-1px); }
.arw-store .arw-i { width: 24px; height: 24px; }
.arw-store small { display: block; font-size: 10px; opacity: 0.8; font-family: var(--arw-font); }
.arw-store b { display: block; font: 700 15.5px/1.15 var(--arw-font-en); }

/* ---------- Footer ---------- */
.arw-footer {
    margin-top: 96px;
    padding: 64px 0 28px;
    background: var(--arw-bg-soft);
    border-top: 1px solid var(--arw-border);
    color: var(--arw-text-2);
    overflow: hidden;
}

.arw-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
    gap: 36px 28px;
}

.arw-footer__brand p { margin: 14px 0 18px; font-size: 14.5px; line-height: 1.9; max-width: 340px; color: var(--arw-text-2); }
.arw-footer__brand .arw-works { justify-content: flex-start; margin-bottom: 20px; }

.arw-footer h2 {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--arw-text-3);
    text-transform: none;
}

.arw-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.arw-footer li a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    font-size: 14.5px;
    color: var(--arw-text) !important;
    transition: color 0.18s;
}

.arw-footer li a:hover { color: var(--arw-primary-text) !important; }

.arw-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--arw-border);
    font-size: 13.5px;
    color: var(--arw-text-3);
}

.arw-social { display: flex; gap: 6px; }

.arw-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--arw-border);
    background: var(--arw-surface);
    color: var(--arw-text-2) !important;
}

.arw-social a:hover { color: var(--arw-primary-text) !important; border-color: var(--arw-primary-line); }
.arw-social .arw-i { width: 18px; height: 18px; }

.arw-footer__word {
    margin-top: 28px;
    font: 800 clamp(64px, 14vw, 200px)/0.9 var(--arw-font-en);
    letter-spacing: -0.05em;
    color: var(--arw-primary-soft);
    -webkit-user-select: none;
    user-select: none;
    direction: ltr;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .arw-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .arw-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
    .arw-footer { margin-top: 64px; padding-top: 48px; }
    .arw-footer__grid { gap: 28px 16px; }
}

/* Legacy newsletter band (members) — restyled to the new system */
.newsletter-cta {
    background: transparent !important;
    padding: 0 !important;
    margin: 80px auto -40px !important;
    max-width: var(--arw-max);
    padding-inline: var(--arw-gutter) !important;
}

.newsletter-cta .newsletter-inner {
    border-radius: var(--arw-r-lg) !important;
    background: var(--arw-surface) !important;
    border: 1px solid var(--arw-border) !important;
    padding: 28px 32px !important;
    box-shadow: var(--arw-shadow-sm) !important;
    max-width: none !important;
}

.newsletter-cta .newsletter-title { font-family: var(--arw-font) !important; color: var(--arw-text) !important; }
.newsletter-cta .newsletter-description { color: var(--arw-text-2) !important; }

/* ---------- Reading progress ---------- */
.arw-progress {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1001;
    height: 3px;
    background: transparent;
    pointer-events: none;
}

.arw-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--arw-grad);
    transform: scaleX(0);
    transform-origin: right center;
}

[dir="ltr"] .arw-progress span { transform-origin: left center; }

/* ---------- Post ---------- */
.arw-post { padding-top: 28px; }

.arw-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    color: var(--arw-text-3);
}

.arw-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.arw-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--arw-text-3) !important; }
.arw-crumbs a:hover { color: var(--arw-primary-text) !important; }
.arw-crumbs .arw-i { width: 14px; height: 14px; opacity: 0.7; }

.arw-post__head { max-width: 860px; margin: 0 auto; text-align: center; }
.arw-post__head .arw-crumbs { justify-content: center; }

.arw-post__cat {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--arw-primary-soft);
    color: var(--arw-primary-text) !important;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 16px;
}

.arw-post__title {
    margin: 0;
    font-size: clamp(28px, 2.3vw + 17px, 48px);
    font-weight: 800;
    line-height: 1.38;
    text-wrap: balance;
}

.is-en-site .arw-post__title { line-height: 1.18; }

.arw-post__excerpt {
    margin: 18px auto 0;
    max-width: 720px;
    font-size: clamp(16.5px, 0.4vw + 15px, 19px);
    line-height: 1.9;
    color: var(--arw-text-2);
}

.arw-post__meta {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 26px;
    font-size: 14px;
    color: var(--arw-text-3);
}

.arw-post__author { display: inline-flex; align-items: center; gap: 10px; color: var(--arw-text) !important; font-weight: 700; }
.arw-post__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.arw-post__meta .arw-i { width: 16px; height: 16px; }

.arw-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--arw-grad);
    color: #fff;
    font: 800 16px/1 var(--arw-font-en);
}

.arw-avatar img { width: 100%; height: 100%; object-fit: cover; }
.arw-avatar--lg { width: 64px; height: 64px; font-size: 26px; }

.arw-post__figure {
    max-width: 1080px;
    margin: 34px auto 0;
}

.arw-post__figure img {
    box-shadow: none !important;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--arw-r-lg);
    border: 1px solid var(--arw-border);
    background: var(--arw-surface-2);
}

.arw-post__figure figcaption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--arw-text-3); }

.arw-post__layout {
    display: grid;
    grid-template-columns: 250px minmax(0, var(--arw-measure));
    justify-content: center;
    gap: 56px;
    margin-top: 44px;
    align-items: stretch;
}

.arw-post__aside { position: relative; min-width: 0; }

.arw-toc {
    position: sticky;
    top: calc(var(--arw-header-h) + 32px);
    max-height: calc(100vh - var(--arw-header-h) - 64px);
    overflow-y: auto;
    padding: 4px 0 4px;
    scrollbar-width: thin;
}

.arw-toc__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--arw-text-3);
}

.arw-toc__title .arw-i { width: 16px; height: 16px; }

.arw-toc ol, .arw-toc-m ol { list-style: none; margin: 0; padding: 0; }

.arw-toc a, .arw-toc-m a {
    display: block;
    padding: 7px 14px;
    border-inline-start: 2px solid var(--arw-border);
    font-size: 14px;
    line-height: 1.65;
    color: var(--arw-text-2) !important;
    transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}

.arw-toc .is-h3 a, .arw-toc-m .is-h3 a { padding-inline-start: 28px; font-size: 13.5px; color: var(--arw-text-3) !important; }
.arw-toc a:hover, .arw-toc-m a:hover { color: var(--arw-text) !important; }

.arw-toc a.is-active {
    border-inline-start-color: var(--arw-primary);
    color: var(--arw-primary-text) !important;
    font-weight: 700;
    background: linear-gradient(to left, var(--arw-primary-soft), transparent);
}

[dir="ltr"] .arw-toc a.is-active { background: linear-gradient(to right, var(--arw-primary-soft), transparent); }

.arw-toc__side-cta {
    margin-top: 22px;
    padding: 16px;
    border-radius: var(--arw-r);
    background: var(--arw-bg-soft);
    border: 1px solid var(--arw-border);
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--arw-text-2);
}

.arw-toc__side-cta b { display: block; color: var(--arw-text); font-size: 14.5px; margin-bottom: 4px; }
.arw-toc__side-cta .arw-pfs { display: flex; gap: 4px; margin-bottom: 10px; }
.arw-toc__side-cta .arw-btn { margin-top: 12px; width: 100%; }

.arw-toc-m {
    display: none;
    margin: 0 0 28px;
    border-radius: var(--arw-r);
    border: 1px solid var(--arw-border);
    background: var(--arw-bg-soft);
}

.arw-toc-m summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    font-size: 15px;
    color: var(--arw-text);
}

.arw-toc-m summary::-webkit-details-marker { display: none; }
.arw-toc-m summary .arw-i { width: 18px; height: 18px; color: var(--arw-primary-text); }
.arw-toc-m summary .arw-toc-m__n { margin-inline-start: auto; font: 600 12px/1 var(--arw-font-en); color: var(--arw-text-3); }
.arw-toc-m summary .arw-i:last-child { color: var(--arw-text-3); transition: transform 0.2s; }
.arw-toc-m[open] summary .arw-i:last-child { transform: rotate(180deg); }
.arw-toc-m ol { padding: 0 12px 14px; max-height: 50vh; overflow-y: auto; }

.arw-toc-empty .arw-post__aside .arw-toc, .arw-toc-empty .arw-toc-m { display: none; }

@media (max-width: 1100px) {
    .arw-post__layout { grid-template-columns: minmax(0, var(--arw-measure)); gap: 0; }
    .arw-post__aside { display: none; }
    .arw-toc-m { display: block; }
}

.arw-post__main { min-width: 0; }

/* Prose */
.arw-post .gh-content {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--arw-font);
    font-size: 18.5px;
    line-height: 2;
    color: var(--arw-text);
    text-align: start;
    overflow-wrap: break-word;
}

.is-en-site .arw-post .gh-content { font-size: 18px; line-height: 1.8; }

.arw-post .gh-content > * { margin-block: 0; }
.arw-post .gh-content > * + * { margin-top: 1.2em; }
.arw-post .gh-content > h1:first-child { display: none; }
.arw-post .gh-content > h1:first-child + * { margin-top: 0; }
.arw-post .gh-content p { margin-block-end: 0; }

.arw-post .gh-content :is(h1, h2, h3, h4) {
    font-family: var(--arw-font);
    color: var(--arw-text);
    font-weight: 800;
    text-align: start;
    scroll-margin-top: calc(var(--arw-header-h) + 32px);
}

.arw-post .gh-content h1 { font-size: 1.75em; line-height: 1.45; }
.arw-post .gh-content h2 { font-size: 1.55em; line-height: 1.5; }
.arw-post .gh-content h3 { font-size: 1.25em; line-height: 1.6; }
.arw-post .gh-content h4 { font-size: 1.08em; line-height: 1.6; }
.arw-post .gh-content > :is(h1, h2) { margin-top: 2em; }
.arw-post .gh-content > :is(h3, h4) { margin-top: 1.7em; }
.arw-post .gh-content > :is(h1, h2, h3, h4) + * { margin-top: 0.6em; }
.arw-post .gh-content > :is(h2, h3) + :is(ul, ol) { margin-top: 0.8em; }
.is-en-site .arw-post .gh-content h2 { line-height: 1.3; }
.is-en-site .arw-post .gh-content h3 { line-height: 1.35; }

.arw-post .gh-content a:not(.kg-btn):not(.arw-btn):not([class*="kg-"]) {
    color: var(--arw-primary-text);
    text-decoration: underline;
    text-decoration-color: var(--arw-primary-line);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.arw-post .gh-content a:not(.kg-btn):not(.arw-btn):hover { text-decoration-color: currentColor; }
.arw-post .gh-content strong { font-weight: 800; color: var(--arw-text); }

.arw-post .gh-content :is(ul, ol) { padding-inline-start: 1.4em; margin-inline: 0; }
.arw-post .gh-content li { margin: 0; padding-inline-start: 0.2em; }
.arw-post .gh-content li + li { margin-top: 0.5em; }
.arw-post .gh-content li::marker { color: var(--arw-primary); font-weight: 700; }

.arw-post .gh-content blockquote:not([class*="kg-"]) {
    margin-inline: 0;
    padding: 4px 22px;
    border-inline-start: 3px solid var(--arw-primary);
    border-inline-end: 0;
    background: none;
    color: var(--arw-text-2);
    font-style: normal;
    font-size: 1em;
}

.arw-post .gh-content hr { border: 0; height: 1px; background: var(--arw-border); margin-block: 2.4em; }

.arw-post .gh-content :is(img, video) { border-radius: 14px; height: auto; }
.arw-post .gh-content figcaption { color: var(--arw-text-3); font-size: 14px; text-align: center; }

.arw-post .gh-content code:not(pre code) {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--arw-surface-2);
    color: var(--arw-text);
    font-size: 0.88em;
    direction: ltr;
    unicode-bidi: isolate;
}

.arw-post .gh-content pre {
    direction: ltr;
    text-align: left;
    border-radius: 14px;
    background: #0F1222;
    color: #E6E8F0;
    padding: 18px 20px;
    overflow-x: auto;
    font-size: 14.5px;
    line-height: 1.7;
}

/* tables: scroll horizontally inside the column, never the page */
.arw-post .gh-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--arw-border);
    border-radius: 14px;
    font-size: 15.5px;
    line-height: 1.75;
    -webkit-overflow-scrolling: touch;
}

.arw-post .gh-content :is(th, td) {
    padding: 12px 14px;
    border-bottom: 1px solid var(--arw-border);
    border-inline-start: 0;
    border-inline-end: 1px solid var(--arw-border);
    text-align: start;
    vertical-align: top;
    min-width: 120px;
}

.arw-post .gh-content :is(th, td):last-child { border-inline-end: 0; }
.arw-post .gh-content tr:last-child td { border-bottom: 0; }
.arw-post .gh-content thead th, .arw-post .gh-content tr:first-child th { background: var(--arw-surface-2); font-weight: 800; color: var(--arw-text); }
.arw-post .gh-content tbody tr:nth-child(even) td { background: var(--arw-bg-soft); }

.arw-post .gh-content .kg-callout-card { border-radius: 14px; }
.arw-post .gh-content .kg-toggle-card { border-radius: 14px; }
.arw-post .gh-content iframe { max-width: 100%; }
.arw-post .gh-content > :is(div, section, aside):not(.arw-ad):not(.arw-cta) { max-width: 100%; }

/* Ads inside / around the article */
.arw-post .arw-ad { margin-block: 32px; }
.arw-post .arw-ad--blog-top { margin: 0 0 32px; }
.arw-post .arw-ad--multiplex { margin-top: 48px; }

/* Share, tags, author, nav */
.arw-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.arw-share__label { font-size: 14px; font-weight: 700; color: var(--arw-text-2); margin-inline-end: 4px; }

.arw-share a, .arw-share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--arw-border);
    background: var(--arw-surface);
    color: var(--arw-text-2) !important;
    font: 700 13px/1 var(--arw-font);
    cursor: pointer;
    transition: border-color 0.18s, color 0.18s;
}

.arw-share a:hover, .arw-share button:hover { border-color: var(--arw-primary-line); color: var(--arw-primary-text) !important; }
.arw-share .arw-i { width: 18px; height: 18px; }
.arw-share button.is-done { color: var(--arw-ok) !important; border-color: var(--arw-ok); }

.arw-post__foot {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--arw-border);
    display: grid;
    gap: 26px;
}

.arw-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.arw-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--arw-surface-2);
    color: var(--arw-text-2) !important;
    font-size: 13.5px;
    font-weight: 700;
}

.arw-tags a:hover { background: var(--arw-primary-soft); color: var(--arw-primary-text) !important; }

.arw-authorbox {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    border-radius: var(--arw-r-lg);
    background: var(--arw-bg-soft);
    border: 1px solid var(--arw-border);
}

.arw-authorbox small { display: block; font-size: 12.5px; color: var(--arw-text-3); margin-bottom: 2px; }
.arw-authorbox a.arw-authorbox__name { font-size: 18px; font-weight: 800; color: var(--arw-text) !important; }
.arw-authorbox p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--arw-text-2); }

.arw-pnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 8px;
}

.arw-pnav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100%;
    padding: 18px 20px;
    border-radius: var(--arw-r);
    border: 1px solid var(--arw-border);
    background: var(--arw-surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.arw-pnav a:hover { border-color: var(--arw-primary-line); box-shadow: var(--arw-shadow-sm); }
.arw-pnav small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--arw-primary-text); }
.arw-pnav small .arw-i { width: 15px; height: 15px; }
.arw-pnav b { font-size: 15.5px; line-height: 1.7; color: var(--arw-text); font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arw-pnav__next { text-align: end; grid-column: 2; }
.arw-pnav__next small { justify-content: flex-end; }
.arw-pnav__prev { grid-column: 1; }

@media (max-width: 640px) {
    .arw-pnav { grid-template-columns: 1fr; }
    .arw-pnav__next, .arw-pnav__prev { grid-column: auto; }
    .arw-authorbox { padding: 18px; gap: 14px; }
}

.arw-related { margin-top: 80px; }
.arw-related__title { font-size: clamp(22px, 1vw + 16px, 28px); font-weight: 800; margin: 0 0 24px; }

/* ---------- Product CTA cards (post) ---------- */
.arw-cta {
    position: relative;
    margin-block: 40px !important;
    border-radius: var(--arw-r-lg);
    font-family: var(--arw-font);
    text-align: start;
    line-height: 1.7;
}

.arw-cta--inline {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: linear-gradient(135deg, rgba(124, 106, 235, 0.10), rgba(217, 70, 239, 0.06));
    border: 1px solid var(--arw-primary-line);
}

.arw-cta__pfs { display: flex; flex-shrink: 0; }
.arw-cta__pfs .arw-pf { width: 38px; height: 38px; border-radius: 11px; border: 2px solid var(--arw-surface); box-shadow: none; }
.arw-cta__pfs .arw-pf + .arw-pf { margin-inline-start: -10px; }
.arw-cta__txt { flex: 1; min-width: 0; }
.arw-cta__txt b { display: block; font-size: 17px; font-weight: 800; line-height: 1.6; color: var(--arw-text); }
.arw-cta__txt span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.8; color: var(--arw-text-2); }
.arw-cta--inline .arw-btn { flex-shrink: 0; }

@media (max-width: 640px) {
    .arw-cta--inline { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
    .arw-cta--inline .arw-btn { width: 100%; }
}

.arw-cta--end {
    overflow: hidden;
    padding: 30px 30px 28px;
    background: var(--arw-surface);
    border: 1px solid var(--arw-border);
    box-shadow: var(--arw-shadow);
}

.arw-cta--end::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: var(--arw-grad);
}

.arw-cta__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--arw-primary-text); margin-bottom: 10px; }
.arw-cta__kicker .arw-i { width: 16px; height: 16px; }
.arw-cta--end h3 { margin: 0 !important; font-size: 22px !important; font-weight: 800; line-height: 1.55 !important; color: var(--arw-text) !important; }
.arw-cta--end p { margin: 10px 0 0 !important; font-size: 15.5px !important; line-height: 1.9 !important; color: var(--arw-text-2) !important; }
.arw-cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.arw-cta__works { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--arw-border-2); font-size: 13.5px; color: var(--arw-text-3); }
.arw-cta__pfline { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.arw-a2p__out {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: var(--arw-bg-soft);
    border: 1px solid var(--arw-border);
    white-space: pre-wrap;
    font-size: 15px;
    line-height: 1.9;
    color: var(--arw-text);
    max-height: 420px;
    overflow-y: auto;
}

.arw-a2p__err { margin-top: 12px; color: #DC2626; font-size: 14px; }
.arw-a2p__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: arw-spin 0.8s linear infinite; }
@keyframes arw-spin { to { transform: rotate(360deg); } }

@media (max-width: 560px) {
    .arw-cta--end { padding: 24px 18px 22px; }
    .arw-cta--end h3 { font-size: 19px !important; }
    .arw-cta__row .arw-btn { flex: 1 1 100%; }
}

/* ---------- Archive / listing ---------- */
.arw-archive { padding-top: 28px; }

.arw-archive__head {
    position: relative;
    padding: 40px 0 34px;
    text-align: center;
}

.arw-archive__head h1 { margin: 0; font-size: clamp(30px, 2.4vw + 18px, 50px); font-weight: 800; line-height: 1.3; }
.arw-archive__head p { margin: 14px auto 0; max-width: 640px; font-size: 17px; line-height: 1.85; color: var(--arw-text-2); }
.arw-archive__head .arw-chips { margin-top: 26px; }
.arw-archive__count { display: inline-flex; margin-top: 14px; font-size: 14px; color: var(--arw-text-3); }
.arw-archive__head .arw-avatar--lg { margin: 0 auto 16px; width: 84px; height: 84px; font-size: 34px; }
.arw-archive .arw-card--feature { margin-bottom: 28px; }

/* pagination */
.arw-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 52px;
}

.arw-pages a, .arw-pages span.is-off {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--arw-border);
    background: var(--arw-surface);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--arw-text) !important;
}

.arw-pages a:hover { border-color: var(--arw-primary); color: var(--arw-primary-text) !important; }
.arw-pages span.is-off { opacity: 0.45; }
.arw-pages .arw-i { width: 16px; height: 16px; }
.arw-pages__info { padding: 0 8px; font-size: 14px; color: var(--arw-text-3); font-family: var(--arw-font); }
.arw-pages__info b { color: var(--arw-text); }

/* ---------- Page (page.hbs) ---------- */
.arw-page { padding-top: 28px; }
.arw-page__head { max-width: 820px; margin: 0 auto; padding: 36px 0 8px; text-align: center; }
.arw-page__head h1 { margin: 0; font-size: clamp(30px, 2.3vw + 18px, 50px); font-weight: 800; line-height: 1.3; }
.arw-page__head p { margin: 16px auto 0; max-width: 680px; font-size: 18px; line-height: 1.9; color: var(--arw-text-2); }
.arw-page__figure { max-width: 1080px; margin: 32px auto 0; }
.arw-page__figure img { width: 100%; border-radius: var(--arw-r-lg); border: 1px solid var(--arw-border); }
.arw-page__body { max-width: var(--arw-measure); margin: 40px auto 0; }

/* ---------- 404 ---------- */
.arw-404 { padding: 48px 0 0; text-align: center; }
.arw-404__code { font: 800 clamp(84px, 12vw, 150px)/1 var(--arw-font-en); letter-spacing: -0.05em; }
.arw-404 h1 { margin: 10px 0 0; font-size: clamp(24px, 1.6vw + 16px, 34px); font-weight: 800; }
.arw-404 p { margin: 12px auto 0; max-width: 520px; font-size: 17px; line-height: 1.85; color: var(--arw-text-2); }

.arw-404__search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 520px;
    min-height: 56px;
    margin: 28px auto 0;
    padding: 0 8px 0 18px;
    border-radius: 999px;
    border: 1px solid var(--arw-border-2);
    background: var(--arw-surface);
    color: var(--arw-text-3);
    font: 400 16px/1 var(--arw-font);
    cursor: pointer;
    width: 100%;
    box-shadow: var(--arw-shadow-sm);
}

[dir="rtl"] .arw-404__search { padding: 0 18px 0 8px; }
.arw-404__search span { flex: 1; text-align: start; }
.arw-404__search kbd { padding: 6px 12px; border-radius: 999px; background: var(--arw-primary); color: #fff; font: 700 14px/1 var(--arw-font); }
.arw-404__links { margin-top: 28px; }
.arw-404 .arw-section { padding-bottom: 0; text-align: start; }

/* ---------- Misc / legacy cleanup ---------- */
.arw-header ~ .reading-progress { display: none; }

/* Ghost portal trigger button (if enabled) should not cover the ad anchor */
.gh-portal-triggerbtn-iframe { bottom: 90px !important; }

@media (prefers-reduced-motion: reduce) {
    .arw-hero__tiles > span { animation: none; }
    .arw-card, .arw-card__media img, .arw-btn, .arw-tool, .arw-mnav__panel, .arw-mnav__scrim { transition: none !important; }
    .arw-card:hover, .arw-tool:hover, .arw-btn:hover { transform: none; }
    .arw-a2p__spin { animation-duration: 2s; }
}

@media print {
    .arw-header, .arw-footer, .arw-mnav, .arw-progress, .arw-post__aside, .arw-toc-m, .arw-cta, .arw-ad, .arw-share, .arw-related, .newsletter-cta { display: none !important; }
}

.arw-ai-tile img { width: 56%; height: 56%; object-fit: contain; }

/* ---------- Grids: never leave an empty column on the last row ---------- */
.arw-card--h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.arw-card--h .arw-card__media { aspect-ratio: auto; height: 100%; min-height: 220px; }
.arw-card--h .arw-card__body { justify-content: center; padding: 24px 26px; }

@media (min-width: 1025px) {
    .arw-grid:not(.arw-grid--4):not(.arw-grid--2) > .arw-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
    .arw-grid:not(.arw-grid--4):not(.arw-grid--2) > .arw-card:last-child:nth-child(3n+2) { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .arw-grid:not(.arw-grid--4):not(.arw-grid--2) > .arw-card:last-child:is(:nth-child(3n+1), :nth-child(3n+2)) .arw-card__media { aspect-ratio: auto; height: 100%; min-height: 220px; }
    .arw-grid:not(.arw-grid--4):not(.arw-grid--2) > .arw-card:last-child:is(:nth-child(3n+1), :nth-child(3n+2)) .arw-card__body { justify-content: center; padding: 24px 26px; }
    .arw-grid--4 > .arw-card:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .arw-grid > .arw-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .arw-grid > .arw-card:last-child:nth-child(odd) .arw-card__media { aspect-ratio: auto; height: 100%; min-height: 200px; }
    .arw-grid > .arw-card:last-child:nth-child(odd) .arw-card__body { justify-content: center; }
}

/* ---------- English pages: the legacy LTR override in default-en.hbs forces
   text-align:left on every heading/paragraph; centred blocks opt back in. ---------- */
.is-en-site :is(.arw-hero__inner, .arw-head:not(.arw-head--start), .arw-archive__head, .arw-final, .arw-404, .arw-page__head, .arw-post__head, .arw-plans__foot) :is(h1, h2, h3, p, li, span) {
    text-align: center;
}

.is-en-site .arw-post .gh-content :is(p, h2, h3, h4, li, td, th) { text-align: left; }

/* ---------- Legacy static pages (privacy, terms, contact, writers): new frame ---------- */
.page-template:is(.page-privacy, .page-terms, .page-contact, .page-writers) {
    max-width: var(--arw-measure);
    margin: 0 auto;
    padding: 48px var(--arw-gutter) 0;
}

.page-template:is(.page-privacy, .page-terms, .page-contact, .page-writers) .page-header,
.page-template .writers-page-header { text-align: center; padding: 0 0 28px; max-width: none; }

.page-template:is(.page-privacy, .page-terms, .page-contact, .page-writers) :is(.page-title, .writers-page-title) {
    font-family: var(--arw-font);
    font-size: clamp(30px, 2.3vw + 18px, 46px);
    font-weight: 800;
    color: var(--arw-text);
}

.page-template:is(.page-privacy, .page-terms, .page-contact) .page-content {
    max-width: none;
    padding: 0;
    font-size: 17.5px;
    line-height: 2;
    color: var(--arw-text);
}

.page-template:is(.page-privacy, .page-terms) .policy-section h2 { font-size: 24px; font-weight: 800; margin: 36px 0 10px; color: var(--arw-text); }
.page-template:is(.page-privacy, .page-terms) .policy-section :is(p, li) { color: var(--arw-text-2); }

/* Ghost search modal sits above the floating header */
#sodo-search-root { z-index: 3000 !important; }

/* ---------- Mobile density ---------- */
@media (max-width: 640px) {
    .arw-section { padding-block: 60px; }
    .arw-section--tight { padding-block: 44px; }
    .arw-head { margin-bottom: 30px; }

    /* grid cards become compact rows on phones (featured cards stay large) */
    .arw-grid > .arw-card:not(.arw-card--feature),
    .arw-grid > .arw-card:last-child:nth-child(n) {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-column: auto;
        align-items: stretch;
        border-radius: var(--arw-r);
    }
    .arw-grid > .arw-card:not(.arw-card--feature) .arw-card__media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 112px;
    }
    .arw-grid > .arw-card:not(.arw-card--feature) .arw-card__body { padding: 12px 14px; gap: 6px; justify-content: center; }
    .arw-grid > .arw-card:not(.arw-card--feature) .arw-card__title { font-size: 15.5px; line-height: 1.6; }
    .is-en-site .arw-grid > .arw-card:not(.arw-card--feature) .arw-card__title { line-height: 1.35; }
    .arw-grid > .arw-card:not(.arw-card--feature) .arw-card__excerpt { display: none; }
    .arw-grid > .arw-card:not(.arw-card--feature) .arw-meta { font-size: 12px; padding-top: 0; }
    .arw-grid { gap: 12px; }

    .arw-news { padding: 20px 16px; margin-top: 44px; }
    .arw-news__top h3 { font-size: 18px; }
    .arw-news__top .arw-link { white-space: nowrap; }

    .arw-final__tiles { gap: 6px; }
    .arw-final__tiles .arw-pf, .arw-final__tiles .arw-ai-tile { width: 38px; height: 38px; border-radius: 11px; }
    .arw-final__tiles .arw-ai-tile .arw-i { width: 21px; height: 21px; }

    .arw-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .arw-plan { padding: 18px 14px 16px; }
    .arw-plan__name { font-size: 15px; }
    .arw-plan__price { font-size: 25px; }
    .arw-plan__price small { display: block; margin: 4px 0 0; font-size: 12px; }
    .arw-plan__per { font-size: 12px; line-height: 1.6; display: block; }
    .arw-plan ul { margin-top: 12px; padding-top: 12px; gap: 7px; font-size: 12.5px; }
    .arw-plan li .arw-i { width: 14px; height: 14px; margin-top: 2px; }
    .arw-plan__pop { inset-inline-start: 12px; font-size: 10.5px; }

    .arw-blog-top { margin-bottom: 20px; }
}

@media (max-width: 359px) {
    .arw-plans { grid-template-columns: 1fr; }
}

/* CTA cards live inside .gh-content: undo the article link styling */
.arw-post .gh-content .arw-cta a,
.arw-post .gh-content .arw-cta a:hover { text-decoration: none !important; }
.arw-post .gh-content .arw-cta .arw-link { text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: var(--arw-primary-line) !important; }
.arw-cta__kicker { flex-wrap: wrap; }
.arw-post .gh-content .arw-cta > * + * { margin-top: 0; }

/* post meta: keep each item on one line, wrap between items */
.arw-post__meta > * { white-space: nowrap; }

@media (max-width: 640px) {
    .arw-post { padding-top: 16px; }
    .arw-post__meta { gap: 8px 14px; margin-top: 20px; font-size: 13px; }
    .arw-post__author { flex-basis: 100%; justify-content: center; }
    .arw-post__figure { margin-top: 24px; margin-inline: calc(-1 * var(--arw-gutter)); }
    .arw-post__figure img { border-radius: 0; border-inline: 0; max-height: 300px; }
    .arw-post .gh-content { font-size: 17.5px; line-height: 1.95; }
    .arw-post__layout { margin-top: 28px; }
    .arw-crumbs { margin-bottom: 14px; }
}

.arw-post .gh-content .kg-image-card img,
.arw-post .gh-content > figure img {
    max-height: 760px;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    display: block;
    object-fit: contain;
}

.newsletter-cta .newsletter-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    align-items: center;
    gap: 18px 32px;
    max-width: 1000px !important;
    margin-inline: auto !important;
    text-align: start !important;
}

.newsletter-cta .newsletter-content { text-align: start !important; }
.newsletter-cta .newsletter-title { font-size: 22px !important; font-weight: 800 !important; margin: 0 0 6px !important; }
.newsletter-cta .newsletter-form { width: 100%; max-width: none !important; }

@media (max-width: 760px) {
    .newsletter-cta .newsletter-inner { grid-template-columns: 1fr; padding: 22px 18px !important; }
}

.page-template:is(.page-privacy, .page-terms, .page-contact) .page-header {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
.page-template:is(.page-privacy, .page-terms, .page-contact) .page-subtitle { color: var(--arw-text-3); font-size: 14px; }

.arw-cta [hidden], .arw-share [hidden], .arw-mnav [hidden] { display: none !important; }

.arw-tool-cta { max-width: 760px; margin: 48px auto !important; }

/* ---------- Free tools hubs (/tools/, /en/tools/): align cards with the new system ---------- */
.tools-hub-template .archive-section { padding-top: 40px; }
.tools-hub-template .archive-title { font-family: var(--arw-font); font-weight: 800; font-size: clamp(30px, 2.3vw + 18px, 48px); color: var(--arw-text); }
.tools-hub-template .archive-description { color: var(--arw-text-2); font-size: 17px; line-height: 1.85; }
.tools-hub-template .tools-filter__btn {
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--arw-border);
    background: var(--arw-surface);
    color: var(--arw-text-2);
    font-family: var(--arw-font);
    font-weight: 700;
}
.tools-hub-template .tools-filter__btn.active,
.tools-hub-template .tools-filter__btn:hover { background: var(--arw-primary-soft); border-color: var(--arw-primary); color: var(--arw-primary-text); }
.tools-hub-template .tools-grid .tool-card {
    background: var(--arw-surface) !important;
    background-image: none !important;
    border: 1px solid var(--arw-border) !important;
    border-radius: var(--arw-r-lg) !important;
    box-shadow: none !important;
    color: var(--arw-text) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.2s, transform 0.2s var(--arw-ease), box-shadow 0.2s;
}
.tools-hub-template .tools-grid .tool-card:hover { border-color: var(--arw-primary-line) !important; transform: translateY(-2px); box-shadow: var(--arw-shadow-sm) !important; }
.tools-hub-template .tools-grid .tool-card--partner { background: linear-gradient(135deg, rgba(124, 106, 235, 0.08), rgba(59, 130, 246, 0.06)) !important; border-color: var(--arw-primary-line) !important; }
.tools-hub-template .tool-card__title { color: var(--arw-text) !important; font-family: var(--arw-font); font-weight: 800; }
.tools-hub-template .tool-card__desc { color: var(--arw-text-2) !important; flex: 1; }
.tools-hub-template .tool-card__btn {
    margin-top: auto;
    min-height: 42px;
    border-radius: 999px !important;
    background: var(--arw-primary-soft) !important;
    color: var(--arw-primary-text) !important;
    border: 0 !important;
    font-weight: 700;
}
.tools-hub-template .tool-card:hover .tool-card__btn { background: var(--arw-primary) !important; color: #fff !important; }
.tools-hub-template .tools-grid .tool-card::before,
.tools-hub-template .tools-grid .tool-card::after { display: none !important; }
.tools-hub-template .archive-header,
.tools-hub-template.is-en-site .archive-header :is(h1, p) { text-align: center !important; }

/* ---------- Touch: every tap target at least 44px ---------- */
@media (pointer: coarse), (max-width: 640px) {
    .arw-chip, .arw-lang, .arw-btn--sm, .arw-mnav__row .arw-btn { min-height: 44px; }
    .arw-btn--sm { --_h: 44px; }
    .arw-crumbs a { min-height: 44px; }
    .arw-footer li a { min-height: 44px; }
    .arw-tags a { min-height: 44px; }
    .arw-header .arw-btn--sm { --_h: 44px; }
}

.arw-legal-en { --arw-font: var(--arw-font-en); font-family: var(--arw-font-en); }
.arw-legal-en li + li { margin-top: 0.7em; }
.newsletter-cta { max-width: 1048px !important; }
.newsletter-cta .newsletter-inner { width: 100% !important; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
@media (max-width: 760px) { .newsletter-cta .newsletter-inner { grid-template-columns: minmax(0, 1fr); } }
.newsletter-cta { border: 0 !important; box-shadow: none !important; }
