:root {
    --ink: #f7f8fb;
    --muted: #aeb5c5;
    --quiet: #778196;
    --page: #070b12;
    --panel: #101722;
    --panel-strong: #151e2b;
    --line: rgba(255, 255, 255, 0.12);
    --green: #5bd98b;
    --violet: #c46bf2;
    --cyan: #36d7f2;
    --amber: #ff9f31;
    --pink: #ff5d82;
    --blue: #6ba7ff;
    --max: 1180px;
    --radius: 8px;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(120deg, rgba(18, 44, 54, 0.56), transparent 36%),
        linear-gradient(180deg, #070b12 0%, #0b1020 48%, #08131c 100%);
    color: var(--ink);
    font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 72%);
}

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

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

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2 {
    font-family: "IBM Plex Serif", Georgia, serif;
    letter-spacing: 0;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #071019;
    font-weight: 700;
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: rgba(7, 11, 18, 0.72);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition-property: background, border-color;
    transition-duration: 180ms;
}

.site-header.is-scrolled {
    background: rgba(7, 11, 18, 0.92);
    border-color: var(--line);
}

.nav-shell {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand,
.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand img,
.site-footer .footer-brand img {
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--muted);
    font-size: 0.94rem;
}

.nav-links a,
.site-footer nav a,
.policy-links a {
    transition-property: color;
    transition-duration: 160ms;
}

.nav-links a:hover,
.site-footer nav a:hover,
.policy-links a:hover {
    color: var(--ink);
}

.nav-action,
.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 700;
    transition-property: transform, box-shadow, background, border-color;
    transition-duration: 180ms;
}

.nav-action {
    padding: 10px 16px;
    background: rgba(91, 217, 139, 0.12);
    border: 1px solid rgba(91, 217, 139, 0.34);
    color: #d7ffe4;
}

.button {
    padding: 13px 18px;
}

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

.button:active,
.nav-action:active {
    transform: scale(0.96);
}

.button.primary {
    background: linear-gradient(135deg, var(--green), var(--cyan));
    color: #061016;
    box-shadow: 0 16px 38px rgba(54, 215, 242, 0.2);
}

.button.secondary {
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
}

.hero {
    min-height: 88svh;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 132px 22px 76px;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 11, 18, 0.98) 0%, rgba(7, 11, 18, 0.86) 42%, rgba(7, 11, 18, 0.22) 100%),
        linear-gradient(180deg, rgba(7, 11, 18, 0.08), #070b12 95%),
        url("../images/screenshots/01-smart-sessions.png");
    background-repeat: no-repeat;
    background-size: cover, cover, min(58vw, 680px) auto;
    background-position: center, center, right 8vw top 42%;
    opacity: 0.98;
}

.hero-lines {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(112deg, transparent 0 63%, rgba(91, 217, 139, 0.12) 63.1% 76%, transparent 76.1%),
        repeating-linear-gradient(135deg, transparent 0 70px, rgba(255, 255, 255, 0.05) 70px 71px);
    opacity: 0.5;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 86%);
}

.hero-inner {
    width: min(var(--max), 100%);
    margin: 0 auto;
    position: relative;
}

.eyebrow {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(4rem, 12vw, 9.5rem);
    line-height: 0.9;
    margin-bottom: 24px;
}

.hero-kicker {
    max-width: 660px;
    font-size: clamp(1.55rem, 3vw, 2.7rem);
    line-height: 1.12;
    font-weight: 700;
    text-wrap: balance;
}

.hero-copy {
    max-width: 610px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.12rem;
}

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

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 680px;
    margin: 46px 0 0;
}

.hero-facts div {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.hero-facts dt {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.hero-facts dd {
    margin: 2px 0 0;
    color: var(--quiet);
}

.announcement {
    padding: 0 22px 34px;
}

.announcement-inner {
    width: min(var(--max), 100%);
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.announcement p {
    color: var(--muted);
}

.announcement strong,
.announcement a {
    color: var(--ink);
}

.announcement a {
    font-weight: 700;
    white-space: nowrap;
}

.section {
    padding: 96px 22px;
}

.band {
    max-width: none;
    background: rgba(255, 255, 255, 0.035);
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading,
.feature-grid,
.screens-grid,
.workflow-list,
.pricing-grid,
.billing-note,
.faq-list,
.final-cta-inner,
.site-footer {
    width: min(var(--max), 100%);
    margin-inline: auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-heading.compact {
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1;
}

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

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

.feature-card,
.price-card,
.workflow-list article,
.faq-list details {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(12, 19, 29, 0.82);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.feature-card {
    min-height: 238px;
    padding: 24px;
}

.feature-mark {
    width: 34px;
    height: 34px;
    display: block;
    margin-bottom: 28px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 9px color-mix(in srgb, currentColor 16%, transparent);
}

.mark-green { color: var(--green); }
.mark-violet { color: var(--violet); }
.mark-amber { color: var(--amber); }
.mark-cyan { color: var(--cyan); }
.mark-pink { color: var(--pink); }
.mark-blue { color: var(--blue); }

.feature-card h3,
.workflow-list h3 {
    font-size: 1.24rem;
    margin-bottom: 10px;
}

.feature-card p,
.workflow-list p,
.price-card li,
.trial,
.billing-note p,
.faq-list p {
    color: var(--muted);
}

.screenshots-section {
    overflow: hidden;
}

.screens-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.screen-card {
    margin: 0;
}

.screen-card.large {
    grid-row: span 2;
}

.screen-card img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    outline: 1px solid rgba(255, 255, 255, 0.14);
}

.screen-card figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-weight: 600;
}

.workflow-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.workflow-list article {
    padding: 28px;
}

.workflow-list span {
    display: block;
    margin-bottom: 34px;
    color: var(--green);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

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

.price-card {
    position: relative;
    padding: 28px;
}

.price-card.featured {
    border-color: rgba(91, 217, 139, 0.66);
    background: linear-gradient(180deg, rgba(91, 217, 139, 0.11), rgba(12, 19, 29, 0.9));
}

.plan-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #061016;
    background: var(--green);
    font-size: 0.76rem;
    font-weight: 700;
}

.plan-heading {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}

.plan-heading h3 {
    font-size: 1.45rem;
}

.plan-heading p {
    color: var(--quiet);
    margin-top: 4px;
}

.price {
    color: var(--muted);
    margin-bottom: 10px;
}

.price span {
    color: var(--ink);
    font-size: 3.1rem;
    line-height: 1;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.price-card ul {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.price-card li {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.billing-note {
    margin-top: 22px;
    padding: 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
}

.policy-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: var(--ink);
    font-weight: 700;
}

.faq-list {
    max-width: 820px;
}

.faq-list details + details {
    margin-top: 10px;
}

.faq-list summary {
    cursor: pointer;
    min-height: 54px;
    padding: 16px 18px;
    font-weight: 700;
}

.faq-list p {
    padding: 0 18px 18px;
}

.final-cta {
    padding: 110px 22px;
}

.final-cta-inner {
    text-align: center;
}

.final-cta img {
    margin: 0 auto 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.final-cta h2 {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: clamp(2.1rem, 5vw, 4.5rem);
    line-height: 1;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    padding: 38px 22px 54px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer p {
    margin-top: 10px;
    max-width: 420px;
}

.site-footer nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: rgba(7, 11, 18, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.nav-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.logo-icon-img {
    border-radius: 8px;
    object-fit: cover;
}

.nav-cta,
.hero-cta,
.download-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--green), var(--cyan));
    color: #061016;
    font-weight: 700;
}

.container,
.legal-container,
.support-container,
.press-container,
.footer-container {
    width: min(var(--max), calc(100% - 44px));
    margin-inline: auto;
}

.legal-page,
.support-page,
.press-page {
    padding: 124px 0 84px;
}

.legal-container,
.support-container,
.press-container {
    max-width: 980px;
}

.legal-container h1,
.support-hero h1,
.press-hero h1 {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 16px;
}

.legal-date,
.support-hero p,
.press-hero p {
    color: var(--muted);
}

.legal-section,
.support-section,
.press-section,
.quick-link-card,
.feature-card-press,
.toy-category,
.brand-asset,
.recognition-item {
    margin-top: 18px;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(12, 19, 29, 0.82);
}

.legal-section h2,
.support-section h2,
.press-section h2 {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    margin-bottom: 14px;
}

.legal-section h3,
.support-section h3,
.press-section h3 {
    margin: 18px 0 8px;
}

.legal-section p,
.legal-section li,
.support-section p,
.support-section li,
.press-section p,
.press-section li {
    color: var(--muted);
}

.legal-section a,
.support-section a,
.press-section a {
    color: var(--cyan);
    font-weight: 700;
}

.support-hero,
.press-hero {
    padding: 142px 22px 54px;
    text-align: center;
    background:
        linear-gradient(118deg, rgba(91, 217, 139, 0.12), transparent 44%),
        rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid var(--line);
}

.support-quick-links,
.features-grid-press,
.toys-categories,
.branding-assets,
.recognition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}

.support-quick-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-link-card a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--cyan);
    font-weight: 700;
}

.quick-link-icon,
.feature-icon,
.recognition-icon {
    display: block;
    margin-bottom: 12px;
}

.faq-item {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(12, 19, 29, 0.82);
    overflow: hidden;
}

.faq-item + .faq-item {
    margin-top: 10px;
}

.faq-question {
    width: 100%;
    min-height: 54px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    text-align: left;
}

.faq-answer {
    padding: 0 18px 18px;
}

.js-enabled .faq-answer[hidden] {
    display: none;
}

.faq-icon {
    width: 1.4em;
    text-align: center;
    color: var(--cyan);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer p,
.faq-answer li {
    color: var(--muted);
}

.press-screens {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 18px;
}

.app-icon-large img {
    width: 128px;
    height: 128px;
    border-radius: 28px;
}

.logo-preview {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.color-swatches {
    display: flex;
    gap: 8px;
}

.swatch {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    outline: 1px solid rgba(255, 255, 255, 0.18);
}

.download-contents ul {
    margin-bottom: 20px;
}

.press-contact-info {
    display: grid;
    gap: 10px;
}

.duttlabs-footer {
    border-top: 1px solid var(--line);
    padding: 42px 0;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 28px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links h4 {
    color: var(--ink);
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 18px;
}

[data-reveal] {
    opacity: 1;
    transform: none;
    transition-property: opacity, transform;
    transition-duration: 520ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

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

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 940px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
        font-size: 0.88rem;
    }

    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-logo,
    .nav-cta {
        flex: 0 0 auto;
    }

    .hero {
        min-height: auto;
        padding-top: 118px;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(7, 11, 18, 0.98) 0%, rgba(7, 11, 18, 0.96) 54%, rgba(7, 11, 18, 0.82) 100%),
            url("../images/screenshots/raw-home-smart-sessions.png");
        background-repeat: no-repeat;
        background-size: cover, 74vw auto;
        background-position: center, right -30vw bottom -150px;
    }

    .hero-facts,
    .feature-grid,
    .workflow-list,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .screen-card.large {
        grid-column: 1 / -1;
    }

    .support-quick-links,
    .features-grid-press,
    .toys-categories,
    .branding-assets,
    .recognition-grid,
    .footer-grid,
    .press-screens {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav-shell {
        padding-inline: 16px;
    }

    .brand span,
    .nav-logo span {
        display: none;
    }

    .nav-action,
    .nav-cta {
        padding-inline: 12px;
    }

    .nav-links {
        order: 3;
        width: 100%;
    }

    .hero,
    .section,
    .final-cta {
        padding-inline: 16px;
    }

    .hero-actions,
    .announcement-inner,
    .site-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-facts,
    .screens-grid {
        grid-template-columns: 1fr;
    }

    .announcement-inner {
        gap: 10px;
    }

    .feature-card,
    .workflow-list article,
    .price-card {
        padding: 22px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .support-quick-links,
    .features-grid-press,
    .toys-categories,
    .branding-assets,
    .recognition-grid,
    .footer-grid,
    .press-screens {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
