:root {
    --ink: #281217;
    --ink-soft: #56343c;
    --muted: #80686e;
    --line: #eadde0;
    --canvas: #fbf7f8;
    --surface: #ffffff;
    --navy: #3b0d17;
    --blue: #c91f37;
    --blue-dark: #971227;
    --mint: #ef7182;
    --shadow-sm: 0 1px 2px rgba(12, 22, 51, .04), 0 8px 24px rgba(12, 22, 51, .06);
    --shadow-lg: 0 30px 70px rgba(2, 9, 28, .22);
    --radius: 16px;
    --radius-lg: 26px;
    --shell: 1180px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; color: var(--ink); background: var(--canvas); font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body > main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: white; color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(223, 229, 239, .9); background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg, var(--blue), #861024); box-shadow: 0 8px 20px rgba(201, 31, 55, .25); font-size: 13px; font-weight: 900; letter-spacing: -.02em; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 15px; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav > a { padding: 10px 13px; border-radius: 9px; color: var(--ink-soft); font-size: 13px; font-weight: 650; transition: .2s ease; }
.main-nav > a:hover, .main-nav > a.is-active { color: var(--blue); background: #fff0f2; }
.main-nav .nav-cta { margin-left: 8px; padding: 11px 16px; color: white; background: var(--blue); box-shadow: 0 7px 18px rgba(201, 31, 55, .22); }
.main-nav .nav-cta:hover { color: white; background: var(--blue-dark); }
.nav-cta span { margin-left: 5px; }

.hero { position: relative; overflow: hidden; padding: 92px 0 86px; color: white; background: radial-gradient(circle at 8% 20%, rgba(239, 113, 130, .15), transparent 28%), radial-gradient(circle at 90% 10%, rgba(201, 31, 55, .25), transparent 30%), linear-gradient(125deg, #2b0710 0%, #4a0e1c 57%, #641326 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .7fr); align-items: center; gap: 84px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #f7b5bf; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 99px; background: var(--mint); box-shadow: 0 0 0 5px rgba(239,113,130,.12); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 5.1vw, 69px); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-copy > p { max-width: 680px; margin: 24px 0 30px; color: #c9d3e9; font-size: 17px; line-height: 1.75; }
.hero-search { max-width: 720px; padding: 8px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: white; box-shadow: var(--shadow-lg); }
.search-symbol { width: 18px; height: 18px; margin-left: 10px; border: 2px solid #77829a; border-radius: 50%; position: relative; flex: 0 0 auto; }
.search-symbol::after { content: ""; position: absolute; width: 7px; height: 2px; right: -5px; bottom: -2px; background: #77829a; transform: rotate(45deg); border-radius: 2px; }
.hero-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 12px 8px; color: var(--ink); background: transparent; font-size: 14px; }
.hero-search input::placeholder { color: #8a94a9; }
.hero-search button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 13px 19px; color: white; background: var(--blue); cursor: pointer; font-weight: 750; transition: .2s; }
.hero-search button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 17px; color: #9eabc5; font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--mint); box-shadow: 0 0 0 4px rgba(239,113,130,.11); }

.hero-panel { padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.055)); box-shadow: 0 24px 70px rgba(0,0,0,.24); backdrop-filter: blur(16px); transform: rotate(1deg); }
.panel-topline { display: flex; align-items: center; justify-content: space-between; color: #aab6ce; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.live-pill { padding: 5px 8px; border-radius: 99px; color: #f7b5bf; background: rgba(239,113,130,.12); letter-spacing: .02em; }
.panel-document { display: flex; align-items: center; gap: 14px; margin: 28px 0; padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(4,11,30,.2); }
.document-badge { width: 49px; height: 58px; display: grid; place-items: end center; padding-bottom: 9px; border-radius: 7px; color: white; background: #e84a5f; font-size: 10px; font-weight: 900; clip-path: polygon(0 0, 73% 0, 100% 23%, 100% 100%, 0 100%); }
.panel-document div:last-child { display: grid; gap: 5px; }
.panel-document strong { font-size: 14px; }
.panel-document span { color: #99a7c2; font-size: 11px; }
.panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.panel-stats div { padding: 15px 8px; text-align: center; border-radius: 12px; background: rgba(255,255,255,.06); }
.panel-stats strong { display: block; font-size: 21px; letter-spacing: -.04em; }
.panel-stats span { display: block; margin-top: 4px; color: #95a3be; font-size: 10px; }
.panel-progress { height: 4px; overflow: hidden; margin: 22px 0 15px; border-radius: 99px; background: rgba(255,255,255,.08); }
.panel-progress span { display: block; width: 92%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--mint)); }
.hero-panel > p { margin: 0; color: #8f9db7; font-size: 10px; line-height: 1.5; }
.hero-panel > p span { color: var(--mint); margin-right: 5px; }

.section { padding: 86px 0; }
.section--categories { background: var(--surface); }
.section--archive { background: var(--canvas); }
.section-heading { margin-bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.kicker { display: block; margin-bottom: 10px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; line-height: 1.15; }
.section-heading p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.text-link { flex: 0 0 auto; color: var(--blue); font-size: 13px; font-weight: 750; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-card { min-height: 202px; padding: 22px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 1px 0 rgba(12,22,51,.02); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.category-card:hover { transform: translateY(-5px); border-color: #e8b9c1; box-shadow: var(--shadow-sm); }
.category-index { color: #a1abc0; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.category-card h3 { margin: 24px 0; font-size: 15px; line-height: 1.55; letter-spacing: -.01em; }
.category-card > div { margin-top: auto; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #edf0f5; color: var(--muted); font-size: 11px; font-weight: 650; }
.round-arrow { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 99px; color: var(--blue); background: #fff0f2; font-size: 14px; }

.document-list { display: grid; gap: 10px; }
.document-row { padding: 18px 20px; display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 13px; background: white; transition: .2s ease; }
.document-row:hover { border-color: #e8b9c1; transform: translateX(3px); box-shadow: var(--shadow-sm); }
.pdf-icon { width: 43px; height: 49px; flex: 0 0 auto; display: grid; place-items: end center; padding-bottom: 7px; clip-path: polygon(0 0, 72% 0, 100% 24%, 100% 100%, 0 100%); border-radius: 5px; color: white; background: #e2475b; font-size: 8px; font-weight: 900; }
.document-main { min-width: 0; flex: 1; }
.document-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.document-meta span { color: var(--blue); font-weight: 800; }
.document-meta time::before { content: "·"; margin-right: 10px; color: #b0b8c8; }
.document-row h3 { margin: 0; font-size: 15px; line-height: 1.4; }
.document-row h3 a:hover { color: var(--blue); }
.document-action { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 9px; color: var(--ink-soft); background: #f3f6fb; font-size: 11px; font-weight: 750; }
.document-action:hover { color: white; background: var(--blue); }
.empty-state { padding: 60px 20px; text-align: center; border: 1px dashed #cbd4e3; border-radius: var(--radius); background: white; }
.empty-state > span { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 99px; color: var(--blue); background: #fff0f2; font-weight: 900; }
.empty-state h3 { margin: 0 0 7px; }
.empty-state p { margin: 0; color: var(--muted); }

.pagination { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.pagination-arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--blue); background: white; font-weight: 800; }
.pagination-arrow:hover { color: white; border-color: var(--blue); background: var(--blue); }
.pagination-arrow.is-disabled { color: #b8c0ce; background: #eef1f5; }
.pagination-label { color: var(--muted); font-size: 12px; font-weight: 650; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 30px; display: flex; align-items: center; justify-content: center; gap: 14px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #fff0f2; font-weight: 900; }
.trust-grid p { display: grid; gap: 3px; margin: 0; }
.trust-grid strong { font-size: 13px; }
.trust-grid small { color: var(--muted); font-size: 10px; }

/* Fast archive home */
.archive-bar { padding: 34px 0; color: white; background: radial-gradient(circle at 82% -20%, rgba(239,113,130,.2), transparent 35%), linear-gradient(120deg, #2b0710, #641326); }
.archive-bar-inner { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(440px, 1.25fr); align-items: center; gap: 54px; }
.archive-bar .eyebrow { margin-bottom: 9px; }
.archive-bar h1 { margin: 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -.04em; }
.archive-bar-copy > p { margin: 9px 0 0; color: #aebbd3; font-size: 13px; }
.archive-search { padding: 7px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: white; box-shadow: 0 16px 40px rgba(2,9,28,.22); }
.archive-search input { width: 100%; min-width: 0; padding: 11px 8px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.archive-search input::placeholder { color: #8a94a9; }
.archive-search button { flex: 0 0 auto; padding: 12px 23px; border: 0; border-radius: 9px; color: white; background: var(--blue); cursor: pointer; font-weight: 750; }
.archive-search button:hover { background: var(--blue-dark); }
.archive-workspace { padding: 38px 0 76px; }
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: start; gap: 24px; }
.archive-results { min-width: 0; }
.archive-results-header { min-height: 55px; margin-bottom: 17px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.archive-results-header .kicker { margin-bottom: 5px; }
.archive-results-header h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
.result-summary { display: flex; align-items: baseline; gap: 5px; color: var(--muted); font-size: 11px; }
.result-summary strong { color: var(--ink); font-size: 17px; }
.result-summary a { margin-left: 9px; color: var(--blue); font-weight: 750; }
.document-list--compact { gap: 8px; }
.document-list--compact .document-row { min-height: 77px; padding: 13px 15px; }
.document-list--compact .pdf-icon { width: 38px; height: 43px; }
.document-list--compact .document-meta { margin-bottom: 4px; }
.archive-sidebar { position: sticky; top: 102px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.sidebar-heading { padding-bottom: 15px; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--line); }
.sidebar-heading .kicker { margin-bottom: 4px; }
.sidebar-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.sidebar-heading > a { color: var(--blue); font-size: 11px; font-weight: 750; }
.quick-categories { display: grid; margin-top: 7px; }
.quick-categories a { padding: 11px 3px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf0f5; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
.quick-categories a:hover { color: var(--blue); }
.quick-categories strong { min-width: 27px; padding: 4px 6px; border-radius: 7px; color: var(--blue); background: #fff0f2; font-size: 9px; text-align: center; }
.archive-counts { margin-top: 17px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-radius: 11px; background: #f3f6fb; }
.archive-counts div { display: grid; gap: 2px; text-align: center; }
.archive-counts div:first-child { border-right: 1px solid var(--line); }
.archive-counts strong { font-size: 18px; letter-spacing: -.03em; }
.archive-counts span { color: var(--muted); font-size: 9px; }

.site-footer { margin-top: auto; padding: 58px 0 20px; color: #c5cee0; background: #09142f; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 80px; }
.brand--footer { color: white; }
.brand--footer .brand-copy small { color: #7f8da8; }
.footer-grid > div:first-child > p { max-width: 440px; margin: 22px 0 0; color: #8794ae; font-size: 13px; line-height: 1.7; }
.footer-grid h2 { margin: 5px 0 18px; color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a, .footer-grid span { color: #8997b0; font-size: 12px; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 48px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); color: #66758f; font-size: 10px; }
.site-footer:has(.footer-bottom--simple) { padding: 0; }
.footer-bottom--simple { min-height: 68px; margin-top: 0; padding-top: 0; align-items: center; border-top: 0; }
.footer-bottom--simple a { color: #9aa7be; }

/* Simple alphabetical archive */
.simple-archive { padding: 36px 0 76px; background: #f8fafc; }
.simple-archive-inner { max-width: 1080px; }
.simple-search { height: 56px; display: flex; align-items: stretch; overflow: hidden; border: 1px solid #cbd5e1; border-radius: 12px; background: white; box-shadow: 0 7px 24px rgba(12,22,51,.07); }
.simple-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(201,31,55,.1); }
.simple-search input { min-width: 0; flex: 1; padding: 0 20px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.simple-search button { width: 94px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; color: white; background: var(--blue); cursor: pointer; font-weight: 750; }
.simple-search button:hover { background: var(--blue-dark); }
.simple-search .search-symbol { margin-left: 0; border-color: white; }
.simple-search .search-symbol::after { background: white; }
.alphabet-filter { margin: 22px 0 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.alphabet-filter a { min-width: 28px; height: 30px; padding: 0 7px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; color: #64748b; font-size: 11px; font-weight: 750; }
.alphabet-filter a:first-child { padding-inline: 12px; }
.alphabet-filter a:hover { color: var(--blue); border-color: #cbd7f3; background: white; }
.alphabet-filter a.is-active { color: white; border-color: var(--blue); background: var(--blue); }
.simple-list-head { min-height: 50px; padding-bottom: 15px; display: flex; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); }
.simple-list-head h1 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.simple-list-head h2 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.simple-list-head > span { color: var(--muted); font-size: 11px; }
.simple-list-head > a { margin-left: auto; color: var(--blue); font-size: 11px; font-weight: 750; }
.simple-spec-list { border-bottom: 1px solid var(--line); background: white; }
.simple-spec-list > a { min-height: 61px; padding: 12px 15px; display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 12px; border-bottom: 1px solid #eee3e5; color: #3f252b; font-size: 14px; transition: .16s ease; }
.simple-spec-list > a:hover { padding-left: 20px; color: var(--blue); background: #fff5f6; }
.simple-arrow { color: #94a3b8; font-size: 23px; text-align: right; }
.grouped-spec-list { display: grid; gap: 24px; }
.archive-section-heading { margin-top: 14px; padding: 0 2px 10px; border-bottom: 2px solid var(--blue); }
.archive-section-heading:first-child { margin-top: 0; }
.archive-section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(20px, 2.5vw, 27px); line-height: 1.2; letter-spacing: -.035em; }
.spec-group { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: white; box-shadow: 0 4px 16px rgba(40,18,23,.035); }
.spec-group-heading { min-height: 58px; padding: 13px 17px 13px 19px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-left: 4px solid var(--blue); background: #fffafb; }
.spec-group-heading:hover { background: #fff3f5; }
.spec-group-heading h3 { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.45; letter-spacing: -.015em; }
.spec-group-heading > span { flex: 0 0 auto; color: var(--muted); font-size: 10px; font-weight: 700; }
.spec-group-heading > span > span { margin-left: 5px; color: var(--blue); font-size: 16px; }
.spec-group-items { border-top: 1px solid #eee3e5; }
.spec-group-items > a { min-height: 50px; padding: 10px 18px; display: grid; grid-template-columns: 14px minmax(0, 1fr); align-items: center; gap: 4px; border-bottom: 1px solid #f0e7e9; color: #4e3339; font-size: 13px; line-height: 1.45; transition: .16s ease; }
.spec-group-items > a:last-child { border-bottom: 0; }
.spec-group-items > a:hover { padding-left: 22px; color: var(--blue); background: #fff8f9; }
.group-item-arrow { color: #c6a9af; font-size: 19px; }
.simple-page { padding: 40px 0 76px; background: #f8f5f6; }
.simple-page--category { padding-top: 30px; }
.simple-page-inner { max-width: 1080px; }
.category-simple-list { border-bottom: 1px solid var(--line); background: white; }
.category-simple-list > a { min-height: 64px; padding: 13px 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 18px; border-bottom: 1px solid #eee3e5; color: #3f252b; transition: .16s ease; }
.category-simple-list > a:hover { padding-left: 20px; color: var(--blue); background: #fff5f6; }
.category-simple-list > a > span:first-child { font-size: 14px; font-weight: 650; }
.category-simple-list small { color: var(--muted); font-size: 10px; }

/* Simple specification detail */
.simple-detail-head { padding: 30px 0 28px; border-bottom: 1px solid var(--line); background: white; }
.simple-detail-head-inner { max-width: 1000px; }
.simple-breadcrumb { margin-bottom: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 10px; }
.simple-breadcrumb a:hover { color: var(--blue); }
.simple-detail-head h1 { max-width: 900px; margin: 0; font-size: clamp(29px, 4vw, 43px); line-height: 1.15; letter-spacing: -.04em; }
.simple-detail-section { padding: 34px 0 72px; }
.simple-article { max-width: 1000px; padding: clamp(24px, 4vw, 46px); border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow-sm); }
.document-downloads { margin-bottom: 30px; display: grid; gap: 12px; }
.document-downloads--bottom { margin: 34px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.large-download { min-height: 92px; padding: 18px 22px; display: grid; grid-template-columns: 55px 1fr 28px; align-items: center; gap: 17px; border: 1px solid #f0b9c1; border-radius: 12px; color: #8e2133; background: #fff7f8; }
.large-download:hover { border-color: #df465d; box-shadow: 0 9px 25px rgba(190,45,67,.1); }
.large-download-icon { width: 51px; height: 58px; display: grid; place-items: end center; padding-bottom: 9px; clip-path: polygon(0 0,72% 0,100% 24%,100% 100%,0 100%); color: white; background: #db304b; font-size: 9px; font-weight: 900; }
.large-download > span:nth-child(2) { display: grid; gap: 4px; }
.large-download strong { font-size: 16px; }
.large-download small { color: #9c6670; font-size: 10px; }
.large-download > span:last-child { font-size: 24px; font-weight: 800; }
.legacy-content .legacy-download-link { width: min(100%, 540px); min-height: 104px; margin: 0 auto 32px; padding: 13px; display: flex; align-items: center; justify-content: center; border: 1px solid #efb7c0; border-radius: 12px; background: #fff7f8; text-decoration: none; }
.legacy-content .legacy-download-link:hover { border-color: #df465d; box-shadow: 0 9px 25px rgba(190,45,67,.1); }
.legacy-content .legacy-download-link img { width: 100%; max-width: 500px; height: auto; margin: 0; border-radius: 6px; }
.has-managed-downloads .legacy-content .legacy-download-link { display: none; }
.simple-back-link { margin-top: 34px; padding-top: 20px; display: block; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; font-weight: 750; }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-panel { max-width: 560px; transform: none; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .archive-bar-inner { grid-template-columns: 1fr; gap: 22px; }
    .archive-layout { grid-template-columns: 1fr; }
    .archive-sidebar { position: static; }
}

@media (max-width: 700px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-inner { min-height: 68px; }
    .brand-copy small { display: none; }
    .main-nav > a:not(.nav-cta) { display: none; }
    .main-nav .nav-cta { margin-left: 0; padding: 10px 12px; }
    .hero { padding: 65px 0 58px; }
    .hero h1 { font-size: 42px; }
    .hero-copy > p { font-size: 15px; }
    .hero-search { align-items: stretch; flex-wrap: wrap; }
    .hero-search input { width: calc(100% - 42px); }
    .hero-search button { width: 100%; }
    .hero-panel { padding: 18px; }
    .panel-stats strong { font-size: 18px; }
    .section { padding: 60px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .category-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 160px; }
    .document-row { align-items: flex-start; padding: 16px; }
    .document-action { display: none; }
    .document-meta { flex-wrap: wrap; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid > div { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-grid > div:last-child { border-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { gap: 10px; flex-direction: column; }
    .archive-bar { padding: 27px 0; }
    .archive-search { align-items: stretch; flex-wrap: wrap; }
    .archive-search input { width: calc(100% - 42px); }
    .archive-search button { width: 100%; }
    .archive-workspace { padding: 28px 0 60px; }
    .archive-results-header { align-items: flex-start; flex-direction: column; gap: 10px; }
    .simple-archive { padding: 24px 0 56px; }
    .simple-search { height: 52px; }
    .simple-search button { width: 58px; }
    .simple-search button > span:last-child { display: none; }
    .alphabet-filter { margin: 18px 0 28px; }
    .simple-list-head { align-items: flex-start; flex-wrap: wrap; }
    .simple-list-head h1 { width: 100%; font-size: 24px; }
    .simple-list-head h2 { width: 100%; font-size: 24px; }
    .simple-list-head > a { margin-left: auto; }
    .simple-spec-list > a { padding-inline: 10px; grid-template-columns: 1fr 14px; font-size: 13px; }
    .grouped-spec-list { gap: 18px; }
    .spec-group-heading { padding: 12px 13px; align-items: flex-start; flex-direction: column; gap: 4px; }
    .spec-group-heading h3 { font-size: 14px; }
    .spec-group-items > a { padding: 10px 12px; font-size: 12px; }
    .simple-detail-head { padding: 24px 0; }
    .simple-detail-section { padding: 20px 0 55px; }
    .simple-article { padding: 20px 16px; }
    .simple-page { padding: 26px 0 56px; }
    .category-simple-list > a { grid-template-columns: minmax(0, 1fr) 14px; gap: 9px; }
    .category-simple-list small { display: none; }
}

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 70px 0 64px; color: white; background: radial-gradient(circle at 80% 0%, rgba(239,113,130,.13), transparent 30%), linear-gradient(120deg, #2b0710, #5d1122); }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; top: -260px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.018); }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { margin-bottom: 33px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #7c89a5; font-size: 11px; }
.breadcrumb a { color: #adbad2; }
.breadcrumb a:hover { color: white; }
.breadcrumb span:last-child { max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.06; letter-spacing: -.05em; }
.page-hero p { max-width: 670px; margin: 18px 0 0; color: #b7c2d8; font-size: 16px; line-height: 1.7; }
.page-stat { margin-top: 28px; display: inline-flex; align-items: baseline; gap: 9px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.06); }
.page-stat strong { font-size: 23px; color: var(--mint); }
.page-stat span { color: #a6b2ca; font-size: 11px; }
.section-heading--compact { align-items: center; }
.compact-search { width: min(100%, 330px); display: flex; align-items: center; border: 1px solid var(--line); border-radius: 11px; background: white; box-shadow: var(--shadow-sm); }
.compact-search input { width: 100%; min-width: 0; padding: 12px 14px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.compact-search button { width: 42px; height: 42px; margin: 4px; border: 0; border-radius: 8px; color: white; background: var(--blue); cursor: pointer; }
.category-grid--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-grid--all .category-card { min-height: 185px; }

.detail-hero { padding: 48px 0 58px; color: white; background: radial-gradient(circle at 85% 20%, rgba(201,31,55,.25), transparent 28%), linear-gradient(118deg, #2b0710, #641326); }
.breadcrumb--light { margin-bottom: 25px; }
.detail-hero h1 { max-width: 930px; margin: 0; font-size: clamp(34px, 4.5vw, 57px); line-height: 1.08; letter-spacing: -.045em; }
.detail-meta { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.detail-meta > span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; color: #9dabc4; background: rgba(255,255,255,.045); font-size: 10px; }
.detail-meta strong { margin-left: 5px; color: white; font-weight: 750; }
.detail-section { padding: 50px 0 90px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 325px; align-items: start; gap: 26px; }
.article-card, .download-card, .info-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.article-card { min-width: 0; padding: clamp(24px, 4vw, 48px); }
.article-header { margin-bottom: 30px; padding-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.article-header h2 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.verified-badge { flex: 0 0 auto; padding: 7px 10px; border-radius: 99px; color: #087a68; background: #e5faf6; font-size: 10px; font-weight: 750; }
.legacy-content { color: #3c292e; font-size: 16px; line-height: 1.78; }
.legacy-content > :first-child { margin-top: 0; }
.legacy-content > :last-child { margin-bottom: 0; }
.legacy-content p { margin: 0 0 16px; }
.legacy-content b, .legacy-content strong { color: #0d1b3c; font-weight: 750; }
.legacy-content h1, .legacy-content h2, .legacy-content h3, .legacy-content h4 { margin: 32px 0 14px; color: var(--ink); line-height: 1.25; letter-spacing: -.025em; }
.legacy-content ul, .legacy-content ol { padding-left: 24px; }
.legacy-content li { margin-bottom: 8px; }
.legacy-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legacy-content img { max-width: 100%; height: auto; border-radius: 10px; }
.legacy-content img[src*="teknik-sartname"], .legacy-content img[src*="sartname-indir"], .legacy-content img[src*="sartname-goruntule"] { max-width: 220px; border-radius: 0; }
.legacy-content table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 13px; }
.legacy-content th, .legacy-content td { padding: 10px 12px; border: 1px solid #d7deea; text-align: left; }
.legacy-content th { color: var(--ink); background: #f3f6fb; }
.legacy-numbered-list { display: grid; }
.legacy-numbered-item { padding: 17px 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 9px; border-bottom: 1px solid #eee3e5; }
.legacy-numbered-item:first-child { padding-top: 0; }
.legacy-numbered-item:last-child { padding-bottom: 0; border-bottom: 0; }
.legacy-numbered-item .legacy-number { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; color: #a2172d; background: #fff0f2; font-size: 11px; font-weight: 850; }
.legacy-numbered-item p { margin: 1px 0 0; color: #3c292e; font-size: 15px; line-height: 1.78; }
.content-warning { padding: 20px; border: 1px solid #f3d69a; border-radius: 12px; color: #674c13; background: #fff8e9; }
.content-warning p { margin: 7px 0 0; font-size: 13px; line-height: 1.65; }

.detail-sidebar { position: sticky; top: 100px; display: grid; gap: 16px; }
.download-card, .info-card { padding: 22px; }
.download-card-label { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.download-card h2, .info-card h2 { margin: 9px 0 8px; font-size: 18px; letter-spacing: -.025em; }
.download-card > p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.download-button { margin-top: 10px; padding: 13px; display: flex; align-items: center; gap: 11px; border: 1px solid #efc4ca; border-radius: 11px; background: #fff6f7; transition: .2s; }
.download-button:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,31,55,.12); }
.download-file { width: 38px; height: 42px; flex: 0 0 auto; display: grid; place-items: end center; padding-bottom: 6px; clip-path: polygon(0 0, 72% 0, 100% 24%, 100% 100%, 0 100%); color: white; background: #e2475b; font-size: 7px; font-weight: 900; }
.download-button > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.download-button strong { font-size: 12px; }
.download-button small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.download-arrow { margin-left: auto; color: var(--blue); }
.missing-file { margin-top: 10px; padding: 13px; display: flex; gap: 10px; border: 1px solid #f0d9dd; border-radius: 11px; color: #8f3341; background: #fff6f7; }
.missing-file > span { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 99px; color: white; background: #d85265; font-size: 11px; font-weight: 900; }
.missing-file p { min-width: 0; display: grid; gap: 3px; margin: 0; }
.missing-file strong { font-size: 11px; }
.missing-file small { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.info-card h2 { margin-top: 0; }
.info-card dl { margin: 16px 0 0; }
.info-card dl > div { padding: 12px 0; display: grid; grid-template-columns: 80px 1fr; gap: 12px; border-top: 1px solid #edf0f5; }
.info-card dt { color: var(--muted); font-size: 10px; }
.info-card dd { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; text-align: right; }
.info-card dd a { color: var(--blue); }
.status-chip { padding: 4px 7px; border-radius: 99px; color: #087a68; background: #e5faf6; font-size: 9px; font-weight: 750; }
.back-card { padding: 17px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.back-card > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: #fff0f2; }
.back-card p { display: grid; gap: 3px; margin: 0; }
.back-card strong { font-size: 11px; }
.back-card small { color: var(--muted); font-size: 9px; }

@media (max-width: 980px) {
    .category-grid--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .back-card { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .page-hero { padding: 48px 0; }
    .page-hero h1, .detail-hero h1 { font-size: 36px; }
    .category-grid--all { grid-template-columns: 1fr; }
    .compact-search { width: 100%; }
    .detail-hero { padding: 35px 0 42px; }
    .detail-meta { align-items: flex-start; flex-direction: column; }
    .article-card { padding: 22px 17px; }
    .article-header { flex-direction: column; }
    .detail-sidebar { grid-template-columns: 1fr; }
    .back-card { grid-column: auto; }
    .legacy-content { font-size: 14px; }
    .legacy-numbered-item { padding: 14px 0; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; }
    .legacy-numbered-item .legacy-number { width: 27px; height: 27px; font-size: 10px; }
    .legacy-numbered-item p { font-size: 14px; line-height: 1.7; }
    .legacy-content table { display: block; overflow-x: auto; }
}
