/* Nutrisize Health — brand stylesheet
   Palette: clinical blue (trust/health) + traffic-light greens (go/healthy) */

:root {
    --green-900: #0b3d2e;
    --green-700: #14684c;
    --green-600: #178a5e;
    --green-500: #1fa971;
    --green-100: #e3f5ec;
    --blue-700: #0b4f8a;
    --blue-600: #1268b3;
    --blue-100: #e5f0fa;
    --amber-500: #d97706;
    --red-500: #dc2626;
    --ink: #12211b;
    --ink-soft: #40544a;
    --ink-faint: #6b7f74;
    --paper: #ffffff;
    --paper-tint: #f4faf7;
    --line: #dcebe3;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(11, 61, 46, 0.08);
    --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; gap: 28px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 17px; color: var(--green-900);
    letter-spacing: -0.02em;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links {
    display: flex; gap: 22px; list-style: none; margin-left: auto; align-items: center;
}
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-cta {
    background: var(--green-600); color: #fff !important;
    padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--green-700); }
.mobile-menu-btn {
    display: none; margin-left: auto; background: none; border: none;
    font-size: 24px; color: var(--green-900); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1000px 500px at 85% -10%, var(--blue-100) 0%, transparent 60%),
        radial-gradient(900px 500px at 10% 110%, var(--green-100) 0%, transparent 60%),
        var(--paper-tint);
    padding: 88px 0 72px;
    text-align: center;
}
.hero-sub { padding: 56px 0 40px; }
.hero h1 {
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 900; letter-spacing: -0.03em; line-height: 1.12;
    color: var(--green-900);
}
.hero h1 .accent { color: var(--green-600); }
.hero .tagline {
    margin-top: 14px; font-size: clamp(17px, 2.4vw, 22px);
    font-weight: 600; color: var(--blue-700);
}
.hero .lede {
    margin: 22px auto 0; max-width: 760px;
    font-size: 17px; color: var(--ink-soft);
}

/* Store badges (official Apple/Google artwork; Play PNG has built-in padding,
   so it renders taller to visually match the App Store badge) */
.store-buttons {
    margin-top: 34px; display: flex; gap: 6px; justify-content: center;
    align-items: center; flex-wrap: wrap;
}
.store-buttons a:hover { opacity: 0.85; }
.badge-ios { height: 54px; width: auto; display: block; }
.badge-play { height: 80px; width: auto; display: block; }

/* Stats band */
.stats {
    display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
    margin-top: 44px;
}
.stat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 16px 22px; min-width: 150px;
}
.stat .num { font-size: 26px; font-weight: 800; color: var(--green-700); letter-spacing: -0.02em; }
.stat .label { font-size: 13px; color: var(--ink-faint); font-weight: 500; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tint { background: var(--paper-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .kicker {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--green-600);
    background: var(--green-100); border-radius: 999px; padding: 4px 14px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; color: var(--green-900); }
.section-head p { margin-top: 12px; color: var(--ink-soft); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 26px;
}
.card .icon {
    width: 46px; height: 46px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; font-size: 22px;
    background: var(--green-100); margin-bottom: 16px;
}
.card .icon.blue { background: var(--blue-100); }
.card h3 { font-size: 18px; font-weight: 700; color: var(--green-900); margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-soft); }

/* App screenshots strip */
.screens-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
    max-width: 980px; margin: 0 auto;
}
.phone {
    margin: 0; text-align: center;
}
.phone img {
    width: 100%; height: auto; display: block;
    border-radius: 26px;
    border: 6px solid #10241c;
    box-shadow: 0 12px 34px rgba(11, 61, 46, 0.25);
    background: #000;
}
.phone figcaption {
    margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
@media (max-width: 860px) {
    .screens-strip { grid-template-columns: repeat(2, 1fr); max-width: 480px; }
}

/* Traffic light strip */
.traffic {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-top: 20px; font-size: 14px; color: var(--ink-soft); flex-wrap: wrap;
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.g { background: var(--green-600); }
.dot.y { background: var(--amber-500); }
.dot.r { background: var(--red-500); }

/* KPI chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--green-800, #0f5b40);
}

/* Platforms */
.platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.platform {
    background: var(--blue-100); color: var(--blue-700);
    border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 14px;
}

/* Privacy banner */
.privacy-banner {
    background: linear-gradient(120deg, var(--green-900), var(--blue-700));
    color: #fff; border-radius: 20px; padding: 48px 40px; text-align: center;
}
.privacy-banner h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.privacy-banner p { margin: 14px auto 0; max-width: 640px; opacity: 0.92; }
.privacy-banner a { color: #bdf0d8; font-weight: 600; }

/* ---------- Content pages (privacy, disclaimer, support) ---------- */
.page-title { padding: 56px 0 8px; }
.page-title h1 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--green-900); }
.page-title .meta { color: var(--ink-faint); margin-top: 8px; font-size: 14px; }
.content { padding: 32px 0 72px; max-width: 800px; }
.content h2, .content h3 { color: var(--green-900); margin: 32px 0 10px; letter-spacing: -0.01em; }
.content h3 { font-size: 19px; }
.content p, .content li { color: var(--ink-soft); font-size: 15.5px; }
.content ul { padding-left: 22px; margin: 10px 0; }
.content li { margin: 6px 0; }
.policy-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 8px; margin-right: 8px;
    background: var(--green-100); color: var(--green-700);
    font-size: 13px; font-weight: 700; vertical-align: 2px;
}
.notice {
    background: var(--blue-100); border: 1px solid #cbe1f5; border-radius: var(--radius);
    padding: 18px 22px; margin: 20px 0; color: var(--blue-700); font-size: 15px;
}

/* Buttons */
.btn {
    display: inline-block; background: var(--green-600); color: #fff;
    border-radius: 10px; padding: 12px 24px; font-weight: 700;
}
.btn:hover { background: var(--green-700); text-decoration: none; }
.btn.outline { background: transparent; border: 2px solid var(--green-600); color: var(--green-700); }

/* ---------- Footer ---------- */
footer {
    background: var(--green-900); color: #cfe6db; padding: 44px 0 36px;
    font-size: 14px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; text-align: center; }
.footer-links { list-style: none; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { color: #eaf7f0; font-weight: 500; }
.footer-copy { opacity: 0.75; line-height: 1.9; }
.footer-copy a { color: #bdf0d8; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; padding: 16px 24px; gap: 14px; align-items: flex-start;
    }
    .nav-links.show { display: flex; }
    .mobile-menu-btn { display: block; }
}
@media (max-width: 560px) {
    .grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 52px; }
}
