:root {
    color-scheme: dark;
    --bg: #040604;
    --bg-strong: #020302;
    --surface: #0c120f;
    --surface-soft: #101814;
    --ink: #fbfff6;
    --muted: #aab6aa;
    --muted-strong: #dfe8da;
    --quiet: #778477;
    --line: rgba(255, 255, 255, 0.1);
    --line-soft: rgba(255, 255, 255, 0.06);
    --green: #85f06f;
    --green-deep: #254d2b;
    --mint: #b9dfcb;
    --sky: #9fb9d9;
    --amber: #e7cf8e;
    --shadow: 0 32px 88px rgba(0, 0, 0, 0.44);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(133, 240, 111, 0.07) 0%, rgba(133, 240, 111, 0) 360px),
        linear-gradient(180deg, #080d0a 0%, var(--bg) 54%, var(--bg-strong) 100%);
    color: var(--ink);
    font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 24px;
    background: rgba(4, 6, 4, 0.78);
    border-bottom: 1px solid var(--line-soft);
    backdrop-filter: blur(18px);
}

.navbar-inner {
    position: relative;
    width: min(1220px, 100%);
    min-height: 52px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.navbar-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-logo-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.brand-logo-shell {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-wordmark {
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: 0;
}

.navbar-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.navbar-links a,
.footer-links a {
    color: var(--muted-strong);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-links a:hover,
.navbar-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--green);
}

.navbar-social {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.navbar-social .social-link,
.icon-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.navbar-social .social-link:hover,
.navbar-social .social-link:focus-visible,
.icon-button:hover,
.icon-button:focus-visible,
.icon-button[aria-current="page"] {
    color: #071008;
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-1px);
}

.hero-section {
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
}

.hero-inner {
    width: min(1220px, calc(100% - 48px));
    min-height: min(660px, calc(100svh - 82px));
    max-height: 690px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.82fr);
    gap: 44px;
    align-items: center;
    padding: 22px 0 28px;
}

.hero-copy-block {
    max-width: 660px;
}

.section-kicker {
    margin: 0 0 6px;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-copy-block h1 {
    margin: 0;
    color: var(--ink);
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(3rem, 5.25vw, 4.85rem);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: 0;
}

.hero-subtitle {
    max-width: 590px;
    margin: 18px 0 0;
    color: var(--muted-strong);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.store-btn,
.secondary-action {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.store-btn {
    gap: 12px;
    padding: 0 22px 0 18px;
    color: #071008;
    background: var(--green);
    box-shadow: 0 18px 42px rgba(133, 240, 111, 0.18);
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(133, 240, 111, 0.28);
}

.playstore-btn {
    background: #0d1511;
    color: var(--ink);
    border: 1px solid rgba(133, 240, 111, 0.35);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.playstore-btn:hover {
    background: #131e18;
    border-color: var(--green);
    box-shadow: 0 22px 48px rgba(133, 240, 111, 0.22);
}

.store-icon {
    width: 25px;
    height: 25px;
}

.play-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.store-btn small {
    margin-bottom: 3px;
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.secondary-action {
    padding: 0 18px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
}

.secondary-action:hover,
.secondary-action:focus-visible {
    color: var(--ink);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.hero-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 22px 0 0;
    padding: 1px;
    list-style: none;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
}

.hero-feature-list li {
    min-height: 92px;
    padding: 14px;
    background: rgba(12, 18, 15, 0.86);
}

.hero-feature-list strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.98rem;
}

.hero-feature-list span {
    display: block;
    color: var(--quiet);
    font-size: 0.88rem;
    line-height: 1.55;
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.phone-frame {
    position: absolute;
    margin: 0;
    aspect-ratio: 1080 / 2400;
    border-radius: 42px;
    padding: 7px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045));
    box-shadow: var(--shadow);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 34px;
    background: #05070a;
}

.phone-daily {
    z-index: 3;
    top: 0;
    left: 50%;
    width: min(270px, 52vw);
    transform: translateX(-50%);
}

.phone-weekly,
.phone-insights {
    z-index: 1;
    width: 170px;
    opacity: 0.9;
    filter: saturate(0.95) brightness(0.9);
}

.phone-weekly {
    top: 78px;
    left: 0;
    transform: rotate(-5deg);
}

.phone-insights {
    right: 0;
    bottom: 22px;
    transform: rotate(5deg);
}

.visual-caption {
    position: absolute;
    z-index: 4;
    left: 18px;
    bottom: 18px;
    width: 246px;
    padding: 16px;
    background: rgba(8, 12, 10, 0.88);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.visual-caption span {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.visual-caption strong {
    display: block;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.45;
}

.features-section,
.screenshots-showcase {
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
}

.features-section {
    padding: 84px 0 34px;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-intro.compact {
    max-width: 680px;
}

.section-intro h2 {
    margin: 0;
    color: var(--ink);
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.section-intro p:not(.section-kicker) {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.78;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
}

.feature-card {
    min-height: 244px;
    padding: 28px 24px;
    background: rgba(12, 18, 15, 0.88);
}

.feature-card span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 34px;
    color: #071008;
    background: var(--green);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 900;
}

.feature-card:nth-child(2) span {
    background: var(--mint);
}

.feature-card:nth-child(3) span {
    background: var(--sky);
}

.feature-card:nth-child(4) span {
    background: var(--amber);
}

.feature-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1.24;
}

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

.screenshots-showcase {
    padding: 66px 0 96px;
    overflow: hidden;
}

.screenshot-row {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 216px;
    flex: 0 0 auto;
    border: 6px solid #141817;
    border-radius: 34px;
    background: #05070a;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease;
}

.phone-mockup:hover {
    transform: translateY(-8px);
}

.screenshot-row .phone-mockup:nth-child(3) {
    width: 246px;
}

.site-footer {
    border-top: 1px solid var(--line-soft);
    padding: 34px 24px;
}

.footer-inner {
    width: min(1220px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 800;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    padding: 3px;
    background: #000;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-inner p {
    margin: 0;
    color: var(--quiet);
    font-size: 0.9rem;
}

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

.site-header {
    padding: 44px 0;
    border-bottom: 1px solid var(--line-soft);
}

.header-inner,
.nav-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
}

.logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 6px;
    background: #000;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.site-header h1,
.brand-copy h1 {
    margin: 0;
    color: var(--ink);
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1;
}

.site-header p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.eyebrow {
    margin: 0;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-nav {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(4, 6, 4, 0.72);
    backdrop-filter: blur(18px);
}

.nav-inner {
    gap: 24px;
}

.site-nav a {
    color: var(--muted-strong);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

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

.document-section,
.contact-section {
    padding: 42px 0 72px;
}

.document-section h2 {
    margin: 42px 0 16px;
    color: var(--ink);
    font-size: 1.7rem;
    line-height: 1.2;
}

.document-section h3 {
    margin: 30px 0 12px;
    color: var(--ink);
    font-size: 1.22rem;
}

.document-section p,
.document-section li {
    color: var(--muted-strong);
    font-size: 1rem;
    line-height: 1.78;
}

.document-section a {
    color: var(--green);
}

.document-section ul {
    margin: 18px 0 30px;
    padding-left: 22px;
}

.small-note {
    margin: 0 0 24px;
    color: var(--quiet);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 56px;
    align-items: start;
}

.contact-copy h2 {
    margin: 0;
    color: var(--ink);
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: 1;
}

.contact-copy p:not(.section-kicker) {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--muted-strong);
    font-size: 1.06rem;
    line-height: 1.76;
}

.contact-panel {
    display: grid;
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
}

.contact-panel > div {
    padding: 22px;
    background: rgba(12, 18, 15, 0.88);
}

.contact-panel span {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-panel strong,
.contact-panel a {
    color: var(--ink);
    font-size: 1.06rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.contact-panel a {
    text-decoration-color: rgba(133, 240, 111, 0.45);
    text-underline-offset: 4px;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-socials a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #071008;
    background: var(--green);
    border-radius: 999px;
    text-decoration: none;
}

@media (max-width: 1060px) {
    .navbar-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .navbar-links {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: 0;
        max-height: none;
        padding: 44px 0 64px;
    }

    .hero-copy-block {
        max-width: 780px;
    }

    .hero-visual {
        width: min(560px, 100%);
        min-height: 650px;
        margin: 0 auto;
    }

    .phone-daily {
        width: 310px;
    }

    .phone-weekly,
    .phone-insights {
        width: 200px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .screenshot-row {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 20px;
        scroll-snap-type: x proximity;
    }

    .phone-mockup {
        scroll-snap-align: center;
    }
}

@media (max-width: 700px) {
    .site-navbar {
        padding: 12px 16px;
    }

    .navbar-wordmark {
        font-size: 1.08rem;
    }

    .brand-logo-shell {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .navbar-logo {
        width: 35px;
        height: 35px;
    }

    .navbar-social {
        gap: 7px;
    }

    .navbar-social .social-link,
    .icon-button {
        width: 38px;
        height: 38px;
    }

    .hero-inner,
    .features-section,
    .screenshots-showcase {
        width: min(100% - 28px, 620px);
    }

    .hero-inner {
        gap: 26px;
        padding-top: 28px;
    }

    .hero-copy-block h1 {
        font-size: clamp(2.3rem, 10.5vw, 2.85rem);
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.62;
    }

    .hero-actions {
        align-items: stretch;
    }

    .store-btn,
    .secondary-action {
        width: 100%;
    }

    .hero-feature-list {
        display: none;
    }

    .hero-feature-list li {
        min-height: 0;
    }

    .hero-visual {
        min-height: 440px;
    }

    .phone-daily {
        width: min(230px, 70vw);
    }

    .phone-weekly,
    .phone-insights {
        width: min(132px, 40vw);
    }

    .phone-weekly {
        top: 68px;
    }

    .phone-insights {
        bottom: 62px;
    }

    .visual-caption {
        left: 50%;
        bottom: 0;
        width: min(270px, calc(100% - 20px));
        padding: 14px;
        transform: translateX(-50%);
    }

    .features-section {
        padding-top: 72px;
    }

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

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

    .feature-card span {
        margin-bottom: 22px;
    }

    .phone-mockup,
    .screenshot-row .phone-mockup:nth-child(3) {
        width: 218px;
    }

    .container {
        width: min(100% - 28px, 620px);
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .navbar-inner {
        gap: 12px;
    }

    .navbar-social .social-link {
        display: none;
    }
}
