:root {
    --bg: #03131d;
    --bg-soft: rgba(7, 24, 36, 0.74);
    --panel: rgba(255, 255, 255, 0.1);
    --panel-strong: rgba(255, 255, 255, 0.16);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f3f8fb;
    --muted: rgba(230, 240, 245, 0.76);
    --accent: #5cf2d6;
    --accent-warm: #ffb86b;
    --shadow: 0 24px 70px rgba(1, 8, 14, 0.4);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --content-width: min(1180px, calc(100vw - 48px));
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(92, 242, 214, 0.2), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 184, 107, 0.16), transparent 28%),
        var(--bg);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

body.is-menu-locked {
    overflow: hidden;
}

.menu-backdrop {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-shell {
    position: relative;
}

.site-shell--vision {
    padding-bottom: 32px;
}

.site-shell--vision .hero__media,
.site-shell--vision .hero__overlay,
.site-shell--vision .noise {
    position: fixed;
}

.site-shell--vision .hero__media,
.site-shell--vision .hero__overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.site-shell--vision .noise {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.site-shell--vision .hero,
.site-shell--vision .footer {
    position: relative;
    z-index: 2;
}

.site-shell--animated .hero__media,
.site-shell--animated .hero__overlay,
.site-shell--animated .noise {
    position: fixed;
}

.site-shell--animated .hero__media,
.site-shell--animated .hero__overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.site-shell--animated .noise {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.site-shell--animated .simple-page,
.site-shell--animated .footer {
    position: relative;
    z-index: 2;
}

.hero {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

.hero__media,
.hero__video,
.hero__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media {
    overflow: hidden;
    background: linear-gradient(120deg, #05141f, #072537 54%, #114b57);
    z-index: 0;
}

.hero__video {
    display: block;
    object-fit: cover;
    filter: saturate(1.15) contrast(1.05) brightness(0.6);
    z-index: 1;
}

.hero__gif {
    object-fit: cover;
    z-index: 1;
}

.hero__fallback {
    background:
        radial-gradient(circle at 18% 20%, rgba(92, 242, 214, 0.22), transparent 26%),
        radial-gradient(circle at 78% 24%, rgba(255, 184, 107, 0.18), transparent 18%),
        linear-gradient(125deg, rgba(2, 9, 18, 0.15), rgba(3, 19, 29, 0.78));
    background-position: center;
    background-size: cover;
    z-index: 0;
    transition: opacity 500ms ease;
}

.site-shell--vision .hero__fallback {
    background-image:
        radial-gradient(circle at 18% 20%, rgba(92, 242, 214, 0.2), transparent 26%),
        linear-gradient(125deg, rgba(2, 9, 18, 0.28), rgba(3, 19, 29, 0.78));
}

.site-shell--animated[data-background-key="services"] .hero__fallback {
    background-image:
        radial-gradient(circle at 18% 20%, rgba(92, 242, 214, 0.18), transparent 26%),
        linear-gradient(125deg, rgba(2, 9, 18, 0.28), rgba(3, 19, 29, 0.78));
}

.site-shell--animated[data-background-key="games"] .hero__fallback {
    background-image:
        radial-gradient(circle at 18% 20%, rgba(92, 242, 214, 0.18), transparent 26%),
        linear-gradient(125deg, rgba(2, 9, 18, 0.28), rgba(3, 19, 29, 0.78));
}

.site-shell.is-video-ready .hero__fallback {
    opacity: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 9, 18, 0.1), rgba(2, 9, 18, 0.48) 62%, rgba(2, 9, 18, 0.78)),
        linear-gradient(90deg, rgba(2, 9, 18, 0.62), rgba(2, 9, 18, 0.08) 50%, rgba(2, 9, 18, 0.46));
    z-index: 1;
}

.noise {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.18;
    mix-blend-mode: soft-light;
    z-index: 1;
}

.header-wrap {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 22px 0 0;
    transform: translateY(0);
    opacity: 1;
    transition:
        transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 360ms ease;
    will-change: transform, opacity;
}

.header-wrap.is-hidden {
    transform: translateY(calc(-100% - 26px));
    opacity: 0.96;
}

.header {
    width: var(--content-width);
    margin: 0 auto;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(5, 18, 27, 0.52);
    backdrop-filter: blur(20px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    height: 56px;
    min-width: 0;
    overflow: hidden;
}

.brand__logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: none;
}

.brand__mobile-text {
    display: none;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background:
        linear-gradient(var(--text), var(--text)) center calc(50% - 7px) / 22px 2px no-repeat,
        linear-gradient(var(--text), var(--text)) center center / 22px 2px no-repeat,
        linear-gradient(var(--text), var(--text)) center calc(50% + 7px) / 22px 2px no-repeat,
        rgba(255, 255, 255, 0.14);
    padding: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 2;
}

.menu-toggle::before,
.menu-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 180ms ease, transform 180ms ease;
}

.menu-toggle span {
    display: none;
}

.header.is-menu-open .menu-toggle {
    background: rgba(255, 255, 255, 0.14);
}

.header.is-menu-open .menu-toggle::before {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg);
}

.header.is-menu-open .menu-toggle::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: 0;
}

.nav a {
    color: rgba(243, 248, 251, 0.84);
    font-size: 0.96rem;
    padding: 10px 14px;
    border-radius: 999px;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    transform: translateY(-1px);
}

.nav__link--active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.cta-pill {
    border: 1px solid rgba(92, 242, 214, 0.4);
    background: linear-gradient(135deg, rgba(92, 242, 214, 0.18), rgba(255, 255, 255, 0.06));
}

.hero__content {
    position: relative;
    z-index: 2;
    width: var(--content-width);
    margin: auto auto 0;
    padding: 48px 0 56px;
    display: flex;
    align-items: end;
    min-height: calc(100vh - 104px);
}

.hero-card {
    max-width: 720px;
    padding: 30px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(9, 22, 32, 0.64), rgba(5, 15, 23, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transform: translateY(14px);
    opacity: 0;
    animation: reveal-up 900ms 180ms ease forwards;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.hero-card h1 {
    margin: 16px 0 16px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.8rem, 8vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.hero-card p {
    margin: 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
}

.hero-actions,
.hero-metrics,
.stack-grid,
.service-grid,
.platform-grid,
.feature-grid,
.cta-strip,
.footer {
    position: relative;
    z-index: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn--primary {
    color: #03131d;
    background: linear-gradient(135deg, var(--accent), #9cffe9);
    box-shadow: 0 16px 30px rgba(92, 242, 214, 0.25);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.hero-metrics {
    width: var(--content-width);
    margin: 0 auto;
    padding-bottom: 36px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.metric {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(8, 20, 31, 0.55);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.metric strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.metric span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.95rem;
}

.section {
    width: var(--content-width);
    margin: 0 auto;
    padding: 96px 0;
}

.section--split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 26px;
    align-items: start;
}

.section__intro h2,
.section__panel h2,
.cta-panel h2 {
    margin: 16px 0 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section__intro p,
.section__panel p,
.cta-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.section__panel,
.stack-grid article,
.service-card,
.platform-card,
.feature-card,
.cta-panel,
.footer {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 20, 31, 0.92), rgba(4, 14, 22, 0.88));
    box-shadow: var(--shadow);
}

.section__panel {
    padding: 30px;
    border-radius: var(--radius-xl);
}

.stack-grid,
.service-grid,
.platform-grid,
.feature-grid {
    display: grid;
    gap: 18px;
}

.stack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.stack-grid article,
.service-card,
.platform-card,
.feature-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.stack-grid article::after,
.service-card::after,
.platform-card::after,
.feature-card::after,
.cta-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -45% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 242, 214, 0.16), transparent 68%);
    pointer-events: none;
}

.stack-grid h3,
.service-card h3,
.platform-card h3,
.feature-card h3,
.section__panel h3 {
    margin: 14px 0 10px;
    font-size: 1.22rem;
}

.stack-grid p,
.service-card p,
.platform-card p,
.feature-card p,
.section__panel li,
.footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(92, 242, 214, 0.28);
    background: rgba(92, 242, 214, 0.08);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.platform-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 30px;
}

.platform-card {
    text-align: center;
    padding: 22px 14px;
}

.platform-card strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    margin-top: 12px;
}

.platform-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.platform-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(92, 242, 214, 0.18), rgba(255, 184, 107, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 800;
    color: var(--text);
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.list {
    margin: 20px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.list li + li {
    margin-top: 12px;
}

.cta-strip {
    padding-bottom: 96px;
}

.cta-panel {
    width: var(--content-width);
    margin: 0 auto;
    padding: 34px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer {
    width: var(--content-width);
    margin: 0 auto 28px;
    padding: 14px 22px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer--vision {
    margin-top: 28px;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    align-items: center;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: background 180ms ease, transform 180ms ease, color 180ms ease;
    overflow: hidden;
}

.social-links a:hover,
.social-links a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    transform: translateY(-1px);
}

.social-links img {
    display: block;
    width: 16px;
    min-width: 16px;
    max-width: 16px;
    height: 16px;
    min-height: 16px;
    max-height: 16px;
    object-fit: contain;
    flex: 0 0 16px;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
}

.legal-links a {
    color: rgba(243, 248, 251, 0.82);
    transition: color 180ms ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
    color: var(--text);
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 11, 18, 0.72);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.contact-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal__card {
    width: min(520px, calc(100vw - 32px));
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(9, 22, 32, 0.96), rgba(4, 14, 22, 0.94));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    position: relative;
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
}

.contact-modal__card h2 {
    margin: 14px 0 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 5vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.contact-modal__card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.contact-form__field {
    display: grid;
    gap: 8px;
}

.contact-form__field label {
    font-size: 0.92rem;
    color: rgba(243, 248, 251, 0.86);
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
    outline: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: rgba(92, 242, 214, 0.42);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(92, 242, 214, 0.08);
}

.contact-form__field textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 6px;
}

.contact-form__message {
    min-height: 22px;
    color: rgba(243, 248, 251, 0.72);
    font-size: 0.92rem;
}

.contact-form__message.is-error {
    color: #ffaf8e;
}

.contact-form__message.is-success {
    color: #8ef1d8;
}

.contact-form__honeypot {
    display: none !important;
}

.page-body--static {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(92, 242, 214, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 184, 107, 0.12), transparent 24%),
        var(--bg);
}

.simple-page {
    min-height: 100vh;
    padding: 72px 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--content-width);
    margin: 0 auto;
}

.coming-soon {
    width: min(720px, 100%);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 20, 31, 0.92), rgba(4, 14, 22, 0.88));
    box-shadow: var(--shadow);
    text-align: center;
}

.coming-soon h1 {
    margin: 18px 0 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.4rem, 8vw, 4.4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.coming-soon p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.about-page {
    width: var(--content-width);
    margin: 0 auto;
    padding: 72px 0 56px;
    display: grid;
    gap: 28px;
}

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(8, 20, 31, 0.95), rgba(5, 15, 23, 0.9)),
        radial-gradient(circle at top right, rgba(161, 122, 255, 0.08), transparent 30%);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    align-items: center;
    isolation: isolate;
    transform: translateZ(0);
}

.about-hero__content {
    position: relative;
    z-index: 1;
}

.about-hero__content h1 {
    margin: 18px 0 18px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.about-hero__content p {
    margin: 0;
    max-width: 60ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    line-height: 1.8;
}

.about-hero__visual {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    contain: layout paint;
}

.about-hero__glow {
    position: absolute;
    inset: 18px 10px 18px 48px;
    border-radius: 48% 52% 58% 42% / 42% 44% 56% 58%;
    background:
        radial-gradient(circle at 32% 30%, rgba(212, 193, 255, 0.72), rgba(161, 122, 255, 0.26) 38%, rgba(92, 242, 214, 0.08) 66%, transparent 76%),
        linear-gradient(180deg, rgba(161, 122, 255, 0.28), rgba(92, 242, 214, 0.08));
    filter: blur(6px);
    opacity: 0.92;
    transform: translateZ(0);
}

.about-hero__motion {
    position: absolute;
    inset: 26px 22px 22px 52px;
}

.about-hero__glass {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow:
        0 18px 40px rgba(5, 10, 18, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    will-change: transform;
    transform: translateZ(0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.about-hero__glass--large {
    inset: 16% 10% 12% 12%;
    padding: 28px 24px;
    border-radius: 22px;
    animation: aboutGlassFloatLarge 7.8s ease-in-out infinite;
}

.about-hero__glass--top {
    top: 0;
    right: 6%;
    width: 132px;
    height: 92px;
    padding: 16px;
    border-radius: 24px;
    animation: aboutGlassFloatTop 6.2s ease-in-out infinite;
}

.about-hero__glass--bottom {
    left: 6%;
    bottom: 4%;
    width: 168px;
    height: 78px;
    padding: 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: aboutGlassFloatBottom 6.8s ease-in-out infinite;
}

.about-hero__glass-line,
.about-hero__glass-pill,
.about-hero__glass-dot {
    display: block;
}

.about-hero__glass-line {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.66), rgba(160, 221, 255, 0.24));
}

.about-hero__glass-line--short {
    width: 38%;
}

.about-hero__glass-line--medium {
    width: 58%;
}

.about-hero__glass-line--wide {
    width: 82%;
    margin: 16px 0;
}

.about-hero__glass-pill {
    width: 100%;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(209, 194, 255, 0.62), rgba(255, 255, 255, 0.22));
}

.about-hero__glass-pill--alt {
    width: 72%;
    margin-top: 14px;
    background: linear-gradient(90deg, rgba(140, 216, 248, 0.62), rgba(255, 255, 255, 0.16));
}

.about-hero__glass-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(161, 122, 255, 0.52));
    box-shadow: 0 0 24px rgba(161, 122, 255, 0.28);
}

@keyframes aboutGlassFloatLarge {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-5deg);
    }
    50% {
        transform: translate3d(10px, -12px, 0) rotate(-2deg);
    }
}

@keyframes aboutGlassFloatTop {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(8deg);
    }
    50% {
        transform: translate3d(-8px, 10px, 0) rotate(3deg);
    }
}

@keyframes aboutGlassFloatBottom {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(4deg);
    }
    50% {
        transform: translate3d(12px, -8px, 0) rotate(0deg);
    }
}

.about-mission {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 22px;
}

.about-panel {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 20, 31, 0.94), rgba(4, 14, 22, 0.9));
    box-shadow: var(--shadow);
}

.about-panel h2 {
    margin: 16px 0 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.about-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.about-values {
    display: grid;
    gap: 14px;
}

.about-value {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-value:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-value:first-child {
    padding-top: 0;
}

.about-value__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(161, 122, 255, 0.28);
    background: linear-gradient(180deg, rgba(161, 122, 255, 0.12), rgba(255, 255, 255, 0.03));
    position: relative;
}

.about-value__icon::before,
.about-value__icon::after {
    content: "";
    position: absolute;
    background: linear-gradient(180deg, #d8ccff, #8fdaf6);
    border-radius: 999px;
}

.about-value__icon::before {
    width: 16px;
    height: 2px;
    top: 14px;
    left: 13px;
}

.about-value__icon::after {
    width: 2px;
    height: 16px;
    top: 13px;
    left: 20px;
}

.about-value h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.about-value p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-founder {
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    gap: 22px;
    align-items: stretch;
}

.about-founder__text {
    padding-right: 8px;
}

.about-founder__signature {
    display: inline-block;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(243, 248, 251, 0.82);
    font-family: "Space Grotesk", sans-serif;
}

.about-founder__card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.about-founder__placeholder {
    min-height: 360px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 30% 28%, rgba(161, 122, 255, 0.26), transparent 28%),
        radial-gradient(circle at 72% 78%, rgba(92, 242, 214, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(10, 24, 38, 0.88), rgba(4, 14, 22, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-founder__image {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 26px;
    filter: saturate(1.02) contrast(1.03);
}

.about-founder__badge {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 17, 28, 0.72);
    backdrop-filter: blur(14px);
}

.about-founder__badge strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
}

.about-founder__badge span {
    display: block;
    margin-top: 8px;
    color: rgba(243, 248, 251, 0.72);
    font-size: 0.92rem;
    line-height: 1.6;
}

.about-strengths {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-strength {
    padding: 22px 18px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 20, 31, 0.9), rgba(4, 14, 22, 0.84));
    box-shadow: var(--shadow);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.about-strength:hover,
.about-strength:focus-within {
    transform: translateY(-2px);
    border-color: rgba(161, 122, 255, 0.22);
    background: linear-gradient(180deg, rgba(10, 24, 38, 0.94), rgba(5, 15, 23, 0.88));
}

.about-strength strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
}

.about-strength span {
    display: block;
    margin-top: 8px;
    color: rgba(243, 248, 251, 0.68);
    font-size: 0.92rem;
    line-height: 1.6;
}

.simple-page--showcase {
    display: grid;
    align-items: start;
    justify-content: stretch;
    gap: 34px;
}

.service-showcase {
    width: min(1120px, 100%);
}

.service-showcase-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
    padding: 26px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(8, 20, 31, 0.94), rgba(4, 14, 22, 0.9));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.service-showcase-card::before {
    content: "";
    position: absolute;
    inset: 18px 18px auto auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 242, 214, 0.12), transparent 68%);
    pointer-events: none;
}

.service-showcase--sportbuddy .service-showcase-card {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    padding: 30px;
}

.service-showcase__visual,
.service-showcase__content {
    position: relative;
    min-height: 560px;
}

.service-showcase__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.service-showcase--sportbuddy .service-showcase__visual {
    align-items: stretch;
    padding: 6px 8px 6px 0;
}

.service-showcase__shape {
    position: absolute;
    inset: 24px auto 24px 0;
    width: min(92%, 520px);
    border-radius: 42px 220px 220px 42px;
    background: linear-gradient(180deg, #ff713c, #ff5c3d 55%, #ff8b42);
    box-shadow: inset 0 -24px 40px rgba(0, 0, 0, 0.08);
}

.service-showcase--sportbuddy .service-showcase__shape {
    width: min(96%, 500px);
    border-radius: 34px 170px 170px 34px;
    background: linear-gradient(180deg, #2667f4, #1f77ff 54%, #194fe2);
}

.service-showcase--astroguide .service-showcase-card {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    padding: 30px;
}

.service-showcase--astroguide .service-showcase__visual {
    align-items: stretch;
    padding: 6px 8px 6px 0;
}

.service-showcase--astroguide .service-showcase__shape {
    width: min(96%, 500px);
    border-radius: 34px 170px 170px 34px;
    background: linear-gradient(180deg, #d9c0a9, #caa688 54%, #b7866a);
}

.service-showcase--astroguide .service-showcase-card::before {
    background: radial-gradient(circle, rgba(129, 11, 56, 0.18), transparent 68%);
}

.service-showcase--astroguide .service-showcase__brand {
    color: #d9c0a9;
}

.service-showcase--astroguide .service-showcase__mini-nav span {
    border-color: rgba(217, 192, 169, 0.22);
    background: rgba(129, 11, 56, 0.14);
}

.service-showcase--astroguide .sportbuddy-gallery__dot.is-active {
    background: linear-gradient(90deg, #d3b292, #f0ddcc);
}

.service-showcase--astroguide .sportbuddy-gallery__arrow:hover,
.service-showcase--astroguide .sportbuddy-gallery__arrow:focus-visible {
    border-color: rgba(217, 192, 169, 0.4);
}

.sportbuddy-gallery {
    position: relative;
    z-index: 1;
    width: min(100%, 470px);
    margin-left: 10px;
    border-radius: 32px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px rgba(2, 7, 16, 0.32);
    backdrop-filter: blur(10px);
}

.sportbuddy-gallery__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    min-height: 640px;
    background: rgba(255, 255, 255, 0.04);
}

.sportbuddy-gallery__track {
    display: flex;
    height: 100%;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.sportbuddy-gallery__slide {
    flex: 0 0 100%;
    width: 100%;
}

.sportbuddy-gallery__slide img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    object-position: top center;
    border-radius: 26px;
}

.sportbuddy-gallery__controls {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    margin-top: 16px;
}

.sportbuddy-gallery__arrow {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.sportbuddy-gallery__arrow:hover,
.sportbuddy-gallery__arrow:focus-visible {
    transform: translateY(calc(-50% - 1px));
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(92, 242, 214, 0.26);
}

.sportbuddy-gallery__arrow--prev {
    left: 0;
}

.sportbuddy-gallery__dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 0;
}

.sportbuddy-gallery__arrow--next {
    right: 0;
}

.sportbuddy-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.sportbuddy-gallery__dot.is-active {
    width: 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6aa9ff, #9ed7ff);
}

.service-showcase__device {
    position: relative;
    z-index: 1;
    width: min(92%, 520px);
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(39, 44, 67, 0.98), rgba(27, 33, 55, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 70px rgba(2, 7, 16, 0.42);
    transform: rotate(-12deg) translate(-26px, -8px);
}

.service-showcase__device-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.service-showcase__dots {
    display: flex;
    gap: 8px;
}

.service-showcase__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.26);
}

.service-showcase__product {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 14px;
    align-items: stretch;
}

.service-showcase__screen {
    min-height: 250px;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(7, 21, 35, 0.58), rgba(7, 21, 35, 0.94)),
        radial-gradient(circle at 18% 16%, rgba(80, 137, 255, 0.18), transparent 22%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-showcase__screen strong,
.service-showcase__panel strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
}

.service-showcase__screen span,
.service-showcase__panel span {
    display: block;
    margin-top: 8px;
    color: rgba(243, 248, 251, 0.72);
    line-height: 1.5;
    font-size: 0.92rem;
}

.service-showcase__panel {
    min-height: 250px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-showcase__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.service-showcase__metrics div {
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.service-showcase__metrics strong {
    display: block;
    font-size: 1rem;
}

.service-showcase__metrics span {
    margin-top: 4px;
    font-size: 0.8rem;
}

.service-showcase__floating {
    position: absolute;
    z-index: 2;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 23, 37, 0.82);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.service-showcase__floating--top {
    top: 34px;
    right: 14px;
    width: 188px;
}

.service-showcase__floating--bottom {
    left: 40px;
    bottom: 24px;
    width: 220px;
}

.service-showcase__floating-label {
    display: block;
    color: rgba(243, 248, 251, 0.58);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.service-showcase__floating strong {
    display: block;
    margin-top: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
}

.service-showcase__floating p {
    margin: 8px 0 0;
    color: rgba(243, 248, 251, 0.74);
    font-size: 0.86rem;
    line-height: 1.5;
}

.service-showcase__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 8px 14px 0;
}

.service-showcase__brand {
    color: #ff7d47;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.service-showcase__mini-nav {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    color: rgba(243, 248, 251, 0.76);
    font-size: 0.92rem;
}

.service-showcase__mini-nav span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    height: 40px;
    padding: 0 18px;
    white-space: nowrap;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.service-showcase__content h1 {
    margin: 26px 0 14px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.service-showcase__subtitle {
    margin: 0;
    font-size: 0.98rem;
    color: rgba(243, 248, 251, 0.78);
}

.service-showcase__description {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.75;
    max-width: 40ch;
}

.service-showcase__price strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
}

.service-showcase__specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.service-showcase__specs div {
    padding: 14px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-showcase__specs label {
    display: block;
    color: rgba(243, 248, 251, 0.52);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-showcase__specs strong {
    display: block;
    margin-top: 8px;
    font-size: 0.98rem;
}

.service-showcase__colors {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.service-showcase__colors span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.service-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.service-showcase__list {
    margin: 24px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.service-showcase__list li + li {
    margin-top: 12px;
}

.legal-page {
    width: var(--content-width);
    margin: 0 auto;
    padding: 72px 0 48px;
}

.legal-card {
    max-width: 940px;
    margin: 0 auto;
    padding: 34px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 20, 31, 0.92), rgba(4, 14, 22, 0.88));
    box-shadow: var(--shadow);
}

.legal-card h1 {
    margin: 18px 0 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.legal-card > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.legal-updated {
    margin-top: 18px;
    color: rgba(243, 248, 251, 0.68);
    font-size: 0.95rem;
}

.legal-sections {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.legal-section {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.legal-section h2 {
    margin: 0 0 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.legal-section p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.legal-section p + p {
    margin-top: 12px;
}

.legal-section ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.75;
}

.legal-section li + li {
    margin-top: 8px;
}

.legal-placeholder {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(243, 248, 251, 0.68);
    font-size: 0.95rem;
}

.account-deletion-page {
    width: min(var(--content-width), 860px);
    margin: 0 auto;
    padding: 72px 0 56px;
}

.account-deletion-card {
    padding: 32px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 20, 31, 0.94), rgba(4, 14, 22, 0.9));
    box-shadow: var(--shadow);
}

.account-deletion-card h1 {
    margin: 14px 0 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.account-deletion-intro,
.account-deletion-support {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.account-deletion-support {
    margin-top: 10px;
}

.account-deletion-support a,
.account-deletion-fallback a {
    color: var(--accent);
}

.account-deletion-form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.account-deletion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.account-deletion-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(243, 248, 251, 0.82);
}

.account-deletion-check input {
    margin-top: 3px;
}

.account-deletion-success,
.account-deletion-fallback {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.account-deletion-success strong,
.account-deletion-fallback strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
}

.account-deletion-success span,
.account-deletion-fallback span {
    display: block;
    margin-top: 8px;
    color: rgba(243, 248, 251, 0.74);
    line-height: 1.65;
}

.account-deletion-success p {
    margin: 8px 0 0;
    color: rgba(243, 248, 251, 0.74);
    line-height: 1.65;
}

.account-deletion-success [data-account-deletion-reference] {
    color: var(--text);
}

.account-deletion-fallback a {
    display: inline-block;
    margin-top: 10px;
}

.account-deletion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 4px;
}

.account-deletion-meta a {
    color: var(--accent);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes reveal-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero-metrics,
    .service-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .section--split {
        grid-template-columns: 1fr;
    }

    .about-hero,
    .about-mission,
    .about-founder {
        grid-template-columns: 1fr;
    }

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

    .about-hero__visual {
        min-height: 280px;
    }

    .service-showcase-card {
        grid-template-columns: 1fr;
    }

    .service-showcase--sportbuddy .service-showcase-card {
        grid-template-columns: 1fr;
    }

    .service-showcase--astroguide .service-showcase-card {
        grid-template-columns: 1fr;
    }

    .service-showcase__visual,
    .service-showcase__content {
        min-height: auto;
    }

    .service-showcase__content {
        padding: 8px 4px 4px;
    }
}

@media (max-width: 900px) {
    :root {
        --content-width: min(100vw - 28px, 1180px);
    }

    .header-wrap {
        padding-top: 14px;
    }

    .header {
        border-radius: 28px;
        padding: 12px 14px;
        padding-right: 72px;
        align-items: center;
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }

    .brand {
        height: 46px;
        width: auto;
        max-width: calc(100vw - 116px);
        justify-content: flex-start;
        gap: 10px;
        position: relative;
        z-index: 1;
    }

    .brand__logo {
        display: block;
        height: 36px;
        max-width: min(168px, calc(100vw - 128px));
        object-fit: contain;
    }

    .brand__mobile-text {
        display: none;
    }

    .menu-toggle {
        display: block !important;
        flex: 0 0 auto;
        position: absolute;
        top: 12px;
        right: 14px;
        min-width: 46px;
        z-index: 80;
    }

    .nav {
        position: fixed;
        top: 86px;
        right: 14px;
        z-index: 29;
        width: min(70vw, 320px);
        height: auto;
        max-height: calc(100vh - 126px);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 14px;
        opacity: 0;
        overflow: auto;
        padding: 22px 22px 24px;
        pointer-events: none;
        transform: translateX(22px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 24px;
        background: rgba(5, 18, 27, 0.8);
        backdrop-filter: blur(22px);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
        transition:
            opacity 260ms ease,
            transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .header.is-menu-open .nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .nav a {
        width: auto;
        padding: 4px 0;
        text-align: right;
        font-size: 1.2rem;
        line-height: 1.2;
        background: transparent;
        border-radius: 0;
    }

    .nav a:hover,
    .nav a:focus-visible,
    .nav__link--active {
        background: transparent;
        color: var(--accent);
    }

    .menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 28;
        border: 0;
        background: transparent;
        opacity: 0;
        pointer-events: none;
        cursor: default;
    }

    body.is-menu-locked .menu-backdrop {
        pointer-events: auto;
    }

    .hero__content {
        min-height: calc(100vh - 112px);
        padding-top: 24px;
        padding-bottom: 26px;
    }

    .hero-card {
        padding: 22px;
    }

    .hero-card h1 {
        font-size: clamp(2.5rem, 15vw, 4.4rem);
    }

    .hero-metrics,
    .service-grid,
    .platform-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 78px 0;
    }

    .cta-panel,
    .section__panel {
        padding: 24px;
    }

    .simple-page {
        padding: 58px 0 36px;
    }

    .coming-soon {
        padding: 30px 20px;
    }

    .about-page {
        padding: 58px 0 40px;
        gap: 18px;
    }

    .about-hero,
    .about-panel,
    .about-strength {
        border-radius: 24px;
    }

    .about-hero,
    .about-panel {
        padding: 24px 20px;
    }

    .about-hero__visual {
        min-height: 220px;
    }

    .about-hero__glow {
        inset: 12px 0 12px 18px;
    }

    .about-hero__motion {
        inset: 16px 10px 12px 24px;
    }

    .about-hero__glass--large {
        inset: 16% 8% 12% 10%;
        padding: 22px 18px;
    }

    .about-hero__glass--top {
        width: 108px;
        height: 78px;
    }

    .about-hero__glass--bottom {
        width: 142px;
        height: 68px;
        padding: 14px;
    }

    .about-hero__glass--large,
    .about-hero__glass--top,
    .about-hero__glass--bottom {
        animation-duration: 9s;
    }

    .about-founder__placeholder {
        min-height: 300px;
    }

    .about-founder__image {
        min-height: 300px;
    }

    .about-strengths {
        grid-template-columns: 1fr;
    }

    .service-showcase-card {
        padding: 18px;
        border-radius: 28px;
    }

    .service-showcase__visual {
        min-height: 440px;
        padding: 8px;
    }

    .service-showcase--sportbuddy .service-showcase__visual {
        padding: 0;
        min-height: auto;
    }

    .service-showcase--astroguide .service-showcase__visual {
        padding: 0;
        min-height: auto;
    }

    .service-showcase__shape {
        width: 100%;
        border-radius: 34px 140px 140px 34px;
    }

    .service-showcase--sportbuddy .service-showcase__shape {
        inset: 18px 6px 18px 0;
    }

    .service-showcase--astroguide .service-showcase__shape {
        inset: 18px 6px 18px 0;
    }

    .sportbuddy-gallery {
        width: 100%;
        margin-left: 0;
        padding: 14px;
        border-radius: 24px;
    }

    .sportbuddy-gallery__viewport,
    .sportbuddy-gallery__slide img {
        min-height: 520px;
        border-radius: 20px;
    }

    .service-showcase__device {
        width: 100%;
        transform: rotate(-8deg) translate(-8px, 0);
    }

    .service-showcase__product {
        grid-template-columns: 1fr;
    }

    .service-showcase__screen,
    .service-showcase__panel {
        min-height: 170px;
    }

    .service-showcase__floating--top {
        top: 14px;
        right: 0;
        width: 160px;
    }

    .service-showcase__floating--bottom {
        left: 10px;
        bottom: 12px;
        width: 178px;
    }

    .service-showcase__content h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

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

    .sportbuddy-gallery__controls {
        margin-top: 14px;
    }

    .legal-page {
        padding: 58px 0 36px;
    }

    .legal-card {
        padding: 24px 20px;
    }

    .legal-section {
        padding: 20px;
    }

    .account-deletion-page {
        padding: 58px 0 36px;
    }

    .account-deletion-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .account-deletion-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .footer p {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .footer__links {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .social-links,
    .legal-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .legal-links {
        justify-content: flex-end;
        row-gap: 6px;
    }

    .contact-modal {
        padding: 16px;
    }

    .contact-modal__card {
        width: min(100vw - 20px, 520px);
        padding: 22px 18px;
        border-radius: 24px;
    }
}
