/* =============================================================
   BAZZ — main.css
   Секции: TOKENS | BASE | LAYOUT | COMPONENTS
   Профиль WebClean 0.3; mobile-first; единственный брейкпоинт —
   spacing.layout-bp-desktop (1024px), медиазапросы только min-width.
   ============================================================= */

/* === TOKENS === */

/* Nunito — display (en / ru / az headings; az also body) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/nunito-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: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/nunito-400-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: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/nunito-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/nunito-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: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/nunito-600-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: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/nunito-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-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;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-700-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: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* PT Sans — body (en / ru) */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/pt-sans-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: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/pt-sans-400-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: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/pt-sans-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/pt-sans-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;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/pt-sans-700-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: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/pt-sans-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Noto Sans Arabic — the whole `ar` page */
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-arabic-400-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-arabic-700-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}

/* Noto Sans SC — the whole `zh` page; trimmed to the glyphs used on-site (12.4) */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-sc-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-sc-700.woff2') format('woff2');
}

:root {
  /* colors */
  --color-primary: #F2B42D;
  --color-primary-hover: #F7C24A;
  --color-primary-active: #D99F22;
  --color-accent-crimson: #D7425E;
  --color-accent-coral: #DD785E;
  --color-accent-sky: #48A8E2;
  --color-surface-base: #00002E;
  --color-surface-elevated: #07073B;
  --color-surface-floating: #0E0E48;
  --color-surface-sunken: #00001F;
  --color-surface-accent: rgba(242, 180, 45, 0.75);
  --color-text-primary: #FFFFFF;
  --color-text-muted: #B9B9D1;
  --color-text-inverse: #00002E;
  --color-error: #FF7A8A;
  --color-success: #7BDDA5;
  --color-border: #6C6C8A;
  --color-focus: #FFFFFF;
  --color-overlay-page: rgba(0, 0, 46, 0.75);
  --color-overlay-header: rgba(0, 0, 46, 0.88);

  /* order accent (order 1 = primary; 2 = crimson; 3 = coral; 4 = sky) */
  --order-1: var(--color-primary);
  --order-2: var(--color-accent-crimson);
  --order-3: var(--color-accent-coral);
  --order-4: var(--color-accent-sky);

  /* fonts (latin default: en / ru) */
  --font-display: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'PT Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* typography — mobile, paired levels use -d suffix for desktop */
  --fs-h1: 32px;   --lh-h1: 1.1;   --ls-h1: -0.01em; --fw-h1: 700;
  --fs-h1-d: 48px; --lh-h1-d: 1.08; --ls-h1-d: -0.01em;
  --fs-h2: 28px;   --lh-h2: 1.15;  --ls-h2: -0.01em; --fw-h2: 700;
  --fs-h2-d: 40px; --lh-h2-d: 1.1;  --ls-h2-d: -0.01em;
  --fs-h3: 20px;   --lh-h3: 1.25;  --fw-h3: 700;
  --fs-h3-d: 24px; --lh-h3-d: 1.2;
  --fs-h4: 18px;   --lh-h4: 1.3;   --fw-h4: 600;
  --fs-h4-d: 20px; --lh-h4-d: 1.3;
  --fs-h5: 16px;   --lh-h5: 1.35;  --fw-h5: 600;
  --fs-h6: 14px;   --lh-h6: 1.4;   --ls-h6: 0.02em; --fw-h6: 600;
  --fs-lead: 18px;   --lh-lead: 1.5;   --fw-lead: 400;
  --fs-lead-d: 20px; --lh-lead-d: 1.5;
  --fs-body: 16px;   --lh-body: 1.5;   --fw-body: 400;
  --fs-body-d: 18px; --lh-body-d: 1.5;
  --fs-body-sm: 14px; --lh-body-sm: 1.5; --fw-body-sm: 400;
  --fs-caption: 14px; --lh-caption: 1.4; --ls-caption: 0.01em; --fw-caption: 400;
  --fs-cta: 16px; --lh-cta: 1.2; --fw-cta: 700;
  --fs-stat: 56px;   --lh-stat: 1.0;   --ls-stat: -0.02em; --fw-stat: 600;
  --fs-stat-d: 72px; --lh-stat-d: 1.0; --ls-stat-d: -0.02em;

  /* spacing scale */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-7: 56px;
  --s-8: 64px;
  --section-y: 48px;
  --section-y-d: 96px;
  --bp-desktop: 1024px;
  --container-max-d: 1136px;
  --gutter-d: 24px;
  --card-width-d: 556px;
  --card-width-narrow-d: 360px;
  --control-height: 48px;
  --control-height-d: 56px;
  --textarea-height: 144px;
  --checkbox-size: 24px;
  --nav-height: 64px;
  --nav-height-d: 80px;
  --menu-item-height: 56px;
  --logo-width: 112px;
  --logo-width-d: 144px;
  --hero-logo-width: 240px;
  --hero-logo-width-d: 480px;
  --hero-media-width-d: 480px;
  --hero-media-height: 240px;
  --hero-media-height-d: 640px;
  --feature-media-width-d: 480px;
  --feature-media-height: 240px;
  --feature-media-height-d: 560px;
  --screen-height: 384px;
  --screen-height-d: 560px;
  --badge-size: 48px;
  --badge-size-d: 56px;
  --icon-size: 24px;
  --icon-size-d: 28px;
  --avatar-size: 160px;
  --avatar-size-d: 208px;
  --prose-width-d: 720px;

  /* radii */
  --radius-card: 24px;
  --radius-button: 9999px;
  --radius-input: 12px;
  --radius-image: 16px;
  --radius-badge: 9999px;
  --radius-avatar: 9999px;
  --radius-menu: 16px;
  --radius-checkbox: 6px;

  /* elevation */
  --shadow-floating: 0 8px 24px rgba(0, 0, 10, 0.45);
  --header-blur: 12px;

  /* a11y */
  --focus-color: var(--color-focus);
  --focus-width: 2px;
  --focus-offset: 2px;
  --tap-min: 48px;
  --tap-gap: var(--s-1);

  /* motion */
  --dur-hover: 160ms;
  --dur-active: 80ms;
  --dur-link: 120ms;
  --dur-menu-reveal: 200ms;
  --dur-alert-reveal: 200ms;
  --dur-submit-busy: 900ms;
  --ease-out: ease-out;
}

/* AZ — Nunito for both display and body (PT Sans has no Ə/ə) */
html[lang="az"] {
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* AR — Noto Sans Arabic for the whole page */
html[lang="ar"] {
  --font-display: 'Noto Sans Arabic', 'Segoe UI', Tahoma, 'Geeza Pro', sans-serif;
  --font-body: 'Noto Sans Arabic', 'Segoe UI', Tahoma, 'Geeza Pro', sans-serif;
  --lh-h1: 1.3; --ls-h1: 0; --lh-h1-d: 1.3; --ls-h1-d: 0;
  --lh-h2: 1.3; --ls-h2: 0; --lh-h2-d: 1.3; --ls-h2-d: 0;
  --lh-h3: 1.3; --lh-h3-d: 1.3;
  --lh-h4: 1.3; --lh-h4-d: 1.3;
  --lh-h5: 1.3;
  --lh-h6: 1.3; --ls-h6: 0;
  --lh-lead: 1.7; --lh-lead-d: 1.7;
  --lh-body: 1.7; --lh-body-d: 1.7;
  --lh-body-sm: 1.7;
  --lh-caption: 1.7; --ls-caption: 0;
  --lh-cta: 1.3;
  --lh-stat: 1.3; --ls-stat: 0; --lh-stat-d: 1.3; --ls-stat-d: 0;
}

/* ZH — Noto Sans SC for the whole page */
html[lang="zh-Hans"] {
  --font-display: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --lh-h1: 1.3; --ls-h1: 0; --lh-h1-d: 1.3; --ls-h1-d: 0;
  --lh-h2: 1.3; --ls-h2: 0; --lh-h2-d: 1.3; --ls-h2-d: 0;
  --lh-h3: 1.3; --lh-h3-d: 1.3;
  --lh-h4: 1.3; --lh-h4-d: 1.3;
  --lh-h5: 1.3;
  --lh-h6: 1.3; --ls-h6: 0;
  --lh-lead: 1.7; --lh-lead-d: 1.7;
  --lh-body: 1.7; --lh-body-d: 1.7;
  --lh-body-sm: 1.7;
  --lh-caption: 1.7; --ls-caption: 0;
  --lh-cta: 1.3;
  --lh-stat: 1.3; --ls-stat: 0; --lh-stat-d: 1.3; --ls-stat-d: 0;
}

/* === BASE === */

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

html {
  background: var(--color-surface-base);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-surface-base);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
svg { display: block; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 700; }

h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); font-weight: var(--fw-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); font-weight: var(--fw-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-h3); }
@media (min-width: 1024px) {
  h1 { font-size: var(--fs-h1-d); line-height: var(--lh-h1-d); letter-spacing: var(--ls-h1-d); }
  h2 { font-size: var(--fs-h2-d); line-height: var(--lh-h2-d); letter-spacing: var(--ls-h2-d); }
  h3 { font-size: var(--fs-h3-d); line-height: var(--lh-h3-d); }
}

p { margin: 0; }

a { color: inherit; }

button { font-family: inherit; cursor: pointer; }

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

/* typography level utility classes (non-heading elements styled as a level) */
.text-h3 { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-h3); }
.text-h4 { font-family: var(--font-display); font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-h4); }
.text-h5 { font-family: var(--font-display); font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: var(--fw-h5); }
.text-h6 { font-family: var(--font-display); font-size: var(--fs-h6); line-height: var(--lh-h6); letter-spacing: var(--ls-h6); font-weight: var(--fw-h6); }
.text-lead { font-family: var(--font-body); font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-lead); }
.text-body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body); }
.text-body-sm { font-family: var(--font-body); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); font-weight: var(--fw-body-sm); }
.text-caption { font-family: var(--font-body); font-size: var(--fs-caption); line-height: var(--lh-caption); letter-spacing: var(--ls-caption); font-weight: var(--fw-caption); }
.text-cta { font-family: var(--font-display); font-size: var(--fs-cta); line-height: var(--lh-cta); font-weight: var(--fw-cta); }
.text-stat { font-family: var(--font-display); font-size: var(--fs-stat); line-height: var(--lh-stat); letter-spacing: var(--ls-stat); font-weight: var(--fw-stat); }
@media (min-width: 1024px) {
  .text-h4 { font-size: var(--fs-h4-d); line-height: var(--lh-h4-d); }
  .text-lead { font-size: var(--fs-lead-d); line-height: var(--lh-lead-d); }
  .text-body { font-size: var(--fs-body-d); line-height: var(--lh-body-d); }
  .text-stat { font-size: var(--fs-stat-d); line-height: var(--lh-stat-d); letter-spacing: var(--ls-stat-d); }
}

strong { font-weight: 700; }

/* focus ring — one rule for the whole document */
:focus { outline: none; }
:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

/* hide content pre-JS reveal only through .js-ready gating (never unconditional) */
.reveal { opacity: 1; }

/* === LAYOUT === */

.container {
  width: 100%;
  padding-inline: var(--s-2);
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-max-d);
    padding-inline: var(--s-4);
  }
}

/* fixed bokeh background layer, under the page-scrim */
.page-bokeh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/images/page-bokeh.webp");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.page-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--color-overlay-page);
}

main { display: block; }

/* anchor targets account for the sticky header height */
#how-it-works, #organizers, #investors, #team, #contact,
#contact-user, #contact-organizer, #contact-investor {
  scroll-margin-top: calc(var(--nav-height) + var(--s-3) + var(--s-1));
}
@media (min-width: 1024px) {
  #how-it-works, #organizers, #investors, #team, #contact,
  #contact-user, #contact-organizer, #contact-investor {
    scroll-margin-top: calc(var(--nav-height-d) + var(--s-3) + var(--s-1));
  }
}

.section {
  padding-block: var(--section-y);
}
@media (min-width: 1024px) {
  .section { padding-block: var(--section-y-d); }
}

.section__head { margin-bottom: var(--s-3); }
@media (min-width: 1024px) {
  .section__head { margin-bottom: var(--s-5); }
}

.stack > * + * { margin-top: var(--s-2); }

/* grid: hero (S02) 7:5 */
.grid-hero { display: grid; gap: var(--s-4); }
@media (min-width: 1024px) {
  .grid-hero { grid-template-columns: 7fr 5fr; gap: var(--gutter-d); align-items: center; }
}

/* grid: feature (S03, S04, S08) 5:7 */
.grid-feature { display: grid; gap: var(--s-3); }
@media (min-width: 1024px) {
  .grid-feature { grid-template-columns: 5fr 7fr; gap: var(--gutter-d); align-items: start; }
}
.grid-feature--reverse-media-order { }

/* grid: pairs (S05 categories, S09 stats/ask+goals) */
.grid-pairs { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
@media (min-width: 1024px) {
  .grid-pairs { grid-template-columns: repeat(2, var(--card-width-d)); gap: var(--gutter-d); justify-content: start; }
}

/* grid: trio (S09 revenue, S10 team) */
.hero-section { padding-top: var(--s-4); }

.revenue-card__title { margin-top: var(--s-2); }

.grid-trio { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
@media (min-width: 1024px) {
  .grid-trio { grid-template-columns: repeat(3, var(--card-width-narrow-d)); gap: var(--gutter-d); justify-content: start; }
}

/* grid: steps (S06) — 5-column desktop layout */
.grid-steps { display: grid; grid-template-columns: 1fr; gap: var(--s-2); }
@media (min-width: 1024px) {
  .grid-steps {
    grid-template-columns: 17fr 22fr 22fr 22fr 17fr;
    column-gap: var(--s-1);
    align-items: end;
  }
}

/* grid: contact (S11) 7:5 */
.grid-contact { display: grid; gap: var(--s-3); }
@media (min-width: 1024px) {
  .grid-contact { grid-template-columns: 7fr 5fr; gap: var(--gutter-d); align-items: start; }
}

/* === COMPONENTS === */

/* --- nav / header (S01) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-overlay-header);
  -webkit-backdrop-filter: blur(var(--header-blur));
  backdrop-filter: blur(var(--header-blur));
}
@media (min-width: 1024px) {
  .site-header { height: var(--nav-height-d); }
}
.site-header__bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}
.logo {
  display: block;
  flex: 0 0 auto;
  inline-size: var(--logo-width);
}
@media (min-width: 1024px) {
  .logo { inline-size: var(--logo-width-d); }
}
.logo img { width: 100%; height: auto; object-fit: contain; }

.site-header__controls { display: flex; align-items: center; gap: var(--s-1); }
@media (min-width: 1024px) {
  .site-header__controls { gap: var(--s-3); }
}

.site-header__nav { display: none; }
@media (min-width: 1024px) {
  .site-header__nav {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    margin-inline-end: var(--s-2);
  }
}
.site-header__nav-link {
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: var(--fs-cta);
  line-height: var(--lh-cta);
  font-weight: var(--fw-cta);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
@media (hover: hover) and (pointer: fine) {
  .site-header__nav-link:hover {
    color: var(--color-primary);
    border-bottom-color: currentColor;
    transition: color var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out);
  }
}
.site-header__nav-link:active { transform: scale(0.97); }

/* icon buttons (menu / language) share sizing and tap target */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding-inline: var(--s-1);
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: var(--fs-cta);
  line-height: var(--lh-cta);
  font-weight: var(--fw-cta);
}
@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover { color: var(--color-primary); }
}
.icon-btn:active { transform: scale(0.97); }
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
}

/* disclosure (details/summary) used for mobile menu + language switcher */
.disclosure { position: relative; }
.disclosure > summary {
  list-style: none;
  display: inline-flex;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure__panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + var(--s-1));
  z-index: 110;
  min-width: 200px;
  background: var(--color-surface-floating);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-menu);
  box-shadow: var(--shadow-floating);
  padding: var(--s-1);
}
.js-ready .disclosure[open] > .disclosure__panel {
  animation: menu-reveal var(--dur-menu-reveal) var(--ease-out);
}
@keyframes menu-reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* mobile nav panel: full viewport width, opens right under the sticky header */
.mobile-nav-panel {
  position: fixed;
  inset-inline: 0;
  top: var(--nav-height);
  width: auto;
  min-width: 0;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  border-radius: 0;
  border-inline: none;
  border-top: none;
}
@media (min-width: 1024px) {
  .mobile-nav-disclosure { display: none; }
}
.mobile-nav-panel__link {
  display: flex;
  align-items: center;
  height: var(--menu-item-height);
  padding-inline: var(--s-2);
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  border-radius: var(--radius-input);
}
@media (hover: hover) and (pointer: fine) {
  .mobile-nav-panel__link:hover { background: var(--color-surface-elevated); }
}

.lang-switcher__panel { padding: var(--s-1); }
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  height: var(--menu-item-height);
  padding-inline: var(--s-2);
  border-radius: var(--radius-input);
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--fs-cta);
  font-weight: var(--fw-cta);
  white-space: nowrap;
}
a.lang-switcher__option {
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  a.lang-switcher__option:hover { background: var(--color-surface-elevated); }
}
.lang-switcher__option[aria-current="true"] { color: var(--color-primary); }
.lang-switcher__mark { inline-size: 1em; text-align: center; }

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-height: var(--control-height);
  padding-inline: var(--s-3);
  border-radius: var(--radius-button);
  font-family: var(--font-display);
  font-size: var(--fs-cta);
  line-height: var(--lh-cta);
  font-weight: var(--fw-cta);
  text-decoration: none;
  border: 2px solid transparent;
}
@media (min-width: 1024px) {
  .btn { min-height: var(--control-height-d); padding-inline: var(--s-4); }
}
.btn--block { width: 100%; }
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); transition: background-color var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-out); }
}
.btn--primary:active { background: var(--color-primary-active); border-color: var(--color-primary-active); transform: scale(0.97); }
.btn--primary:disabled,
.btn--primary[disabled] {
  background: var(--color-surface-floating);
  color: var(--color-text-muted);
  border-color: var(--color-border);
  cursor: default;
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:disabled:hover { background: var(--color-surface-floating); }
}

.btn--secondary {
  background: var(--color-surface-base);
  color: var(--color-text-primary);
  border-color: var(--color-primary);
}
@media (hover: hover) and (pointer: fine) {
  .btn--secondary:hover { background: var(--color-surface-floating); transition: background-color var(--dur-hover) var(--ease-out); }
}
.btn--secondary:active { background: var(--color-surface-elevated); transform: scale(0.97); }

/* busy ring, shown only while [disabled][aria-busy] via the JS-driven component */
.btn__busy-ring {
  inline-size: var(--s-2);
  block-size: var(--s-2);
  border-radius: 50%;
  border: 2px solid var(--color-text-muted);
  border-inline-start-color: transparent;
  animation: submit-busy var(--dur-submit-busy) linear infinite;
}
@keyframes submit-busy {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn__busy-ring { animation: none; }
}

.link {
  color: var(--color-primary);
  text-decoration: underline;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { color: var(--color-primary-hover); transition: color var(--dur-link) var(--ease-out), text-decoration-color var(--dur-link) var(--ease-out); }
}

/* --- cards --- */
.card {
  background: var(--color-surface-elevated);
  border: 2px solid var(--order-1);
  border-top-width: var(--s-1);
  border-radius: var(--radius-card);
  padding: var(--s-2);
}
@media (min-width: 1024px) {
  .card { padding: var(--s-3); }
}
.card--order-2 { border-color: var(--order-2); }
.card--order-3 { border-color: var(--order-3); }
.card--order-4 { border-color: var(--order-4); }

.panel-accent {
  background: var(--color-surface-accent);
  color: var(--color-text-inverse);
  border-radius: var(--radius-card);
  padding: var(--s-3);
}
@media (min-width: 1024px) {
  .panel-accent { padding: var(--s-5); }
}
.panel-accent .text-h3 { color: var(--color-text-inverse); }

/* --- badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  inline-size: var(--badge-size);
  block-size: var(--badge-size);
  border-radius: var(--radius-badge);
  background: var(--order-1);
  color: var(--color-text-inverse);
}
@media (min-width: 1024px) {
  .badge { inline-size: var(--badge-size-d); block-size: var(--badge-size-d); }
}
.badge--order-2 { background: var(--order-2); }
.badge--order-3 { background: var(--order-3); }
.badge--order-4 { background: var(--order-4); }
.badge__number { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1; font-weight: var(--fw-h4); }
.badge__icon { inline-size: var(--icon-size); block-size: var(--icon-size); }
@media (min-width: 1024px) {
  .badge__icon { inline-size: var(--icon-size-d); block-size: var(--icon-size-d); }
}

/* --- hero (S02) --- */
.hero__logo { display: block; min-width: 0; inline-size: var(--hero-logo-width); margin-inline-start: 0; }
@media (min-width: 1024px) {
  .hero__logo { inline-size: var(--hero-logo-width-d); }
}
.hero__logo img { width: 100%; height: auto; display: block; }

.hero__stage { color: var(--color-text-muted); }
.hero__ctas { display: flex; flex-direction: column; gap: var(--s-2); }
@media (min-width: 1024px) {
  .hero__ctas { flex-direction: row; }
}
.hero__media img {
  width: 100%;
  height: var(--hero-media-height);
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: var(--radius-image);
}
@media (min-width: 1024px) {
  .hero__media img { height: var(--hero-media-height-d); }
}

/* --- feature media (S03 / S08) --- */
.feature-media img {
  width: 100%;
  height: var(--feature-media-height);
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: var(--radius-image);
}
@media (min-width: 1024px) {
  .feature-media img { height: var(--feature-media-height-d); }
}
.feature-media--right { grid-row: 1; }

.pain-cards { display: flex; flex-direction: column; gap: var(--s-2); }

/* --- solution (S04) --- */
.app-screen-card {
  overflow: hidden;
  padding: var(--s-2) var(--s-2) 0;
  block-size: var(--screen-height);
}
@media (min-width: 1024px) {
  .app-screen-card { block-size: var(--screen-height-d); padding: var(--s-3) var(--s-3) 0; }
}
.app-screen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.principles { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-3); }
@media (min-width: 1024px) {
  .principles { margin-top: var(--s-5); }
}
.principle { display: flex; align-items: flex-start; gap: var(--s-2); }
.principle__text { padding-top: calc((var(--badge-size) - 1em * var(--lh-body)) / 2); }

/* --- categories (S05) --- */
.category-card__head { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-2); }

/* --- steps (S06) --- */
.step-card__head { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-1); }
.step { display: none; }
@media (min-width: 1024px) {
  .grid-steps .step {
    display: block;
  }
  .grid-steps .step--1 { grid-column: 2; grid-row: 1; }
  .grid-steps .step--2 { grid-column: 3; grid-row: 3; }
  .grid-steps .step--3 { grid-column: 4; grid-row: 1; }
  .road-illustration { grid-column: 1 / -1; grid-row: 2; }
  .step__badge-row { display: flex; align-items: center; gap: var(--s-1); margin-bottom: var(--s-1); }
}
.step-cards-mobile { display: flex; flex-direction: column; gap: var(--s-2); }
@media (min-width: 1024px) {
  .step-cards-mobile { display: none; }
}
.road-illustration { display: none; }
@media (min-width: 1024px) {
  .road-illustration { display: block; aspect-ratio: 85 / 20; }
  .road-illustration img { width: 100%; height: 100%; object-fit: contain; }
}
.how-it-works__promise { margin-top: var(--s-3); }
@media (min-width: 1024px) {
  .how-it-works__promise { margin-top: var(--s-4); text-align: center; }
}

/* --- cta banner (S07) --- */
.cta-banner {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-4); }
}

/* --- investors (S09) --- */
.market-block { display: flex; flex-direction: column; gap: var(--s-3); }
.stat-pairs { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 1024px) {
  .stat-pairs { grid-template-columns: repeat(2, 1fr); gap: var(--gutter-d); }
}
.stat__value { display: block; }
.stat__label { display: block; margin-top: var(--s-1); }
.stat__text { display: block; margin-top: var(--s-1); color: var(--color-text-muted); }

.revenue-block, .ask-block { margin-top: var(--section-y); }
@media (min-width: 1024px) {
  .revenue-block, .ask-block { margin-top: var(--section-y-d); }
}
.revenue-block__head, .ask-block__head { margin-bottom: var(--s-3); }
@media (min-width: 1024px) {
  .revenue-block__head, .ask-block__head { margin-bottom: var(--s-5); }
}

.ask-pairs { display: grid; grid-template-columns: 1fr; gap: var(--s-3); align-items: start; }
@media (min-width: 1024px) {
  .ask-pairs { grid-template-columns: repeat(2, 1fr); gap: var(--gutter-d); }
}
.ask-panel__value { display: block; margin-top: var(--s-2); }
.ask-panel__text { display: block; margin-top: var(--s-2); }
.goals-col > * + * { margin-top: var(--s-3); }
.goals-list { display: flex; flex-direction: column; gap: var(--s-2); }
.goals-list li { position: relative; padding-inline-start: var(--s-3); }
.goals-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.investors__cta { margin-top: var(--s-4); }

/* --- team (S10) --- */
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-2); }
.team-card__photo {
  inline-size: var(--avatar-size);
  block-size: var(--avatar-size);
  border-radius: var(--radius-avatar);
  overflow: hidden;
  border: 2px solid var(--color-primary);
}
@media (min-width: 1024px) {
  .team-card__photo { inline-size: var(--avatar-size-d); block-size: var(--avatar-size-d); }
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* --- contact form (S11) --- */
.direct-contacts { display: flex; flex-direction: column; gap: var(--s-1); margin-top: var(--s-3); }
@media (min-width: 1024px) {
  .direct-contacts { margin-top: 0; }
}
.direct-contacts .link {
  display: flex;
  align-items: center;
  min-height: var(--control-height);
}

.form-field { margin-top: var(--s-3); }
.form-field:first-of-type { margin-top: 0; }
.form-field label { display: block; margin-bottom: var(--s-1); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: var(--control-height);
  padding-inline: var(--s-2);
  background: var(--color-surface-sunken);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
}
.form-field textarea {
  min-height: var(--textarea-height);
  padding-block: var(--s-2);
  resize: vertical;
}
.form-field select { appearance: none; background-image: none; }
.form-field ::placeholder { color: var(--color-text-muted); opacity: 1; }
.form-field [aria-invalid="true"] { border-color: var(--color-error); }

.field-error {
  margin-top: var(--s-1);
  color: var(--color-error);
  display: none;
}
.field-error[hidden] { display: none; }
.field-error:not([hidden]) { display: block; }
.field-error__mark { margin-inline-end: 4px; }

.form-consent {
  margin-top: var(--s-3);
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
}
.form-consent input[type="checkbox"] {
  appearance: none;
  flex: 0 0 auto;
  inline-size: var(--checkbox-size);
  block-size: var(--checkbox-size);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-checkbox);
  background: var(--color-surface-sunken);
  position: relative;
  margin: 0;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.form-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 2px;
  inline-size: 6px;
  block-size: 12px;
  border: solid var(--color-text-inverse);
  border-width: 0 2px 2px 0;
  transform: rotate(35deg);
}
.form-consent label { color: var(--color-text-primary); }

.form-status { margin-top: var(--s-3); }
.form-status:empty { margin-top: 0; }
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--s-1);
  padding: var(--s-2);
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.js-ready .alert { animation: alert-reveal var(--dur-alert-reveal) var(--ease-out); }
@keyframes alert-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.alert--success { color: var(--color-success); border: 2px solid var(--color-success); }
.alert--error { color: var(--color-error); border: 2px solid var(--color-error); }

.form-submit { margin-top: var(--s-3); }
.form-submit .btn[aria-busy="true"] { cursor: progress; }

/* --- footer (S12) --- */
.site-footer {
  background: var(--color-surface-sunken);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body-sm);
  padding-block: var(--s-4);
}
@media (min-width: 1024px) {
  .site-footer { padding-block: var(--s-6); }
}
.site-footer__grid { display: flex; flex-direction: column; gap: var(--s-3); }
@media (min-width: 1024px) {
  .site-footer__grid { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.site-footer__brand { display: flex; flex-direction: column; gap: var(--s-1); }
.site-footer__meta { display: flex; flex-direction: column; gap: var(--s-2); }
@media (min-width: 1024px) {
  .site-footer__meta { align-items: flex-end; }
}
.site-footer__lang-row { display: flex; align-items: center; gap: var(--s-2); }
.site-footer .logo { inline-size: var(--logo-width); }
.site-footer__copyright { margin-top: var(--s-3); color: var(--color-text-muted); }
@media (min-width: 1024px) {
  .site-footer__copyright { margin-top: var(--s-4); }
}

/* --- privacy policy text (PG02) --- */
.policy { }
@media (min-width: 1024px) {
  .policy { max-width: var(--prose-width-d); margin-inline: auto; }
}
.policy__body { margin-top: var(--section-y); }
@media (min-width: 1024px) {
  .policy__body { margin-top: var(--section-y-d); }
}
.policy__body > * + * { margin-top: var(--s-2); }
.policy__body h2 + * { margin-top: var(--s-3); }
@media (min-width: 1024px) {
  .policy__body h2 + * { margin-top: var(--s-5); }
}
.policy__updated { color: var(--color-text-muted); }
.policy__list { display: flex; flex-direction: column; gap: var(--s-2); }
.policy__list li { position: relative; padding-inline-start: var(--s-3); }
.policy__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* --- 404 (PG03) --- */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.not-found__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
}
@media (min-width: 1024px) {
  .not-found__inner { gap: var(--s-5); }
}
.not-found__cta { width: 100%; }
@media (min-width: 1024px) {
  .not-found__cta { width: auto; }
}

/* === utility === */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
