/* Design tokens — from docs/design/website.html. Retune the site here. */
:root {
    --color-bg: #f3f2f2;
    --color-surface: #eae9e9;
    --color-text: #201e1d;
    --color-accent: #ec3013;
    --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

    --color-neutral-200: #eae7e7;
    --color-neutral-300: #d7d3d3;
    --color-neutral-600: #706c6c;
    --color-neutral-700: #605d5d;

    --color-accent-100: #fff2ef;
    --color-accent-400: #ff9783;
    --color-accent-600: #dd2b0f;
    --color-accent-700: #ae1800;
    --color-accent-800: #7c1405;

    --font-heading: "Archivo", system-ui, sans-serif;
    --font-body: "Archivo", system-ui, sans-serif;
    --font-arabic: "IBM Plex Sans Arabic", "Archivo", system-ui, sans-serif;

    --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
    --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);

    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --header-height: 68px;

    --on-dark: rgba(243, 242, 242, 0.75);
    --on-dark-dim: rgba(243, 242, 242, 0.6);
    --on-dark-line: rgba(243, 242, 242, 0.5);
}

/* Archivo is variable, so one file serves every weight. */
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 100%;
    font-display: swap;
    src: url("fonts/archivo-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 100%;
    font-display: swap;
    src: url("fonts/archivo-latin-ext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
        U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/plex-arabic-400-arabic.woff2") format("woff2");
    unicode-range:
        U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1,
        U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
        U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/plex-arabic-400-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/plex-arabic-600-arabic.woff2") format("woff2");
    unicode-range:
        U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1,
        U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
        U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/plex-arabic-600-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url("fonts/plex-arabic-700-arabic.woff2") format("woff2");
    unicode-range:
        U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1,
        U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
        U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url("fonts/plex-arabic-700-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── base ── */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 0;
}
p {
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}
code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    background: var(--color-surface);
    padding: 1px 5px;
}
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
::selection {
    background: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    inset-inline-start: -9999px;
    top: 0;
    z-index: 40;
    background: var(--color-text);
    color: var(--color-bg);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
}
.skip-link:focus {
    inset-inline-start: 0;
}

/* ── buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    padding: 8px 14px;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}
.btn-primary:hover {
    background: var(--color-accent-600);
}
.btn-primary:active {
    background: var(--color-accent-700);
}
.btn-secondary {
    border-color: var(--color-divider);
    background: transparent;
    color: inherit;
}
.btn-secondary:hover {
    background: color-mix(in srgb, var(--color-text) 7%, transparent);
}
.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.btn:disabled:hover {
    background: transparent;
}
.btn-soon {
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-inline-start: 10px;
    padding: 2px 5px;
    border: 1px solid currentColor;
}
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--on-dark-line);
    color: var(--color-bg);
    /* 7 + 2px border matches the .btn box of 8 + 1px, so the pair lines up. */
    padding: 7px 13px;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 700;
}
.btn-outline-light:hover {
    background: rgba(243, 242, 242, 0.12);
}

/* ── tags ── */

.tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    letter-spacing: 0.02em;
    padding: 3px 10px;
}
.tag-accent {
    background: var(--color-accent-100);
    color: var(--color-accent-800);
}
.tag-outline {
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

/* ── header ── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-divider);
}
.site-header > .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-name {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.02em;
}
/* The square is the full stop of "RATTIB." — it sits on the baseline, after the word. */
.brand-dot {
    display: inline-block;
    width: 0.42em;
    height: 0.42em;
    margin-inline-start: 0.12em;
    background: var(--color-accent);
}
.mark {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    display: block;
    flex: none;
}
.mark-sm {
    width: 10px;
    height: 10px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 28px);
    font-size: 13px;
    font-weight: 600;
}
.site-nav a:hover {
    color: var(--color-accent);
}
.site-nav [aria-current="page"] {
    color: var(--color-accent);
}

.menu {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--header-height);
}
.menu > summary {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.menu > summary::-webkit-details-marker {
    display: none;
}
.menu > summary::after {
    content: "▼";
    font-size: 8px;
    line-height: 1;
}
.menu > summary:hover {
    color: var(--color-accent);
}
.menu:has(a[aria-current="page"]) > summary {
    color: var(--color-accent);
}
.menu-list {
    position: absolute;
    top: calc(100% - -1px);
    inset-inline-start: 0;
    min-width: 190px;
    background: var(--color-bg);
    border: 2px solid var(--color-text);
    border-top: 0;
    display: flex;
    flex-direction: column;
    z-index: 30;
    box-shadow: var(--shadow-md);
}
.menu-list a {
    padding: 12px 14px;
}
.menu-list a + a {
    border-top: 1px solid var(--color-neutral-300);
}
.menu-list a:hover {
    background: var(--color-neutral-200);
}

.header-end {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang {
    display: flex;
    border: 2px solid var(--color-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.lang a {
    padding: 5px 10px;
}
.lang a[aria-current="true"] {
    background: var(--color-text);
    color: var(--color-bg);
}

/* ── bands ── */

.band {
    border-bottom: 2px solid var(--color-divider);
}
.band > .wrap {
    padding-block: clamp(36px, 5vw, 68px);
}
.band-hero > .wrap {
    padding-block: clamp(44px, 6vw, 80px);
}
.hero > .wrap {
    padding-block: clamp(48px, 7vw, 96px) 0;
}
.hero .actions {
    padding-bottom: clamp(48px, 6vw, 72px);
}
.band-dark {
    background: var(--color-text);
    color: var(--color-bg);
}
.band-dark a:not(.btn) {
    color: var(--color-bg);
}

/* On the dark ground the rules and the muted text both disappear. */
.band-dark .stats > div {
    border-top-color: var(--on-dark-line);
}
.band-dark .stats dt {
    color: var(--on-dark-dim);
}
.band-dark .stats .stat-value {
    color: var(--color-bg);
}
.band-dark .stats .stat-value-accent {
    color: var(--color-accent);
}
.band-dark .stats dd {
    color: var(--on-dark);
}
.band-dark .note {
    color: var(--on-dark-dim);
}
.band-accent {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* ── typography ── */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-neutral-600);
}
.band-dark .eyebrow {
    color: var(--on-dark-dim);
}

.hero-title {
    font-size: clamp(44px, 7vw, 88px);
    line-height: 0.94;
    letter-spacing: -0.035em;
    margin-top: 22px;
    max-width: 18ch;
    text-wrap: balance;
}
.hero-title-lg {
    font-size: clamp(52px, 9vw, 116px);
    line-height: 0.92;
    max-width: 14ch;
    margin-top: 24px;
}
.hero-title em {
    font-style: normal;
    color: var(--color-accent);
}

.hero-lede {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 500;
    line-height: 1.45;
    max-width: 54ch;
    margin-top: 24px;
    text-wrap: pretty;
}

.section-title {
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 26ch;
    text-wrap: balance;
}
.eyebrow + .section-title {
    margin-top: 14px;
}
.section-title-sm {
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.05;
    max-width: 22ch;
}
.section-lede {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-neutral-700);
    max-width: 40ch;
    margin-top: 18px;
}
.note {
    font-size: 13px;
    color: var(--color-neutral-600);
    margin-top: 14px;
    line-height: 1.5;
}
.sub-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.sub-title + .rows {
    margin-top: 18px;
}
.prose {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-neutral-700);
    max-width: 66ch;
}
.prose-tight {
    max-width: 62ch;
}

.hero-aside {
    display: flex;
    align-items: baseline;
    gap: 14px;
    max-width: 64ch;
    border-top: 2px solid var(--color-divider);
    margin-top: 32px;
    padding-top: 16px;
}
.hero-aside dt {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    flex: none;
}
.hero-aside dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--color-neutral-700);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-lede + .actions {
    margin-top: 36px;
}
.split-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}
.split-head .note {
    margin-top: 0;
    font-size: 15px;
    max-width: 40ch;
}
.table-note {
    margin-top: 22px;
    max-width: 64ch;
}

/* ── column grids with rules between them ── */

.cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    border-top: 2px solid var(--color-divider);
    margin-top: clamp(28px, 3.5vw, 44px);
}
.cols > * {
    padding: 26px 26px 30px;
    border-inline-end: 2px solid var(--color-divider);
}
.cols > *:first-child {
    padding-inline-start: 0;
}
.cols > *:last-child {
    border-inline-end: 0;
    padding-inline-end: 0;
}
.cols-plain {
    border-top: 0;
    margin-top: 0;
}
.cols-tight > * {
    padding-bottom: 8px;
}
.cols h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cols p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-neutral-700);
    margin-top: 10px;
}
.cols .step-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.08em;
}
.cols .step-num + h3 {
    font-size: 24px;
    margin-top: 14px;
}

/* ── split: heading beside content ── */

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
.split-wide {
    gap: clamp(32px, 5vw, 72px);
}
.split-body {
    min-width: 0;
}
.split-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.split-3 .split-body {
    grid-column: span 2;
}
.split-spaced {
    margin-top: clamp(32px, 4vw, 48px);
}

/* ── bordered lists ── */

.rows {
    border-top: 2px solid var(--color-divider);
}
.rows > * {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-neutral-300);
}
/* The band draws its own rule underneath, so the list does not close itself. */
.rows > *:last-child {
    border-bottom: 0;
}
.rows dt,
.rows .row-title {
    font-size: 16px;
    font-weight: 700;
}
.rows dd,
.rows .row-note {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-neutral-700);
}
.rows + .prose {
    margin-top: 18px;
}

.rows-inline > * {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.rows-inline .row-aside {
    font-size: 15px;
    color: var(--color-neutral-600);
    white-space: nowrap;
}
.rows-inline .row-aside-accent {
    color: var(--color-accent);
    font-weight: 700;
}

.rows-plain {
    list-style: none;
    margin: 0;
    padding: 0;
}
.rows-plain > * {
    font-size: 16px;
    padding: 16px 0;
}
.rows-plain + .list-cta {
    margin-top: 24px;
}

/* ── numbered steps ── */

.steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
    margin: clamp(28px, 3.5vw, 44px) 0 0;
    border-top: 2px solid var(--color-divider);
}
.steps > li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: clamp(16px, 3vw, 40px);
    padding: 24px 0;
    border-bottom: 1px solid var(--color-neutral-300);
    align-items: start;
}
.steps > li:last-child {
    border-bottom: 0;
}
.steps > li::before {
    counter-increment: step;
    content: "0" counter(step);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.08em;
}
.steps h3 {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.steps p {
    margin-top: 10px;
}

/* ── stats ── */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    column-gap: clamp(24px, 4vw, 56px);
    margin-top: clamp(32px, 4vw, 48px);
}
.stats > div {
    padding: 20px 0 26px;
    border-top: 2px solid var(--color-divider);
}
.stats dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-neutral-600);
}
.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 12px 0 0;
}
.stat-value-accent {
    color: var(--color-accent);
}
.stats dd {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--color-neutral-700);
    line-height: 1.5;
}

/* The value is a dd too, so it has to outrank the rule above. */
.stats .stat-value {
    margin: 12px 0 0;
    font-size: clamp(38px, 5vw, 54px);
    line-height: 1;
    color: var(--color-text);
}
.stats .stat-value-accent {
    color: var(--color-accent);
}

/* ── pricing ── */

.price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 18px;
}
.price-amount {
    font-size: clamp(56px, 8vw, 104px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.9;
}
.price-currency {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    color: var(--color-accent);
}
.price-unit {
    font-size: 18px;
    font-weight: 600;
    margin-top: 14px;
}

/* ── table ── */

.table-scroll {
    margin-top: 28px;
    overflow-x: auto;
}
.table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 14px;
}
.table th {
    text-align: start;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--color-text) 60%, transparent);
    padding: 8px;
    border-bottom: 2px solid var(--color-divider);
}
.table td {
    padding: 8px;
    border-bottom: 1px solid var(--color-divider);
}

/* Fact tables read as prose, so they wrap rather than scroll. */
.table-facts {
    min-width: 0;
}
.table-facts th[scope="row"] {
    width: 26%;
    min-width: 150px;
    vertical-align: top;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-divider);
    padding-block: 14px;
}
.table-facts td {
    vertical-align: top;
    line-height: 1.6;
    padding-block: 14px;
}
.table-facts a {
    color: var(--color-accent-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 600px) {
    .table-facts,
    .table-facts tbody,
    .table-facts tr {
        display: block;
    }
    .table-facts thead {
        display: none;
    }
    .table-facts th[scope="row"],
    .table-facts td {
        display: block;
        width: auto;
    }
    .table-facts th[scope="row"] {
        border-bottom: 0;
        padding-bottom: 0;
    }
}
.table tbody tr:hover {
    background: color-mix(in srgb, var(--color-text) 4%, transparent);
}

/* ── demo form ── */

.demo-form {
    display: grid;
    gap: 18px;
}
.field > label {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
    color: var(--on-dark);
}
.input {
    width: 100%;
    min-height: 36px;
    padding: 6px 10px;
    font: inherit;
    font-size: 14px;
    background: transparent;
    color: var(--color-bg);
    caret-color: var(--color-accent);
    border: 1px solid var(--on-dark-line);
}
.input:hover {
    border-color: var(--color-bg);
}
.input:focus-visible {
    border-color: var(--color-accent);
    outline-offset: 0;
}
select.input option {
    color: var(--color-text);
}
.form-note {
    font-size: 13px;
    line-height: 1.55;
    color: var(--on-dark);
    margin-top: -4px;
}
.band-dark .section-lede,
.band-dark .prose {
    color: var(--on-dark);
}
.gotcha {
    display: none;
}
.demo-error {
    font-size: 15px;
    line-height: 1.55;
    font-weight: 600;
    color: var(--color-accent-400);
    border-inline-start: 3px solid var(--color-accent);
    padding-inline-start: 12px;
}
.band-dark .demo-error a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.demo-sent {
    border: 2px solid var(--on-dark-line);
    padding: 28px;
}
.demo-sent-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.demo-sent p + p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--on-dark);
    margin-top: 12px;
}

/* ── article ── */

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-neutral-600);
}
.article-meta a {
    color: var(--color-accent);
}
.article-title {
    font-size: clamp(38px, 5.6vw, 74px);
    line-height: 0.96;
    letter-spacing: -0.035em;
    margin-top: 24px;
    max-width: 24ch;
    text-wrap: balance;
}
.article-lede {
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.45;
    max-width: 52ch;
    margin-top: 26px;
    text-wrap: pretty;
}
.article-heading {
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 15ch;
}
.article-body p {
    font-size: 18px;
    line-height: 1.65;
    max-width: 66ch;
    text-wrap: pretty;
}
.article-body p + p {
    margin-top: 20px;
}
.article-body .rows {
    margin-top: 24px;
}
.article-body .rows > * {
    padding: 20px 0;
}
.article-body .rows h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.article-body .rows p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-neutral-700);
    margin-top: 8px;
    max-width: 62ch;
}
.pull-quote {
    font-size: clamp(30px, 4.6vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 800;
    font-family: var(--font-heading);
    max-width: 26ch;
    text-wrap: balance;
}
.band-accent > .wrap {
    padding-block: clamp(44px, 6vw, 84px);
}

/* ── FAQ ── */

.faq-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.faq-num + h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-top: 12px;
}
/* The band already draws the rule between sections. */
.faq-list {
    border-top: 0;
}
.faq-list > * {
    padding: 20px 0;
}
.faq-list h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.faq-list p {
    margin-top: 10px;
}

/* ── blog ── */

/* The band above already draws the rule; a second one here doubles it. */
.post-lead {
    padding-top: 26px;
    align-items: start;
}
.post-lead:hover .post-lead-title {
    color: var(--color-accent);
}
.post-lead-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-neutral-600);
}
.post-lead-title {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-top: 18px;
}
.post-lead p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-neutral-700);
    max-width: 52ch;
}
.post-more {
    margin-top: 22px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.04em;
}
.post-soon {
    margin-top: 24px;
}
.post-soon > * {
    padding: 26px 0;
}
.post-soon h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-top: 16px;
}
.post-soon p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-neutral-700);
    max-width: 52ch;
}

/* ── closing call to action ── */

.cta > .wrap {
    padding-block: clamp(44px, 5vw, 72px);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}
.cta h2 {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 22ch;
}
.cta p {
    font-size: 17px;
    line-height: 1.5;
    color: var(--on-dark);
    max-width: 46ch;
    margin-top: 14px;
}

.demo > .wrap {
    padding-block: clamp(48px, 6vw, 88px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(32px, 5vw, 72px);
}
.demo h2 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 20px 0 18px;
    max-width: 18ch;
}
.demo-lede {
    font-size: 17px;
    line-height: 1.5;
    color: var(--on-dark);
    max-width: 40ch;
}

/* ── footer ── */

.site-footer {
    border-top: 2px solid var(--color-divider);
}
.site-footer > .wrap {
    padding-block: 26px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--color-neutral-600);
}
.site-footer .brand-name {
    font-size: 13px;
    color: var(--color-text);
    font-weight: 700;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-links a {
    color: var(--color-accent-700);
}
.footer-links a:hover {
    color: var(--color-accent);
}
.footer-links [aria-current="page"] {
    color: var(--color-text);
    font-weight: 700;
}

/* ── WhatsApp mock ── */

.phone {
    width: 100%;
    max-width: 340px;
    background: var(--color-text);
    padding: 10px 10px 14px;
    box-shadow: var(--shadow-lg);
}
.phone-status {
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(243, 242, 242, 0.8);
}
.phone-battery {
    width: 14px;
    height: 7px;
    border: 1px solid rgba(243, 242, 242, 0.8);
    display: block;
}
.chat {
    background: #ece5dd;
    margin-top: 8px;
    direction: ltr;
}
[dir="rtl"] .chat {
    direction: rtl;
}
.chat-head {
    background: #f6f6f6;
    border-bottom: 1px solid #d9d9d9;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.chat-who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.chat-name {
    font-size: 13px;
    font-weight: 600;
    color: #111;
}
.chat-sub {
    font-size: 10px;
    color: #667;
}
.chat-body {
    padding: 14px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 300px;
}
.chat-day {
    align-self: center;
    background: rgba(225, 245, 254, 0.9);
    color: #4a6572;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
}
.bubble {
    max-width: 84%;
    align-self: flex-start;
    background: #fff;
    border-radius: 8px 8px 8px 2px;
    padding: 8px 10px 6px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}
[dir="rtl"] .bubble {
    border-radius: 8px 8px 2px 8px;
}
.bubble p {
    font-size: 13px;
    line-height: 1.45;
    color: #111;
}
.bubble p + p {
    margin-top: 8px;
}
.bubble-mine {
    max-width: 80%;
    align-self: flex-end;
    background: #dcf8c6;
    border-radius: 8px 8px 2px 8px;
}
[dir="rtl"] .bubble-mine {
    border-radius: 8px 8px 8px 2px;
}
.bubble-time {
    text-align: end;
    font-size: 10px;
    color: #8a9099;
    margin-top: 4px;
}
.attachment {
    background: #f2f2f2;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}
.attachment-icon {
    width: 22px;
    height: 27px;
    background: #d94a3d;
    color: #fff;
    font-size: 7px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.attachment-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.attachment-name {
    font-size: 11px;
    font-weight: 600;
    color: #111;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.attachment-size {
    font-size: 10px;
    color: #667;
}
.chat-compose {
    background: #f6f6f6;
    border-top: 1px solid #d9d9d9;
    padding: 8px 12px;
    font-size: 12px;
    color: #6b7078;
}

/* ── Arabic ── */

[dir="rtl"] body,
body[dir="rtl"] {
    font-family: var(--font-arabic);
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .btn,
[dir="rtl"] .pull-quote {
    font-family: var(--font-arabic);
}
[dir="rtl"] {
    font-size: 16px;
}
[dir="rtl"] .cols p,
[dir="rtl"] .rows dd,
[dir="rtl"] .rows .row-note {
    font-size: 15px;
    line-height: 1.6;
}
[dir="rtl"] .lang {
    direction: ltr;
}

/* Arabic ascenders and dots need the room the Latin display sizes do not leave. */
[dir="rtl"] .hero-title,
[dir="rtl"] .article-title,
[dir="rtl"] .demo h2 {
    line-height: 1.2;
}
[dir="rtl"] .section-title,
[dir="rtl"] .section-title-sm,
[dir="rtl"] .post-lead-title,
[dir="rtl"] .article-heading,
[dir="rtl"] .cta h2,
[dir="rtl"] .faq-num + h2 {
    line-height: 1.25;
}
[dir="rtl"] .pull-quote {
    line-height: 1.3;
}
[dir="rtl"] .hero-title,
[dir="rtl"] .article-title,
[dir="rtl"] .section-title,
[dir="rtl"] .pull-quote {
    letter-spacing: 0;
}

/* ── small screens ── */

@media (max-width: 860px) {
    .site-header > .wrap {
        flex-wrap: wrap;
        padding-block: 18px 12px;
        gap: 12px;
    }
    .site-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 16px;
    }
    .menu {
        height: auto;
    }
    .menu-list {
        top: calc(100% + 13px);
    }
    .cols > * {
        padding-inline: 0;
        border-inline-end: 0;
        border-bottom: 1px solid var(--color-neutral-300);
    }
    .cols > *:last-child {
        border-bottom: 0;
    }
    .steps > li {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .btn,
    .btn-outline-light {
        width: 100%;
    }
    .actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}
