/* Only loaded by updates.html. Keep the shared site styles independent. */
.updates-page {
    /* Neutral monochrome palette, matching the rest of the site. */
    --updates-accent: #e5e5e5;
    --updates-muted: #9d9d9d;
    --updates-line: rgba(255, 255, 255, 0.1);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    background: #0b0b0b;
    color: #b9b9b9;
}

.updates-page :is(h1, h2, h3, h4, .logo, nav a) {
    font-family: inherit;
    font-style: normal;
}

.updates-page .main-header {
    min-height: 76px;
    padding: 16px max(24px, calc((100vw - 1080px) / 2));
    background: rgba(11, 11, 11, 0.94);
    border-bottom: 1px solid var(--updates-line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.updates-page .main-header::before { display: none; }
.updates-page .logo { font-size: 13px; letter-spacing: 0.22em; background: none; color: #e5e5e5; -webkit-text-fill-color: currentColor; }

.updates-page .main-header nav {
    position: static;
    transform: none;
    background: none;
    border: 0;
    padding: 0;
    gap: 20px;
    backdrop-filter: none;
}

.updates-page .main-header nav a {
    padding: 8px 0;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    color: #a9a9a9;
    background: none;
}

.updates-page .main-header nav a:hover { color: #fff; }

.updates-page :is(.updates-hero, .updates-content, .updates-roadmap, .updates-support, .updates-trust) {
    width: calc(100% - 64px);
    max-width: 960px;
    margin-inline: auto;
}

.updates-page .updates-hero { padding: 156px 0 48px; }
.updates-page .updates-eyebrow {
    margin-bottom: 20px;
    color: var(--updates-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
}

.updates-page .updates-hero h1 {
    max-width: none;
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.12;
    margin: 0 0 20px;
}

.updates-page .updates-heading-dot { color: var(--updates-accent); }
.updates-page .updates-intro {
    max-width: 510px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #a9a9a9;
}

.updates-page .updates-hero-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    font-size: 12px;
}

.updates-page .updates-hero-links a { color: #d2d2d2; text-decoration: none; }
.updates-page .updates-hero-links a:hover { color: var(--updates-accent); }
.updates-page .updates-hero-links a span { margin-left: 9px; }
.updates-page .updates-hero-divider { height: 14px; width: 1px; background: #3a3a3a; }

.updates-page .updates-roadmap {
    padding: 24px 28px;
    margin-bottom: 48px;
    border: 1px solid var(--updates-line);
    border-radius: 12px;
    background: #111111;
}

.updates-page .updates-roadmap summary { position: relative; list-style: none; cursor: pointer; }
.updates-page .updates-roadmap summary::-webkit-details-marker { display: none; }
.updates-page .updates-roadmap-label {
    color: var(--updates-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.updates-page .updates-roadmap-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.updates-page .updates-roadmap-title { font-size: 19px; font-weight: 500; line-height: 1.4; margin: 0; letter-spacing: -0.025em; }
.updates-page .updates-roadmap-toggle {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--updates-line);
    border-radius: 50%;
    color: #c2c2c2;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.updates-page .updates-roadmap[open] .updates-roadmap-toggle { transform: rotate(180deg); }
.updates-page .updates-roadmap summary:hover .updates-roadmap-toggle { border-color: #909090; }
.updates-page .updates-roadmap-subtitle { margin: 6px 160px 0 0; font-size: 13px; color: var(--updates-muted); line-height: 1.7; }
.updates-page .updates-roadmap-hint {
    position: absolute;
    bottom: 2px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #bcbcbc;
    margin: 0;
}

.updates-page .updates-roadmap-hint svg { display: none; }
.updates-page .updates-roadmap[open] .updates-roadmap-hint-text-closed,
.updates-page .updates-roadmap:not([open]) .updates-roadmap-hint-text-open { display: none; }
.updates-page .updates-roadmap-description { margin: 24px 0; padding-top: 24px; border-top: 1px solid var(--updates-line); font-size: 13px; line-height: 1.8; color: #a9a9a9; }
.updates-page .updates-roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.updates-page .updates-roadmap-section > h3 { margin: 0 0 20px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6; color: var(--updates-accent); }
.updates-page .updates-roadmap-item { padding: 16px 0; border-top: 1px solid var(--updates-line); }
.updates-page .updates-roadmap-item h3 { margin: 0 0 8px; font-size: 14px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.5; }
.updates-page .updates-roadmap-item p { margin: 0; font-size: 12px; line-height: 1.8; color: #a9a9a9; }
.updates-page .updates-roadmap-item .updates-roadmap-note { margin-top: 8px; font-size: 11px; color: var(--updates-muted); }
.updates-page .roadmap-item-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.updates-page .roadmap-item-title-row h3 { margin: 0; }
.updates-page .roadmap-shipped-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; font-size: 9px; border-radius: 4px; color: var(--updates-accent); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); white-space: nowrap; }

.updates-page .updates-content { padding: 0; margin-bottom: 72px; scroll-margin-top: 100px; }
.updates-page .updates-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--updates-line); padding-bottom: 20px; margin-bottom: 12px; }
.updates-page .updates-label { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.5; margin: 0; }
.updates-page .updates-section-heading > span { font-size: 11px; color: var(--updates-muted); }
.updates-page .update-block { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 48px; padding: 36px 28px; border-bottom: 1px solid var(--updates-line); }
.updates-page .update-block-latest { margin-top: 20px; border: 1px solid var(--updates-line); border-radius: 12px; background: #111111; }
.updates-page .update-header { position: relative; align-self: start; padding-left: 18px; border-left: 1px solid #343434; }
.updates-page .update-header::before { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #7e7e7e; left: -3px; top: 9px; }
.updates-page .update-block-latest .update-header { border-left-color: rgba(255, 255, 255, 0.3); }
.updates-page .update-block-latest .update-header::before { background: var(--updates-accent); }
.updates-page .update-date { font-size: 22px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.2; margin: 0 0 10px; }
.updates-page .update-calendar-date { display: block; font-size: 11px; line-height: 1.6; color: var(--updates-muted); }
.updates-page .update-timezone { display: block; margin-top: 3px; font-size: 10px; }
.updates-page .update-latest-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; font-size: 10px; font-weight: 500; color: var(--updates-accent); }
.updates-page .update-latest-badge > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.updates-page .update-download { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; color: #171717; background: #eeeeee; border: 1px solid transparent; border-radius: 6px; padding: 9px 11px; margin-top: 20px; text-decoration: none; transition: background 0.2s ease; }
.updates-page .update-download:hover { background: #ffffff; }
.updates-page .update-platform { display: inline-block; font-size: 10px; color: #c5c5c5; border: 1px solid var(--updates-line); padding: 3px 7px; border-radius: 4px; margin-top: 12px; }
.updates-page .update-block ul { margin: 0; padding-left: 16px; font-size: 14px; line-height: 1.85; }
.updates-page .update-block li { padding-left: 4px; margin: 0 0 22px; }
.updates-page .update-block li:last-child { margin-bottom: 0; }
.updates-page .update-block li::marker { font-size: 9px; color: #737373; }
.updates-page .update-block strong { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: -0.015em; color: #e6e6e6; }

/* Featured release (v6.0 ClawdClip): larger type, same monochrome palette. */
.updates-page .update-block-feature { padding: 56px 40px; background: linear-gradient(180deg, #151515 0%, #101010 100%); }
.updates-page .update-feature-eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--updates-muted); }
.updates-page .update-feature-title { margin: 0 0 22px; font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -0.055em; line-height: 1.08; color: #f5f5f5; }
.updates-page .update-feature-lead { max-width: 520px; margin: 0 0 36px; font-size: 18px; line-height: 1.65; letter-spacing: -0.01em; color: #b9b9b9; }
.updates-page .update-feature-chat { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 0 40px; }
.updates-page .chat-row { display: flex; flex-direction: column; gap: 6px; max-width: 86%; }
.updates-page .chat-row-user { align-self: flex-end; align-items: flex-end; }
.updates-page .chat-row-ai { align-self: flex-start; }
.updates-page .chat-name { padding-left: 4px; font-size: 11px; font-weight: 500; color: var(--updates-muted); }
.updates-page .chat-bubble { margin: 0; padding: 14px 18px; font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; border-radius: 20px; }
.updates-page .chat-row-user .chat-bubble { background: #f2f2f2; color: #111; border-bottom-right-radius: 6px; }
.updates-page .chat-row-ai .chat-bubble { background: #1f1f1f; border: 1px solid var(--updates-line); color: #ededed; border-bottom-left-radius: 6px; }
.updates-page .update-block-feature ul { padding-left: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.updates-page .update-block-feature li { margin: 0; padding: 20px 0 0; border-top: 1px solid var(--updates-line); font-size: 14px; line-height: 1.75; }

@media (max-width: 768px) {
    .updates-page .update-block-feature { padding: 40px 24px; }
    .updates-page .update-feature-lead { font-size: 16px; }
}

@media (max-width: 540px) {
    .updates-page .update-block-feature { padding: 28px 20px; }
    .updates-page .update-block-feature ul { grid-template-columns: 1fr; gap: 24px; }
    }

.updates-page .updates-support { padding: 36px; border: 1px solid var(--updates-line); border-radius: 12px; background: #111111; margin-bottom: 48px; }
.updates-page .updates-support-inner { max-width: 550px; }
.updates-page .updates-support-title { font-size: 24px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.3; margin: 0 0 12px; }
.updates-page .updates-support-copy { font-size: 14px; line-height: 1.8; margin-bottom: 22px; color: #a9a9a9; }
.updates-page .updates-support-button { display: inline-block; font-size: 12px; font-weight: 500; color: #e0e0e0; padding: 10px 16px; text-decoration: none; border: 1px solid #414141; border-radius: 6px; transition: background 0.2s ease; }
.updates-page .updates-support-button:hover { background: rgba(255, 255, 255, 0.07); }
.updates-page .updates-trust { padding: 0 0 48px; }
.updates-page .updates-trust-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.updates-page .updates-trust-item { display: flex; align-items: center; gap: 18px; }
.updates-page .updates-trust-item img { width: 90px; height: auto; max-height: 36px; object-fit: contain; }
.updates-page .updates-trust-item a { display: flex; }
.updates-page .updates-trust-item h4 { font-size: 12px; font-weight: 500; line-height: 1.5; margin-bottom: 4px; letter-spacing: 0; }
.updates-page .updates-trust-item p { font-size: 11px; color: var(--updates-muted); }
.updates-page .page-footer { max-width: none; margin: 0; background: none; backdrop-filter: none; border: 0; border-radius: 0; padding: 24px; border-top: 1px solid var(--updates-line); text-align: center; }
.updates-page .page-footer .container { width: 100%; }
.updates-page .page-footer p { font-size: 11px; color: var(--updates-muted); }
.updates-page :is(a, summary):focus-visible { outline: 2px solid var(--updates-accent); outline-offset: 5px; border-radius: 4px; }

@media (max-width: 768px) {
    .updates-page .main-header { min-height: 68px; padding: 14px 24px; }
    .updates-page .main-header nav { display: flex; gap: 16px; }
    .updates-page .main-header nav a { font-size: 11px; }
    .updates-page :is(.updates-hero, .updates-content, .updates-roadmap, .updates-support, .updates-trust) { width: calc(100% - 40px); }
    .updates-page .updates-hero { padding: 124px 0 36px; }
    .updates-page .updates-roadmap { padding: 22px; margin-bottom: 36px; }
    .updates-page .updates-roadmap-grid { grid-template-columns: 1fr; gap: 20px; }
    .updates-page .update-block { grid-template-columns: 140px minmax(0, 1fr); column-gap: 24px; padding: 28px 20px; }
    .updates-page .update-download { gap: 6px; padding: 8px; font-size: 10px; }
}

@media (max-width: 540px) {
    .updates-page .main-header { padding-inline: 20px; gap: 16px; }
    .updates-page .logo { font-size: 11px; letter-spacing: 0.16em; flex-shrink: 0; }
    .updates-page .main-header nav { gap: 12px; }
    .updates-page .main-header nav a { font-size: 10px; }
    .updates-page .updates-eyebrow { font-size: 10px; margin-bottom: 16px; }
    .updates-page .updates-intro { font-size: 14px; }
    .updates-page .updates-roadmap-subtitle { margin-right: 0; }
    .updates-page .updates-roadmap-hint { position: static; margin-top: 14px; }
    .updates-page .updates-roadmap-title { font-size: 18px; }
    .updates-page .update-block { grid-template-columns: 1fr; gap: 24px; padding: 28px 8px; }
    .updates-page .update-block-latest { padding: 24px 20px; }
    .updates-page .update-header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
    .updates-page .update-date { margin: 0; }
    .updates-page .update-latest-badge { width: 100%; margin: 0 0 6px; }
    .updates-page .update-calendar-date { font-size: 11px; }
    .updates-page .update-timezone { display: inline; margin-left: 4px; }
    .updates-page .update-download { font-size: 11px; margin-top: 6px; padding: 9px 11px; }
    .updates-page .update-platform { margin: 0; }
    .updates-page .update-block ul { font-size: 13px; }
    .updates-page .update-block strong { font-size: 14px; }
    .updates-page .updates-support { padding: 28px 24px; }
    .updates-page .updates-support-title { font-size: 22px; }
    .updates-page .updates-trust-inner { flex-direction: column; }
}

@media (max-width: 380px) {
    .updates-page .main-header { flex-wrap: wrap; gap: 4px; min-height: 94px; }
    .updates-page .logo { width: 100%; }
    .updates-page .main-header nav { gap: 20px; }
    .updates-page .updates-hero { padding-top: 144px; }
    .updates-page .updates-hero-divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.updates-page) { scroll-behavior: auto; }
    .updates-page *, .updates-page *::before { transition: none !important; }
}

/* In-text links inside release notes: subtle underline, never default blue */
.updates-page :is(.update-block, .updates-roadmap, .updates-support) :is(p, li) a:not([class]) {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.updates-page :is(.update-block, .updates-roadmap, .updates-support) :is(p, li) a:not([class]):hover {
    text-decoration-color: rgba(255, 255, 255, 0.8);
}
