:root {
    --acr-primary: #2c3e50;
    --acr-secondary: #3498db;
    --acr-accent: #e74c3c;
    --acr-bg: #ecf0f1;
    --acr-text: #2c3e50;
    --acr-muted: #5d6d7e;
    --acr-border: #cfd8dc;
    --acr-surface: #ffffff;
    --acr-page-w: 1120px;
    --acr-header-h: 72px;
    --acr-font-display: "Space Grotesk", sans-serif;
    --acr-font-body: "DM Sans", sans-serif;
}

@media (max-width: 768px) {
    :root { --acr-header-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

html { scroll-padding-top: var(--acr-header-h); }

body {
    font-family: var(--acr-font-body);
    color: var(--acr-text);
    background: var(--acr-bg);
    line-height: 1.65;
    padding-top: var(--acr-header-h);
}

body.acr-cookie-open { padding-bottom: 72px; }

[hidden] { display: none !important; }

img, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: var(--acr-secondary); }
a:visited { color: #2874a6; }

.acr-wrap,
.acr-container {
    max-width: var(--acr-page-w);
    margin: 0 auto;
    padding: 0 20px;
}

.acr-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--acr-header-h);
    background: var(--acr-bg);
    border-bottom: 1px solid var(--acr-border);
}

.acr-header a,
.acr-header a:visited { color: var(--acr-primary); text-decoration: none; }

.acr-header a.acr-btn-cta,
.acr-header a.acr-btn-cta:visited,
.acr-header a.acr-btn-primary,
.acr-header a.acr-btn-primary:visited {
    color: #fff;
}

.acr-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--acr-header-h);
}

.acr-nav-key {
    display: flex;
    gap: 18px;
    flex: 1;
    order: 1;
}

.acr-logo {
    order: 2;
    flex: 0 0 auto;
}

.acr-logo img {
    width: 180px;
    height: auto;
}

.acr-header-end {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
    order: 3;
}

.acr-nav-link {
    font-family: var(--acr-font-display);
    font-weight: 600;
    font-size: 0.95rem;
}

.acr-nav-link.is-active { color: var(--acr-accent); }

.acr-burger {
    display: block;
    width: 44px;
    height: 44px;
    border: 1px solid var(--acr-border);
    background: var(--acr-surface);
    padding: 10px 9px;
    cursor: pointer;
}

.acr-burger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--acr-primary);
}

.acr-overlay,
.acr-drawer { display: none; }

.acr-drawer {
    position: fixed;
    z-index: 210;
    background: var(--acr-bg);
    overflow-y: auto;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}

.acr-drawer a {
    display: block;
    padding: 14px 20px;
    color: var(--acr-primary);
    text-decoration: none;
    font-family: var(--acr-font-display);
    font-size: 1.35rem;
    font-weight: 600;
}

.acr-drawer-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    color: var(--acr-primary);
}

.acr-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}

.acr-drawer-sheet {
    display: block;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    padding: 72px 24px 32px;
    opacity: 0;
}

body.nav-open { overflow: hidden; }
body.nav-open .acr-overlay { display: none; }
body.nav-open .acr-drawer-sheet { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
    .acr-nav-key { display: none; }
    .acr-logo img { width: 120px; }
    .acr-btn-cta { display: none; }
    .acr-header-end .acr-btn-cta { display: none; }
}

.acr-main { min-height: 50vh; }

.acr-page { padding: 28px 0 64px; }
.acr-page:not(.acr-timeline) { max-width: var(--acr-page-w); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.acr-timeline {
    position: relative;
    max-width: var(--acr-page-w);
    margin: 0 auto;
    padding: 28px 20px 72px;
}

.acr-rail {
    position: absolute;
    left: 34px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: var(--acr-border);
}

.acr-node {
    position: relative;
    padding-left: 56px;
    margin-bottom: 36px;
    opacity: 0;
    transform: rotate(-1.2deg) translateY(10px);
    transition: opacity .45s ease, transform .45s ease;
}

.acr-node.is-in {
    opacity: 1;
    transform: rotate(0) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .acr-node { opacity: 1; transform: none; transition: none; }
}

.acr-marker {
    position: absolute;
    left: 22px;
    top: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--acr-primary);
    background: var(--acr-surface);
}

.acr-hero {
    background: linear-gradient(180deg, #dfe6e9 0%, var(--acr-bg) 100%);
    margin-left: -20px;
    margin-right: -20px;
    padding: 36px 20px 28px 76px;
    border-radius: 0;
}

.acr-kicker {
    font-family: var(--acr-font-display);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--acr-muted);
    margin: 0 0 10px;
}

.acr-title,
.acr-h2,
.acr-h3 {
    font-family: var(--acr-font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--acr-primary);
}

.acr-title { font-size: clamp(1.7rem, 3.4vw, 2.45rem); margin: 0 0 16px; }
.acr-h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); margin: 0 0 14px; }
.acr-h3 { font-size: 1.1rem; margin: 18px 0 8px; }

.acr-lead { font-size: 1.05rem; max-width: 62ch; }
.acr-note {
    margin: 0 0 18px;
    padding: 18px 20px;
    border-left: 3px solid var(--acr-secondary);
    background: var(--acr-surface);
    border-radius: 0 28px 28px 0;
    max-width: 62ch;
}
.acr-note p { margin: 0 0 8px; font-size: 1.08rem; }
.acr-note-source { font-size: 0.85rem; color: var(--acr-muted); }

.acr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.acr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--acr-font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid var(--acr-primary);
    color: var(--acr-primary);
    background: transparent;
    padding: 12px 18px;
    border-radius: 28px;
    cursor: pointer;
    min-height: 44px;
}

.acr-btn::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 auto;
}

.acr-btn-primary,
.acr-btn-cta {
    background: var(--acr-primary);
    color: #fff;
    border-color: var(--acr-primary);
}

.acr-btn-primary:visited,
.acr-btn-cta:visited { color: #fff; }

.acr-btn-ghost { background: transparent; }

.acr-card {
    background: var(--acr-surface);
    border: 1.5px solid var(--acr-border);
    border-radius: 28px;
    padding: 22px;
}

.acr-app-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.acr-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    border: 1px solid var(--acr-border);
}

.acr-app-title {
    font-family: var(--acr-font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 4px;
}

.acr-app-by { margin: 0; color: var(--acr-muted); }

.acr-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
}

.acr-table th,
.acr-table td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid var(--acr-border);
    vertical-align: top;
}

.acr-table th { width: 34%; color: var(--acr-muted); font-weight: 600; }
.acr-caption { caption-side: top; text-align: left; font-size: 0.9rem; color: var(--acr-muted); margin-bottom: 8px; }

.acr-figure { margin: 0 0 16px; }
.acr-figure img { width: 100%; border-radius: 20px; border: 1px solid var(--acr-border); }
.acr-figure figcaption { font-size: 0.85rem; color: var(--acr-muted); margin-top: 6px; }

.acr-strip {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.acr-strip img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--acr-border);
}

.acr-list { margin: 0; padding-left: 1.2rem; }
.acr-list li { margin-bottom: 8px; }

.acr-grid,
.acr-grid-3,
.acr-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.acr-meta {
    font-size: 0.85rem;
    color: var(--acr-muted);
    margin: 0 0 8px;
}

.acr-compare-item {
    background: var(--acr-surface);
    border: 1.5px solid var(--acr-border);
    border-radius: 28px;
    padding: 16px;
}

.acr-briefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.acr-brief-card a { text-decoration: none; color: inherit; display: block; height: 100%; }
.acr-brief-card h3 { margin-top: 0; }
.acr-brief-meta { font-size: 0.85rem; color: var(--acr-muted); margin-bottom: 8px; }

.acr-cta {
    background: var(--acr-primary);
    color: #fff;
    border-radius: 28px;
    padding: 28px;
}
.acr-cta a { color: #fff; }
.acr-cta .acr-h2 { color: #fff; }
.acr-cta .acr-btn-primary {
    background: var(--acr-secondary);
    border-color: var(--acr-secondary);
}

.acr-split {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.acr-form .acr-field { margin-bottom: 14px; }
.acr-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.acr-input {
    width: 100%;
    border: 1.5px solid var(--acr-border);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    background: var(--acr-surface);
}
.acr-status {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fdecea;
    color: var(--acr-accent);
}

.acr-dl { margin: 0; }
.acr-dl dt { font-weight: 700; margin-top: 10px; }
.acr-dl dd { margin: 2px 0 0; color: var(--acr-muted); }

.acr-back { margin: 0 0 18px; }
.acr-article { max-width: 760px; }
.acr-article .acr-h2 { margin-top: 28px; }

.acr-magazine-lead {
    margin-bottom: 24px;
}
.acr-magazine-lead .acr-card { padding: 28px; }

.acr-steps { counter-reset: acr-step; list-style: none; padding: 0; margin: 0; }
.acr-steps li {
    counter-increment: acr-step;
    position: relative;
    padding: 14px 14px 14px 56px;
    margin-bottom: 12px;
    background: var(--acr-surface);
    border: 1.5px solid var(--acr-border);
    border-radius: 28px;
}
.acr-steps li::before {
    content: counter(acr-step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--acr-secondary);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--acr-font-display);
    font-weight: 700;
    font-size: 0.85rem;
}

.acr-footer {
    background: #d5dce0;
    border-top: 1px solid var(--acr-border);
    padding: 36px 0 28px;
}

.acr-footer-card {
    background: var(--acr-surface);
    border: 1.5px solid var(--acr-border);
    border-radius: 28px;
    padding: 22px;
    max-width: 720px;
    margin-bottom: 20px;
}

.acr-footer-kicker {
    font-family: var(--acr-font-display);
    font-weight: 700;
    margin: 0 0 8px;
}

.acr-footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 0;
    margin: 0 0 14px;
}

.acr-footer-links a,
.acr-footer-btn {
    color: var(--acr-primary);
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.acr-footer-copy { color: var(--acr-muted); font-size: 0.92rem; margin: 0; }

.acr-cookie { display: none; }
.acr-cookie:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 110;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 32px);
    gap: 12px;
    align-items: center;
    background: var(--acr-primary);
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px 10px 18px;
}

.acr-cookie a { color: #fff; }
.acr-cookie p { margin: 0; font-size: 0.9rem; white-space: nowrap; }
.acr-cookie .acr-btn {
    box-shadow: none;
    border-radius: 999px;
    background: var(--acr-secondary);
    border-color: var(--acr-secondary);
    color: #fff;
    padding: 8px 16px;
    min-height: 40px;
}
.acr-cookie .acr-btn::before { display: none; }

@media (max-width: 768px) {
    .acr-rail { left: 18px; }
    .acr-node { padding-left: 42px; }
    .acr-marker { left: 8px; width: 22px; height: 22px; }
    .acr-hero { padding-left: 62px; }
    .acr-strip { grid-template-columns: repeat(2, 1fr); }
    .acr-split { grid-template-columns: 1fr; }
    .acr-actions .acr-btn { width: 100%; justify-content: center; }
    .acr-cookie:not([hidden]) {
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
        max-width: none;
        border-radius: 20px;
        flex-wrap: wrap;
    }
    .acr-cookie p { white-space: normal; }
}

@media (max-width: 480px) {
    .acr-strip { grid-template-columns: 1fr; }
}
