﻿:root {
    --deep-blue: #261c59;
    --violet: #8e2de2;
    --purple: #4a00e0;
    --muted: #f7f7fb;
    --border-color: #e1e1ee;
    --text-dark: #111;
    --text-muted: #4a4a6a;
    --neon-cyan: #5ee7ff;
    --neon-pink: #ff66d9;
    --neon-blue: #6a8bff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--muted);
    min-height: 100vh;
    scroll-behavior: smooth;
}

body.home {
    position: relative;
    overflow-x: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(94, 231, 255, 0.18), transparent 40%),
                radial-gradient(circle at 85% 10%, rgba(255, 102, 217, 0.12), transparent 35%),
                radial-gradient(circle at 70% 80%, rgba(106, 139, 255, 0.15), transparent 45%),
                linear-gradient(135deg, #f7f7ff 0%, #eef2ff 45%, #f6f4ff 100%);
}

body.home::before,
body.home::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body.home::before {
    background: radial-gradient(circle at 30% 30%, rgba(94, 231, 255, 0.2), transparent 45%),
                radial-gradient(circle at 70% 70%, rgba(255, 102, 217, 0.18), transparent 50%);
    opacity: 0.8;
}

body.home::after {
    background-image:
        linear-gradient(rgba(38, 28, 89, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 28, 89, 0.08) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.25;
}

body.home header,
body.home main,
body.home footer {
    position: relative;
    z-index: 1;
}

html {
    font-size: 16px;
}

header {
    background: var(--deep-blue);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.home header {
    background: linear-gradient(120deg, #1a1440, #2b135f 45%, #35156b);
    border-bottom: 1px solid rgba(106, 139, 255, 0.25);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.logo {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.7rem 0.35rem 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo::before {
    content: '';
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: url("https://res.cloudinary.com/dnjktpaio/image/upload/v1770905389/blog_ranker_icon_w2yq5w.png") center / contain no-repeat;
    filter: drop-shadow(0 3px 6px rgba(17, 9, 44, 0.5));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.2s ease;
    white-space: nowrap;
}

nav a:hover,
nav a:focus-visible,
nav a.active {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    white-space: nowrap;
}

.button.primary {
    background: var(--violet);
    color: #fff;
    box-shadow: 0 12px 24px rgba(142, 45, 226, 0.35);
}

body.home .button.primary {
    background: linear-gradient(135deg, var(--violet), var(--neon-blue));
    box-shadow: 0 14px 30px rgba(106, 139, 255, 0.35);
}

.button.primary:hover,
.button.primary:focus-visible {
    transform: translateY(-2px);
}

.button.ghost {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.button.outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

body.home .button.ghost {
    border: 1px solid rgba(94, 231, 255, 0.75);
    color: #1a1440;
    background: rgba(255, 255, 255, 0.8);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.section {
    margin-bottom: 3rem;
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

body.home main > section > h2 {
    color: #1b1450;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

body.home main > section > h2::after {
    content: '';
    width: 46px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
    box-shadow: 0 0 12px rgba(94, 231, 255, 0.6);
}

.page-hero {
    background: #fff;
    border-radius: 22px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 18px 30px rgba(38, 28, 89, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-hero {
    align-items: flex-start;
}

.page-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.page-hero p {
    margin: 0;
    color: var(--text-muted);
    max-width: 60ch;
}

.page-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.button.ghost-dark {
    border: 1px solid var(--border-color);
    color: var(--deep-blue);
    background: #fff;
}

.legal-content {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

.article-content {
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem 2.75rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.article-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.article-hero-image {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    margin: 1.5rem auto;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
    display: block;
}

.toc {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    background: #fbfbff;
    margin: 1.5rem 0;
}

.toc h3 {
    margin-top: 0;
}

.toc ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.faq {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    margin-bottom: 1.25rem;
}

.legal-content h2 {
    margin-top: 0;
}

.legal-content h3 {
    margin-top: 1.6rem;
}

.legal-content ul {
    padding-left: 1.2rem;
    margin: 0.75rem 0 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-card-image {
    width: 100%;
    height: clamp(170px, 20vw, 210px);
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.blog-card h2 {
    margin: 0;
    font-size: 1.25rem;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(142, 45, 226, 0.12);
    color: var(--violet);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    width: fit-content;
}

.hero-section {
    background: #fff;
    border-radius: 24px;
    padding: 2.25rem 2.25rem 1.75rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    box-shadow: 0 20px 35px rgba(38, 28, 89, 0.15);
    margin-bottom: 2rem;
}

body.home .hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 244, 255, 0.9));
    border: 1px solid rgba(106, 139, 255, 0.2);
    box-shadow: 0 30px 50px rgba(42, 18, 88, 0.22);
    position: relative;
    overflow: hidden;
}

body.home .hero-section::before {
    content: '';
    position: absolute;
    inset: -20% 0 auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(94, 231, 255, 0.35), transparent 70%);
    opacity: 0.7;
}

.hero-content h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--violet);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero-subtitle {
    max-width: 36ch;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-metrics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    color: var(--text-muted);
}

.hero-metrics li strong {
    display: block;
    font-size: 1.4rem;
    color: var(--deep-blue);
}

.hero-visual {
    height: clamp(260px, 30vw, 380px);
    min-height: 260px;
    aspect-ratio: auto;
    border-radius: 20px;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.8), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.55), transparent 40%),
                linear-gradient(135deg, rgba(74,0,224,0.95), rgba(142,45,226,0.4));
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 640px;
    justify-self: end;
}

body.home .hero-visual {
    background: radial-gradient(circle at 20% 20%, rgba(94, 231, 255, 0.9), transparent 55%),
                radial-gradient(circle at 80% 20%, rgba(255, 102, 217, 0.7), transparent 45%),
                linear-gradient(135deg, #1b1450, #3a1a86);
    box-shadow: 0 24px 50px rgba(30, 16, 80, 0.4);
    background-size: 140% 140%;
    animation: holoShift 10s ease-in-out infinite;
}

body.home .hero-visual::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 30px rgba(94, 231, 255, 0.35);
}

body.home .hero-visual::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 18px;
    border: 1px solid rgba(94, 231, 255, 0.4);
    opacity: 0.6;
    animation: pulseGlow 3.8s ease-in-out infinite;
}

@keyframes holoShift {
    0% {
        background-position: 0% 0%;
        transform: translateY(0);
    }
    50% {
        background-position: 100% 100%;
        transform: translateY(-6px);
    }
    100% {
        background-position: 0% 0%;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.35;
        box-shadow: 0 0 12px rgba(94, 231, 255, 0.35);
    }
    50% {
        opacity: 0.75;
        box-shadow: 0 0 28px rgba(94, 231, 255, 0.6);
    }
    100% {
        opacity: 0.35;
        box-shadow: 0 0 12px rgba(94, 231, 255, 0.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .hero-visual,
    body.home .hero-visual::after {
        animation: none;
    }
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0));
    opacity: 0.7;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.highlight-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

body.home .highlight-card,
body.home .feature-card,
body.home .seo-card,
body.home .blog-item,
body.home .faq-card,
body.home .how-grid article,
body.home .testimonial-slider,
body.home .contact-section {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(106, 139, 255, 0.18);
    box-shadow: 0 18px 35px rgba(25, 15, 60, 0.12);
    backdrop-filter: blur(10px);
}

body.home .testimonial-slider {
    background: rgba(255, 255, 255, 0.7);
}

body.home .cta {
    background: linear-gradient(135deg, #2b145c, #4a17a8);
    box-shadow: 0 24px 45px rgba(73, 24, 158, 0.4);
}

.highlight-card h2 {
    margin-top: 0;
}

.feature-grid,
.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.seo-grid,
.blog-list,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.seo-card,
.blog-item,
.faq-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-section .section-header {
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.faq-card {
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.faq-card summary {
    list-style: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.faq-card summary::after {
    content: '+';
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(142, 45, 226, 0.12);
    color: var(--violet);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.faq-card[open] summary::after {
    content: '-';
    background: rgba(142, 45, 226, 0.2);
    transform: translateY(-1px);
}

.faq-card p {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
}

.seo-card ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.blog-item h3,
.faq-card h3 {
    margin: 0;
}

.feature-card,
.insight-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card h3,
.insight-card h3 {
    margin-bottom: 0;
}

.feature-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.insight-category {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--violet);
}

.insight-card time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.how-grid article {
    background: #fff;
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(38, 28, 89, 0.08);
}

.testimonial-slider {
    position: relative;
    background: var(--muted);
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 1rem;
}

.testimonial-slide p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
}

.testimonial-slide cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--deep-blue);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.slider-control.prev {
    left: 1rem;
}

.slider-control.next {
    right: 1rem;
}

.cta {
    background: linear-gradient(135deg, var(--purple), var(--violet));
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 35px rgba(59, 25, 145, 0.35);
}

.contact-section {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-section form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-row label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-row input,
.form-row textarea {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fdfdfd;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(142, 45, 226, 0.2);
    outline: none;
}

.site-footer {
    background: linear-gradient(135deg, #1a1440, #2b135f 55%, #35156b);
    color: #f2f2ff;
    padding: 3rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(106, 139, 255, 0.2);
}

.site-footer a {
    color: #f2f2ff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-brand h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-brand h3::before {
    content: '';
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
    background: url("https://res.cloudinary.com/dnjktpaio/image/upload/v1770905389/blog_ranker_icon_w2yq5w.png") center / contain no-repeat;
}

.footer-brand p {
    margin: 0 0 1.25rem;
    color: rgba(242, 242, 255, 0.78);
}

.footer-links h4 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: rgba(242, 242, 255, 0.9);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.site-footer .button.ghost-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: rgba(242, 242, 255, 0.7);
    font-size: 0.95rem;
}

#back-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--deep-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-metrics {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .nav-brand {
        width: 100%;
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    nav.open .nav-menu {
        display: flex;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem 0.8rem;
    }

    nav ul li {
        flex: 0 0 auto;
    }

    nav a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    nav .button.outline {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .hero-section {
        padding: 2rem;
    }

    .page-hero {
        padding: 1.75rem;
        align-items: flex-start;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .slider-control.prev {
        left: 0.25rem;
    }

    .slider-control.next {
        right: 0.25rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 1.25rem;
    }

    .logo {
        font-size: 0.95rem;
        letter-spacing: 0.01em;
    }

    .logo::before {
        width: 1.6rem;
        height: 1.6rem;
    }

    nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 0.5rem;
    }

    nav ul li {
        text-align: center;
    }

    nav a {
        display: block;
        width: 100%;
    }

    nav .button.outline {
        width: 100%;
        max-width: none;
    }

    .hero-metrics {
        flex-direction: column;
    }

    .cta {
        padding: 2rem 1.25rem;
    }
}

