/* AI Tool Stack framework */
html,
body,
.gh-viewport {
    overflow-x: hidden;
}

.ats-main {
    flex-grow: 1;
}

.ats-hero {
    padding-top: clamp(56px, 8vw, 112px);
    padding-bottom: clamp(48px, 7vw, 96px);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(180deg, rgba(78, 168, 168, 0.08), rgba(255, 255, 255, 0));
}

.gh-navigation-brand {
    min-width: 0;
}

.gh-navigation-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gh-navigation-logo img {
    flex: 0 0 auto;
}

.ats-mobile-site-title {
    display: none;
}

.ats-hero-inner,
.ats-page-hero .gh-inner,
.ats-project-hero .gh-inner {
    max-width: 1100px;
}

.ats-kicker {
    margin-bottom: 14px;
    color: var(--ghost-accent-color);
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ats-hero-title,
.ats-page-title,
.ats-project-title {
    max-width: 980px;
    font-size: 7.2rem;
    line-height: 1;
    letter-spacing: 0;
}

.ats-section-title {
    max-width: 760px;
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.ats-hero-copy,
.ats-page-copy,
.ats-project-copy {
    max-width: 760px;
    margin-top: 22px;
    color: var(--color-secondary-text);
    font-size: 2.1rem;
    line-height: 1.45;
}

.ats-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.ats-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--ghost-accent-color);
    border-radius: 6px;
    background: var(--ghost-accent-color);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
}

.ats-button.is-secondary {
    background: #111827;
    border-color: #111827;
}

.ats-button.is-ghost {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-darker-gray);
}

.ats-section {
    padding-top: clamp(48px, 7vw, 88px);
}

.blog-template .ats-section,
.projects-template .ats-section,
.tag-template .ats-section,
.author-template .ats-section {
    padding-top: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(56px, 8vw, 104px);
}

.blog-template .ats-page-title,
.projects-template .ats-page-title,
.tag-template .ats-page-title,
.author-template .ats-page-title {
    max-width: 900px;
    font-size: clamp(4rem, 5vw, 6.4rem);
}

.blog-template .ats-page-copy,
.projects-template .ats-page-copy,
.tag-template .ats-page-copy,
.author-template .ats-page-copy {
    max-width: 760px;
}

.ats-section-header {
    display: block;
    max-width: 820px;
    margin-bottom: 28px;
}

.ats-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--ghost-accent-color);
    font-size: 1.45rem;
    font-weight: 700;
}

.ats-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.ats-card,
.ats-segment-card {
    display: block;
    min-height: 100%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    overflow: hidden;
}

.ats-card:hover,
.ats-segment-card:hover {
    opacity: 1;
    border-color: rgba(78, 168, 168, 0.45);
}

.ats-card:not(article),
.ats-segment-card {
    padding: 24px;
}

.ats-card-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
}

.ats-card-link:hover {
    opacity: 1;
}

.ats-card-image {
    aspect-ratio: 16 / 9;
    background: var(--color-lighter-gray);
}

.ats-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ats-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.ats-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--color-secondary-text);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ats-card h3,
.ats-segment-card h2,
.ats-card:not(article) h3 {
    font-size: 2.1rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.ats-card p,
.ats-segment-card p {
    margin-top: 10px;
    color: var(--color-secondary-text);
    font-size: 1.5rem;
    line-height: 1.45;
}

.ats-card-label,
.ats-segment-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--ghost-accent-color);
    font-size: 1.15rem;
    font-weight: 750;
    text-transform: uppercase;
}

.ats-card-cta {
    margin-top: auto;
    padding-top: 18px;
    color: var(--ghost-accent-color);
    font-size: 1.4rem;
    font-weight: 750;
}

.ats-page-hero,
.ats-project-hero {
    padding-top: clamp(42px, 6vw, 76px);
    padding-bottom: 24px;
}

.ats-page-hero.is-compact {
    padding-top: 48px;
}

.ats-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.ats-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-secondary-text);
    font-size: 1.25rem;
    font-weight: 650;
}

.ats-project-visual {
    margin-bottom: 48px;
}

.ats-project-visual img {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.ats-article-hero {
    padding-top: clamp(48px, 7vw, 84px);
}

.ats-backlink {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--ghost-accent-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.ats-learning-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 12px 0 48px;
}

.ats-path-step {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 22px;
}

.ats-path-step span {
    color: var(--ghost-accent-color);
    font-size: 1.2rem;
    font-weight: 750;
    text-transform: uppercase;
}

.ats-path-step h2 {
    margin-top: 8px;
    font-size: 2rem;
}

.ats-path-step p {
    margin-top: 8px;
    color: var(--color-secondary-text);
}

.ats-empty {
    color: var(--color-secondary-text);
}

.ats-start-page {
    background: #fff;
    overflow-x: hidden;
}

.ats-start-page,
.ats-start-page * {
    box-sizing: border-box;
}

.ats-start-page * {
    min-width: 0;
}

.ats-start-page .gh-outer {
    padding-right: 0;
    padding-left: 0;
}

.ats-start-page .gh-inner {
    width: min(1120px, calc(100vw - 48px));
    max-width: none;
}

.ats-start-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(56px, 7vw, 86px);
    padding-bottom: clamp(52px, 7vw, 82px);
    background:
        linear-gradient(135deg, rgba(16, 26, 39, 0.98), rgba(23, 37, 53, 0.96) 58%, rgba(18, 55, 59, 0.95)),
        #101a27;
    color: #fff;
}

.ats-start-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.55;
}

.ats-start-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
    gap: clamp(42px, 6vw, 78px);
    align-items: center;
}

.ats-start-kicker {
    margin: 0 0 14px;
    color: #6bd0c2;
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ats-start-title {
    max-width: 820px;
    margin: 0;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(4.6rem, 7vw, 8.6rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.ats-start-lede {
    max-width: 720px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1.85rem, 2vw, 2.25rem);
    line-height: 1.45;
}

.ats-start-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ats-start-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #4ea8a8;
    border-radius: 7px;
    background: #4ea8a8;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.ats-start-button:hover {
    opacity: 1;
}

.ats-start-button.is-secondary {
    border-color: rgba(255, 255, 255, 0.26);
    background: transparent;
    color: #fff;
}

.ats-start-button.is-light {
    border-color: rgba(17, 24, 39, 0.14);
    background: #fff;
    color: #111827;
}

.ats-start-map {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(78, 168, 168, 0.18), rgba(47, 128, 194, 0.1)),
        rgba(255, 255, 255, 0.045);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.ats-start-map-line {
    position: absolute;
    top: 58px;
    bottom: 58px;
    left: 52px;
    width: 2px;
    background: rgba(107, 208, 194, 0.34);
}

.ats-start-map-step {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    min-height: 116px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(16, 26, 39, 0.46);
    color: #fff;
}

.ats-start-map-step span {
    display: inline-flex;
    grid-row: 1 / 3;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #4ea8a8;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 850;
}

.ats-start-map-step strong {
    display: block;
    grid-column: 2;
    color: #fff;
    font-size: 1.85rem;
    line-height: 1.18;
}

.ats-start-map-step small {
    display: block;
    grid-column: 2;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 1.35rem;
    line-height: 1.4;
}

.ats-start-section {
    padding-top: clamp(54px, 7vw, 88px);
    padding-bottom: clamp(54px, 7vw, 88px);
}

.ats-start-section.is-soft {
    background: #f4f7f8;
}

.ats-start-section-head {
    max-width: 820px;
    margin-bottom: 30px;
}

.ats-start-section-title {
    max-width: 820px;
    margin: 0;
    font-size: clamp(3.2rem, 4vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.ats-start-card-grid {
    display: grid;
    gap: 18px;
}

.ats-start-card-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ats-start-card-grid.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ats-start-card,
.ats-start-path-step,
.ats-start-reading {
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #fff;
}

.ats-start-card {
    min-height: 242px;
    padding: 24px;
    color: inherit;
}

.ats-start-card span,
.ats-start-path-step span {
    display: block;
    margin-bottom: 34px;
    color: #4ea8a8;
    font-size: 1.2rem;
    font-weight: 850;
}

.ats-start-card h3,
.ats-start-path-step h3,
.ats-start-reading h3 {
    margin: 0;
    font-size: 2.1rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.ats-start-card p,
.ats-start-path-step p {
    margin-top: 10px;
    color: var(--color-secondary-text);
    font-size: 1.5rem;
    line-height: 1.45;
}

.ats-start-path {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ats-start-path-step {
    min-height: 236px;
    padding: 24px;
}

.ats-start-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    padding: clamp(30px, 5vw, 48px);
    border: 1px solid rgba(78, 168, 168, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(78, 168, 168, 0.12), rgba(47, 128, 194, 0.06)),
        #fff;
}

.ats-start-feature p:not(.ats-start-kicker) {
    max-width: 720px;
    margin-top: 16px;
    color: var(--color-secondary-text);
    font-size: 1.75rem;
    line-height: 1.55;
}

.ats-start-feature-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 22px;
    border-radius: 8px;
    background: #101a27;
}

.ats-start-feature-panel div {
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
}

.ats-start-reading {
    padding: 24px;
}

.ats-start-reading a {
    display: block;
    margin-top: 14px;
    color: #4ea8a8;
    font-size: 1.55rem;
    font-weight: 750;
}

.ats-start-cta {
    padding: clamp(48px, 6vw, 76px) 0;
    background:
        linear-gradient(135deg, rgba(16, 26, 39, 0.98), rgba(23, 37, 53, 0.96)),
        #101a27;
    color: #fff;
}

.ats-start-cta .gh-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ats-start-cta h2 {
    max-width: 660px;
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 4vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.ats-start-cta .ats-start-actions {
    margin-top: 0;
}

@media (max-width: 991px) {
    .ats-grid-4,
    .ats-grid-3,
    .ats-grid-2,
    .ats-learning-path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ats-start-hero-grid,
    .ats-start-feature,
    .ats-start-card-grid.is-three,
    .ats-start-path {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ats-start-hero-copy,
    .ats-start-map,
    .ats-start-feature > * {
        grid-column: 1 / -1;
    }

    .ats-start-cta .gh-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .ats-hero {
        padding-top: 58px;
        padding-bottom: 56px;
    }

    .ats-section,
    .ats-page-hero,
    .ats-project-hero {
        padding-top: 44px;
    }

    .ats-grid-4,
    .ats-grid-3,
    .ats-grid-2,
    .ats-learning-path {
        grid-template-columns: 1fr;
    }

    .ats-hero-title,
    .ats-page-title,
    .ats-project-title {
        max-width: 13ch;
        font-size: 3.6rem;
        line-height: 1.08;
    }

    .ats-section-title {
        max-width: 18ch;
        font-size: 3rem;
        line-height: 1.12;
    }

    .ats-hero-copy,
    .ats-page-copy,
    .ats-project-copy {
        max-width: 30ch;
        font-size: 1.75rem;
    }

    .ats-actions {
        gap: 10px;
    }

    .ats-button {
        min-height: 44px;
        padding: 0 16px;
        font-size: 1.35rem;
    }

    .ats-card-body,
    .ats-card:not(article),
    .ats-segment-card {
        padding: 22px;
    }

    .ats-card p,
    .ats-segment-card p {
        font-size: 1.45rem;
    }

    .ats-start-hero {
        padding-top: 50px;
        padding-bottom: 48px;
    }

    .ats-start-title {
        max-width: 12ch;
        font-size: 3.8rem;
        line-height: 1.05;
    }

    .ats-start-lede {
        max-width: 31ch;
        font-size: 1.75rem;
    }

    .ats-start-hero-grid,
    .ats-start-card-grid.is-three,
    .ats-start-card-grid.is-two,
    .ats-start-path,
    .ats-start-feature,
    .ats-start-feature-panel {
        grid-template-columns: 1fr;
    }

    .ats-start-map,
    .ats-start-card,
    .ats-start-path-step,
    .ats-start-reading {
        padding: 22px;
    }

    .ats-start-map-line {
        display: none;
    }

    .ats-start-map-step {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ats-start-map-step span,
    .ats-start-map-step strong,
    .ats-start-map-step small {
        grid-column: 1;
        grid-row: auto;
    }

    .ats-start-card,
    .ats-start-path-step {
        min-height: auto;
    }

    .ats-start-card span,
    .ats-start-path-step span {
        margin-bottom: 22px;
    }

    .ats-start-button {
        width: 100%;
    }
}

/* Final design freeze overrides: keep the primary pages aligned after page-specific CSS. */
.ats-start-page .gh-outer,
.ats-segments-page .gh-outer,
.ats-segment-page .gh-outer,
.ats-library-page .gh-outer,
.ats-premium-post-page .gh-outer {
    padding-right: max(4vmin, 20px) !important;
    padding-left: max(4vmin, 20px) !important;
}

.ats-start-page .gh-inner,
.ats-segments-page .gh-inner,
.ats-segment-page .gh-inner,
.ats-library-page .gh-inner,
.ats-premium-post-page .gh-inner {
    width: 100% !important;
    max-width: 1320px !important;
}

.ats-start-hero,
.ats-segments-hero,
.ats-segment-hero,
.ats-library-hero,
.ats-premium-hero {
    padding-top: clamp(48px, 6vw, 78px) !important;
    padding-bottom: clamp(48px, 6vw, 78px) !important;
}

.ats-start-title,
.ats-segments-title,
.ats-segment-title,
.ats-library-title,
.ats-premium-title {
    max-width: 820px !important;
    font-size: clamp(4.4rem, 5.9vw, 7.6rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
}

.ats-start-subtitle,
.ats-segments-copy,
.ats-segment-copy,
.ats-library-copy,
.ats-premium-excerpt {
    max-width: 700px !important;
    font-size: 1.85rem !important;
    line-height: 1.45 !important;
}

.ats-start-section,
.ats-segments-section,
.ats-segment-library,
.ats-library-section {
    padding-top: clamp(42px, 6vw, 74px) !important;
    padding-bottom: clamp(56px, 7vw, 92px) !important;
}

body.page-about .ats-about-custom .ats-about-inner {
    width: 100% !important;
    max-width: 1320px !important;
}

body.page-about .ats-about-custom .ats-about-hero {
    padding: clamp(48px, 6vw, 78px) max(4vmin, 20px) !important;
}

body.page-about .ats-about-custom .ats-about-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.98fr) !important;
    gap: clamp(36px, 6vw, 78px) !important;
}

body.page-about .ats-about-custom .ats-about-hero h1 {
    max-width: 820px !important;
    font-size: clamp(44px, 5.9vw, 76px) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
}

body.page-about .ats-about-custom .ats-about-hero p {
    max-width: 700px !important;
    font-size: 18.5px !important;
    line-height: 1.45 !important;
}

@media (max-width: 980px) {
    .ats-start-page .gh-inner,
    .ats-segments-page .gh-inner,
    .ats-segment-page .gh-inner,
    .ats-library-page .gh-inner,
    .ats-premium-post-page .gh-inner {
        max-width: 880px !important;
    }

    .ats-start-hero-grid,
    .ats-segments-hero-grid,
    .ats-segment-hero-grid,
    .ats-library-hero-grid,
    .ats-premium-hero-grid,
    body.page-about .ats-about-custom .ats-about-hero-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .ats-start-page .gh-inner,
    .ats-segments-page .gh-inner,
    .ats-segment-page .gh-inner,
    .ats-library-page .gh-inner,
    .ats-premium-post-page .gh-inner {
        width: 100% !important;
        max-width: min(420px, calc(100vw - 64px)) !important;
    }

    .ats-start-hero,
    .ats-segments-hero,
    .ats-segment-hero,
    .ats-library-hero,
    .ats-premium-hero {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }

    .ats-start-title,
    .ats-segments-title,
    .ats-segment-title,
    .ats-library-title,
    .ats-premium-title {
        max-width: 10.5ch !important;
        font-size: 4rem !important;
        line-height: 1.04 !important;
    }

    .ats-start-subtitle,
    .ats-segments-copy,
    .ats-segment-copy,
    .ats-library-copy,
    .ats-premium-excerpt {
        max-width: 31ch !important;
        font-size: 1.55rem !important;
    }

    body.page-about .ats-about-custom .ats-about-inner {
        max-width: min(420px, calc(100vw - 64px)) !important;
    }

    body.page-about .ats-about-custom .ats-about-hero {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }

    body.page-about .ats-about-custom .ats-about-hero h1 {
        max-width: 10.5ch !important;
        font-size: 40px !important;
        line-height: 1.04 !important;
    }
}

/* Segment directory and segment landing pages */
.ats-segments-page,
.ats-segment-page {
    overflow-x: hidden;
    background: #fff;
}

.ats-segments-page,
.ats-segments-page *,
.ats-segment-page,
.ats-segment-page * {
    box-sizing: border-box;
}

.ats-segments-page .gh-outer,
.ats-segment-page .gh-outer {
    padding-right: max(4vmin, 20px);
    padding-left: max(4vmin, 20px);
}

.ats-segments-page .gh-inner,
.ats-segment-page .gh-inner {
    width: 100%;
    max-width: 1320px;
}

.ats-segments-hero,
.ats-segment-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(48px, 6vw, 78px);
    padding-bottom: clamp(48px, 6vw, 78px);
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 82% 26%, rgba(78, 168, 168, 0.28), transparent 34%),
        linear-gradient(135deg, #101827 0%, #0f1d2c 50%, #0b302f 100%);
    background-size: 92px 92px, 92px 92px, auto, auto;
}

.ats-segments-hero-grid,
.ats-segment-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: clamp(34px, 6vw, 80px);
    align-items: center;
}

.ats-segments-kicker {
    margin: 0 0 14px;
    color: #63e0dc;
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ats-segments-title,
.ats-segment-title {
    max-width: 780px;
    margin: 0;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(4.4rem, 6.2vw, 8.2rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.ats-segment-title {
    font-size: clamp(4.4rem, 5.6vw, 7.2rem);
}

.ats-segments-copy,
.ats-segment-copy {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.85rem;
    line-height: 1.45;
}

.ats-segments-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ats-segments-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #4ea8a8;
    border-radius: 8px;
    background: #4ea8a8;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1;
}

.ats-segments-button:hover {
    opacity: 0.92;
}

.ats-segments-button.is-light {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.ats-segments-map,
.ats-segment-brief {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

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

.ats-segments-map-line {
    position: absolute;
    top: 50%;
    right: 14%;
    left: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 224, 220, 0.52), transparent);
}

.ats-segments-map-item {
    position: relative;
    min-height: 132px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #fff;
    background: rgba(11, 18, 32, 0.34);
}

.ats-segments-map-item:hover {
    opacity: 1;
    border-color: rgba(99, 224, 220, 0.58);
}

.ats-segments-map-item span,
.ats-segment-card-top span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid #63e0dc;
    border-radius: 999px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

.ats-segments-map-item:nth-of-type(2) span {
    border-color: #79a7ff;
}

.ats-segments-map-item:nth-of-type(3) span {
    border-color: #f4c35b;
}

.ats-segments-map-item:nth-of-type(4) span {
    border-color: #c7d2fe;
}

.ats-segments-map-item strong {
    display: block;
    margin-top: 14px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.15;
}

.ats-segments-map-item small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.15rem;
    line-height: 1.35;
}

.ats-segments-section,
.ats-segment-library {
    padding-top: clamp(42px, 6vw, 74px);
    padding-bottom: clamp(56px, 7vw, 92px);
    background: #fff;
}

.ats-segments-intro,
.ats-segment-library-head {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
    gap: 26px;
    align-items: end;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.ats-segments-intro h2,
.ats-segment-library-head h2 {
    max-width: 520px;
    margin: 0;
    color: #0f172a;
    font-size: 2.8rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.ats-segment-library-head h2 {
    max-width: none;
}

.ats-segments-intro > p,
.ats-segment-library-copy {
    max-width: 740px;
    margin: 0;
    color: var(--color-secondary-text);
    font-size: 1.55rem;
    line-height: 1.48;
}

.ats-segments-grid,
.ats-segment-item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ats-segments-page .ats-segment-card {
    display: flex;
    min-height: 360px;
    padding: 24px;
    flex-direction: column;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 12%, rgba(78, 168, 168, 0.12), transparent 32%),
        #fff;
    color: inherit;
}

.ats-segments-page .ats-segment-card:hover {
    opacity: 1;
    border-color: rgba(78, 168, 168, 0.52);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.ats-segments-page .ats-segment-card.is-primary {
    background:
        linear-gradient(135deg, rgba(78, 168, 168, 0.16), rgba(121, 167, 255, 0.08)),
        #f8ffff;
}

.ats-segment-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.ats-segment-card-top small {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(78, 168, 168, 0.28);
    border-radius: 999px;
    color: #247e7d;
    font-size: 1.12rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.ats-segments-page .ats-segment-card h2 {
    max-width: 520px;
    margin: 0;
    color: #0f172a;
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.ats-segments-page .ats-segment-card p {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--color-secondary-text);
    font-size: 1.52rem;
    line-height: 1.45;
}

.ats-segments-page .ats-segment-card ul {
    display: grid;
    gap: 9px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ats-segments-page .ats-segment-card li {
    position: relative;
    padding-left: 18px;
    color: #334155;
    font-size: 1.35rem;
    line-height: 1.35;
}

.ats-segments-page .ats-segment-card li::before {
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4ea8a8;
    content: "";
}

.ats-segments-page .ats-segment-card strong {
    margin-top: auto;
    padding-top: 26px;
    color: #247e7d;
    font-size: 1.38rem;
    line-height: 1;
}

.ats-segment-brief {
    gap: 12px;
}

.ats-segment-brief > span {
    color: #63e0dc;
    font-size: 1.18rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ats-segment-brief div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(11, 18, 32, 0.28);
}

.ats-segment-brief strong {
    color: #fff;
    font-size: 1.55rem;
}

.ats-segment-brief p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.22rem;
    line-height: 1.38;
}

.ats-segment-item {
    min-height: 100%;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #fff;
}

.ats-segment-item:hover {
    border-color: rgba(78, 168, 168, 0.52);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.ats-segment-item a {
    display: flex;
    min-height: 100%;
    padding: 24px;
    flex-direction: column;
    color: inherit;
}

.ats-segment-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-secondary-text);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ats-segment-item h3 {
    max-width: 560px;
    margin: 0;
    color: #0f172a;
    font-size: 2.25rem;
    line-height: 1.16;
    letter-spacing: 0;
}

.ats-segment-item p {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--color-secondary-text);
    font-size: 1.48rem;
    line-height: 1.45;
}

.ats-segment-item strong {
    margin-top: auto;
    padding-top: 28px;
    color: #247e7d;
    font-size: 1.35rem;
}

.ats-segment-empty {
    padding: 26px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #f8fafc;
}

.ats-segment-empty h3 {
    margin: 0;
    font-size: 2rem;
}

.ats-segment-empty p {
    margin: 8px 0 0;
    color: var(--color-secondary-text);
    font-size: 1.45rem;
}

@media (max-width: 980px) {
    .ats-segments-page .gh-inner,
    .ats-segment-page .gh-inner {
        max-width: 880px;
    }

    .ats-segments-hero-grid,
    .ats-segment-hero-grid,
    .ats-segments-intro,
    .ats-segment-library-head {
        grid-template-columns: 1fr;
    }

    .ats-segments-map,
    .ats-segments-grid,
    .ats-segment-item-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ats-segments-page .gh-inner,
    .ats-segment-page .gh-inner {
        max-width: min(420px, calc(100vw - 64px));
    }

    .ats-segments-hero,
    .ats-segment-hero {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .ats-segments-title,
    .ats-segment-title {
        max-width: 9.5ch;
        font-size: 4rem;
        line-height: 1.04;
    }

    .ats-segments-copy,
    .ats-segment-copy {
        max-width: 31ch;
        font-size: 1.55rem;
    }

    .ats-segments-actions,
    .ats-segments-button {
        width: 100%;
    }

    .ats-segments-map,
    .ats-segment-brief,
    .ats-segments-page .ats-segment-card,
    .ats-segment-item a {
        padding: 18px;
    }

    .ats-segments-map-item {
        min-height: 0;
    }

    .ats-segments-map-line {
        display: none;
    }

    .ats-segments-intro h2,
    .ats-segment-library-head h2,
    .ats-segments-page .ats-segment-card h2 {
        font-size: 2.35rem;
    }

    .ats-segments-page .ats-segment-card {
        min-height: 0;
    }
}

/* Projects and blog collection library pages */
.ats-library-page {
    overflow-x: hidden;
    background: #fff;
}

.ats-library-page,
.ats-library-page * {
    box-sizing: border-box;
}

.ats-library-page .gh-outer {
    padding-right: max(4vmin, 20px);
    padding-left: max(4vmin, 20px);
}

.ats-library-page .gh-inner {
    width: 100%;
    max-width: 1320px;
}

.ats-library-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(50px, 6vw, 82px);
    padding-bottom: clamp(50px, 6vw, 82px);
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 82% 24%, rgba(78, 168, 168, 0.28), transparent 34%),
        linear-gradient(135deg, #101827 0%, #101d2d 52%, #0b302f 100%);
    background-size: 92px 92px, 92px 92px, auto, auto;
}

.ats-library-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.82fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
}

.ats-library-kicker {
    margin: 0 0 14px;
    color: #63e0dc;
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ats-library-title {
    max-width: 820px;
    margin: 0;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(4.4rem, 6vw, 8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.ats-library-copy {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.85rem;
    line-height: 1.45;
}

.ats-library-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ats-library-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #4ea8a8;
    border-radius: 8px;
    background: #4ea8a8;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1;
}

.ats-library-button:hover {
    opacity: 0.92;
}

.ats-library-button.is-light {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.ats-library-panel {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.ats-library-panel > span {
    color: #63e0dc;
    font-size: 1.18rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ats-library-panel div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(11, 18, 32, 0.28);
}

.ats-library-panel strong {
    color: #fff;
    font-size: 1.55rem;
}

.ats-library-panel p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.22rem;
    line-height: 1.38;
}

.ats-library-section {
    padding-top: clamp(42px, 6vw, 74px);
    padding-bottom: clamp(56px, 7vw, 92px);
    background: #fff;
}

.ats-library-head {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
    gap: 26px;
    align-items: end;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.ats-library-head h2 {
    max-width: 560px;
    margin: 0;
    color: #0f172a;
    font-size: 2.8rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.ats-library-head p {
    max-width: 780px;
    margin: 0;
    color: var(--color-secondary-text);
    font-size: 1.55rem;
    line-height: 1.48;
}

.ats-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ats-library-page .ats-card {
    overflow: hidden;
    border-color: rgba(17, 24, 39, 0.12);
    background:
        radial-gradient(circle at 94% 10%, rgba(78, 168, 168, 0.1), transparent 34%),
        #fff;
}

.ats-library-page .ats-card:hover {
    border-color: rgba(78, 168, 168, 0.52);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.ats-library-page .ats-card-body {
    padding: 24px;
}

.ats-library-page .ats-card-meta {
    color: #64748b;
}

.ats-library-page .ats-card h3 {
    color: #0f172a;
    font-size: 2.25rem;
    line-height: 1.16;
    letter-spacing: 0;
}

.ats-library-page .ats-card p {
    margin-top: 14px;
    color: var(--color-secondary-text);
    font-size: 1.48rem;
    line-height: 1.45;
}

.ats-library-page .ats-card-cta {
    color: #247e7d;
}

.ats-library-empty {
    padding: 26px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #f8fafc;
}

.ats-library-empty h3 {
    margin: 0;
    color: #0f172a;
    font-size: 2rem;
}

.ats-library-empty p {
    margin: 8px 0 0;
    color: var(--color-secondary-text);
    font-size: 1.45rem;
}

.ats-library-pagination {
    margin-top: 34px;
}

@media (max-width: 980px) {
    .ats-library-page .gh-inner {
        max-width: 880px;
    }

    .ats-library-hero-grid,
    .ats-library-head {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .ats-library-page .gh-inner {
        max-width: min(420px, calc(100vw - 64px));
    }

    .ats-library-hero {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .ats-library-title {
        max-width: 9.5ch;
        font-size: 4rem;
        line-height: 1.04;
    }

    .ats-blog-page .ats-library-title {
        max-width: 10.5ch;
    }

    .ats-library-copy {
        max-width: 31ch;
        font-size: 1.55rem;
    }

    .ats-library-actions,
    .ats-library-button {
        width: 100%;
    }

    .ats-library-panel,
    .ats-library-page .ats-card-body {
        padding: 18px;
    }

    .ats-library-grid {
        grid-template-columns: 1fr;
    }

    .ats-library-head h2 {
        font-size: 2.35rem;
    }
}

/* Premium blog post template */
.ats-premium-post-page {
    overflow-x: hidden;
    background: #fff;
}

.ats-premium-post-page,
.ats-premium-post-page * {
    box-sizing: border-box;
}

.ats-premium-post-page .gh-outer {
    padding-right: max(4vmin, 20px);
    padding-left: max(4vmin, 20px);
}

.ats-premium-post-page .gh-inner {
    width: 100%;
    max-width: 1320px;
}

.ats-premium-hero {
    overflow: hidden;
    padding-top: clamp(44px, 6vw, 76px);
    padding-bottom: clamp(44px, 6vw, 76px);
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 82% 22%, rgba(78, 168, 168, 0.24), transparent 34%),
        linear-gradient(135deg, #07111d 0%, #0b1724 54%, #062f30 100%);
    background-size: 86px 86px, 86px 86px, auto, auto;
}

.ats-premium-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.98fr);
    gap: clamp(36px, 6vw, 82px);
    align-items: center;
}

.ats-premium-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    color: #63e0dc;
    font-size: 1.18rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
}

.ats-premium-breadcrumb a {
    color: #63e0dc;
}

.ats-premium-breadcrumb span + a::before {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.45);
    content: "/";
}

.ats-premium-title {
    max-width: 760px;
    margin: 0;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(4rem, 5.2vw, 7rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.ats-premium-excerpt {
    max-width: 640px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.78rem;
    line-height: 1.45;
}

.ats-premium-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

.ats-premium-author-images {
    display: flex;
    flex: 0 0 auto;
}

.ats-premium-author-images a {
    display: block;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.ats-premium-author-images a + a {
    margin-left: -12px;
}

.ats-premium-author-images img,
.ats-premium-author-images svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ats-premium-author-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
}

.ats-premium-date {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1.2;
}

.ats-premium-date span::before {
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.42);
    content: "/";
}

.ats-premium-flow {
    position: relative;
    padding: 34px 28px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 15% 18%, rgba(78, 168, 168, 0.16), transparent 28%),
        rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
}

.ats-premium-flow-row {
    display: grid;
    grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr 22px 1fr;
    gap: 8px;
    align-items: center;
}

.ats-premium-flow-step {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-width: 0;
}

.ats-premium-flow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
}

.ats-premium-flow-step.is-accent span {
    border-color: #63e0dc;
    color: #63e0dc;
}

.ats-premium-flow-step strong {
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.15;
    text-align: center;
}

.ats-premium-flow-arrow {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
}

.ats-premium-flow-loop {
    margin: 28px auto 0;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.38);
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
}

.ats-premium-hero-aside {
    min-width: 0;
}

.ats-premium-hero-media,
.ats-premium-hero-note {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(78, 168, 168, 0.1)),
        rgba(255, 255, 255, 0.045);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
}

.ats-premium-hero-media {
    aspect-ratio: 16 / 10;
    margin: 0;
}

.ats-premium-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ats-premium-hero-note {
    display: grid;
    align-content: end;
    min-height: 260px;
    padding: 30px;
}

.ats-premium-hero-note span {
    color: #63e0dc;
    font-size: 1.18rem;
    font-weight: 850;
    text-transform: uppercase;
}

.ats-premium-hero-note p {
    max-width: 520px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 2rem;
    font-weight: 750;
    line-height: 1.3;
}

.ats-premium-body {
    padding-top: 36px;
    padding-bottom: clamp(56px, 8vw, 104px);
}

.ats-premium-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 36px;
    align-items: start;
}

.ats-premium-article {
    min-width: 0;
}

.ats-premium-feature {
    overflow: hidden;
    margin: 0 0 28px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
}

.ats-premium-feature img {
    width: 100%;
}

.ats-premium-content {
    --content-font-size: 1.78rem;
    display: block;
    max-width: 880px;
    color: #0f172a;
    font-size: var(--content-font-size);
    line-height: 1.68;
}

.ats-premium-content > * {
    max-width: 100%;
}

.ats-premium-content > * + * {
    margin-top: 22px;
}

.ats-premium-content h2 {
    margin-top: 42px;
    color: #0f172a;
    font-size: 2.6rem;
    line-height: 1.16;
    letter-spacing: 0;
}

.ats-premium-content h3 {
    margin-top: 30px;
    color: #0f172a;
    font-size: 2.05rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.ats-premium-content p,
.ats-premium-content li {
    color: #263445;
}

.ats-premium-content a {
    color: #247e7d;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ats-premium-content blockquote:not([class]) {
    margin: 28px 0;
    padding: 20px 24px;
    border: 1px solid rgba(78, 168, 168, 0.24);
    border-left: 5px solid #4ea8a8;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(78, 168, 168, 0.1), rgba(255, 255, 255, 0.8));
    color: #0f172a;
    font-size: 1.9rem;
    line-height: 1.55;
}

.ats-premium-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
}

.ats-premium-side-card {
    padding: 20px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.04);
}

.ats-premium-side-card > span,
.ats-premium-side-card > strong,
.ats-premium-side-card div > strong {
    display: block;
    color: #0f172a;
    font-size: 1.32rem;
    font-weight: 850;
    line-height: 1.2;
    text-transform: none;
}

.ats-premium-toc > span {
    margin-bottom: 12px;
    color: #334155;
    font-size: 1.12rem;
    text-transform: uppercase;
}

.ats-premium-toc ol {
    display: grid;
    gap: 10px;
    max-height: min(54vh, 520px);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ats-toc;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(78, 168, 168, 0.45) transparent;
}

.ats-premium-toc.is-long ol {
    padding-right: 6px;
}

.ats-premium-toc.is-long ol::-webkit-scrollbar {
    width: 6px;
}

.ats-premium-toc.is-long ol::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(78, 168, 168, 0.45);
}

.ats-premium-toc li {
    counter-increment: ats-toc;
}

.ats-premium-toc a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    color: #0f172a;
    font-size: 1.26rem;
    line-height: 1.32;
}

.ats-premium-toc a::before {
    color: #247e7d;
    font-weight: 850;
    content: counter(ats-toc) ".";
}

.ats-premium-side-card p {
    margin: 8px 0 0;
    color: #334155;
    font-size: 1.32rem;
    line-height: 1.45;
}

.ats-premium-side-card ul {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.ats-premium-side-card li {
    color: #334155;
    font-size: 1.26rem;
    line-height: 1.35;
}

.ats-premium-side-card:not(.ats-premium-toc) li::before {
    margin-right: 8px;
    color: #ef4444;
    font-weight: 900;
    content: "x";
}

.ats-premium-side-card.is-takeaway,
.ats-premium-side-card.is-summary {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    background: linear-gradient(135deg, rgba(78, 168, 168, 0.1), #fff);
}

.ats-premium-side-card.is-warning {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), #fff);
}

.ats-premium-side-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #4ea8a8;
    color: #fff !important;
    font-size: 1.4rem !important;
    font-weight: 900 !important;
}

.ats-premium-side-card.is-warning .ats-premium-side-icon {
    background: #fee2e2;
    color: #ef4444 !important;
}

.ats-premium-side-card.is-related a {
    color: #0f172a;
}

.ats-premium-side-card.is-related li::before {
    color: #4ea8a8;
    content: ">";
}

.ats-premium-side-link {
    display: inline-flex;
    margin-top: 16px;
    color: #247e7d !important;
    font-size: 1.28rem;
    font-weight: 850;
}

.ats-premium-side-card.is-subscribe {
    background: linear-gradient(135deg, #07111d, #0b302f);
    color: #fff;
}

.ats-premium-side-card.is-subscribe strong,
.ats-premium-side-card.is-subscribe p {
    color: #fff;
}

.ats-premium-side-card.is-subscribe .gh-form {
    height: 46px;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 1.25rem;
}

.ats-premium-side-card.is-subscribe .gh-form-input {
    color: #0f172a;
    padding-inline: 14px 112px;
}

.ats-premium-side-card.is-subscribe .gh-button {
    min-width: 98px;
    height: 36px;
    padding-inline: 12px;
    border-radius: 6px;
    background: #4ea8a8;
    color: #fff;
    font-size: 1.18rem;
}

/* Reusable Ghost HTML-card blocks for premium articles */
.ats-post-callout {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 30px 0;
    padding: 22px;
    border: 1px solid rgba(78, 168, 168, 0.28);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(78, 168, 168, 0.12), #fff);
}

.ats-post-callout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #128a88;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.ats-post-callout p {
    margin: 0;
    color: #0f172a;
    font-size: 1.72rem;
    line-height: 1.5;
}

.ats-post-cta {
    display: grid;
    gap: 18px;
    margin: 36px 0 10px;
    padding: 28px;
    border: 1px solid rgba(78, 168, 168, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 90% 10%, rgba(78, 168, 168, 0.28), transparent 30%),
        linear-gradient(135deg, #07111d, #0b302f);
    color: #fff;
}

.ats-post-cta strong {
    color: #fff;
    font-size: 2rem;
    font-weight: 850;
    line-height: 1.2;
}

.ats-post-cta p {
    max-width: 64ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.56rem;
    line-height: 1.55;
}

.ats-post-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ats-post-cta-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    background: #4ea8a8;
    color: #07111d !important;
    font-size: 1.34rem;
    font-weight: 850;
    line-height: 1;
}

.ats-post-cta-actions a.is-secondary {
    background: transparent;
    color: #fff !important;
}

.ats-premium-content .kg-cta-card {
    margin: 14px 0;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.ats-premium-content .kg-cta-sponsor-label-wrapper {
    display: none;
}

.ats-premium-content .kg-cta-button {
    border-radius: 6px !important;
    font-weight: 800 !important;
}

.ats-system-flow {
    display: grid;
    gap: 18px;
    margin: 30px 0 36px;
    padding: 24px;
    border: 1px solid rgba(78, 168, 168, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, rgba(78, 168, 168, 0.08), #fff);
    background-size: 48px 48px, 48px 48px, auto;
}

.ats-system-flow-track {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) 34px minmax(110px, 1fr) 34px minmax(110px, 1fr) 34px minmax(110px, 1fr) 34px minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
}

.ats-flow-step {
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
}

.ats-flow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border: 2px solid #4ea8a8;
    border-radius: 999px;
    color: #247e7d;
    font-size: 1.14rem;
    font-weight: 900;
}

.ats-flow-step strong {
    display: block;
    color: #0f172a;
    font-size: 1.5rem;
    line-height: 1.15;
}

.ats-flow-step p {
    margin: 8px 0 0;
    color: #334155;
    font-size: 1.2rem;
    line-height: 1.42;
}

.ats-flow-step.is-decision {
    border-color: rgba(245, 158, 11, 0.34);
    background: rgba(245, 158, 11, 0.08);
}

.ats-flow-connector {
    position: relative;
    display: block;
    height: 2px;
    background: rgba(78, 168, 168, 0.62);
}

.ats-flow-connector::after {
    position: absolute;
    top: -5px;
    right: -1px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #4ea8a8;
    content: "";
}

.ats-system-flow-loop {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border: 1px dashed rgba(78, 168, 168, 0.5);
    border-radius: 8px;
    background: rgba(7, 17, 29, 0.04);
}

.ats-system-flow-loop span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #0b302f;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 900;
}

.ats-system-flow-loop strong {
    color: #0f172a;
    font-size: 1.34rem;
    line-height: 1.3;
}

.ats-checklist-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 34px;
}

.ats-check-card {
    position: relative;
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #fff;
}

.ats-check-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border: 2px solid #4ea8a8;
    border-radius: 999px;
    color: #247e7d;
    font-size: 1.25rem;
    font-weight: 900;
}

.ats-check-card h3 {
    margin: 0 !important;
    color: #0f172a;
    font-size: 1.52rem !important;
    line-height: 1.18 !important;
}

.ats-check-card p {
    margin: 8px 0 0;
    color: #334155;
    font-size: 1.25rem;
    line-height: 1.4;
}

.ats-detail-list {
    display: grid;
    gap: 0;
    margin: 24px 0 34px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #fff;
}

.ats-detail-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(220px, 0.42fr);
    gap: 20px;
    align-items: center;
    padding: 18px;
}

.ats-detail-item + .ats-detail-item {
    border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.ats-detail-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #128a88;
    color: #fff;
    font-size: 1.22rem;
    font-weight: 900;
}

.ats-detail-item h3 {
    margin: 0 !important;
    color: #0f172a;
    font-size: 1.65rem !important;
}

.ats-detail-item p {
    margin: 6px 0 0;
    color: #334155;
    font-size: 1.3rem;
    line-height: 1.45;
}

.ats-reality-check {
    padding: 15px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.08);
}

.ats-reality-check.is-danger {
    border-color: rgba(239, 68, 68, 0.24);
    background: rgba(239, 68, 68, 0.08);
}

.ats-reality-check strong {
    display: block;
    color: #92400e;
    font-size: 1.24rem;
}

.ats-reality-check.is-danger strong {
    color: #b91c1c;
}

.ats-reality-check p {
    margin: 6px 0 0;
    color: #334155;
    font-size: 1.18rem;
    line-height: 1.38;
}

@media (max-width: 1080px) {
    .ats-premium-hero-grid,
    .ats-premium-layout {
        grid-template-columns: 1fr;
    }

    .ats-premium-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ats-premium-post-page .gh-inner {
        max-width: min(520px, calc(100vw - 40px));
    }

    .ats-premium-hero {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .ats-premium-title {
        max-width: 10.5ch;
        font-size: 3.8rem;
        line-height: 1.05;
    }

    .ats-premium-excerpt {
        max-width: 31ch;
        font-size: 1.55rem;
    }

    .ats-premium-flow {
        padding: 20px;
    }

    .ats-premium-flow-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ats-premium-flow-arrow {
        display: none;
    }

    .ats-premium-flow-step {
        grid-template-columns: 58px minmax(0, 1fr);
        justify-items: start;
        text-align: left;
    }

    .ats-premium-flow-step span {
        width: 58px;
        height: 58px;
    }

    .ats-premium-flow-step strong {
        align-self: center;
        text-align: left;
    }

    .ats-premium-layout {
        gap: 28px;
    }

    .ats-premium-sidebar,
    .ats-checklist-overview,
    .ats-detail-item {
        grid-template-columns: 1fr;
    }

    .ats-premium-content {
        font-size: 1.62rem;
    }

    .ats-premium-content h2 {
        font-size: 2.25rem;
    }

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

    .ats-premium-toc ol {
        max-height: none;
        overflow: visible;
    }

    .ats-post-cta {
        padding: 22px;
    }

    .ats-post-cta-actions {
        flex-direction: column;
    }

    .ats-post-cta-actions a {
        width: 100%;
    }

    .ats-system-flow-track {
        grid-template-columns: 1fr;
    }

    .ats-flow-step {
        min-height: 0;
    }

    .ats-flow-connector {
        width: 2px;
        height: 26px;
        justify-self: 28px;
    }

    .ats-flow-connector::after {
        top: auto;
        right: auto;
        bottom: -1px;
        left: -5px;
        border-top: 8px solid #4ea8a8;
        border-right: 6px solid transparent;
        border-bottom: 0;
        border-left: 6px solid transparent;
    }

    .ats-system-flow-loop {
        grid-template-columns: 1fr;
    }
}

/* Design freeze: shared page rhythm across the main AI Tool Stack pages */
.ats-start-page .gh-outer,
.ats-segments-page .gh-outer,
.ats-segment-page .gh-outer,
.ats-library-page .gh-outer,
.ats-premium-post-page .gh-outer {
    padding-right: max(4vmin, 20px);
    padding-left: max(4vmin, 20px);
}

.ats-start-page .gh-inner,
.ats-segments-page .gh-inner,
.ats-segment-page .gh-inner,
.ats-library-page .gh-inner,
.ats-premium-post-page .gh-inner {
    width: 100%;
    max-width: 1320px;
}

.ats-start-hero,
.ats-segments-hero,
.ats-segment-hero,
.ats-library-hero,
.ats-premium-hero {
    padding-top: clamp(48px, 6vw, 78px);
    padding-bottom: clamp(48px, 6vw, 78px);
}

.ats-start-hero-grid,
.ats-segments-hero-grid,
.ats-segment-hero-grid,
.ats-library-hero-grid,
.ats-premium-hero-grid {
    gap: clamp(36px, 6vw, 78px);
    align-items: center;
}

.ats-start-kicker,
.ats-segments-kicker,
.ats-library-kicker,
.ats-premium-breadcrumb {
    margin-bottom: 14px;
    color: #63e0dc;
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ats-start-title,
.ats-segments-title,
.ats-segment-title,
.ats-library-title,
.ats-premium-title {
    max-width: 820px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(4.4rem, 5.9vw, 7.6rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.ats-start-subtitle,
.ats-segments-copy,
.ats-segment-copy,
.ats-library-copy,
.ats-premium-excerpt {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.85rem;
    line-height: 1.45;
}

.ats-start-section,
.ats-segments-section,
.ats-segment-library,
.ats-library-section {
    padding-top: clamp(42px, 6vw, 74px);
    padding-bottom: clamp(56px, 7vw, 92px);
}

body.page-about .ats-about-custom .ats-about-inner {
    width: 100% !important;
    max-width: 1320px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.page-about .ats-about-custom .ats-about-hero {
    padding: clamp(48px, 6vw, 78px) max(4vmin, 20px) !important;
}

body.page-about .ats-about-custom .ats-about-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.98fr) !important;
    gap: clamp(36px, 6vw, 78px) !important;
    align-items: center !important;
}

body.page-about .ats-about-custom .ats-about-kicker {
    margin-bottom: 14px !important;
    color: #63e0dc !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
}

body.page-about .ats-about-custom .ats-about-hero h1 {
    max-width: 820px !important;
    font-size: clamp(44px, 5.9vw, 76px) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
}

body.page-about .ats-about-custom .ats-about-hero p {
    max-width: 700px !important;
    font-size: 18.5px !important;
    line-height: 1.45 !important;
}

@media (max-width: 980px) {
    .ats-start-page .gh-inner,
    .ats-segments-page .gh-inner,
    .ats-segment-page .gh-inner,
    .ats-library-page .gh-inner,
    .ats-premium-post-page .gh-inner {
        max-width: 880px;
    }

    .ats-start-hero-grid,
    .ats-segments-hero-grid,
    .ats-segment-hero-grid,
    .ats-library-hero-grid,
    .ats-premium-hero-grid,
    body.page-about .ats-about-custom .ats-about-hero-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .ats-start-page .gh-inner,
    .ats-segments-page .gh-inner,
    .ats-segment-page .gh-inner,
    .ats-library-page .gh-inner,
    .ats-premium-post-page .gh-inner {
        max-width: min(420px, calc(100vw - 64px));
    }

    .ats-start-hero,
    .ats-segments-hero,
    .ats-segment-hero,
    .ats-library-hero,
    .ats-premium-hero {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .ats-start-title,
    .ats-segments-title,
    .ats-segment-title,
    .ats-library-title,
    .ats-premium-title {
        max-width: 10.5ch;
        font-size: 4rem;
        line-height: 1.04;
    }

    .ats-start-subtitle,
    .ats-segments-copy,
    .ats-segment-copy,
    .ats-library-copy,
    .ats-premium-excerpt {
        max-width: 31ch;
        font-size: 1.55rem;
    }

    body.page-about .ats-about-custom .ats-about-inner {
        max-width: min(420px, calc(100vw - 64px)) !important;
    }

    body.page-about .ats-about-custom .ats-about-hero {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }

    body.page-about .ats-about-custom .ats-about-hero h1 {
        max-width: 10.5ch !important;
        font-size: 40px !important;
        line-height: 1.04 !important;
    }
}

@media (max-width: 767px) {
    #gh-navigation .gh-navigation-brand {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    #gh-navigation .gh-navigation-logo {
        min-width: 0;
        justify-self: start;
        font-size: 1.55rem;
        line-height: 1;
    }

    #gh-navigation .gh-navigation-logo img {
        display: none;
    }

    #gh-navigation .ats-mobile-site-title {
        display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #gh-navigation .gh-burger {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin: 0;
    }

    #gh-navigation .gh-navigation-logo {
        grid-column: 2;
        grid-row: 1;
    }

    #gh-navigation .gh-navigation-brand .gh-search {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}

/* Start Here curriculum layout */
.ats-start-page {
    overflow-x: hidden;
    background: #fff;
}

.ats-start-page,
.ats-start-page * {
    box-sizing: border-box;
}

.ats-start-page .gh-outer {
    padding-right: 0;
    padding-left: 0;
}

.ats-start-page .gh-inner {
    width: min(1320px, calc(100vw - 96px));
    max-width: none;
}

.ats-start-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(18px, 3vw, 26px) 0 clamp(18px, 3vw, 26px);
    background:
        linear-gradient(135deg, rgba(16, 26, 39, 0.98), rgba(23, 37, 53, 0.96) 58%, rgba(18, 55, 59, 0.95)),
        #101a27;
    color: #fff;
}

.ats-start-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.52;
}

.ats-start-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.08fr);
    gap: clamp(42px, 6vw, 72px);
    align-items: center;
}

.ats-start-kicker {
    margin: 0 0 14px;
    color: #6bd0c2;
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ats-start-title {
    margin: 0;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: clamp(4.2rem, 4.55vw, 5.7rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.ats-start-subtitle {
    max-width: 620px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.8rem, 1.85vw, 2.2rem);
    font-weight: 750;
    line-height: 1.16;
}

.ats-start-lede {
    max-width: 620px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.3rem;
    line-height: 1.42;
}

.ats-start-journey {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 18px 22px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(78, 168, 168, 0.08)),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.ats-start-journey-line {
    position: absolute;
    top: 41px;
    right: 19%;
    left: 19%;
    height: 2px;
    background: linear-gradient(90deg, #6bd0c2, #7fa8ff, #d7a94f);
    opacity: 0.75;
}

.ats-start-journey-step {
    position: relative;
    text-align: center;
}

.ats-start-journey-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 4px solid #6bd0c2;
    border-radius: 999px;
    background: #142334;
    color: #fff;
    font-size: 1.48rem;
    font-weight: 850;
}

.ats-start-journey-step:nth-of-type(3) span {
    border-color: #7fa8ff;
}

.ats-start-journey-step:nth-of-type(4) span {
    border-color: #d7a94f;
}

.ats-start-journey-step h2 {
    margin: 9px 0 0;
    color: #6bd0c2;
    font-size: 1.45rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.ats-start-journey-step:nth-of-type(3) h2 {
    color: #7fa8ff;
}

.ats-start-journey-step:nth-of-type(4) h2 {
    color: #d7a94f;
}

.ats-start-journey-step p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.12rem;
    line-height: 1.38;
}

.ats-start-section {
    padding: 20px 0;
}

.ats-start-section.is-tight {
    padding-top: 8px;
    padding-bottom: 8px;
}

.ats-start-use {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ats-start-mini-title {
    margin: 0;
    font-size: 2.15rem;
    line-height: 1.16;
    letter-spacing: 0;
}

.ats-start-use-cards,
.ats-start-reading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ats-start-use-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 18px;
    gap: 14px;
    align-items: center;
    min-height: 88px;
    padding: 14px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #fff;
    color: inherit;
}

.ats-start-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(78, 168, 168, 0.12);
    color: #247e7d;
    font-size: 1.2rem;
    font-weight: 850;
}

.ats-start-use-card h3,
.ats-start-road-step h3,
.ats-start-reading h3 {
    font-size: 1.45rem;
}

.ats-start-reading a {
    font-size: 1.12rem;
    line-height: 1.22;
}

.ats-start-reading h3 {
    margin: 0;
    line-height: 1.18;
    letter-spacing: 0;
}

.ats-start-use-card p,
.ats-start-road-step p,
.ats-start-policy p,
.ats-start-reading a {
    margin: 6px 0 0;
    color: var(--color-secondary-text);
    font-size: 1.18rem;
    line-height: 1.36;
}

.ats-start-use-card strong {
    align-self: center;
    color: #247e7d;
    font-size: 1.6rem;
}

.ats-start-road {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 0;
}

.ats-start-road-wrap {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.ats-start-road-wrap .ats-start-mini-title {
    padding-top: 4px;
}

.ats-start-road-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
}

.ats-start-road-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #4ea8a8;
    border-radius: 999px;
    color: #111827;
    font-size: 1.2rem;
    font-weight: 850;
}

.ats-start-policy {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr) 210px;
    gap: 18px;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid rgba(78, 168, 168, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(78, 168, 168, 0.1), rgba(47, 128, 194, 0.05)),
        #f8fbfb;
}

.ats-start-policy h2 {
    margin: 0;
    font-size: 2.45rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.ats-start-policy-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-left: 18px;
    border-left: 1px solid rgba(17, 24, 39, 0.12);
}

.ats-start-policy-points span {
    display: block;
    margin-bottom: 6px;
    color: #247e7d;
    font-size: 1.05rem;
    font-weight: 850;
}

.ats-start-policy-points strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
}

.ats-start-policy-actions {
    display: grid;
    gap: 8px;
}

.ats-start-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #4ea8a8;
    border-radius: 7px;
    background: #4ea8a8;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.ats-start-button.is-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
}

.ats-start-button.is-light {
    background: #fff;
    color: #247e7d;
}

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

.ats-start-reading {
    padding: 14px 18px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: #fff;
}

.ats-start-reading a {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 6px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    color: #253246;
    font-weight: 650;
}

.ats-start-reading h3 + a {
    margin-top: 8px;
}

.ats-start-cta {
    margin-top: 10px;
    padding: 18px 0;
    background:
        linear-gradient(135deg, rgba(16, 26, 39, 0.98), rgba(23, 37, 53, 0.96)),
        #101a27;
    color: #fff;
}

.ats-start-cta .gh-inner {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 22px;
    align-items: center;
}

.ats-start-cta-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(107, 208, 194, 0.55);
    border-radius: 999px;
    color: #6bd0c2;
    font-size: 1.4rem;
    font-weight: 850;
}

.ats-start-cta h2 {
    margin: 0;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.ats-start-cta p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.74);
}

.ats-start-cta .ats-start-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

@media (max-width: 1080px) {
    .ats-start-hero-grid,
    .ats-start-use,
    .ats-start-road-wrap,
    .ats-start-policy,
    .ats-start-cta .gh-inner {
        grid-template-columns: 1fr;
    }

    .ats-start-journey,
    .ats-start-use-cards,
    .ats-start-road,
    .ats-start-policy-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ats-start-policy-points {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .ats-start-page .gh-inner {
        width: calc(100vw - 32px);
    }

    .ats-start-hero {
        padding-top: 46px;
        padding-bottom: 42px;
    }

    .ats-start-title {
        font-size: 4.4rem;
    }

    .ats-start-subtitle {
        max-width: 28ch;
        font-size: 2rem;
    }

    .ats-start-lede {
        max-width: 31ch;
        overflow-wrap: break-word;
    }

    .ats-start-journey-step p {
        max-width: 29ch;
        margin-right: auto;
        margin-left: auto;
        overflow-wrap: break-word;
    }

    .ats-start-use-card p,
    .ats-start-road-step p,
    .ats-start-policy p,
    .ats-start-reading a {
        max-width: 30ch;
        overflow-wrap: break-word;
    }

    .ats-start-journey,
    .ats-start-use-cards,
    .ats-start-road,
    .ats-start-policy-points,
    .ats-start-reading-grid,
    .ats-start-cta .ats-start-actions {
        grid-template-columns: 1fr;
    }

    .ats-start-journey-line {
        display: none;
    }

    .ats-start-use-card {
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: start;
        align-content: start;
        min-height: 0;
    }

    .ats-start-road-step {
        grid-template-columns: 1fr;
    }

    .ats-start-use-card strong {
        display: none;
    }

    .ats-start-button {
        width: 100%;
    }
}

/* Final freeze layer: keep primary page templates visually consistent. */
.ats-start-page .gh-outer,
.ats-segments-page .gh-outer,
.ats-segment-page .gh-outer,
.ats-library-page .gh-outer,
.ats-premium-post-page .gh-outer {
    padding-right: max(4vmin, 20px) !important;
    padding-left: max(4vmin, 20px) !important;
}

.ats-start-page .gh-inner,
.ats-segments-page .gh-inner,
.ats-segment-page .gh-inner,
.ats-library-page .gh-inner,
.ats-premium-post-page .gh-inner {
    width: 100% !important;
    max-width: 1320px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.ats-start-hero,
.ats-segments-hero,
.ats-segment-hero,
.ats-library-hero,
.ats-premium-hero {
    padding-top: clamp(48px, 6vw, 78px) !important;
    padding-bottom: clamp(48px, 6vw, 78px) !important;
}

.ats-start-hero-grid,
.ats-segments-hero-grid,
.ats-segment-hero-grid,
.ats-library-hero-grid,
.ats-premium-hero-grid {
    gap: clamp(36px, 6vw, 78px) !important;
}

.ats-start-title,
.ats-segments-title,
.ats-segment-title,
.ats-library-title {
    max-width: 820px !important;
    font-size: clamp(4.4rem, 5.9vw, 7.6rem) !important;
    line-height: 0.96 !important;
    letter-spacing: 0 !important;
}

.ats-start-subtitle,
.ats-segments-subtitle,
.ats-segment-subtitle,
.ats-library-subtitle,
.ats-premium-excerpt {
    max-width: 700px !important;
    font-size: 1.85rem !important;
    line-height: 1.55 !important;
}

.ats-start-kicker,
.ats-segments-kicker,
.ats-segment-kicker,
.ats-library-kicker,
.ats-premium-breadcrumb {
    margin-bottom: 14px !important;
}

.ats-start-section {
    padding-top: 34px !important;
    padding-bottom: 26px !important;
}

.ats-start-section.is-tight {
    padding-top: 12px !important;
    padding-bottom: 18px !important;
}

.ats-segments-section,
.ats-segment-library,
.ats-library-section,
.ats-premium-body {
    padding-top: clamp(48px, 6vw, 76px) !important;
    padding-bottom: clamp(48px, 6vw, 76px) !important;
}

body.page-about .gh-main,
body.page-about .gh-article,
body.page-about .gh-content {
    max-width: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-about .gh-article-header {
    display: none !important;
}

body.page-about .gh-content.gh-canvas {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-about .gh-content .kg-card:first-child,
body.page-about .gh-content > :first-child,
body.page-about .ats-about-custom {
    margin-top: 0 !important;
}

body.page-about .ats-about-custom .ats-about-inner {
    width: 100% !important;
    max-width: 1320px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.page-about .ats-about-custom .ats-about-hero {
    padding: clamp(48px, 6vw, 78px) max(4vmin, 20px) !important;
}

body.page-about .ats-about-custom .ats-about-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.98fr) !important;
    gap: clamp(36px, 6vw, 78px) !important;
    align-items: center !important;
}

body.page-about .ats-about-custom .ats-about-hero h1 {
    max-width: 820px !important;
    font-size: clamp(44px, 5.9vw, 76px) !important;
    line-height: 0.96 !important;
    letter-spacing: 0 !important;
}

body.page-about .ats-about-custom .ats-about-hero p {
    max-width: 700px !important;
    font-size: 18.5px !important;
    line-height: 1.55 !important;
}

body.page-about .ats-about-custom .ats-about-kicker {
    margin-bottom: 14px !important;
    color: #63e0dc !important;
}

@media (max-width: 980px) {
    .ats-start-page .gh-inner,
    .ats-segments-page .gh-inner,
    .ats-segment-page .gh-inner,
    .ats-library-page .gh-inner,
    .ats-premium-post-page .gh-inner {
        max-width: 880px !important;
    }

    .ats-start-hero-grid,
    .ats-segments-hero-grid,
    .ats-segment-hero-grid,
    .ats-library-hero-grid,
    .ats-premium-hero-grid,
    body.page-about .ats-about-custom .ats-about-hero-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .ats-start-page .gh-outer,
    .ats-segments-page .gh-outer,
    .ats-segment-page .gh-outer,
    .ats-library-page .gh-outer,
    .ats-premium-post-page .gh-outer {
        padding-right: 32px !important;
        padding-left: 32px !important;
    }

    .ats-start-page .gh-inner,
    .ats-segments-page .gh-inner,
    .ats-segment-page .gh-inner,
    .ats-library-page .gh-inner,
    .ats-premium-post-page .gh-inner,
    body.page-about .ats-about-custom .ats-about-inner {
        width: 100% !important;
        max-width: min(420px, calc(100vw - 64px)) !important;
    }

    .ats-start-hero,
    .ats-segments-hero,
    .ats-segment-hero,
    .ats-library-hero,
    .ats-premium-hero,
    body.page-about .ats-about-custom .ats-about-hero {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }

    .ats-start-title,
    .ats-segments-title,
    .ats-segment-title,
    .ats-library-title {
        max-width: 10.5ch !important;
        font-size: 4rem !important;
        line-height: 1.02 !important;
    }

    .ats-start-subtitle,
    .ats-segments-subtitle,
    .ats-segment-subtitle,
    .ats-library-subtitle,
    .ats-premium-excerpt {
        font-size: 1.75rem !important;
    }

    body.page-about .ats-about-custom .ats-about-hero {
        padding-right: 32px !important;
        padding-left: 32px !important;
    }

    body.page-about .ats-about-custom .ats-about-hero h1 {
        max-width: 10.5ch !important;
        font-size: 40px !important;
        line-height: 1.02 !important;
    }

    .ats-blog-page .ats-library-title {
        max-width: 100% !important;
        font-size: 3.8rem !important;
    }
}

@media (min-width: 1081px) {
    .ats-start-use,
    .ats-start-road-wrap {
        grid-template-columns: 260px minmax(0, 1fr) !important;
    }

    .ats-start-mini-title {
        max-width: 260px !important;
    }
}
