:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #ffffff;
    --text: #111827;
    --text-soft: #4b5563;
    --text-muted: #6b7280;
    --line: #d7deea;
    --navy: #0f172a;
    --navy-2: #18253f;
    --navy-3: #223459;
    --black: #0a0d14;
    --accent: #123a78;
    --accent-soft: #e9f0fb;
    --success: #1f7a4f;
    --warning: #8a6d1f;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.05);
    --container: 1200px;
    --article: 780px;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.article-width {
    width: min(calc(100% - 32px), var(--article));
    margin: 0 auto;
}

.topbar {
    height: 8px;
    background: linear-gradient(90deg, var(--black), var(--navy), var(--navy-3));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.93);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.site-header.is-scrolled {
    background: rgba(10, 13, 20, 0.98);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    transition: var(--transition);
}

.header-nav a:hover {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--navy);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--navy);
    border-color: var(--line);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.hero-wrap {
    padding: 26px 0 22px;
}

.hero-card {
    /* background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px; */
    overflow: hidden;
    /* box-shadow: var(--shadow); */
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 0; 
}

.hero-content {
    padding: 34px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.08;
    color: var(--navy);
    max-width: 760px;
}

.hero-subtitle {
    margin: 0 0 22px;
    font-size: 18px;
    color: var(--text-soft);
    max-width: 700px;
}

.author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    flex: 0 0 auto;
    background: #fff;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-meta strong {
    color: var(--navy);
    font-size: 15px;
}

.author-meta span {
    color: var(--text-muted);
    font-size: 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-note {
    color: var(--text-muted);
    font-size: 14px;
}

.hero-media {
  position: relative;
  min-height: 100%;
  /* background: var(--navy); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media-fit {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media-video {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.hero-video-fit {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}
.article-layout {
    padding: 28px 0 56px;
}

.article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 26px;
    align-items: start;
}

.article-main {
    display: grid;
    gap: 20px;
}

/* .content-card,
.sidebar-card,
.info-card,
.faq-item,
.cta-panel,
.quote-card,
.media-card,
.steps-card,
.rating-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
} */

.content-card {
    padding: 26px;
}

.content-card h2 {
    margin: 0 0 14px;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.18;
    color: var(--navy);
}

.content-card h3 {
    margin: 20px 0 10px;
    font-size: 22px;
    line-height: 1.24;
    color: var(--navy);
}

.content-card p {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 17px;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.media-card {
    overflow: hidden;
}

.media-card img,
.media-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #dbe4f0;
}

.media-caption {
    padding: 14px 18px 16px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.quote-card {
    padding: 24px;
    border-left: 5px solid var(--navy);
}

.quote-card p {
    margin: 0;
    font-size: 22px;
    line-height: 1.5;
    color: var(--navy);
}

.disclosure {
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.info-card {
    padding: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.info-card h4 {
    margin: 0 0 10px;
    font-size: 19px;
    color: var(--navy);
}

.info-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
}

.bullet-list,
.soft-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.bullet-list li,
.soft-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text);
}

.bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--navy);
}

.soft-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--navy);
    font-size: 20px;
    line-height: 1;
}

.compare-box {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.compare-row+.compare-row {
    border-top: 1px solid var(--line);
}

.compare-cell {
    padding: 14px 16px;
    font-size: 15px;
}

.compare-row .compare-cell:first-child {
    background: #f8fafc;
    font-weight: 700;
    color: var(--navy);
    border-right: 1px solid var(--line);
}

.steps-card {
    padding: 24px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.step {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.step h4 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 18px;
}

.step p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
}

.rating-card {
    padding: 22px;
}

.rating-top {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rating-score {
    font-size: 44px;
    line-height: 1;
    font-weight: 700;
    color: var(--navy);
}

.rating-label {
    color: var(--text-soft);
    font-weight: 700;
}

.rating-bars {
    display: grid;
    gap: 12px;
}

.rating-item {
    display: grid;
    grid-template-columns: 140px 1fr 44px;
    gap: 12px;
    align-items: center;
}

.rating-item span {
    font-size: 14px;
    color: var(--text-soft);
}

.bar {
    height: 10px;
    border-radius: 999px;
    background: #e6ebf3;
    overflow: hidden;
}

.bar>i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--navy), var(--accent));
}

.sidebar-stack {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}

.sidebar-card {
    overflow: hidden;
}

.sidebar-card img,
.sidebar-card video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #dbe4f0;
}

.sidebar-body {
    padding: 18px;
}

.sidebar-body h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.18;
    color: var(--navy);
}

.sidebar-body p {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 15px;
}

.mini-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.cta-panel {
    padding: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
}

.cta-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    color: var(--navy);
}

.cta-panel p {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 17px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.faq-wrap {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 20px 22px;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
}

.faq-icon {
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    transition: var(--transition);
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
    color: var(--text-soft);
    font-size: 15px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 28px;
    padding: 40px 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-text,
.footer-legal {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 17px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    padding: 16px 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.sticky-mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
    display: none;
    padding: 10px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.sticky-mobile-cta .btn {
    width: 100%;
}

@media (max-width: 1100px) {

    .hero-grid,
    .article-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-stack {
        position: relative;
        top: auto;
    }

    .hero-media {
        min-height: 360px;
    }
}

@media (max-width: 820px) {
    .header-nav {
        display: none;
    }

    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .compare-row {
        grid-template-columns: 1fr;
    }

    .compare-row .compare-cell:first-child {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .rating-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .rating-item span:last-child {
        font-weight: 700;
    }
}

@media (max-width: 767px) {

    .container,
    .article-width {
        width: min(calc(100% - 20px), var(--container));
    }

    .header-inner {
        min-height: 64px;
    }

    .hero-content,
    .content-card,
    .steps-card,
    .cta-panel,
    .rating-card {
        padding: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle,
    .content-card p,
    .cta-panel p {
        font-size: 16px;
    }

    .hero-media {
        min-height: 240px;
    }

    .content-card h2 {
        font-size: 28px;
    }

    .quote-card p {
        font-size: 19px;
    }

    .sticky-mobile-cta {
        display: block;
    }

    body.has-mobile-cta {
        padding-bottom: 88px;
    }

    .footer-grid {
        padding: 30px 0;
    }

    .footer-bottom-inner {
        padding: 14px 0 20px;
    }
}