:root {
    --bg: #050505;
    --bg-2: #0d1012;
    --panel: #121619;
    --panel-2: #f6f8f7;
    --text: #f8faf9;
    --text-dark: #111514;
    --muted: #b6c0c5;
    --muted-dark: #4e5a5f;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(17, 21, 20, 0.12);
    --cyan: #20c4df;
    --green: #3cff9a;
    --amber: #ffb703;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    --container: 1120px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    letter-spacing: 0;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 120;
    transform: translateY(-140%);
    padding: 12px 14px;
    border-radius: var(--radius);
    color: #031012;
    background: var(--cyan);
    font-weight: 900;
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(14px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.brand-logo {
    width: 96px;
    height: auto;
}

.brand-sub {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #dfe6e8;
    font-size: 14px;
    font-weight: 800;
}

.nav-links a {
    padding: 12px 0;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-page .nav-actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.profile-page .nav-links a:nth-child(n + 9) {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: var(--radius);
    font-weight: 900;
    line-height: 1.1;
}

.btn-primary {
    color: #031012;
    background: var(--cyan);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.icon-button {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    padding: 136px 0 80px;
    background:
        radial-gradient(circle at 78% 18%, rgba(32, 196, 223, 0.22), transparent 30%),
        linear-gradient(180deg, #071013 0%, #050505 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
    gap: 42px;
    align-items: center;
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: 48px;
    align-items: center;
}

.profile-portrait {
    position: relative;
    min-height: 560px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: #0a0a0a;
    box-shadow: var(--shadow);
}

.profile-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 54%, rgba(5, 5, 5, 0.94) 100%);
    pointer-events: none;
}

.profile-portrait img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
}

.profile-portrait figcaption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 1;
}

.profile-portrait figcaption strong,
.profile-portrait figcaption span {
    display: block;
}

.profile-portrait figcaption strong {
    margin-bottom: 5px;
    color: var(--white);
    font-size: 22px;
}

.profile-portrait figcaption span {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(32, 196, 223, 0.64);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 900px;
    margin-bottom: 22px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 900;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    font-weight: 900;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 850;
}

p,
li {
    color: var(--muted);
    line-height: 1.72;
}

.lead {
    max-width: 760px;
    color: #d9e2e6;
    font-size: 19px;
    line-height: 1.64;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-panel {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(32, 196, 223, 0.16), transparent 42%);
    pointer-events: none;
}

.hero-panel > * {
    position: relative;
}

.topic-stack {
    display: grid;
    gap: 12px;
}

.topic-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(5, 5, 5, 0.4);
}

.topic-pill strong {
    color: var(--text);
}

.topic-pill span {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
}

.tech-hero {
    background:
        radial-gradient(circle at 86% 14%, rgba(60, 255, 154, 0.18), transparent 28%),
        radial-gradient(circle at 16% 78%, rgba(255, 183, 3, 0.1), transparent 24%),
        linear-gradient(180deg, #071013 0%, #050505 100%);
}

.tech-visual-panel {
    padding: 0;
}

.tech-visual-panel img {
    width: 100%;
    height: auto;
    min-height: 360px;
    object-fit: cover;
}

.icon-inline {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: var(--radius);
    color: #031012;
    background: linear-gradient(135deg, var(--green), var(--cyan));
}

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.mini-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    color: #0d515d;
    font-size: 12px;
    font-weight: 900;
    background: rgba(32, 196, 223, 0.11);
}

.dark-article,
.dark-article h2,
.dark-article h3 {
    color: var(--text);
}

.dark-article p,
.dark-article li {
    color: var(--muted);
}

.tech-steps div {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.07);
}

.tech-steps div strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.tech-steps div span {
    color: var(--muted);
    line-height: 1.55;
}

.section {
    padding: 86px 0;
}

.section-light {
    color: var(--text-dark);
    background: var(--panel-2);
}

.section-light p,
.section-light li {
    color: var(--muted-dark);
}

.section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
}

.category-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    color: #dfe6e8;
    font-weight: 850;
    background: rgba(255, 255, 255, 0.07);
}

.section-light .category-nav a {
    border-color: var(--line-dark);
    color: var(--text-dark);
    background: rgba(17, 21, 20, 0.04);
}

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

.article-card,
.category-card,
.info-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--white);
}

.article-card-photo {
    height: 260px;
    margin: -22px -22px 20px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: #0b0b0b;
}

.article-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
}

.dark-card {
    border-color: var(--line);
    background: var(--panel);
}

.article-card h3,
.category-card h3,
.info-card h3 {
    color: var(--text-dark);
}

.dark-card h3 {
    color: var(--text);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    color: #0d515d;
    background: rgba(32, 196, 223, 0.11);
}

.article-card .read-link,
.category-card .read-link {
    margin-top: auto;
    color: #0a6170;
    font-weight: 900;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #a9b4b9;
    font-size: 13px;
    font-weight: 800;
}

.breadcrumb a {
    color: var(--cyan);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
    align-items: start;
}

.article-body {
    color: var(--text-dark);
}

.article-body h2 {
    margin-top: 44px;
    color: var(--text-dark);
}

.article-body h3 {
    margin-top: 30px;
    color: var(--text-dark);
}

.article-body p,
.article-body li {
    color: #303b40;
    font-size: 18px;
}

.article-body a {
    color: #087082;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
}

.article-summary {
    padding: 24px;
    border: 1px solid var(--line-dark);
    border-left: 5px solid var(--cyan);
    border-radius: var(--radius);
    background: #ffffff;
}

.article-summary p {
    margin-bottom: 0;
}

.author-note,
.decision-box,
.pathway-box {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #ffffff;
}

.author-note {
    display: grid;
    gap: 8px;
    border-left: 5px solid var(--green);
}

.author-note strong,
.decision-box strong,
.pathway-box strong {
    color: var(--text-dark);
}

.decision-grid,
.pathway-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.decision-grid div,
.pathway-grid a {
    padding: 16px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(17, 21, 20, 0.04);
}

.pathway-grid a {
    color: #087082;
    font-weight: 900;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.trust-item {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
}

.trust-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.conversion-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
    gap: 22px;
    align-items: center;
    margin-top: 34px;
    padding: 24px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #ffffff;
}

.conversion-panel h2,
.conversion-panel h3 {
    color: var(--text-dark);
}

.conversion-panel p {
    margin-bottom: 0;
    color: var(--muted-dark);
}

.conversion-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.conversion-option {
    display: block;
    min-height: 100%;
    padding: 16px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    color: #087082;
    font-weight: 900;
    background: rgba(32, 196, 223, 0.08);
}

.conversion-option span {
    display: block;
    margin-top: 6px;
    color: var(--muted-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.conversion-actions {
    display: grid;
    gap: 10px;
}

.article-conversion-box {
    margin: 28px 0;
    padding: 24px;
    border: 1px solid rgba(32, 196, 223, 0.32);
    border-left: 5px solid var(--cyan);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(32, 196, 223, 0.12), #ffffff 52%);
}

.article-conversion-box h2,
.article-conversion-box h3 {
    margin: 0 0 10px;
    color: var(--text-dark);
    font-size: 24px;
}

.article-conversion-box p {
    margin-bottom: 16px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
    gap: 32px;
    align-items: start;
}

.pillar-list {
    display: grid;
    gap: 14px;
}

.pillar-list a {
    display: block;
    padding: 18px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    color: #087082;
    font-weight: 900;
    background: #ffffff;
}

.toc,
.side-cta {
    position: sticky;
    top: 96px;
    padding: 20px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #ffffff;
}

.toc {
    margin-bottom: 18px;
}

.toc strong,
.side-cta strong {
    display: block;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.toc a {
    display: block;
    padding: 8px 0;
    color: #4e5a5f;
    font-size: 14px;
    font-weight: 750;
}

.side-cta .btn {
    width: 100%;
    margin-top: 12px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-box {
    padding: 20px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #ffffff;
}

.faq-box h3 {
    margin: 0 0 8px;
    color: var(--text-dark);
}

.footer {
    padding: 42px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #050505;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer a {
    color: var(--cyan);
    font-weight: 800;
}

@media (max-width: 1020px) {
    .hero-grid,
    .profile-hero-grid,
    .article-layout,
    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .conversion-panel,
    .conversion-options {
        grid-template-columns: 1fr;
    }

    .toc,
    .side-cta {
        position: static;
    }

    .profile-portrait {
        min-height: 520px;
    }

    .profile-portrait img {
        min-height: 520px;
    }
}

@media (max-width: 860px) {
    .icon-button {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(5, 5, 5, 0.96);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 0;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        padding-top: 112px;
    }

    .article-grid,
    .category-grid,
    .trust-strip,
    .decision-grid,
    .pathway-grid {
        grid-template-columns: 1fr;
    }

    .tech-visual-panel img {
        min-height: 260px;
    }

    .tech-hero .trust-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .tech-hero .trust-item {
        padding: 12px 10px;
    }

    .tech-hero .trust-item strong {
        margin: 0;
        font-size: 12px;
        line-height: 1.25;
    }

    .tech-hero .trust-item span {
        display: none;
    }

    .footer-grid {
        flex-direction: column;
    }

}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-panel,
    .article-card,
    .category-card,
    .info-card {
        padding: 18px;
    }

    .profile-portrait,
    .profile-portrait img {
        min-height: 430px;
    }
}
