/* Блог AIZECOM: лайм, Unbounded + Manrope с /fonts/. Шапка — логотип и меню сайта. */

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/manrope-cyrillic-400.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/manrope-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/manrope-cyrillic-500.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/manrope-latin-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/manrope-cyrillic-600.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/manrope-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/manrope-cyrillic-700.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/manrope-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/manrope-cyrillic-800.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/manrope-latin-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/unbounded-cyrillic-500.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/unbounded-latin-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/unbounded-cyrillic-600.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/unbounded-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/unbounded-cyrillic-700.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/unbounded-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/unbounded-cyrillic-800.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/fonts/unbounded-latin-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("/fonts/unbounded-cyrillic-900.woff2") format("woff2");
    unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+2116;
}
@font-face {
    font-family: "Unbounded";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("/fonts/unbounded-latin-900.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
    --bg: #eef3f8;
    --fg: #12151c;
    --card: #f7fafc;
    --line: rgba(18, 21, 28, 0.12);
    --muted: #4d5c6b;
    --accent: #0e7490;
    --accent-ink: #f4fbff;
    color-scheme: light;
}
html.dark {
    --bg: #05050b;
    --fg: #e7e9f5;
    --card: #0c0c16;
    --line: rgba(148, 163, 255, 0.16);
    --muted: #94a3b8;
    --accent: #22d3ee;
    --accent-ink: #ffffff;
    color-scheme: dark;
}

html { scroll-behavior: smooth; }
body.page-blog {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--bg) !important;
    color: var(--fg) !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 16px;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: clip;
}
body.page-blog::selection,
body.page-blog *::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

.flow-noise {
    position: fixed;
    inset: 0;
    z-index: 80;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.7'/></svg>");
}
html.dark .flow-noise { opacity: 0.09; mix-blend-mode: screen; }

.flow-glow {
    pointer-events: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 128, 252, 0.2) 0%, rgba(34, 211, 238, 0.06) 42%, transparent 68%);
}
@media (max-width: 767px) { .flow-glow { display: none; } }
html.dark body.page-blog {
    background:
        radial-gradient(900px 600px at 85% -5%, rgba(100, 67, 255, 0.2), transparent 65%),
        radial-gradient(700px 500px at 5% 30%, rgba(0, 211, 255, 0.08), transparent 70%),
        #05050b !important;
}
html.dark .flow-grid {
    background-image: linear-gradient(#8180fc0e 1px, transparent 1px), linear-gradient(90deg, #8180fc0e 1px, transparent 1px);
    background-size: 56px 56px;
}
html.dark .flow-card,
html.dark .flow-promo,
html.dark .flow-sub,
html.dark .flow-three article,
html.dark .flow-authorbox,
html.dark .flow-calc,
html.dark .flow-manifesto,
html.dark .flow-pager a,
html.dark .flow-pager > span {
    background: linear-gradient(160deg, rgba(20, 20, 38, 0.85), rgba(10, 10, 22, 0.9));
}

.flow-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100svh;
    overflow: hidden;
}
.flow-hero-media { position: absolute; inset: 0; }
.flow-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}
.flow-hero-video.is-on { opacity: 0.3; }
html.dark .flow-hero-video.is-on { opacity: 0.4; }
.flow-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 80%, transparent), color-mix(in srgb, var(--bg) 50%, transparent), var(--bg));
}
.flow-grid {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
    background-size: 72px 72px;
}
.flow-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 140px 24px 48px;
}
.flow-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}
.flow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: flow-pulse 1.8s ease-in-out infinite;
}
.flow-kicker-line { width: 64px; height: 1px; background: var(--line); }
.flow-hero h1 {
    margin: 36px 0 0;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(2.6rem, 8.4vw, 7.2rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}
.flow-line { display: block; }
.flow-outline {
    color: transparent;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 30%, transparent);
    font-weight: 900;
}
.flow-accent {
    background: linear-gradient(100deg, #22d3ee, #8180fc 60%, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.flow-hero-row {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .flow-hero-row { grid-template-columns: 1fr 1fr; align-items: end; }
}
.flow-lead {
    max-width: 28rem;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}
.flow-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
@media (min-width: 768px) { .flow-hero-actions { justify-content: flex-end; } }
.flow-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(90deg, #22d3ee, #8b5cf6);
    color: #fff;
    font-family: "Unbounded", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
}
.flow-btn:hover { transform: translateY(-2px); background: linear-gradient(90deg, #8b5cf6, #22d3ee); }
.flow-btn svg { transition: transform 0.3s; }
.flow-btn:hover svg { transform: translateX(4px); }
.flow-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    border: 1px solid var(--line);
    color: var(--fg);
    font-family: "Unbounded", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
}
.flow-btn-ghost:hover { border-color: var(--fg); }
.flow-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .flow-stats { grid-template-columns: repeat(4, 1fr); } }
.flow-stat b {
    display: block;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.flow-stat span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
.flow-live {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flow-marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}
.flow-marquee-track {
    display: flex;
    width: max-content;
    animation: flow-marquee 34s linear infinite;
}
.flow-marquee:hover .flow-marquee-track { animation-play-state: paused; }
.flow-marquee-row { display: flex; align-items: center; }
.flow-marquee-row span {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    margin: 0 28px;
    font-family: "Unbounded", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    white-space: nowrap;
}
.flow-marquee-row span.is-out {
    color: transparent;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 30%, transparent);
    font-weight: 800;
}
.flow-star { width: 14px; height: 14px; fill: currentColor; }
.flow-star.dim { color: var(--muted); }
.flow-star.hot { color: var(--accent); }

.flow-wrap { width: 100%; max-width: 80rem; margin: 0 auto; padding: 96px 24px; }
.flow-h2row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}
.flow-h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.flow-num { color: var(--muted); font-weight: 500; letter-spacing: 0.35em; font-size: 12px; }
.flow-rule { width: 64px; height: 1px; background: linear-gradient(90deg, #22d3ee, #a855f7); }

.flow-feature { display: grid; gap: 40px; }
@media (min-width: 1024px) {
    .flow-feature { grid-template-columns: 7fr 5fr; align-items: center; }
}
.flow-shot {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 10;
}
.flow-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-shot-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}
.flow-chip {
    position: absolute;
    left: 16px;
    top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.flow-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    padding: 4px 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
.flow-tag i { width: 6px; height: 6px; background: var(--accent); display: block; }
.flow-feature h3 {
    margin: 24px 0 0;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}
.flow-feature h3 a { color: inherit; text-decoration: none; }
.flow-feature h3 a:hover { color: var(--accent); }
.flow-feature p { margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.flow-by {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.flow-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    color: #fff;
    font-family: "Unbounded", sans-serif;
    font-size: 14px;
    font-weight: 700;
}
.flow-by strong { display: block; font-size: 14px; }
.flow-by small { color: var(--muted); font-size: 12px; }
.flow-by time { margin-left: auto; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }

.flow-grid-cards {
    display: grid;
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}
@media (min-width: 768px) { .flow-grid-cards { grid-template-columns: 1fr 1fr; } }
.flow-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    color: inherit;
    text-decoration: none;
}
.flow-card-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.flow-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-card-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 45%, rgba(0, 0, 0, 0.1));
}
.flow-card-no {
    position: absolute;
    right: 16px;
    bottom: 8px;
    z-index: 1;
    font-family: "Unbounded", sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.45);
}
.flow-card:hover .flow-card-no { color: var(--accent); }
.flow-card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px; }
.flow-card h3 {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
}
.flow-card:hover h3 { color: var(--accent); }
.flow-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.flow-card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.flow-manifesto {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background: var(--card);
}
.flow-giant {
    margin: 0;
    text-align: center;
    font-family: "Unbounded", sans-serif;
    font-size: 18vw;
    font-weight: 900;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 22%, transparent);
    user-select: none;
    pointer-events: none;
}
.flow-manifesto-inner { position: relative; width: 100%; max-width: 80rem; margin: -4vw auto 0; padding: 0 24px 112px; }
.flow-quote {
    max-width: 56rem;
    margin: 36px 0 0;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.6rem);
    font-weight: 500;
    line-height: 1.3;
}
.flow-quote em { font-style: normal; color: var(--accent); }
.flow-three {
    display: grid;
    gap: 1px;
    margin-top: 64px;
    border: 1px solid var(--line);
    background: var(--line);
}
@media (min-width: 768px) { .flow-three { grid-template-columns: 1fr 1fr 1fr; } }
.flow-three article { background: var(--card); padding: 32px; }
.flow-three h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
.flow-three h3 b { color: var(--accent); font-size: 1.5rem; letter-spacing: 0; }
.flow-three p { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.flow-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 48px; }
.flow-pills span { color: var(--muted); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.flow-pills a {
    border: 1px solid var(--line);
    padding: 8px 16px;
    color: var(--muted);
    font-family: "Unbounded", sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
}
.flow-pills a:hover { border-color: var(--accent); color: var(--accent); }

.flow-write {
    display: grid;
    gap: 40px;
    border: 1px solid var(--line);
    background: var(--card);
    padding: 32px;
}
@media (min-width: 768px) { .flow-write { grid-template-columns: 1fr 1fr; padding: 56px; } }
.flow-write h3 {
    margin: 28px 0 0;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
}
.flow-write h3 em { font-style: normal; color: var(--accent); }

.flow-foot { border-top: 1px solid var(--line); }
.flow-foot-inner { width: 100%; max-width: 80rem; margin: 0 auto; padding: 64px 24px 28px; }
.flow-foot-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .flow-foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.flow-foot p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.flow-foot h4 {
    margin: 0 0 16px;
    font-family: "Unbounded", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}
.flow-foot a { color: var(--muted); text-decoration: none; }
.flow-foot a:hover { color: var(--accent); }
.flow-foot ul { margin: 0; padding: 0; list-style: none; }
.flow-foot li { margin: 10px 0; font-size: 14px; }
.flow-foot-legal {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.flow-reveal { transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
html.js .flow-reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.flow-reveal.is-in { opacity: 1; transform: none; }
.flow-pre {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: var(--bg);
    color: var(--fg);
}
html.show-intro .flow-pre { display: flex; }
.flow-pre b { font-family: "Unbounded", sans-serif; font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; }
.flow-pre span { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.flow-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.flow-social a {
    border: 1px solid var(--line);
    padding: 10px 14px;
    font-family: "Unbounded", sans-serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}
.flow-prose details { border-top: 1px solid var(--line); padding: 14px 0; }
.flow-prose summary { cursor: pointer; font-family: "Unbounded", sans-serif; font-weight: 600; }
.flow-prose details p { margin-top: 10px; }
.flow-prose form label { display: block; margin: 14px 0; font-size: 14px; }
.flow-prose input, .flow-prose textarea {
    display: block; width: 100%; margin-top: 6px; padding: 8px 0;
    border: 0; border-bottom: 1px solid var(--line); background: transparent;
    color: var(--fg); font: inherit;
}
.flow-note { color: var(--muted); font-size: 14px; }

@keyframes flow-marquee { to { transform: translateX(-50%); } }
@keyframes flow-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
    .flow-marquee-track, .flow-dot { animation: none; }
    .flow-reveal, html.js .flow-reveal:not(.is-in) { opacity: 1; transform: none; }
    .flow-hero-video, .flow-vid { display: none; }
}
@media (min-width: 1024px) {
    .flow-grid-cards { grid-template-columns: repeat(3, 1fr); }
    .flow-foot-grid { grid-template-columns: 5fr 3fr 4fr; }
    .flow-sub { grid-template-columns: 1fr 1fr; align-items: center; }
    .flow-archive-head { align-items: flex-end; }
}
@media (max-width: 768px) {
    .flow-kicker-line, .flow-kicker .flow-kicker-extra { display: none; }
}

.flow-card-photo,
.flow-shot-media,
.flow-cover-media { position: relative; overflow: hidden; background: #111; }
.flow-shot-media { aspect-ratio: 16 / 10; display: block; }
.flow-card-photo img,
.flow-shot-media img,
.flow-cover-media img,
.flow-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flow-card-photo img,
.flow-shot-media img { position: absolute; }
.flow-vid { opacity: 1; }
.flow-chip,
.flow-livecap {
    position: absolute;
    z-index: 2;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
}
.flow-chip { left: 16px; top: 16px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35); padding: 4px 12px; backdrop-filter: blur(6px); }
.flow-livecap { left: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; }
.flow-livecap i,
.flow-live i,
.flow-onair .flow-dot,
.flow-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block;
    animation: flow-pulse 1.8s ease-in-out infinite;
}
.flow-more {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: "Unbounded", sans-serif; font-size: 11px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg); text-decoration: none;
}
.flow-more:hover { color: var(--accent); }
.flow-promo-wrap { padding-top: 0; }
.flow-promo {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
    position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--card);
    padding: 40px 48px; color: inherit; text-decoration: none;
}
.flow-promo h3 { margin: 16px 0 0; font-family: "Unbounded", sans-serif; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 700; line-height: 1.2; }
.flow-promo p { margin: 16px 0 0; max-width: 40rem; color: var(--muted); }
.flow-sub { display: grid; gap: 40px; border: 1px solid var(--line); background: var(--card); padding: 40px; }
.flow-sub-title { margin: 28px 0 0; font-family: "Unbounded", sans-serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; }
.flow-sub-title em { font-style: normal; color: var(--accent); }
.flow-nl label { font-family: "Unbounded", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.flow-nl-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.flow-nl-row:focus-within { border-color: var(--accent); }
.flow-nl input { flex: 1; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 18px; outline: none; }
.flow-nl button { width: 44px; height: 44px; border: 0; background: linear-gradient(90deg, #22d3ee, #8b5cf6); color: #fff; cursor: pointer; }
.flow-nl-note, .flow-nl-msg { color: var(--muted); font-size: 13px; }
.flow-nl.is-done .flow-nl-row, .flow-nl.is-done .flow-nl-note, .flow-nl.is-done label { display: none; }
.flow-onair { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.flow-foot-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.flow-giant-foot { font-size: 16vw; margin: 48px 0 0; }
.flow-archive { width: 100%; max-width: 80rem; margin: 0 auto; padding: 140px 24px 80px; }
.flow-archive h1 { margin: 16px 0 0; font-family: "Unbounded", sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 0.95; }
.flow-archive-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.flow-archive-head p { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.flow-archive-head b { font-family: "Unbounded", sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.flow-archive-head span { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.flow-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 36px 0 24px; }
.flow-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-chips button, .flow-empty button {
    border: 1px solid var(--line); background: transparent; color: var(--muted);
    font-family: "Unbounded", sans-serif; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    padding: 8px 14px; cursor: pointer;
}
.flow-chips button.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.flow-chips button span { opacity: 0.6; margin-left: 6px; }
.flow-search { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; min-width: 240px; color: var(--muted); }
.flow-search input { flex: 1; border: 0; background: transparent; color: var(--fg); font: inherit; outline: none; }
.flow-empty { margin-top: 24px; border: 1px solid var(--line); background: var(--card); text-align: center; padding: 64px 24px; }
.flow-empty b { font-family: "Unbounded", sans-serif; font-size: 3rem; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 30%, transparent); }
.flow-empty button { margin-top: 16px; background: linear-gradient(90deg, #22d3ee, #8b5cf6); color: #fff; border: 0; }
.flow-card.is-hide { display: none; }
.flow-read { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 3px; }
.flow-read span { display: block; height: 100%; width: 0; background: var(--accent); }
.flow-cover { position: relative; min-height: 440px; height: 58vh; overflow: hidden; border-bottom: 1px solid var(--line); }
.flow-cover-media { position: absolute; inset: 0; }
.flow-cover-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 70%, transparent), transparent 40%, var(--bg)); }
.flow-cover-copy { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; max-width: 52rem; margin: 0 auto; padding: 0 24px 40px; }
.flow-cover h1 { margin: 16px 0 0; font-family: "Unbounded", sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; color: #fff; }
.flow-cover .flow-kicker a { color: rgba(255,255,255,.75); text-decoration: none; }
.flow-cover .flow-tag { color: #fff; border-color: rgba(255,255,255,.35); }
.flow-cover .flow-kicker a:hover { color: var(--accent); }
.flow-by-light, .flow-by-light strong, .flow-by-light time, .flow-by-light small { color: rgba(255,255,255,.82); }
.flow-prose { width: 100%; max-width: 46rem; margin: 0 auto; padding: 64px 24px 16px; }
.flow-prose p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.75; color: color-mix(in srgb, var(--fg) 90%, transparent); }
.flow-prose > p:first-of-type { font-size: 1.22rem; line-height: 1.65; }
.flow-prose > p:first-of-type::first-letter {
    font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 3.1em; float: left;
    line-height: 0.85; padding-right: 0.14em; color: var(--accent);
}
.flow-prose h2 { display: flex; align-items: baseline; gap: 10px; margin: 40px 0 16px; font-family: "Unbounded", sans-serif; font-size: 1.55rem; font-weight: 700; line-height: 1.2; }
.flow-prose h2 span { color: var(--accent); }
.flow-prose h3 { margin: 28px 0 10px; font-family: "Unbounded", sans-serif; font-size: 1.05rem; font-weight: 600; }
.flow-prose blockquote { margin: 32px 0; padding-left: 22px; border-left: 2px solid var(--accent); font-family: "Unbounded", sans-serif; font-size: 1.2rem; font-weight: 500; line-height: 1.35; }
.flow-prose ul { margin: 24px 0; padding: 0; list-style: none; }
.flow-prose li { display: flex; gap: 12px; margin: 10px 0; line-height: 1.7; }
.flow-prose li i { width: 6px; height: 6px; margin-top: 10px; background: var(--accent); flex: none; }
.flow-prose :is(p, li, blockquote, td) a:not(.cta-btn):not(.flow-btn) {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(90deg, #22d3ee, #8b5cf6);
    background-repeat: no-repeat;
    background-position: left 100%;
    background-size: 0% 1px;
    box-shadow: inset 0 -1px 0 color-mix(in srgb, currentColor 35%, transparent);
    transition: background-size 0.35s ease;
}
.flow-prose :is(p, li, blockquote, td) a:not(.cta-btn):not(.flow-btn):hover,
.flow-prose :is(p, li, blockquote, td) a:not(.cta-btn):not(.flow-btn):focus-visible {
    background-size: 100% 1px;
}
.flow-table { margin: 28px 0; overflow-x: auto; border: 1px solid var(--line); }
.flow-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.flow-table th, .flow-table td { border-bottom: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.flow-table thead th { font-family: "Unbounded", sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.flow-calc { margin: 36px 0; border: 1px solid var(--line); background: var(--card); padding: 28px; }
.flow-calc h3 { margin: 12px 0 0; font-family: "Unbounded", sans-serif; font-size: 1.35rem; }
.flow-tags, .flow-authorbox, .flow-pager { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 24px; }
.flow-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.flow-tags span { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.flow-tags a { border: 1px solid var(--line); padding: 6px 12px; color: var(--muted); text-decoration: none; font-size: 13px; }
.flow-tags a:hover { border-color: var(--accent); color: var(--accent); }
.flow-authorbox { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; border: 1px solid var(--line); background: var(--card); padding: 24px; }
.flow-authorbox p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.flow-avatar-lg { width: 64px; height: 64px; font-size: 18px; }
.flow-pager { display: grid; gap: 1px; margin: 28px auto 0; border: 1px solid var(--line); background: var(--line); }
@media (min-width: 640px) { .flow-pager { grid-template-columns: 1fr 1fr; } }
.flow-pager a, .flow-pager > span { display: block; background: var(--card); padding: 24px; color: inherit; text-decoration: none; }
.flow-pager a span { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.flow-pager a b { display: block; margin-top: 10px; font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 15px; }
.flow-pager a:hover b { color: var(--accent); }

body.page-blog .az-topbar .flow-theme {
    position: relative;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(117, 174, 255, 0.22);
    border-radius: 10px;
    background: rgba(10, 18, 42, 0.76);
    color: #e7e9f5;
    cursor: pointer;
    flex: 0 0 auto;
}
body.page-blog .az-topbar .flow-theme svg {
    position: absolute;
    inset: 8px;
    width: 18px;
    height: 18px;
    transition: transform 0.45s, opacity 0.45s;
}
html.dark body.page-blog .flow-theme .ico-sun { transform: rotate(-90deg) scale(0.5); opacity: 0; }
html.dark body.page-blog .flow-theme .ico-moon { transform: none; opacity: 1; }
html:not(.dark) body.page-blog .flow-theme .ico-moon { transform: rotate(90deg) scale(0.5); opacity: 0; }
html:not(.dark) body.page-blog .flow-theme .ico-sun { transform: none; opacity: 1; }
body.page-blog .az-topbar .flow-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #22d3ee, #8b5cf6);
    color: #fff;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}
body.page-blog .az-topbar .flow-cta:hover { filter: brightness(1.08); }
.flow-pager .is-next { text-align: right; }
body.page-blog .flow-foot .header-brand { margin-bottom: 12px; }
