/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #fffef5;
    --bg-secondary: #F8F2EA;
    --text-primary: #152013;
    --text-secondary: #2F4037;
    --text-muted: #5A6F60;
    --accent-primary: #365728;
    --accent-secondary: #5e8132;
    --accent-gold: #9e0000;
    --accent-dim: rgba(26, 76, 56, 0.15);
    --glow-primary: rgba(26, 76, 56, 0.20);
    --glow-gold: rgba(196, 155, 69, 0.30);
    --border-light: rgba(26, 36, 30, 0.15);
    --shadow-soft: 8px 8px 12px rgba(26, 36, 30, 0.12), -2px -2px 6px rgba(255, 252, 245, 0.8);
    --shadow-medium: 12px 12px 20px rgba(26, 36, 30, 0.18), -4px -4px 8px rgba(255, 252, 245, 0.8);
    --shadow-strong: 16px 16px 28px rgba(26, 36, 30, 0.25), -6px -6px 12px rgba(255, 252, 245, 0.9);
    --shadow-hover: 24px 24px 36px rgba(26, 36, 30, 0.30), -8px -8px 16px rgba(255, 252, 245, 0.9);
    --font-sans: 'DM Sans', sans-serif;
    --font-serif: 'DM Serif Display', serif;
    --max-w: 1180px;
}

html {
    scroll-behavior: smooth;
}
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection {
    background: var(--accent-primary);
    color: #fff;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.2s;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
}

/* ===== NAV ===== */
nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(253, 249, 243, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}
.nav-logo img {
    display: block;
    height: 38px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 36px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    list-style: none;
}
.nav-links a {
    position: relative;
    transition: color 0.25s;
    color: var(--text-secondary);
    text-decoration: none;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}
.nav-links a:hover {
    color: var(--text-primary);
}
.nav-links a:hover::after {
    width: 100%;
}
@media (max-width: 640px) {
    .nav-inner {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links {
        gap: 20px;
        font-size: 0.65rem;
    }
    .nav-logo img {
        height: 32px;
    }
}

/* ===== HERO ===== */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 100px 0 60px;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}
header h1 {
    font-family: var(--font-serif);
    font-size: clamp(3.4rem, 12vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-shadow: 0 20px 60px rgba(26, 36, 30, 0.06);
}
header h1 .highlight {
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
}
header h1 .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 6px;
    background: #f2cd11;
    border-radius: 2px;
    opacity:0.7;
}
header .sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-top: 24px;
    font-weight: 450;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-primary);
    color: #fff;
    padding: 16px 44px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 12px rgba(26, 36, 30, 0.25), -2px -2px 6px rgba(255, 252, 245, 0.6);
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 16px 16px 24px rgba(26, 36, 30, 0.30), -4px -4px 10px rgba(255, 252, 245, 0.7);
    background: #123B2B;
}
.btn-ghost {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid transparent;
    transition: all 0.25s;
    padding-bottom: 2px;
    text-decoration: none;
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-bottom-color: var(--accent-gold);
}


/* ===== SECTIONS ===== */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-primary);
}
.section-title em {
    font-style: italic;
    color: var(--accent-primary);
}
section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}
section .sub-head {
    color: var(--text-secondary);
    max-width: 560px;
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 450;
}

/* ===== FRICTION ===== */
.friction-scroll {
    margin-top: 40px;
    padding: 20px 0 10px;
}
.friction-track {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
}
.friction-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--accent-primary);
    opacity: 0.35;
    transform: translateX(-50%);
    border-radius: 4px;
    box-shadow: 0 0 20px var(--glow-primary);
}
.friction-row {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 18px 0;
}
.friction-row .card-wrap {
    width: 48%;
    display: flex;
}
.friction-row .card-wrap.left {
    justify-content: flex-end;
    padding-right: 16px;
}
.friction-row .card-wrap.right {
    justify-content: flex-start;
    padding-left: 16px;
    margin-left: auto;
}
.friction-row .center-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 14px;
    height: 14px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 24px var(--glow-gold);
    z-index: 2;
    border: 2px solid var(--bg-primary);
}
.friction-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 28px 32px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.friction-card:hover {
    border-color: var(--accent-primary);
    transform: scale(1.02) translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.friction-card .num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: block;
}
.friction-card h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.friction-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-weight: 450;
}
/* FIX: centered closing paragraph */
.friction-closing {
    margin-top: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 450;
}

@media (max-width: 700px) {
    .friction-track::before { display: none; }
    .friction-row .center-dot { display: none; }
    .friction-row {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        gap: 0;
    }
    .friction-row .card-wrap {
        width: 100%;
        justify-content: center;
        padding: 0 !important;
        margin: 0;
    }
    .friction-row .card-wrap .friction-card {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }
    .friction-row:not(:last-child) { margin-bottom: 12px; }
}
@media (max-width: 500px) {
    .friction-row .card-wrap .friction-card { padding: 18px 20px; }
    .friction-card h4 { font-size: 1.2rem; }
    .friction-card p { font-size: 0.8rem; }
}

/* ===== METHOD / SEQUENCE ===== */
#method {
    background: var(--bg-secondary);
    border-radius: 40px 40px 0 0;
    margin: 0 16px;
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
}
.sequence-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 780px;
    margin: 40px auto 0;
    padding: 10px 0;
}
.seq-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    position: relative;
    width: 100%;
}
.seq-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}
.card-1 { max-width: 92%; min-height: 140px; }
.card-2 { max-width: 76%; min-height: 160px; }
.card-3 { max-width: 60%; min-height: 170px; }
.card-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(158, 0, 0, 0.2);
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-body h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--text-primary);
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 2px;
}
.card-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 450;
    line-height: 1.5;
    margin: 0;
}
.sequence-closing {
    margin-top: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 450;
}

@media (max-width: 700px) {
    #method { margin: 0 8px; border-radius: 28px 28px 0 0; padding: 60px 0; }
    .sequence-cards { gap: 16px; padding: 0; max-width: 100%; }
    .seq-card {
        max-width: 100% !important;
        min-height: auto !important;
        padding: 18px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .card-number { width: 44px; height: 44px; font-size: 1rem; }
    .card-body h3 { font-size: 1.2rem; }
    .card-body p { font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .seq-card { padding: 16px; }
    .card-body h3 { font-size: 1.1rem; }
    .card-body p { font-size: 0.8rem; }
}

/* ===== SERVICES ===== */
#services .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.service-panel {
    padding: 48px 40px;
    border-radius: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    box-shadow: var(--shadow-soft);
}
.service-panel:hover {
    transform: scale(1.02) translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}
.service-panel .icon-svg {
    display: block;
    margin-bottom: 16px;
}
.service-panel .icon-svg svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-panel h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 18px;
}
.service-panel ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
}
.service-panel ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
    font-weight: 450;
}
.service-panel ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}
@media (max-width: 700px) {
    #services .services-grid { grid-template-columns: 1fr; }
}

/* ===== PRICING ===== */
#pricing .pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}
.pricing-platform {
    padding: 48px 40px;
    border-radius: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    box-shadow: var(--shadow-soft);
}
.pricing-platform.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(145deg, rgba(26, 76, 56, 0.06), var(--bg-secondary));
    box-shadow: var(--shadow-medium);
}
.pricing-platform:hover {
    transform: scale(1.02) translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}
.pricing-platform .tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent-gold);
    padding: 4px 18px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.pricing-platform h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-primary);
}
.pricing-platform .price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
    margin: 10px 0 4px;
    letter-spacing: -0.02em;
}
.pricing-platform .duration {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    display: block;
    margin-bottom: 16px;
}
.pricing-platform p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 450;
}
.terms-block {
    margin-top: 48px;
    padding: 32px 40px;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}
.terms-block h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
}
.terms-block ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 450;
}
.terms-block ul li strong {
    color: var(--text-primary);
}
@media (max-width: 700px) {
    #pricing .pricing-grid { grid-template-columns: 1fr; }
    .terms-block { padding: 24px 20px; }
}

/* ===== PROOF ===== */
#proof {
    background: var(--bg-secondary);
    border-radius: 40px 40px 0 0;
    margin: 0 16px;
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
}
#proof .proof-card {
    background: var(--bg-primary);
    padding: 40px 48px;
    border-radius: 20px;
    border-left: 4px solid var(--accent-primary);
    margin-top: 32px;
    max-width: 780px;
    font-size: 0.95rem;
    font-weight: 450;
    line-height: 1.8;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    box-shadow: var(--shadow-soft);
}
#proof .proof-card:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: var(--shadow-hover);
}
#proof .proof-card strong {
    color: var(--text-primary);
    font-weight: 600;
}
#proof .proof-card .highlight {
    display: inline-block;
    background: rgba(26, 76, 56, 0.10);
    padding: 0 14px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--accent-primary);
}
@media (max-width: 700px) {
    #proof { margin: 0 8px; border-radius: 24px 24px 0 0; padding: 60px 0; }
    #proof .proof-card { padding: 24px 20px; font-size: 0.85rem; }
}

/* ===== ABOUT ===== */
#about .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-top: 20px;
}
.about-grid .lead {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}
.about-grid .lead em {
    color: var(--accent-primary);
    font-style: italic;
}
.about-grid .body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.about-grid .body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 450;
}
.about-grid .body strong {
    color: var(--text-primary);
    font-weight: 600;
}
.about-grid .body .highlight-block {
    background: var(--bg-secondary);
    padding: 24px 32px;
    border-radius: 16px;
    border-left: 4px solid var(--accent-gold);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    box-shadow: var(--shadow-soft);
}
.about-grid .body .highlight-block:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: var(--shadow-hover);
}
@media (max-width: 800px) {
    #about .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-grid .lead { font-size: 1.5rem; }
}

/* ===== FAQ ===== */
#faq {
    background: var(--bg-primary);
    padding: 80px 0 60px;
}
#faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    max-width: 820px;
}
#faq .faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px 28px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    box-shadow: 6px 6px 10px rgba(26, 36, 30, 0.10), -2px -2px 6px rgba(255, 252, 245, 0.8);
}
#faq .faq-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
#faq .faq-item summary {
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
#faq .faq-item summary::-webkit-details-marker { display: none; }
#faq .faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent-gold);
    transition: transform 0.3s;
    flex-shrink: 0;
}
#faq .faq-item[open] summary::after {
    transform: rotate(45deg);
}
#faq .faq-item .answer {
    padding-top: 14px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid var(--border-light);
    margin-top: 14px;
    font-weight: 450;
}
#faq .faq-item .answer strong {
    color: var(--text-primary);
}
@media (max-width: 600px) {
    #faq .faq-item { padding: 16px 18px; }
    #faq .faq-item summary { font-size: 0.95rem; }
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-secondary);
    padding: 56px 0 44px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}
footer .logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-primary);
}
footer .logo span {
    color: var(--accent-gold);
}
footer .tagline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}
footer .divider {
    width: 40px;
    height: 1px;
    background: var(--border-light);
    margin: 24px auto;
}
footer .links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
footer .links a {
    transition: color 0.2s;
    color: var(--text-secondary);
    text-decoration: none;
}
footer .links a:hover {
    color: var(--accent-primary);
}
footer .copy {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    header h1 { font-size: 2.8rem; }
    .section-title { font-size: 2rem; }
    .btn-primary { padding: 14px 32px; font-size: 0.8rem; }
    .pricing-platform .price { font-size: 2.2rem; }
}
@media (max-width: 700px) {
    header {
        min-height: auto;
        padding: 60px 0 40px;
    }
    header .sub {
        font-size: 1rem;
    }
    .hero-cta {
        margin-top: 28px;
    }
}
