/* ============================================
   HASHRATE PTE. LTD. — Official Website
   Flat Design System
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Brand */
    --brand-blue: #2563eb;
    --brand-blue-dark: #1d4ed8;
    --brand-purple: #7c3aed;
    --brand-cyan: #06b6d4;

    /* Flat background pattern — blockchain network nodes (reusable on banners) */
    --hero-pattern: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='60'%20height='60'%3E%3Cg%20stroke='%23ffffff'%20stroke-opacity='0.08'%20stroke-width='1'%3E%3Cline%20x1='30'%20y1='30'%20x2='60'%20y2='30'/%3E%3Cline%20x1='30'%20y1='30'%20x2='30'%20y2='60'/%3E%3C/g%3E%3Cg%20fill='%23ffffff'%20fill-opacity='0.10'%3E%3Ccircle%20cx='30'%20cy='30'%20r='2'/%3E%3C/g%3E%3C/svg%3E");

    /* Neutrals */
    --neutral-950: #0a0a0a;
    --neutral-900: #171717;
    --neutral-800: #262626;
    --neutral-700: #404040;
    --neutral-600: #525252;
    --neutral-500: #737373;
    --neutral-400: #a3a3a3;
    --neutral-300: #d4d4d4;
    --neutral-200: #e5e5e5;
    --neutral-100: #f5f5f5;
    --neutral-50: #fafafa;
    --white: #ffffff;

    /* Accents */
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --accent-red: #ef4444;

    /* Layout */
    --max-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition: all 0.2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-950);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    color: var(--neutral-600);
}

/* ---------- Layout Utilities ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

.btn-primary:hover {
    background: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
}

.btn-outline {
    background: transparent;
    color: var(--neutral-800);
    border-color: var(--neutral-300);
}

.btn-outline:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--neutral-200);
    backdrop-filter: blur(8px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--neutral-400);
    font-weight: 400;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color 0.2s;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--brand-blue);
}

.navbar-menu .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
}

/* Fix: override .navbar-menu a color for the primary button */
.navbar-menu a.btn-primary {
    color: var(--white);
}

.navbar-menu a.btn-primary:hover {
    color: var(--white);
}

.navbar-menu a.btn-outline {
    color: var(--neutral-800);
}

/* Mobile menu toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-800);
    margin: 5px 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--neutral-200);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }

    .navbar-menu.open {
        transform: translateY(0);
    }
}

/* ---------- Page Header / Banner (inner pages) ---------- */
.page-header {
    padding-top: 180px;
    padding-bottom: 5rem;
    background-color: var(--brand-blue);
    background-image: var(--hero-pattern);
    background-size: 60px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    top: -200px;
    right: -120px;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.page-header p {
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

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

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- Hero (homepage) ---------- */
.hero {
    padding-top: 200px;
    padding-bottom: 9rem;
    background-color: var(--brand-blue);
    background-image: var(--hero-pattern);
    background-size: 60px 60px;
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.hero::before {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    top: -240px;
    right: -180px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    transform: rotate(45deg);
    bottom: -120px;
    left: -90px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content h1 span {
    color: #dbeafe;
}

.hero-content p {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
}

/* Flat graphic block */
.hero-graphic {
    background: var(--brand-blue);
    border-radius: var(--radius-lg);
    padding: 3rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-graphic::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.hero-graphic .icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-graphic .tagline {
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

.hero-graphic .hashline {
    margin-top: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8125rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

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

    .hero-graphic {
        min-height: 280px;
    }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
    padding: 4rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--neutral-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-50);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    color: var(--brand-blue);
}

.service-card:hover .service-icon {
    background: var(--brand-blue);
    color: var(--white);
}

.service-card:hover .service-icon svg {
    stroke: var(--white);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

/* ---------- About Page ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    background: var(--brand-blue);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    color: var(--white);
}

.about-visual .icon-large {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.about-visual h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.about-visual p {
    color: rgba(255, 255, 255, 0.9);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--neutral-100);
}

.about-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    margin-top: 2px;
}

@media (max-width: 968px) {
    .about-split {
        grid-template-columns: 1fr;
    }
}

/* ---------- Team Section ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--neutral-100);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
}

.team-avatar svg {
    width: 48px;
    height: 48px;
}

.team-card h3 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.team-card p {
    font-size: 0.875rem;
}

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

/* ---------- Projects / Portfolio ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--brand-blue);
}

.project-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
}

.project-thumb svg {
    width: 64px;
    height: 64px;
    opacity: 0.7;
}

.project-thumb.blue { background: #dbeafe; }
.project-thumb.purple { background: #ede9fe; }
.project-thumb.cyan { background: #cffafe; }
.project-thumb.green { background: #d1fae5; }

.project-body {
    padding: 2rem;
}

.project-body h3 {
    margin-bottom: 0.5rem;
}

.project-body p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--neutral-100);
    color: var(--neutral-600);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
}

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

/* ---------- Process / Timeline ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.process-number {
    width: 48px;
    height: 48px;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.process-step h3 {
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.875rem;
}

@media (max-width: 968px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
}

.testimonial-quote {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--neutral-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--neutral-800);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

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

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--neutral-200);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-800);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--brand-blue);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--neutral-400);
    transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 0.9375rem;
    line-height: 1.8;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background-color: var(--brand-blue);
    background-image: var(--hero-pattern);
    background-size: 60px 60px;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn {
    background: var(--white);
    color: var(--brand-blue);
    border-color: var(--white);
}

.cta-banner .btn:hover {
    background: var(--neutral-100);
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info {
    padding: 2.5rem;
    background: var(--brand-blue);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.95);
}

.contact-detail-text strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-detail-text span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95);
}

.contact-form-card {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--neutral-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ---------- Legal Pages ---------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.legal-content h2 {
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

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

.legal-content h3 {
    font-size: 1.0625rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    color: var(--neutral-600);
    line-height: 1.8;
}

.legal-content a {
    color: var(--brand-blue);
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.footer-brand .navbar-brand {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-500);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.625rem;
}

.footer-col ul li a {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--neutral-600);
}

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ---------- Page Active Nav ---------- */
.navbar-menu a.page-home {
    color: var(--brand-blue);
    font-weight: 600;
}
