/* Mindset Mastery Coaching — design tokens & layout */

:root {
    --primary: #449966;
    --primary-dark: #2d6b48;
    --primary-light: #5cb380;
    --accent: #77ff22;
    --accent-soft: #e8ffd4;
    --highlight: #ffdd77;
    --highlight-soft: #fff6d9;
    --nav-bg: #2d6b48;
    --ink: #14241c;
    --ink-muted: #4a5c52;
    --bg: #f4f8f5;
    --surface: #ffffff;
    --border: #d4e5da;
    --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 12px;
    --shadow: 0 8px 28px rgba(20, 36, 28, 0.08);
    --shadow-sm: 0 2px 10px rgba(20, 36, 28, 0.06);
    --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 1.05rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; }

a { color: var(--primary-dark); }

/* --- nav ------------------------------------------------------------- */
header.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--nav-bg);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 28px;
    flex-wrap: wrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

header.nav .brand {
    font-weight: 700;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

header.nav .brand img { max-height: 38px; }
header.nav .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
header.nav .bt { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
header.nav .bs { font-size: 0.72rem; opacity: 0.88; font-weight: 400; letter-spacing: 0.02em; }

header.nav .links { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
header.nav .item { position: relative; }

header.nav .item > a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    opacity: 0.88;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: opacity 0.15s ease, background 0.15s ease;
}

header.nav .item > a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.12);
}

header.nav .sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--nav-bg);
    padding: 8px;
    border-radius: 0 0 8px 8px;
    min-width: 170px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    z-index: 20;
}

header.nav .item:hover .sub,
header.nav .item:focus-within .sub { display: flex; }

header.nav .sub a {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 6px;
}

header.nav .sub a:hover { opacity: 1; }

.nt { display: none; }

.hamb {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    user-select: none;
}

@media (max-width: 900px) {
    .hamb { display: block; }
    header.nav .links {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        gap: 4px;
        padding-top: 8px;
    }
    .nt:checked ~ .links { display: flex; }
    header.nav .item > a { padding: 10px 12px; }
    header.nav .sub {
        position: static;
        display: flex;
        padding: 2px 0 2px 16px;
        box-shadow: none;
        background: transparent;
    }
}

/* --- hero ------------------------------------------------------------ */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(119, 255, 34, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 50% at 15% 80%, rgba(255, 221, 119, 0.14), transparent 50%),
        linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 55%, #3d8a5c 100%);
    color: #fff;
    padding: 96px 24px 88px;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 48px;
    background: linear-gradient(to bottom right, transparent 49%, var(--bg) 50%);
}

.hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 1rem;
    padding: 6px 14px;
    border: 1px solid rgba(255, 221, 119, 0.4);
    border-radius: 999px;
    background: rgba(255, 221, 119, 0.1);
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.1rem);
    margin: 0 0 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero .lead {
    opacity: 0.95;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    margin: 0 auto 1.75rem;
    max-width: 34em;
    line-height: 1.55;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* --- page head ------------------------------------------------------- */
.page-head {
    background:
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 56px 24px 52px;
    text-align: center;
    position: relative;
}

.page-head::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 32px;
    background: linear-gradient(to bottom right, transparent 49%, var(--bg) 50%);
}

.page-head h1 {
    margin: 0;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-head .sub {
    margin: 0.75rem auto 0;
    max-width: 36em;
    opacity: 0.9;
    font-size: 1.05rem;
}

/* --- buttons --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--accent);
    color: var(--ink);
    box-shadow: 0 4px 16px rgba(119, 255, 34, 0.35);
}

.btn-primary:hover {
    background: #8aff3d;
    box-shadow: 0 6px 20px rgba(119, 255, 34, 0.45);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-outline {
    background: var(--surface);
    color: var(--primary-dark);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- sections & layout ----------------------------------------------- */
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 64px 24px;
}

.section-tight {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section-header h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    letter-spacing: -0.02em;
    color: var(--ink);
}

.section-header p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 1.05rem;
}

.band {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.band-accent {
    background:
        linear-gradient(90deg, var(--accent-soft), var(--highlight-soft));
    border: none;
}

/* --- cards ----------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--accent-soft);
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.card .icon.gold {
    background: var(--highlight-soft);
}

.card .icon.green {
    background: rgba(68, 153, 102, 0.15);
}

.card h3 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.card p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.98rem;
    flex: 1;
}

.card a.card-link {
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    text-decoration: none;
}

.card a.card-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* --- feature list / pillars ------------------------------------------ */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

@media (max-width: 720px) {
    .pillars { grid-template-columns: 1fr; }
}

.pillar {
    text-align: center;
    padding: 28px 20px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.pillar .mark {
    display: inline-flex;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    margin-bottom: 12px;
    box-shadow: 0 0 0 6px rgba(68, 153, 102, 0.15);
}

.pillar h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.pillar p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

/* --- prose ----------------------------------------------------------- */
.prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 72px;
}

.prose h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.45rem;
    letter-spacing: -0.01em;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
    margin: 0 0 1.15rem;
    color: var(--ink);
}

.prose p.lede {
    font-size: 1.2rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

.prose a { color: var(--primary); font-weight: 500; }

.prose ul, .prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
    color: var(--ink-muted);
}

.prose li { margin-bottom: 0.45rem; }

.prose .callout {
    background: var(--surface);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 22px;
    margin: 1.75rem 0;
    box-shadow: var(--shadow-sm);
}

.prose .callout p { margin: 0; color: var(--ink-muted); }

.prose .callout.highlight {
    border-left-color: var(--highlight);
    background: var(--highlight-soft);
}

.prose .callout.accent {
    border-left-color: var(--accent);
    background: var(--accent-soft);
}

/* --- split / CTA strip ----------------------------------------------- */
.cta-strip {
    max-width: var(--max);
    margin: 0 auto 72px;
    padding: 40px 36px;
    border-radius: calc(var(--radius) + 4px);
    background:
        linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow);
}

.cta-strip h2 {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
}

.cta-strip p {
    margin: 0;
    opacity: 0.9;
    max-width: 36em;
}

.cta-strip .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- legal pages ----------------------------------------------------- */
.legal .prose p { color: var(--ink-muted); }

/* --- footer ---------------------------------------------------------- */
footer.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 28px 28px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    background: var(--nav-bg);
    color: rgba(255, 255, 255, 0.8);
    margin-top: auto;
}

footer.foot a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

footer.foot a:hover { color: #fff; text-decoration: underline; }

footer.foot .tag {
    opacity: 0.75;
}

footer.foot .foot-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
