:root {
    --sea-deep: #045A5C;
    --sea: #087F83;
    --lagoon: #25B9B2;
    --mint: #B9EFE4;
    --cream: #FFF9F0;
    --shell: #FFEFD8;
    --coral: #FF765E;
    --sun: #FFD166;
    --palm: #3F8F6B;
    --ink: #173B3C;
    --muted: #5E7672;
    --white: #FFFFFF;
    --line: rgba(4, 90, 92, 0.16);
    --shadow: 0 24px 70px rgba(4, 90, 92, 0.18);
    --hard-shadow: 8px 8px 0 rgba(4, 90, 92, 0.12);
    --heading: "Outfit", system-ui, sans-serif;
    --body: "Nunito", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--body);
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 185, 178, 0.2), transparent 28rem),
        radial-gradient(circle at 90% 2%, rgba(255, 209, 102, 0.32), transparent 22rem),
        linear-gradient(180deg, #F1FFFA 0%, var(--cream) 48%, #F8FFFB 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    z-index: 20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

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

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

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

.sea-glow {
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
    filter: blur(8px);
}

.sea-glow-one {
    width: 420px;
    height: 420px;
    left: -180px;
    top: 120px;
    background: rgba(37, 185, 178, 0.16);
}

.sea-glow-two {
    width: 360px;
    height: 360px;
    right: -120px;
    top: 420px;
    background: rgba(255, 118, 94, 0.12);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(241, 255, 250, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sea-deep);
    font-family: var(--heading);
    font-size: 1.35rem;
    font-weight: 800;
}

.brand img {
    border-radius: 10px;
    box-shadow: 3px 3px 0 rgba(4, 90, 92, 0.13);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    color: var(--muted);
    font-family: var(--heading);
    font-weight: 700;
    font-size: 0.94rem;
}

.desktop-nav a:hover {
    color: var(--sea);
}

.header-cta,
.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 18px;
    color: var(--white);
    background: var(--sea);
    border: 2px solid var(--sea-deep);
    box-shadow: 4px 4px 0 rgba(4, 90, 92, 0.14);
    font-family: var(--heading);
    font-weight: 800;
}

.header-cta:hover,
.support-button:hover,
.store-button:hover {
    transform: translateY(-2px);
}

.mobile-toggle,
.mobile-nav {
    display: none;
}

.hero {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    padding: 72px 0 84px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: 58px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--coral);
    font-family: var(--heading);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-family: var(--heading);
    line-height: 1.04;
}

h1 {
    max-width: 680px;
    font-size: clamp(3.15rem, 7vw, 5.65rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.35rem;
}

p {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.72;
}

.hero-text {
    max-width: 620px;
    margin: 22px 0 28px;
    font-size: 1.22rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.store-button {
    min-width: 178px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--ink);
    color: var(--white);
    border: 2px solid var(--sea-deep);
    box-shadow: var(--hard-shadow);
    transition: transform 180ms ease;
}

.store-button small,
.store-button strong {
    display: block;
    line-height: 1.05;
}

.store-button small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.store-button strong {
    font-family: var(--heading);
    font-size: 1.05rem;
}

.store-icon {
    font-size: 1.65rem;
    line-height: 1;
}

.play-mark {
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid var(--mint);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.trust-row span {
    padding: 7px 12px;
    color: var(--sea-deep);
    background: rgba(185, 239, 228, 0.58);
    border: 1px solid rgba(8, 127, 131, 0.16);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
}

.hero-product {
    position: relative;
}

.hero-product img {
    width: min(100%, 560px);
    margin: 0 auto;
    border-radius: 38px;
    box-shadow: var(--shadow);
}

.proof-strip {
    padding: 22px 0;
    background: var(--sea-deep);
    color: var(--white);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.proof-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}

.proof-grid strong {
    font-family: var(--heading);
    font-size: 1.08rem;
}

.proof-grid span {
    color: rgba(255, 255, 255, 0.72);
}

.section {
    padding: 96px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.left {
    margin: 0;
    text-align: left;
}

.section-heading p:not(.eyebrow) {
    margin: 18px 0 0;
}

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

.feature-card,
.step-card,
.pricing-card,
.showcase-card,
.quote-card,
.support-card,
.faq-item {
    border: 2px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow: 5px 5px 0 rgba(4, 90, 92, 0.07);
}

.feature-card {
    padding: 24px;
}

.feature-card p,
.step-card p,
.pricing-card li {
    font-size: 0.98rem;
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    color: var(--sea-deep);
    background: var(--mint);
    border: 2px solid rgba(4, 90, 92, 0.12);
    font-family: var(--heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.soft-section {
    background: linear-gradient(135deg, rgba(185, 239, 228, 0.48), rgba(255, 239, 216, 0.44));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split-section {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    align-items: start;
    gap: 44px;
}

.steps {
    display: grid;
    gap: 16px;
}

.step-card {
    padding: 22px;
}

.step-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--coral);
    font-family: var(--heading);
    font-weight: 900;
}

.showcase-section {
    padding-top: 78px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
}

.showcase-card,
.quote-card {
    padding: 34px;
}

.quote-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--sea-deep);
    color: var(--white);
}

.quote-card p {
    margin: 0;
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.quote-card span {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

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

.pricing-card.featured {
    background: linear-gradient(180deg, #FFFFFF, rgba(185, 239, 228, 0.68));
    border-color: var(--sea);
    transform: translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    background: var(--coral);
    font-family: var(--heading);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.price {
    margin: 16px 0;
    color: var(--sea);
    font-family: var(--heading);
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1;
}

.price span {
    color: var(--muted);
    font-size: 0.95rem;
}

.pricing-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pricing-card li {
    padding: 10px 0;
    color: var(--muted);
    border-top: 1px solid rgba(4, 90, 92, 0.1);
}

.narrow {
    max-width: 860px;
}

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

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--heading);
    font-size: 1.06rem;
    font-weight: 800;
}

.faq-plus {
    color: var(--sea);
    font-size: 1.55rem;
}

.faq-content {
    display: none;
    padding: 0 22px 20px;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-item.active .faq-plus {
    transform: rotate(45deg);
}

.support-section {
    padding-top: 40px;
}

.support-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(185, 239, 228, 0.64));
}

.support-card h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.site-footer {
    padding: 46px 0 26px;
    color: rgba(255, 255, 255, 0.74);
    background: var(--sea-deep);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding-bottom: 26px;
}

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

.footer-inner p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    font-weight: 800;
}

.copyright {
    margin: 22px auto 0;
    width: min(1120px, calc(100% - 40px));
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

.privacy-body {
    padding: 120px 0 80px;
}

.privacy-container {
    width: min(820px, calc(100% - 40px));
    margin: 0 auto;
}

.privacy-title {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.privacy-subtitle {
    margin-bottom: 36px;
}

.privacy-section {
    margin-bottom: 30px;
    padding: 24px;
    border: 2px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
}

.privacy-section ul {
    margin: 12px 0 0;
    color: var(--muted);
}

/* Capture-ready app preview. It is also used by app.js if the PNG is missing. */
.phone-preview {
    width: 560px;
    min-height: 680px;
    display: grid;
    place-items: center;
    padding: 34px;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 209, 102, 0.55), transparent 150px),
        radial-gradient(circle at 74% 72%, rgba(37, 185, 178, 0.42), transparent 190px),
        linear-gradient(145deg, #E7FFF8, #FFF6E6);
}

.phone-shell {
    position: relative;
    width: 328px;
    padding: 18px;
    border-radius: 46px;
    background: #163C3D;
    box-shadow: 22px 28px 0 rgba(4, 90, 92, 0.14), 0 24px 60px rgba(4, 90, 92, 0.24);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 96px;
    height: 19px;
    transform: translateX(-50%);
    border-radius: 0 0 16px 16px;
    background: #163C3D;
    z-index: 2;
}

.phone-app {
    min-height: 610px;
    overflow: hidden;
    border-radius: 34px;
    padding: 26px 18px 18px;
    background: #FFF9F0;
}

.app-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: var(--ink);
    font-family: var(--heading);
    font-weight: 900;
}

.app-top strong {
    padding: 4px 8px;
    border-radius: 99px;
    color: var(--white);
    background: var(--coral);
    font-size: 0.72rem;
}

.map-card,
.journal-card {
    border: 2px solid rgba(4, 90, 92, 0.16);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 4px 4px 0 rgba(4, 90, 92, 0.09);
}

.map-card {
    padding: 12px;
}

.mini-map {
    position: relative;
    height: 188px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 20% 44%, rgba(63, 143, 107, 0.6) 0 18%, transparent 19%),
        radial-gradient(ellipse at 62% 28%, rgba(63, 143, 107, 0.64) 0 21%, transparent 22%),
        radial-gradient(ellipse at 78% 70%, rgba(63, 143, 107, 0.55) 0 18%, transparent 19%),
        linear-gradient(160deg, #B9EFE4, #69D9D4);
}

.pin {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50% 50% 50% 0;
    background: var(--coral);
    border: 2px solid var(--white);
    transform: rotate(-45deg);
}

.pin-one { left: 76px; top: 92px; }
.pin-two { right: 82px; top: 54px; background: var(--sun); }
.pin-three { right: 46px; bottom: 48px; background: var(--sea); }

.map-card strong,
.map-card small {
    display: block;
}

.map-card small {
    color: var(--muted);
    font-weight: 800;
}

.journal-card {
    margin-top: 14px;
    padding: 16px;
    background: #FFF4DF;
}

.journal-card span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--sea);
    font-family: var(--heading);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journal-card h4 {
    font-size: 1.05rem;
    line-height: 1.28;
}

.photo-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0;
}

.photo-row div {
    height: 74px;
    border: 8px solid var(--white);
    border-radius: 14px;
    box-shadow: 3px 3px 0 rgba(4, 90, 92, 0.08);
}

.photo-row div:nth-child(1) {
    background: linear-gradient(135deg, #FFD166, #FF765E);
}

.photo-row div:nth-child(2) {
    background: linear-gradient(135deg, #25B9B2, #B9EFE4);
}

.photo-row div:nth-child(3) {
    background: linear-gradient(135deg, #3F8F6B, #FFD166);
}

.bottom-tabs {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-radius: 18px;
    color: var(--sea-deep);
    background: rgba(185, 239, 228, 0.68);
    font-size: 0.76rem;
    font-weight: 900;
}

@media (max-width: 940px) {
    .desktop-nav,
    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        margin-left: auto;
        padding: 10px;
        background: transparent;
        border: 0;
    }

    .mobile-toggle span {
        width: 24px;
        height: 2px;
        background: var(--sea-deep);
    }

    .mobile-nav {
        display: none;
        width: min(1120px, calc(100% - 40px));
        margin: 0 auto;
        padding: 0 0 20px;
    }

    .mobile-nav.active {
        display: grid;
        gap: 12px;
    }

    .mobile-nav a {
        padding: 12px 0;
        border-top: 1px solid var(--line);
        color: var(--sea-deep);
        font-family: var(--heading);
        font-weight: 800;
    }

    .hero {
        padding-top: 54px;
    }

    .hero-grid,
    .split-section,
    .showcase-grid,
    .support-card {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .section-heading.left {
        text-align: center;
    }

    .hero-actions,
    .trust-row {
        justify-content: center;
    }

    .hero-grid {
        gap: 34px;
    }

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

@media (max-width: 640px) {
    .container,
    .copyright {
        width: min(100% - 28px, 1120px);
    }

    .hero {
        min-height: auto;
        padding: 32px 0 48px;
    }

    h1 {
        font-size: clamp(2.55rem, 13vw, 3.1rem);
    }

    .eyebrow {
        font-size: 0.72rem;
        margin-bottom: 10px;
    }

    .hero-text {
        margin: 16px 0 20px;
        font-size: 1.03rem;
        line-height: 1.55;
    }

    .store-button {
        min-width: 170px;
        padding: 10px 14px;
    }

    .trust-row {
        display: none;
    }

    .hero-grid {
        gap: 18px;
    }

    .hero-product img {
        width: min(100%, 330px);
        border-radius: 26px;
    }

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

    .pricing-card.featured {
        transform: none;
    }

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

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