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

:root {
    --slate-950:    #0d1117;
    --slate-900:    #141a24;
    --slate-800:    #1f2733;
    --slate-700:    #333f52;
    --slate-600:    #4a5972;
    --slate-500:    #67768f;
    --slate-400:    #8a97ad;
    --slate-300:    #b3bccc;
    --slate-200:    #d8dde5;
    --slate-100:    #eceff3;
    --slate-50:     #f7f8fa;
    --blue:         #b5502f;
    --blue-light:   #d97a4d;
    --blue-pale:    #fbede4;
    --blue-border:  #eab998;
    --teal:         #2f6f62;
    --teal-light:   #4a9384;
    --teal-pale:    #e9f4f1;
    --teal-border:  #bcdcd2;
    --white:        #ffffff;
    --text-1:       #10141b;
    --text-2:       #313c4a;
    --text-3:       #5b6879;
    --text-4:       #8590a1;
    --border:       #e1e5eb;
    --border-mid:   #ccd2dc;
    --shadow-sm:    0 1px 3px rgba(13,17,23,0.08), 0 1px 2px rgba(13,17,23,0.05);
    --shadow-md:    0 4px 20px rgba(13,17,23,0.10), 0 2px 6px rgba(13,17,23,0.05);
    --shadow-lg:    0 16px 48px rgba(13,17,23,0.18), 0 4px 12px rgba(13,17,23,0.08);
    --radius:       6px;
    --radius-lg:    2px;
    --container:    1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text-1);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================================
   EDITORIAL TOP BAR
   ============================================================ */
.editorial-topbar {
    background: var(--slate-950);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.editorial-topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
    padding: 9px 0;
}

.editorial-topbar-msg {
    font-size: 0.74rem; font-weight: 400; letter-spacing: 0.01em;
    color: rgba(255,255,255,0.62);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.editorial-topbar-date {
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.40);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================================
   HERO — full-bleed image, floating glass panel anchored right
   ============================================================ */
.hero {
    position: relative;
    min-height: 92vh;
    background: url('../media/dochod-pasywny-ai-2026-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,17,23,0.15) 0%,
        rgba(13,17,23,0.35) 55%,
        rgba(13,17,23,0.68) 100%
    );
    z-index: 0;
}

.hero-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 140px 0 100px;
}

.hero-content-block {
    max-width: 560px;
    background: rgba(13,17,23,0.66);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.14);
    border-top: 3px solid var(--blue-light);
    padding: 48px 44px;
    position: relative;
}

.hero-content-block::before {
    content: '2026';
    position: absolute;
    top: -46px; right: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 8rem; font-weight: 700;
    color: rgba(255,255,255,0.05);
    line-height: 1; z-index: -1;
    pointer-events: none;
}

.hero-kicker {
    display: inline-flex; align-items: center;
    font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--blue-light);
    border: 1px solid rgba(217,122,77,0.5);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 3.8vw, 3.3rem);
    font-weight: 700; line-height: 1.16; letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 22px;
}

.hero-title em {
    font-style: italic;
    color: #eab998;
}

.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    font-weight: 300;
    margin: 0 0 36px;
}

.hero-actions {
    display: flex; align-items: center;
    gap: 24px; flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px;
    background: var(--blue-light);
    color: #10141b;
    font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
}

.hero-btn-primary:hover { background: #eab998; transform: translateY(-2px); }

.hero-btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0;
    background: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem; font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    border: none;
    transition: color 0.2s;
}

.hero-btn-ghost:hover { color: #eab998; }

/* Vertical scroll cue anchored to the hero's lower-left edge */
.hero-baseline {
    position: absolute;
    left: 0; bottom: 0;
    z-index: 2;
    width: 100%;
}

.hero-baseline-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.14);
}

.hero-baseline-inner span {
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.50);
}

/* ============================================================
   OVERVIEW SECTION — new layout
   ============================================================ */
.overview-section {
    padding: 96px 0;
    background: var(--white);
}

.overview-editorial-head {
    max-width: 760px;
    margin: 0 0 48px;
}

.overview-intro-label {
    font-size: 0.64rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--blue);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 22px;
}

.overview-intro-label::before {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background: var(--blue);
    flex-shrink: 0;
}

.overview-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 700; line-height: 1.14;
    color: var(--text-1); margin-bottom: 20px;
}

.overview-heading span { color: var(--blue); }

.overview-lead {
    font-size: 1.1rem; color: var(--text-3);
    line-height: 1.82;
}

/* Full-width media strip */
.overview-media-strip {
    line-height: 0;
    margin-bottom: 64px;
    max-height: 580px;
    overflow: hidden;
}

.overview-media-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Body: text column + framed pull-quote sidebar */
.overview-body-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    margin-bottom: 80px;
    align-items: start;
}

.overview-detail-paragraphs p {
    font-size: 1rem; color: var(--text-2);
    line-height: 1.9; margin-bottom: 20px;
}

.overview-detail-paragraphs p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem; font-weight: 700; line-height: 0.75;
    float: left; padding: 6px 8px 0 0; color: var(--blue);
}

.overview-detail-paragraphs p:last-child { margin-bottom: 0; }

/* Pull-quote sidebar */
.overview-quote-band {
    background: var(--slate-950);
    padding: 40px 32px;
    border-top: 3px solid var(--blue-light);
    position: sticky;
    top: 32px;
}

.overview-quote-band blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic; line-height: 1.55;
    color: rgba(255,255,255,0.92);
    margin-bottom: 18px;
}

.overview-quote-band cite {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--blue-light); font-style: normal;
    display: block;
}

/* Three points, numbered editorial row */
.overview-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
}

.feature-box {
    padding: 40px 32px 0;
    border-right: 1px solid var(--border);
}

.feature-box:last-child { border-right: none; }

.feature-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem; font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem; font-weight: 700;
    color: var(--text-1); margin-bottom: 12px; line-height: 1.3;
}

.feature-text {
    font-size: 0.92rem; color: var(--text-3); line-height: 1.78;
}

/* ============================================================
   STRATEGIES BAND — new centered card grid layout
   ============================================================ */
.strategies-band {
    background: var(--slate-950);
    padding: 80px 0;
}

.strategies-band-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}

.strategies-band-intro h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 700;
    color: var(--white); margin-bottom: 14px;
}

.strategies-band-intro p {
    font-size: 0.96rem; color: rgba(255,255,255,0.42);
    line-height: 1.72;
}

.strategies-list {
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.strategy-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 22px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    transition: background 0.2s;
}

.strategy-item:hover { background: rgba(255,255,255,0.03); }

.strategy-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700;
    color: rgba(169,131,79,0.65);
    line-height: 1;
}

.strategy-name {
    font-size: 1rem; font-weight: 600;
    color: rgba(255,255,255,0.82); line-height: 1.4;
}

.strategy-goto {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(221,201,163,0.75);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.strategy-item:hover .strategy-goto { color: #ddc9a3; }

/* ============================================================
   STRATEGY SECTIONS — new full-bleed image side layout
   ============================================================ */
.strategy-section {
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.strategy-section.bg-white { background: var(--white); }
.strategy-section.bg-subtle { background: var(--slate-50); }

.s-watermark { display: none; }

.s-inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }

/* New layout: full-width banner image with overlaid title, content grid below */
.s-layout {
    display: block;
}

.s-image {
    position: relative;
    overflow: hidden;
    line-height: 0;
    height: 420px;
    margin-bottom: 48px;
    display: flex;
    align-items: flex-end;
}

.s-image img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.6s ease;
}

.s-image:hover img { transform: scale(1.04); }

.s-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(20,17,13,0.86) 0%,
        rgba(20,17,13,0.15) 60%,
        transparent 100%
    );
    pointer-events: none;
}

.s-image .s-number-badge {
    position: relative; z-index: 1;
    padding: 28px 32px;
    margin-bottom: 0;
}

.s-image .s-title {
    position: relative; z-index: 1;
    padding: 0 32px 28px;
    color: #fff;
    margin-bottom: 0;
    margin-top: -18px;
}

/* Content below image: description + panels side by side */
.s-content-col {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 56px;
    align-items: start;
}

.s-number-badge {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
}

.s-strategy-label {
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

.s-strategy-num {
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #1c1812;
    background: #ddc9a3;
    padding: 3px 11px; border-radius: 100px;
}

.s-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 700;
    line-height: 1.2;
}

.s-description {
    font-size: 0.97rem; color: var(--text-3);
    line-height: 1.88; font-weight: 400;
    margin-bottom: 40px;
}

.s-panels {
    display: flex; flex-direction: column; gap: 20px;
}

.s-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.strategy-section.bg-subtle .s-panel { background: var(--white); }

.s-panel-label {
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 14px;
    display: flex; align-items: center; gap: 12px;
}

.s-panel-label::after {
    content: ''; flex: 1; height: 1px;
    background: var(--border);
}

.s-panel-blurb {
    font-size: 0.88rem; color: var(--text-3);
    line-height: 1.78; margin-bottom: 16px;
}

.s-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.s-item-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px;
    background: var(--slate-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8rem; color: var(--text-2); font-weight: 500;
    line-height: 1.3; transition: border-color 0.18s, background 0.18s;
}

.s-item-chip:hover {
    border-color: var(--blue-border);
    background: var(--blue-pale);
}

.s-item-chip::before {
    content: ''; width: 5px; height: 5px;
    border-radius: 50%; background: var(--blue); flex-shrink: 0;
}

/* ---- TOOLS ---- */
.s-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tool-card {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    text-decoration: none;
}

.tool-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue-border);
    transform: translateY(-2px);
}

.tool-logo {
    width: 32px; height: 32px;
    border-radius: 7px; object-fit: contain; flex-shrink: 0;
    background: var(--slate-100); border: 1px solid var(--border); padding: 4px;
}

.tool-info { flex: 1; min-width: 0; }

.tool-header {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 6px; margin-bottom: 4px;
}

.tool-name {
    font-size: 0.85rem; font-weight: 700;
    color: var(--text-1); line-height: 1.2;
}

.tool-desc {
    font-size: 0.76rem; color: var(--text-3);
    line-height: 1.55; font-weight: 400;
}

.tool-visit {
    display: inline-flex; align-items: center;
    padding: 2px 10px;
    font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-4) !important; text-decoration: none;
    border: 1px solid var(--border); border-radius: 100px;
    white-space: nowrap; flex-shrink: 0;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.tool-visit:hover {
    background: var(--blue);
    color: #fff !important; border-color: var(--blue);
}

/* Wrapper for content column in new strategy section */
.s-layout > .s-panels {
    /* panels sit inside s-content-col now */
}

/* ============================================================
   CONCLUSION SECTION — new centered editorial layout
   ============================================================ */
.conclusion-section {
    background: var(--slate-900);
    padding: 96px 0;
}

.conclusion-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: start;
}

.conclusion-sidebar {
    position: sticky;
    top: 32px;
}

.conclusion-label {
    font-size: 0.64rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--blue-light);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
}

.conclusion-label::before {
    content: '';
    display: block; width: 28px; height: 1px;
    background: rgba(169,131,79,0.55);
}

.conclusion-sidebar h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 700; line-height: 1.2;
    color: var(--white); margin-bottom: 16px;
}

.conclusion-sidebar > p {
    font-size: 0.92rem; color: rgba(255,255,255,0.45);
    line-height: 1.75; margin-bottom: 36px;
}

.conclusion-body p {
    font-size: 1.02rem; color: rgba(255,255,255,0.65);
    line-height: 1.88; margin-bottom: 26px;
}

.conclusion-body p:last-child { margin-bottom: 0; }

.closing-quote {
    padding: 28px 30px;
    background: rgba(169,131,79,0.08);
    border-left: 3px solid var(--blue-light);
}

.closing-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem; font-style: italic;
    line-height: 1.6; color: rgba(255,255,255,0.85) !important;
    margin: 0 !important;
}

/* Key points row in conclusion */
.conclusion-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.conclusion-point {
    padding: 28px 24px 0;
    border-right: 1px solid rgba(255,255,255,0.10);
}

.conclusion-point:last-child { border-right: none; }

.conclusion-point-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem; font-weight: 700;
    color: var(--blue-light);
    margin-bottom: 14px;
}

.conclusion-point-text {
    font-size: 0.875rem; color: rgba(255,255,255,0.55);
    line-height: 1.65;
}

/* ============================================================
   FOOTER — redesigned with better text visibility
   ============================================================ */
.site-footer {
    background: #0e0c09;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.88);
}

.footer-main {
    padding: 60px 0 52px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-tagline {
    font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #ddc9a3;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* Four even columns */
.footer-cols-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col-heading {
    font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.footer-col-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 12px;
}

.footer-col-list a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col-list a:hover { color: #ddc9a3; }

.footer-col-list li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
}

.footer-col-list li strong {
    font-weight: 600;
    color: rgba(255,255,255,0.90);
}

.footer-company-name {
    font-size: 0.9rem; font-weight: 600;
    color: rgba(255,255,255,0.92);
    margin-bottom: 10px;
}

.footer-address {
    font-style: normal; font-size: 0.875rem;
    color: rgba(255,255,255,0.70); line-height: 1.85;
    margin-bottom: 10px;
}

.footer-reg-list {
    list-style: none; display: flex; flex-direction: column; gap: 6px;
}

.footer-reg-list li {
    font-size: 0.82rem; color: rgba(255,255,255,0.62);
}

/* Disclaimer row */
.footer-disclaimer-row {
    padding: 32px 0 0;
}

.footer-disclaimer {
    font-size: 0.80rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.88; margin-bottom: 24px;
    max-width: 900px;
}

.footer-disclaimer strong { color: rgba(255,255,255,0.90); }

.footer-bottom-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-caption {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.60);
}

.footer-bottom-links {
    display: flex; gap: 24px; list-style: none;
}

.footer-bottom-links a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.60);
    text-decoration: none; transition: color 0.2s;
}

.footer-bottom-links a:hover { color: #ddc9a3; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
    background: var(--slate-900);
    padding: 96px 0 64px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.legal-hero-inner { max-width: 720px; }

.legal-label {
    display: inline-block;
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--blue-light); margin-bottom: 18px; opacity: 0.85;
}

.legal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 16px;
}

.legal-meta {
    font-size: 0.84rem; color: rgba(255,255,255,0.35); font-weight: 400;
}

.legal-section { padding: 0 0 96px; background: var(--slate-50); }

.legal-grid {
    display: block;
}

/* Tabular index: bordered table-style grid of numbered rows/cells above the body copy */
.legal-toc {
    background: var(--slate-900);
    border: 1px solid rgba(255,255,255,0.12);
    margin: 0 0 56px;
    overflow: hidden;
}

.legal-toc-label {
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 14px 20px;
    background: var(--slate-950);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.legal-toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    counter-reset: toc;
}

.legal-toc-list li {
    counter-increment: toc;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.legal-toc-list li:nth-child(3n) { border-right: none; }

.legal-toc-list a {
    display: flex; align-items: baseline; gap: 10px;
    font-size: 0.83rem; color: rgba(255,255,255,0.65); text-decoration: none;
    padding: 14px 18px;
    line-height: 1.3;
    transition: color 0.18s, background 0.18s;
}

.legal-toc-list a::before {
    content: counter(toc, decimal-leading-zero);
    font-size: 0.68rem; font-weight: 700;
    color: #ddc9a3; flex-shrink: 0;
}

.legal-toc-list a:hover, .legal-toc-list a:focus {
    color: #fff; background: rgba(255,255,255,0.06);
    outline: none;
}

@media (max-width: 760px) {
    .legal-toc-list { grid-template-columns: repeat(2, 1fr); }
    .legal-toc-list li:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.12); }
    .legal-toc-list li:nth-child(2n) { border-right: none; }
}

@media (max-width: 480px) {
    .legal-toc-list { grid-template-columns: 1fr; }
    .legal-toc-list li:nth-child(2n) { border-right: none; }
    .legal-toc-list li:last-child { border-bottom: none; }
}

.legal-intro-box {
    background: var(--blue-pale);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px; margin-bottom: 48px;
}

.legal-intro-box p {
    font-size: 0.975rem; color: var(--text-2); line-height: 1.8;
}

.legal-block {
    margin-bottom: 44px; padding-bottom: 44px;
    border-bottom: 1px solid var(--border);
}

.legal-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.legal-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; font-weight: 700;
    color: var(--text-1); margin-bottom: 16px; line-height: 1.2;
}

.legal-block p {
    font-size: 0.975rem; color: var(--text-2);
    line-height: 1.85; margin-bottom: 14px;
}

.legal-block p:last-child { margin-bottom: 0; }

.legal-block ul, .legal-block ol {
    margin: 12px 0 14px 20px;
    display: flex; flex-direction: column; gap: 8px;
}

.legal-block li { font-size: 0.975rem; color: var(--text-2); line-height: 1.75; }

.legal-block a { color: var(--blue); text-decoration: underline; }
.legal-block a:hover { color: var(--blue-light); }

.legal-contact-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 24px;
    margin-top: 16px; box-shadow: var(--shadow-sm);
}

.legal-contact-card p { margin: 0; font-size: 0.9rem; line-height: 2; }

.legal-table {
    width: 100%; border-collapse: collapse;
    font-size: 0.855rem; margin: 20px 0;
}

.legal-table th, .legal-table td {
    padding: 10px 14px; text-align: left;
    border-bottom: 1px solid var(--border);
}

.legal-table th {
    background: var(--slate-100);
    font-weight: 600; font-size: 0.75rem;
    letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--text-3);
}

.legal-table td { color: var(--text-2); vertical-align: top; }
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table code {
    font-family: 'Courier New', monospace;
    background: var(--slate-100); border: 1px solid var(--border);
    border-radius: 4px; padding: 2px 6px; font-size: 0.82rem;
}

.legal-body h3 {
    font-size: 1rem; font-weight: 600;
    color: var(--text-1); margin: 24px 0 10px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 72px 0 96px; background: var(--slate-50); }

.contact-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 72px; align-items: start;
}

.contact-info-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700;
    color: var(--text-1); margin-bottom: 14px; line-height: 1.2;
}

.contact-info-text {
    font-size: 0.95rem; color: var(--text-2); line-height: 1.8; margin-bottom: 36px;
}

.contact-details { list-style: none; display: flex; flex-direction: column; gap: 24px; }

.contact-details li { display: flex; align-items: flex-start; gap: 14px; }

.contact-detail-icon {
    width: 36px; height: 36px;
    background: var(--blue-pale);
    border: 1px solid var(--blue-border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: var(--blue); flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.64rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-4); margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 0.9rem; color: var(--text-2);
    text-decoration: none; line-height: 1.6;
}

a.contact-detail-value:hover { color: var(--blue); }

.contact-form-wrap {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; gap: 20px; }
.form-row--half { grid-template-columns: 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--checkbox { flex-direction: row; align-items: flex-start; gap: 0; }

.form-label {
    font-size: 0.8rem; font-weight: 600;
    color: var(--text-1); letter-spacing: 0.01em;
}

.form-required { color: var(--blue); }
.form-optional { font-weight: 400; color: var(--text-4); }

.form-input {
    width: 100%; padding: 10px 14px;
    font-family: 'Inter', sans-serif; font-size: 0.9rem;
    color: var(--text-1); background: var(--slate-50);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none; line-height: 1.5;
}

.form-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29,78,216,0.10);
    background: var(--white);
}

.form-input--error { border-color: #dc2626; }
.form-input--error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 140px; }

.form-error { font-size: 0.76rem; color: #dc2626; font-weight: 500; min-height: 16px; }

.form-checkbox-label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.85rem; color: var(--text-2); line-height: 1.55; cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
    margin-top: 2px; flex-shrink: 0;
    accent-color: var(--blue); width: 15px; height: 15px;
}

.form-checkbox-label a { color: var(--blue); }

.form-footer { display: flex; justify-content: flex-end; padding-top: 4px; }

.form-submit {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 32px; background: var(--blue); color: #fff;
    font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600;
    letter-spacing: 0.02em; border: none; border-radius: var(--radius);
    cursor: pointer; transition: background 0.2s;
}

.form-submit:hover:not(:disabled) { background: var(--blue-light); }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.form-submit-spinner {
    display: none; width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
    border-radius: 50%; animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.contact-state {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; padding: 56px 40px; gap: 16px;
}

.contact-state-icon {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 700; flex-shrink: 0;
}

.contact-state--success .contact-state-icon { background: #dcfce7; color: #16a34a; }
.contact-state--error   .contact-state-icon { background: #fee2e2; color: #dc2626; }

.contact-state-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700; color: var(--text-1);
}

.contact-state-text { font-size: 0.95rem; color: var(--text-2); line-height: 1.75; max-width: 380px; }

.contact-state-btn {
    margin-top: 8px; padding: 10px 28px;
    background: transparent; color: var(--blue);
    border: 1.5px solid var(--blue-border); border-radius: var(--radius);
    font-size: 0.875rem; font-weight: 600; cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.contact-state-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .container { padding: 0 24px; }

    /* Overview */
    .overview-body-grid { grid-template-columns: 1fr; gap: 32px; }
    .overview-quote-band { position: static; }
    .overview-features { grid-template-columns: 1fr; }
    .feature-box { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 8px; }

    /* Strategies */
    .strategy-item { grid-template-columns: 44px 1fr; }
    .strategy-goto { grid-column: 2; }

    /* Strategy sections */
    .s-content-col { grid-template-columns: 1fr; gap: 28px; }
    .s-image { height: 260px; }
    .s-tools-grid { grid-template-columns: 1fr; }

    /* Conclusion */
    .conclusion-grid { grid-template-columns: 1fr; gap: 40px; }
    .conclusion-sidebar { position: static; }
    .conclusion-points { grid-template-columns: 1fr; gap: 0; }
    .conclusion-point { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); padding-bottom: 24px; margin-bottom: 24px; }
    .conclusion-point:last-child { border-bottom: none; margin-bottom: 0; }

    /* Footer */
    .footer-cols-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-bottom-bar { flex-direction: column; gap: 12px; align-items: flex-start; }

    /* Legal / Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row--half { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero { min-height: 82vh; }
    .hero-title { font-size: 2.1rem; }
    .hero-content-block { max-width: 100%; margin-left: 0; padding: 32px 24px; }
    .hero-content-block::before { font-size: 5.5rem; top: -28px; }
    .editorial-topbar-msg { display: none; }
    .s-items-grid { grid-template-columns: 1fr; }
    .overview-quote-band { padding: 28px 24px; }
    .footer-cols-grid { grid-template-columns: 1fr; gap: 28px; }
    .closing-quote { padding: 28px 28px; }
    .conclusion-section { padding: 64px 0; }
}
