:root {
    --black: #000000;
    --near-black: #0a0a0a;
    --panel: #111111;
    --line: #2a2a2a;
    --gray-900: #1c1c1c;
    --gray-600: #6b6b6b;
    --gray-400: #9c9c9c;
    --gray-200: #d8d8d8;
    --off-white: #f4f4f2;
    --white: #ffffff;
    --font-display: "Zen Dots", sans-serif;
    --font-mono: monospace;
    --font-body: 'Poppins', sans-serif;
}

* {
    user-select: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    list-style: none;
}

::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--off-white);
    color: var(--black);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

::selection {
    background: var(--black);
    color: var(--white);
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 244, 242, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    max-width: 1180px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.logo .mark {
    width: 26px;
    height: 26px;
    background: var(--black);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo .mark svg {
    width: 14px;
    height: 14px;
}

.nav-links {
    display: flex;
    gap: 36px;
    font-size: 14px;
    color: var(--gray-600);
}

.nav-links a:hover {
    color: var(--black);
}

.nav-cta {
    background: var(--black);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--gray-900);
}

@media(max-width:820px) {
    .nav-links {
        display: none;
    }
}

.hero {
    background: var(--black);
    color: var(--white);
    position: relative;
    padding: 80px 32px 0;
    overflow: hidden;

    .animation-tile {
        position: relative;
        height: fit-content;

        .animation-container {
            /* animation: show-content 2s forwards; */
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100dvw !important;
            min-height: 140%;
            margin-top: 20px;
            height: 140%;
            transform: translate(-50%, -50%);
            z-index: -1;
            opacity: 0.5;
            display: grid;
            place-content: center;
        }
    }

    .hero-content {
        animation: fade-in 1.2s ease-out forwards;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--gray-400);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3ddc84;
}

h1.headline {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(34px, 5.6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 820px;
    margin: 0 auto;
}

h1.headline .grad {
    color: var(--gray-400);
}

.hero-sub {
    font-size: 16.5px;
    color: var(--gray-400);
    max-width: 520px;
    margin: 22px auto 0;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    padding: 14px 26px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--white);
}

.btn-primary:hover {
    background: var(--gray-200);
}

.btn-ghost {
    padding: 14px 26px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14.5px;
    border: 1px solid var(--line);
    color: var(--white);
}

.btn-ghost:hover {
    border-color: var(--gray-400);
}

.phone-stage {
    position: relative;
    margin: 64px auto 0;
    display: flex;
    justify-content: center;
}

.phone {
    width: 320px;
    height: 664px;
    position: relative;
}

.phone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/mobile_mock.png') no-repeat center/contain;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    inset: 0;
    padding: 12px 16px;
    color: var(--white);
    border-radius: 40px;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dynamic-otp,
    .dynamic-timer {
        position: absolute;
        z-index: 10;
        letter-spacing: 0.08em;
    }

    .dynamic-otp {
        top: 168px;
        font-size: 8px;
        font-weight: 500;
    }

    .dynamic-timer {
        top: 152px;
        font-size: 6px !important;
    }

    .otp-1 {
        left: 38px;
    }

    .otp-2 {
        left: 145px;
    }

    .otp-3 {
        left: 255px;
    }

    .timer-1 {
        left: 96px;
    }

    .timer-2 {
        left: 204px;
    }

    .timer-circle {
        --progress: 0deg;
        --radius: 26px;
        --border: 2px;

        width: var(--radius);
        height: var(--radius);
        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        color: white;
        font-weight: 600;

        background:
            conic-gradient(white 0deg var(--progress),
                transparent var(--progress) 360deg);

        position: relative;
    }

    .timer-circle::before {
        content: "";
        position: absolute;
        inset: var(--border);
        border-radius: 50%;
        background: #0a0a0a;
    }

    .timer-circle span {
        position: relative;
        z-index: 2;
    }

    .timer-circle.danger {
        color: white;

        background:
            conic-gradient(red var(--progress),
                transparent var(--progress));
    }
}

.badge-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin-top: 56px;
    padding-bottom: 56px;
    flex-wrap: wrap;
}

.badge {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-400);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge b {
    color: var(--white);
    font-weight: 500;
}

.spec-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 26px 32px;
}

.spec-strip .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--gray-600);
}

.spec-strip span b {
    color: var(--black);
    font-weight: 600;
}

section {
    padding: 100px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.eyebrow-light {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 14px;
    display: block;
}

h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.15;
}

.section-head p {
    color: var(--gray-600);
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.6;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
}

.principle {
    background: var(--off-white);
    padding: 32px 26px;
}

.principle .num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.principle h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.principle p {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.55;
}

@media(max-width:900px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:560px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

.features {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.feature-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-list li {
    display: flex;
    gap: 14px;
    font-size: 14.5px;
    color: var(--gray-900);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gray-200);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--black);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list .ico svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
}

.feature-panel {
    background: var(--near-black);
    border-radius: 22px;
    padding: 44px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.feature-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.06), transparent 55%);
}

.feature-panel h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
}

.feature-panel p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.6;
    max-width: 380px;
    position: relative;
    margin-bottom: 24px;
}

.mini-terminal {
    font-family: var(--font-mono);
    font-size: 12.5px;
    background: #000;
    border: 1px solid #232323;
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--gray-400);
    position: relative;
    line-height: 1.9;
}

.mini-terminal .l1 {
    color: var(--gray-200);
}

.mini-terminal .ok {
    color: #3ddc84;
}

@media(max-width:900px) {
    .features {
        grid-template-columns: 1fr;
    }
}

@media(min-width:901px) {
    .feature-panel {
        position: sticky;
        top: 104px;
    }
}

.carousel-section {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.carousel {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 8px 32px 28px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    height: 6px;
}

.carousel::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 10px;
}

.screen-card {
    scroll-snap-align: center;
    flex: 0 0 auto;
    width: 220px;
    height: 391px;
    /* 9:16 */
    border-radius: 26px;
    border: 6px solid var(--black);
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.screen-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen-card .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-400);
    font-family: var(--font-mono);
    font-size: 11px;
    text-align: center;
    padding: 20px;
}

.screen-card .placeholder b {
    color: var(--gray-200);
    font-size: 12.5px;
}

.carousel-hint {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-400);
    padding: 0 32px 26px;
    max-width: 1180px;
    margin: 0 auto;
}

.cta {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 110px 32px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 55%);
}

.cta h2 {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta p {
    position: relative;
    color: var(--gray-400);
    margin-top: 16px;
    font-size: 15px;
}

.cta .hero-actions {
    position: relative;
    margin-top: 34px;
}

footer {
    background: var(--off-white);
    padding: 48px 32px 32px;
    border-top: 1px solid var(--gray-200);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
    font-size: 13.5px;
    color: var(--gray-600);
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--black);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--gray-400);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom span {
    font-family: var(--font-mono);
}

.legal {
    padding: 80px 0 120px;
    background: var(--off-white);
}

.legal .section-head {
    margin-bottom: 40px;
}

.legal-content {
    max-width: 860px;
}

.legal-content>* {
    margin-bottom: 22px;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.legal-content h4 {
    font-size: 14.5px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.legal-content p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--gray-900);
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--gray-900);
}

.legal-content li::marker {
    color: var(--gray-400);
}

.legal-content blockquote {
    border-left: 3px solid var(--gray-400);
    padding-left: 18px;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
}

.legal-content pre {
    background: var(--near-black);
    color: var(--gray-200);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.8;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.legal-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
}

.legal-table-wrap table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 13px;
}

.legal-table-wrap th {
    background: var(--black);
    color: var(--white);
    font-weight: 500;
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
}

.legal-table-wrap td {
    padding: 12px 16px;
    border-top: 1px solid var(--gray-200);
    vertical-align: top;
    color: var(--gray-900);
    line-height: 1.55;
}

.legal-table-wrap tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.025);
}

.legal-content,
.legal-content * {
    user-select: text;
}

@media(max-width:560px) {
    .legal {
        padding: 56px 0 80px;
    }

    .legal-content pre {
        padding: 20px;
        font-size: 11px;
    }
}