:root {
    --primary-green: #006b5d;
    --deep-green: #003b34;
    --dark-background: #0e1514;
    --accent-gold: #ffc96c;
    --panel-text: #fff8e8;
    --soft-white: #fafcfa;
    --water-blue: #214b63;
    --sky-blue: #a9d3ea;
    --muted-text: #d7e8e2;
    --panel: rgba(0, 59, 52, 0.84);
    --panel-strong: #003b34;
    --shadow: rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 15% 85%, rgba(33, 75, 99, 0.65), transparent 34rem),
        radial-gradient(circle at 82% 18%, rgba(0, 107, 93, 0.72), transparent 38rem),
        var(--dark-background);
    color: var(--panel-text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 201, 108, 0.08), transparent 36%, rgba(169, 211, 234, 0.08));
}

a {
    color: var(--accent-gold);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem clamp(1rem, 4vw, 3rem);
    background: rgba(0, 59, 52, 0.94);
    border-bottom: 2px solid var(--accent-gold);
    box-shadow: 0 0.75rem 2rem var(--shadow);
    backdrop-filter: blur(12px);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--panel-text);
    font-size: 1.1rem;
    font-weight: 800;
}

.brand-mark {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.75rem, 3vw, 1.5rem);
    font-weight: 700;
}

main {
    position: relative;
    z-index: 1;
}

.brand-hero,
.app-hero {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: min(760px, calc(100vh - 5rem));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: clamp(3rem, 8vw, 6rem) 0 4rem;
}

.app-hero {
    min-height: auto;
    padding-bottom: 2rem;
}

.hero-copy,
.app-hero-copy {
    max-width: 42rem;
}

.eyebrow {
    margin: 0 0 0.65rem;
    color: var(--accent-gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1 {
    margin: 0;
    color: var(--soft-white);
    font-size: clamp(2.6rem, 8vw, 5.4rem);
    line-height: 0.98;
}

h2 {
    margin: 0;
    color: var(--soft-white);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
}

h3 {
    margin: 0;
    color: var(--panel-text);
    font-size: 1.22rem;
    line-height: 1.2;
}

.hero-lede {
    margin: 1.2rem 0 0;
    color: var(--muted-text);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.8rem 1.1rem;
    border-radius: 0.65rem;
    border: 2px solid var(--accent-gold);
    font-weight: 900;
}

.button-primary {
    background: var(--accent-gold);
    color: #17352f;
}

.button-secondary {
    background: rgba(0, 59, 52, 0.54);
    color: var(--accent-gold);
}

.button-disabled {
    background: rgba(250, 252, 250, 0.16);
    color: var(--muted-text);
    cursor: default;
}

.hero-sign-wrap {
    display: grid;
    place-items: center;
}

.hero-sign {
    width: min(100%, 44rem);
    filter: drop-shadow(0 1.5rem 2rem rgba(0, 0, 0, 0.35));
}

.app-hero-icon {
    width: 7rem;
    height: 7rem;
    margin-bottom: 1rem;
    object-fit: contain;
}

.app-hero-art {
    width: 100%;
    border: 2px solid var(--accent-gold);
    border-radius: 1.1rem;
    box-shadow: 0 1rem 2.5rem var(--shadow);
}

.section-block {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-heading {
    margin-bottom: 1.4rem;
}

.app-card,
.feature-card,
.policy-section {
    background: var(--panel);
    border: 2px solid var(--accent-gold);
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem var(--shadow);
}

.app-card {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 2rem);
    padding: clamp(1rem, 4vw, 2rem);
}

.app-icon {
    width: 9rem;
    height: 9rem;
    object-fit: contain;
    border-radius: 1rem;
}

.app-card-copy p,
.feature-card p,
.policy-section p,
.policy-section li {
    color: var(--muted-text);
    line-height: 1.65;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1rem 0 1.3rem;
}

.tag-row span {
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 201, 108, 0.72);
    border-radius: 999px;
    color: var(--panel-text);
    background: rgba(0, 107, 93, 0.44);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.feature-card {
    padding: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(1rem, 3vw, 1.6rem);
    align-items: start;
}

.phone-frame {
    margin: 0;
    padding: 0.8rem;
    background: #090c0b;
    border: 2px solid rgba(255, 201, 108, 0.84);
    border-radius: 1.55rem;
    box-shadow: 0 1rem 2rem var(--shadow);
}

.phone-frame img {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    object-position: top center;
    border-radius: 1rem;
    background: var(--deep-green);
}

.phone-frame figcaption {
    padding: 0.75rem 0.25rem 0.15rem;
    color: var(--panel-text);
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
}

.policy-content {
    width: min(920px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 4.5rem) 0;
}

.policy-hero {
    margin-bottom: 1.5rem;
}

.policy-section {
    padding: clamp(1rem, 3vw, 1.6rem);
    margin: 1rem 0;
}

.policy-section h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.policy-section ul {
    padding-left: 1.25rem;
}

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--muted-text);
    background: var(--panel-strong);
    border-top: 2px solid var(--accent-gold);
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .brand-hero,
    .app-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

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

@media (max-width: 520px) {
    .site-nav {
        flex-wrap: wrap;
    }

    .button {
        width: 100%;
    }

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