:root {
    color-scheme: light;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --ink: #111827;
    --muted: #5f6b7a;
    --faint: #7b8794;
    --line: #e1e7ef;
    --accent: #334155;
    --accent-soft: #f1f5f9;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    --radius: 8px;
    --sticky-header-offset: 88px;
}

* {
    box-sizing: border-box;
    min-width: 0;
}

html {
    background: var(--bg);
    scroll-padding-top: var(--sticky-header-offset);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    text-rendering: optimizelegibility;
}

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

a:hover {
    color: var(--accent);
}

p {
    margin: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

li,
h1,
h2,
h3 {
    overflow-wrap: anywhere;
}

img,
svg {
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

.site-header,
.hero,
.intro,
.demo-suite,
.feature-section,
.notification-showcase,
.history-showcase,
.privacy-note,
.closing,
.footer {
    width: min(1040px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    background: rgba(248, 250, 252, 0.66);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 720;
    transition: color 160ms ease, text-shadow 160ms ease;
}

.brand img,
.hero-icon,
.closing > img {
    border-radius: 22%;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.14));
}

.brand img {
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.12));
    transition: filter 160ms ease, transform 160ms ease;
}

.brand:hover,
.brand:focus-visible {
    color: #020617;
    text-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.brand:hover img,
.brand:focus-visible img {
    filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.2));
    transform: translateY(-1px);
}

.nav-links,
.footer nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 520;
}

.nav-links a,
.footer nav a,
.page-footer nav a {
    position: relative;
    color: inherit;
    transition: color 160ms ease;
}

.nav-links a::after,
.footer nav a::after,
.page-footer nav a::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 1px;
    background: currentcolor;
    content: "";
    opacity: 0;
    transform: scaleX(0.65);
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"],
.footer nav a:hover,
.footer nav a:focus-visible,
.footer nav a[aria-current="page"],
.page-footer nav a:hover,
.page-footer nav a:focus-visible,
.page-footer nav a[aria-current="page"] {
    color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.footer nav a:hover::after,
.footer nav a:focus-visible::after,
.page-footer nav a:hover::after,
.page-footer nav a:focus-visible::after {
    opacity: 0.35;
    transform: scaleX(1);
}

.nav-links a[aria-current="page"]::after,
.footer nav a[aria-current="page"]::after,
.page-footer nav a[aria-current="page"]::after {
    opacity: 0.75;
    transform: scaleX(1);
}

.hero {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 64px 0 52px;
    text-align: center;
}

.hero-icon {
    width: 116px;
    height: 116px;
    margin-bottom: 24px;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    letter-spacing: 0;
}

h1 {
    width: 100%;
    max-width: 1040px;
    font-size: clamp(42px, 5.6vw, 66px);
    line-height: 1;
    font-weight: 760;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    font-weight: 740;
}

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

.hero-copy {
    width: 100%;
    max-width: 690px;
    margin-top: 24px;
    font-size: 20px;
}

.store-group {
    display: grid;
    justify-items: center;
    gap: 9px;
    margin-top: 26px;
}

.store-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--faint);
    font-size: 14px;
    font-weight: 650;
    transition: filter 160ms ease, transform 160ms ease;
}

.store-cta:hover,
.store-cta:focus-visible {
    filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.16));
    transform: translateY(-1px);
}

.store-requirements {
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.app-store-badge {
    width: 187px;
    height: auto;
}

.intro {
    display: block;
    padding: 78px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.intro h2 {
    max-width: 820px;
    margin-inline: auto;
}

.intro p {
    max-width: 720px;
    margin-inline: auto;
    margin-top: 18px;
}

.intro p,
.section-heading p,
.feature-section > div:first-child p,
.privacy-note p {
    font-size: 18px;
}

.demo-suite {
    padding: 104px 0 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
    gap: 54px;
    align-items: start;
}

.section-heading p {
    max-width: 520px;
}

.section-copy {
    display: grid;
    gap: 22px;
}

.section-copy strong {
    color: var(--ink);
    font-weight: 720;
}

.demo-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 42px;
}

.demo-carousels {
    display: grid;
    gap: 76px;
    margin-top: 78px;
}

.demo-item {
    min-width: 0;
}

.demo-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #050505;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.demo-frame {
    aspect-ratio: 4 / 3;
}

.demo-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings-showcase {
    margin-top: 36px;
}

.multiple-qr-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
    margin-top: 36px;
}

.multiple-qr-copy {
    width: min(100%, 430px);
    justify-self: end;
}

.multiple-qr-copy strong {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.25;
}

.multiple-qr-copy p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 16px;
}

.multiple-qr-visual {
    display: grid;
    justify-items: start;
}

.settings-heading {
    max-width: 620px;
}

.settings-heading p {
    margin-top: 8px;
    font-size: 16px;
}

.settings-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    margin-top: 38px;
    scrollbar-width: none;
}

.settings-gallery::-webkit-scrollbar {
    display: none;
}

.settings-card {
    min-width: 0;
    margin: 0;
}

.settings-card img {
    display: block;
    width: 100%;
    height: auto;
}

.settings-card figcaption {
    display: grid;
    gap: 6px;
    margin-top: 16px;
}

.settings-card strong {
    color: var(--ink);
    font-size: 19px;
    line-height: 1.25;
}

.settings-card span {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.history-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    margin-top: 36px;
}

.notification-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: 64px;
    align-items: center;
    margin-top: 104px;
}

.notification-copy {
    max-width: 470px;
}

.notification-visual {
    display: grid;
    width: min(100%, 500px);
    justify-items: center;
    gap: 14px;
}

.notification-detail {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.notification-detail strong {
    color: var(--ink);
    font-size: 19px;
    line-height: 1.25;
}

.notification-detail p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.notification-image,
.results-window-image {
    display: block;
    width: 100%;
    height: auto;
}

.notification-image {
    width: 75%;
    border-radius: var(--radius);
    box-shadow:
        0 28px 58px rgba(15, 23, 42, 0.26),
        0 10px 22px rgba(15, 23, 42, 0.12);
}

.results-window-image {
    width: min(97.5%, 488px);
}

.history-copy {
    max-width: 430px;
}

.history-copy p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 16px;
}

.history-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.media-caption {
    max-width: 580px;
    margin-top: 18px;
}

.demo-carousels .media-caption {
    margin-bottom: 18px;
}

.media-caption p {
    margin-top: 8px;
    font-size: 15px;
}

.carousel-frame {
    position: relative;
    display: grid;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 0 64px 42px;
    place-items: center;
}

.carousel-slides {
    display: flex;
    width: auto;
    height: auto;
    min-height: 0;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    width: auto;
    height: auto;
    max-width: min(396px, calc(100vw - 160px));
    max-height: 458px;
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.carousel-frame-wide {
    padding-inline: 64px;
}

.carousel-frame-wide .carousel-slide {
    max-width: min(733px, calc(100vw - 160px));
    max-height: 535px;
}

.carousel-slide[hidden] {
    display: none;
}

.carousel-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.52);
    color: #ffffff;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.carousel-control:hover {
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
}

.carousel-control-prev {
    left: 14px;
}

.carousel-control-next {
    right: 14px;
}

.carousel-dots {
    position: absolute;
    z-index: 2;
    bottom: 4px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: #ffffff;
    transform: scale(1.16);
}

.feature-section {
    display: block;
    padding: 104px 0 0;
}

.feature-section > div:first-child {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
    gap: 54px;
    align-items: start;
}

.feature-section > div:first-child p {
    max-width: 520px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.feature-list article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.feature-list p {
    margin-top: 10px;
    font-size: 15px;
}

.privacy-note {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-top: 104px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--accent-soft);
}

.privacy-note h2 {
    font-size: clamp(28px, 3.5vw, 40px);
}

.privacy-note p {
    max-width: 720px;
    margin-top: 14px;
}

.text-link {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 15px;
    font-weight: 750;
}

.closing {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: 104px 0 88px;
    text-align: center;
}

.closing-note {
    max-width: 980px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.45;
    white-space: normal;
}

.store-group-centered {
    margin-top: 8px;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0 48px;
    border-top: 1px solid var(--line);
}

.footer p {
    font-size: 14px;
}

.page-shell {
    width: min(880px, calc(100% - 48px));
    margin-inline: auto;
}

.page-header {
    position: sticky;
    z-index: 10;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    background: rgba(248, 250, 252, 0.66);
    backdrop-filter: blur(18px);
}

.page-hero {
    padding: 54px 0 42px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 68px);
}

.section-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.section-jump-links a {
    color: var(--faint);
    font-size: 14px;
    font-weight: 700;
}

.section-jump-links a:hover {
    color: var(--ink);
}

.page-hero p {
    max-width: 690px;
    margin-top: 22px;
    font-size: 20px;
}

.content-section {
    padding: 58px 0 0;
}

.content-section h2 {
    margin-bottom: 22px;
    font-size: 32px;
}

.content-section h2:not(:first-child) {
    margin-top: 38px;
}

.content-section h3 {
    margin-top: 34px;
}

.content-section p + p {
    margin-top: 12px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item,
.notice-card,
.contact-card,
.release-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.faq-item h3,
.notice-card h3,
.contact-card h3,
.release-card h3 {
    margin-top: 0;
}

.faq-item p,
.notice-card p,
.contact-card p,
.release-card p {
    margin-top: 10px;
}

.support-list {
    margin: 14px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.support-list li + li {
    margin-top: 8px;
}

.faq-item code,
.notice-card code {
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--surface-soft);
    color: var(--ink);
    font-size: 0.94em;
    overflow-wrap: anywhere;
}

.command-copy {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.command-copy code {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 4px;
    background: transparent;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.command-copy button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #ffffff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.command-copy button:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.command-copy button[data-copy-state="success"] {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.command-copy button[data-copy-state="fallback"] {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.contact-card {
    display: grid;
    gap: 18px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.button-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 750;
}

.button-link:hover {
    color: #ffffff;
    background: #1f2937;
}

.release-card ul {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.release-card li + li {
    margin-top: 8px;
}

.page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 70px;
    padding: 30px 0 44px;
    border-top: 1px solid var(--line);
}

.page-footer p {
    font-size: 14px;
}

.page-footer nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    :root {
        --sticky-header-offset: 168px;
    }

    .site-header,
    .page-header,
    .footer,
    .page-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header,
    .hero,
    .intro,
    .demo-suite,
    .feature-section,
    .notification-showcase,
    .history-showcase,
    .privacy-note,
    .closing,
    .footer,
    .page-shell {
        width: calc(100% - 32px);
        max-width: calc(100vw - 32px);
    }

    .nav-links,
    .footer nav,
    .page-footer nav {
        gap: 14px 18px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 54px 0 64px;
    }

    h1 {
        font-size: 34px;
        line-height: 1.04;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .hero-icon {
        width: 112px;
        height: 112px;
        margin-bottom: 28px;
    }

    .hero-copy,
    .page-hero p {
        font-size: 17px;
    }

    .store-cta {
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }

    .store-group-centered {
        align-items: center;
    }

    .intro {
        display: grid;
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 68px;
    }

    .intro p {
        margin-top: 0;
    }

    .feature-section {
        padding-top: 68px;
    }

    .feature-section > div:first-child {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-list {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-copy {
        gap: 14px;
    }

    .intro {
        padding-bottom: 60px;
    }

    .demo-suite {
        padding-top: 68px;
    }

    .demo-videos {
        grid-template-columns: 1fr;
    }

    .settings-showcase {
        margin-top: 36px;
    }

    .multiple-qr-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 36px;
    }

    .multiple-qr-copy {
        justify-self: start;
    }

    .multiple-qr-visual {
        justify-items: start;
    }

    .settings-gallery {
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 76vw);
        grid-template-columns: none;
        gap: 18px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
    }

    .settings-card {
        scroll-snap-align: start;
    }

    .notification-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 68px;
    }

    .notification-visual {
        width: 100%;
    }

    .notification-copy {
        order: -1;
    }

    .history-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 40px;
    }

    .demo-carousels {
        gap: 58px;
        margin-top: 58px;
    }

    .carousel-frame {
        padding: 0 48px 38px;
    }

    .carousel-slide {
        max-width: calc(100vw - 128px);
        max-height: 360px;
    }

    .carousel-frame-wide .carousel-slide {
        max-width: calc(100vw - 128px);
        max-height: 290px;
    }

    .privacy-note {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 70px;
        padding: 26px 22px;
    }

    .closing {
        padding: 76px 0 68px;
    }

    .closing-note {
        white-space: normal;
    }

}

@media (max-width: 520px) {
    .site-header,
    .hero,
    .intro,
    .demo-suite,
    .feature-section,
    .notification-showcase,
    .history-showcase,
    .privacy-note,
    .closing,
    .footer,
    .page-shell {
        width: min(358px, calc(100% - 32px));
        margin-left: 16px;
        margin-right: auto;
    }

    h1 {
        font-size: 32px;
    }

    .hero-copy,
    .intro p,
    .section-heading p,
    .feature-section > div:first-child p,
    .privacy-note p,
    .page-hero p {
        font-size: 16px;
    }

    .feature-list article,
    .faq-item,
    .notice-card,
    .contact-card,
    .release-card {
        padding: 22px;
    }
}
