:root {
    --bg-soft: #fafafa;
    --bg-white: #ffffff;
    --text-strong: #111827;
    --text-body: #4b5563;
    --text-muted: #6b7280;
    --line-soft: #e5e7eb;
    --accent: #06b6d4;
    --accent-strong: #0891b2;
    --accent-soft: #ecfeff;
    --lime: #84cc16;
    --purple: #9333ea;
    --dark: #111827;
    --shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.08);
    --shadow-strong: 0 16px 40px rgba(17, 24, 39, 0.14);
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-pill: 999px;
    --container: 1200px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --motion-fast: 180ms;
    --motion-medium: 320ms;
    --motion-slow: 560ms;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--text-strong);
    background: var(--bg-soft);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

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

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

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.container {
    width: min(var(--container), calc(100% - 3rem));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.9rem 1.65rem;
    cursor: pointer;
    transition: transform var(--motion-fast) var(--ease-out), background-color var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);
    will-change: transform;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.24);
}

.btn-dark:hover {
    background: var(--accent-strong);
    box-shadow: 0 14px 32px rgba(8, 145, 178, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(6, 182, 212, 0.28);
}

.btn-accent:hover {
    background: var(--accent-strong);
    box-shadow: 0 14px 28px rgba(6, 182, 212, 0.34);
}

.btn-outline {
    background: transparent;
    color: var(--text-body);
    border: 2px solid #e5e7eb;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 1.5rem 0;
    transition: padding var(--motion-medium) var(--ease-out), background-color var(--motion-medium) var(--ease-out), box-shadow var(--motion-medium) var(--ease-out);
}

.site-header.is-scrolled {
    backdrop-filter: blur(12px);
    background: rgba(250, 250, 250, 0.9);
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08);
    padding: 1rem 0;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.site-brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    transition: background 200ms ease;
}

.site-brand:hover .site-brand-mark {
    background: var(--accent);
}

.site-brand-text {
    color: var(--dark);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.site-nav .nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.site-nav .nav a {
    color: var(--text-body);
    font-size: 0.92rem;
    font-weight: 700;
    transition: color 160ms ease;
}

.site-nav .nav a:hover,
.site-nav .nav .nav-current a {
    color: var(--accent-strong);
}

.mobile-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.7rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease;
}

.mobile-nav-toggle:hover {
    background: #f3f4f6;
}

.mobile-nav-icon,
.mobile-nav-icon::before,
.mobile-nav-icon::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: var(--dark);
    border-radius: 20px;
    transition: transform 180ms ease, opacity 180ms ease;
    content: "";
}

.mobile-nav-icon {
    position: relative;
}

.mobile-nav-icon::before {
    position: absolute;
    top: -6px;
}

.mobile-nav-icon::after {
    position: absolute;
    top: 6px;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon {
    background: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    margin-top: 1rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    box-shadow: var(--shadow-strong);
    padding: 1.35rem;
    overflow: hidden;
    transform-origin: top;
}

.mobile-nav .nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mobile-nav .nav a {
    display: block;
    font-weight: 600;
    color: var(--text-body);
}

.mobile-cta {
    margin-top: 1rem;
    width: 100%;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 6.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-soft);
}

.hero-content-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.hero-copy h1 {
    margin: 0 0 1.5rem;
    color: var(--text-strong);
    font-size: clamp(2.4rem, 6.4vw, 4.5rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(90deg, #06b6d4 0%, #84cc16 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-pill);
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--accent-strong);
    margin-bottom: 1.25rem;
}

.hero-copy p {
    margin: 0;
    max-width: 36ch;
    color: var(--text-body);
    font-size: 1.25rem;
    line-height: 1.65;
}

.js-animate [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity var(--motion-slow) var(--ease-out), transform var(--motion-slow) var(--ease-out);
    will-change: opacity, transform;
}

.js-animate [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.js-animate .hero-visual[data-reveal] {
    transform: translate3d(0, 20px, 0) scale(0.98);
}

.js-animate .hero-visual[data-reveal].is-visible {
    transform: translate3d(0, 0, 0) scale(1);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.3rem;
}

.hero-visual {
    position: relative;
    width: min(500px, 100%);
    height: 600px;
    margin-inline: auto;
}

.hero-photo-bg {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 2rem;
    transform: rotate(3deg);
    transition: transform var(--motion-slow) var(--ease-out);
}

.hero-photo-frame {
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    overflow: hidden;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: var(--shadow-strong);
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual:hover .hero-photo-bg {
    transform: rotate(0deg);
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 0.85rem;
    box-shadow: var(--shadow-soft);
    animation: floatY 5s ease-in-out infinite;
    will-change: transform;
}

.floating-badge p {
    margin: 0;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.65rem;
    font-weight: 700;
}

.floating-badge strong {
    display: block;
    margin-top: 0.1rem;
    color: var(--text-strong);
    font-size: 0.86rem;
    font-weight: 800;
}

.badge-left-top {
    top: 5.3rem;
    left: -3.1rem;
}

.badge-right-mid {
    right: -2.2rem;
    top: 35%;
    animation-delay: 0.8s;
}

.badge-left-bottom {
    left: -0.8rem;
    bottom: 4.8rem;
    animation-delay: 0.3s;
}

.badge-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
}

.badge-icon.cyan {
    background: #cffafe;
    color: #0891b2;
}

.badge-icon.lime {
    background: #ecfccb;
    color: #65a30d;
}

.badge-icon.purple {
    background: #f3e8ff;
    color: #7e22ce;
}

.hero-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    animation: blobDrift 14s ease-in-out infinite;
    will-change: transform;
}

.blob-cyan {
    top: -240px;
    right: -220px;
    width: 780px;
    height: 780px;
    background: rgba(6, 182, 212, 0.2);
}

.blob-lime {
    left: -200px;
    bottom: -210px;
    width: 620px;
    height: 620px;
    background: rgba(132, 204, 22, 0.2);
    animation-delay: 0.6s;
    animation-direction: alternate-reverse;
}

.ticker-wrap {
    margin-top: auto;
    background: #111827;
    color: #fff;
    overflow: hidden;
    padding: 1.45rem 0;
    position: relative;
    z-index: 2;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 2.6rem;
    animation: ticker 22s linear infinite;
    will-change: transform;
}

.ticker-track span {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.95;
}

.ticker-track span:nth-child(even) {
    color: var(--accent);
}

.posts-section {
    background: #fff;
    padding: 6.1rem 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.6rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--accent-strong);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.section-head h2 span {
    color: var(--accent);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.9rem;
}

.post-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid #f3f4f6;
    overflow: hidden;
    transition: transform var(--motion-medium) var(--ease-out), box-shadow var(--motion-medium) var(--ease-out);
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
    will-change: transform;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.13);
}

.post-card-image-wrap {
    display: block;
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--motion-slow) var(--ease-out);
}

.post-card:hover .post-card-image {
    transform: scale(1.06);
}

.post-card-image.placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0891b2, #84cc16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.post-card-content {
    padding: 1.8rem;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    color: #6b7280;
    font-size: 0.83rem;
    font-weight: 500;
}

.post-card-title {
    margin: 0.8rem 0 0.7rem;
    font-size: 1.27rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.post-card-title a {
    color: var(--text-strong);
}

.post-card-title a:hover {
    color: var(--accent-strong);
}

.post-card-excerpt {
    margin: 0;
    color: var(--text-body);
    line-height: 1.65;
}

.post-card-tags,
.single-post-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #bae6fd;
    background: #ecfeff;
    color: #0e7490;
    padding: 0.25rem 0.72rem;
    font-size: 0.73rem;
    font-weight: 700;
    transition: all 140ms ease;
}

.tag-chip:hover {
    color: #fff;
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.empty-state-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px dashed #d1d5db;
    background: #fff;
}

.empty-state-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.25rem;
}

.empty-state-card p {
    margin: 0;
    color: var(--text-body);
}

.pagination {
    margin-top: 2.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pagination-link {
    font-weight: 700;
    color: var(--text-body);
}

.pagination-link:hover {
    color: var(--accent-strong);
}

.pagination-state {
    color: #6b7280;
    font-size: 0.92rem;
}

.archive-hero {
    padding: 10rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.archive-hero-inner {
    position: relative;
    z-index: 2;
}

.archive-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: -0.03em;
}

.archive-hero p {
    margin: 1rem 0 0;
    max-width: 56ch;
    color: var(--text-body);
    font-size: 1.1rem;
}

.blog-home-intro {
    padding-bottom: 3.4rem;
}

.blog-home-intro h1 {
    max-width: 18ch;
}

.featured-posts-section {
    padding-top: 2rem;
}

.single-post-hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 4.2rem;
}

.single-post-hero.compact {
    padding-bottom: 2.8rem;
}

.single-post-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.single-post-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.85rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.single-post-excerpt {
    margin: 1.35rem 0 0;
    color: var(--text-body);
    font-size: 1.16rem;
    line-height: 1.7;
}

.single-post-meta {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.single-post-image-wrap {
    margin: 2.1rem 0 0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid #f3f4f6;
    position: relative;
    z-index: 2;
}

.single-post-image-wrap img {
    width: 100%;
}

.single-post-body-wrap {
    background: #fff;
    padding: 3.2rem 0 5.2rem;
}

.container.narrow {
    width: min(780px, calc(100% - 3rem));
}

.gh-content {
    color: var(--text-body);
    font-size: 1.07rem;
    line-height: 1.9;
}

.gh-content > *:first-child {
    margin-top: 0;
}

.gh-content > *:last-child {
    margin-bottom: 0;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6 {
    margin: 2.4rem 0 0.8rem;
    color: var(--text-strong);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gh-content h2 {
    font-size: 2rem;
}

.gh-content h3 {
    font-size: 1.5rem;
}

.gh-content p,
.gh-content ul,
.gh-content ol,
.gh-content blockquote {
    margin: 1.05rem 0;
}

.gh-content ul,
.gh-content ol {
    padding-left: 1.2rem;
}

.gh-content li {
    margin: 0.45rem 0;
}

.gh-content blockquote {
    border-left: 4px solid #67e8f9;
    padding: 0.25rem 0 0.25rem 1rem;
    color: #374151;
    background: #f9feff;
    border-radius: 0 0.6rem 0.6rem 0;
}

.gh-content a {
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.gh-content figure {
    margin: 1.8rem 0;
}

.gh-content figcaption {
    margin-top: 0.55rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.82rem;
}

.gh-content img {
    border-radius: 0.9rem;
}

.gh-content code {
    border-radius: 0.35rem;
    background: #f3f4f6;
    color: #1f2937;
    padding: 0.18rem 0.45rem;
    font-size: 0.92em;
}

.gh-content pre {
    margin: 1.5rem 0;
    background: #111827;
    border-radius: 0.9rem;
    color: #e5e7eb;
    overflow: auto;
    padding: 1rem 1.1rem;
}

.gh-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.kg-width-wide,
.kg-width-full {
    width: 100%;
}

.kg-width-wide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full img {
    width: 100%;
    border-radius: 0;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.kg-gallery-row {
    display: flex;
    gap: 0.7rem;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.85rem;
}

.kg-bookmark-card {
    margin: 1.5rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    overflow: hidden;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.kg-bookmark-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.kg-bookmark-container {
    display: grid;
    grid-template-columns: 1fr minmax(150px, 220px);
    min-height: 150px;
}

.kg-bookmark-content {
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
}

.kg-bookmark-title {
    color: var(--text-strong);
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
}

.kg-bookmark-description {
    margin-top: 0.4rem;
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.5;
}

.kg-bookmark-metadata {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.kg-bookmark-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
}

.kg-bookmark-author,
.kg-bookmark-publisher {
    color: #6b7280;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.companies-strip {
    border-top: 1px solid #f3f4f6;
    background: var(--bg-soft);
    padding: 4.8rem 0;
}

.companies-head {
    text-align: center;
    margin-bottom: 2rem;
}

.companies-head h2 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2rem);
    letter-spacing: -0.02em;
}

.companies-head p {
    margin: 0.65rem 0 0;
    color: var(--text-muted);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
    justify-items: center;
    opacity: 0.7;
    filter: grayscale(1);
    transition: filter 200ms ease;
}

.companies-grid:hover {
    filter: grayscale(0);
}

.companies-grid span {
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
}

.site-footer {
    border-top: 1px solid var(--line-soft);
    background: var(--bg-soft);
    padding: 4.5rem 0 2.3rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.site-footer-brand-column h3 {
    margin: 1.4rem 0 0.7rem;
    color: var(--text-strong);
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.site-footer-brand-column p {
    margin: 0;
    max-width: 38ch;
    color: var(--text-body);
}

.newsletter-form,
.footer-subscribe form,
.footer-subscribe .gh-subscribe-form {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.newsletter-input,
.footer-subscribe input[type="email"],
.footer-subscribe .gh-input {
    flex: 1 1 220px;
    min-height: 2.9rem;
    border-radius: 0.7rem;
    border: 1px solid #dbe2ea;
    background: #fff;
    color: var(--text-strong);
    padding: 0 0.9rem;
    font: inherit;
}

.newsletter-input:focus,
.footer-subscribe input[type="email"]:focus,
.footer-subscribe .gh-input:focus {
    outline: 2px solid rgba(6, 182, 212, 0.26);
    border-color: #67e8f9;
}

.footer-subscribe button,
.footer-subscribe .gh-btn {
    border-radius: var(--radius-pill);
    border: 0;
    font-weight: 700;
    padding: 0 1.2rem;
    min-height: 2.9rem;
    background: var(--dark);
    color: #fff;
    cursor: pointer;
}

.footer-subscribe button:hover,
.footer-subscribe .gh-btn:hover {
    background: var(--accent-strong);
}

.site-footer h4 {
    margin: 0 0 1.3rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-strong);
}

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

.site-footer li,
.site-footer li a {
    color: var(--text-body);
}

.site-footer a:hover {
    color: var(--accent-strong);
}

.contact-list {
    margin-bottom: 1.3rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    border: 1px solid #dbe2ea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--text-body);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.social-links a:hover {
    border-color: #67e8f9;
    color: var(--accent-strong);
}

.site-footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.site-footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
    color: #6b7280;
}

.site-footer-policy-links {
    display: flex;
    gap: 1.2rem;
}

.site-footer-policy-links a {
    font-size: 0.88rem;
    color: #6b7280;
}

.site-footer-policy-links a:hover {
    color: var(--text-strong);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes blobDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(12px, -10px, 0) scale(1.04);
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 1ms !important;
        transition-delay: 0ms !important;
    }

    .js-animate [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 1080px) {
    .desktop-nav,
    .desktop-cta {
        display: none;
    }

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

    .mobile-nav {
        display: block;
        max-height: 0;
        opacity: 0;
        transform: translate3d(0, -8px, 0);
        pointer-events: none;
        padding-top: 0;
        padding-bottom: 0;
        border-color: transparent;
        transition: max-height var(--motion-slow) var(--ease-out), opacity var(--motion-medium) var(--ease-out), transform var(--motion-medium) var(--ease-out), padding var(--motion-medium) var(--ease-out), border-color var(--motion-fast) var(--ease-out);
    }

    .mobile-nav.is-open {
        max-height: 28rem;
        opacity: 1;
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
        padding-top: 1.35rem;
        padding-bottom: 1.35rem;
        border-color: #f3f4f6;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.8rem;
    }

    .hero-visual {
        display: none;
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .companies-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container,
    .container.narrow {
        width: min(var(--container), calc(100% - 2rem));
    }

    .site-header {
        padding: 1rem 0;
    }

    .site-header.is-scrolled {
        padding: 0.8rem 0;
    }

    .site-brand-text {
        font-size: 1.05rem;
    }

    .hero-section {
        min-height: auto;
        padding-top: 6rem;
    }

    .hero-copy p {
        font-size: 1.05rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .ticker-track span {
        font-size: 1.12rem;
    }

    .posts-section,
    .single-post-body-wrap,
    .companies-strip,
    .site-footer {
        padding-top: 3.4rem;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-card-content {
        padding: 1.25rem;
    }

    .single-post-hero {
        padding-top: 7.2rem;
    }

    .single-post-meta {
        font-size: 0.84rem;
    }

    .gh-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .kg-bookmark-container {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-direction: column;
        align-items: flex-start;
    }
}
