@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* The colors of the logo */
:root {
    --navy: #0b2545;
    --ink: #13243d;
    --muted: #5a6b82;
    --line: #e3e8f0;
    --page: #f7f9fc;
    --white: #ffffff;
    --blue: #0b7be6;
    --cyan: #12c8dc;
    --orange: #ff7a1a;
    --amber: #ffa412;
    --dark: #0a1628;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(11, 37, 69, 0.06), 0 8px 24px rgba(11, 37, 69, 0.06);
    --device-shadow: 0 2px 4px rgba(10, 22, 40, 0.12), 0 30px 60px -12px rgba(10, 22, 40, 0.35), 0 50px 100px -30px rgba(11, 123, 230, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1, h2, h3 {
    margin: 0;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(40px, 6.4vw, 76px);
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 19px;
    font-weight: 700;
}

p {
    margin: 0;
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient {
    background: linear-gradient(100deg, var(--blue) 10%, var(--cyan) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(11, 123, 230, 0.08);
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}

.eyebrow-light {
    background: rgba(18, 200, 220, 0.12);
    color: var(--cyan);
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 26px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.button-small {
    height: 40px;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 15px;
}

.button-primary {
    background: linear-gradient(135deg, var(--blue), #0a9be8);
    color: var(--white);
    box-shadow: 0 8px 20px -6px rgba(11, 123, 230, 0.55);
}

.button-primary:hover {
    box-shadow: 0 12px 26px -6px rgba(11, 123, 230, 0.6);
}

.button-ghost {
    background: var(--white);
    color: var(--navy);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}

.button-dark {
    background: var(--navy);
    color: var(--white);
}

.button-light {
    background: var(--white);
    color: var(--navy);
}

.button-outline-light {
    color: var(--white);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.button-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(247, 249, 252, 0.8);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(227, 232, 240, 0.7);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
}

.nav-logo img {
    height: 34px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.nav-links a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--navy);
}

/* Hero */
.hero {
    position: relative;
    padding: 72px 0 120px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(18, 200, 220, 0.18), transparent 70%),
        radial-gradient(500px 380px at 8% 70%, rgba(255, 122, 26, 0.13), transparent 70%),
        radial-gradient(700px 500px at 50% 100%, rgba(11, 123, 230, 0.14), transparent 70%);
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 860px;
    text-align: center;
    animation: rise 0.7s ease both;
}

.lead {
    max-width: 640px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 21px);
}

.hero .actions {
    justify-content: center;
    margin-top: 4px;
}

.checks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 15px;
}

.checks li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 8px -3px 0;
    border-radius: 50%;
    background: #2ec27e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Devices */
.device {
    background: #1a1d23;
    box-shadow: var(--device-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device img {
    width: 100%;
}

.tablet {
    padding: 14px;
    border-radius: 30px;
}

.tablet img {
    border-radius: 16px;
}

.phone {
    padding: 8px;
    border-radius: 40px;
}

.phone img {
    border-radius: 32px;
}

.stage {
    position: relative;
    max-width: 1100px;
    margin-top: 64px;
    padding-right: 120px;
    animation: rise 0.9s 0.15s ease both;
}

.phone-hero {
    position: absolute;
    right: 24px;
    bottom: -40px;
    width: 22%;
    max-width: 230px;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Sections */
.section {
    padding: 120px 0;
}

.hero + .section {
    padding-top: 80px;
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head p {
    color: var(--muted);
    font-size: 19px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 2px rgba(11, 37, 69, 0.06), 0 16px 36px rgba(11, 37, 69, 0.1);
}

.feature p {
    color: var(--muted);
    font-size: 16px;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 14px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-blue { background: rgba(11, 123, 230, 0.1); color: var(--blue); }
.icon-orange { background: rgba(255, 122, 26, 0.12); color: #e8650a; }
.icon-cyan { background: rgba(18, 200, 220, 0.13); color: #0a9fb0; }
.icon-green { background: rgba(46, 194, 126, 0.13); color: #1f9d63; }
.icon-purple { background: rgba(120, 90, 220, 0.12); color: #6b4fd1; }
.icon-navy { background: rgba(11, 37, 69, 0.08); color: var(--navy); }

/* Dark section with the phones */
.section-dark {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: #b6c3d6;
}

.section-dark h2 {
    color: var(--white);
}

.dark-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 420px at 78% 40%, rgba(11, 123, 230, 0.35), transparent 70%),
        radial-gradient(380px 320px at 92% 90%, rgba(255, 122, 26, 0.2), transparent 70%);
}

.split {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.split-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.split-text > p {
    font-size: 19px;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.list li {
    position: relative;
    padding-left: 30px;
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.list strong {
    color: var(--white);
    font-weight: 600;
}

.phones {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 0 40px;
}

.phones .phone {
    width: 46%;
    max-width: 270px;
}

.phone-back {
    transform: translate(18%, 40px) rotate(4deg);
    opacity: 0.92;
}

.phone-front {
    position: relative;
    transform: translateX(-18%) rotate(-3deg);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}

.step p {
    color: var(--muted);
    font-size: 16px;
}

.step-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    color: var(--white);
    font-weight: 800;
}

/* Call to action */
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 96px;
    padding: 56px;
    border-radius: 28px;
    background:
        radial-gradient(400px 260px at 100% 100%, rgba(255, 164, 18, 0.45), transparent 70%),
        linear-gradient(120deg, var(--blue) 0%, #0a9be8 50%, var(--cyan) 100%);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 30px 60px -20px rgba(11, 123, 230, 0.5);
}

.cta h2 {
    margin-bottom: 10px;
    color: var(--white);
}

.cta p {
    font-size: 18px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 96px;
}

.footer-logo {
    width: auto;
    height: 26px;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.footer-links a {
    color: var(--muted);
    font-size: 15px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--navy);
}

.footer-copy {
    color: var(--muted);
    font-size: 15px;
}

/* Tablet */
@media (max-width: 960px) {
    .features,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
    }
}

/* Phone */
@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .wrap {
        padding: 0 16px;
    }

    .nav-inner {
        height: 64px;
    }

    .nav-logo img {
        height: 28px;
    }

    .nav-links {
        display: none;
    }

    .nav .button {
        margin-left: auto;
    }

    .hero {
        padding: 48px 0 80px;
    }

    .hero .actions,
    .cta .actions {
        flex-direction: column;
        align-self: stretch;
    }

    .stage {
        margin-top: 48px;
        padding-right: 56px;
    }

    .tablet {
        padding: 6px;
        border-radius: 16px;
    }

    .tablet img {
        border-radius: 10px;
    }

    .phone {
        padding: 5px;
        border-radius: 24px;
    }

    .phone img {
        border-radius: 19px;
    }

    .phone-hero {
        right: 8px;
        bottom: -28px;
        width: 30%;
    }

    .section {
        padding: 80px 0;
    }

    .hero + .section {
        padding-top: 48px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-head p,
    .split-text > p {
        font-size: 17px;
    }

    .features,
    .steps {
        grid-template-columns: 1fr;
    }

    .feature,
    .step {
        padding: 24px;
    }

    .phones .phone {
        width: 52%;
    }

    .cta {
        margin-bottom: 64px;
        padding: 32px 24px;
        border-radius: 22px;
    }

    .footer-inner {
        flex-wrap: wrap;
        gap: 16px 24px;
        height: auto;
        padding: 28px 16px;
    }

    .footer-links {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
