/* ===================================================
   IDEOCRATS.ORG — GOOD IDEA
   Light palette — rose & mauve brand colors
   Fonts: Avdira (heading), Poppins (body)
   =================================================== */

@font-face {
    font-family: 'Avdira';
    src: url('../fonts/Avdira_R.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --- Custom Properties --- */
:root {
    --primary:    #F94315;   /* orange-red */
    --secondary:  #FCB404;   /* golden yellow */
    --tertiary:   #3C9245;   /* forest green */

    /* Deep anchor — footer, nav, mobile drawer */
    --deep:       #1a2e1c;   /* very dark forest green */
    --deep-mid:   #243d26;

    --dark:       #E4E3DB;   /* warm light grey — near white */
    --dark-mid:   #d5d4cc;
    --light:      #ffffff;
    --light-mid:  #f5f4f0;

    --border:     #cccbc3;
    --text:       #1e1e1e;
    --text-muted: #5e5e5e;
    --white:      #ffffff;

    --font-heading: 'Avdira', Georgia, serif;
    --font-body:    'Poppins', system-ui, sans-serif;

    --max-width: 1200px;
    --gap:       2rem;

    --shadow-sm: 0 2px 8px  rgba(249, 67, 21, 0.08);
    --shadow:    0 4px 24px rgba(249, 67, 21, 0.13);
    --shadow-lg: 0 12px 48px rgba(249, 67, 21, 0.2);

    --radius:    6px;
    --radius-lg: 14px;
    --ease:      0.28s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--secondary); }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    color: var(--text);
    font-weight: normal;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; font-size: 1rem; line-height: 1.8; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
em { font-style: italic; }

blockquote {
    border-left: 3px solid var(--primary);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 1.5rem 0;
}

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section      { padding: 96px 0; }
.section--sm  { padding: 64px 0; }
.section--lg  { padding: 128px 0; }

/* Cream section (--dark is now near-white cream) */
.section--dark {
    background: var(--dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--text); }
.section--dark p  { color: var(--text-muted); }
.section--dark .label { color: var(--primary); }
.section--dark .section-intro { color: var(--text-muted); }

.section--tinted  { background: var(--light-mid); }

/* Brand-colored sections */
.section--primary {
    background: var(--primary);
}
.section--primary h1,
.section--primary h2,
.section--primary h3,
.section--primary p { color: var(--white); }

.section--secondary {
    background: var(--secondary);
}
.section--secondary h1,
.section--secondary h2,
.section--secondary h3,
.section--secondary p { color: var(--text); }

/* --- Text utilities --- */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text-muted); }
.lead {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-muted);
}

.label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Labels on colored / deep backgrounds */
.hero .label,
.quote-section .label,
.cta-section .label { color: rgba(255,255,255,0.85); }
.page-hero .label { color: var(--primary); }

.section-title { margin-bottom: 1.25rem; }
.section-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.85;
    margin-bottom: 3.5rem;
}

/* --- Grid --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }

/* ===================================================
   NAVIGATION
   =================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(249, 67, 21, 0.1);
    transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.nav__logo img { height: 34px; width: auto; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}
.nav__links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--primary); }

/* .scrolled kept for JS compatibility — no visual change needed */
.nav.scrolled {
    padding: 0.8rem 0;
}
.nav.scrolled .nav__links a { color: var(--text-muted); }
.nav.scrolled .nav__links a:hover,
.nav.scrolled .nav__links a.active { color: var(--primary); }
.nav.scrolled .nav__cta {
    color: var(--white) !important;
}

.nav__cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 0.475rem 1.2rem;
    border-radius: 100px;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    transition: background var(--ease), transform var(--ease) !important;
}
.nav__cta:hover {
    background: var(--secondary) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text); }

@media (max-width: 760px) {
    .nav__hamburger { display: flex; }
    .nav__links {
        position: fixed;
        top: 0; right: -100%; bottom: 0;
        width: 270px;
        background: var(--deep);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        gap: 1.75rem;
        transition: right var(--ease);
        box-shadow: -4px 0 32px rgba(0,0,0,0.2);
    }
    .nav__links.open { right: 0; }
    .nav__links a,
    .nav.scrolled .nav__links a { color: rgba(255,255,255,0.8); font-size: 1.05rem; }
    .nav__links a:hover,
    .nav.scrolled .nav__links a:hover { color: var(--secondary); }
}

/* ===================================================
   HERO  — orange-red to golden gradient
   =================================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #F94315 0%, #f87020 50%, #FCB404 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 75% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 80%, rgba(0,0,0,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 200px 200px;
    border-color: transparent transparent rgba(255,255,255,0.06) transparent;
    pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; max-width: 820px; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 9px 8px;
    border-color: transparent transparent rgba(255,255,255,0.6) transparent;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.6rem, 5.8vw, 4.6rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
}
.hero h1 em {
    font-style: normal;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 40px rgba(255,255,255,0.3);
}
.hero__lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    line-height: 1.85;
    margin-bottom: 2.75rem;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.hero__scroll {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: bounceDown 2.2s infinite;
}
.hero__scroll::after { content: '↓'; font-size: 1rem; }
@keyframes bounceDown {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.8rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--ease);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.btn--primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(249,67,21,0.35);
}
.btn--primary:hover {
    background: #e03b12;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 7px 28px rgba(249,67,21,0.45);
}
/* White button — used on colored (rose/mauve) backgrounds */
.btn--white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    font-weight: 600;
}
.btn--white:hover {
    background: var(--light-mid);
    color: var(--tertiary);
    transform: translateY(-2px);
    box-shadow: 0 7px 28px rgba(0,0,0,0.16);
}
.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.45);
}
.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transform: translateY(-2px);
}
.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.btn--deep {
    background: var(--deep);
    color: var(--white);
}
.btn--deep:hover {
    background: var(--deep-mid);
    color: var(--white);
    transform: translateY(-2px);
}
.btn--sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* ===================================================
   PROBLEM CARDS
   =================================================== */
.problem-cards { margin-top: 3.5rem; }

.problem-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary);
    transition: transform var(--ease), box-shadow var(--ease);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.problem-card:nth-child(2) { border-top-color: var(--secondary); }
.problem-card:nth-child(3) { border-top-color: var(--tertiary); }

.problem-card__icon {
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 26px 22px;
    border-color: transparent transparent var(--primary) transparent;
    margin-bottom: 1.25rem;
}
.problem-card:nth-child(2) .problem-card__icon { border-bottom-color: var(--secondary); }
.problem-card:nth-child(3) .problem-card__icon { border-bottom-color: var(--tertiary); }

.problem-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.problem-card p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.78; }

/* ===================================================
   FLOW DIAGRAM
   =================================================== */
.flow-block { margin-top: 3rem; }
.flow-row   { margin-bottom: 2.5rem; }
.flow-row:last-child { margin-bottom: 0; }

.flow-row__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}
.flow-ideal .flow-row__label { color: var(--primary); }
.flow-real  .flow-row__label { color: var(--text-muted); }

.flow-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
}
.flow-step { display: flex; align-items: center; gap: 0.2rem; }
.flow-step__pill {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1.5px solid;
}
.flow-ideal .flow-step__pill {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(249,67,21,0.07);
}
.flow-real .flow-step__pill {
    border-color: var(--border);
    color: var(--text-muted);
    background: transparent;
    opacity: 0.7;
}
.flow-step__arr { font-size: 0.9rem; padding: 0 0.15rem; }
.flow-ideal .flow-step__arr { color: var(--primary); }
.flow-real  .flow-step__arr { color: var(--border); }

.flow-note {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    background: rgba(249,67,21,0.07);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.flow-note p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text);
    margin: 0;
}

/* ===================================================
   INCUBATOR FEATURES
   =================================================== */
.incubator-features { margin-top: 3.5rem; }

.incubator-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}
.incubator-feature:last-child { border-bottom: none; }
.incubator-feature__tri {
    flex-shrink: 0;
    margin-top: 4px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 20px 17px;
    border-color: transparent transparent var(--primary) transparent;
}
.incubator-feature__text h4 {
    font-size: 0.975rem;
    font-weight: 600;
    font-family: var(--font-body);
    margin-bottom: 0.3rem;
    color: var(--text);
}
.incubator-feature__text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.72;
}

/* Pipeline */
.pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3.5rem auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    max-width: 820px;
    border: 1px solid var(--border);
}
.pipeline__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 0.75rem;
}
.pipeline__dot {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--light-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.pipeline__step:nth-child(1) .pipeline__dot { border-color: var(--primary); background: rgba(249,67,21,0.1); }
.pipeline__step:nth-child(3) .pipeline__dot { border-color: var(--secondary); background: rgba(252,180,4,0.12); }
.pipeline__step:nth-child(5) .pipeline__dot { border-color: var(--tertiary); background: rgba(60,146,69,0.1); }
.pipeline__step:nth-child(7) .pipeline__dot { border-color: var(--secondary); background: rgba(252,180,4,0.15); }
.pipeline__step:nth-child(9) .pipeline__dot { border-color: var(--tertiary); background: rgba(60,146,69,0.18); }
.pipeline__label { font-size: 0.72rem; font-weight: 600; color: var(--text); max-width: 72px; line-height: 1.35; }
.pipeline__arr   { color: var(--primary); font-size: 1.2rem; padding: 0 0.1rem; flex-shrink: 0; align-self: center; }

/* ===================================================
   QUOTE SECTION  — forest green background
   =================================================== */
.quote-section {
    background: var(--tertiary);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.quote-section::before {
    content: '"';
    position: absolute;
    top: -3rem; left: 1.5rem;
    font-size: 24rem;
    font-family: var(--font-heading);
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
}
.quote-section blockquote {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative; z-index: 1;
    border-left: none;
    padding: 0;
}
.quote-section blockquote p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    color: var(--white);
    line-height: 1.45;
    font-weight: normal;
    margin-bottom: 1.75rem;
}
.quote-section blockquote cite {
    display: block;
    font-size: 0.85rem;
    color: var(--light);
    font-style: normal;
    letter-spacing: 0.06em;
}

/* ===================================================
   MANIFESTO PREVIEW GRID
   =================================================== */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 3rem;
}
.manifesto-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background: var(--white);
    transition: background var(--ease);
}
.manifesto-item:nth-child(even)        { border-right: none; }
.manifesto-item:nth-last-child(-n+2)   { border-bottom: none; }
.manifesto-item:hover { background: rgba(249,67,21,0.05); }

.manifesto-item__tri {
    flex-shrink: 0;
    margin-top: 4px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 13px 11px;
    border-color: transparent transparent var(--primary) transparent;
}
.manifesto-item p { font-size: 0.875rem; color: var(--text); line-height: 1.6; margin: 0; }
.manifesto-item strong { color: var(--primary); }

@media (max-width: 580px) {
    .manifesto-grid { grid-template-columns: 1fr; }
    .manifesto-item { border-right: none; }
    .manifesto-item:nth-last-child(1) { border-bottom: none; }
    .manifesto-item:nth-last-child(2) { border-bottom: 1px solid var(--border); }
}

/* ===================================================
   AUTHOR SECTION
   =================================================== */
.author-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 720px) { .author-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.author-book-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.author-book-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 200px;
}

/* ===================================================
   CTA / JOIN SECTION — rose background
   =================================================== */
.cta-section {
    background: var(--primary);
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center 60%, rgba(255,255,255,0.1) 0%, transparent 65%);
    pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section .lead { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2.75rem; }
.cta-section .label { color: var(--light); }

.email-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.email-form input[type="email"] {
    flex: 1;
    min-width: 240px;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 100px;
    background: rgba(255,255,255,1);
    color: #000;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
    transition: border-color var(--ease), background var(--ease);
}
.email-form input[type="email"]::placeholder { color:#000 }
.email-form input[type="email"]:focus {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.8);
}
.cta-note { font-size: 0.78rem; color: rgba(255,255,255,1); margin-top: 1rem; }

/* ===================================================
   STATS ROW
   =================================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 3.5rem 0 0;
}
.stat-box {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}
.stat-box__num {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-box__label { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ===================================================
   PAGE HERO  — light, with rose accent line
   =================================================== */
.page-hero {
    background: var(--white);
    padding: 160px 0 80px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 60%, var(--tertiary) 100%);
}
.page-hero h1   { color: var(--text); position: relative; z-index: 1; }
.page-hero .lead {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 680px;
    line-height: 1.85;
    margin-top: 1.25rem;
}

/* ===================================================
   MANIFESTO PAGE
   =================================================== */
.manifesto-page-principles { margin-top: 1.5rem; }

.principle-item {
    display: flex;
    gap: 2rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.principle-item:last-child { border-bottom: none; }
.principle-item__num {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    color: var(--dark-mid);
    min-width: 2.5rem;
    text-align: right;
}
.principle-item__over {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.principle-item__text {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
    color: var(--text);
    line-height: 1.3;
}
.principle-item__text strong { color: var(--primary); }
.principle-item__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.75;
    font-family: var(--font-body);
}

/* Manifesto banner — forest green */
.manifesto-banner {
    background: var(--tertiary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 4rem;
}
.manifesto-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.manifesto-banner p  { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }

/* ===================================================
   PROPOSAL PAGE
   =================================================== */
.proposal-block {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.proposal-block:last-child { border-bottom: none; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Comparison table */
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-top: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.cmp-table th {
    background: var(--dark);
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}
.cmp-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.65;
    background: var(--white);
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table td:first-child { color: var(--text-muted); background: var(--light-mid); }
.cmp-table td:last-child  { color: var(--primary); font-weight: 500; }
.cmp-table tr:hover td    { background: rgba(249,67,21,0.04); }
.cmp-table tr:hover td:first-child { background: rgba(249,67,21,0.06); }

/* Dual-loop boxes */
.loop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}
@media (max-width: 620px) { .loop-grid { grid-template-columns: 1fr; } }

.loop-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.loop-box__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 100px;
    padding: 0.2rem 0.75rem;
    margin-bottom: 1.25rem;
}
.loop-box--outer .loop-box__tag { color: var(--tertiary); border-color: var(--tertiary); }

.loop-step-list { display: flex; flex-direction: column; gap: 0.6rem; }
.loop-step-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--text); }
.loop-step-item__n {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    background: rgba(249,67,21,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
}
.loop-box--outer .loop-step-item__n {
    border-color: var(--tertiary);
    background: rgba(60,146,69,0.08);
    color: var(--tertiary);
}

/* Advantage cards */
.advantage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    transition: transform var(--ease), box-shadow var(--ease);
}
.advantage-card:nth-child(2) { border-left-color: var(--secondary); }
.advantage-card:nth-child(3) { border-left-color: var(--tertiary); }
.advantage-card:nth-child(4) { border-left-color: var(--primary); }
.advantage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.advantage-card h3 { font-size: 1.15rem; margin-bottom: 0.65rem; }
.advantage-card p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===================================================
   JOIN PAGE FORM
   =================================================== */
.join-form-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 720px) { .join-form-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.form-group        { margin-bottom: 1.25rem; }
.form-group label  { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--ease), box-shadow var(--ease);
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,67,21,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.why-join-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.why-join-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-join-item__tri {
    flex-shrink: 0; margin-top: 5px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 18px 15px;
    border-color: transparent transparent var(--primary) transparent;
}
.why-join-item h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.why-join-item p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ===================================================
   FOOTER  — deep plum
   =================================================== */
.footer {
    background: var(--deep);
    padding: 56px 0 28px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer__brand img {
    height: 28px;
    margin-bottom: 1.1rem;
    filter: brightness(0) invert(0.6);
}
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.38); max-width: 280px; line-height: 1.75; margin: 0; }

.footer__col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.38); transition: color var(--ease); }
.footer__col ul li a:hover { color: var(--secondary); }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.28);
}
.footer__bottom a { color: rgba(255,255,255,0.28); }
.footer__bottom a:hover { color: var(--secondary); }

/* ===================================================
   MISC
   =================================================== */
.divider {
    width: 48px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 1.5rem 0;
}
.divider--center { margin: 1.5rem auto; }

.highlight-box {
    background: rgba(249,67,21,0.06);
    border: 1px solid rgba(249,67,21,0.18);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}
.highlight-box p { margin: 0; font-style: italic; color: var(--text); }

/* ===================================================
   BOOK PAGE
   =================================================== */
.book-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 720px) { .book-layout { grid-template-columns: 1fr; } }

.book-cover { position: sticky; top: 120px; }
.book-cover img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.book-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 1rem;
}
.book-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================================
   FADE-IN ANIMATION
   =================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible  { opacity: 1; transform: translateY(0); }
.fade-up.delay-1  { transition-delay: 0.1s; }
.fade-up.delay-2  { transition-delay: 0.2s; }
.fade-up.delay-3  { transition-delay: 0.3s; }
.fade-up.delay-4  { transition-delay: 0.4s; }

/* ===================================================
   ARTICLES — listing & single
   =================================================== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--ease), box-shadow var(--ease);
    text-decoration: none;
    color: inherit;
}
.article-card:nth-child(2) { border-top-color: var(--secondary); }
.article-card:nth-child(3) { border-top-color: var(--tertiary); }
.article-card:nth-child(4) { border-top-color: var(--primary); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }

.article-card__num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1;
    color: var(--dark-mid);
}
.article-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text);
    line-height: 1.35;
}
.article-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    flex: 1;
    margin: 0;
}
.article-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-top: auto;
    transition: gap var(--ease);
}
.article-card:hover .article-card__cta { gap: 0.7rem; }

/* Single article */
.article-body {
    max-width: 760px;
    margin: 0 auto;
}
.article-body h2 { margin-bottom: 1.25rem; margin-top: 3rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-bottom: 1rem; margin-top: 2rem; }
.article-body p  { color: var(--text-muted); line-height: 1.85; }

.question-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2rem 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.question-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    transition: background var(--ease);
}
.question-item:last-child { border-bottom: none; }
.question-item:hover { background: rgba(249,67,21,0.04); }
.question-item__num {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark-mid);
    line-height: 1;
    min-width: 1.8rem;
    text-align: right;
    padding-top: 2px;
}
.question-item__text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.65;
    margin: 0;
}

.mistake-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}
.mistake-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
}
.mistake-item:nth-child(even) { border-left-color: var(--tertiary); }
.mistake-item h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.mistake-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.75; }

.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border);
}
.related-articles h3 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.related-articles ul { display: flex; flex-direction: column; gap: 0.75rem; }
.related-articles ul li a {
    font-size: 0.95rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color var(--ease), gap var(--ease);
}
.related-articles ul li a::before { content: '→'; color: var(--primary); flex-shrink: 0; }
.related-articles ul li a:hover { color: var(--primary); gap: 0.85rem; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
    .section, .quote-section, .cta-section { padding: 64px 0; }
    .page-hero { padding: 120px 0 56px; }
    .proposal-block { padding: 56px 0; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .pipeline { padding: 1.5rem 0.75rem; }
}
