@font-face {
    font-family: "Lato";
    src: url("/static/fonts/Lato-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("/static/fonts/Lato-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg: #06080c;
    --bg-alt: #0d1118;
    --surface: #121823;
    --surface-alt: #182131;
    --surface-soft: rgba(20, 28, 40, 0.72);
    --border: rgba(108, 140, 181, 0.24);
    --border-strong: rgba(127, 196, 255, 0.42);
    --text: #f3f7fc;
    --text-muted: #b4c2d4;
    --text-soft: #8ea1b8;
    --blue: #58a8f5;
    --blue-strong: #2179bb;
    --gold: #d9ac52;
    --green: #40c97a;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --page-max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Lato", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(33, 121, 187, 0.18), transparent 34%),
        radial-gradient(circle at top left, rgba(217, 172, 82, 0.14), transparent 22%),
        linear-gradient(180deg, #04060a 0%, #09101a 52%, #05070b 100%);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
}

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

.site-wrap {
    width: min(var(--page-max), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(6, 8, 12, 0.82);
    border-bottom: 1px solid rgba(127, 196, 255, 0.12);
}

.site-header__inner {
    width: min(var(--page-max), calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    font-family: "Lato", "Segoe UI", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0.015em;
    text-decoration: none;
    user-select: none;
    transform: translateY(1px) skewX(-8deg);
    transform-origin: left center;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
    --logo-big-size: 32px;
    --logo-small-size: 18px;
    --logo-diag-x: 15px;
    --logo-diag-y: 15px;
}

.logo-mark-stack {
    position: relative;
    display: inline-block;
    width: max-content;
    height: calc(var(--logo-big-size) + var(--logo-diag-y) + 2px);
}

.logo-mark-line {
    position: absolute;
    display: inline-flex;
    align-items: flex-start;
    line-height: 0.9;
}

.logo-mark-line--top {
    left: 0;
    top: 0;
}

.logo-mark-line--bottom {
    left: var(--logo-diag-x);
    top: var(--logo-diag-y);
}

.logo-big-letter {
    font-size: var(--logo-big-size);
    line-height: 1;
    font-weight: 900;
}

.logo-small-tail {
    font-size: var(--logo-small-size);
    line-height: 1;
    font-weight: 800;
    padding-top: 3px;
}

.logo-text-blue {
    background: linear-gradient(180deg, #67b8ff 0%, #2a80ff 55%, #1f55bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 0.45px rgba(8, 30, 74, 0.55);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
}

.logo-text-gold {
    background: linear-gradient(180deg, #ffe084 0%, #f3c632 58%, #bf8f17 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 0.4px rgba(78, 55, 8, 0.45);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(14, 19, 28, 0.85);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    border-color: var(--border-strong);
    background: rgba(24, 33, 49, 0.92);
    transform: translateY(-1px);
}

.site-nav__link[aria-current="page"] {
    border-color: rgba(88, 168, 245, 0.68);
    background: linear-gradient(135deg, rgba(10, 77, 140, 0.9), rgba(7, 69, 128, 0.88));
}

.site-nav__link--upgrade {
    color: #fff;
    border-color: rgba(217, 172, 82, 0.4);
    background: linear-gradient(135deg, rgba(200, 148, 45, 0.95), rgba(184, 132, 31, 0.92));
}

.site-nav__link--upgrade:hover,
.site-nav__link--upgrade:focus-visible {
    border-color: rgba(255, 224, 132, 0.6);
    background: linear-gradient(135deg, rgba(218, 166, 58, 0.98), rgba(200, 148, 45, 0.95));
}

.hero {
    padding: 48px 0 24px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 24px;
    align-items: stretch;
}

.hero__copy,
.hero__panel,
.section,
.cta-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(18, 24, 35, 0.96), rgba(12, 17, 26, 0.96));
    box-shadow: var(--shadow);
}

.hero__copy {
    padding: 36px 38px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(88, 168, 245, 0.12);
    color: #9dd0ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    max-width: 14ch;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.05rem;
}

.lead {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.6;
    max-width: 52ch;
}

.hero__bullets {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
}

.hero__bullets li {
    position: relative;
    padding-left: 22px;
    font-size: 0.98rem;
}

.hero__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-strong));
    box-shadow: 0 0 8px rgba(88, 168, 245, 0.4);
}

.hero__bullets li + li {
    margin-top: 10px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.button--primary {
    color: #fff;
    background: linear-gradient(135deg, #0d64b0, #074580);
    border-color: rgba(127, 196, 255, 0.3);
}

.button--secondary {
    color: var(--text);
    border-color: var(--border);
    background: rgba(14, 19, 28, 0.85);
}

.button--upgrade {
    color: #fff;
    background: linear-gradient(135deg, rgba(200, 148, 45, 0.95), rgba(184, 132, 31, 0.92));
    border-color: rgba(255, 224, 132, 0.28);
}

.button:hover,
.button:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(127, 196, 255, 0.1);
}

.stat-card {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(12, 18, 27, 0.92);
    border: 1px solid rgba(88, 168, 245, 0.1);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.stat-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: var(--text);
}

.stat-card span {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

.stat-card:hover,
.stat-card:focus-within {
    transform: translateY(-1px);
    border-color: rgba(127, 196, 255, 0.22);
}

.hero__panel {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__panel > h2 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.hero__panel > p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.hero__mini-grid {
    display: grid;
    gap: 10px;
}

.hero__mini-card {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(127, 196, 255, 0.12);
    background: rgba(12, 18, 27, 0.88);
}

.hero__mini-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.92rem;
}

.hero__mini-card span {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

.hero__note {
    margin-top: auto;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(88, 168, 245, 0.08);
    border: 1px solid rgba(88, 168, 245, 0.15);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero__panel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 2px;
}

.hero__panel-links a {
    color: #9dd0ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.hero__panel-links a:hover,
.hero__panel-links a:focus-visible {
    color: #c7e5ff;
    text-decoration: underline;
}

main {
    padding-bottom: 48px;
}

.content-stack {
    display: grid;
    gap: 20px;
}

.section {
    padding: 30px 32px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.section:hover {
    border-color: rgba(127, 196, 255, 0.18);
}

.section h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), rgba(217, 172, 82, 0.2));
}

.section__label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section__lead {
    margin: 0 0 20px;
    max-width: 58ch;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section__header p {
    margin: 8px 0 0;
    max-width: 58ch;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

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

.section ul,
.section ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section li {
    position: relative;
    padding-left: 20px;
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 62ch;
}

.section li strong {
    display: block;
    color: var(--text);
    margin-bottom: 3px;
    font-size: 0.96rem;
}

.section li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 0.85rem;
}

.section li + li {
    margin-top: 10px;
}

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

.card {
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(127, 196, 255, 0.1);
    background: rgba(14, 19, 28, 0.88);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.card__kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: #9dd0ff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card:hover,
.card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(127, 196, 255, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

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

.workflow-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.workflow-step__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(88, 168, 245, 0.2), rgba(33, 121, 187, 0.15));
    border: 1px solid rgba(127, 196, 255, 0.25);
    color: #9dd0ff;
    font-size: 0.9rem;
    font-weight: 700;
}

.workflow-step__body h3 {
    margin-bottom: 6px;
}

.workflow-step__body p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.faq-list {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.faq-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(127, 196, 255, 0.12);
    background: rgba(13, 18, 28, 0.92);
    overflow: hidden;
    transition: border-color 0.18s ease;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 44px 16px 18px;
    font-weight: 600;
    font-size: 0.98rem;
    position: relative;
    transition: background 0.18s ease;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0;
    padding: 0 18px 16px;
    font-size: 0.94rem;
    line-height: 1.55;
}

.faq-item[open] {
    border-color: rgba(127, 196, 255, 0.22);
}

.faq-item[open] summary {
    background: rgba(18, 26, 39, 0.82);
}

.faq-item[open] summary::after {
    content: "−";
    color: var(--blue);
}

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

.related-links a {
    display: block;
    padding: 18px 18px 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(127, 196, 255, 0.12);
    border-left: 3px solid rgba(217, 172, 82, 0.55);
    background: rgba(12, 18, 27, 0.9);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.related-links strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.related-links span {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
}

.related-links a:hover,
.related-links a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(127, 196, 255, 0.24);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.cta-panel {
    margin: 4px 0 0;
    padding: 32px 32px 36px;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(88, 168, 245, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(18, 24, 35, 0.98), rgba(12, 17, 26, 0.98));
    border-color: rgba(127, 196, 255, 0.22);
}

.cta-panel h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.cta-panel h2 {
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
}

.cta-panel p {
    margin: 0 auto 20px;
    max-width: 50ch;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.cta-panel .button-row {
    justify-content: center;
}

.site-footer {
    padding: 12px 0 40px;
}

.site-footer__panel {
    border-top: 1px solid rgba(127, 196, 255, 0.12);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.site-footer__panel a {
    color: #9dd0ff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    padding: 28px 0 20px;
    border-top: 1px solid rgba(127, 196, 255, 0.12);
}

.site-footer__brand strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1rem;
}

.site-footer__brand p {
    margin: 0;
    max-width: 32ch;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

.site-footer__title {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li + li {
    margin-top: 8px;
}

.site-footer__links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: #9dd0ff;
}

.site-footer__meta {
    padding-top: 16px;
    border-top: 1px solid rgba(127, 196, 255, 0.08);
    color: var(--text-soft);
    font-size: 0.88rem;
}

.site-footer__meta a {
    color: #9dd0ff;
}

.guide-jump {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0 0 16px;
    padding: 14px 18px;
    border: 1px solid rgba(127, 196, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(10, 14, 22, 0.72);
    backdrop-filter: blur(8px);
}

.guide-jump__label {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 4px;
}

.guide-jump a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(127, 196, 255, 0.14);
    background: rgba(14, 19, 28, 0.9);
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.guide-jump a:hover,
.guide-jump a:focus-visible {
    color: var(--text);
    border-color: rgba(127, 196, 255, 0.32);
    background: rgba(22, 30, 42, 0.95);
}

.glance-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 4px;
}

.glance-card {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(127, 196, 255, 0.12);
    background: linear-gradient(180deg, rgba(16, 22, 32, 0.95), rgba(11, 16, 24, 0.92));
}

.glance-card__kicker {
    display: block;
    margin-bottom: 6px;
    color: #9dd0ff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.glance-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.3;
}

.glance-card span:last-child {
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.45;
}

.guide-callout {
    margin: 20px 0 0;
    padding: 16px 18px 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(217, 172, 82, 0.28);
    border-left: 4px solid var(--gold);
    background: linear-gradient(90deg, rgba(217, 172, 82, 0.1), rgba(217, 172, 82, 0.03));
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
    max-width: 62ch;
}

.guide-callout strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.92rem;
}

.reading-meta {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 0.84rem;
}

.section--highlight {
    background:
        radial-gradient(circle at top right, rgba(217, 172, 82, 0.1), transparent 30%),
        radial-gradient(circle at bottom left, rgba(88, 168, 245, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(20, 27, 38, 0.97), rgba(12, 17, 26, 0.97));
}

.section--intro {
    background: rgba(11, 16, 24, 0.72);
    border: 1px solid rgba(127, 196, 255, 0.1);
    border-radius: var(--radius-lg);
}

.soft-cta {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(127, 196, 255, 0.1);
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.soft-cta a {
    color: #9dd0ff;
    font-weight: 600;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.variant-grid div {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(127, 196, 255, 0.1);
    background: rgba(12, 18, 27, 0.88);
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.variant-grid strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .variant-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .hero__grid,
    .two-column,
    .card-grid,
    .related-links {
        grid-template-columns: 1fr;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .glance-row,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header__inner,
    .site-wrap {
        width: min(var(--page-max), calc(100% - 24px));
    }

    .site-header__inner {
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        padding-top: 28px;
    }

    .hero__copy,
    .section,
    .cta-panel {
        padding: 22px;
    }

    .hero__panel {
        padding: 22px;
    }

    .section__header {
        flex-direction: column;
    }

    h1 {
        max-width: none;
    }

    .cta-panel {
        text-align: left;
    }

    .cta-panel .button-row {
        justify-content: flex-start;
    }
}

/* Editorial guide layout — quieter reading pages */
.hero--guide {
    padding: 40px 0 8px;
}

.hero--guide .hero__copy {
    max-width: 42rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero--guide h1 {
    max-width: 18ch;
    margin-bottom: 16px;
}

.hero--guide .lead {
    margin-bottom: 28px;
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 40rem;
}

.hero--guide .button-row {
    margin-bottom: 8px;
}

.guide-jump--quiet {
    margin: 8px 0 28px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    gap: 6px 14px;
}

.guide-jump--quiet .guide-jump__label {
    margin-right: 2px;
}

.guide-jump--quiet a {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text-soft);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.guide-jump--quiet a:hover,
.guide-jump--quiet a:focus-visible {
    color: #9dd0ff;
    background: transparent;
    border-bottom-color: rgba(157, 208, 255, 0.45);
}

.guide-article {
    display: grid;
    gap: 0;
    max-width: 42rem;
}

.guide-article .section {
    padding: 36px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border-top: 1px solid rgba(127, 196, 255, 0.1);
}

.guide-article .section:first-child {
    border-top: none;
    padding-top: 8px;
}

.guide-article .section:hover {
    border-color: rgba(127, 196, 255, 0.1);
}

.guide-article .section h2 {
    margin-bottom: 16px;
}

.guide-article .section h2::after {
    width: 28px;
    height: 2px;
    background: rgba(217, 172, 82, 0.55);
}

.guide-prose p {
    margin: 0 0 1.05em;
    max-width: 40rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.guide-prose p:last-child {
    margin-bottom: 0;
}

.guide-prose strong {
    color: var(--text);
    font-weight: 700;
}

.guide-steps {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: guide-step;
    display: grid;
    gap: 18px;
}

.guide-steps > li {
    position: relative;
    padding: 0 0 0 48px;
    max-width: 40rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.guide-steps > li::before {
    counter-increment: guide-step;
    content: counter(guide-step) !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(127, 196, 255, 0.28);
    background: rgba(88, 168, 245, 0.08);
    color: #9dd0ff;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: none;
}

.guide-steps > li + li {
    margin-top: 0;
}

.guide-steps strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 1.02rem;
}

.guide-article .guide-callout {
    margin-top: 24px;
}

.guide-article .soft-cta {
    border-top-color: rgba(127, 196, 255, 0.08);
}

.guide-article .faq-list {
    margin-top: 8px;
}

.guide-article .related-links {
    grid-template-columns: 1fr;
    gap: 10px;
}

.guide-article .related-links a {
    padding: 16px 18px;
}

.guide-article .cta-panel {
    margin-top: 28px;
    text-align: left;
    border-radius: var(--radius-lg);
}

.guide-article .cta-panel h2::after {
    left: 0;
    transform: none;
}

.guide-article .cta-panel h2 {
    margin-left: 0;
    margin-right: 0;
}

.guide-article .cta-panel .button-row {
    justify-content: flex-start;
}

@media (max-width: 720px) {
    .hero--guide .hero__copy,
    .guide-article .section {
        padding-left: 0;
        padding-right: 0;
    }

    .guide-article .section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .guide-steps > li {
        padding-left: 44px;
    }
}
