:root {
    --navy: #061838;
    --navy-2: #0b214a;
    --yellow: #ffd226;
    --yellow-soft: #ffe782;
    --pitch: #1b6b50;
    --ink: #142033;
    --muted: #61708a;
    --paper: #fbfaf3;
    --line: rgba(20, 32, 51, 0.14);
    --shadow: 0 24px 70px rgba(6, 24, 56, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 100;
    background: var(--yellow);
    color: var(--navy);
    padding: 10px 14px;
    border-radius: 4px;
    font-weight: 800;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 24, 56, 0.94);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.site-header__inner,
.section__inner,
.site-footer__inner {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand__logo {
    width: 72px;
    height: auto;
    max-height: 58px;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.3));
}

.brand__text {
    min-width: 0;
}

.brand strong,
.brand em {
    display: block;
}

.brand strong {
    font-size: 1.04rem;
    letter-spacing: 0;
}

.brand em {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-style: normal;
}

.site-nav__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-weight: 750;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.hero {
    position: relative;
    min-height: clamp(620px, 78vh, 820px);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--navy);
}

.hero__media,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__media {
    background-image: url("../images/kanarya1907-hero-canary-stadium.png");
    background-position: center;
    background-size: cover;
}

.hero__overlay {
    background:
        linear-gradient(90deg, rgba(6, 24, 56, 0.94) 0%, rgba(6, 24, 56, 0.78) 35%, rgba(6, 24, 56, 0.22) 72%),
        linear-gradient(0deg, rgba(6, 24, 56, 0.74), rgba(6, 24, 56, 0));
}

.hero__content {
    position: relative;
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    max-width: 680px;
    padding: 80px 0 120px;
}

.hero__logo {
    width: min(390px, 76vw);
    display: block;
    margin: 0 0 24px;
    filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.38));
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.45rem, 6.4vw, 5.7rem);
    max-width: 12.8ch;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
    font-size: 1.2rem;
}

.hero__copy {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 900;
}

.button--primary {
    background: var(--yellow);
    color: var(--navy);
}

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

.section {
    padding: clamp(54px, 8vw, 104px) 0;
}

.section--intro {
    background: #fff;
}

.section--cream {
    background: #f4f0dd;
}

.section--promo {
    background: var(--navy);
    color: #fff;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.split p,
.section-heading + p,
.content-narrow p {
    color: var(--muted);
    font-size: 1.05rem;
}

.note-box,
.feature-card,
.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(6, 24, 56, 0.08);
}

.note-box {
    padding: 28px;
    border-left: 6px solid var(--yellow);
}

.note-box strong {
    display: block;
    font-size: 1.1rem;
}

.note-box p {
    margin-bottom: 0;
}

.promo-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.promo-panel__copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.independence-line {
    margin-top: 22px;
    padding: 16px 18px;
    border-left: 6px solid var(--yellow);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
}

.promo-panel__video-wrap {
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.promo-panel__video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    background: #000;
}

.promo-panel__video-wrap figcaption {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    font-weight: 800;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.feature-grid,
.post-grid,
.dashboard-grid,
.analysis-grid,
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.post-card,
.dashboard-card,
.analysis-card,
.roadmap-grid article {
    padding: 24px;
}

.analysis-card,
.roadmap-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.feature-card span {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--pitch);
    font-weight: 950;
}

.feature-card p,
.post-card p,
.dashboard-card p,
.analysis-card p,
.roadmap-grid p {
    color: var(--muted);
}

.dashboard-card {
    min-height: 220px;
}

.dashboard-card h3 {
    margin-top: 16px;
}

.status-pill {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 210, 38, 0.22);
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 900;
}

.section--navy {
    background: var(--navy);
    color: #fff;
}

.section--navy .eyebrow,
.section--navy h2 {
    color: #fff;
}

.section--navy p,
.section--navy .blueprint-list {
    color: rgba(255, 255, 255, 0.78);
}

.blueprint-list {
    margin: 0;
    padding: 26px 28px;
    list-style-position: inside;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 6px solid var(--yellow);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.blueprint-list li + li {
    margin-top: 12px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.trust-panel {
    display: grid;
    gap: 18px;
}

.trust-grid span {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(6, 24, 56, 0.07);
}

.score-list,
.phase-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.score-list li,
.phase-list li {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
}

.score-list strong,
.phase-list strong {
    color: var(--navy);
}

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

.language-sample {
    margin: 22px 0 0;
    padding: 18px 20px;
    border-left: 6px solid var(--yellow);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
}

.pillar-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pillar-list span {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(6, 24, 56, 0.07);
}

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

.roadmap-grid strong {
    display: block;
    color: var(--navy);
    font-size: 1.04rem;
}

.roadmap-grid p {
    margin-bottom: 0;
}

.section--latest {
    background: linear-gradient(180deg, #f4f0dd 0%, var(--paper) 100%);
}

.post-card a {
    color: var(--navy);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.post-card__date {
    margin-top: 0;
    color: var(--pitch);
    font-size: 0.86rem;
    font-weight: 900;
}

.empty-state {
    padding: 22px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.page-hero {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    padding: clamp(64px, 12vw, 140px) 0;
}

.page-hero h1 {
    max-width: 850px;
}

.content-narrow {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
}

.content-narrow h2,
.content-narrow h3 {
    margin-top: 32px;
}

.content-narrow a {
    color: var(--navy);
    font-weight: 800;
}

.single-post__image {
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.site-footer {
    background: #061226;
    color: #fff;
    padding: 36px 0;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 900px) {
    .site-header {
        position: static;
    }

    .site-header__inner,
    .site-footer__inner {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 14px 0;
    }

    .site-nav__list,
    .site-footer nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
    }

    .hero__media {
        background-position: 68% center;
    }

    .split,
    .promo-panel,
    .feature-grid,
    .post-grid,
    .dashboard-grid,
    .analysis-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        max-width: 12.8ch;
    }
}

@media (max-width: 480px) {
    .site-header__inner,
    .section__inner,
    .hero__content,
    .content-narrow,
    .site-footer__inner {
        width: min(100% - 24px, 1160px);
    }

    .brand {
        align-items: center;
    }

    .brand__logo {
        width: 64px;
        max-height: 52px;
    }

    .brand__text {
        display: grid;
        gap: 1px;
    }

    .site-nav a {
        min-height: 38px;
        padding: 7px 9px;
    }

    .hero__overlay {
        background:
            linear-gradient(90deg, rgba(6, 24, 56, 0.96), rgba(6, 24, 56, 0.64)),
            linear-gradient(0deg, rgba(6, 24, 56, 0.84), rgba(6, 24, 56, 0.08));
    }

    .hero__content {
        padding-top: 72px;
    }

    .hero__logo {
        width: min(260px, 74vw);
        margin-bottom: 20px;
    }

    .promo-panel__video-wrap {
        padding: 6px;
    }

    .button {
        width: 100%;
    }

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

    .pillar-list {
        grid-template-columns: 1fr;
    }
}
