@font-face {
    font-family: "Google Sans";
    src: url("../fonts/google-sans-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    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: "Google Sans";
    src: url("../fonts/google-sans-latin-ext-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    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: "Roboto";
    src: url("../fonts/roboto-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 75% 100%;
    font-display: swap;
    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: "Roboto";
    src: url("../fonts/roboto-latin-ext-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 75% 100%;
    font-display: swap;
    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;
}

:root {
    --blue: #185abc;
    --blue-bright: #1a73e8;
    --blue-ink: #202124;
    --green: #1ba260;
    --yellow: #ffce4b;
    --red: #9f1e22;
    --purple: #7256e8;
    --ink: #202124;
    --muted: #5f6368;
    --line: #dfe7f2;
    --surface: #fff;
    --soft: #f5f8fd;
    --shell: min(1440px, calc(100vw - 64px));
    --radius: 28px;
    --shadow: 0 22px 65px rgba(26, 63, 112, .14);
    --font-body: "Roboto", Arial, sans-serif;
    --font-display: "Product Sans", "Google Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; overflow-x: hidden; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 18px; font-weight: 400; line-height: 28px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
h1, h2, h3, h4, h5, h6, button, .brand-wordmark, .main-navigation, .eyebrow, .contrast-label, .comparison-table th, .feature-tile strong, .section-number, .media-frame figcaption, .footer-inner nav { font-family: var(--font-display); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; }
button { border: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 118px 0; }
.section-soft { background: #f6f9fe; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 12px 16px; border-radius: 10px; background: var(--blue-ink); color: white; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: 86px; transition: background .25s, box-shadow .25s, height .25s; }
.site-header.is-scrolled { height: 74px; background: rgba(255,255,255,.92); box-shadow: 0 8px 30px rgba(22,34,61,.09); backdrop-filter: blur(18px); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 8px; color: #0f70df; }
.brand img { width: 54px; height: auto; }
.brand-wordmark { font-size: 27px; font-weight: 700; letter-spacing: -.035em; }
.main-navigation { display: flex; align-items: center; gap: 42px; color: var(--blue-ink); font-size: 16px; font-weight: 650; }
.main-navigation > a, .nav-dropdown > button { position: relative; padding: 12px 0; background: none; cursor: pointer; }
.main-navigation > a::after, .nav-dropdown > button::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; border-radius: 2px; background: var(--blue-bright); content: ""; transform: scaleX(0); transition: transform .2s; }
.main-navigation > a:hover::after, .main-navigation > a:focus-visible::after, .nav-dropdown > button:hover::after, .nav-dropdown > button:focus-visible::after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: inline-flex; align-items: center; gap: 8px; }
.dropdown-chevron { width: 16px; height: 16px; transition: transform .18s ease; transform: rotate(90deg); }
.nav-dropdown > button[aria-expanded="true"] .dropdown-chevron { transform: rotate(-90deg); }
.dropdown-panel { position: absolute; top: calc(100% + 12px); right: -180px; display: grid; width: 680px; grid-template-columns: 1fr 1fr; gap: 7px; padding: 14px; border: 1px solid rgba(35,82,147,.12); border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { display: flex; align-items: center; gap: 13px; padding: 13px; border-radius: 15px; transition: background .15s, transform .15s; }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible { background: #f1f6fd; transform: translateX(2px); }
.dropdown-panel svg { width: 25px; height: 25px; flex: 0 0 auto; color: var(--blue-bright); }
.dropdown-panel span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.dropdown-panel small { color: var(--muted); font-weight: 450; }
.mobile-menu-button { display: none; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 12px; background: #eff5fc; color: var(--blue-ink); font-weight: 700; }
.mobile-menu-button svg { width: 22px; height: 22px; }

.hero { position: relative; min-height: 810px; overflow: hidden; background: linear-gradient(120deg, #f8fcff 0%, #fff 48%, #effcf7 100%); }
.hero::after { position: absolute; z-index: 2; right: -4%; bottom: -92px; left: -4%; height: 190px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #fff; content: ""; }
.hero-picture { position: absolute; z-index: 1; inset: 0; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(1.04) contrast(1.02); }
.hero-orb { position: absolute; z-index: 2; filter: blur(1px); opacity: .62; }
.hero-orb-blue { top: -88px; left: -112px; width: 340px; height: 215px; border-radius: 38% 62% 52% 48% / 58% 42% 58% 42%; background: linear-gradient(135deg, #d9efff, #5dacfa); transform: rotate(-22deg); }
.hero-orb-green { top: 36px; right: -96px; width: 235px; height: 225px; border-radius: 57% 43% 36% 64% / 44% 56% 44% 56%; background: linear-gradient(135deg, #b8f3db, #48d497); transform: rotate(9deg); }
.hero-inner { position: relative; z-index: 4; display: flex; min-height: 810px; align-items: center; padding: 108px 0 138px; }
.hero-inner::before { position: absolute; z-index: -1; top: 116px; left: -74px; width: 560px; height: 575px; border-radius: 42% 58% 49% 51% / 58% 41% 59% 42%; background: linear-gradient(150deg, rgba(168,216,255,.58), rgba(199,246,226,.42)); content: ""; transform: rotate(-4deg); }
.hero-inner::after { position: absolute; z-index: -1; top: 156px; left: 454px; width: 12px; height: 12px; border-radius: 50%; background: #2a8bed; box-shadow: 24px 21px 0 -3px #2a8bed, 5px 46px 0 -4px #27b878; content: ""; opacity: .65; }
.login-card { width: min(485px, 100%); padding: 36px 38px 29px; border: 1px solid rgba(255,255,255,.9); border-radius: 31px 31px 31px 13px; background: rgba(255,255,255,.92); box-shadow: 0 30px 80px rgba(30,67,111,.21); backdrop-filter: blur(20px); }
.eyebrow { margin: 0 0 10px; color: var(--blue-bright); font-size: 13px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.login-card h1 { margin: 0 0 25px; color: #202124; font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 58px; letter-spacing: -.025em; }
.login-form, .group-form { display: grid; gap: 13px; }
.field { position: relative; display: flex; min-width: 0; height: 58px; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid #d5dfec; border-radius: 13px; background: rgba(249,251,254,.92); transition: border .16s, box-shadow .16s, background .16s; }
.field:focus-within { border-color: #79aef1; background: #fff; box-shadow: 0 0 0 4px rgba(26,115,232,.11); }
.field > svg { width: 21px; height: 21px; flex: 0 0 auto; color: #243758; }
.field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; }
.field input::placeholder { color: #5f6368; }
.password-toggle { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: transparent; color: #6c7890; cursor: pointer; }
.password-toggle:hover { background: #eef3f9; }
.password-toggle svg { width: 22px; height: 22px; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 1px 0 2px; font-size: 14px; }
.login-options a, .login-secondary a, .login-secondary button { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }
.check { display: inline-flex; align-items: center; gap: 8px; color: #5f6368; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--blue-bright); }
.button { display: inline-flex; min-height: 55px; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border-radius: 13px; font-weight: 700; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(26,115,232,.25); outline-offset: 3px; }
.button svg { width: 21px; height: 21px; }
.button-wide { width: 100%; }
.button-primary { background: linear-gradient(135deg, #1c80f6, #0867df); color: #fff; box-shadow: 0 12px 25px rgba(24,90,188,.22); }
.button-green { background: linear-gradient(135deg, #25ba73, #149954); color: #fff; box-shadow: 0 12px 24px rgba(27,162,96,.18); }
.button:disabled { opacity: .6; cursor: wait; }
.button.is-loading::before { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; content: ""; animation: spin .8s linear infinite; }
.login-divider { display: flex; align-items: center; gap: 17px; margin: 17px 0; color: #5f6368; font-size: 13px; }
.login-divider::before, .login-divider::after { height: 1px; flex: 1; background: #dce3ed; content: ""; }
.login-secondary { margin: 18px 0 0; text-align: center; font-size: 13px; }
.login-secondary button { padding: 4px; background: transparent; cursor: pointer; }
.login-secondary button:hover, .login-secondary button:focus-visible { color: #0758bd; }
.form-error { margin: -2px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff0f1; color: #a12b36; font-size: 13px; }

.section-heading { max-width: 780px; margin-bottom: 58px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .product-copy h2, .practice-card h2, .contact-card h2 { margin: 0; color: var(--blue-ink); font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 58px; letter-spacing: -.025em; }
.section-heading > p:last-child { max-width: 700px; margin: 22px auto 0; color: var(--muted); font-size: 18px; line-height: 28px; }
.contrast-stage { display: grid; align-items: center; grid-template-columns: 1fr 80px 1fr; margin-bottom: 52px; }
.contrast-card { position: relative; min-height: 470px; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 20px 55px rgba(35,63,105,.08); }
.contrast-label { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #edf1f6; color: #5f6368; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contrast-iiigel .contrast-label { background: #dff7ea; color: #117349; }
.contrast-card h3 { margin: 22px 0 8px; color: var(--blue-ink); font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 34px; letter-spacing: -.015em; }
.contrast-card p { margin: 0; color: var(--muted); line-height: 28px; }
.contrast-iiigel img { width: 100%; height: 260px; margin-top: 20px; border-radius: 18px; object-fit: cover; object-position: center top; box-shadow: 0 13px 32px rgba(24,90,188,.14); }
.paper-stack { display: grid; height: 260px; place-items: center; margin-top: 20px; border-radius: 18px; background: linear-gradient(145deg, #f4f6f9, #e9edf3); }
.paper { position: relative; display: flex; width: 185px; height: 225px; flex-direction: column; gap: 16px; padding: 50px 26px 20px; border-radius: 7px; background: #fff; box-shadow: 0 16px 34px rgba(48,61,83,.13); transform: rotate(-4deg); }
.paper::before, .paper::after { position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: #fff; box-shadow: inherit; content: ""; transform: rotate(7deg); }
.paper::after { transform: rotate(13deg); }
.paper span { height: 7px; border-radius: 6px; background: #d9dee6; }
.paper span:nth-child(2) { width: 74%; }.paper span:nth-child(3) { width: 88%; }.paper span:nth-child(4) { width: 62%; }
.paper i { position: absolute; top: 14px; left: 24px; color: #a7afbc; font-style: normal; font-weight: 800; }
.contrast-arrow { display: grid; position: relative; z-index: 3; width: 74px; height: 74px; place-items: center; justify-self: center; border: 8px solid #fff; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 10px 25px rgba(24,90,188,.24); color: #fff; font-size: 32px; }
.comparison-wrap { overflow: hidden; padding: 10px; border: 1px solid #dfe8f4; border-radius: 30px; background: linear-gradient(145deg, #f9fbff, #f4f9f7); box-shadow: 0 22px 60px rgba(35,63,105,.09); }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.comparison-table th, .comparison-table td { padding: 18px 22px; text-align: left; vertical-align: middle; line-height: 1.48; }
.comparison-table thead th { padding-top: 14px; padding-bottom: 12px; color: #5f6368; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.comparison-table thead th:nth-child(2) { color: #7b7180; }
.comparison-table thead th:last-child { color: #10734a; }
.comparison-table tbody th { display: flex; width: 19%; align-items: center; gap: 12px; border-radius: 16px 0 0 16px; background: #fff; color: var(--blue-ink); font-family: var(--font-display); font-weight: 700; }
.comparison-table tbody td { background: #f6f2f4; color: #665d67; }
.comparison-table tbody td:nth-child(2)::before, .comparison-table tbody td:last-child::before { display: inline-grid; width: 21px; height: 21px; margin-right: 10px; place-items: center; border-radius: 50%; content: "–"; font-size: 13px; font-weight: 900; vertical-align: 1px; }
.comparison-table tbody td:nth-child(2)::before { background: #ece3e7; color: #9b6876; }
.comparison-table tbody td:last-child { border-radius: 0 16px 16px 0; background: #e9f8f1; color: #21694f; font-weight: 640; }
.comparison-table tbody td:last-child::before { background: #c9efd9; color: #0b8050; content: "✓"; }
.comparison-topic-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 45% 55% 62% 38% / 46% 42% 58% 54%; background: linear-gradient(145deg, #dcecff, #edf6ff); color: #176dcf; transform: rotate(-4deg); }
.comparison-topic-icon svg { width: 20px; height: 20px; transform: rotate(4deg); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-tile { --tile-color: #1477df; --tile-color-2: #6cbaff; --tile-soft: #e5f2ff; position: relative; display: grid; min-height: 230px; overflow: hidden; align-content: end; grid-template-columns: 1fr auto; gap: 17px 12px; padding: 27px; border: 1px solid rgba(255,255,255,.75); border-radius: 31px 31px 31px 12px; background: linear-gradient(145deg, var(--tile-soft), #fff 92%); box-shadow: 0 16px 40px rgba(27,50,83,.09); isolation: isolate; transition: transform .25s, box-shadow .25s; }
.feature-tile::before { position: absolute; z-index: -1; top: -44px; right: -35px; width: 165px; height: 145px; border-radius: 43% 57% 35% 65% / 53% 38% 62% 47%; background: linear-gradient(135deg, var(--tile-color-2), var(--tile-color)); content: ""; opacity: .18; transform: rotate(13deg); }
.feature-tile::after { position: absolute; z-index: -1; top: 32px; right: 34px; width: 9px; height: 9px; border-radius: 50%; background: var(--tile-color); box-shadow: 17px 19px 0 -2px var(--tile-color), -12px 25px 0 -3px var(--tile-color); content: ""; opacity: .36; }
.feature-tile:hover { box-shadow: 0 24px 50px rgba(27,50,83,.15); transform: translateY(-7px) rotate(-.35deg); }
.feature-icon { position: relative; display: grid; width: 84px; height: 78px; grid-column: 1 / -1; place-items: center; border-radius: 44% 56% 62% 38% / 48% 39% 61% 52%; background: linear-gradient(145deg, var(--tile-color-2), var(--tile-color)); box-shadow: 0 13px 25px color-mix(in srgb, var(--tile-color), transparent 73%); color: #fff; transform: rotate(-4deg); }
.feature-icon::after { position: absolute; right: -12px; bottom: 2px; width: 23px; height: 23px; border: 5px solid rgba(255,255,255,.78); border-radius: 50%; content: ""; }
.feature-icon svg { width: 40px; height: 40px; stroke-width: 1.9; transform: rotate(4deg); }
.feature-tile > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.feature-tile strong { color: var(--blue-ink); font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 34px; letter-spacing: -.015em; }
.feature-tile small { color: #5f6368; font-size: 14px; font-weight: 500; line-height: 1.4; }
.tile-arrow { width: 24px; height: 24px; color: var(--tile-color); transition: transform .2s; }
.feature-tile:hover .tile-arrow { transform: translateX(4px); }
.tone-green { --tile-color: #139762; --tile-color-2: #69dca8; --tile-soft: #dff8eb; }.tone-yellow { --tile-color: #df9400; --tile-color-2: #ffd45f; --tile-soft: #fff4ce; }.tone-cyan { --tile-color: #0f91a6; --tile-color-2: #71d9e6; --tile-soft: #dcf7fa; }.tone-purple { --tile-color: #7450dd; --tile-color-2: #ad91ff; --tile-soft: #eee7ff; }.tone-red { --tile-color: #c04754; --tile-color-2: #f58b94; --tile-soft: #fce6e8; }

.product-section { --section-accent: #247ee6; --section-accent-2: #7fbdff; --section-bg: #edf6ff; overflow: hidden; background: linear-gradient(145deg, var(--section-bg), #fff 64%); isolation: isolate; }
.product-section::before { position: absolute; z-index: -1; top: -115px; right: -80px; width: 390px; height: 330px; border-radius: 43% 57% 35% 65% / 53% 38% 62% 47%; background: linear-gradient(135deg, var(--section-accent-2), var(--section-accent)); content: ""; opacity: .12; transform: rotate(16deg); }
.product-section::after { position: absolute; z-index: -1; bottom: 12%; left: 3%; width: 13px; height: 13px; border-radius: 50%; background: var(--section-accent); box-shadow: 27px 19px 0 -3px var(--section-accent), 11px 43px 0 -5px var(--section-accent); content: ""; opacity: .25; }
.theme-learning { --section-accent: #247ee6; --section-accent-2: #7fbdff; --section-bg: #edf6ff; }
.theme-feedback { --section-accent: #159966; --section-accent-2: #74dcb0; --section-bg: #e8f8ef; }
.theme-tests { --section-accent: #df9300; --section-accent-2: #ffd86f; --section-bg: #fff7dc; }
.theme-progress { --section-accent: #1091a5; --section-accent-2: #77dae6; --section-bg: #e7f9fb; }
.theme-game { --section-accent: #7550de; --section-accent-2: #b49aff; --section-bg: #f1ecff; }
.theme-collaboration { --section-accent: #c14855; --section-accent-2: #f3929b; --section-bg: #fff0f1; }
.product-layout { display: grid; min-height: 0; align-items: center; grid-template-columns: minmax(360px, .82fr) minmax(0, 1.35fr); gap: clamp(60px, 8vw, 130px); }
.product-layout.reverse { grid-template-columns: minmax(0, 1.35fr) minmax(360px, .82fr); }
.product-layout.reverse .product-copy { order: 2; }
.product-layout.reverse .media-composition, .product-layout.reverse .help-story, .product-layout.reverse .showcase-gallery { order: 1; }
.product-copy { position: relative; z-index: 3; }
.section-number { display: block; margin-bottom: -7px; color: color-mix(in srgb, var(--section-accent), transparent 84%); font-family: var(--font-display); font-size: 88px; font-weight: 700; line-height: 1; letter-spacing: -.055em; }
.product-section .eyebrow { color: var(--section-accent); }
.product-copy h2 { font-size: 48px; }
.product-copy .lead { margin: 24px 0; color: var(--muted); font-size: 18px; line-height: 28px; }
.check-list { display: grid; gap: 13px; margin: 27px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; color: #5f6368; line-height: 28px; }
.check-list li::before { position: absolute; top: 2px; left: 0; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 47% 53% 61% 39% / 44% 42% 58% 56%; background: color-mix(in srgb, var(--section-accent), white 78%); color: var(--section-accent); content: "✓"; font-size: 13px; font-weight: 900; transform: rotate(-5deg); }
.section-note { margin: 24px 0 0; padding: 18px 20px; border-left: 4px solid var(--section-accent); border-radius: 0 18px 18px 0; background: color-mix(in srgb, var(--section-accent), white 91%); color: #5f6368; line-height: 28px; }
.fine-print { padding: 14px 16px; border-left: 3px solid var(--section-accent); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--section-accent), white 91%); color: #5f6368; font-size: 13px; line-height: 1.5; }
.media-composition { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 20px 8px 6px; }
.media-frame { display: flex; min-width: 0; overflow: hidden; flex-direction: column; margin: 0; border: 1px solid color-mix(in srgb, var(--section-accent), white 73%); border-radius: 25px 25px 25px 10px; background: #fff; box-shadow: 0 20px 48px color-mix(in srgb, var(--section-accent), transparent 84%); }
.media-frame img { display: block; width: 100%; height: auto; flex: 0 0 auto; aspect-ratio: 16 / 10; border-radius: 24px 24px 0 0; object-fit: cover; object-position: center top; background: #f2f5f9; }
.media-frame figcaption { display: flex; align-items: center; gap: 9px; padding: 13px 17px; background: #fff; color: #5f6368; font-size: 13px; font-weight: 700; }
.media-frame figcaption span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--blue-bright); color: #fff; }
.media-frame img.is-zoomable, .contrast-iiigel img.is-zoomable, .gallery-main-image.is-zoomable { cursor: zoom-in; transition: filter .18s, transform .18s; }
.media-frame img.is-zoomable:hover, .contrast-iiigel img.is-zoomable:hover, .gallery-main-image.is-zoomable:hover { filter: brightness(.96); transform: scale(1.012); }
.media-frame img.is-zoomable:focus-visible, .contrast-iiigel img.is-zoomable:focus-visible, .gallery-main-image.is-zoomable:focus-visible { outline: 4px solid rgba(26,115,232,.48); outline-offset: -5px; }
.media-composition .primary { z-index: 1; grid-column: 1 / -1; margin: 0 24px 24px 0; }
.media-composition .primary img { aspect-ratio: 16 / 8.8; }
.media-composition .floating { z-index: 2; margin-top: -72px; }
.media-composition .floating:nth-of-type(2) { transform: rotate(-1.2deg); }
.media-composition .floating:nth-of-type(3) { transform: translateY(16px) rotate(1.2deg); }
.media-feedback .floating:nth-of-type(n+4) { margin-top: 0; transform: none; }
.media-learning .floating, .media-tests .floating, .media-progress .floating { width: 68%; grid-column: 1 / -1; justify-self: end; }
.media-learning .floating, .media-progress .floating { transform: translateX(10px) rotate(1.3deg); }
.media-tests .floating { justify-self: start; transform: translateX(-8px) rotate(-1.2deg); }
.media-game { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.media-game .primary { grid-column: 1 / -1; }
.media-game .floating { grid-column: span 2; margin-top: -58px; }
.media-game .floating:nth-of-type(3) { transform: translateY(18px) rotate(1.1deg); }
.media-game .floating:nth-of-type(4) { transform: rotate(-1deg); }
.media-game .floating.skin { grid-column: 2 / span 4; margin-top: 0; transform: rotate(.6deg); }

.showcase-gallery { position: relative; min-width: 0; padding: 22px 18px 16px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--section-accent), white 70%); border-radius: 36px 36px 36px 14px; background: linear-gradient(145deg, rgba(255,255,255,.96), color-mix(in srgb, var(--section-accent), white 94%)); box-shadow: 0 24px 60px color-mix(in srgb, var(--section-accent), transparent 85%); isolation: isolate; }
.showcase-gallery::before, .showcase-gallery::after { position: absolute; z-index: -1; border-radius: 48% 52% 62% 38% / 44% 42% 58% 56%; background: color-mix(in srgb, var(--section-accent), white 80%); content: ""; opacity: .55; pointer-events: none; }
.showcase-gallery::before { top: -90px; right: -75px; width: 220px; height: 175px; transform: rotate(18deg); }
.showcase-gallery::after { bottom: -85px; left: -60px; width: 190px; height: 145px; transform: rotate(-15deg); }
.gallery-stage { position: relative; z-index: 1; display: grid; overflow: hidden; grid-template-rows: clamp(310px, 33vw, 520px) auto; margin: 0; place-items: center; border: 1px solid rgba(255,255,255,.9); border-radius: 28px 28px 28px 10px; background: #f7f9fc; box-shadow: 0 16px 36px rgba(35,63,105,.13); isolation: isolate; }
.gallery-backdrop { position: absolute; z-index: -1; width: 112%; height: 112%; max-width: none; object-fit: cover; filter: blur(24px) saturate(.9); opacity: .22; transform: scale(1.08); }
.gallery-main-image { display: block; width: 100%; height: 100%; min-height: 0; grid-row: 1; padding: 2px; object-fit: contain; transition: filter .22s, transform .3s ease; }
.gallery-main-image.is-changing { animation: gallery-image-in .34s ease both; }
.gallery-stage:hover .gallery-main-image { transform: scale(1.012); }
.gallery-stage figcaption { position: relative; z-index: 2; display: flex; width: 100%; align-self: stretch; align-items: center; justify-content: space-between; gap: 18px; grid-row: 2; padding: 12px 15px; border-top: 1px solid rgba(35,82,147,.1); background: rgba(255,255,255,.94); color: var(--blue-ink); font-family: var(--font-display); font-size: 13px; font-weight: 700; backdrop-filter: blur(14px); }
.gallery-stage figcaption small { flex: 0 0 auto; color: var(--section-accent); font: 700 12px/1 var(--font-display); }
.gallery-rail { position: relative; z-index: 3; display: grid; align-items: center; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 7px; margin-top: 14px; }
.gallery-arrow { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid color-mix(in srgb, var(--section-accent), white 72%); border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 8px 20px rgba(35,63,105,.12); color: var(--section-accent); cursor: pointer; transition: color .18s, transform .18s, box-shadow .18s; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { color: #fff; background: var(--section-accent); box-shadow: 0 11px 25px color-mix(in srgb, var(--section-accent), transparent 72%); transform: scale(1.08); }
.gallery-arrow:disabled { visibility: hidden; opacity: 0; cursor: default; transform: none; }
.gallery-arrow svg { width: 21px; height: 21px; }
.gallery-arrow.previous svg { transform: rotate(180deg); }
.gallery-thumbnails { display: flex; min-width: 0; align-items: center; overflow-x: auto; padding: 15px 10px 13px; scroll-behavior: smooth; scrollbar-width: none; }
.gallery-thumbnails::-webkit-scrollbar { display: none; }
.gallery-thumbnails [data-gallery-thumb] { position: relative; width: clamp(98px, 27%, 148px); min-width: clamp(98px, 27%, 148px); overflow: hidden; aspect-ratio: 4 / 3; margin-left: -24px; padding: 0; border: 3px solid #fff; border-radius: 17px 17px 17px 7px; background: #fff; box-shadow: 0 9px 22px rgba(35,63,105,.16); cursor: pointer; transform: rotate(-2deg) translateY(3px); transition: border-color .2s, box-shadow .22s, filter .2s, transform .22s; }
.gallery-thumbnails [data-gallery-thumb]:first-child { margin-left: 0; }
.gallery-thumbnails [data-gallery-thumb]:nth-child(even) { transform: rotate(1.8deg) translateY(-1px); }
.gallery-thumbnails [data-gallery-thumb]:nth-child(3n) { transform: rotate(-.6deg) translateY(4px); }
.gallery-thumbnails [data-gallery-thumb] img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) brightness(.98); transition: filter .2s, transform .3s; }
.gallery-thumbnails [data-gallery-thumb]:hover, .gallery-thumbnails [data-gallery-thumb]:focus-visible { z-index: 5; border-color: color-mix(in srgb, var(--section-accent), white 24%); box-shadow: 0 16px 30px color-mix(in srgb, var(--section-accent), transparent 73%); transform: translateY(-10px) rotate(0) scale(1.075); }
.gallery-thumbnails [data-gallery-thumb]:hover img, .gallery-thumbnails [data-gallery-thumb]:focus-visible img { filter: saturate(1.06) brightness(1.02); transform: scale(1.04); }
.gallery-thumbnails [data-gallery-thumb][aria-pressed="true"] { z-index: 4; border-color: var(--section-accent); box-shadow: 0 14px 30px color-mix(in srgb, var(--section-accent), transparent 67%); transform: translateY(-7px) rotate(0) scale(1.055); }
.gallery-thumbnails [data-gallery-thumb][aria-pressed="true"] img { filter: none; }
.gallery-dots { position: relative; z-index: 3; display: flex; min-height: 11px; justify-content: center; gap: 7px; margin-top: 3px; }
.gallery-dots span { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--section-accent), white 70%); transition: width .2s, background .2s; }
.gallery-dots span.is-active { width: 25px; border-radius: 6px; background: var(--section-accent); }
.gallery-context-message { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto; gap: 5px 18px; margin: 13px 7px 3px; padding: 17px 18px; border: 1px solid color-mix(in srgb, var(--section-accent), white 72%); border-radius: 18px 18px 18px 7px; background: rgba(255,255,255,.9); box-shadow: 0 10px 26px rgba(35,63,105,.1); }
.gallery-context-message small { color: #9a5960; font-weight: 700; }
.gallery-context-message strong { color: var(--blue-ink); line-height: 1.45; }
.gallery-context-message button { grid-row: 1 / span 2; grid-column: 2; align-self: center; padding: 10px 14px; border-radius: 10px; background: var(--section-accent); color: #fff; font-weight: 700; transition: filter .18s, transform .18s; }
.gallery-context-message button:hover, .gallery-context-message button:focus-visible { filter: brightness(.92); transform: translateY(-2px); }
@keyframes gallery-image-in { from { opacity: .2; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }

.help-story { display: grid; min-height: 540px; align-content: center; grid-template-columns: minmax(0, 1fr) 55px minmax(280px, .8fr); gap: 0; }
.help-story .media-frame { align-self: center; transform: rotate(-2deg); }
.story-connector { align-self: center; color: #f07173; font-size: 31px; font-weight: 900; letter-spacing: 4px; text-align: center; }
.help-notification { position: relative; align-self: center; padding: 28px; border: 1px solid #ffd4d5; border-radius: 23px; background: #fff; box-shadow: var(--shadow); transform: rotate(2deg); }
.help-notification div { display: flex; flex-direction: column; gap: 10px; }
.help-notification small { color: #9a5960; font-weight: 700; }
.help-notification strong { color: var(--blue-ink); font-size: 19px; line-height: 1.45; }
.help-notification button { align-self: flex-start; margin-top: 8px; padding: 11px 15px; border-radius: 10px; background: var(--blue-bright); color: #fff; font-weight: 700; }
.pulse-dot { position: absolute; top: 17px; right: 18px; width: 10px; height: 10px; border-radius: 50%; background: #ef676c; box-shadow: 0 0 0 7px rgba(239,103,108,.14); }

.teaching-models { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f5f9ff 47%, #fff 100%); isolation: isolate; }
.teaching-models::before, .teaching-models::after { position: absolute; z-index: -1; border-radius: 43% 57% 61% 39% / 54% 38% 62% 46%; content: ""; pointer-events: none; }
.teaching-models::before { top: 120px; left: -190px; width: 420px; height: 330px; background: rgba(96,179,255,.12); transform: rotate(18deg); }
.teaching-models::after { right: -180px; bottom: 80px; width: 390px; height: 360px; background: rgba(65,202,148,.12); transform: rotate(-19deg); }
.teaching-models .section-heading { position: relative; z-index: 1; }
.teaching-spectrum { position: relative; z-index: 1; display: grid; max-width: 920px; align-items: center; grid-template-columns: auto minmax(34px, 1fr) auto minmax(34px, 1fr) auto; gap: 15px; margin: -12px auto 38px; padding: 15px 22px; border: 1px solid #dce8f7; border-radius: 28px 28px 28px 9px; background: rgba(255,255,255,.8); box-shadow: 0 12px 35px rgba(35,63,105,.07); color: var(--blue-ink); font-family: var(--font-display); font-size: 13px; font-weight: 700; backdrop-filter: blur(12px); }
.teaching-spectrum span { white-space: nowrap; }
.teaching-spectrum i { position: relative; height: 3px; border-radius: 999px; background: linear-gradient(90deg, #5faeff, #2fc486); }
.teaching-spectrum i::after { position: absolute; top: 50%; right: -1px; width: 9px; height: 9px; border-radius: 50%; background: #2fc486; content: ""; transform: translateY(-50%); }
.teaching-table-wrap { position: relative; z-index: 1; }
.teaching-table { width: 100%; border-collapse: separate; border-spacing: 0 14px; table-layout: fixed; }
.teaching-table thead th { padding: 0 22px 4px; color: #6c7890; font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.teaching-table thead th:first-child { width: 28%; }
.teaching-table thead th:nth-child(2) { width: 43%; }
.teaching-table thead th:last-child { width: 29%; }
.teaching-table tbody tr { --model-color: #247ee6; --model-color-soft: #8bc4ff; }
.teaching-table tbody th, .teaching-table tbody td { padding: 25px 24px; border-top: 1px solid color-mix(in srgb, var(--model-color), white 76%); border-bottom: 1px solid color-mix(in srgb, var(--model-color), white 76%); background: rgba(255,255,255,.95); vertical-align: top; transition: border-color .2s, box-shadow .2s, transform .2s; }
.teaching-table tbody th { border-left: 1px solid color-mix(in srgb, var(--model-color), white 76%); border-radius: 28px 0 0 10px; text-align: left; box-shadow: -8px 13px 30px rgba(35,63,105,.055); }
.teaching-table tbody td:last-child { border-right: 1px solid color-mix(in srgb, var(--model-color), white 76%); border-radius: 0 28px 10px 0; background: color-mix(in srgb, var(--model-color), white 95%); box-shadow: 9px 13px 30px rgba(35,63,105,.055); }
.teaching-table tbody tr:hover th, .teaching-table tbody tr:hover td { border-color: color-mix(in srgb, var(--model-color), white 57%); box-shadow: 0 18px 38px color-mix(in srgb, var(--model-color), transparent 90%); transform: translateY(-2px); }
.teaching-table td { color: var(--muted); font-size: 15px; line-height: 1.68; }
.teaching-table td p { margin: 0; }
.teaching-table td p + p { margin-top: 12px; }
.teaching-table td:last-child { color: #43536a; }
.model-heading { display: grid; align-items: center; grid-template-columns: 66px minmax(0, 1fr); gap: 13px 15px; }
.model-number { grid-column: 1 / -1; color: color-mix(in srgb, var(--model-color), white 42%); font-family: var(--font-display); font-size: 31px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.model-icon { display: grid; width: 62px; height: 58px; place-items: center; border-radius: 43% 57% 62% 38% / 54% 41% 59% 46%; background: linear-gradient(145deg, var(--model-color), var(--model-color-soft)); box-shadow: 0 11px 23px color-mix(in srgb, var(--model-color), transparent 73%); color: #fff; transform: rotate(-4deg); }
.model-icon svg { width: 29px; height: 29px; transform: rotate(4deg); }
.model-heading strong { color: var(--blue-ink); font-family: var(--font-display); font-size: 19px; font-weight: 750; line-height: 1.28; }
.teaching-table .model-blue { --model-color: #247ee6; --model-color-soft: #8bc4ff; }
.teaching-table .model-green { --model-color: #159966; --model-color-soft: #7cddb4; }
.teaching-table .model-yellow { --model-color: #d99400; --model-color-soft: #ffd675; }
.teaching-table .model-red { --model-color: #c14855; --model-color-soft: #f2919a; }
.teaching-table .model-purple { --model-color: #7550de; --model-color-soft: #b6a0ff; }
.teaching-table .model-cyan { --model-color: #1091a5; --model-color-soft: #7bdce6; }
.teaching-table .model-teal { --model-color: #07877f; --model-color-soft: #70d8c8; }
.teaching-table .model-orange { --model-color: #d66a24; --model-color-soft: #ffb578; }
.teaching-table .model-pink { --model-color: #c94683; --model-color-soft: #f49cc4; }

.practice { padding-top: 90px; background: #f7f9fd; }
.practice-card { display: grid; align-items: center; grid-template-columns: 180px 1fr; gap: 45px; padding: 55px; border-radius: 34px; background: #fff; box-shadow: 0 18px 55px rgba(35,63,105,.08); }
.practice-mark { display: grid; width: 155px; height: 155px; place-items: center; border-radius: 45% 55% 58% 42% / 42% 44% 56% 58%; background: linear-gradient(145deg, var(--blue-bright), #54b9ff); color: #fff; font-size: 66px; font-weight: 900; letter-spacing: 0; transform: rotate(-5deg); }
.practice-card h2 { font-size: 48px; }
.practice-card > div:last-child > p:last-child { max-width: 900px; margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 28px; }
.contact { padding: 80px 0 100px; background: #f7f9fd; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 56px 64px; overflow: hidden; border-radius: 34px; background: linear-gradient(135deg, #1359bd, #1687e5 62%, #18aa71); box-shadow: 0 24px 65px rgba(24,90,188,.25); color: #fff; }
.contact-card h2 { max-width: 780px; color: #fff; font-size: 48px; }
.contact-card p:last-child { margin: 16px 0 0; color: rgba(255,255,255,.82); font-size: 17px; }
.contact-card .eyebrow { color: #d6f5ff; }
.contact-actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 12px; }
.button-light { background: #fff; color: var(--blue); box-shadow: 0 12px 30px rgba(7,45,97,.2); }
.button-ghost { border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: #fff; }
.site-footer { padding: 45px 0; border-top: 1px solid #e6ebf2; background: #fff; }
.footer-inner { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 35px; }
.footer-inner .brand img { width: 44px; }
.footer-inner .brand-wordmark { font-size: 23px; }
.footer-inner p { color: var(--muted); font-size: 14px; }
.footer-inner nav { display: flex; gap: 24px; color: #202124; font-size: 14px; font-weight: 650; }

.group-dialog, .contact-dialog, .registration-dialog { width: min(620px, calc(100vw - 30px)); max-height: min(760px, calc(100vh - 30px)); padding: 32px; border: 0; border-radius: 25px; box-shadow: 0 30px 90px rgba(14,31,58,.3); }
.group-dialog::backdrop, .contact-dialog::backdrop, .registration-dialog::backdrop { background: rgba(16,29,52,.56); backdrop-filter: blur(7px); }
.group-dialog h2, .contact-dialog h2, .registration-dialog h2 { margin: 0 0 22px; color: var(--blue-ink); font-size: 34px; }
.dialog-close { position: absolute; top: 20px; right: 20px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #eef3f9; cursor: pointer; }
.dialog-close svg { width: 22px; height: 22px; }
.group-users { display: grid; max-height: 310px; grid-template-columns: repeat(2, 1fr); gap: 9px; overflow: auto; }
.group-users button { display: flex; align-items: center; gap: 11px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; }
.group-users button:hover { border-color: #8fb9ec; background: #f4f8fe; }
.group-users img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.group-empty { color: var(--muted); }
.dialog-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #7a879a; font-size: 13px; }
.dialog-divider::before, .dialog-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.group-dialog form { display: grid; gap: 12px; }
.contact-dialog, .registration-dialog { overflow-x: hidden; overflow-y: auto; }
.contact-dialog-intro { margin: -8px 52px 24px 0; color: var(--muted); line-height: 1.6; }
.contact-form { display: grid; gap: 15px; }
.contact-form label:not(.contact-honeypot) { display: grid; gap: 7px; color: var(--blue-ink); font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d5dfec; border-radius: 13px; outline: 0; background: #f9fbfe; color: #202124; font: 400 16px/1.5 var(--font-body); transition: border .16s, box-shadow .16s, background .16s; }
.contact-form input { height: 52px; padding: 0 14px; }
.contact-form textarea { min-height: 150px; padding: 12px 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #79aef1; background: #fff; box-shadow: 0 0 0 4px rgba(26,115,232,.11); }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-status { min-height: 24px; margin: 0; color: #a1262f; font-size: 14px; line-height: 1.5; }
.contact-status.is-success { color: #087b48; }
.registration-dialog { width: min(760px, calc(100vw - 30px)); }
.registration-dialog h2 { padding-right: 52px; }
.registration-intro { margin: -8px 52px 24px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.registration-form { display: grid; gap: 18px; }
.registration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.registration-field { display: grid; min-width: 0; gap: 7px; color: var(--blue-ink); font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.registration-field-wide { grid-column: 1 / -1; }
.registration-field input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #d5dfec; border-radius: 13px; outline: 0; background: #f9fbfe; color: #202124; font: 400 16px/1.5 var(--font-body); transition: border .16s, box-shadow .16s, background .16s; }
.registration-field input:focus { border-color: #79aef1; background: #fff; box-shadow: 0 0 0 4px rgba(26,115,232,.11); }
.registration-captcha { display: grid; align-items: end; grid-template-columns: minmax(0, 1fr) 150px; gap: 15px; padding: 15px; border: 1px solid #dfe7f2; border-radius: 16px; background: #f7fafe; }
.registration-label { display: block; margin-bottom: 7px; color: var(--blue-ink); font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.registration-captcha-task { display: flex; align-items: center; gap: 9px; }
.registration-captcha-task img { width: 200px; height: 50px; border: 1px solid #d5dfec; border-radius: 10px; background: #f0f0f0; object-fit: cover; }
.registration-captcha-task button { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: #e8f1fd; color: var(--blue-bright); font-size: 25px; cursor: pointer; }
.registration-captcha-task button:hover, .registration-captcha-task button:focus-visible { background: #d8e9ff; }
.registration-status { min-height: 24px; margin: -2px 0 0; color: #a1262f; font-size: 14px; line-height: 1.5; }
.registration-status.is-success { padding: 11px 13px; border-radius: 11px; background: #e9f8f0; color: #087b48; }
.contact-toast { position: fixed; z-index: 2100; right: 24px; bottom: 24px; width: min(430px, calc(100vw - 48px)); padding: 16px 20px; border: 1px solid #b9e7d1; border-radius: 16px; background: #f0fbf5; box-shadow: 0 18px 48px rgba(11,65,43,.18); color: #087b48; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.45; opacity: 0; transform: translateY(18px); transition: opacity .22s ease, transform .22s ease; }
.contact-toast.is-visible { opacity: 1; transform: translateY(0); }
.contact-toast[hidden] { display: none; }

.image-lightbox { width: fit-content; max-width: calc(100vw - 48px); height: fit-content; max-height: calc(100vh - 48px); overflow: visible; padding: 0; border: 0; background: transparent; box-shadow: none; color: #202124; }
.image-lightbox::backdrop { background: rgba(20,29,43,.3); -webkit-backdrop-filter: blur(20px) saturate(.8); backdrop-filter: blur(20px) saturate(.8); }
.image-lightbox figure { display: grid; width: fit-content; max-width: calc(100vw - 48px); overflow: hidden; grid-template-rows: auto auto; margin: 0; border-radius: 22px; background: #fff; box-shadow: 0 28px 80px rgba(11,24,42,.28); }
.image-lightbox-stage { position: relative; display: grid; min-width: 0; min-height: 0; overflow: hidden; place-items: center; background: transparent; }
.image-lightbox-stage img { display: block; width: auto; height: auto; max-width: min(calc(100vw - 48px), 1600px); max-height: calc(100vh - 118px); object-fit: contain; }
.image-lightbox-nav { position: absolute; z-index: 3; top: 50%; display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(32,33,36,.13); border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 9px 26px rgba(11,24,42,.2); color: var(--blue-ink); cursor: pointer; transform: translateY(-50%); transition: background .18s, color .18s, transform .18s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.image-lightbox-nav[hidden] { display: none; }
.image-lightbox-nav.previous { left: 16px; }
.image-lightbox-nav.next { right: 16px; }
.image-lightbox-nav.previous svg { transform: rotate(180deg); }
.image-lightbox-nav svg { width: 25px; height: 25px; }
.image-lightbox-nav:hover, .image-lightbox-nav:focus-visible { background: var(--blue-bright); color: #fff; transform: translateY(-50%) scale(1.08); }
.image-lightbox-nav:focus-visible { outline: 3px solid #8dc1ff; outline-offset: 3px; }
.image-lightbox figcaption { width: 100%; min-height: 62px; box-sizing: border-box; padding: 17px 76px 17px 24px; border-top: 1px solid #e6eaf0; background: #fff; color: #202124; font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 28px; }
.image-lightbox figcaption:empty { display: none; }
.image-lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(32,33,36,.12); border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(11,24,42,.18); color: #202124; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.image-lightbox-close:hover { background: #eaf3ff; color: #185abc; }
.image-lightbox-close:focus-visible { outline: 3px solid #8dc1ff; outline-offset: 3px; }
.image-lightbox-close svg { width: 24px; height: 24px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
    :root { --shell: min(100% - 42px, 1100px); }
    .main-navigation { gap: 26px; }
    .product-layout, .product-layout.reverse { grid-template-columns: minmax(320px, .82fr) minmax(0, 1.1fr); gap: 52px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .help-story { grid-template-columns: 1fr; gap: 20px; }
    .story-connector { transform: rotate(90deg); }
    .help-notification { width: 80%; justify-self: end; }
}

@media (max-width: 920px) {
    :root { --shell: min(100% - 32px, 780px); }
    .section { padding: 88px 0; }
    .mobile-menu-button { display: inline-flex; }
    .main-navigation { position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; display: none; align-items: stretch; flex-direction: column; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
    .main-navigation.is-open { display: flex; }
    .main-navigation > a, .nav-dropdown > button { width: 100%; padding: 13px; text-align: left; }
    .dropdown-panel { position: static; width: 100%; grid-template-columns: 1fr; margin-top: 4px; padding: 7px; border: 0; border-radius: 15px; background: #f4f7fb; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
    .dropdown-panel.is-open { display: grid; }
    .hero { min-height: 960px; }
    .hero-picture img { object-position: 62% top; opacity: .93; }
    .hero-inner { min-height: 960px; align-items: flex-end; padding-bottom: 125px; }
    .login-card { width: min(500px, 100%); }
    .contrast-stage { grid-template-columns: 1fr; gap: 0; }
    .contrast-arrow { margin: -12px 0; transform: rotate(90deg); }
    .contrast-card { min-height: auto; }
    .product-layout, .product-layout.reverse { min-height: 0; grid-template-columns: 1fr; gap: 50px; }
    .product-layout.reverse .product-copy, .product-layout.reverse .media-composition, .product-layout.reverse .help-story, .product-layout.reverse .showcase-gallery { order: initial; }
    .teaching-spectrum { margin-bottom: 28px; }
    .teaching-table, .teaching-table tbody { display: block; }
    .teaching-table { border-spacing: 0; }
    .teaching-table thead { display: none; }
    .teaching-table tbody { display: grid; gap: 19px; }
    .teaching-table tbody tr { position: relative; display: block; overflow: hidden; border: 1px solid color-mix(in srgb, var(--model-color), white 72%); border-radius: 27px 27px 27px 10px; background: #fff; box-shadow: 0 14px 36px rgba(35,63,105,.08); }
    .teaching-table tbody tr::before { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 6px; background: linear-gradient(180deg, var(--model-color), var(--model-color-soft)); content: ""; }
    .teaching-table tbody th, .teaching-table tbody td, .teaching-table tbody td:last-child { display: block; width: auto; padding: 22px 25px; border: 0; border-radius: 0; box-shadow: none; transform: none; }
    .teaching-table tbody th { background: color-mix(in srgb, var(--model-color), white 96%); }
    .teaching-table tbody td { border-top: 1px solid #e8eef6; }
    .teaching-table tbody td:last-child { background: color-mix(in srgb, var(--model-color), white 95%); }
    .teaching-table tbody tr:hover th, .teaching-table tbody tr:hover td { border-color: #e8eef6; box-shadow: none; transform: none; }
    .teaching-table tbody td::before { display: block; margin-bottom: 8px; color: var(--model-color); content: attr(data-label); font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
    .model-heading { grid-template-columns: 62px minmax(0, 1fr); }
    .model-number { position: absolute; top: 21px; right: 24px; grid-column: auto; opacity: .68; }
    .practice-card { grid-template-columns: 120px 1fr; gap: 28px; padding: 38px; }
    .practice-mark { width: 115px; height: 115px; border-radius: 35px; font-size: 48px; }
    .contact-card { align-items: flex-start; flex-direction: column; padding: 44px; }
    .contact-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-inner .brand, .footer-inner nav { justify-content: center; }
}

@media (max-width: 650px) {
    :root { --shell: calc(100% - 24px); }
    html { scroll-padding-top: 74px; }
    .site-header { height: 70px; background: rgba(255,255,255,.9); backdrop-filter: blur(15px); }
    .brand { gap: 6px; }
    .brand img { width: 45px; }
    .brand-wordmark { font-size: 22px; }
    .mobile-menu-button span { display: none; }
    .hero, .hero-inner { min-height: 920px; }
    .hero-picture img { object-position: 68% top; }
    .hero::before { position: absolute; z-index: 2; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,.12) 35%, rgba(245,251,255,.9) 63%, #f7fbff 100%); content: ""; }
    .hero-inner { align-items: flex-end; padding: 260px 0 110px; }
    .login-card { padding: 27px 20px 23px; border-radius: 22px; }
    .login-card h1 { font-size: 42px; }
    .field { height: 54px; }
    .login-options { align-items: flex-start; flex-direction: column; gap: 9px; }
    .section { padding: 74px 0; }
    .section-heading { margin-bottom: 38px; }
    .section-heading h2, .product-copy h2, .practice-card h2, .contact-card h2 { font-size: 36px; }
    .section-heading > p:last-child, .product-copy .lead { font-size: 17px; }
    .teaching-models::before { left: -260px; }
    .teaching-models::after { right: -270px; }
    .teaching-spectrum { grid-template-columns: 1fr; gap: 8px; padding: 15px; text-align: center; }
    .teaching-spectrum i { width: 3px; height: 17px; justify-self: center; background: linear-gradient(180deg, #5faeff, #2fc486); }
    .teaching-spectrum i::after { top: auto; right: 50%; bottom: -1px; transform: translateX(50%); }
    .teaching-table tbody { gap: 15px; }
    .teaching-table tbody tr { border-radius: 22px 22px 22px 8px; }
    .teaching-table tbody th, .teaching-table tbody td, .teaching-table tbody td:last-child { padding: 19px 18px 19px 22px; }
    .model-heading { grid-template-columns: 54px minmax(0, 1fr); gap: 10px 12px; padding-right: 35px; }
    .model-icon { width: 52px; height: 49px; }
    .model-icon svg { width: 25px; height: 25px; }
    .model-heading strong { font-size: 17px; }
    .model-number { top: 18px; right: 17px; font-size: 25px; }
    .teaching-table td { font-size: 14px; }
    .contrast-card { padding: 20px; border-radius: 21px; }
    .contrast-iiigel img, .paper-stack { height: 205px; }
    .comparison-wrap { border: 0; box-shadow: none; background: transparent; overflow: visible; }
    .comparison-table, .comparison-table tbody { display: block; }
    .comparison-table thead { display: none; }
    .comparison-table tr { display: grid; gap: 8px; margin-bottom: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(35,63,105,.06); }
    .comparison-table th, .comparison-table td { display: block; width: auto !important; padding: 0; border: 0; }
    .comparison-table tbody th { display: flex; margin-bottom: 7px; background: transparent; font-size: 19px; }
    .comparison-table tbody td { padding: 13px 14px; border-radius: 12px; }
    .comparison-table tbody td:nth-child(2)::before, .comparison-table tbody td:last-child::before { display: block; width: auto; height: auto; margin: 0 0 4px; background: transparent; color: #8690a2; content: attr(data-label); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-tile { min-height: 205px; padding: 23px; }
    .feature-icon { width: 72px; height: 68px; }
    .feature-icon svg { width: 34px; height: 34px; }
    .section-number { font-size: 72px; }
    .media-composition { grid-template-columns: 1fr; gap: 14px; }
    .media-frame { border-radius: 16px; }
    .media-frame img { border-radius: 15px 15px 0 0; }
    .media-composition .primary { grid-column: auto; }
    .media-game { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .media-game .primary, .media-game .floating.bottom, .media-game .floating.skin { grid-column: 1 / -1; }
    .media-game .floating { grid-column: auto; }
    .media-feedback .floating:nth-of-type(3), .media-game .floating.bottom { margin-top: 0; }
    .media-frame figcaption { padding: 9px 12px; font-size: 11px; }
    .showcase-gallery { padding: 12px 10px 11px; border-radius: 24px 24px 24px 9px; }
    .gallery-stage { grid-template-rows: clamp(230px, 72vw, 360px) auto; border-radius: 18px 18px 18px 7px; }
    .gallery-stage figcaption { gap: 8px; padding: 9px 11px; font-size: 11px; }
    .gallery-rail { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 3px; margin-top: 7px; }
    .gallery-arrow { width: 36px; height: 36px; }
    .gallery-arrow svg { width: 18px; height: 18px; }
    .gallery-thumbnails { padding: 13px 6px 11px; }
    .gallery-thumbnails [data-gallery-thumb] { width: 96px; min-width: 96px; margin-left: -20px; border-width: 2px; border-radius: 12px 12px 12px 5px; }
    .gallery-context-message { grid-template-columns: 1fr; margin: 8px 2px 2px; padding: 14px; }
    .gallery-context-message button { grid-row: auto; grid-column: auto; justify-self: start; }
    .image-lightbox { max-width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
    .image-lightbox figure { max-width: calc(100vw - 20px); border-radius: 16px; }
    .image-lightbox-stage img { max-width: calc(100vw - 20px); max-height: calc(100vh - 88px); }
    .image-lightbox-nav { width: 44px; height: 44px; }
    .image-lightbox-nav.previous { left: 9px; }
    .image-lightbox-nav.next { right: 9px; }
    .image-lightbox-nav svg { width: 21px; height: 21px; }
    .image-lightbox figcaption { min-height: 54px; padding: 13px 64px 13px 16px; font-size: 14px; line-height: 22px; }
    .image-lightbox-close { top: 10px; right: 10px; width: 44px; height: 44px; }
    .help-story { min-height: 0; }
    .help-notification { width: 92%; padding: 20px; }
    .practice-card { grid-template-columns: 1fr; padding: 28px; }
    .practice-mark { width: 90px; height: 90px; }
    .contact { padding: 55px 0; }
    .contact-card { gap: 28px; padding: 30px 24px; border-radius: 24px; }
    .contact-actions { flex-direction: column; }
    .group-users { grid-template-columns: 1fr; }
    .group-dialog, .contact-dialog, .registration-dialog { padding: 26px 20px; }
    .contact-dialog h2, .registration-dialog h2 { padding-right: 45px; font-size: 29px; }
    .contact-dialog-intro, .registration-intro { margin-right: 0; }
    .registration-grid { grid-template-columns: 1fr; }
    .registration-field-wide { grid-column: auto; }
    .registration-captcha { grid-template-columns: 1fr; }
    .contact-toast { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}

@media (display-mode: standalone) {
    .site-header, #main > :not(.hero), .site-footer { display: none !important; }
    .hero, .hero-inner { min-height: 100svh; }
    .hero::after { display: none; }
    .hero-inner { justify-content: center; padding: 40px 0; }
    .login-card { width: min(560px, 100%); padding: clamp(30px, 5vw, 52px); }
}
.is-standalone .site-header, .is-standalone #main > :not(.hero), .is-standalone .site-footer { display: none !important; }
.is-standalone .hero, .is-standalone .hero-inner { min-height: 100svh; }
.is-standalone .hero::after { display: none; }
.is-standalone .hero-inner { justify-content: center; padding: 40px 0; }
.is-standalone .login-card { width: min(560px, 100%); padding: clamp(30px, 5vw, 52px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
