:root {
    --bg-top: #0c1730;
    --bg-main: #091320;
    --bg-bottom: #081120;
    --card-bg: rgba(8, 17, 29, 0.84);
    --card-border: rgba(151, 187, 235, 0.28);
    --text-main: #eff4ff;
    --text-soft: #c3d0e8;
    --accent: #6ec6ff;
    --accent-strong: #2d87ff;
}

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

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.4rem);
    color: var(--text-main);
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
    background:
        radial-gradient(1200px 800px at -10% -5%, rgba(70, 132, 221, 0.24), transparent 60%),
        radial-gradient(900px 700px at 110% 110%, rgba(28, 161, 174, 0.2), transparent 60%),
        linear-gradient(150deg, var(--bg-top), var(--bg-main) 45%, var(--bg-bottom));
}

body.legal-layout {
    align-items: flex-start;
}

.page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
}

.card {
    width: min(100%, 940px);
    padding: clamp(1.4rem, 3.2vw, 3rem);
    border-radius: 26px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48);
    animation: card-enter 0.7s ease both;
}

.brand-block {
    margin-bottom: 1.2rem;
    text-align: center;
}

.logo {
    display: block;
    width: clamp(165px, 28vw, 275px);
    height: auto;
    border-radius: 5px;
    margin: 0 auto 1rem;
    filter:
        drop-shadow(0 18px 30px rgba(0, 0, 0, 0.52))
        drop-shadow(0 0 18px rgba(76, 145, 252, 0.35));
}

.brand-tagline {
    margin: 0 auto;
    max-width: 690px;
    color: #d6e4ff;
    line-height: 1.65;
    font-size: clamp(0.98rem, 1.5vw, 1.14rem);
}

.status {
    margin: 0 auto 0.9rem;
    width: fit-content;
    padding: 0.34rem 0.76rem;
    border-radius: 999px;
    border: 1px solid rgba(153, 199, 255, 0.38);
    background: linear-gradient(120deg, rgba(78, 136, 255, 0.24), rgba(39, 103, 226, 0.12));
    color: #d5e7ff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.73rem;
}

h1 {
    margin: 0 auto 0.95rem;
    max-width: 760px;
    text-align: center;
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.45rem, 3.2vw, 2.4rem);
    line-height: 1.24;
    letter-spacing: -0.01em;
}

.text {
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
    color: var(--text-soft);
    line-height: 1.62;
    font-size: clamp(0.98rem, 1.45vw, 1.12rem);
}

.info-grid {
    margin-top: clamp(1.25rem, 2.6vw, 2rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.7rem, 1.6vw, 1rem);
}

.info-box {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(143, 188, 244, 0.21);
    background: linear-gradient(160deg, rgba(25, 40, 70, 0.74), rgba(15, 27, 45, 0.76));
    opacity: 0;
    transform: translateY(8px);
    animation: item-enter 0.5s ease forwards;
}

.info-box:nth-child(1) {
    animation-delay: 0.15s;
}

.info-box:nth-child(2) {
    animation-delay: 0.24s;
}

.info-box:nth-child(3) {
    animation-delay: 0.33s;
}

.info-box span {
    display: block;
    margin-bottom: 0.36rem;
    color: #9ecbff;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.info-box strong {
    display: block;
    color: #f2f7ff;
    font-size: 0.98rem;
    line-height: 1.45;
}

.software-showcase {
    width: 100%;
    margin-top: clamp(1.2rem, 2.7vw, 2rem);
    padding: clamp(0.85rem, 2vw, 1.2rem);
    border-radius: 16px;
    border: 1px solid rgba(143, 188, 244, 0.24);
    background: linear-gradient(160deg, rgba(25, 40, 70, 0.72), rgba(15, 27, 45, 0.78));
}

.showcase-head {
    margin-bottom: 0.72rem;
    text-align: center;
}

.section-title {
    margin: 0;
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    line-height: 1.3;
    color: #f1f7ff;
    font-weight: 700;
}

.section-eyebrow {
    display: inline-block;
    min-width: 10.8rem;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(153, 199, 255, 0.36);
    background: linear-gradient(120deg, rgba(78, 136, 255, 0.24), rgba(39, 103, 226, 0.12));
    color: #d5e7ff;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.68rem;
}

.showcase-eyebrow {
    margin: 0 0 0.48rem;
}

.section-text {
    margin: 0.7rem 0 0;
    color: #d2e0f4;
    line-height: 1.62;
    font-size: clamp(0.93rem, 1.3vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.software-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(161, 198, 246, 0.26);
    background:
        radial-gradient(120% 120% at 10% 12%, rgba(74, 138, 240, 0.24), transparent 56%),
        radial-gradient(120% 120% at 90% 85%, rgba(27, 159, 175, 0.2), transparent 58%),
        linear-gradient(170deg, rgba(8, 16, 29, 0.95), rgba(11, 19, 35, 0.94));
    perspective: 1200px;
}

.software-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.09), transparent 45%, transparent 55%, rgba(255, 255, 255, 0.05));
    mix-blend-mode: screen;
}

.software-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: clamp(0.75rem, 2vw, 1.3rem);
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transform: rotateY(74deg) scale(0.91);
    transform-origin: center;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
    will-change: transform, opacity;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.48));
}

.software-slide.active {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    z-index: 2;
}

.software-slide.leaving {
    opacity: 0;
    transform: rotateY(-74deg) scale(0.91);
    z-index: 1;
}

.software-caption {
    text-align: center;
}

.founder-section {
    width: 100%;
    margin-top: clamp(1.2rem, 2.6vw, 2rem);
    padding: clamp(0.85rem, 2vw, 1.1rem);
    border-radius: 16px;
    border: 1px solid rgba(143, 188, 244, 0.24);
    background: linear-gradient(160deg, rgba(25, 40, 70, 0.72), rgba(15, 27, 45, 0.78));
}

.founder-photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 14px;
    border: 1px solid rgba(164, 199, 245, 0.24);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
}

.founder-copy {
    margin-top: 0.82rem;
}

.founder-eyebrow {
    margin: 0 0 0.48rem;
}

.footer-line {
    margin: 1.5rem 0 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 199, 236, 0.45), transparent);
}

.small {
    margin: 0;
    text-align: center;
    color: #c7d7ed;
    font-size: 0.92rem;
}

.legal-intro {
    margin-top: 0.45rem;
}

.legal-card {
    margin-top: clamp(0.35rem, 1.8vh, 1rem);
    margin-bottom: 1rem;
}

.legal-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.7rem, 1.6vw, 1rem);
}

.legal-section {
    padding: 1rem 1rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(143, 188, 244, 0.21);
    background: linear-gradient(160deg, rgba(25, 40, 70, 0.74), rgba(15, 27, 45, 0.76));
}

.legal-section.full-width {
    grid-column: 1 / -1;
}

.legal-section h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    font-weight: 700;
    color: #e8f1ff;
}

.legal-section p {
    margin: 0;
    color: #d0ddf1;
    line-height: 1.6;
    font-size: clamp(0.92rem, 1.25vw, 1rem);
}

.legal-meta {
    margin-top: 0.5rem;
}

.small.legal-link-row {
    margin-top: 0.55rem;
}

.site-footer {
    width: fit-content;
    max-width: 100%;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(160, 190, 226, 0.3);
    background: rgba(7, 14, 26, 0.76);
    backdrop-filter: blur(6px);
    text-align: center;
    color: #c4d3ea;
    font-size: 0.84rem;
    white-space: nowrap;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: #9bdcff;
    text-decoration: none;
}

@media (max-width: 820px) {
    .card {
        border-radius: 20px;
    }

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

    .founder-section {
        padding: 0.8rem;
    }

    .software-showcase {
        padding: 0.8rem;
    }

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

@media (max-width: 520px) {
    body {
        padding: 0.8rem;
    }

    .card {
        padding: 1.1rem 1rem 1.25rem;
    }

    .site-footer {
        font-size: 0.76rem;
        padding: 0.44rem 0.72rem;
    }

    .legal-section {
        padding: 0.9rem 0.85rem 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes item-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
