/* Bricolage Grotesque, Instrument Sans and IBM Plex Sans Arabic: SIL Open Font License 1.1. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext-776f6dcaf0.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin-a79fdb52d4.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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext-776f6dcaf0.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-latin-a79fdb52d4.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: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-6010e7fd0d.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-1935fa1a33.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-20C4, 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(/assets/fonts/ibm-plex-sans-arabic-latin-9ed8dcb02e.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: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-90aef64fea.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-ae5c1a58c1.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-be6a3b2e37.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(/assets/fonts/ibm-plex-sans-arabic-arabic-16734a5adb.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-0f7c03bb52.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-63f4757271.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;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-04c730b429.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ext-ab0b958427.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-latin-ae2d59f91e.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext-c4fcfea41f.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-2ee17598a9.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext-c4fcfea41f.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-2ee17598a9.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext-c4fcfea41f.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-2ee17598a9.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;
}

:root {
    --ink: #0f1633;
    --ink-2: #1b2550;
    --paper: #f5f6fa;
    --white: #ffffff;
    --violet: #5b4dff;
    --violet-deep: #4535e6;
    --mint: #17c3a0;
    --muted: #586080;
    --muted-on-ink: #aeb5d0;
    --line: #e2e5ef;
    --line-on-ink: #2c3766;

    --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
    --font-body: "Instrument Sans", system-ui, sans-serif;
    --font-arabic: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;

    --wrap: 78rem;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section: clamp(4rem, 9vw, 7rem);
    --radius: 18px;
    --radius-phone: 24px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    display: block;
    max-inline-size: 100%;
    block-size: auto;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 3px;
}

/* Arabic */

:lang(ar) {
    font-family: var(--font-arabic);
}

[dir="rtl"] body {
    font-size: 1.1rem;
    line-height: 1.8;
}

[dir="rtl"] :is(h1, h2, h3, h4, dt, .stats dd, .seo-stats dd, .pillars h3) {
    font-family: var(--font-arabic);
    font-weight: 700;
    letter-spacing: 0;
}

[dir="rtl"] .hero h1 {
    line-height: 1.3;
}

[dir="rtl"] h2,
[dir="rtl"] .case h3 {
    line-height: 1.35;
}

[dir="rtl"] [lang="en"] {
    font-family: var(--font-display);
}

.wrap {
    inline-size: min(100% - 2 * var(--gutter), var(--wrap));
    margin-inline: auto;
}

.skip {
    position: absolute;
    inset-inline-start: 1rem;
    inset-block-start: -4rem;
    background: var(--ink);
    color: var(--white);
    padding: 0.5rem 1rem;
    z-index: 20;
}

.skip:focus {
    inset-block-start: 1rem;
}

/* Masthead */

.masthead {
    position: sticky;
    inset-block-start: 0;
    z-index: 10;
    background: rgb(255 255 255 / 0.94);
    backdrop-filter: blur(10px);
    border-block-end: 1px solid var(--line);
}

.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 0.85rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.mark {
    inline-size: 1.7rem;
    block-size: 1.7rem;
    fill: var(--ink);
}

.mark-bar {
    fill: var(--violet);
}

.masthead nav {
    display: flex;
    align-items: center;
    gap: 0.25rem 1.4rem;
    font-weight: 500;
}

.masthead nav a {
    text-decoration: none;
    padding-block: 0.4rem;
    white-space: nowrap;
}

.masthead nav a:hover {
    color: var(--violet);
}

.masthead nav .lang-switch {
    padding: 0.35rem 0.85rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
}

.masthead nav .lang-switch:lang(en) {
    font-family: var(--font-body);
}

.masthead nav .nav-cta {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
}

.masthead nav .nav-cta:hover {
    background: var(--violet);
    color: var(--white);
}

/* Buttons */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: 3.1rem;
    padding: 0.8rem 1.6rem;
    border: 2px solid var(--violet);
    border-radius: 999px;
    background: var(--violet);
    color: var(--white);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    background: var(--violet-deep);
    border-color: var(--violet-deep);
}

.button-ghost {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.button-ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.button-light {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.button-light:hover {
    background: var(--mint);
    border-color: var(--mint);
    color: var(--ink);
}

/* Hero: real people at work, with the products they shipped */

.hero {
    padding-block: clamp(2.5rem, 6vw, 5rem);
    background: var(--paper);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.lede {
    margin-block: 1.5rem 2.2rem;
    max-inline-size: 34rem;
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--muted);
}

.hero-stage {
    position: relative;
    padding-block: 2rem 3rem;
    padding-inline: 0 2.5rem;
}

.hero-photo {
    inline-size: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px -25px rgb(15 22 51 / 0.45);
}

.phone {
    overflow: hidden;
    border: 6px solid var(--ink);
    border-radius: var(--radius-phone);
    background: var(--ink);
    box-shadow: 0 24px 44px -16px rgb(15 22 51 / 0.5);
}

.phone img {
    inline-size: 100%;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    object-position: top;
    border-radius: calc(var(--radius-phone) - 6px);
}

.hero-phone-a,
.hero-phone-b {
    position: absolute;
    inline-size: 23%;
}

.hero-phone-a {
    inset-block-end: 0;
    inset-inline-start: -6%;
}

.hero-phone-b {
    inset-block-start: 0;
    inset-inline-end: 0;
}

.hero-badge {
    position: absolute;
    padding: 0.55rem 0.95rem;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 12px 30px -12px rgb(15 22 51 / 0.35);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    max-inline-size: 13rem;
}

.hero-badge::before {
    content: "";
    display: inline-block;
    inline-size: 0.55rem;
    block-size: 0.55rem;
    margin-inline-end: 0.45rem;
    border-radius: 50%;
    background: var(--mint);
}

.hero-badge-a {
    inset-block-end: 1.5rem;
    inset-inline-start: 22%;
}

.hero-badge-b {
    inset-block-start: 40%;
    inset-inline-end: 21%;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-phone-a,
    .hero-phone-b,
    .hero-badge {
        animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }

    .hero-phone-a {
        animation-delay: 0.2s;
    }

    .hero-phone-b {
        animation-delay: 0.35s;
    }

    .hero-badge {
        animation-delay: 0.55s;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Proof */

.proof {
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
    border-block-end: 1px solid var(--line);
}

.proof-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0;
    font-family: var(--font-body);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.stats div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-block-start: 1rem;
    border-block-start: 3px solid var(--violet);
}

.stats dd:not(.stat-source) {
    order: -1;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stats dt {
    font-weight: 500;
}

.stat-source {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Section heads */

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 1rem 3rem;
    margin-block-end: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.section-head p {
    max-inline-size: 32rem;
    font-size: 1.15rem;
    color: var(--muted);
}

/* Work */

.work {
    padding-block: var(--section);
    background: var(--ink);
    color: var(--white);
}

.work .section-head p {
    color: var(--muted-on-ink);
}

.case {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-block: clamp(2.5rem, 5vw, 4rem);
    border-block-start: 1px solid var(--line-on-ink);
}

.case-flip .case-visual {
    order: 2;
}

.browser {
    overflow: hidden;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 30px 70px -25px rgb(0 0 0 / 0.6);
}

.browser-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    block-size: 2.2rem;
    background: #eceef5;
    border-block-end: 1px solid var(--line);
}

.browser-bar span {
    padding: 0.15rem 1.2rem;
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.phone-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.4rem);
    align-items: center;
}

.case .phone {
    border-color: var(--ink-2);
}

.phone-row .phone:nth-child(2) {
    transform: translateY(-1.5rem);
}

.case-visual-combo {
    position: relative;
    padding-block-end: 3rem;
}

.case-visual-combo .browser {
    inline-size: 88%;
}

.case-visual-combo .phone-row {
    position: absolute;
    inset-block-end: 0;
    inset-inline-end: 0;
    inline-size: 38%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-visual-combo .phone-row .phone:nth-child(2) {
    transform: translateY(-1rem);
}

.case-owner {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgb(23 195 160 / 0.14);
    color: var(--mint);
    font-size: 0.88rem;
    font-weight: 600;
}

.case h3 {
    margin-block: 0.8rem 0.2rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.case-kind {
    margin-block-end: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #dfe3f3;
}

.case-text {
    color: var(--muted-on-ink);
    max-inline-size: 36rem;
}

.case-note {
    margin-block-start: 0.6rem;
    color: var(--muted-on-ink);
    font-size: 0.82rem;
}

.case h4 {
    margin-block: 1.5rem 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tags li {
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--line-on-ink);
    border-radius: 999px;
    font-size: 0.88rem;
    color: #dfe3f3;
}

.case-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-block-start: 1.5rem;
}

.case-links a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--violet);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
}

.case-links a:hover {
    text-decoration-color: var(--mint);
}

/* Campaigns */

.campaigns {
    padding-block: var(--section);
}

.channels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-block: -1.5rem 2.5rem;
}

.channels li {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: 0.95rem;
}

.track-label {
    margin-block: 0 1.1rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
}

.yt-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    margin-block-end: clamp(2.5rem, 5vw, 3.5rem);
}

.yt,
.yt-frame,
.reel,
.reel-video {
    position: relative;
    display: block;
    inline-size: 100%;
    border: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--ink);
    cursor: pointer;
}

.yt,
.yt-frame {
    aspect-ratio: 16 / 9;
}

.reel,
.reel-video {
    aspect-ratio: 9 / 16;
}

.yt img,
.reel img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

.yt-grid p,
.reels p {
    margin-block-start: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--muted);
}

.play {
    position: absolute;
    inset: 0;
    margin: auto;
    inline-size: 3.4rem;
    block-size: 3.4rem;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.94);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
}

.play::after {
    content: "";
    position: absolute;
    inset-block-start: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-block: 0.55rem solid transparent;
    border-left: 0.9rem solid var(--ink);
}

.reels {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

/* Services: three stages */

.services {
    padding-block: var(--section);
    background: var(--paper);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: pillar;
}

.pillars > li {
    counter-increment: pillar;
    padding: clamp(1.6rem, 3vw, 2.2rem);
    border-radius: var(--radius);
    background: var(--white);
}

.pillars h3 {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-block-end: 1.1rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pillars h3::before {
    content: counter(pillar);
    color: var(--violet);
    font-size: 1.1rem;
}

.pillars ul li {
    padding-block: 0.65rem;
    border-block-start: 1px solid var(--line);
}

/* SEO */

.seo {
    padding-block: var(--section);
}

.seo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3rem 5rem;
    align-items: start;
}

.seo-intro > p {
    margin-block: 1.2rem 2rem;
    color: var(--muted);
    font-size: 1.15rem;
    max-inline-size: 32rem;
}

.seo-stats {
    display: grid;
    gap: 1rem;
}

.seo-stats div {
    display: flex;
    flex-direction: column-reverse;
    padding: 1.1rem 1.3rem;
    border-radius: 14px;
    background: var(--ink);
    color: var(--white);
}

.seo-stats dd {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--mint);
}

.seo-stats dt {
    color: var(--muted-on-ink);
}

.seo-intro .stat-source {
    margin-block-start: 0.8rem;
}

.seo-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.5rem;
}

.seo-list li {
    padding-block-start: 1rem;
    border-block-start: 2px solid var(--ink);
}

.seo-list h3 {
    margin-block-end: 0.4rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.seo-list p {
    color: var(--muted);
}

/* AI */

.ai {
    padding-block: var(--section);
    background:
        radial-gradient(50rem 26rem at 10% 0%, rgb(91 77 255 / 0.35), transparent 70%),
        var(--ink);
    color: var(--white);
}

.ai .section-head p {
    color: var(--muted-on-ink);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-on-ink);
    border: 1px solid var(--line-on-ink);
    border-radius: var(--radius);
    overflow: hidden;
}

.ai-grid li {
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background: var(--ink);
}

.ai-where {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--mint);
    font-weight: 600;
    font-size: 0.9rem;
}

.ai-where::before {
    content: "";
    inline-size: 0.45rem;
    block-size: 0.45rem;
    border-radius: 50%;
    background: currentColor;
}

.ai-grid h3 {
    margin-block: 0.7rem 0.5rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ai-grid p:last-child {
    color: var(--muted-on-ink);
}

/* Teams */

.teams {
    padding-block: var(--section);
    background: var(--paper);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
}

.team-grid > li {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
}

.team-grid > li > img {
    inline-size: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.team-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
    padding: 1.3rem 1.2rem 1.4rem;
}

.team-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.team-body p {
    flex: 1;
    color: var(--muted);
    font-size: 0.97rem;
}

.tags-light li {
    border-color: var(--line);
    color: var(--ink);
    background: var(--paper);
    font-size: 0.82rem;
}

.life {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 11rem);
    gap: 1.1rem;
    margin-block: clamp(2rem, 4vw, 3rem);
}

.life img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.life img:first-child {
    grid-row: span 2;
}

.life img:nth-child(n + 6) {
    display: none;
}

.base {
    margin-block-start: clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
}

.base img {
    inline-size: 100%;
    block-size: 100%;
    max-block-size: 22rem;
    object-fit: cover;
}

.base div {
    padding: clamp(1.75rem, 4vw, 3rem);
}

.base h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.base p {
    margin-block-start: 0.8rem;
    color: var(--muted-on-ink);
}

/* Audit offer */

.audit {
    padding-block: clamp(3rem, 6vw, 4.5rem);
    background: var(--violet);
    color: var(--white);
}

.audit-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.audit h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.audit p {
    margin-block-start: 0.8rem;
    max-inline-size: 44rem;
    color: #e4e1ff;
}

/* Process */

.process {
    padding-block: var(--section);
}

.process h2 {
    margin-block-end: clamp(2rem, 4vw, 3rem);
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    padding-block-start: 1rem;
    border-block-start: 3px solid var(--violet);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-block-end: 0.8rem;
    color: var(--violet);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
}

.steps h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-block-end: 0.4rem;
}

.steps p {
    color: var(--muted);
    font-size: 0.98rem;
}

/* Contact */

.contact {
    padding-block: var(--section);
    background: var(--ink);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem 5rem;
}

.contact-intro > p {
    margin-block-start: 1.2rem;
    max-inline-size: 30rem;
    color: var(--muted-on-ink);
    font-size: 1.1rem;
}

.contact-intro .direct {
    margin-block-start: 2.5rem;
    color: var(--white);
    line-height: 1.9;
}

.direct a {
    text-decoration-color: var(--violet);
    text-underline-offset: 0.3em;
}

.contact-form {
    display: grid;
    gap: 0.4rem;
    align-content: start;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
}

.contact-form label {
    margin-block-start: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form label[for="name"] {
    margin-block-start: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    inline-size: 100%;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid #9aa2bd;
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--violet);
    outline: 2px solid rgb(91 77 255 / 0.25);
    outline-offset: 0;
}

.contact-form .button {
    justify-self: start;
    margin-block-start: 1.2rem;
}

.trap {
    position: absolute;
    inset-inline-start: -9999px;
}

.notice {
    margin-block-end: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-weight: 500;
}

.notice-ok {
    background: #e0f6f0;
    color: #0d5c4b;
}

.notice-error {
    background: #fde7e4;
    color: #8a2418;
}

/* Footer */

.footer {
    padding-block: 2rem;
    background: var(--ink);
    color: var(--muted-on-ink);
    border-block-start: 1px solid var(--line-on-ink);
    font-size: 0.95rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
}

.footer strong {
    color: var(--white);
    font-family: var(--font-display);
}

.footer-legal {
    margin-block-start: 1rem;
    padding-block-start: 1rem;
    border-block-start: 1px solid var(--line-on-ink);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-align: start;
}

/* Hero numbers */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-block-start: clamp(2.5rem, 5vw, 3.5rem);
    padding-block-start: 1.75rem;
    border-block-start: 1px solid var(--line);
}

.hero-stats div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 0.3rem;
}

.hero-stats dd {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--violet);
}

.hero-stats dt {
    font-weight: 500;
    max-inline-size: 15rem;
}

.hero .stat-source {
    margin-block-start: 1rem;
}

[dir="rtl"] .hero-stats dd {
    font-family: var(--font-display);
}

/* Studio */

.studio {
    padding-block: var(--section);
}

.studio-photos {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.1rem;
    margin-block-end: clamp(2rem, 4vw, 3rem);
}

.studio-photos img {
    inline-size: 100%;
    block-size: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.studio-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
}

.studio-list li {
    padding-block-start: 1rem;
    border-block-start: 2px solid var(--ink);
}

.studio-list h3 {
    margin-block-end: 0.4rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.studio-list p {
    color: var(--muted);
}

/* Technology */

.technology {
    position: relative;
    isolation: isolate;
    padding-block: var(--section);
    background:
        radial-gradient(50rem 26rem at 10% 0%, rgb(91 77 255 / 0.35), transparent 70%),
        var(--ink);
    color: var(--white);
}

.technology .section-head p {
    color: var(--muted-on-ink);
}

.tech-label {
    margin-block: clamp(2rem, 4vw, 2.75rem) 1rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.tech-label:first-of-type {
    margin-block-start: 0;
}

.stack {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.stack > div {
    padding: 1.3rem;
    border: 1px solid var(--line-on-ink);
    border-radius: 14px;
}

.stack h4 {
    margin-block-end: 0.8rem;
    color: var(--mint);
    font-size: 0.95rem;
    font-weight: 600;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chips li {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.08);
    font-size: 0.92rem;
    font-weight: 500;
}

.chips-api li {
    background: transparent;
    border: 1px solid var(--line-on-ink);
}

.technology .ai-grid li {
    padding: 1.4rem 1.5rem;
}

.technology .ai-grid h4 {
    margin-block-end: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

/* FAQ */

.faq {
    padding-block: var(--section);
    background: var(--paper);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem 4rem;
    align-items: start;
}

.faq details {
    border-block-end: 1px solid var(--line);
}

.faq summary {
    padding-block: 1.15rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style-position: inside;
}

.faq details p {
    padding-block-end: 1.2rem;
    color: var(--muted);
    max-inline-size: 42rem;
}

/* Call to action */

.cta-band {
    padding-block: clamp(3rem, 6vw, 4.5rem);
    background: var(--violet);
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-band h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.cta-band p {
    margin-block-start: 0.8rem;
    max-inline-size: 40rem;
    color: #e4e1ff;
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.form-row > div {
    display: grid;
    gap: 0.4rem;
}

.form-row label {
    margin-block-start: 0;
}

.contact-form .form-row + label {
    margin-block-start: 0.8rem;
}

/* Responsive */

@media (max-width: 1180px) {
    .masthead nav a:not(.nav-cta, .lang-switch) {
        display: none;
    }

    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .hero-grid,
    .case,
    .contact-grid,
    .section-head,
    .seo-grid,
    .base {
        grid-template-columns: 1fr;
    }

    .case-flip .case-visual {
        order: 0;
    }

    .stats,
    .ai-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillars,
    .stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stats,
    .studio-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .yt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .audit-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .masthead nav {
        gap: 0.5rem;
    }

    .masthead nav .nav-cta {
        padding: 0.5rem 0.9rem;
        font-size: 0.92rem;
    }

    .hero-stage {
        padding-inline: 0 1rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        max-inline-size: 10rem;
    }

    .hero-badge-b {
        inset-inline-end: 26%;
    }

    .seo-list,
    .team-grid,
    .ai-grid,
    .pillars,
    .stack,
    .studio-list,
    .form-row {
        grid-template-columns: 1fr;
    }

    .studio-photos {
        grid-template-columns: 1fr 1fr;
    }

    .studio-photos img:first-child {
        grid-column: span 2;
    }

    .reels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yt-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .life {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 8rem);
    }

    .life img:first-child {
        grid-row: auto;
        grid-column: span 2;
    }

    .life img:nth-child(n + 6) {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Motion and interaction */

.masthead {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.masthead.scrolled {
    background: rgb(255 255 255 / 0.98);
    box-shadow: 0 10px 30px -18px rgb(15 22 51 / 0.35);
}

.progress {
    position: absolute;
    inset-inline: 0;
    inset-block-end: -1px;
    block-size: 3px;
    background: linear-gradient(90deg, var(--violet), var(--mint));
    transform: scaleX(0);
    transform-origin: left;
}

[dir="rtl"] .progress {
    transform-origin: right;
}

.masthead nav a[href^="#"] {
    position: relative;
}

.masthead nav a[aria-current]:not(.nav-cta) {
    color: var(--violet);
}

.masthead nav a[aria-current]:not(.nav-cta)::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    block-size: 2px;
    border-radius: 2px;
    background: var(--violet);
}

.button {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px rgb(91 77 255 / 0.7);
}

.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    inline-size: max-content;
}

.marquee .chips-api {
    flex-wrap: nowrap;
    padding-inline-end: 0.45rem;
}

.marquee .chips-api li {
    white-space: nowrap;
    padding: 0.55rem 1.1rem;
    font-size: 1rem;
}

.technology::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(28rem 28rem at var(--mx, 70%) var(--my, 30%), rgb(23 195 160 / 0.16), transparent 70%);
}

.case-visual {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.team-grid > li > img,
.studio-photos > img,
.life > img {
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}

.team-grid > li {
    overflow: hidden;
}

.team-grid > li:hover > img {
    transform: scale(1.05);
}

.life > img:hover,
.studio-photos > img:hover {
    filter: saturate(1.15) contrast(1.03);
}

.motion .hero h1:not(.split) {
    opacity: 0;
    animation: show 0s 1.2s forwards;
}

.hero h1 .word {
    display: inline-block;
    overflow: hidden;
    padding-block-end: 0.08em;
    vertical-align: bottom;
}

.hero h1 .word > span {
    display: inline-block;
    animation: word 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--i) * 70ms);
}

.motion .hero .lede,
.motion .hero .actions,
.motion .hero-photo,
.motion .hero-stats {
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.motion .hero .lede {
    animation-delay: 0.35s;
}

.motion .hero .actions {
    animation-delay: 0.5s;
}

.motion .hero-photo {
    animation-delay: 0.1s;
}

.motion .hero-stats {
    animation-delay: 0.7s;
}

.hero-phone-a,
.hero-phone-b,
.hero-badge {
    transition: translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion .hero-phone-a,
.motion .hero-phone-b {
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both, float 7s ease-in-out 1.2s infinite;
}

.motion .hero-phone-b {
    animation-delay: 0.35s, 2s;
}

.motion .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
}

.motion .reveal.in {
    opacity: 1;
    transform: none;
}

.motion .marquee-track {
    animation: marquee 45s linear infinite;
}

.motion .marquee:hover .marquee-track {
    animation-play-state: paused;
}

[dir="rtl"] .marquee-track {
    animation-name: marquee-rtl;
}

@keyframes word {
    from {
        transform: translateY(105%);
    }

    to {
        transform: none;
    }
}

@keyframes show {
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-rtl {
    to {
        transform: translateX(50%);
    }
}

/* Articles */

.article-page {
    padding-block: clamp(2rem, 5vw, 4rem) var(--section);
    background: var(--paper);
}

.article-wrap {
    max-inline-size: 46rem;
}

.crumbs {
    display: flex;
    gap: 0.5rem;
    margin-block-end: 1.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.crumbs a {
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--violet);
}

.article-page h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

[dir="rtl"] .article-page h1 {
    font-family: var(--font-arabic);
    letter-spacing: 0;
    line-height: 1.35;
}

.article-lede {
    margin-block: 1.25rem 0.75rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--muted);
}

.article-meta {
    margin-block-end: 2.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.article h2 {
    margin-block: 2.5rem 0.9rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
}

[dir="rtl"] .article h2 {
    font-family: var(--font-arabic);
    line-height: 1.5;
}

.article p,
.article li {
    font-size: 1.08rem;
    line-height: 1.75;
}

[dir="rtl"] .article p,
[dir="rtl"] .article li {
    line-height: 1.95;
}

.article p + p {
    margin-block-start: 1rem;
}

.article ul,
.article ol {
    display: grid;
    gap: 0.6rem;
    margin-block: 1rem;
    padding-inline-start: 1.3rem;
    list-style: disc;
}

.article ol {
    list-style: decimal;
}

.article a {
    color: var(--violet);
}

.article code {
    padding: 0.1em 0.35em;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: 0.92em;
    unicode-bidi: isolate;
}

.article-cta {
    margin-block-start: 3.5rem;
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
}

.article-cta h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

[dir="rtl"] .article-cta h2 {
    font-family: var(--font-arabic);
}

.article-cta p {
    margin-block: 0.6rem 1.4rem;
    color: var(--muted-on-ink);
}

.article-list {
    display: grid;
    gap: 1.5rem;
    margin-block-start: 2rem;
}

.article-list a {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
}

[dir="rtl"] .article-list a {
    font-family: var(--font-arabic);
}

.article-list p {
    margin-block-start: 0.4rem;
    color: var(--muted);
}

/* Finance technology */

.fintech {
    padding-block: var(--section);
}

.fintech-label {
    margin-block: clamp(2.5rem, 5vw, 3.5rem) 1.25rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    counter-reset: step;
}

.flow::before {
    content: "";
    position: absolute;
    inset-block-start: 1.25rem;
    inset-inline: 1.25rem calc(25% - 1.25rem);
    block-size: 2px;
    background: var(--line);
}

.flow::after {
    content: "";
    position: absolute;
    inset-block-start: calc(1.25rem - 4px);
    inset-inline-start: calc(1.25rem - 5px);
    inline-size: 10px;
    block-size: 10px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 6px rgb(23 195 160 / 0.18);
    opacity: 0;
}

.flow li {
    position: relative;
    counter-increment: step;
}

.flow li::before {
    content: counter(step);
    position: relative;
    display: grid;
    place-items: center;
    inline-size: 2.5rem;
    block-size: 2.5rem;
    margin-block-end: 1rem;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
}

.flow h4 {
    margin-block-end: 0.35rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.flow p {
    color: var(--muted);
}

.caps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
}

.caps li {
    display: flex;
    flex-direction: column;
    padding-block-start: 1rem;
    border-block-start: 2px solid var(--ink);
}

.caps h4 {
    margin-block-end: 0.4rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.caps p {
    color: var(--muted);
}

.caps .cap-where {
    margin-block-start: auto;
    padding-block-start: 0.8rem;
    color: var(--violet);
    font-size: 0.92rem;
    font-weight: 600;
}

.fintech-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-block-start: clamp(2.5rem, 5vw, 3.5rem);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    background: var(--paper);
}

.fintech-foot p {
    max-inline-size: 36rem;
    font-size: 1.1rem;
    font-weight: 500;
}

[dir="rtl"] :is(.flow h4, .caps h4, .fintech-label) {
    font-family: var(--font-arabic);
}

.motion .flow:has(li.in)::after {
    animation: flow-pulse 3.2s cubic-bezier(0.6, 0, 0.4, 1) 0.6s 1 both;
}

@keyframes flow-pulse {
    0% { opacity: 0; inset-inline-start: calc(1.25rem - 5px); }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { opacity: 0; inset-inline-start: calc(75% + 1.25rem - 5px); }
}

@media (max-width: 1000px) {
    .flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }

    .flow::before,
    .flow::after {
        display: none;
    }

    .caps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .flow,
    .caps {
        grid-template-columns: minmax(0, 1fr);
    }

    .fintech-foot .button {
        inline-size: 100%;
        justify-content: center;
    }
}

.footer-legal a {
    color: inherit;
    text-decoration: underline;
}

.consent {
    position: fixed;
    inset-block-end: 1rem;
    inset-inline: var(--gutter);
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    max-inline-size: 60rem;
    margin-inline: auto;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
}

.consent[hidden] {
    display: none;
}

.consent p {
    flex: 1 1 24rem;
    line-height: 1.6;
}

.consent a {
    color: inherit;
    text-decoration: underline;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .consent-actions,
    .consent-actions .button {
        inline-size: 100%;
    }
}
