:root {
    color-scheme: dark;
    --bg: #0d1117;
    --surface: #161b22;
    --surface-2: #111720;
    --surface-3: #0a0f16;
    --text: #c9d1d9;
    --muted: #8b949e;
    --border: #30363d;
    --blue: #58a6ff;
    --green: #3fb950;
    --yellow: #d29922;
    --orange: #f0883e;
    --red: #f85149;
    --purple: #bc8cff;
    --shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%, rgba(31, 111, 235, 0.12), transparent 37rem),
        var(--bg);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

button {
    font: inherit;
}

a {
    color: var(--blue);
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: #fff;
    background: #1f6feb;
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(48, 54, 61, 0.86);
    background: rgba(13, 17, 23, 0.88);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1380px, calc(100% - 36px));
    min-height: 72px;
    margin: 0 auto;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(88, 166, 255, 0.48);
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #1f6feb, #204f8f);
    box-shadow: 0 0 24px rgba(31, 111, 235, 0.18);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

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

.brand strong {
    color: #f0f6fc;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.brand small {
    margin-top: 1px;
    color: var(--muted);
    font-size: 12px;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-nav a {
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a[aria-current="page"] {
    color: #f0f6fc;
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.035);
}

main {
    width: min(1380px, calc(100% - 36px));
    margin: 0 auto;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 64px 36px 48px;
    text-align: center;
}

.hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.28;
    pointer-events: none;
}

.hero-glow-one {
    top: -180px;
    left: 11%;
    width: 410px;
    height: 410px;
    background: rgba(31, 111, 235, 0.46);
}

.hero-glow-two {
    right: 9%;
    bottom: -250px;
    width: 360px;
    height: 360px;
    background: rgba(46, 160, 67, 0.28);
}

.hero-icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border: 1px solid rgba(88, 166, 255, 0.32);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(88, 166, 255, 0.14), rgba(63, 185, 80, 0.07)),
        rgba(13, 20, 30, 0.82);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px rgba(0, 0, 0, 0.26),
        0 0 38px rgba(31, 111, 235, 0.09);
}

.hero-icon svg {
    width: 65px;
    height: 65px;
    fill: rgba(5, 10, 17, 0.26);
    stroke: url(#hero-news-gradient);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-icon .hero-spark {
    fill: #f0f6fc;
    stroke: #f0f6fc;
    stroke-width: 2;
}

.eyebrow,
.section-kicker {
    margin: 0 0 7px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.hero h1 {
    margin: 0;
    color: #f0f6fc;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.hero-text {
    max-width: 720px;
    margin: 19px auto 0;
    color: #aeb7c2;
    font-size: clamp(16px, 2vw, 20px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 29px 0 0;
}

.hero-stats div {
    min-width: 180px;
    padding: 11px 16px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(22, 27, 34, 0.78);
    box-shadow: 0 9px 26px rgba(0, 0, 0, 0.16);
}

.hero-stats dt {
    color: var(--muted);
    font-size: 11px;
}

.hero-stats dd {
    margin: 2px 0 0;
    color: #e6edf3;
    font-size: 15px;
    font-weight: 700;
}

.latest-section {
    margin-bottom: 24px;
}

.latest-card {
    --type-color: var(--blue);
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) minmax(230px, 0.42fr);
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgba(88, 166, 255, 0.34);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 20%, rgba(88, 166, 255, 0.13), transparent 27rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 40%),
        var(--surface);
    box-shadow: var(--shadow);
}

.latest-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-right: 1px solid rgba(88, 166, 255, 0.18);
    color: #8cbbf0;
    background: rgba(31, 111, 235, 0.055);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.latest-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--type-color);
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--type-color) 13%, transparent);
    animation: pulse 2.2s infinite;
}

.latest-content {
    align-self: center;
    padding: 42px 46px;
}

.update-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
}

.update-meta time {
    color: var(--muted);
    font-size: 13px;
}

.type-badge,
.version-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border: 1px solid color-mix(in srgb, var(--type-color) 38%, transparent);
    border-radius: 999px;
    color: color-mix(in srgb, var(--type-color) 82%, white);
    background: color-mix(in srgb, var(--type-color) 10%, transparent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.version-badge {
    --type-color: #8b949e;
    text-transform: none;
}

.latest-content h2 {
    max-width: 720px;
    margin: 0;
    color: #f0f6fc;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.update-summary {
    margin: 14px 0 0;
    color: #aeb7c2;
    font-size: 15px;
}

.latest-content .update-summary {
    max-width: 780px;
    font-size: 17px;
}

.latest-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 24px;
    max-width: 820px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.latest-details li {
    position: relative;
    padding-left: 19px;
    color: #c5ced8;
    font-size: 13px;
}

.latest-details li::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--type-color);
    box-shadow: 0 0 12px color-mix(in srgb, var(--type-color) 45%, transparent);
    content: "";
}

.update-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 27px;
    padding: 10px 15px;
    border: 1px solid rgba(88, 166, 255, 0.38);
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, #1f6feb, #235caa);
    box-shadow: 0 10px 25px rgba(31, 111, 235, 0.2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s ease;
}

.update-link:hover,
.update-link:focus-visible {
    border-color: #79c0ff;
    background: linear-gradient(145deg, #287cdf, #2b68bb);
    transform: translateY(-1px);
}

.latest-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    overflow: hidden;
}

.latest-visual svg {
    position: relative;
    z-index: 2;
    width: min(72%, 210px);
    fill: rgba(7, 14, 23, 0.62);
    stroke: #79c0ff;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 22px rgba(88, 166, 255, 0.18));
}

.latest-visual svg circle {
    fill: #102a46;
    stroke: #7ee787;
}

.visual-ring {
    position: absolute;
    border: 1px solid rgba(88, 166, 255, 0.14);
    border-radius: 50%;
}

.visual-ring-one {
    width: 230px;
    height: 230px;
}

.visual-ring-two {
    width: 315px;
    height: 315px;
    border-style: dashed;
}

.timeline-section {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 38%),
        var(--surface);
    box-shadow: var(--shadow);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2 {
    margin: 0;
    color: #f0f6fc;
    font-size: 28px;
}

.section-heading > p {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 12px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding: 11px;
    border: 1px solid rgba(48, 54, 61, 0.8);
    border-radius: 13px;
    background: rgba(10, 15, 22, 0.58);
}

.filter-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #aeb7c2;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    transition: 0.18s ease;
}

.filter-button span {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    color: #8cbbf0;
    background: rgba(88, 166, 255, 0.1);
    font-size: 10px;
    font-weight: 800;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
    border-color: rgba(88, 166, 255, 0.28);
    color: #f0f6fc;
    background: rgba(88, 166, 255, 0.09);
    outline: none;
}

.filter-result {
    min-height: 19px;
    margin: 11px 2px 0;
    color: var(--muted);
    font-size: 11px;
}

.timeline {
    margin-top: 12px;
}

.month-group + .month-group {
    margin-top: 30px;
}

.month-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 13px 160px;
}

.month-heading span {
    width: 11px;
    height: 11px;
    margin-left: -5px;
    border: 2px solid #79c0ff;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 0 0 5px rgba(88, 166, 255, 0.08);
}

.month-heading h3 {
    margin: 0;
    color: #8cbbf0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.month-updates {
    position: relative;
}

.month-updates::before {
    position: absolute;
    top: -14px;
    bottom: -31px;
    left: 160px;
    width: 1px;
    background: linear-gradient(rgba(88, 166, 255, 0.32), rgba(88, 166, 255, 0.05));
    content: "";
}

.month-group:last-child .month-updates::before {
    bottom: 50%;
}

.update-card {
    --type-color: var(--blue);
    position: relative;
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 51px;
    padding: 0 0 14px;
}

.update-card + .update-card {
    padding-top: 4px;
}

.timeline-dot {
    position: absolute;
    z-index: 2;
    top: 26px;
    left: 154px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--surface);
    border-radius: 50%;
    background: var(--type-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--type-color) 15%, transparent);
}

.update-date {
    padding-top: 20px;
    text-align: right;
}

.update-date time,
.update-date span {
    display: block;
}

.update-date time {
    color: #aeb7c2;
    font-size: 12px;
    font-weight: 650;
}

.update-date span {
    margin-top: 3px;
    color: #6e7681;
    font-size: 10px;
}

.update-body {
    padding: 19px 21px 20px;
    border: 1px solid rgba(48, 54, 61, 0.86);
    border-radius: 14px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--type-color) 4%, transparent), transparent 36%),
        var(--surface-2);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.update-card:hover .update-body {
    border-color: color-mix(in srgb, var(--type-color) 37%, var(--border));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.update-body .update-meta {
    margin-bottom: 9px;
}

.update-body h4 {
    margin: 0;
    color: #e6edf3;
    font-size: 19px;
    line-height: 1.25;
}

.update-body .update-summary {
    max-width: 900px;
    margin-top: 8px;
    font-size: 14px;
}

.update-details {
    margin-top: 15px;
    color: #b7c0ca;
    font-size: 12px;
}

.update-details summary {
    width: max-content;
    color: #8cbbf0;
    cursor: pointer;
    font-weight: 650;
}

.update-details summary:hover,
.update-details summary:focus-visible {
    color: #b9dcff;
}

.update-details ul {
    display: grid;
    gap: 5px;
    margin: 11px 0 0;
    padding-left: 20px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: color-mix(in srgb, var(--type-color) 80%, white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
    color: #fff;
}

.type-page {
    --type-color: var(--blue);
}

.type-feature {
    --type-color: var(--green);
}

.type-improvement {
    --type-color: var(--yellow);
}

.type-fix {
    --type-color: var(--orange);
}

.type-data {
    --type-color: var(--purple);
}

.news-message {
    margin-top: 22px;
    padding: 28px;
    border: 1px dashed var(--border);
    border-radius: 13px;
    color: var(--muted);
    background: rgba(10, 15, 22, 0.38);
    text-align: center;
}

.site-footer {
    width: min(1380px, calc(100% - 36px));
    margin: 42px auto 0;
    padding: 26px 0 36px;
    border-top: 1px solid rgba(48, 54, 61, 0.72);
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

.site-footer p {
    margin: 4px 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.68;
        transform: scale(0.86);
    }
}

@media (max-width: 980px) {
    .latest-card {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .latest-visual {
        position: absolute;
        z-index: 0;
        top: -65px;
        right: -60px;
        width: 300px;
        height: 300px;
        opacity: 0.1;
        pointer-events: none;
    }

    .latest-content {
        position: relative;
        z-index: 1;
        padding: 38px 36px;
    }
}

@media (max-width: 760px) {
    .header-inner {
        align-items: flex-start;
        min-height: 0;
        padding: 12px 0;
    }

    .brand small {
        display: none;
    }

    .top-nav {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 3px;
    }

    .top-nav a {
        padding: 7px 9px;
        font-size: 12px;
    }

    .top-nav a:last-child {
        display: none;
    }

    .hero {
        padding: 46px 12px 36px;
    }

    .hero-icon {
        width: 76px;
        height: 76px;
        border-radius: 21px;
    }

    .hero-icon svg {
        width: 56px;
        height: 56px;
    }

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

    .hero-stats div {
        min-width: 0;
    }

    .hero-stats div:first-child {
        grid-column: 1 / -1;
    }

    .latest-card {
        grid-template-columns: 46px minmax(0, 1fr);
        min-height: 0;
        border-radius: 17px;
    }

    .latest-rail {
        font-size: 9px;
    }

    .latest-content {
        padding: 29px 22px;
    }

    .latest-details {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .timeline-section {
        padding: 22px 16px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 7px;
    }

    .filter-bar {
        flex-wrap: nowrap;
        margin-right: -16px;
        margin-left: -16px;
        padding-right: 16px;
        padding-left: 16px;
        overflow-x: auto;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        scrollbar-width: thin;
    }

    .filter-button {
        flex: 0 0 auto;
    }

    .month-heading {
        margin-left: 13px;
    }

    .month-updates::before {
        left: 18px;
    }

    .update-card {
        display: block;
        padding-left: 42px;
    }

    .timeline-dot {
        top: 25px;
        left: 12px;
    }

    .update-date {
        padding: 0 0 7px;
        text-align: left;
    }

    .update-date time,
    .update-date span {
        display: inline;
    }

    .update-date span {
        margin-left: 7px;
    }

    .update-body {
        padding: 17px;
    }
}

@media (max-width: 430px) {
    main,
    .header-inner,
    .site-footer {
        width: min(100% - 22px, 1380px);
    }

    .brand-mark {
        width: 41px;
        height: 41px;
    }

    .brand strong {
        font-size: 14px;
    }

    .top-nav a {
        padding: 7px 8px;
        font-size: 11px;
    }

    .hero {
        padding-right: 2px;
        padding-left: 2px;
    }

    .hero-stats {
        gap: 7px;
    }

    .hero-stats div {
        padding: 9px 10px;
    }

    .hero-stats dt {
        font-size: 10px;
    }

    .hero-stats dd {
        font-size: 13px;
    }

    .latest-card {
        grid-template-columns: 39px minmax(0, 1fr);
    }

    .latest-content {
        padding: 25px 17px;
    }

    .latest-content h2 {
        font-size: 27px;
    }

    .latest-content .update-summary {
        font-size: 15px;
    }

    .update-link {
        width: 100%;
        justify-content: center;
    }

    .timeline-section {
        padding: 20px 12px;
    }

    .filter-bar {
        margin-right: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .update-card {
        padding-left: 34px;
    }

    .month-updates::before {
        left: 13px;
    }

    .timeline-dot {
        left: 7px;
    }

    .month-heading {
        margin-left: 8px;
    }
}

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

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