/* ========================================
   DEVIVE.PL — Redesign v2
   Light mode, blue accent #2563EB
   ======================================== */

:root {
    /* --- Blue: marka, CTA, zaufanie --- */
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-light: #3B82F6;
    --blue-subtle: #EFF6FF;
    --blue-border: #BFDBFE;
    --blue-mid: #DBEAFE;
    --blue-deep: #1E40AF;

    /* --- Coral: brand accent z guidebooka. Problem, strata, pilnosc --- */
    --coral: #E63946;        /* akcent marki — obramowania, ikony, tekst na jasnym */
    --coral-cta: #D62839;    /* przycisk: bialy tekst daje 5.0:1, na #E63946 tylko 4.2:1 */
    --coral-dark: #C1121F;
    --coral-light: #FF6B6B;
    --coral-subtle: #FFF1F2;
    --coral-border: #FECDD3;

    /* --- Emerald: dopasowanie, "tak" --- */
    --green: #059669;
    --green-dark: #065F46;  /* naglowki na jasnozielonym tle */
    --green-light: #10B981;
    --green-subtle: #ECFDF5;
    --green-border: #A7F3D0;

    /* --- Tla --- */
    --bg: #FFFFFF;
    --bg-soft: #F5F7FA;
    --bg-blue-soft: #EEF5FF;
    --bg-ink: #0B1120;
    --bg-ink-soft: #16213A;

    /* --- Tekst na jasnym --- */
    --text: #0F172A;
    --text-mid: #1E293B;
    --text-muted: #52627A;   /* 6.6:1 na bialym */
    --text-light: #64748B;   /* 4.8:1 na bialym — minimum AA */

    /* --- Tekst na ciemnym --- */
    --on-ink: #F8FAFC;
    --on-ink-muted: #B4C0D3; /* 9:1 na --bg-ink */
    --on-ink-faint: #8494AC; /* 5:1 na --bg-ink */

    --border: #E2E8F0;
    --border-hover: #CBD5E1;
    --border-ink: rgba(255,255,255,0.14);

    --shadow-sm: 0 1px 3px rgba(15,23,42,0.05), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
    --shadow-lg: 0 12px 40px rgba(15,23,42,0.10);
    --shadow-blue: 0 8px 24px rgba(37,99,235,0.24);
    --shadow-coral: 0 8px 24px rgba(230,57,70,0.22);

    /* --- Wypelnienia: kafelki ikon, plakietki, numery, paski ---
       Plaski grafit, bez gradientu. Niebieski nie jest juz dekoracja,
       tylko sygnalem "tu mozna kliknac": przyciski, linki, fokus. */
    --fill: #0B1120;                          /* na jasnym tle, bialy znak */
    --fill-soft: #1E293B;                     /* drugi plan i hover */
    --fill-on-ink: rgba(255,255,255,0.10);    /* to samo na ciemnej sekcji */
    --fill-on-ink-border: rgba(255,255,255,0.18);
    --shadow-fill: 0 4px 12px rgba(11,17,32,0.20);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    --max-width: 1200px;
    --section-pad: 112px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* overflow-x: clip zamiast hidden. Hidden robi z <body> kontener
   przewijania, przez co position: sticky w srodku strony przestaje
   dzialac (boczny spis tresci artykulu jechal razem z trescia).
   Clip obcina tak samo, ale nie tworzy kontenera przewijania. */
html { scroll-behavior: smooth; overflow-x: clip; }
[id] { scroll-margin-top: 88px; }
body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; color: var(--text); }

/* Subtle noise texture on whole page */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.018;
    pointer-events: none;
    z-index: 1000;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
/* overflow:clip zamiast hidden — przycina glow orby tak samo, ale nie robi
   z sekcji kontenera przewijania, wiec nie psuje sticky/anchorow w srodku. */
.section { padding: var(--section-pad) 0; position: relative; overflow: clip; }
@supports not (overflow: clip) {
    .section { overflow: hidden; }
}
.bg-white { background: var(--bg); }
.bg-soft { background: var(--bg-soft); }
.bg-blue-soft { background: var(--bg-blue-soft); }

/* Sekcja ciemna — lamie monotonie bieli i daje kontrast */
.bg-ink {
    background: var(--bg-ink);
    color: var(--on-ink);
}
.bg-ink::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 15% 0%, rgba(230,57,70,0.14), transparent 70%),
        radial-gradient(55% 55% at 88% 100%, rgba(255,255,255,0.07), transparent 70%);
    pointer-events: none;
}
.bg-ink > * { position: relative; z-index: 1; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--on-ink); }
.bg-ink .section-title { color: var(--on-ink); }
.bg-ink .section-subtitle { color: var(--on-ink-muted); }
.bg-ink .section-label {
    color: #FFE1E3;
    background: rgba(230,57,70,0.18);
    border-color: rgba(230,57,70,0.45);
}
.bg-ink .disclaimer { color: var(--on-ink-faint); }

/* Dot grid background pattern */
.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(37,99,235,0.13) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Glow orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Gradient divider */
.section-divider {
    height: 1px;
    background: var(--border);
    border: none;
    margin: 0;
}

/* Grain overlay for cards */
.grain-card { position: relative; overflow: hidden; }
.grain-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.25;
    pointer-events: none;
    mix-blend-mode: overlay;
    border-radius: inherit;
    z-index: 1;
}
.grain-card > * { position: relative; z-index: 2; }

/* ===== TYPOGRAPHY ===== */
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.05em;
    letter-spacing: -0.01em;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    margin-bottom: 20px;
}
.section-title {
    font-size: 2.625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text);
}
/* Akcent na wyroznionym fragmencie naglowka */
.serif-italic.accent-coral { color: var(--coral); }
.serif-italic.accent-underline,
.serif-italic.accent-underline-coral {
    background-repeat: no-repeat;
    background-size: 100% 4px;
    background-position: 0 94%;
    padding-bottom: 3px;
}
.serif-italic.accent-underline { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 4' preserveAspectRatio='none'%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%230B1120'/%3E%3Cstop offset='1' stop-color='%230B1120'/%3E%3C/linearGradient%3E%3Crect width='120' height='4' rx='2' ry='2' fill='url(%23g)'/%3E%3C/svg%3E"); }
.serif-italic.accent-underline-coral { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 4' preserveAspectRatio='none'%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23E63946'/%3E%3Cstop offset='1' stop-color='%23EA580C'/%3E%3C/linearGradient%3E%3Crect width='120' height='4' rx='2' ry='2' fill='url(%23g)'/%3E%3C/svg%3E"); }
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    padding: 13px 24px;
    line-height: 1.15;
    white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37,99,235,0.3);
}
.btn-ghost {
    background: #fff;
    color: var(--text-mid);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
    background: var(--bg-soft);
    border-color: var(--text-light);
    color: var(--text);
    transform: translateY(-1px);
}
.btn-coral {
    background: var(--coral-cta);
    color: #fff;
    border-color: var(--coral-cta);
    box-shadow: var(--shadow-coral);
}
.btn-coral:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(230,57,70,0.32);
}
.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue-border);
}
.btn-outline:hover {
    background: var(--blue-subtle);
    border-color: var(--blue);
}

/* ===== BADGE ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    margin-bottom: 24px;
}
.badge svg { color: var(--text-muted); }

/* ===== ANIMATIONS =====
   Bez klasy .js (czyli bez dzialajacego JavaScriptu) tresc jest po prostu
   widoczna. Chowamy ja tylko wtedy, gdy jest kto ma ja pokazac. */
.anim { opacity: 1; transform: none; }
html.js .anim {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
html.js .anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.header.scrolled {
    box-shadow: 0 2px 20px rgba(15,23,42,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    width: 22px; height: 22px;
    color: var(--blue);
    flex-shrink: 0;
    transition: color 0.2s;
}
.logo:hover .logo-icon { color: var(--blue-dark); }
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}
.nav-link {
    position: relative;
    padding: 4px 0;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: var(--fill);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    gap: 5px;
    flex-direction: column;
}
.mobile-menu-btn span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 88px 16px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
    position: absolute;
    top: 20px; right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text);
    transition: background 0.2s;
}
.mobile-nav-close:hover { background: var(--border); }
.mobile-nav-divider {
    width: 100%;
    max-width: 420px;
    height: 1px;
    background: var(--border);
    border: none;
    margin: 0;
    flex-shrink: 0;
}
.mobile-nav-link { flex-shrink: 0; }
.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    padding: 14px 0;
    width: 100%;
    text-align: center;
    transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--text); }
.mobile-nav-cta {
    width: 100%;
    max-width: 420px;
    justify-content: center;
    margin-top: 28px;
    flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
    padding: 160px 0 100px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.hero-text { position: relative; z-index: 1; }
.hero-visual { position: relative; z-index: 1; }
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.hero-title {
    font-size: 3.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: 1.1875rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.65;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== QUOTE ===== */
.quote-section {
    padding: 72px 0;
    background: var(--bg-blue-soft);
    border-top: 1px solid var(--blue-border);
    border-bottom: 1px solid var(--blue-border);
    position: relative;
    overflow: hidden;
}
.quote-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.quote-text {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}
.quote-author {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== CARDS GRID ===== */
.cards-grid { display: grid; gap: 24px; }
.cards-grid > * { min-width: 0; }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

/* Problem cards — card-stat pinned to bottom, aligned across all cards */
.card--problem {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}
.card--problem {
    position: relative;
    overflow: hidden;
}
.card--problem:hover { border-color: var(--coral-border); }
.card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--coral-dark);
    background: var(--coral-subtle);
    border: 1px solid var(--coral-border);
    border-radius: var(--radius-md);
    line-height: 1;
    margin-bottom: 18px;
}
.card--problem h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 12px; line-height: 1.3; }
.card--problem p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0; padding-bottom: 20px; }
.card-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.card-stat svg { color: var(--text-muted); }
.card-stat svg { flex-shrink: 0; }

/* Timeline cards */
.card--timeline {
    background: rgba(255,255,255,0.045);
    border-color: var(--border-ink);
    position: relative;
    overflow: hidden;
}
.card--timeline:hover {
    border-color: rgba(230,57,70,0.5);
    background: rgba(230,57,70,0.08);
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.timeline-marker {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFB3B8;
    margin-bottom: 16px;
    display: inline-block;
    padding: 5px 13px;
    background: rgba(230,57,70,0.16);
    border: 1px solid rgba(230,57,70,0.42);
    border-radius: var(--radius-pill);
}
.card--timeline p { color: var(--on-ink-muted); font-size: 0.9375rem; line-height: 1.65; }
.timeline-cta { text-align: center; margin-top: 48px; }

/* Guarantee cards */
.card--guarantee { text-align: center; }
.card--guarantee:hover { border-color: var(--blue-border); }
.card--guarantee-featured {
    background: var(--blue-subtle);
    border-color: var(--blue-border);
}
.card--guarantee-featured:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.card--guarantee-featured .guarantee-icon { background: #fff; border-color: var(--blue-border); }
.guarantee-icon {
    width: 64px; height: 64px;
    background: var(--fill);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
}
.card--guarantee h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.card--guarantee p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; }

/* ===== PROCESS STEPS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
}
.process-num {
    width: 56px; height: 56px;
    background: var(--fill);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--blue-border);
    flex-shrink: 0;
}
.process-line {
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: var(--border-hover);
    opacity: 1;
    z-index: 0;
}
.process-step:last-child .process-line { display: none; }
.process-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.process-content p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== DELIVERABLES ===== */
.deliverables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.deliverable-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.deliverable-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.deliverable-card--main {
    background: var(--bg-ink-soft);
    border-color: var(--bg-ink-soft);
    color: #fff;
}
.deliverable-card--main h3 { color: #fff; }
.deliverable-card--main .deliverable-header { border-bottom-color: rgba(255,255,255,0.12); }
.deliverable-card--main .deliverable-icon {
    background: var(--fill-on-ink);
    border-color: var(--fill-on-ink-border);
    color: #fff;
}
.deliverable-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.deliverable-icon {
    width: 44px; height: 44px;
    background: var(--fill);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.deliverable-icon--light {
    background: var(--bg-soft);
    border-color: var(--border);
    color: var(--text-mid);
}
.deliverable-header h3 { font-size: 1.25rem; font-weight: 600; }

/* Feature list — star bullets, no dividers */
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
    font-size: 0.9375rem;
    color: var(--text-mid);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    line-height: 1.55;
}
.deliverable-card--main .feature-list li { color: rgba(255,255,255,0.88); }
.feature-list li::before {
    content: '✦';
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 3px;
}
.deliverable-card--main .feature-list li::before { color: rgba(255,255,255,0.82); }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 56px;
    align-items: start;
}
.about-card {
    background: var(--bg-blue-soft);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.about-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.about-avatar {
    width: 104px; height: 104px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-soft);
    border: 3px solid #fff;
    margin-bottom: 8px;
    box-shadow: 0 0 0 3px var(--blue-border), 0 8px 22px rgba(37,99,235,0.20);
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.about-card h3 { font-size: 1.25rem; font-weight: 700; }
.about-card > p { font-size: 0.9375rem; color: var(--text-muted); }
.about-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.about-tags span {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
}
.about-items { display: flex; flex-direction: column; gap: 36px; padding-top: 4px; }
.about-item { display: flex; gap: 18px; align-items: flex-start; }
.about-item-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: var(--fill);
    border: none;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    margin-top: 2px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.22);
}
.about-item h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.about-item p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }

/* ===== FAQ ===== */
.faq-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 72px;
    align-items: start;
}
.faq-sidebar { align-self: start; }
.faq-sidebar .section-label { display: inline-block; width: auto; margin-bottom: 16px; }
.faq-sidebar .section-title { text-align: left; font-size: 2.25rem; margin-bottom: 16px; }
.faq-sidebar > p { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.faq-email {
    display: inline-block;
    font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600;
    color: var(--blue);
    border-bottom: 2px solid var(--blue-border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.faq-email:hover { color: var(--blue-dark); border-color: var(--blue); }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
    border-bottom: 1px solid var(--border);
    transition: border-color 0.2s;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item.active { border-bottom-color: var(--blue-border); }
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text);
    transition: color 0.2s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s, color 0.2s, background 0.2s, border-color 0.2s;
    line-height: 1;
}
.faq-q:hover .faq-icon { border-color: var(--blue-border); color: var(--blue); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: #fff; background: var(--blue); border-color: var(--blue); }
.faq-a {
    height: 0;
    overflow: hidden;
    transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
    padding: 2px 4px 22px;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-card {
    background: var(--bg-ink);
    border: 1px solid var(--bg-ink);
    border-radius: var(--radius-xl);
    padding: 72px 56px;
    box-shadow: 0 18px 50px rgba(11,17,32,0.22);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 70% at 12% 0%, rgba(255,255,255,0.09), transparent 68%),
        radial-gradient(55% 65% at 90% 100%, rgba(255,255,255,0.05), transparent 68%);
    pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--fill-on-ink);
    border: 1px solid var(--fill-on-ink-border);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    margin-bottom: 20px;
}
.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 16px;
}
.cta-card > p {
    font-size: 1.0625rem;
    color: var(--on-ink-muted);
    margin-bottom: 36px;
    line-height: 1.65;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-capacity {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFB3B8;
    background: rgba(230,57,70,0.14);
    border: 1px solid rgba(230,57,70,0.38);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    margin-bottom: 28px;
}
.cta-capacity::before {
    content: "";
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--coral-light);
    box-shadow: 0 0 0 4px rgba(230,57,70,0.22);
    flex-shrink: 0;
}
.cta-buttons { margin-bottom: 16px; }
.cta-note { font-size: 0.8125rem; color: var(--on-ink-faint); }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-ink);
    color: #fff;
    padding: 72px 0 40px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    opacity: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #fff;
}
.footer-logo-icon { width: 18px; height: 18px; color: #fff; }
.footer-brand > p { font-size: 0.9375rem; color: var(--on-ink-muted); max-width: 280px; line-height: 1.6; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--border-ink);
    border-radius: var(--radius-sm);
    color: var(--on-ink-muted);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.footer-social:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-ink);
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9375rem; color: #D6DEEA; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-col ul li:not(:has(a)) { font-size: 0.9375rem; color: var(--on-ink-faint); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--on-ink-faint);
    padding-top: 4px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--on-ink-faint); transition: color 0.2s; }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ===== HERO PHONE VISUAL ===== */
.hero-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-phone-img {
    width: 100%;
    max-width: 420px;
    height: 540px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-xl);
    display: block;
    box-shadow: var(--shadow-lg);
}

/* Notification cards */
.notif {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    width: 296px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    pointer-events: none;
    opacity: 0;
}

.notif-icon-wrap {
    width: 36px;
    height: 36px;
    background: var(--fill);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.notif-content { flex: 1; min-width: 0; }

.notif-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3px;
}

.notif-app {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.notif-time {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    color: var(--text-light);
}

.notif-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 2px;
}

.notif-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Notification animations — one at a time, 18s loop */
@keyframes notif1 {
    0%   { opacity: 0; transform: translateY(-28px) scale(0.93); }
    6%   { opacity: 1; transform: translateY(0) scale(1); }
    28%  { opacity: 1; transform: translateY(0) scale(1); }
    34%  { opacity: 0; transform: translateY(-12px) scale(0.97); }
    100% { opacity: 0; transform: translateY(-28px) scale(0.93); }
}

@keyframes notif2 {
    0%   { opacity: 0; transform: translateY(-28px) scale(0.93); }
    33%  { opacity: 0; transform: translateY(-28px) scale(0.93); }
    39%  { opacity: 1; transform: translateY(0) scale(1); }
    61%  { opacity: 1; transform: translateY(0) scale(1); }
    67%  { opacity: 0; transform: translateY(-12px) scale(0.97); }
    100% { opacity: 0; transform: translateY(-28px) scale(0.93); }
}

@keyframes notif3 {
    0%   { opacity: 0; transform: translateY(-28px) scale(0.93); }
    66%  { opacity: 0; transform: translateY(-28px) scale(0.93); }
    72%  { opacity: 1; transform: translateY(0) scale(1); }
    94%  { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-12px) scale(0.97); }
}

.notif-1 { animation: notif1 18s ease infinite; animation-delay: 1.2s; animation-fill-mode: both; }
.notif-2 { animation: notif2 18s ease infinite; animation-delay: 1.2s; animation-fill-mode: both; }
.notif-3 { animation: notif3 18s ease infinite; animation-delay: 1.2s; animation-fill-mode: both; }

/* ===== BLOG SHARED STYLES ===== */
.page-hero {
    padding: 140px 0 60px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.page-hero p { color: var(--text-muted); font-size: 1.0625rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    justify-content: center;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb-sep { opacity: 0.4; }


/* ===== TOOLS ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.tool-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.tool-card:hover {
    border-color: var(--blue-border);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tool-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--fill);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-fill);
}

.tool-card-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--fill);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    padding: 3px 10px;
    margin-bottom: 12px;
}

.tool-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.tool-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-hero {
    padding: 136px 0 64px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.tool-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: end;
}

.tool-hero h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 760px;
    margin-bottom: 20px;
}

.tool-hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 720px;
}

.tool-note {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.tool-note strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 8px;
}

.tool-note span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.dns-tool-shell {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.dns-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.dns-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.dns-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-bottom: 20px;
}

.dns-input-row--secondary {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: center;
    margin-bottom: 0;
}

.dns-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 15px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.dns-form input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.22);
}

.dns-field-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.dns-results {
    min-height: 220px;
}

.dns-empty-state,
.dns-loading {
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
}

.dns-empty-state h2,
.dns-loading h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.dns-empty-state p,
.dns-loading p {
    color: var(--text-muted);
    line-height: 1.6;
}

.dns-empty-state--error {
    border-color: var(--coral-border);
    border-style: solid;
    background: var(--coral-subtle);
}
.dns-empty-state--error h2 { color: var(--coral-dark); }

.dns-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: left;
}

.dns-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--blue-border);
    border-top-color: var(--blue);
    animation: dnsSpin 0.8s linear infinite;
    flex: 0 0 auto;
}

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

.dns-summary {
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.dns-summary h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.dns-summary p {
    color: var(--text-muted);
}

.dns-summary--good { background: var(--green-subtle); border: 1px solid var(--green-border); }
.dns-summary--warn { background: #FFFBEB; border: 1px solid rgba(245,158,11,0.35); }
.dns-summary--bad { background: var(--coral-subtle); border: 1px solid var(--coral-border); }
.dns-summary--good .section-label { color: var(--green-dark); background: #fff; border-color: var(--green-border); }
.dns-summary--warn .section-label { color: #B45309; background: #fff; border-color: rgba(245,158,11,0.35); }
.dns-summary--bad .section-label { color: var(--coral-dark); background: #fff; border-color: var(--coral-border); }
.dns-summary .section-label { margin-bottom: 10px; }

.dns-score {
    min-width: 112px;
    text-align: center;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: var(--radius-md);
    padding: 14px;
}

.dns-score strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text);
}

.dns-score span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.dns-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dns-result-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.dns-result-card--good { border-color: var(--green-border); border-left: 4px solid var(--green-light); }
.dns-result-card--warn { border-color: rgba(245,158,11,0.4); border-left: 4px solid #F59E0B; }
.dns-result-card--bad { border-color: var(--coral-border); border-left: 4px solid var(--coral); }
.dns-result-card--neutral { border-left: 4px solid var(--border-hover); background: var(--bg-soft); }

.dns-result-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dns-result-top span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 3px 8px;
}

.dns-result-card--good .dns-result-top span { color: var(--green-dark); background: var(--green-subtle); border-color: var(--green-border); }
.dns-result-card--warn .dns-result-top span { color: #B45309; background: #FFFBEB; border-color: rgba(245,158,11,0.35); }
.dns-result-card--bad .dns-result-top span { color: var(--coral-dark); background: var(--coral-subtle); border-color: var(--coral-border); }
.dns-result-card--neutral .dns-result-top span { color: var(--text-muted); background: var(--bg); border-color: var(--border-hover); }

.dns-result-top h3 {
    font-size: 1.0625rem;
    font-weight: 600;
}

.dns-result-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.dns-raw {
    margin-top: 14px;
}

.dns-raw summary {
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
}

.dns-raw pre {
    white-space: pre-wrap;
    word-break: break-word;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-top: 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.dns-next-step {
    margin-top: 24px;
    background: var(--blue-subtle);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.dns-next-step h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.dns-next-step p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.dns-provider-note {
    color: var(--text-light);
    font-size: 0.8125rem;
    margin-top: 16px;
    text-align: center;
}

@media (max-width: 1024px) {
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .tool-note { max-width: 640px; }
}

@media (max-width: 768px) {
    .tools-grid,
    .dns-result-grid {
        grid-template-columns: 1fr;
    }
    .tool-hero {
        padding: 120px 0 56px;
    }
    .tool-hero h1 {
        font-size: 2.125rem;
    }
    .dns-input-row,
    .dns-input-row--secondary {
        grid-template-columns: 1fr;
    }
    .dns-input-row .btn {
        width: 100%;
        justify-content: center;
    }
    .dns-summary {
        flex-direction: column;
        align-items: flex-start;
    }
    .dns-score {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tool-card {
        grid-template-columns: 1fr;
    }
    .dns-form,
    .dns-empty-state,
    .dns-loading,
    .dns-summary,
    .dns-result-card,
    .dns-next-step {
        padding: 22px;
    }
}



/* ===== NAV ACTIVE STATE ===== */
.nav-link.is-active { color: var(--text); font-weight: 600; }
.mobile-nav-link.is-active { color: var(--text); font-weight: 700; }

/* ===== FIT / NIE-FIT ===== */
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fit-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
}
.fit-card { position: relative; overflow: hidden; }
.fit-card--yes { border-color: var(--green-border); background: var(--green-subtle); }
.fit-card--no { border-color: var(--coral-border); background: var(--coral-subtle); }
.fit-card h3 {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.125rem; font-weight: 700; margin-bottom: 20px;
}
.fit-card--yes h3 { color: var(--green-dark); }
.fit-card--no h3 { color: var(--coral-dark); }
.fit-card > p { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.fit-list { display: flex; flex-direction: column; gap: 12px; }
.fit-list li {
    position: relative; padding-left: 30px;
    font-size: 0.9375rem; color: var(--text-mid); line-height: 1.6;
}
.fit-list li::before {
    position: absolute; left: 0; top: 0;
    font-family: var(--font-heading); font-weight: 700;
}
.fit-card--yes .fit-list li::before { content: "✓"; color: var(--green); }
.fit-card--no .fit-list li::before { content: "✕"; color: var(--coral); }

/* ===== TRZY DROGI WEJŚCIA ===== */
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.path-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 32px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.path-card:hover { border-color: var(--blue-border); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.path-letter {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: var(--radius-md);
    background: var(--fill); border: none;
    color: #fff; font-family: var(--font-heading); font-weight: 800;
    font-size: 1.125rem; margin-bottom: 16px;
    box-shadow: var(--shadow-fill);
}
.path-card { position: relative; overflow: hidden; }
.path-card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 10px; }
.path-situation {
    font-size: 0.875rem; color: var(--text-muted); font-style: italic;
    padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border);
    line-height: 1.6;
}
.path-card > p:last-child { font-size: 0.9375rem; color: var(--text-mid); line-height: 1.65; }

/* ===== AUDYT (punkt wejścia) ===== */
.entry-card {
    background: var(--bg-ink); color: #fff;
    border-radius: var(--radius-xl); padding: 56px;
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
    position: relative;
}
.entry-card h3 { color: #fff; font-size: 1.875rem; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.entry-lead { color: var(--on-ink-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 26px; }
.entry-list { display: flex; flex-direction: column; gap: 11px; }
.entry-list li {
    position: relative; padding-left: 26px;
    font-size: 0.9375rem; color: rgba(255,255,255,0.9); line-height: 1.6;
}
.entry-list li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.55);
}
.entry-side {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg); padding: 32px; text-align: center;
}
.entry-price { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.entry-price > span { font-size: 1.125rem; font-weight: 500; }
.entry-price-label { font-size: 0.875rem; color: var(--on-ink-faint); margin-top: 8px; }
.entry-deduct {
    margin: 22px 0; padding: 16px;
    background: var(--fill-on-ink); border: 1px solid var(--fill-on-ink-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem; color: var(--on-ink-muted); line-height: 1.6;
}
.entry-deduct strong { color: #fff; }
.entry-side .btn { width: 100%; justify-content: center; }
.entry-meta { font-size: 0.8125rem; color: var(--on-ink-faint); margin-top: 14px; }

/* ===== CENNIK ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 36px 30px;
    display: flex; flex-direction: column;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { border-color: var(--blue-border); box-shadow: var(--shadow-md); }
.price-card--featured {
    border-color: var(--blue); box-shadow: var(--shadow-blue);
    position: relative; transform: translateY(-8px);
    padding-top: 44px;
    overflow: hidden;
}
.price-card--featured .price-name {
    color: var(--text);
}
.price-card--featured:hover { transform: translateY(-11px); }
.price-flag {
    position: absolute; top: 16px; right: 18px;
    background: var(--fill); color: #fff;
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 5px 16px; border-radius: var(--radius-pill); white-space: nowrap;
}
.price-name {
    font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700;
    letter-spacing: -0.01em; margin-bottom: 6px;
}
.price-for { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; min-height: 44px; margin-bottom: 22px; }
.price-amount {
    font-family: var(--font-heading); font-size: 2.25rem; font-weight: 800;
    letter-spacing: -0.03em; line-height: 1; color: var(--text);
}
.price-amount > span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-unit { font-size: 0.8125rem; color: var(--text-light); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.price-retainer {
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
    font-size: 0.9375rem; color: var(--text-mid);
}
.price-retainer strong { font-family: var(--font-heading); font-weight: 700; color: var(--text); }
.price-specs { display: flex; flex-direction: column; gap: 9px; margin: 24px 0 28px; }
.price-specs li {
    position: relative; padding-left: 24px;
    font-size: 0.875rem; color: var(--text-mid); line-height: 1.55;
}
.price-specs li::before {
    content: "✓"; position: absolute; left: 0; top: -1px;
    color: var(--green-light); font-family: var(--font-heading); font-weight: 700;
}
.price-specs li.is-off { color: var(--text-light); }
.price-specs li.is-off::before { content: "✕"; color: var(--text-light); }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ===== KALKULATOR ===== */
.calc-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 48px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    box-shadow: var(--shadow-md);
}
.calc-fields { display: flex; flex-direction: column; gap: 20px; }
.calc-field label {
    display: block; font-family: var(--font-heading); font-size: 0.875rem;
    font-weight: 600; color: var(--text-mid); margin-bottom: 7px;
}
.calc-field input {
    width: 100%; padding: 13px 16px;
    border: 1px solid var(--border); border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 1rem; color: var(--text);
    background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-field input:focus {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.22);
}
.calc-field input { font-variant-numeric: tabular-nums; }
.calc-hint { font-size: 0.8125rem; color: var(--text-light); margin-top: 5px; }
.calc-out {
    background: var(--bg-ink);
    border: 1px solid var(--bg-ink);
    border-radius: var(--radius-lg); padding: 32px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
}
.calc-out::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(70% 70% at 100% 0%, rgba(230,57,70,0.22), transparent 70%);
    pointer-events: none;
}
.calc-out > * { position: relative; z-index: 1; }
.calc-out-label {
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em; color: #FFB3B8;
    margin-bottom: 10px;
}
.calc-big {
    font-family: var(--font-heading); font-size: 2.75rem; font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.05; color: #fff;
    font-variant-numeric: tabular-nums;
}
.calc-big > span:first-child { color: var(--coral-light); }
.calc-big > span:last-child { font-size: 1.25rem; font-weight: 500; color: var(--on-ink-faint); }
.calc-sub { font-size: 0.875rem; color: var(--on-ink-muted); margin-top: 8px; line-height: 1.6; }
.calc-rows { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-ink); display: flex; flex-direction: column; gap: 11px; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9375rem; color: var(--on-ink-muted); }
.calc-row strong { font-family: var(--font-heading); color: #fff; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-row--rev { padding-top: 11px; margin-top: 2px; border-top: 1px dashed var(--border-ink); color: var(--on-ink-faint); }
.calc-row--rev strong { color: var(--on-ink-muted); }

/* ===== DISCLAIMER ===== */
.disclaimer {
    max-width: 780px; margin: 32px auto 0;
    font-size: 0.8125rem; color: var(--text-light);
    line-height: 1.65; text-align: center;
}

/* ===== FORMULARZ ===== */
.form-shell {
    max-width: 720px; margin: 0 auto;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 48px;
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
    font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600;
    color: var(--text-mid); margin-bottom: 7px;
}
.form-field label .req { color: var(--coral-dark); }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%; padding: 13px 16px;
    border: 1px solid var(--border); border-radius: var(--radius-md);
    font-family: var(--font-body); font-size: 1rem; color: var(--text);
    background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-field select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.22);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(230,57,70,0.14); }
.form-error { font-size: 0.8125rem; color: var(--coral-dark); font-weight: 700; margin-top: 6px; display: none; }
.form-field.has-error .form-error { display: block; }
.form-hint { font-size: 0.8125rem; color: var(--text-light); margin-top: 6px; }
.form-consent {
    grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start;
    font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
}
.form-consent input[type="checkbox"] {
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px;
    accent-color: var(--blue); cursor: pointer;
}
.form-consent a { color: var(--blue); text-decoration: underline; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; margin-top: 8px; }
.form-actions .btn { width: 100%; justify-content: center; }
.form-actions .btn[disabled] { opacity: 0.6; pointer-events: none; }
.form-footnote { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--text-light); text-align: center; line-height: 1.6; }
.form-status {
    grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--radius-md);
    font-size: 0.9375rem; line-height: 1.6; display: none;
}
.form-status.is-visible { display: block; }
.form-status--error { background: var(--coral-subtle); border: 1px solid var(--coral-border); border-left: 4px solid var(--coral); color: var(--coral-dark); font-weight: 700; }

/* Karta „co się stanie dalej" obok formularza */
.form-aside {
    max-width: 720px; margin: 28px auto 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.form-aside-item {
    background: var(--bg-soft); border: 1px solid var(--border);
    border-top: 3px solid var(--blue);
    border-radius: var(--radius-lg); padding: 20px;
}
.form-aside-item:nth-child(2) { border-top-color: var(--fill); }
.form-aside-item:nth-child(3) { border-top-color: var(--green-light); }
.form-aside-item strong {
    display: block; font-family: var(--font-heading); font-size: 0.875rem;
    font-weight: 700; color: var(--text); margin-bottom: 6px;
}
.form-aside-item span { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ===== DZIĘKUJEMY ===== */
.ty-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.ty-icon {
    width: 84px; height: 84px; margin: 0 auto 28px;
    border-radius: 50%; background: var(--fill); border: none;
    display: flex; align-items: center; justify-content: center; color: #fff;
    box-shadow: 0 10px 28px rgba(11,17,32,0.24);
}
.ty-wrap h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.ty-wrap > p { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 40px; }
.ty-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; margin-bottom: 40px; }
.ty-step {
    background: var(--bg); border: 1px solid var(--border);
    border-top: 3px solid var(--blue);
    border-radius: var(--radius-lg); padding: 26px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.ty-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ty-step:nth-child(2) { border-top-color: var(--fill); }
.ty-step:nth-child(3) { border-top-color: var(--green-light); }
.ty-step-num {
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-muted); margin-bottom: 10px;
}
.ty-step h2 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.ty-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.ty-next {
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 36px;
}
.ty-next h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.ty-next p { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 22px; line-height: 1.65; }
.ty-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== BLOG — listing ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-xl); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-border); }
.blog-card-img { height: 200px; background: var(--bg-blue-soft); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.blog-tag {
    display: inline-block; align-self: flex-start;
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #fff; background: var(--fill);
    border: 1px solid transparent; border-radius: var(--radius-pill);
    padding: 3px 10px; margin-bottom: 12px;
}
.blog-card-body h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; line-height: 1.35; }
.blog-card-body h2 a { color: var(--text); transition: color 0.2s; }
.blog-card-body h2 a:hover { color: var(--blue); }
.blog-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.blog-meta { font-size: 0.8125rem; color: var(--text-light); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.blog-meta-sep { opacity: 0.5; }
.blog-read-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600;
    color: var(--blue); margin-top: auto; padding-top: 16px;
}
.blog-read-more svg { transition: transform 0.2s; }
.blog-card:hover .blog-read-more svg { transform: translateX(3px); }

/* Kafel CTA w listingu bloga */
.blog-card--cta {
    background: var(--bg-ink); border-color: var(--bg-ink);
    justify-content: center; padding: 36px 30px;
    position: relative; overflow: hidden;
}
.blog-card--cta::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(70% 70% at 100% 0%, rgba(255,255,255,0.08), transparent 68%);
    pointer-events: none;
}
.blog-card--cta > * { position: relative; z-index: 1; }
.blog-card--cta:hover { border-color: var(--blue); }
.blog-card--cta .blog-tag { color: #fff; background: var(--fill-on-ink); border-color: var(--fill-on-ink-border); }
.blog-card--cta h2 { color: #fff; font-size: 1.25rem; margin-bottom: 12px; }
.blog-card--cta p { color: var(--on-ink-muted); margin-bottom: 22px; }
.blog-card--cta .btn { align-self: flex-start; }

/* ===== BLOG — artykuł ===== */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-hero-section { padding: 140px 0 48px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 0.875rem; color: var(--text-muted); flex-wrap: wrap; }
.article-tag { padding: 4px 12px; background: var(--fill); border: none; border-radius: var(--radius-pill); font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 600; color: #fff; }
.article-hero-section h1 { font-size: 2.5rem; font-weight: 600; margin-bottom: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.article-hero-section .lead { font-size: 1.125rem; color: var(--text-muted); line-height: 1.65; }
.article-img { margin: 40px auto 0; max-width: 800px; padding: 0 24px; }
.article-img picture, .article-img > img {
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.article-img img { width: 100%; height: 360px; object-fit: cover; display: block; border-radius: var(--radius-xl); }
.article-content { padding: 40px 0 80px; }
.article-content h2 { font-size: 1.75rem; font-weight: 600; margin-top: 52px; margin-bottom: 20px; letter-spacing: -0.01em; }
.article-content h3 { font-size: 1.25rem; font-weight: 600; margin-top: 36px; margin-bottom: 14px; }
.article-content p { margin-bottom: 20px; color: var(--text-mid); line-height: 1.8; }
.article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 24px; color: var(--text-mid); }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content strong { color: var(--text); }
.article-content em, .article-content code { overflow-wrap: anywhere; }
.article-content p, .article-content li { overflow-wrap: break-word; }
.article-content a { color: var(--blue); text-decoration: underline; }
.article-content blockquote { border-left: 4px solid var(--coral); padding: 20px 24px; margin: 32px 0; background: var(--coral-subtle); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.article-content blockquote p { color: var(--text-muted); font-style: italic; margin-bottom: 0; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.9375rem; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; color: var(--text-mid); }
.article-content th { background: var(--bg-soft); font-family: var(--font-heading); font-weight: 600; color: var(--text); }
.article-table-wrap { overflow-x: auto; margin-bottom: 24px; }
/* Karta flow w artykule — do 22.08.2026 nie miala zadnych stylow
   i renderowala sie jako goly tekst. */
.flow-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 24px 26px;
    margin: 28px 0;
    box-shadow: var(--shadow-sm);
}
.flow-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}
.flow-card > p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}
.flow-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.flow-meta span {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 4px 11px;
}
.flow-meta span:first-child {
    color: #fff;
    background: var(--fill);
    border-color: transparent;
}

.stat-highlight { display: flex; gap: 20px; margin: 32px 0; flex-wrap: wrap; }
.stat-box { flex: 1; min-width: 140px; padding: 22px 18px; background: var(--bg-blue-soft); border: 1px solid var(--blue-border); border-radius: var(--radius-lg); text-align: center; }
.stat-box .number { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 800; color: var(--text); display: block; letter-spacing: -0.02em; }
.stat-box .label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }
.tip-box { padding: 24px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); margin: 28px 0; border-left: 4px solid var(--fill); }
.tip-box strong { color: var(--text); }
.tip-box p { margin: 0; font-size: 0.9375rem; }
.article-source { font-size: 0.8125rem; color: var(--text-light); line-height: 1.65; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.article-cta-box { background: var(--bg-ink); border: 1px solid var(--bg-ink); border-radius: var(--radius-xl); padding: 48px; text-align: center; margin: 0 0 80px; position: relative; overflow: hidden; }
.article-cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(65% 70% at 15% 0%, rgba(255,255,255,0.09), transparent 68%), radial-gradient(55% 65% at 92% 100%, rgba(255,255,255,0.05), transparent 68%); pointer-events: none; }
.article-cta-box > * { position: relative; z-index: 1; }
.article-cta-box h2 { font-size: 1.75rem; margin-bottom: 12px; margin-top: 0; color: #fff; }
.article-cta-box p { color: var(--on-ink-muted); margin-bottom: 28px; }
.article-related { padding: 0 0 80px; }
.article-related h2 { font-size: 1.375rem; font-weight: 600; margin-bottom: 24px; }
.article-related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article-related-list a {
    display: block; padding: 20px 24px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600;
    color: var(--text); line-height: 1.45;
    transition: border-color 0.2s, transform 0.2s;
}
.article-related-list a:hover { border-color: var(--blue-border); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== BLOKADA SCROLLA POD MOBILE MENU ===== */
body.nav-open { overflow: hidden; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root { --section-pad: 88px; }
    .section-title { font-size: 2.25rem; }
    .hero-title { font-size: 2.75rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 56px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-card { max-width: 360px; }
    .faq-layout { grid-template-columns: 1fr; gap: 40px; }
    .faq-sidebar { position: static; text-align: center; }
    .faq-sidebar .section-title { text-align: center; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-line { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .fit-grid { grid-template-columns: 1fr; }
    .paths-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .price-card--featured { transform: none; }
    .price-card--featured:hover { transform: translateY(-3px); }
    .price-for { min-height: 0; }
    .entry-card { grid-template-columns: 1fr; gap: 32px; padding: 44px 36px; }
    .calc-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .ty-steps { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
    :root { --section-pad: 72px; }
    .hero { padding: 120px 0 80px; }
    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 2rem; }
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .cards-grid--3, .cards-grid--2 { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .deliverables-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .quote-text { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand > p { max-width: 100%; }
    .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .cta-card { padding: 40px 28px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .hero-phone-img { height: 420px; }
    .notif { width: 260px; }
    .blog-grid { grid-template-columns: 1fr; }
    .form-shell { padding: 32px 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-aside { grid-template-columns: 1fr; }
    .entry-card { padding: 36px 24px; }
    .entry-side { padding: 26px 20px; }
    .calc-card { padding: 28px 22px; }
    .calc-out { padding: 24px 20px; }
    .calc-big { font-size: 2.25rem; }
    .fit-card { padding: 28px 24px; }
    .card { padding: 28px 22px; }
    .path-card { padding: 26px 22px; }
    .price-card { padding: 32px 24px; }
    .article-hero-section { padding: 116px 0 40px; }
    .article-hero-section h1 { font-size: 1.875rem; }
    .article-img { padding: 0 16px; }
    .article-img img { height: 220px; }
    .flow-card { padding: 20px 18px; margin: 22px 0; }
    .price-flag { position: static; align-self: flex-start; transform: none; margin-bottom: 14px; }
    .price-card--featured { padding-top: 28px; }
    .tools-grid { grid-template-columns: 1fr; }
    .stat-highlight { flex-direction: column; }
    .article-cta-box { padding: 32px 20px; }
    .article-related-list { grid-template-columns: 1fr; }
    .ty-wrap h1 { font-size: 2rem; }
    .btn-lg { padding: 14px 22px; font-size: 0.9375rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.875rem; }
    .hero-phone-img { height: 360px; max-width: 300px; }
    .notif { width: 220px; padding: 10px 12px; }
    .notif-title { font-size: 0.8125rem; }
    .entry-price { font-size: 2.5rem; }
    .price-amount { font-size: 2rem; }
    .calc-big { font-size: 2rem; }
    .form-shell { padding: 26px 18px; }
    .article-hero-section h1 { font-size: 1.625rem; }
    .ty-wrap h1 { font-size: 1.75rem; }
    .btn { font-size: 0.875rem; }
    .btn-lg { padding: 14px 18px; font-size: 0.9375rem; letter-spacing: -0.01em; }
    .cta-card { padding: 36px 20px; }
    .cta-card h2 { font-size: 1.75rem; }
    .quote-text { font-size: 1.3125rem; }
    .flow-meta span { font-size: 0.6875rem; padding: 3px 9px; }
    .section-title { font-size: 1.75rem; }
    .hero-cta .btn { white-space: normal; text-align: center; line-height: 1.35; }
}

/* --- Kafel CTA w siatce narzedzi --- */
.tool-card--cta {
    background: var(--bg-ink);
    border-color: var(--bg-ink);
    color: var(--on-ink);
}
.tool-card--cta h2 { color: #fff; }
.tool-card--cta p { color: var(--on-ink-muted); }
.tool-card--cta .tool-card-label {
    color: #fff;
    background: var(--fill-on-ink);
    border-color: var(--fill-on-ink-border);
}
.tool-card--cta .tool-card-icon {
    background: rgba(255,255,255,0.08);
    box-shadow: none;
}
.tool-card--cta:hover { border-color: rgba(255,255,255,0.38); }

/* --- Pasek „test nie pokazuje wszystkiego" --- */
.tools-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
    padding: 32px 36px;
    background: var(--blue-subtle);
    border: 1px solid var(--blue-border);
    border-radius: var(--radius-xl);
}
.tools-note h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.tools-note p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.tools-note .btn { flex-shrink: 0; }

.tools-reading { margin-top: 48px; }
.tools-reading h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 20px; }

/* --- Sciaga rekordow DNS --- */
.card--dns { display: grid; grid-template-rows: auto auto 1fr; }
.card--dns:hover { border-color: var(--blue-border); }
.card--dns h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 10px; }
.card--dns p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }
.card--dns em {
    font-style: normal;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.875em;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1px 6px;
    overflow-wrap: anywhere;
}
.dns-abbr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    margin-bottom: 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--fill);
    width: fit-content;
}

@media (max-width: 768px) {
    .tools-note { grid-template-columns: 1fr; padding: 26px 22px; gap: 22px; }
    .tools-note .btn { width: 100%; justify-content: center; }
}

/* ===== UTILITY / KLASY POMOCNICZE =====
   Zastapily atrybuty style= w HTML (22.08.2026), zeby CSP moglo
   dzialac bez 'unsafe-inline' w style-src. */
.u-layer { position: relative; z-index: 1; }
.u-mt-lg { margin-top: 24px; }
.u-mb-xl { margin-bottom: 56px; }
.section--flush-top { padding-top: 0; }
.section--page-top { padding-top: 172px; }
.section--form-top { padding-top: 56px; }
.cards-grid--narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.breadcrumb--left { justify-content: flex-start; margin-bottom: 20px; }

.inline-link {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}
.inline-link:hover { color: var(--blue-dark); }

.ty-step-link {
    margin-top: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
}
.ty-step-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    border-bottom: 2px solid var(--blue-border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.ty-step-link a:hover { color: var(--blue-dark); border-color: var(--blue); }

.blog-card--cta .blog-card-body { padding: 0; }

/* Glow orby — pozycje i rozmiary zamiast style= */
.orb--hero-a {
    width: 700px; height: 700px; top: -220px; right: -200px;
    background: radial-gradient(circle, rgba(15,23,42,0.06) 0%, transparent 65%);
}
.orb--hero-b {
    width: 460px; height: 460px; bottom: -120px; left: -120px;
    background: radial-gradient(circle, rgba(15,23,42,0.05) 0%, transparent 65%);
}
.orb--calc {
    width: 560px; height: 560px; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(230,57,70,0.09) 0%, transparent 65%);
}

@media (max-width: 768px) {
    .section--page-top { padding-top: 132px; }
    .orb--hero-a, .orb--hero-b, .orb--calc { display: none; }
}

/* ===== STRONY PRAWNE =====
   Bylo powielone inline w polityka-prywatnosci.html i regulamin.html. */
.legal-hero {
    padding: 140px 0 60px;
    background:
        var(--bg-soft);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.legal-hero h1 { font-size: 2.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal-hero p { color: var(--text-muted); font-size: 1rem; }
.legal-updated { font-size: 0.875rem; color: var(--text-light); margin-top: 4px; }
.legal-body { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-body h2 {
    font-size: 1.375rem; font-weight: 600;
    margin-top: 48px; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 2px solid var(--border);
}
.legal-body h2::before {
    content: "";
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--fill);
    margin-right: 10px;
    vertical-align: middle;
}
.legal-body h3 { font-size: 1.125rem; font-weight: 600; margin-top: 28px; margin-bottom: 12px; }
.legal-body p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; font-size: 0.9375rem; }
.legal-body ul, .legal-body ol { color: var(--text-mid); padding-left: 24px; margin-bottom: 16px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 8px; line-height: 1.7; font-size: 0.9375rem; }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-body strong { color: var(--text); }
.legal-info-box {
    background: var(--bg-blue-soft);
    border: 1px solid var(--blue-border);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius-lg);
    padding: 24px; margin: 32px 0;
}
.legal-info-box p { margin: 0; font-size: 0.9375rem; color: var(--text-mid); }
.legal-note { font-size: 0.875rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .legal-hero { padding: 116px 0 44px; }
    .legal-hero h1 { font-size: 1.875rem; }
    .legal-body { padding: 44px 20px 72px; }
}

/* ===== ACCESSIBILITY ===== */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}
/* Wyzsza specyficznosc niz `.form-field input:focus { outline: none }`,
   inaczej pola formularza zostaja bez widocznego obramowania klawiatury. */
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.calc-field input:focus-visible,
.dns-form input:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}
.bg-ink a:focus-visible,
.bg-ink button:focus-visible,
.footer a:focus-visible,
.cta-card a:focus-visible,
.entry-card a:focus-visible,
.article-cta-box a:focus-visible {
    outline-color: #BFDBFE;
}

/* Pominiecie nawigacji dla klawiatury i czytnikow ekranu */
.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    background: var(--blue);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    box-shadow: var(--shadow-lg);
    transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .blog-card:hover .blog-card-img img { transform: none; }
    .nav-link::after { transition: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    html.js .anim { opacity: 1; transform: none; transition: none; }
    .notif-1 { animation: none; opacity: 1; }
    .notif-2, .notif-3 { animation: none; opacity: 0; }
    .btn, .card, .deliverable-card, .about-card, .blog-card, .price-card, .path-card, .tool-card { transition: none; }
}

/* ===== DRUK ===== */
@media print {
    .header, .mobile-nav, .footer, .skip-link, .glow-orb, .dot-grid,
    .cta-card, .article-cta-box, .article-related, .timeline-cta { display: none !important; }
    body::before { display: none !important; }
    body { font-size: 11pt; color: #000; background: #fff; }
    html.js .anim { opacity: 1 !important; transform: none !important; }
    .section { padding: 16pt 0; overflow: visible; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
    .card, .price-card, .path-card, .fit-card, .flow-card { break-inside: avoid; }
}

/* ===== BLOG — pasek: wyszukiwarka + kategorie ===== */
.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 32px;
}
.blog-search {
    position: relative;
    flex: 1 1 260px;
    max-width: 340px;
}
.blog-search svg {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}
.blog-search input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-search input::placeholder { color: var(--text-light); }
.blog-search input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.22);
}
.blog-search input::-webkit-search-cancel-button { cursor: pointer; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 7px 15px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.blog-filter:hover { color: var(--text); border-color: var(--border-hover); }
.blog-filter.is-active {
    color: #fff;
    background: var(--fill);
    border-color: transparent;
}
.blog-filter:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.blog-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
    padding: 40px 0 8px;
}
.blog-card[hidden] { display: none; }

/* Caly kafel jest klikalny: link tytulu rozciagniety na karte */
.blog-card { position: relative; }
.blog-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.blog-card:has(.blog-card-link:hover) { border-color: var(--blue-border); }
.blog-card:has(.blog-card-link:hover) .blog-card-body h2 a { color: var(--blue); }
.blog-card .blog-read-more { position: relative; z-index: 2; }

/* ============================================================
   ROZBUDOWA 26.08.2026
   Blog, artykuly, benchmarki, narzedzia, menu Wiedza.
   Wszystko dopisane na istniejacych tokenach z :root.
   ============================================================ */

/* ---------- Menu rozwijane "Wiedza" ---------- */
.nav-drop { position: relative; display: inline-flex; }
.nav-drop-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 0; cursor: pointer;
    font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500;
    color: var(--text-muted); padding: 4px 0; letter-spacing: 0.01em;
    transition: color 0.2s;
}
.nav-drop-btn:hover, .nav-drop.is-open .nav-drop-btn { color: var(--text); }
.nav-drop-btn svg { transition: transform 0.25s ease; }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-panel {
    position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(-6px);
    width: 460px; max-width: calc(100vw - 32px);
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 10px; z-index: 60;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-drop.is-open .nav-drop-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-panel::before {
    content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px;
}
.nav-drop-item {
    display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start;
    padding: 12px 14px; border-radius: var(--radius-md);
    transition: background 0.18s;
}
.nav-drop-item:hover { background: var(--bg-soft); }
.nav-drop-ico {
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    display: grid; place-items: center; color: #fff; background: var(--fill);
}
.nav-drop-ico svg { width: 18px; height: 18px; }
.nav-drop-item strong {
    display: block; font-family: var(--font-heading); font-size: 0.9375rem;
    font-weight: 600; color: var(--text); margin-bottom: 3px;
}
.nav-drop-item span { display: block; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }
.nav-drop-foot {
    margin: 8px 6px 2px; padding: 12px 8px 4px; border-top: 1px solid var(--border);
    font-size: 0.8125rem; color: var(--text-muted);
}
.nav-drop-foot a { color: var(--blue); font-weight: 600; }
.nav-drop-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mobile-nav-group {
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-light);
    padding: 18px 0 6px;
}

/* ---------- Pasek postepu czytania ---------- */
.read-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
    background: transparent; pointer-events: none;
}
.read-progress-bar {
    height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
    background: var(--fill); transition: transform 0.08s linear;
}
@media (prefers-reduced-motion: reduce) { .read-progress-bar { transition: none; } }

/* ---------- Stopka autora pod tytulem ---------- */
.article-byline {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border);
}
.byline-avatar {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--border);
    flex-shrink: 0;
}
.byline-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.45; }
.byline-text strong { display: block; font-family: var(--font-heading); font-weight: 600; color: var(--text); font-size: 0.9375rem; }
.byline-dot { opacity: 0.45; margin: 0 2px; }
.byline-facts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; font-size: 0.8125rem; color: var(--text-light); }
.byline-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; border: 1px solid var(--border); border-radius: var(--radius-pill);
    background: var(--bg); font-family: var(--font-heading); font-weight: 600;
    font-size: 0.75rem; color: var(--text-muted); white-space: nowrap;
}
.byline-chip svg { width: 13px; height: 13px; opacity: 0.65; }

/* ---------- Uklad artykulu ze spisem tresci ---------- */
.article-layout {
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    /* minmax(0, 1fr) zamiast 1fr: bez tego dluga pozycja spisu tresci
       rozpycha kolumne ponad szerokosc ekranu na telefonie. */
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
}
.article-layout > .article-content { padding-top: 36px; }
.article-side { display: none; }
@media (min-width: 1080px) {
    .article-layout {
        grid-template-columns: 244px minmax(0, 1fr);
        gap: 56px;
        align-items: start;
    }
    .article-side { display: block; position: sticky; top: 104px; padding-top: 44px; }
    .article-layout > .article-content { max-width: 760px; }
    .toc-mobile { display: none; }
}
@media (min-width: 1340px) { .article-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 88px; } }

.toc-label {
    font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-light);
    margin-bottom: 14px;
}
.toc-list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.toc-list li { margin: 0; }
.toc-list a {
    display: block; padding: 7px 0 7px 16px; margin-left: -2px;
    overflow-wrap: anywhere;
    border-left: 2px solid transparent;
    font-size: 0.8125rem; line-height: 1.45; color: var(--text-muted);
    transition: color 0.18s, border-color 0.18s;
}
.toc-list a:hover { color: var(--blue); }
.toc-list .toc-h3 a { padding-left: 28px; font-size: 0.78125rem; color: var(--text-light); }
.toc-list a.is-active { color: var(--text); font-weight: 700; border-left-color: var(--fill); }
.toc-side-cta {
    margin-top: 26px; padding: 18px; border-radius: var(--radius-lg);
    background: var(--bg-ink); color: var(--on-ink-muted); font-size: 0.8125rem; line-height: 1.55;
}
.toc-side-cta strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 0.875rem; margin-bottom: 8px; }
.toc-side-cta a {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
    font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem; color: #BFDBFE;
}
.toc-side-cta a:hover { text-decoration: underline; text-underline-offset: 3px; }

.toc-mobile {
    margin: 32px 0 8px; border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--bg-soft); overflow: hidden;
}
.toc-mobile > summary {
    list-style: none; cursor: pointer; padding: 16px 20px;
    font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; color: var(--text);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.toc-mobile > summary::-webkit-details-marker { display: none; }
.toc-mobile > summary::after {
    content: "+"; font-size: 1.25rem; font-weight: 400; color: var(--text-muted); line-height: 1;
}
.toc-mobile[open] > summary::after { content: "\2212"; }
.toc-mobile .toc-list { margin: 0 20px 18px; }

/* ---------- Blok "najkrocej" na starcie artykulu ---------- */
.takeaway {
    position: relative; margin: 0 0 36px; padding: 26px 28px;
    background: var(--bg-blue-soft);
    border: 1px solid var(--blue-border); border-radius: var(--radius-lg);
}
.takeaway-label {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.11em; text-transform: uppercase; color: var(--text);
    margin-bottom: 12px;
}
.takeaway-label svg { width: 14px; height: 14px; }
.takeaway > p { font-size: 1.0625rem; line-height: 1.65; color: var(--text); margin-bottom: 14px; font-weight: 600; }
.takeaway ul { margin: 0 !important; padding-left: 20px; }
.takeaway li { font-size: 0.9375rem; color: var(--text-mid); margin-bottom: 6px; line-height: 1.6; }
.takeaway li:last-child { margin-bottom: 0; }

/* ---------- Kotwice przy naglowkach ---------- */
.article-content h2, .article-content h3 { scroll-margin-top: 96px; position: relative; }
.h-anchor {
    position: absolute; left: -26px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; display: none; place-items: center;
    color: var(--text-light); text-decoration: none !important; border-radius: 6px;
    opacity: 0; transition: opacity 0.15s, color 0.15s, background 0.15s;
}
@media (min-width: 1080px) { .h-anchor { display: grid; } }
.article-content h2:hover .h-anchor,
.article-content h3:hover .h-anchor,
.h-anchor:focus-visible { opacity: 1; }
.h-anchor:hover { color: var(--blue); background: var(--blue-subtle); }
.h-anchor svg { width: 14px; height: 14px; }

/* ---------- Pasek udostepniania ---------- */
.share-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--border);
}
.share-bar-label {
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-light); margin-right: 4px;
}
.share-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px; border: 1px solid var(--border); border-radius: var(--radius-pill);
    background: var(--bg); color: var(--text-mid);
    font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 600;
    cursor: pointer; text-decoration: none !important;
    transition: border-color 0.18s, color 0.18s, transform 0.18s, background 0.18s;
}
.share-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.share-btn svg { width: 15px; height: 15px; }
.share-btn.is-done { border-color: var(--green); color: var(--green-dark); background: var(--green-subtle); }

/* ---------- Tabela danych ---------- */
.data-table-wrap {
    margin: 30px 0; border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; background: var(--bg);
}
.data-table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 0 !important; }
.data-table th, .data-table td { padding: 13px 18px; text-align: left; border: 0; border-bottom: 1px solid var(--border); }
.data-table thead th {
    background: var(--bg-soft); font-family: var(--font-heading); font-weight: 700;
    font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--text-muted); white-space: nowrap;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table td strong { color: var(--text); font-family: var(--font-heading); }
.data-table .hl { color: var(--text); font-weight: 700; }
.data-table .hl-coral { color: var(--coral-dark); font-weight: 700; }
.data-table-note {
    padding: 12px 18px; background: var(--bg-soft); border-top: 1px solid var(--border);
    font-size: 0.78125rem; color: var(--text-muted); line-height: 1.6;
}
.data-table-note strong { color: var(--text-muted); }

/* ---------- Blok metodologii i zrodel ---------- */
.method-box {
    margin: 40px 0 0; padding: 24px 26px; border: 1px solid var(--border);
    border-radius: var(--radius-lg); background: var(--bg-soft);
}
.method-box h3 {
    font-family: var(--font-heading); font-size: 0.75rem !important; font-weight: 700;
    letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-muted);
    margin: 0 0 12px !important;
}
.method-box p, .method-box li { font-size: 0.84375rem; color: var(--text-muted); line-height: 1.7; }
.method-box p:last-child, .method-box li:last-child { margin-bottom: 0; }
.method-box ul { margin-bottom: 0; padding-left: 20px; }

/* ---------- FAQ w artykule ---------- */
.article-faq { margin-top: 52px; }
.article-faq > h2 { margin-top: 0 !important; }
.article-faq .faq-list { margin-top: 20px; }
.article-faq .faq-a-inner a { color: var(--blue); text-decoration: underline; }

/* ---------- Nawigacja miedzy wpisami ---------- */
.post-nav {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
    margin: 0 0 72px;
}
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav a {
    display: block; padding: 20px 24px; border: 1px solid var(--border);
    border-radius: var(--radius-lg); background: var(--bg);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.post-nav a:hover { border-color: var(--blue-border); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.post-nav .dir {
    display: flex; align-items: center; gap: 7px;
    font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 9px;
}
.post-nav .dir svg { width: 13px; height: 13px; }
.post-nav .ttl { font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600; color: var(--text); line-height: 1.45; }
.post-nav a:hover .ttl { color: var(--blue); }
.post-nav .next { text-align: right; }
.post-nav .next .dir { justify-content: flex-end; }

/* ---------- Blok zapisu / lead magnet ---------- */
.signup-box {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 34px; align-items: center;
    padding: 34px 38px; margin: 44px 0;
    border: 1px solid var(--blue-border); border-radius: var(--radius-xl);
    background: var(--bg-blue-soft);
}
@media (max-width: 820px) { .signup-box { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; } }
.signup-box h3 { font-family: var(--font-heading); font-size: 1.25rem !important; font-weight: 700; margin: 0 0 10px !important; color: var(--text); }
.signup-box p { font-size: 0.9375rem; color: var(--text-muted); margin: 0 !important; line-height: 1.65; }
.signup-box ul { margin: 14px 0 0 !important; padding-left: 20px; }
.signup-box li { font-size: 0.875rem; color: var(--text-mid); margin-bottom: 5px; }
.signup-box-action { display: flex; flex-direction: column; gap: 10px; }
.signup-box-action .btn { width: 100%; justify-content: center; }
.signup-box-note { font-size: 0.78125rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

/* ---------- Blog: wyrozniony wpis ---------- */
.blog-featured {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0;
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    overflow: hidden; background: var(--bg); margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, border-color 0.25s;
}
.blog-featured:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-border); }
@media (max-width: 900px) { .blog-featured { grid-template-columns: 1fr; } }
.blog-featured-img { position: relative; min-height: 320px; background: var(--bg-blue-soft); overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-badge {
    position: absolute; top: 18px; left: 18px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border-radius: var(--radius-pill);
    background: var(--bg-ink); color: #fff;
    font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
}
.blog-featured-badge svg { width: 13px; height: 13px; color: #fff; }
.blog-featured-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 640px) { .blog-featured-body { padding: 30px 24px; } }
.blog-featured-body h2 { font-size: 1.625rem; font-weight: 600; line-height: 1.25; margin: 14px 0 14px; letter-spacing: -0.015em; }
.blog-featured-body h2 a { color: var(--text); }
.blog-featured-body h2 a:hover { color: var(--blue); }
.blog-featured-body > p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }

/* ---------- Blog: pasek narzedzi ---------- */
.blog-toolbar { margin-bottom: 34px; }
.blog-filter .cnt {
    display: inline-block; margin-left: 7px; padding: 1px 6px; border-radius: var(--radius-pill);
    background: rgba(15,23,42,0.07); font-size: 0.6875rem; font-weight: 700; color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.blog-filter.is-active .cnt { background: rgba(255,255,255,0.24); color: #fff; }
.blog-result-count {
    margin: 22px 0 4px; font-size: 0.875rem; color: var(--text-light);
    min-height: 20px;
}
.blog-result-count strong { color: var(--text-mid); }
.blog-card-meta-row { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.blog-byline { font-size: 0.78125rem; color: var(--text-light); }

/* ---------- Sekcja: kanal RSS i wersja dla AI ---------- */
.feed-strip {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 18px 22px; margin-top: 44px;
    border: 1px dashed var(--border-hover); border-radius: var(--radius-lg);
    background: var(--bg-soft); font-size: 0.84375rem; color: var(--text-muted);
}
.feed-strip strong { font-family: var(--font-heading); color: var(--text); }
.feed-strip a {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-heading); font-weight: 600; color: var(--blue);
}
.feed-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }
.feed-strip svg { width: 14px; height: 14px; }

/* ============================================================
   BENCHMARKI
   ============================================================ */
.bm-hero {
    padding: 148px 0 64px;
    background:
        radial-gradient(65% 80% at 12% 0%, rgba(255,255,255,0.10), transparent 66%),
        radial-gradient(55% 70% at 92% 100%, rgba(255,255,255,0.05), transparent 66%),
        var(--bg-ink);
    color: var(--on-ink);
    position: relative; overflow: clip;
}
.bm-hero .breadcrumb { color: var(--on-ink-faint); margin-bottom: 26px; }
.bm-hero .breadcrumb a { color: var(--on-ink-muted); }
.bm-hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.125rem); font-weight: 600; line-height: 1.1;
    letter-spacing: -0.025em; margin-bottom: 20px; max-width: 20ch; color: #fff;
}
.bm-hero .lead { font-size: 1.0625rem; color: var(--on-ink-muted); line-height: 1.7; max-width: 62ch; }
.bm-hero-meta {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 28px;
}
.bm-hero-meta span {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border-radius: var(--radius-pill);
    border: 1px solid var(--border-ink); background: rgba(255,255,255,0.05);
    font-family: var(--font-heading); font-size: 0.78125rem; font-weight: 600; color: var(--on-ink-muted);
}
.bm-hero-meta svg { width: 14px; height: 14px; color: var(--on-ink-muted); }

.bm-keyrow {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
    margin-top: 44px;
}
@media (max-width: 940px) { .bm-keyrow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bm-keyrow { grid-template-columns: 1fr; } }
.bm-key {
    padding: 22px 22px 20px; border-radius: var(--radius-lg);
    border: 1px solid var(--border-ink); background: rgba(255,255,255,0.045);
}
.bm-key .n {
    display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800;
    letter-spacing: -0.03em; color: #fff; line-height: 1.05;
}
.bm-key .n small { font-size: 0.9375rem; font-weight: 600; color: var(--on-ink-muted); }
.bm-key .l { display: block; margin-top: 8px; font-size: 0.84375rem; color: var(--on-ink-muted); line-height: 1.55; }
.bm-key .s { display: block; margin-top: 10px; font-size: 0.71875rem; color: var(--on-ink-faint); letter-spacing: 0.02em; }

.bm-flow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 880px) { .bm-flow-grid { grid-template-columns: minmax(0, 1fr); } }
.bm-flow {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--bg); padding: 26px 28px; position: relative;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.bm-flow:hover { border-color: var(--blue-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bm-flow-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.bm-flow-rank {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--radius-sm);
    display: grid; place-items: center; background: var(--fill); color: #fff;
    font-family: var(--font-heading); font-weight: 800; font-size: 0.9375rem;
}
.bm-flow h3 { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 700; margin: 0 0 4px; color: var(--text); }
.bm-flow-head p { font-size: 0.8125rem; color: var(--text-light); margin: 0; line-height: 1.5; }
.bm-flow-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bm-flow-stats div {
    padding: 12px 10px; border-radius: var(--radius-sm);
    background: var(--bg-soft); border: 1px solid var(--border); text-align: center;
}
.bm-flow-stats b {
    display: block; font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 800;
    color: var(--text); letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.bm-flow-stats span { display: block; margin-top: 3px; font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.03em; text-transform: uppercase; font-weight: 600; }
.bm-flow-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.84375rem; color: var(--text-muted); line-height: 1.6; }

.bm-source {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: var(--radius-pill);
    background: var(--bg-soft); border: 1px solid var(--border);
    font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.03em; color: var(--text-muted);
    line-height: 1.5; text-align: left;
}
.bm-source svg { width: 11px; height: 11px; }

.bm-callout {
    margin: 36px 0; padding: 28px 30px; border-radius: var(--radius-lg);
    border: 1px solid var(--coral-border); background: var(--coral-subtle);
    border-left: 4px solid var(--coral);
}
.bm-callout h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin: 0 0 10px; color: var(--text); }
.bm-callout p { margin: 0; font-size: 0.9375rem; color: var(--text-mid); line-height: 1.7; }
.bm-callout p + p { margin-top: 12px; }

/* ============================================================
   NARZEDZIA
   ============================================================ */
.tool-shell {
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    background: var(--bg); box-shadow: var(--shadow-md); overflow: hidden;
}
.tool-shell-head {
    padding: 24px 30px; border-bottom: 1px solid var(--border); background: var(--bg-soft);
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.tool-shell-head h2 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin: 0; }
.tool-shell-head p { font-size: 0.84375rem; color: var(--text-muted); margin: 4px 0 0; }
.tool-shell-body { padding: 30px; }
@media (max-width: 620px) { .tool-shell-body, .tool-shell-head { padding: 22px 20px; } }

.tool-field { margin-bottom: 20px; }
.tool-field label {
    display: block; font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600;
    color: var(--text); margin-bottom: 7px;
}
.tool-field .hint { font-size: 0.78125rem; color: var(--text-light); font-weight: 400; margin-top: 4px; display: block; line-height: 1.5; }
.tool-input {
    width: 100%; padding: 13px 16px; border: 1px solid var(--border-hover);
    border-radius: var(--radius-md); font-family: var(--font-body); font-size: 1rem;
    color: var(--text); background: var(--bg); transition: border-color 0.18s, box-shadow 0.18s;
}
.tool-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.16); }
.tool-counter {
    display: flex; align-items: center; justify-content: space-between;
    gap: 6px 12px; flex-wrap: wrap;
    margin-top: 8px; font-size: 0.78125rem; color: var(--text-light); font-variant-numeric: tabular-nums;
}
.tool-counter .over { color: var(--coral-dark); font-weight: 700; }

/* wynik: ocena z punktacja */
.score-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.score-ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.score-ring svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.score-ring .track { stroke: var(--border); }
.score-ring .bar { stroke: var(--blue); stroke-linecap: round; transition: stroke-dashoffset 0.7s cubic-bezier(0.4,0,0.2,1), stroke 0.3s; }
.score-ring .val {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--text);
    font-variant-numeric: tabular-nums;
}
.score-ring.is-good .bar { stroke: var(--green); }
.score-ring.is-mid .bar { stroke: #D97706; }
.score-ring.is-bad .bar { stroke: var(--coral); }
.score-verdict h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin: 0 0 6px; }
.score-verdict p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-item {
    display: grid; grid-template-columns: 24px 1fr; gap: 13px; align-items: start;
    padding: 15px 18px; border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--bg);
}
.check-item.ok { border-color: var(--green-border); background: var(--green-subtle); }
.check-item.warn { border-color: #FDE68A; background: #FFFBEB; }
.check-item.bad { border-color: var(--coral-border); background: var(--coral-subtle); }
.check-ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.check-ico svg { width: 13px; height: 13px; color: #fff; }
.check-item.ok .check-ico { background: var(--green); }
.check-item.warn .check-ico { background: #D97706; }
.check-item.bad .check-ico { background: var(--coral-cta); }
.check-item strong { display: block; font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.check-item span { display: block; font-size: 0.84375rem; color: var(--text-muted); line-height: 1.6; }

.preview-inbox {
    border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg); margin-top: 8px;
}
.preview-inbox-head {
    padding: 10px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--border);
    font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-muted);
}
.preview-row { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.preview-row:last-child { border-bottom: 0; }
.preview-from { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 3px; }
.preview-subj {
    font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview-prev { font-size: 0.8125rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.preview-cut { color: var(--coral-dark); opacity: 0.75; }

/* porownanie z benchmarkiem */
.cmp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 700px) { .cmp-grid { grid-template-columns: minmax(0, 1fr); } }
.cmp-bar-wrap { margin-top: 10px; }
.cmp-bar {
    position: relative; height: 10px; border-radius: var(--radius-pill);
    background: var(--bg-soft); border: 1px solid var(--border); overflow: hidden;
}
.cmp-bar i {
    position: absolute; inset: 0 auto 0 0; display: block; border-radius: var(--radius-pill);
    background: var(--fill); transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.cmp-bar.is-below i { background: linear-gradient(135deg, var(--coral), #EA580C); }
.cmp-bar.is-above i { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.cmp-mark {
    position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text);
    opacity: 0.55;
}
.cmp-legend { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; font-size: 0.75rem; color: var(--text-light); font-variant-numeric: tabular-nums; }

/* ============================================================
   STRONA GLOWNA: integracje i pytania
   ============================================================ */
.integr-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
@media (max-width: 940px) { .integr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .integr-grid { grid-template-columns: repeat(2, 1fr); } }
.integr-card {
    padding: 22px 20px; border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--bg); text-align: left;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.integr-card:hover { border-color: var(--blue-border); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.integr-logo {
    width: 40px; height: 40px; border-radius: var(--radius-sm); margin-bottom: 14px;
    display: grid; place-items: center;
    font-family: var(--font-heading); font-weight: 800; font-size: 1rem; color: #fff;
    background: var(--fill); letter-spacing: -0.02em;
}
.integr-card strong { display: block; font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.integr-card span { display: block; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; }
.integr-note {
    margin-top: 24px; padding: 18px 22px; border-radius: var(--radius-lg);
    background: var(--bg-soft); border: 1px solid var(--border);
    font-size: 0.875rem; color: var(--text-muted); line-height: 1.65;
}
.integr-note strong { color: var(--text); }

.qa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 940px) { .qa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .qa-grid { grid-template-columns: 1fr; } }
.qa-card {
    padding: 26px 26px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--bg); position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.qa-card:hover { border-color: var(--blue-border); box-shadow: var(--shadow-sm); }
.qa-mark {
    font-family: var(--font-serif); font-style: italic; font-size: 1.75rem;
    line-height: 1; color: var(--text); opacity: 0.3; display: block; margin-bottom: 10px;
}
.qa-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text); margin: 0 0 10px; line-height: 1.4; }
.qa-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 880px) { .resource-grid { grid-template-columns: 1fr; } }
.resource-card {
    display: flex; flex-direction: column; padding: 28px 28px 26px;
    border: 1px solid var(--border-ink); border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.045);
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.resource-card:hover { border-color: rgba(125,211,252,0.5); transform: translateY(-3px); background: rgba(255,255,255,0.075); }
.resource-ico {
    width: 40px; height: 40px; border-radius: var(--radius-sm); margin-bottom: 18px;
    display: grid; place-items: center; background: var(--fill-on-ink); color: #fff;
}
.resource-ico svg { width: 19px; height: 19px; }
.resource-card strong { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 600; color: #fff; margin-bottom: 9px; }
.resource-card p { font-size: 0.875rem; color: var(--on-ink-muted); line-height: 1.65; margin: 0 0 18px; flex: 1; }
.resource-link {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: #BFDBFE;
}
.resource-card:hover .resource-link svg { transform: translateX(3px); }
.resource-link svg { width: 15px; height: 15px; transition: transform 0.2s; }

/* wersja dla AI: dyskretny link w stopce artykulu */
.ai-link {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.78125rem; color: var(--text-light);
    font-family: var(--font-heading); font-weight: 600;
}
.ai-link:hover { color: var(--blue); }
.ai-link svg { width: 13px; height: 13px; }

@media print {
    .read-progress, .article-side, .toc-mobile, .share-bar, .post-nav, .signup-box { display: none !important; }
}

/* wariant wyroznionego kafla: panel z danymi zamiast zdjecia */
.blog-featured--data { border-color: var(--bg-ink); }
.blog-featured--data .blog-featured-img {
    background:
        radial-gradient(70% 80% at 15% 0%, rgba(255,255,255,0.11), transparent 66%),
        radial-gradient(60% 70% at 95% 100%, rgba(255,255,255,0.05), transparent 66%),
        var(--bg-ink);
    display: flex; flex-direction: column; justify-content: center; gap: 12px;
    padding: 40px 38px;
}
@media (max-width: 640px) { .blog-featured--data .blog-featured-img { padding: 30px 24px; } }
.bf-stat {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 13px 0; border-bottom: 1px solid var(--border-ink);
}
.bf-stat:last-child { border-bottom: 0; }
.bf-stat b {
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #fff;
    letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bf-stat span { font-size: 0.84375rem; color: var(--on-ink-muted); line-height: 1.45; text-align: right; }

/* Atrybut hidden musi wygrywac z regulami, ktore ustawiaja display.
   Bez tego .blog-featured (display:grid) i .article-side (display:block
   od 1080px) zostawaly widoczne mimo ustawionego hidden: filtr na blogu
   nie chowal wyroznionego kafla, a strona bez JS pokazywala pusta
   kolumne po spisie tresci. */
[hidden] { display: none !important; }

/* Odnosniki w artykule sa z zalozenia niebieskie i podkreslone
   (.article-content a). Elementy interfejsu, ktore siedza wewnatrz
   artykulu, musza to nadpisac. Bez tego przycisk w ramce kontekstowej
   dostawal niebieski tekst na niebieskim tle, czyli byl niewidoczny,
   a przyciski udostepniania mialy podkreslenie. */
.article-content .btn { text-decoration: none; }
.article-content .btn-primary { color: #fff; }
.article-content .btn-primary:hover { color: #fff; }
.article-content .btn-ghost { color: var(--text-mid); }
.article-content .share-btn { color: var(--text-mid); text-decoration: none; }
.article-content .share-btn:hover { color: var(--blue); }
.article-content .share-btn.is-done { color: var(--green-dark); }
.article-content .ai-link { color: var(--text-muted); text-decoration: none; }
.article-content .ai-link:hover { color: var(--blue); }
.article-content .toc-list a { text-decoration: none; }

/* Hub narzedzi: cztery karty czytaja sie lepiej w dwoch kolumnach
   niz w trzech plus sierota w drugim rzedzie. */
.tools-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .tools-grid--2 { grid-template-columns: 1fr; } }
.tool-card .blog-read-more { margin-top: 4px; }
.tool-card h2 { color: var(--text); }
.tool-card:hover h2 { color: var(--blue); }

/* Podpis pomocniczy takze poza .tool-field */
.hint {
    display: block; font-size: 0.78125rem; color: var(--text-muted);
    line-height: 1.55; margin: 0;
}

/* Regula .integr-card span (0,1,1) wygrywala z .integr-logo (0,1,0)
   i monogram dostawal kolor opisu na niebieskim tle, czyli byl
   praktycznie niewidoczny. Podnosimy specyficznosc. */
.integr-card .integr-logo {
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Strzalki w ramce kontekstowej i w bocznym CTA nie mialy atrybutow
   width/height, wiec bez reguly rozdymaly sie do szerokosci rodzica. */
.signup-box .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.toc-side-cta a svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-btn svg, .ai-link svg, .byline-chip svg, .takeaway-label svg,
.bm-source svg, .bm-hero-meta svg, .feed-strip svg, .resource-link svg,
.blog-featured-badge svg, .post-nav .dir svg { flex-shrink: 0; }

/* Jedna os pionowa dla calego artykulu.
   Naglowek i zdjecie sa wysrodkowane w 760 px, a kolumna tekstu zaczyna
   sie za bocznym spisem tresci. Bez tego lewa krawedz tytulu i lewa
   krawedz tekstu leza w innych miejscach. Od 1080 px naglowek i zdjecie
   wchodza w te sama siatke co uklad artykulu i laduja w drugiej kolumnie. */
@media (min-width: 1080px) {
    .article-hero-section .article-wrap,
    .article-img {
        max-width: 1140px;
        padding: 0 24px;
        display: grid;
        grid-template-columns: 244px minmax(0, 1fr);
        column-gap: 56px;
        row-gap: 0;
    }
    .article-hero-section .article-wrap > *,
    .article-img > * { grid-column: 2; }
}
@media (min-width: 1340px) {
    .article-hero-section .article-wrap,
    .article-img {
        grid-template-columns: 260px minmax(0, 1fr);
        column-gap: 88px;
    }
}

/* Okruszki na ciemnym naglowku benchmarkow maja isc do lewej,
   tak jak reszta tresci w tej sekcji. */
.bm-hero .breadcrumb { justify-content: flex-start; }
