/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggmxSuXd.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggexSg.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggmxSuXd.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggexSg.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggmxSuXd.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggexSg.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggmxSuXd.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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/xn7gYHE41ni1AdIRggexSg.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIOOaBXso.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIMeaBXso.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIOuaBXso.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIO-aBXso.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;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofINeaB.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIOOaBXso.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIMeaBXso.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIOuaBXso.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIO-aBXso.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;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofINeaB.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIOOaBXso.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIMeaBXso.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIOuaBXso.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofIO-aBXso.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;
}
/* latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/XRXV3I6Li01BKofINeaB.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;
}

/* MathWave — сайт-визитка. Светлая палитра бренда, крупная типографика. */

:root {
  --bg: #FDFBFC;
  --bg-2: #F6F3F7;
  --bg-ink: #1F3A5F;
  --ink: #1F3A5F;
  --ink-soft: #4A5E7A;
  --muted: #7F8CA0;
  --line: #E6E9F0;
  --line-strong: #CFD6E2;
  --rose: #F0A6D0;
  --rose-soft: #F7D3E6;
  --rose-tint: #FCEFF6;
  --sky: #6BB6E8;
  --sky-soft: #B5D9F1;
  --sky-tint: #EAF4FB;
  --blend: #C4AED9;
  --grad: linear-gradient(90deg, #F0A6D0 0%, #C4AED9 50%, #6BB6E8 100%);
  --grad-v: linear-gradient(180deg, #F0A6D0 0%, #C4AED9 50%, #6BB6E8 100%);
  --grad-soft: linear-gradient(135deg, #FCEFF6 0%, #EAF4FB 100%);

  --font: 'Nunito', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Manrope', 'Nunito', system-ui, sans-serif;

  --w: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --r: 20px;
  --r-lg: 32px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 64px rgba(31, 58, 95, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  /* мелкое зерно, как на печатной бумаге */
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a, li a.inline { text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
p a:hover, li a.inline:hover { text-decoration-color: var(--rose); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
p { margin: 0; }
::selection { background: var(--rose-soft); color: var(--ink); }

.wrap { width: min(100% - var(--gutter) * 2, var(--w)); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-lg { padding: 20px 36px; font-size: 18px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(31, 58, 95, .18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(31, 58, 95, .26); }
.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-grad { position: relative; color: var(--ink); background: #fff; isolation: isolate; }
.btn-grad::before { content: ''; position: absolute; inset: -1.5px; border-radius: inherit; background: var(--grad); z-index: -1; }
.btn-grad::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #fff; z-index: -1; transition: opacity .3s; }
.btn-grad:hover::after { opacity: .85; }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header.scrolled { background: rgba(253, 251, 252, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.header-inner { width: min(100% - var(--gutter) * 2, var(--w)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 44px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a { display: inline-block; padding: 10px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .2s, background .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); background: rgba(31, 58, 95, .06); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; align-items: center; gap: 10px; padding: 10px 14px 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.menu-toggle-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 18px; }
.menu-toggle-bars i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); transform-origin: center; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; display: grid; gap: 6px; }
.mobile-menu li { opacity: 0; transform: translateY(18px); animation: menu-in .6s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 80ms); }
.mobile-menu li a { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 9vw, 56px); letter-spacing: -.04em; line-height: 1.05; padding: 8px 0; }
.mobile-menu-contacts { display: grid; gap: 8px; color: var(--ink-soft); font-size: 15px; }
@keyframes menu-in { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-inner { height: 68px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 clamp(48px, 7vh, 88px); overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(55% 60% at 88% 30%, rgba(107, 182, 232, .24), transparent 70%),
  radial-gradient(50% 45% at 8% 90%, rgba(240, 166, 208, .24), transparent 70%),
  var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hero-eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 6.2vw, 104px); line-height: .96; letter-spacing: -.045em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-sub { margin-top: 28px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--ink-soft); max-width: 44ch; opacity: 0; animation: fade .9s var(--ease) .5s forwards; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade .9s var(--ease) .65s forwards; }
.hero-trust { margin-top: 40px; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 36px; color: var(--ink-soft); font-size: 14px; opacity: 0; animation: fade .9s var(--ease) .8s forwards; }
.hero-trust b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
@keyframes fade { to { opacity: 1; } }

.hero-visual { position: relative; }
.hero-wave { position: absolute; z-index: 0; left: 50%; top: 50%; width: 175%; transform: translate(-50%, -50%); opacity: .95; pointer-events: none; }
.hero-wave .hw { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 2.6s var(--ease) forwards; }
.hero-wave .hw-0 { animation-delay: .1s; } .hero-wave .hw-1 { animation-delay: .35s; } .hero-wave .hw-2 { animation-delay: .5s; } .hero-wave .hw-3 { animation-delay: .65s; } .hero-wave .hw-4 { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-portrait { position: relative; z-index: 1; margin: 0 0 0 auto; width: min(100%, 520px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: visible; opacity: 0; transform: translateY(24px) scale(.98); animation: portrait-in 1.2s var(--ease) .2s forwards; }
@keyframes portrait-in { to { opacity: 1; transform: none; } }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-lg); box-shadow: 0 40px 90px rgba(31, 58, 95, .18); }
.hero-portrait::before { content: ''; position: absolute; inset: -1px; border-radius: calc(var(--r-lg) + 1px); background: var(--grad); z-index: -1; opacity: .9; }
.hero-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 12px 36px rgba(31, 58, 95, .14); font-size: 13px; line-height: 1.35; color: var(--ink-soft); margin: 0; }
.hero-chip b { color: var(--ink); font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; font-size: 14px; }
.hero-chip-name { left: -28px; bottom: 36px; }
.hero-chip-fact { right: -20px; top: 40px; }
.hero-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(240, 166, 208, .25); flex: none; }

.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.hero-scroll i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--ink), transparent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.6); opacity: .5; } }
@media (max-width: 960px) {
  .hero { min-height: 0; padding: 96px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .hero-portrait { width: min(100%, 420px); margin: 0 auto; aspect-ratio: 1 / 1; }
  .hero-wave { width: 160%; opacity: .7; }
  .hero-chip-name { left: 0; bottom: -18px; }
  .hero-chip-fact { right: 0; top: 16px; }
  .hero h1 { margin-top: 18px; }
  .hero-scroll { display: none; }
}
@media (max-width: 520px) {
  .hero-portrait { aspect-ratio: 4 / 5; }
  .hero-trust { gap: 10px 24px; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: #fff; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); padding: 0 28px; white-space: nowrap; }
.marquee-track span::after { content: '·'; margin-left: 56px; color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-tight { padding: clamp(56px, 8vw, 110px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow b { font-weight: 800; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-size: 15px; }
.h2 { font-size: clamp(34px, 5.2vw, 80px); letter-spacing: -.04em; line-height: .98; }
.h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.03em; line-height: 1.1; }
.lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-soft); line-height: 1.5; max-width: 60ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Statement */
.statement { background: var(--ink); color: #fff; position: relative; overflow: clip; }
.statement::after { content: ''; position: absolute; inset: auto -10% -40% auto; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(107, 182, 232, .35), transparent 70%); filter: blur(40px); pointer-events: none; }
.statement p { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.4vw, 66px); letter-spacing: -.035em; line-height: 1.08; max-width: 24ch; }
.statement p em { font-style: normal; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.statement .sig { margin-top: 40px; display: flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.statement .sig img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* Courses rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 24px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.course-card { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; isolation: isolate; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.course-card.live::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: var(--grad); z-index: -2; }
.course-card.live::after { content: ''; position: absolute; inset: 0; border-radius: calc(var(--r-lg) - 1px); background: #fff; z-index: -1; }
.course-card .num { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.course-card .badge { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--bg-2); color: var(--ink-soft); }
.course-card.live .badge { background: var(--grad); color: var(--ink); }
.course-card .exam { margin-top: 28px; font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 4vw, 60px); letter-spacing: -.04em; line-height: 1; }
.course-card .exam.soon { color: var(--ink-soft); }
.course-card h3 { margin-top: 10px; font-size: 24px; }
.course-card .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.course-card .desc { margin-top: 18px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.course-card .meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: 13px; }
.course-card .foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course-card .price { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.03em; }
.course-card .price small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; display: block; }
.course-card .go { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.course-card:hover .go { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(-45deg); }
.course-card > a.cover { position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.course-card > a.cover:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.rail-hint { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.rail-hint .dots { display: flex; gap: 8px; }
.rail-hint .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
@media (max-width: 720px) { .rail { grid-auto-columns: 84vw; } }

/* Method */
.method { background: var(--bg-2); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.method-item { background: var(--bg-2); padding: 36px 28px 40px; min-height: 320px; display: flex; flex-direction: column; transition: background .4s; }
.method-item:hover { background: #fff; }
.method-item .idx { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 4vw, 64px); letter-spacing: -.05em; line-height: 1; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.method-item h3 { margin-top: auto; font-size: 22px; padding-top: 32px; }
.method-item p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
@media (max-width: 1000px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method-grid { grid-template-columns: 1fr; } .method-item { min-height: 0; } .method-item h3 { padding-top: 20px; } }

/* About split */
.about-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.portrait:hover img { transform: scale(1.03); }
.portrait .tag { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(31, 58, 95, .25)); pointer-events: none; }
.about-copy .h2 { font-size: clamp(32px, 4.4vw, 64px); }
.about-copy .lead { margin-top: 24px; }
.facts { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); list-style: none; color: var(--ink-soft); }
.facts li::before { content: ''; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--grad); }
.about-copy .btn { margin-top: 32px; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } .portrait { max-width: 520px; } }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers > div { padding: 40px 28px; border-right: 1px solid var(--line); }
.numbers > div:last-child { border-right: 0; }
.numbers .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 80px); letter-spacing: -.05em; line-height: 1; }
.numbers .n sup { font-size: .45em; vertical-align: top; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.numbers .l { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(2, 1fr); } .numbers > div:nth-child(2) { border-right: 0; } .numbers > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Sample */
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sample-grid a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sample-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sample-grid img { width: 100%; }
@media (max-width: 640px) { .sample-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 40px; gap: 20px; align-items: center; padding: 26px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; position: relative; transition: transform .4s var(--ease), background .3s; }
.faq-list summary .pm::before, .faq-list summary .pm::after { content: ''; position: absolute; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
.faq-list summary .pm::after { transform: rotate(90deg); }
.faq-list details[open] summary .pm { background: var(--ink); }
.faq-list details[open] summary .pm::before, .faq-list details[open] summary .pm::after { background: #fff; }
.faq-list details[open] summary .pm::after { transform: rotate(0); }
.faq-list .ans { padding: 0 0 28px; color: var(--ink-soft); max-width: 68ch; font-size: 16px; line-height: 1.6; }

/* Final CTA */
.cta { position: relative; overflow: clip; background: var(--grad-soft); text-align: center; }
.cta .ribbon { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 100%; opacity: .55; }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(40px, 7vw, 112px); letter-spacing: -.045em; line-height: .96; }
.cta p { margin: 24px auto 36px; max-width: 52ch; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 20px); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.review-shot { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.review blockquote { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.review blockquote::before { content: '«'; color: var(--rose); font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 0; margin-right: 4px; vertical-align: -6px; }
.review figcaption { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--ink); font-family: var(--font-display); }
.review figcaption a { text-decoration: underline; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Lead magnet */
.lead-magnet { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; isolation: isolate; overflow: clip; }
.lead-magnet::before { content: ''; position: absolute; inset: auto -10% -60% auto; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(240, 166, 208, .35), transparent 70%); filter: blur(30px); z-index: -1; }
.lead-magnet h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.035em; }
.lead-magnet p:not(.eyebrow) { margin-top: 14px; color: var(--ink-soft); max-width: 52ch; }
.lead-magnet-cta { display: grid; gap: 12px; justify-items: start; }
.lead-magnet-note { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .lead-magnet { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; }
.footer-wave { background: var(--bg); }
.footer-wave .ribbon { width: 100%; height: 90px; }
.footer-inner { width: min(100% - var(--gutter) * 2, var(--w)); margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 48px; }
.footer-logo { width: 120px; filter: brightness(1.1); }
.footer-tagline { margin-top: 20px; color: rgba(255, 255, 255, .7); font-size: 15px; max-width: 40ch; }
.footer-h { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .85); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 4px; }
.footer-legal { width: min(100% - var(--gutter) * 2, var(--w)); margin-inline: auto; border-top: 1px solid rgba(255, 255, 255, .12); padding: 24px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: rgba(255, 255, 255, .55); font-size: 13px; }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-head { padding: 150px 0 clamp(40px, 6vw, 80px); position: relative; }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 90% 0%, rgba(107, 182, 232, .18), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(240, 166, 208, .16), transparent 70%); }
.page-head h1 { font-size: clamp(38px, 6.4vw, 96px); letter-spacing: -.045em; line-height: .98; max-width: 16ch; }
.page-head .lead { margin-top: 28px; }
.crumbs { margin-bottom: 28px; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }
.crumbs a:hover { color: var(--ink); }
.page-head-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: 1fr; } .page-head { padding-top: 120px; } }

/* Course page */
.course-hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; position: relative; isolation: isolate; }
.course-hero-card.live::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; background: var(--grad); z-index: -2; }
.course-hero-card.live::after { content: ''; position: absolute; inset: 0; border-radius: calc(var(--r-lg) - 1px); background: #fff; z-index: -1; }
.course-hero-card .price { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4vw, 56px); letter-spacing: -.04em; line-height: 1; }
.course-hero-card .price small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.course-hero-card .btn { margin-top: 24px; width: 100%; justify-content: center; }
.course-hero-card .note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.course-hero-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 24px 0 0; font-size: 14px; }
.course-hero-card dt { color: var(--muted); }
.course-hero-card dd { margin: 0; color: var(--ink); font-weight: 600; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs > div { background: #fff; padding: 22px 22px; }
.specs .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); font-weight: 700; }
.specs .v { margin-top: 8px; font-weight: 600; line-height: 1.4; }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

.lessons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; counter-reset: l; }
.lessons li { list-style: none; background: #fff; padding: 26px 28px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; transition: background .3s; }
.lessons li:hover { background: var(--bg-2); }
.lessons li::before { counter-increment: l; content: counter(l, decimal-leading-zero); font-size: 14px; letter-spacing: .1em; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-weight: 800; }
@media (max-width: 720px) { .lessons { grid-template-columns: 1fr; } }

.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.checklist li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.checklist li svg { width: 24px; height: 24px; color: var(--ink); }
@media (max-width: 720px) { .checklist { grid-template-columns: 1fr; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.card h3 { font-size: 20px; }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* Waitlist form */
.waitlist { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.waitlist h2 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.035em; }
.waitlist p { margin-top: 14px; color: rgba(255, 255, 255, .72); }
.waitlist form { display: grid; gap: 12px; }
.waitlist input[type="email"], .waitlist input[type="text"] { width: 100%; padding: 16px 18px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 16px; }
.waitlist input::placeholder { color: rgba(255, 255, 255, .5); }
.waitlist input:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.waitlist label.cb { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .75); align-items: start; }
.waitlist label.cb a { text-decoration: underline; }
.waitlist .btn { background: #fff; color: var(--ink); justify-content: center; }
.waitlist .msg { font-size: 14px; min-height: 20px; }
.waitlist .msg.err { color: #FFB3C7; }
.waitlist .msg.ok { color: #B5D9F1; }
@media (max-width: 860px) { .waitlist { grid-template-columns: 1fr; } }

/* Blog */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; min-height: 300px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .cat { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-card h2, .post-card h3 { margin-top: 18px; font-size: 24px; letter-spacing: -.03em; line-height: 1.15; }
.post-card p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.post-card time { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr; } }

.article { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 64px; }
.article-body { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.article-body h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 56px 0 18px; color: var(--ink); }
.article-body h3 { font-size: 22px; margin: 36px 0 12px; color: var(--ink); }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body blockquote { margin: 32px 0; padding: 24px 28px; border-left: 3px solid; border-image: var(--grad-v) 1; background: var(--bg-2); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.article-body th, .article-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { color: var(--ink); font-family: var(--font-display); font-size: 14px; letter-spacing: .04em; }
.article-meta { color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.aside-card { position: sticky; top: 100px; align-self: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.aside-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.aside-card h3 { margin-top: 16px; font-size: 20px; }
.aside-card p { margin-top: 8px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.aside-card .btn { margin-top: 20px; width: 100%; justify-content: center; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; min-height: 240px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card .k { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card .v { margin-top: auto; padding-top: 32px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; word-break: break-word; }
.contact-card .s { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* About page */
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline li { list-style: none; display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.timeline .k { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.timeline .v { color: var(--ink-soft); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

/* Result / 404 */
.center-page { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.center-page h1 { font-size: clamp(40px, 8vw, 120px); letter-spacing: -.05em; }
.center-page p { margin: 20px auto 32px; max-width: 48ch; color: var(--ink-soft); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-wave .hw { animation: none; stroke-dashoffset: 0; }
  .hero h1 .line > span, .hero-sub, .hero-cta { animation: none; transform: none; opacity: 1; }
  .mobile-menu li { animation: none; opacity: 1; transform: none; }
}
