:root {
    --getfree-ink: #0f172a;
    --getfree-muted: #64748b;
    --getfree-line: rgba(148, 163, 184, 0.18);
    --getfree-sky: #0284c7;
    --getfree-cyan: #06b6d4;
    --getfree-surface: rgba(255, 255, 255, 0.88);
    --getfree-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
    --getfree-shadow-hover: 0 24px 64px rgba(14, 116, 144, 0.12);
}

html {
    scroll-behavior: smooth;
}

body.getfree-site {
    min-height: 100vh;
    background:
        radial-gradient(circle at 6% 2%, rgba(14, 165, 233, 0.08), transparent 24rem),
        radial-gradient(circle at 95% 22%, rgba(34, 211, 238, 0.055), transparent 28rem),
        #f8fafc;
    color: var(--getfree-muted);
}

body.getfree-site::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 42rem);
    mask-image: linear-gradient(to bottom, black, transparent 42rem);
}

body.getfree-site > nav,
body.getfree-site > header {
    transition: box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body.getfree-site > nav.getfree-nav-scrolled,
body.getfree-site > header.getfree-nav-scrolled {
    border-color: rgba(148, 163, 184, 0.2);
    background-color: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
}

body.getfree-site main {
    position: relative;
}

body.getfree-site a,
body.getfree-site button {
    -webkit-tap-highlight-color: transparent;
}

body.getfree-site a:focus-visible,
body.getfree-site button:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.3);
    outline-offset: 3px;
}

body.getfree-site img {
    background-color: #f1f5f9;
}

body.getfree-site footer {
    position: relative;
    overflow: hidden;
}

body.getfree-site footer::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(76rem, 88vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.38), transparent);
    content: "";
    transform: translateX(-50%);
}

.getfree-home-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 0 1.75rem;
}

.getfree-home-intro small {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    color: var(--getfree-sky);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.getfree-home-intro small::before {
    width: 1.4rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--getfree-sky), var(--getfree-cyan));
    content: "";
}

.getfree-home-intro h1 {
    max-width: 50rem;
    color: var(--getfree-ink);
    font-size: clamp(1.8rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.getfree-home-intro p {
    max-width: 25rem;
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.75;
    text-align: right;
}

.getfree-feature-grid > div:first-child a {
    min-height: 24rem;
    border-radius: 1.5rem;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

.getfree-feature-grid > div:first-child a::after {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    content: "";
    pointer-events: none;
}

.getfree-editorial-list > div > a {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    background: var(--getfree-surface);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.035);
    backdrop-filter: blur(12px);
}

.getfree-editorial-list > div > a:hover {
    border-color: rgba(14, 165, 233, 0.22) !important;
    box-shadow: var(--getfree-shadow-hover);
    transform: translateY(-2px);
}

.getfree-sidebar-card {
    border-color: var(--getfree-line) !important;
    background: var(--getfree-surface) !important;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.045) !important;
    backdrop-filter: blur(14px);
}

.getfree-page-hero {
    isolation: isolate;
}

.getfree-page-hero::after {
    position: absolute;
    right: -5rem;
    bottom: -8rem;
    z-index: -1;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(14, 165, 233, 0.13);
    border-radius: 999px;
    content: "";
}

.getfree-back-to-top {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #475569;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    backdrop-filter: blur(12px);
    transition: opacity 180ms ease, transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

.getfree-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.getfree-back-to-top:hover {
    border-color: transparent;
    background: linear-gradient(135deg, var(--getfree-sky), var(--getfree-cyan));
    color: white;
}

.article-body :is(pre, code) {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.article-body pre {
    overflow-x: auto;
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 1rem;
    background: #0f172a !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.15);
}

.article-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.article-body :is(h2, h3) {
    scroll-margin-top: 6rem;
}

@media (max-width: 1023px) {
    .getfree-feature-grid > div:first-child a {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    body.getfree-site::before {
        background-size: 32px 32px;
        opacity: 0.7;
    }

    .getfree-home-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
        padding-top: 0.5rem;
    }

    .getfree-home-intro p {
        max-width: 34rem;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
