:root {
    --navy-950: #061b2d;
    --navy-900: #082c4c;
    --navy-800: #0b3e67;
    --teal-500: #1fb7af;
    --teal-400: #32c8be;
    --teal-100: #dff8f5;
    --yellow-400: #ffd21f;
    --paper: #f4f7f9;
    --white: #ffffff;
    --ink: #102a3e;
    --muted: #5c6f7d;
    --line: #dce5ea;
    --shadow: 0 24px 70px rgba(3, 29, 48, 0.16);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body,
button,
a {
    -webkit-font-smoothing: antialiased;
}

img,
video {
    display: block;
    max-width: 100%;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--yellow-400);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.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: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--yellow-400);
    color: var(--navy-950);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 27, 45, 0.94);
    color: var(--white);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--yellow-400);
    color: var(--navy-950);
    font-size: 22px;
    font-weight: 900;
    box-shadow: inset 0 -3px 0 rgba(6, 27, 45, 0.12);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    letter-spacing: 0.06em;
    line-height: 1.15;
}

.brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.primary-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.035em;
}

.primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    background: var(--teal-400);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--white);
}

.primary-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    width: 46px;
    height: 42px;
    display: none;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(50, 200, 190, 0.22), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-900) 62%, #075467);
    color: var(--white);
}

.hero::before {
    position: absolute;
    width: 430px;
    height: 430px;
    right: -190px;
    bottom: -260px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.hero-grid {
    position: relative;
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: 76px;
    padding-block: 88px 104px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 700;
}

.eyebrow img {
    width: 82px;
    height: 30px;
    object-fit: contain;
    object-position: left center;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 12px;
    color: var(--teal-400);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1,
.tutorial-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(42px, 5.2vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero-lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
    background: var(--yellow-400);
    color: var(--navy-950);
    box-shadow: 0 14px 34px rgba(255, 210, 31, 0.2);
}

.button-primary:hover {
    background: #ffdc52;
    box-shadow: 0 18px 38px rgba(255, 210, 31, 0.28);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.11);
}

.hero-note {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    position: absolute;
    inset: -22px 38px 26px -22px;
    border-radius: var(--radius-lg);
    background: var(--teal-500);
    content: "";
    transform: rotate(-4deg);
}

.hero-visual img {
    position: relative;
    width: 100%;
    min-height: 340px;
    border: 12px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.hero-badge {
    position: absolute;
    right: -28px;
    bottom: -28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(6, 27, 45, 0.1);
    border-radius: 16px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 18px 40px rgba(3, 29, 48, 0.22);
}

.hero-badge > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--teal-100);
    color: #08746e;
    font-weight: 900;
}

.hero-badge p {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
}

.hero-badge strong {
    display: block;
    font-size: 15px;
}

.section {
    padding-block: 104px;
    scroll-margin-top: 76px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-heading h2,
.download-card h2,
.contact h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-heading > p:last-child {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
}

.feature-card-accent {
    border-color: transparent;
    background: var(--teal-500);
    color: var(--navy-950);
    transform: translateY(-16px);
}

.feature-number {
    margin-bottom: auto;
    color: var(--teal-500);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.feature-card-accent .feature-number {
    color: rgba(6, 27, 45, 0.56);
}

.feature-card h3 {
    margin: 48px 0 12px;
    font-size: 24px;
    line-height: 1.2;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.feature-card-accent p {
    color: rgba(6, 27, 45, 0.74);
}

.showcase {
    overflow: hidden;
    background: var(--navy-950);
    color: var(--white);
}

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

.section-heading-light > p:last-child {
    color: rgba(255, 255, 255, 0.62);
}

.carousel {
    position: relative;
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: 64px;
}

.carousel-stage {
    min-height: 520px;
    display: grid;
    place-items: center;
}

.screen-slide {
    width: 100%;
    display: none;
    margin: 0;
    animation: slide-enter 280ms ease both;
}

.screen-slide.is-active {
    display: block;
}

.screen-slide img {
    width: 100%;
    max-height: 620px;
    border: 10px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: var(--white);
    object-fit: contain;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
}

.screen-slide figcaption {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 750;
    text-align: center;
}

.carousel-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 160ms ease;
}

.carousel-control:hover {
    background: var(--teal-500);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 30px;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: width 160ms ease, background-color 160ms ease;
}

.carousel-dot.is-active {
    width: 32px;
    border-radius: 999px;
    background: var(--teal-400);
}

.download-section {
    padding-block: 72px;
    background: var(--paper);
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px 48px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 18px 60px rgba(3, 29, 48, 0.08);
}

.download-card h2 {
    max-width: 720px;
    font-size: clamp(28px, 3vw, 42px);
}

.download-card p:last-child {
    margin: 12px 0 0;
    color: var(--muted);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.client-grid li {
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: #30495c;
    font-size: 14px;
    font-weight: 750;
}

.contact {
    background: var(--teal-500);
    color: var(--navy-950);
}

.contact .section-kicker {
    color: var(--navy-800);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 90px;
}

.contact-grid > div:first-child > p:last-child {
    max-width: 520px;
    color: rgba(6, 27, 45, 0.72);
    font-size: 18px;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-list article {
    padding: 22px 24px;
    border: 1px solid rgba(6, 27, 45, 0.14);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.72);
}

.contact-list span {
    display: block;
    margin-bottom: 4px;
    color: rgba(6, 27, 45, 0.58);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-list a,
.contact-list p {
    margin: 0;
    font-weight: 750;
}

.contact-list a:hover {
    text-decoration: underline;
}

.site-footer {
    padding-block: 34px;
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner strong {
    color: var(--white);
}

.footer-inner p {
    margin: 2px 0 0;
    font-size: 13px;
}

.footer-inner a {
    color: var(--teal-400);
}

.tutorial-hero {
    padding-block: 74px 84px;
    background:
        radial-gradient(circle at 88% 12%, rgba(50, 200, 190, 0.22), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: var(--white);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--white);
}

.tutorial-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
}

.tutorial-hero > .container > p:not(.section-kicker) {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.tutorial-switcher {
    display: inline-flex;
    gap: 6px;
    margin-top: 34px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.tutorial-switcher a {
    padding: 9px 15px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    font-weight: 800;
}

.tutorial-switcher a.is-active {
    background: var(--teal-500);
    color: var(--navy-950);
}

.tutorial-section {
    background: var(--paper);
}

.tutorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    align-items: start;
    gap: 28px;
}

.video-panel,
.tutorial-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 18px 55px rgba(3, 29, 48, 0.07);
}

.video-frame {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    background: #030b11;
}

.video-frame video {
    width: 100%;
    height: 100%;
}

.video-copy {
    padding: 28px 30px 32px;
}

.video-copy span {
    color: var(--teal-500);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.video-copy h2 {
    margin: 8px 0 0;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.18;
}

.tutorial-list {
    position: sticky;
    top: 98px;
    max-height: calc(100vh - 124px);
}

.tutorial-list > h2 {
    margin: 0;
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
}

.tutorial-list ol {
    max-height: calc(100vh - 196px);
    margin: 0;
    padding: 10px;
    overflow-y: auto;
    list-style: none;
}

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

.tutorial-list a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 14px;
    border-radius: 11px;
    color: #405666;
}

.tutorial-list a:hover {
    background: var(--paper);
    color: var(--ink);
}

.tutorial-list a.is-active {
    background: var(--teal-100);
    color: #075d59;
}

.tutorial-list a span {
    color: var(--teal-500);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.tutorial-list a strong {
    font-size: 14px;
    line-height: 1.4;
}

@keyframes slide-enter {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1060px) {
    .nav-toggle {
        display: grid;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 16px 16px;
        background: var(--navy-950);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        padding: 11px 12px;
        border-radius: 9px;
    }

    .primary-nav a:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .primary-nav a::after {
        display: none;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 74px;
    }

    .hero-copy {
        max-width: 780px;
    }

    .hero-visual {
        width: min(100%, 720px);
        margin-inline: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

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

    .tutorial-list {
        position: static;
        max-height: none;
    }

    .tutorial-list ol {
        max-height: none;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 68px;
    }

    .brand small {
        display: none;
    }

    .hero-grid {
        gap: 58px;
        padding-block: 62px 82px;
    }

    .eyebrow {
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .hero-visual::before {
        inset: -14px 24px 18px -14px;
    }

    .hero-visual img {
        min-height: 240px;
        border-width: 7px;
    }

    .hero-badge {
        right: 10px;
        bottom: -30px;
    }

    .section {
        padding-block: 76px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .feature-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 240px;
    }

    .feature-card-accent {
        transform: none;
    }

    .carousel {
        padding-inline: 0;
    }

    .carousel-stage {
        min-height: 300px;
    }

    .carousel-control {
        top: auto;
        bottom: -7px;
        width: 40px;
        height: 40px;
        transform: none;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .carousel-dots {
        min-height: 40px;
        align-items: center;
        margin-top: 18px;
        padding-inline: 52px;
    }

    .download-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px 24px;
    }

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

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .tutorial-hero {
        padding-block: 56px 64px;
    }

    .video-copy {
        padding: 22px 20px 26px;
    }
}

@media (max-width: 430px) {
    .brand strong {
        font-size: 14px;
    }

    .hero-actions,
    .hero-actions .button,
    .download-card .button {
        width: 100%;
    }

    .eyebrow span {
        max-width: 160px;
        line-height: 1.35;
    }

    .hero-badge {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 24px);
        margin: -26px auto 0;
    }
}
