
:root {
    --bg: #f3f6fa;
    --text: #102133;
    --text-muted: #4c6378;
    --surface: #ffffff;
    --surface-alt: #eef4fb;
    --line: #d9e3ef;
    --brand: #1f5b8a;
    --brand-strong: #164161;
    --accent: #2a9d8f;
    --shadow: 0 18px 40px rgba(16, 33, 51, 0.12);
    --radius-lg: 22px;
    --radius-md: 14px;
    --header-height: 74px;
    --anchor-offset: calc(var(--header-height) + 6px);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-padding-top: var(--anchor-offset);
}

/* Hide page only while WebFont Loader marks fonts as loading. */
html.wf-loading body {
    opacity: 0;
    visibility: hidden;
}

html.wf-active body,
html.wf-inactive body {
    opacity: 1;
    visibility: visible;
}

main [id] {
    scroll-margin-top: var(--anchor-offset);
}

body {
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    display: flex;
    flex-direction: column;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(50rem 22rem at 88% -2%, rgba(42, 157, 143, 0.26), transparent 65%),
        radial-gradient(48rem 24rem at 0% 20%, rgba(31, 91, 138, 0.17), transparent 68%),
        linear-gradient(180deg, #f9fbff 0%, #edf3fa 100%);
}

a {
    color: var(--brand);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
    color: var(--brand-strong);
}

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

.section {
    padding: 4rem 0;
}

.section h2 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 2vw + 1.2rem, 2.6rem);
    letter-spacing: -0.02em;
}

.section-intro {
    max-width: 760px;
    margin-top: 0.85rem;
    color: var(--text-muted);
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(243, 246, 250, 0.85);
    border-bottom: 1px solid rgba(217, 227, 239, 0.8);
    transition: transform 0.22s ease;
    will-change: transform;
}

.site-header.is-hidden {
    transform: translateY(calc(-100% - 2px));
}

.header-row {
    height: var(--header-height);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.7rem;
    color: var(--text);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand span {
    white-space: nowrap;
}

.brand.is-text-hidden {
    gap: 0;
}

.brand.is-text-hidden span {
    display: none;
}

.logo {
    --logo-size: clamp(50px, 7.2vw, 60px);
    --logo-shadow-y: calc(var(--logo-size) * 0.24);
    --logo-shadow-blur: calc(var(--logo-size) * 0.58);
    width: var(--logo-size);
    height: var(--logo-size);
    border-radius: 10px;
    filter: drop-shadow(0 var(--logo-shadow-y) var(--logo-shadow-blur) rgba(16, 33, 51, 0.22));
}

.large-logo {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
}

.site-nav {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    justify-self: end;
    width: 100%;
    gap: clamp(0.2rem, 1.1vw, 1.1rem);
    position: relative;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: clamp(0.22rem, 0.55vw, 0.32rem) clamp(0.4rem, 1.1vw, 0.68rem);
    font-size: clamp(0.88rem, 1.6vw, 1rem);
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

.site-nav a:hover {
    color: var(--brand-strong);
    background: rgba(31, 91, 138, 0.08);
}

.suppress-nav-hover .site-nav a:hover:not([aria-current="true"]) {
    color: var(--text-muted);
    background: transparent;
}

.site-nav a:focus-visible {
    color: var(--brand-strong);
    background: transparent;
    outline: 2px solid rgba(31, 91, 138, 0.35);
    outline-offset: 2px;
}

.site-nav a[aria-current="page"],
.site-nav a[aria-current="true"] {
    color: var(--brand-strong);
    background: rgba(31, 91, 138, 0.16);
}

.site-nav-more {
    display: none;
    position: relative;
    align-items: center;
    flex: 0 0 auto;
}

.site-nav-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    color: var(--text-muted);
    font-weight: 600;
    font-family: inherit;
    padding: clamp(0.22rem, 0.55vw, 0.32rem) clamp(0.4rem, 1.1vw, 0.68rem);
    font-size: clamp(0.88rem, 1.6vw, 1rem);
    line-height: 1.2;
    margin: 0;
    border-radius: 999px;
    cursor: pointer;
}

.site-nav-more-toggle:hover,
.site-nav-more-toggle[aria-expanded="true"] {
    color: var(--brand-strong);
    background: rgba(31, 91, 138, 0.08);
}

.site-nav-more-toggle:focus-visible {
    color: var(--brand-strong);
    background: transparent;
    outline: 2px solid rgba(31, 91, 138, 0.35);
    outline-offset: 2px;
}

.site-nav-more-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    min-width: 180px;
    z-index: 30;
    padding: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(16, 33, 51, 0.14);
}

.site-nav-more-menu a {
    display: block;
    border-radius: 10px;
}

.site-nav-more.is-open .site-nav-more-menu {
    display: block;
}

.site-nav-hidden {
    display: none !important;
}

.site-nav.is-compact .site-nav-more {
    display: inline-flex;
}

.hero {
    padding-top: 4.5rem;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    margin-left: 2rem;
}

.hero-copy h1 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3vw + 1rem, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-copy>* {
    animation: riseIn 0.62s ease both;
}

.hero-copy>*:nth-child(2) {
    animation-delay: 0.07s;
}

.hero-copy>*:nth-child(3) {
    animation-delay: 0.14s;
}

.hero-copy>*:nth-child(4) {
    animation-delay: 0.2s;
}

.hero-copy>*:nth-child(5) {
    animation-delay: 0.27s;
}

.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--brand-strong);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.78rem;
}

.lead {
    max-width: 62ch;
    color: var(--text-muted);
    font-size: 1.07rem;
    margin: 1rem 0 0;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: 0.55rem;
}

.hero-points li {
    position: relative;
    padding-left: 1.25rem;
    font-weight: 600;
}

.hero-points li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.53rem;
}

.hero-preview {
    width: min(90%, 350px);
    margin-inline: auto 0;
    margin-right: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 0.7rem;
    box-shadow: var(--shadow);
}

.hero-preview img {
    width: 100%;
    display: block;
    border-radius: calc(var(--radius-lg) - 8px);
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(238, 244, 251, 0.72));
    border-top: 1px solid rgba(217, 227, 239, 0.7);
    border-bottom: 1px solid rgba(217, 227, 239, 0.7);
}

.trust-strip {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

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

.trust-item {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: 0 8px 18px rgba(16, 33, 51, 0.07);
}

.trust-item h2 {
    margin: 0;
    font-size: clamp(1.1rem, 1.1vw + 0.8rem, 1.45rem);
}

.trust-item p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.steps-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(16, 33, 51, 0.08);
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: var(--brand);
    color: #f2f8ff;
    font-weight: 800;
    font-size: 0.88rem;
}

.step-card h3 {
    margin: 0.7rem 0 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
}

.step-card > p:not(.step-number) {
    color: var(--text-muted);
}

.feature-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.roadmap-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.roadmap-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    box-shadow: 0 8px 18px rgba(16, 33, 51, 0.08);
}

.roadmap-card h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.18rem;
}

.roadmap-card ul {
    margin: 0.8rem 0 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.42rem;
}

.roadmap-card li {
    color: var(--text-muted);
}

.roadmap-card-upcoming {
    background: linear-gradient(180deg, #ffffff 0%, #f5fbf9 100%);
    border-color: rgba(42, 157, 143, 0.45);
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem 1rem 0.9rem;
    box-shadow: 0 8px 18px rgba(16, 33, 51, 0.06);
    animation: riseIn 0.55s ease both;
}

.feature-card:nth-child(2) {
    animation-delay: 0.05s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.15s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.25s;
}

.feature-card h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.02rem;
}

.feature-card p {
    margin: 0.55rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.screens-grid {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.screen-card {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    /* Dark-to-light gradient behind the phone image */
    background: linear-gradient(180deg, #1a1a1a 0%, #e8e8e8 100%);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(16, 33, 51, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    /* Enforce the 16:9 overall card ratio */
    aspect-ratio: 16 / 9;
    /* Horizontal padding pulls the image away from the card edges */
    padding: 0 1.75rem;
    display: flex;
    align-items: stretch;
}

.screen-card img {
    width: 100%;
    display: block;
    /* No aspect-ratio here — image stretches to fill the card height */
    object-fit: cover;
    object-position: var(--img-pos, 50% 50%);
    /* Phone-edge side borders */
    border-left: 7px solid #000000;
    border-right: 7px solid #000000;
    border-radius: 4px;
    /* LQIP: blurred placeholder shown instantly via background while full image loads */
    background-size: cover;
    background-position: var(--img-pos, 50% 50%);
}

.screen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(16, 33, 51, 0.15);
}

/* ── Lightbox ─────────────────────────────────── */

.lightbox-open {
    overflow: hidden;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 20, 30, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: lightboxFadeIn 0.2s ease;
}

.lightbox-overlay.is-open {
    display: flex;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-img {
    max-width: min(420px, calc(100vw - 3rem));
    max-height: calc(100dvh - 5rem);
    width: auto;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    display: block;
    animation: lightboxSlideUp 0.22s ease;
}

@keyframes lightboxSlideUp {
    from { transform: translateY(14px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.cta-panel {
    padding-top: 1rem;
    padding-bottom: 4.8rem;
}

.cta-content {
    text-align: center;
    background: linear-gradient(145deg, #164161 0%, #1f5b8a 56%, #2a9d8f 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.2rem;
    box-shadow: var(--shadow);
}

.cta-content h2 {
    font-size: clamp(1.8rem, 1.5vw + 1.25rem, 2.35rem);
}

.cta-content p {
    margin: 0.65rem 0 0;
    opacity: 0.94;
}

.store-badges {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.store-badges div {
    display: none;
}

.store-badges img {
    height: 42px;
    width: auto;
}

main {
    width: 100%;
    flex: 1;
}

footer {
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    text-align: center;
    padding: 1.1rem;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.55);
}

/* Shared support styles for privacy and go pages */
header:not(.site-header) {
    text-align: center;
    padding: 2.5rem 1rem 1rem;
}

header:not(.site-header) h1 {
    margin: 0.45rem 0 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.85rem, 2vw + 1.2rem, 2.55rem);
}

.subtitle {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.page-title {
    width: min(860px, calc(100% - 2rem));
    margin: 0 auto;
    text-align: center;
    padding: 2.2rem 0 0.9rem;
}

.page-title h1 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 1.7vw + 1.2rem, 2.45rem);
}

.page-title .subtitle {
    margin-top: 0.45rem;
}

.intro,
.features,
.cta,
.policy-content {
    width: min(860px, calc(100% - 2rem));
    margin: 0 auto;
}

.intro {
    text-align: left;
}

.features {
    margin-top: 1.2rem;
}

.features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.features li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
}

.cta {
    text-align: center;
    margin-top: 1.5rem;
}

.actions-row {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
}

.action-link {
    display: inline-block;
    background: var(--brand);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.62rem 1.2rem;
    text-decoration: none;
    font-weight: 700;
}

.action-link:visited,
.action-link:hover,
.action-link:focus-visible {
    color: #ffffff;
}

.helper-text {
    max-width: 720px;
    width: calc(100% - 2rem);
    margin: 0.8rem auto 0;
    color: var(--text-muted);
    text-align: center;
}

.policy-content {
    margin-top: 1.2rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
}

.policy-content h2,
.policy-content h3 {
    font-family: 'Space Grotesk', sans-serif;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        padding-top: 3rem;
    }

    .hero-preview {
        margin-inline: auto;
    }

    .hero-preview img {
        transform: none;
    }

    .feature-grid,
    .roadmap-grid,
    .screens-grid,
    .steps-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 66px;
        --anchor-offset: calc(var(--header-height) + 6px);
    }

    .container {
        width: min(1120px, calc(100% - 1.2rem));
    }

    .section {
        padding: 3.1rem 0;
    }

    .page-title {
        padding-top: 1.6rem;
    }

    .header-row {
        height: var(--header-height);
        column-gap: 0.6rem;
    }

    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(243, 246, 250, 0.98);
    }

    .site-nav {
        gap: 0.3rem;
        margin-left: auto;
        min-width: 0;
    }

    .feature-grid,
    .roadmap-grid,
    .screens-grid,
    .steps-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .store-badges img {
        height: 38px;
    }

    .policy-content {
        padding: 1rem;
    }
}
