/*
Theme Name: LW Hormozi One Page
Text Domain: lw-hormozi
Version: 1.0
Description: Custom One Page Theme
Author: Living Waters
*/

/* Design Tokens */
:root {
    --bg: #f8fafb;
    --surface: #ffffff;
    --surface-soft: #f2f6fb;
    --text: #1e293b;
    --text-soft: #5b6b80;
    --primary: #0f172a;
    --accent: #1459d9;
    --accent-soft: #e6efff;
    --border: #dbe6f3;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 20px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 2px 10px rgba(15, 23, 42, 0.07), 0 20px 44px rgba(15, 23, 42, 0.08);
    --focus: 0 0 0 3px rgba(20, 89, 217, 0.25);
}

body {
    margin: 0;
    font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 42vw;
    height: 42vw;
    min-width: 320px;
    min-height: 320px;
    max-width: 680px;
    max-height: 680px;
    pointer-events: none;
    filter: blur(68px);
    z-index: -1;
}

body::before {
    left: -14vw;
    top: 12vh;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.18), rgba(125, 211, 252, 0));
}

body::after {
    right: -14vw;
    top: 20vh;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.18), rgba(96, 165, 250, 0));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--primary);
    margin: 0 0 0.85rem;
}

p {
    margin: 0 0 1rem;
}

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

ul,
ol {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none;
    height: auto;
    width: auto;
    left: 16px;
    top: 16px;
    z-index: 100000;
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    box-shadow: var(--shadow-sm);
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 16px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

/* Utility */
.container {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.96rem;
    transition: .2s ease;
    border: 1px solid var(--border);
    line-height: 1;
    cursor: pointer;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn.ghost {
    background: #fff;
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.small {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.text-center {
    text-align: center;
}

.justify-center {
    justify-content: center;
}

.w-full {
    width: 100%;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(1rem, 2vw, 1.8rem);
}

/* Layout */
.nav {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
    font-weight: 700;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
}

.brand-fallback {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #f6fbff, #e7eff9);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    padding: 10px 14px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a:not(.btn) {
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--text-soft);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    background: var(--surface-soft);
    color: var(--primary);
}

.site-main {
    display: block;
}

.section {
    padding: clamp(3.2rem, 7vw, 6rem) 0;
}

.section.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 248, 254, 0.86));
    border-top: 1px solid rgba(219, 230, 243, 0.65);
    border-bottom: 1px solid rgba(219, 230, 243, 0.65);
}

.hero {
    padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5.4rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.4rem, 4vw, 3.5rem);
    align-items: center;
}

.h1 {
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 0.45rem 0 1.25rem;
}

.h2 {
    font-size: clamp(1.45rem, 3.3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-soft);
    margin-bottom: 1.4rem;
    max-width: 62ch;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
}

.bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.65rem;
}

.bullets li {
    padding-left: 1.75rem;
    position: relative;
    color: var(--text);
}

.bullets li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.cta-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.micro {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: #5f738b;
}

.hero-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.hero-media img {
    width: 100%;
    border-radius: 18px;
}

.hero-placeholder {
    padding: 1.4rem;
    text-align: center;
    background: #edf2f9;
    border-radius: 18px;
}

.hero-pad {
    padding: 0.5rem 0.4rem 0.2rem;
}

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

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

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

.media-card {
    overflow: hidden;
    padding: 0;
}

.media-card-body {
    padding: 0.95rem 1rem 1.1rem;
}

.pill {
    background: var(--accent-soft);
    color: #123f95;
    display: inline-flex;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.86rem;
    margin-top: 1rem;
    border: 1px solid #cae0ff;
}

.faq {
    display: grid;
    gap: 0.72rem;
    margin-top: 1rem;
}

.faq details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.faq summary {
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    color: var(--primary);
}

.faq p {
    margin: 0.7rem 0 0;
    color: var(--text-soft);
}

.footer-cta {
    text-align: center;
    padding: clamp(2.4rem, 6vw, 4.4rem) 0;
}

.footer-cta-card {
    background: linear-gradient(145deg, #0f172a, #18274a);
    color: #fff;
    border: 1px solid #243968;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(1.3rem, 4vw, 2.2rem);
}

.footer-cta .h2,
.footer-cta .p {
    color: #fff;
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    padding: 2.2rem 0 1.4rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 1rem;
}

.site-footer h2,
.site-footer h3 {
    margin-bottom: 0.6rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-soft);
}

.footer-links a:hover {
    color: var(--primary);
}

.site-footer-bottom {
    margin-top: 1.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.92rem;
}

.content-shell {
    padding: clamp(2.5rem, 8vw, 4.8rem) 0;
}

.content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1rem, 4vw, 2.2rem);
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-content > * + * {
    margin-top: 0.95rem;
}

.entry-content img {
    border-radius: var(--radius-sm);
}

.entry-content a {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 960px) {
    .site-footer-grid,
    .grid3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(1120px, calc(100% - 1.3rem));
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 0.7rem;
        display: none;
        gap: 0.5rem;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a:not(.btn) {
        border: 1px solid var(--border);
        background: #fff;
        color: var(--primary);
    }

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

    .grid2,
    .grid3,
    .split,
    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}
