:root {
    color-scheme: light;
    --ink: #102017;
    --muted: #52685a;
    --surface: #f2f8f3;
    --panel: #ffffff;
    --line: rgba(16, 32, 23, 0.12);
    --field: #0f8f4b;
    --field-dark: #0b5b31;
    --blue: #2382f4;
    --red: #e84a3d;
    --shadow: 0 22px 54px rgba(8, 52, 31, 0.16);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--surface);
    color: var(--ink);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.site-header {
    align-items: center;
    background: rgba(242, 248, 243, 0.88);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 22px;
    justify-content: space-between;
    left: 0;
    padding: 14px clamp(18px, 5vw, 56px);
    position: sticky;
    right: 0;
    top: 0;
    z-index: 20;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.brand-link {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    text-decoration: none;
}

.brand-link img {
    border-radius: 12px;
    height: 38px;
    width: 38px;
}

.brand-link span {
    font-size: 19px;
    font-weight: 900;
}

.site-header nav,
.site-footer nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.site-header nav a,
.site-footer nav a {
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    padding: 9px 11px;
    text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
    background: rgba(16, 32, 23, 0.08);
    color: var(--ink);
}

.site-header nav a.nav-highlight {
    background: var(--ink);
    color: #fff;
}

.site-header nav a.nav-highlight:hover {
    background: var(--field-dark);
    color: #fff;
}

.hero-section {
    isolation: isolate;
    min-height: calc(92vh - 68px);
    overflow: hidden;
    padding: clamp(44px, 7vw, 86px) clamp(20px, 6vw, 76px);
    position: relative;
}

.hero-field {
    background:
        linear-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        linear-gradient(145deg, #176f3c 0%, #0e8d4a 48%, #092615 100%);
    background-size: 72px 72px, 72px 72px, auto;
    inset: 0;
    position: absolute;
    z-index: -2;
}

.hero-field::before {
    border: 3px solid rgba(255, 255, 255, 0.46);
    content: "";
    inset: clamp(22px, 5vw, 58px);
    position: absolute;
}

.hero-field::after {
    background: linear-gradient(90deg, rgba(10, 23, 15, 0.66), rgba(10, 23, 15, 0.18), rgba(10, 23, 15, 0.72));
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}

.hero-copy {
    max-width: 690px;
    padding-top: clamp(24px, 7vw, 92px);
    position: relative;
    z-index: 3;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    color: #fff;
    font-size: clamp(58px, 12vw, 132px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.88;
    margin-bottom: 24px;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 780;
    line-height: 1.18;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    align-items: center;
    background: #2fd35f;
    border-radius: 18px;
    color: #fff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    justify-content: center;
    min-height: 52px;
    padding: 14px 20px;
    text-decoration: none;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.button.disabled {
    background: rgba(255, 255, 255, 0.26);
    color: rgba(255, 255, 255, 0.9);
}

.button.promo-button {
    background: #f2c230;
    color: #1e1a08;
}

.hero-screens {
    bottom: -74px;
    display: flex;
    gap: 20px;
    position: absolute;
    right: clamp(16px, 6vw, 80px);
    z-index: 2;
}

.phone-shot {
    aspect-ratio: 591 / 1280;
    border: 8px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    object-fit: cover;
    width: clamp(168px, 20vw, 268px);
}

.primary-shot {
    transform: translateY(8px) rotate(-2deg);
}

.secondary-shot {
    opacity: 0.92;
    transform: translateY(78px) rotate(4deg);
}

.section {
    padding: clamp(62px, 9vw, 118px) clamp(20px, 6vw, 76px);
    scroll-margin-top: 86px;
}

.intro-section {
    align-items: start;
    display: grid;
    gap: clamp(32px, 6vw, 72px);
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

.section-copy h2,
.page-hero h1 {
    color: var(--ink);
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.98;
    margin-bottom: 18px;
    text-shadow: none;
}

.section-copy p,
.page-hero p,
.manual-grid p,
.faq-section p,
.legal-content p,
.share-panel p,
.share-panel li {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.feature-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list article,
.manual-grid article,
.faq-section,
.legal-content,
.share-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.feature-list article {
    padding: 22px;
}

.feature-list span {
    color: var(--blue);
    display: block;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 22px;
}

.feature-list h3,
.manual-grid h2,
.faq-section h2,
.legal-content h2,
.share-panel h2 {
    font-size: 24px;
    font-weight: 950;
    line-height: 1.08;
    margin-bottom: 10px;
}

.feature-list p,
.manual-grid p,
.faq-section p,
.legal-content p,
.share-panel p {
    margin-bottom: 0;
}

.share-cta {
    margin-top: 22px;
}

.centered-copy {
    margin: 0 auto 36px;
    max-width: 820px;
    text-align: center;
}

.video-section {
    background: #e7f2e9;
    border-block: 1px solid var(--line);
}

.video-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1040px;
}

.video-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
    margin: 0;
    overflow: hidden;
    padding: 16px;
}

.video-frame {
    background:
        linear-gradient(145deg, rgba(15, 143, 75, 0.18), rgba(35, 130, 244, 0.12)),
        #0a1910;
    border-radius: 18px;
    display: grid;
    min-height: 0;
    overflow: hidden;
    place-items: center;
}

.video-frame video {
    aspect-ratio: 9 / 19.5;
    background: #000;
    display: block;
    max-height: 640px;
    object-fit: contain;
    width: min(100%, 330px);
}

.video-card div:last-child {
    padding: 0 4px 6px;
}

.video-card span {
    color: var(--blue);
    display: block;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 10px;
}

.video-card h3 {
    font-size: 26px;
    font-weight: 950;
    line-height: 1.08;
    margin-bottom: 10px;
}

.video-card p {
    color: var(--muted);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.5;
    margin-bottom: 0;
}

.screenshot-rail {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phone-card {
    margin: 0;
}

.phone-card img {
    aspect-ratio: 591 / 1280;
    border-radius: 30px;
    box-shadow: var(--shadow);
    object-fit: cover;
    width: 100%;
}

.phone-card figcaption {
    color: var(--muted);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    margin-top: 12px;
    text-align: center;
}

.share-section {
    padding-top: 0;
}

.feedback-section {
    align-items: center;
    background: #fff;
    border-block: 1px solid var(--line);
    display: flex;
    gap: 22px;
    justify-content: space-between;
    padding: clamp(28px, 5vw, 46px) clamp(20px, 6vw, 76px);
}

.feedback-section div {
    max-width: 760px;
}

.feedback-section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 950;
    line-height: 1;
    margin-bottom: 10px;
}

.feedback-section p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 0;
}

.button.feedback-button {
    background: var(--ink);
    flex: 0 0 auto;
}

.share-panel {
    align-items: start;
    background:
        linear-gradient(135deg, rgba(15, 143, 75, 0.12), rgba(35, 130, 244, 0.1)),
        #fff;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    padding: clamp(26px, 5vw, 44px);
}

.share-panel ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.share-panel li {
    background: rgba(255, 255, 255, 0.74);
    border-radius: 16px;
    color: var(--ink);
    font-weight: 800;
    padding: 14px 16px;
}

.page-main {
    padding: clamp(42px, 7vw, 86px) clamp(20px, 6vw, 76px);
}

.page-hero {
    margin: 0 auto 36px;
    max-width: 920px;
}

.page-hero .button {
    margin-top: 10px;
}

.manual-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1040px;
}

.manual-grid article {
    padding: 24px;
}

.faq-section,
.legal-content {
    margin: 28px auto 0;
    max-width: 1040px;
    padding: clamp(24px, 4vw, 36px);
}

details {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

details:first-of-type {
    border-top: 0;
}

summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
}

details p {
    margin: 12px 0 0;
}

.legal-page .page-hero {
    max-width: 1040px;
}

.legal-content h2 {
    margin-top: 32px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.site-footer {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 22px;
    justify-content: space-between;
    padding: 28px clamp(18px, 5vw, 56px);
}

.site-footer div {
    display: grid;
    gap: 4px;
}

.site-footer strong {
    font-size: 18px;
    font-weight: 950;
}

.site-footer span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .hero-section {
        min-height: auto;
        padding-bottom: 360px;
    }

    .hero-screens {
        bottom: -42px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .phone-shot {
        width: min(38vw, 220px);
    }

    .intro-section,
    .video-grid,
    .share-panel {
        grid-template-columns: 1fr;
    }

    .video-card {
        grid-template-columns: minmax(210px, 0.54fr) minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .section {
        scroll-margin-top: 136px;
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-header nav {
        gap: 6px;
        justify-content: flex-start;
        width: 100%;
    }

    .site-header nav a {
        font-size: 13px;
        padding: 8px 9px;
    }

    .hero-section {
        padding-bottom: 260px;
    }

    .hero-copy {
        max-width: min(330px, calc(100vw - 40px));
        width: 100%;
    }

    .hero-actions {
        background: rgba(8, 31, 18, 0.66);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 24px;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
        flex-direction: column;
        max-width: 300px;
        padding: 10px;
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-screens {
        bottom: -96px;
    }

    .lead {
        font-size: 20px;
        max-width: 100%;
    }

    .secondary-shot {
        display: none;
    }

    .phone-shot {
        width: min(58vw, 220px);
    }

    .feature-list,
    .video-grid,
    .screenshot-rail,
    .manual-grid {
        grid-template-columns: 1fr;
    }

    .video-card {
        grid-template-columns: 1fr;
    }

    .feedback-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .feedback-button {
        width: 100%;
    }

    .video-frame video {
        max-height: 560px;
        width: min(100%, 280px);
    }

    .phone-card {
        margin-inline: auto;
        max-width: 320px;
    }

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

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