:root {
    --bg: #07141c;
    --surface: rgba(13, 28, 38, 0.82);
    --surface-strong: #102430;
    --line: rgba(136, 185, 199, 0.18);
    --text: #ecf7fb;
    --muted: #9db8c2;
    --brand: #0f2d3a;
    --brand-soft: #8fd3cb;
    --accent: #4da89b;
    --shadow: 0 24px 70px rgba(2, 8, 12, 0.42);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1160px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(77, 168, 155, 0.24), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(21, 63, 80, 0.42), transparent 24%),
        linear-gradient(180deg, #0c1d27 0%, var(--bg) 48%, #040b10 100%);
    line-height: 1.6;
}

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

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(5, 14, 20, 0.8);
    border-bottom: 1px solid rgba(136, 185, 199, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    min-height: 76px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--muted);
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--brand);
}

.hero {
    padding: 5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: center;
}

.hero-logo-panel,
.hero-copy,
.app-card,
.about-strip,
.site-footer {
    position: relative;
}

.hero-logo-panel {
    min-height: 360px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(143, 211, 203, 0.12);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(160deg, rgba(16, 36, 48, 0.96), rgba(7, 20, 28, 0.94));
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-logo-panel::after {
    content: "";
    position: absolute;
    inset: auto -15% -30% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77, 168, 155, 0.28), transparent 70%);
}

.hero-logo {
    width: min(100%, 760px);
    max-width: none;
    height: auto;
    max-height: 360px;
    object-fit: contain;
}

.hero-copy {
    padding: 0.5rem 0;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 14px 30px rgba(17, 60, 74, 0.14);
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--brand-soft);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.75rem);
    max-width: 12ch;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    max-width: 16ch;
}

h3 {
    font-size: 1.5rem;
}

.hero-blurb,
.section-intro,
.about-grid p,
.app-description,
.site-footer p {
    color: var(--muted);
}

.hero-blurb {
    max-width: 40rem;
    font-size: 1.08rem;
    margin: 1.25rem 0 0;
}

.hero-actions,
.app-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
    background: linear-gradient(135deg, #1f5565, #123a47);
    color: #fff;
    box-shadow: 0 14px 30px rgba(2, 8, 12, 0.36);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: linear-gradient(135deg, #256376, #174856);
}

.site-toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%) translateY(16px);
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 211, 203, 0.22);
    background: rgba(6, 15, 20, 0.95);
    color: #f4fbfb;
    box-shadow: 0 16px 30px rgba(2, 8, 12, 0.36);
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 999;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid rgba(143, 211, 203, 0.16);
}

.about-strip {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(13, 28, 38, 0.92), rgba(9, 20, 27, 0.92));
    border: 1px solid rgba(143, 211, 203, 0.12);
    box-shadow: 0 16px 40px rgba(2, 8, 12, 0.28);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.about-points p {
    margin: 0;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(77, 168, 155, 0.12);
    color: #d9f3f0;
    text-align: center;
    font-weight: 700;
}

.apps-section {
    padding: 5rem 0;
}

.section-heading {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-intro {
    margin: 0;
    max-width: 54rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.app-card {
    display: grid;
    gap: 1.4rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(14, 31, 41, 0.96), rgba(8, 20, 27, 0.96));
    border: 1px solid rgba(143, 211, 203, 0.12);
    box-shadow: var(--shadow);
}

.app-card-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 411px;
    gap: 1.5rem;
    align-items: start;
}

.app-card-main {
    display: grid;
    gap: 1.4rem;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-icon-placeholder {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: linear-gradient(160deg, var(--brand), var(--accent));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 16px 26px rgba(17, 60, 74, 0.18);
}

.app-subtitle,
.qr-label {
    margin: 0.25rem 0 0;
    color: var(--muted);
}

.app-store-badge-link {
    display: inline-flex;
    line-height: 0;
}

.app-store-badge {
    width: auto;
    max-width: 100%;
    height: 50px;
    display: block;
}

.app-description {
    margin: 0;
    max-width: 60rem;
}

.app-note {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
    text-align: center;
}

.feature-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text);
    max-width: 56ch;
}

.feature-list-title,
.feature-list-detail {
    display: block;
}

.feature-list-title {
    font-weight: 700;
    color: var(--text);
}

.feature-list-detail {
    margin-top: 0.18rem;
    color: var(--muted);
}

.feature-list li + li {
    margin-top: 0.5rem;
}

.app-card-footer {
    display: grid;
    grid-template-columns: 1fr 411px;
    gap: 1.5rem;
    align-items: end;
}

.qr-panel {
    min-width: 170px;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.app-card-side {
    min-width: 240px;
    justify-items: center;
    align-content: start;
    justify-self: center;
}

.featured-app-qr-panel {
    width: 100%;
    min-width: 0;
    justify-items: center;
    text-align: center;
}

.featured-app-qr-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.featured-app-store-button-link {
    display: inline-flex;
    line-height: 0;
}

.featured-app-store-button-image {
    height: 45px;
    width: auto;
    display: block;
    border-radius: 2px;
}

.app-card-preview {
    width: 411px;
    display: grid;
    justify-items: center;
    align-content: start;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: start;
}

.app-preview-link {
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
    border-radius: 24px;
}

.app-preview-link:focus-visible {
    outline: 2px solid rgba(143, 211, 203, 0.72);
    outline-offset: 4px;
}

.app-preview-image {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 24px;
    border: 1px solid rgba(143, 211, 203, 0.12);
    background: rgba(10, 23, 31, 0.96);
    box-shadow: 0 16px 36px rgba(2, 8, 12, 0.24);
    object-fit: contain;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    filter: saturate(0.98) contrast(0.99);
    transition:
        opacity 420ms ease,
        transform 420ms ease,
        filter 420ms ease;
}

.app-preview-image.is-ready {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 22px;
    border: 1px dashed rgba(143, 211, 203, 0.24);
    background:
        linear-gradient(135deg, rgba(77, 168, 155, 0.12), rgba(15, 45, 58, 0.28)),
        rgba(10, 23, 31, 0.96);
    color: #d9f3f0;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.qr-image {
    width: 140px;
    max-width: 100%;
    height: 140px;
    display: block;
    border-radius: 0;
    object-fit: contain;
}

.site-footer {
    padding: 1.5rem 0 2.5rem;
    border-top: 1px solid rgba(136, 185, 199, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

.footer-brand {
    margin: 0 0 0.25rem;
    color: var(--brand);
    font-size: 1.1rem;
    font-weight: 800;
}

.product-header-inner {
    justify-content: space-between;
}

.header-logo-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0;
}

.header-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.product-page {
    padding-bottom: 3rem;
}

.product-hero,
.product-section {
    padding: 4.5rem 0 0;
}

.product-hero-grid,
.cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 2rem;
    align-items: start;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--brand-soft);
    font-weight: 700;
}

.back-link:hover,
.back-link:focus-visible {
    color: #d9f3f0;
}

.product-subtitle {
    margin: 1rem 0 0;
    max-width: 34rem;
    color: #d9f3f0;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
}

.privacy-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 40rem;
}

.product-highlights {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.product-highlights li + li {
    margin-top: 0.5rem;
}

.product-showcase,
.product-app-card,
.feature-card,
.screenshot-card,
.step-card,
.faq-card,
.cta-card {
    position: relative;
}

.product-app-card,
.feature-card,
.screenshot-card,
.step-card,
.faq-card,
.cta-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(14, 31, 41, 0.96), rgba(8, 20, 27, 0.96));
    border: 1px solid rgba(143, 211, 203, 0.12);
    box-shadow: var(--shadow);
}

.product-download-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: end;
    margin-top: 1.75rem;
}

.top-download-card-link {
    display: block;
    width: min(100%, 360px);
    justify-self: center;
    margin: 1rem auto 0;
    line-height: 0;
}

.top-download-card-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
}

#download.product-download-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
}

.product-qr-panel {
    justify-items: center;
}

.feature-card-grid,
.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.faq-list {
    margin-bottom: 1.25rem;
}

.feature-card,
.faq-card {
    display: grid;
    gap: 0.75rem;
}

.faq-feature-card {
    margin-top: 0;
}

.feature-card p,
.faq-card p,
.step-card p,
.screenshot-card figcaption {
    margin: 0;
    color: var(--muted);
}

.screenshots-section .section-intro,
.cta-card .section-intro {
    max-width: 42rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.screenshot-card {
    display: grid;
    gap: 1rem;
}

.instruction-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    height: 100%;
}

.instruction-card h3 {
    min-height: 4.5rem;
    line-height: 1.1;
}

.instruction-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.instruction-card p + p {
    margin-top: 0.35rem;
}

.screenshot-placeholder {
    min-height: 220px;
    border-radius: 24px;
    border: 1px dashed rgba(143, 211, 203, 0.24);
    background:
        linear-gradient(135deg, rgba(77, 168, 155, 0.12), rgba(15, 45, 58, 0.28)),
        rgba(10, 23, 31, 0.96);
    color: #d9f3f0;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.step-card {
    display: grid;
    gap: 0.85rem;
}

.step-number {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: rgba(77, 168, 155, 0.14);
    color: #d9f3f0;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.philosophy-panel {
    width: 100%;
}

.philosophy-grid p {
    margin-bottom: 0;
}

.cta-section {
    padding-bottom: 4.5rem;
}

.contact-hero {
    padding: 4.5rem 0 2rem;
}

.contact-shell {
    display: grid;
    gap: 2rem;
}

.contact-card {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(14, 31, 41, 0.96), rgba(8, 20, 27, 0.96));
    border: 1px solid rgba(143, 211, 203, 0.12);
    box-shadow: var(--shadow);
}

.contact-card .section-intro {
    max-width: 46rem;
}

.thankyou-card {
    max-width: 760px;
}

.thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.thankyou-note {
    margin: 0;
    color: var(--muted);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.5rem;
}

.form-field label {
    color: var(--brand-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(143, 211, 203, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(157, 184, 194, 0.75);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(143, 211, 203, 0.5);
    box-shadow: 0 0 0 4px rgba(77, 168, 155, 0.12);
}

.form-field textarea {
    min-height: 180px;
    resize: vertical;
}

.form-field-full {
    grid-column: 1 / -1;
}

.honeypot {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

.cf-turnstile {
    min-height: 65px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-top: 0.5rem;
}

.contact-form .button {
    min-height: 56px;
    padding: 0 1.6rem;
    font-size: 1rem;
}

.form-note {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .app-card-layout,
    .app-card-footer,
    .footer-grid,
    .product-hero-grid,
    .product-download-panel,
    .feature-card-grid,
    .screenshot-grid,
    .steps-grid,
    .faq-list,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .hero-logo-panel {
        min-height: 260px;
    }

    .hero-logo {
        max-height: 300px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

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

    .qr-panel {
        justify-items: start;
    }

    .app-card-side {
        min-width: 0;
        justify-items: start;
    }

    .featured-app-qr-panel {
        width: min(100%, 240px);
        justify-items: center;
        text-align: center;
    }

    .app-card-preview {
        width: min(100%, 240px);
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        margin-inline: auto;
        justify-items: center;
    }

    .app-preview-image {
        width: min(100%, 240px);
        margin-inline: auto;
    }

    .product-qr-panel {
        justify-items: start;
    }
}

@media (max-width: 640px) {
    .header-inner,
    .site-nav {
        flex-direction: column;
    }

    .header-inner {
        justify-content: center;
        padding: 0.9rem 0;
    }

    h1 {
        max-width: 9ch;
    }

    .hero-logo {
        width: min(100%, 520px);
        max-height: 220px;
    }

    .app-card-header {
        align-items: flex-start;
    }

    .button,
    .app-links a {
        width: 100%;
    }

    .featured-app-store-button-link {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .product-header-inner {
        justify-content: center;
    }

    .header-logo {
        height: 36px;
    }

    .product-download-panel .button,
    .cta-card .button {
        width: 100%;
    }

    .screenshot-placeholder {
        min-height: 220px;
    }

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

.cf-turnstile {
    display: block !important;
    width: 100%;
    min-height: 65px;
    margin: 20px 0;
    overflow: visible !important;
}

.cf-turnstile iframe {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
}

.contact-form,
.contact-card,
.contact-shell,
.contact-form-grid,
.form-actions {
    overflow: visible !important;
}
