/* Golf Group Admin — site styles.
   Design tokens mirror the approved GGA app design system. */

:root {
    --green: #1E7A46;
    --green-dark: #166137;
    --ink: #16281E;
    --sage: #66766C;
    --cream: #F4F3EE;
    --paper: #F7F7F3;
    --neutral: #F2F2ED;
    --tint: #E7F1EA;
    --gold: #B98A25;
    --gold-bright: #F0C55A;
    --danger: #E5484D;
    --radius: 16px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { letter-spacing: -0.015em; line-height: 1.2; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-gold { background: var(--gold-bright); color: var(--ink); }
.btn-gold:hover { background: var(--gold); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--neutral);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
}
.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand small {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sage);
}
.brand-mark { color: var(--green); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--green); text-decoration: none; }
.nav .nav-cta { color: #fff; }
.nav .nav-cta:hover { color: #fff; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--ink);
    cursor: pointer;
}

/* Hero */
.hero {
    color: #fff;
    padding: 96px 0 104px;
    background-size: cover;
    background-position: center;
}
.hero--fairway {
    background: linear-gradient(160deg, #166137 0%, #1E7A46 45%, #2E8F57 75%, #57A878 100%);
}
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.3rem);
    font-weight: 700;
    max-width: 720px;
    margin-bottom: 18px;
}
.hero .lede {
    font-size: 1.15rem;
    max-width: 620px;
    color: rgba(255,255,255,.9);
    margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
.section { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 12px;
}
.section-lede { max-width: 640px; color: var(--sage); margin-bottom: 36px; }

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--green);
    margin-bottom: 10px;
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.card {
    background: #fff;
    border: 1px solid var(--neutral);
    border-radius: var(--radius);
    padding: 26px 24px;
}
.card-icon { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--sage); font-size: 0.95rem; }

/* Platform row */
.platform-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.platform {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(30,122,70,.15);
}
.platform h3 { color: var(--green); font-size: 1rem; margin-bottom: 6px; }
.platform p { color: var(--sage); font-size: 0.95rem; }

/* Features page */
.features-hero {
    padding: 72px 0 36px;
    text-align: center;
}
.features-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    max-width: 760px;
    margin: 0 auto 16px;
}
.features-hero .lede {
    font-size: 1.12rem;
    color: var(--sage);
    max-width: 640px;
    margin: 0 auto;
}
.features-showcase { padding: 24px 0 40px; }
.app-frame {
    background: #fff;
    border: 1px solid var(--neutral);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 44px -18px rgba(22, 40, 30, .28);
}
.app-frame img { display: block; width: 100%; height: auto; }
.app-frame--hero { max-width: 980px; margin: 0 auto; }

.feature-row {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
    padding: 44px 0;
}
.feature-row:nth-child(even) .feature-row__text  { order: 2; }
.feature-row:nth-child(even) .feature-row__media { order: 1; }
.feature-row h2 { font-size: 1.5rem; margin-bottom: 10px; }
.feature-row__text p:not(.eyebrow) { color: var(--sage); }

.btn-outline {
    border: 1.5px solid var(--green);
    color: var(--green);
}
.btn-outline:hover { background: var(--tint); }

.cta-band { text-align: center; }
.cta-band .section-lede { margin: 10px auto 26px; }
.cta-band .hero-actions { justify-content: center; }

@media (max-width: 820px) {
    .feature-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
    .feature-row:nth-child(even) .feature-row__text  { order: 1; }
    .feature-row:nth-child(even) .feature-row__media { order: 2; }
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.8);
    padding: 56px 0 28px;
    margin-top: 0;
}
.site-footer .brand { color: #fff; font-size: 1.05rem; }
.site-footer .brand-mark { color: #57A878; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}
.footer-brand p { font-size: 0.92rem; margin-top: 12px; color: rgba(255,255,255,.65); }
.site-footer h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,.55);
    margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.85); font-size: 0.94rem; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: none; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 22px;
    font-size: 0.85rem;
    color: rgba(255,255,255,.55);
}

/* Responsive */
@media (max-width: 820px) {
    .nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--neutral);
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 24px 22px;
        gap: 16px;
    }
    .nav.open { display: flex; }
    .nav-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding: 72px 0 80px; }
}
