:root {
  --ink: #0b0810;
  --ink-soft: #17101d;
  --paper: #f8f5fa;
  --paper-warm: #eee8f2;
  --white: #ffffff;
  --purple: #6718bd;
  --purple-bright: #d0a0ff;
  --purple-on-light: #5b109f;
  --purple-dark: #3e096f;
  --silver: #beb7c5;
  --line: rgba(18, 9, 25, 0.14);
  --shadow: 0 24px 70px rgba(28, 7, 43, 0.16);
  --radius: 22px;
  --wrap: min(1240px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-160%); padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: 10px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #f5e8ff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--purple-on-light); }

.site-header { position: relative; z-index: 50; background: rgba(8, 6, 11, 0.97); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.header-inner { min-height: 90px; width: var(--wrap); margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(137, 50, 255, .32)); }
.brand > span { display: grid; grid-template-columns: auto auto; align-items: baseline; letter-spacing: -.04em; line-height: .86; }
.brand strong, .brand b { font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; }
.brand strong { color: var(--white); }
.brand b { color: var(--purple-bright); }
.brand small { grid-column: 1 / -1; margin-top: 7px; color: #cbc2d2; font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; line-height: 1; }
.main-nav { justify-self: end; display: flex; align-items: center; gap: 28px; }
.main-nav a { color: #e9e3ed; text-decoration: none; font-size: .84rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.main-nav a:hover { color: var(--purple-bright); }
.motion-button, .menu-button { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: transparent; color: var(--white); display: none; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer; font-size: .77rem; font-weight: 750; }
.motion-button:hover, .menu-button:hover { border-color: var(--purple-bright); background: rgba(124,37,237,.13); }
.js .motion-button { display: inline-flex; }
.independence-bar { padding: 8px 20px; color: #ded5e4; background: #160b20; border-top: 1px solid rgba(255,255,255,.07); text-align: center; font-size: .72rem; letter-spacing: .03em; }

.hero { position: relative; min-height: clamp(630px, 78vh, 820px); display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 58%; animation: hero-breathe 14s ease-in-out infinite alternate; }
.hero-overlay { background: linear-gradient(90deg, rgba(6,4,8,.94) 0%, rgba(8,4,12,.7) 42%, rgba(9,6,12,.18) 72%), linear-gradient(0deg, rgba(8,5,11,.96) 0%, transparent 46%), radial-gradient(circle at 52% 52%, rgba(124,37,237,.2), transparent 52%); }
.hero-content { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto; padding: 82px 0 72px; }
.hero-kicker, .eyebrow { margin: 0 0 14px; color: var(--purple-on-light); font-size: .75rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.hero-kicker, .hero .eyebrow, .page-hero .eyebrow, .feature-band .eyebrow, .audit-panel .eyebrow, .site-footer .eyebrow { color: var(--purple-bright); }
.hero h1 { max-width: 900px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.5rem, 8.2vw, 7.8rem); line-height: .86; letter-spacing: -.065em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 8px 38px rgba(0,0,0,.45); }
.hero h1 em { color: var(--purple-bright); font-weight: inherit; }
.hero-content > p:not(.hero-kicker) { max-width: 690px; margin: 28px 0 0; color: #e7e0eb; font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 19px; border-radius: 999px; text-decoration: none; font-weight: 800; border: 1px solid transparent; cursor: pointer; }
.button.primary { color: var(--white); background: linear-gradient(135deg, #6417b8, #4d0e87); box-shadow: 0 12px 30px rgba(82,17,145,.34); }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(124,37,237,.48); }
.button.ghost { color: var(--ink); border-color: rgba(15,8,20,.22); background: rgba(255,255,255,.55); }
.hero .button.ghost, .button.ghost.light { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; color: #d7cfdb; font-size: .79rem; font-weight: 650; }
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { color: var(--purple-bright); }
.hero-edition { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 70px; border-left: 2px solid var(--purple-bright); padding-left: 14px; display: grid; color: #d8d0dc; }
.hero-edition span { font-size: .62rem; letter-spacing: .18em; }
.hero-edition strong { font-family: Georgia, serif; font-size: .92rem; }
@keyframes hero-breathe { from { transform: scale(1.01); } to { transform: scale(1.045); } }

.status-section { position: relative; z-index: 3; margin-top: -25px; }
.source-status { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px 16px; min-height: 58px; padding: 12px 18px; border-radius: 15px; background: var(--white); box-shadow: var(--shadow); border: 1px solid rgba(43,10,65,.08); font-size: .82rem; }
.source-status strong { font-size: .82rem; }
.source-status > span:not(.status-dot) { color: #665d6c; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #27b36a; box-shadow: 0 0 0 6px rgba(39,179,106,.1); }
.source-status.is-warning .status-dot { background: #e7a625; box-shadow: 0 0 0 6px rgba(231,166,37,.12); }
.status-time { white-space: nowrap; }

.results-section { padding: 88px 0 100px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 480px); align-items: end; gap: 36px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.6vw, 4.35rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.section-heading > p { margin: 0; color: #625968; }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.result-card { min-width: 0; display: flex; flex-direction: column; padding: 23px; min-height: 345px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(35,13,48,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.result-card:nth-child(5n + 1) { background: linear-gradient(145deg, #fff, #f4ecfa); }
.result-card:nth-child(5n + 3) { background: linear-gradient(160deg, #fbf8fd, #eee4f7); }
.result-card:hover { transform: translateY(-5px); border-color: rgba(124,37,237,.32); box-shadow: 0 20px 55px rgba(35,13,48,.13); }
.result-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.result-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.48rem; line-height: 1.1; }
.result-card h3 a { text-decoration: none; }
.result-card .eyebrow { margin-bottom: 6px; font-size: .62rem; }
.verified-badge { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(124,37,237,.2); color: var(--purple-dark); border-radius: 999px; padding: 5px 8px; font-size: .58rem; font-weight: 850; letter-spacing: .08em; }
.draw-date { margin: 12px 0 16px; color: #756b7b; font-size: .82rem; }
.card-result { flex: 1; display: flex; align-items: center; }
.number-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.number-list li { min-width: 42px; min-height: 42px; display: grid; place-items: center; position: relative; border-radius: 50%; background: var(--ink); color: var(--white); box-shadow: inset 0 -4px 8px rgba(255,255,255,.08); }
.number-list li:nth-child(3n + 1) { background: var(--purple-dark); }
.number-list strong { font-size: .85rem; }
.number-caption { position: absolute; top: -17px; color: #6d626f; font-size: .55rem; font-weight: 800; }
.number-list.is-columns { gap: 9px; padding-top: 16px; }
.number-list.is-columns li { border-radius: 12px; }
.number-list.is-federal li { width: auto; min-width: 76px; border-radius: 12px; }
.number-list.is-federal strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.result-card .number-list li { min-width: 34px; min-height: 34px; }
.result-card .number-list strong { font-size: .72rem; }
.result-card .number-list.is-federal li { min-width: 62px; }
.match-summary { display: grid; }
.match-summary strong { font-family: Georgia, serif; font-size: 2rem; color: var(--purple-dark); }
.match-summary span { color: #746a79; font-size: .8rem; }
.extra-result { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.extra-result > span, .extra-label span { color: #756b7a; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.extra-result .number-list li { background: var(--purple); }
.extra-label { display: flex; gap: 12px; align-items: baseline; margin: 20px 0 0; }
.secondary-draw { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.secondary-draw h3 { margin: 0 0 16px; font-size: 1rem; }
.processing { color: #675e6c; font-size: .85rem; }
.result-card footer { display: grid; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.result-card footer a { display: inline-flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--purple-dark); font-size: .78rem; font-weight: 800; text-decoration: none; }
.result-card footer .source-link { color: #706677; font-weight: 650; }
.section-action { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--purple-dark); font-weight: 850; }
.refresh-button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 14px; cursor: pointer; font-size: .75rem; font-weight: 750; }
.refresh-button:hover { border-color: var(--purple); color: var(--purple-dark); }
.empty-state { padding: 50px; text-align: center; border: 1px dashed #9c8da6; border-radius: var(--radius); }

.feature-band { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 660px; background: var(--ink); color: var(--white); }
.feature-image { min-height: 540px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { align-self: center; padding: 70px clamp(35px, 7vw, 110px); }
.feature-copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 5vw, 5rem); line-height: .96; letter-spacing: -.05em; }
.feature-copy h2 br + * { color: var(--purple-bright); }
.feature-copy > p:not(.eyebrow) { color: #d7cddd; max-width: 580px; }
.check-list { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 25px; color: #ede5f1; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--purple-bright); font-weight: 900; }

.services-teaser { padding: 100px 0; }
.services-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; }
.services-layout > img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.service-mini-grid a { position: relative; display: flex; flex-direction: column; min-height: 158px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.service-mini-grid a:hover { border-color: rgba(124,37,237,.45); transform: translateY(-2px); }
.service-mini-grid span { color: var(--purple); font-size: .62rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.service-mini-grid strong { margin-top: 8px; font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.15; }
.service-mini-grid small { margin-top: auto; color: #716776; }
.service-mini-grid svg { position: absolute; right: 17px; bottom: 17px; color: var(--purple); }

.manifesto { padding: 100px 0; background: linear-gradient(135deg, #3d0d6c, #5a168f 55%, #2c093f); color: var(--white); overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: .35fr 1.25fr .65fr; align-items: center; gap: 40px; }
.manifesto .eyebrow { color: #e5c9ff; }
.manifesto blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: .96; letter-spacing: -.05em; }
.manifesto blockquote em { color: #f2dfff; }
.manifesto-grid > div p { color: #f1e4fc; }
.manifesto-grid a { display: inline-flex; align-items: center; gap: 8px; font-weight: 850; }

.site-footer { padding: 70px 0 20px; background: #070509; color: #d5cbd9; }
.footer-grid { width: var(--wrap); margin: auto; display: grid; grid-template-columns: 1.4fr repeat(3, .8fr); gap: 42px; }
.site-footer .brand img { width: 58px; height: 58px; }
.site-footer h2 { margin: 0 0 14px; color: var(--white); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer p { color: #9f94a5; font-size: .82rem; }
.site-footer a { display: flex; align-items: center; gap: 6px; margin: 9px 0; color: #d5cbd9; text-decoration: none; font-size: .8rem; }
.site-footer a:hover { color: var(--purple-bright); }
.footer-bottom { width: var(--wrap); margin: 48px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: .7rem; }

.page-hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(124,37,237,.55), transparent 36%), linear-gradient(135deg, #0a0710, #1b0d25); }
.page-hero.compact { padding: 66px 0 76px; }
.page-hero h1 { max-width: 980px; margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .94; letter-spacing: -.055em; }
.page-hero .wrap > p:not(.eyebrow) { max-width: 780px; margin: 20px 0 0; color: #d9cede; font-size: 1.05rem; }
.breadcrumbs { margin-bottom: 30px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; color: #bdb1c4; font-size: .7rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; opacity: .6; }
.breadcrumbs a { color: inherit; }
.image-hero { min-height: 510px; display: grid; align-items: end; }
.image-hero > img, .page-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.image-hero > img { object-fit: cover; }
.page-hero-shade { background: linear-gradient(90deg, rgba(7,5,9,.94), rgba(7,5,9,.42)), linear-gradient(0deg, rgba(7,5,9,.76), transparent); }
.image-hero .wrap { position: relative; z-index: 1; padding-bottom: 70px; }

.filter-bar { display: grid; grid-template-columns: auto minmax(200px, 420px) 1fr; align-items: center; gap: 12px; margin-bottom: 28px; }
.filter-bar label { font-weight: 800; font-size: .78rem; }
.filter-bar input { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 16px; }
.filter-bar span { justify-self: end; color: #716777; font-size: .75rem; }
.result-card[hidden] { display: none; }
.notice-block, .security-note, .archive-callout { margin-bottom: 100px; padding: 32px; border-radius: var(--radius); border: 1px solid rgba(124,37,237,.2); background: linear-gradient(135deg, #f1e5fb, #fff); }
.notice-block h2, .security-note h2, .archive-callout h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; }
.notice-block h2, .security-note h2, .archive-callout h2 { overflow-wrap: anywhere; }
.notice-block a { color: var(--purple-dark); font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }

.result-hero { padding: 48px 0 58px; }
.result-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.result-title h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
.result-title h1 span { color: var(--purple-bright); }
.result-title p { color: #cfc3d4; }
.verified-seal { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 10px 14px; color: #efe5f4; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.result-detail { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 18px; padding: 70px 0 36px; }
.result-panel, .audit-panel { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(30,10,43,.06); }
.result-panel, .audit-panel { min-width: 0; }
.result-panel { padding: clamp(24px, 4vw, 46px); }
.result-panel > header { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 34px; }
.result-panel h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.5rem); }
.confirmed, .accumulated { border-radius: 999px; padding: 7px 10px; font-size: .66rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.confirmed { color: #0d6d3c; background: #daf3e5; }
.accumulated { color: #762077; background: #f5dcf3; }
.result-panel .number-list { gap: clamp(8px, 1.2vw, 13px); }
.result-panel .number-list li { min-width: clamp(45px, 6vw, 64px); min-height: clamp(45px, 6vw, 64px); }
.result-panel .number-list strong { font-size: clamp(.9rem, 1.5vw, 1.2rem); }
.result-panel .number-list.is-federal li { min-width: clamp(86px, 12vw, 126px); border-radius: 14px; }
.estimate { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.estimate span { color: #756b7a; }
.estimate strong { font-family: Georgia, serif; font-size: 1.6rem; color: var(--purple-dark); }
.audit-panel { padding: 28px; background: var(--ink); color: var(--white); }
.audit-panel dl { margin: 20px 0 28px; display: grid; }
.audit-panel dl div { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); }
.audit-panel dt { color: #a99eaf; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.audit-panel dd { margin: 3px 0 0; font-size: .86rem; font-weight: 700; }
.audit-panel .button { width: 100%; }
.fine-print { color: #9e93a5; font-size: .68rem; }
.rateio-section { padding: 30px 0 80px; }
.table-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; }
caption { padding: 16px 18px; text-align: left; font-weight: 850; color: var(--purple-dark); }
th, td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: left; }
th { color: #675e6c; background: #f2edf5; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
td { font-size: .85rem; }
.matches-table td:nth-child(1), .matches-table td:nth-child(3) { white-space: nowrap; }
.draw-decision { display: block; margin-top: 3px; color: var(--purple-dark); font-size: .62rem; white-space: normal; }
.official-observation { margin-top: 28px; padding: 18px; border-left: 4px solid var(--purple); border-radius: 0 14px 14px 0; background: #f1e7f8; }
.official-observation p { margin: 5px 0 0; color: #51465a; }
.source-proof { display: grid; grid-template-columns: .8fr 1.5fr .8fr; gap: 10px; margin-bottom: 90px; }
.source-proof > div { min-width: 0; padding: 20px; border: 1px solid var(--line); background: var(--white); }
.source-proof > div:first-child { border-radius: 18px 0 0 18px; }
.source-proof > div:last-child { border-radius: 0 18px 18px 0; }
.source-proof svg { color: var(--purple); }
.source-proof p { margin: 6px 0; font-size: .76rem; overflow-wrap: anywhere; }
.source-proof code { font-size: .68rem; }
.archive-callout { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.archive-callout p { margin-bottom: 0; }
.contest-archive { margin-bottom: 100px; }
.contest-archive ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.contest-archive a { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; min-height: 116px; padding: 20px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 10px 30px rgba(22, 13, 30, .06); }
.contest-archive a:hover, .contest-archive a:focus-visible { border-color: var(--purple); transform: translateY(-2px); }
.contest-archive a span, .contest-archive a small { grid-column: 1; color: var(--muted); }
.contest-archive a strong { grid-column: 1; font-family: Georgia, serif; font-size: 1.65rem; }
.contest-archive a svg { grid-column: 2; grid-row: 1 / span 3; color: var(--purple); }

.services-directory { padding: 90px 0; display: grid; gap: 55px; }
.services-directory > section > h2 { margin: 0 0 18px; font-family: Georgia, serif; font-size: 2.2rem; }
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.service-cards a { display: flex; flex-direction: column; min-height: 240px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; box-shadow: 0 10px 35px rgba(31,10,44,.05); }
.service-cards a:hover { transform: translateY(-3px); border-color: rgba(124,37,237,.42); }
.official-domain { color: var(--purple); font-size: .66rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.service-cards h3 { margin: 12px 0 6px; font-family: Georgia, serif; font-size: 1.35rem; }
.service-cards p { color: #665d6c; font-size: .84rem; }
.service-cards strong { margin-top: auto; display: flex; align-items: center; gap: 8px; color: var(--purple-dark); font-size: .75rem; }
.security-note { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.security-note > div:first-child { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: var(--white); }
.security-note svg { width: 29px; height: 29px; }
.security-note p { margin: 5px 0 0; }

.prose { max-width: 870px; padding: 78px 0 110px; font-size: 1.03rem; }
.prose .lead { margin-top: 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.35; color: #2c1938; }
.prose h2 { margin: 50px 0 12px; font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; }
.prose p { color: #514958; }
.prose code { padding: 2px 5px; border-radius: 5px; background: #e9dff0; font-size: .9em; overflow-wrap: anywhere; }
.prose-list { display: grid; gap: 11px; padding-left: 24px; color: #514958; }
.callout { margin: 34px 0; padding: 25px; border-left: 5px solid var(--purple); background: #eee3f6; border-radius: 0 16px 16px 0; }
.callout p { margin-bottom: 0; }
.timeline { list-style: none; margin: 35px 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.timeline li > span { color: var(--purple); font-family: Georgia, serif; font-size: 1.5rem; }
.timeline h3 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; }
.timeline p { margin: 5px 0 0; }
.empty-history { padding: 20px; border: 1px dashed #978a9f; border-radius: 14px; }
.revision-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.revision-list li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.revision-list h2 { margin: 0 0 8px; font-size: 1.45rem; }
.revision-list p { margin: 5px 0; font-size: .88rem; }
.revision-list .button { flex: 0 0 auto; }
.revision-actions { display: grid; gap: 9px; min-width: 245px; }
.not-found { min-height: 620px; display: grid; place-content: center; justify-items: start; }
.not-found h1 { max-width: 760px; margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); line-height: .95; }
.not-found p:not(.eyebrow) { max-width: 520px; }

body[data-motion="paused"] *, body[data-motion="paused"] *::before, body[data-motion="paused"] *::after { animation-play-state: paused !important; transition-duration: 0s !important; }

@media (max-width: 1050px) {
  .header-inner { position: relative; grid-template-columns: auto 1fr; gap: 16px; }
  .main-nav { grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 0 18px; }
  .js .menu-button { display: inline-flex; justify-self: end; }
  .js .main-nav { display: none; position: absolute; grid-column: auto; top: 90px; left: 0; right: 0; z-index: 10; padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: #100917; box-shadow: var(--shadow); }
  .js .main-nav.is-open { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .js .motion-button { display: none; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-band { grid-template-columns: 1fr; }
  .feature-image { min-height: 460px; max-height: 560px; }
  .services-layout { grid-template-columns: 1fr; }
  .services-layout > img { max-height: 520px; }
  .manifesto-grid { grid-template-columns: .3fr 1.2fr; }
  .manifesto-grid > div { grid-column: 2; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-source { grid-column: 2 / -1; }
  .service-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contest-archive ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --wrap: min(1240px, calc(100% - 26px)); --radius: 18px; }
  .header-inner { min-height: 76px; grid-template-columns: auto auto; }
  .brand img { width: 50px; height: 50px; }
  .brand strong, .brand b { font-size: 1.4rem; }
  .brand small { font-size: .47rem; }
  .motion-button { display: none; }
  .main-nav { top: 76px; }
  html:not(.js) .main-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-button span { display: none; }
  .independence-bar { font-size: .63rem; }
  .hero { min-height: 690px; }
  .hero-content { padding: 60px 0 72px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.8rem); }
  .hero-overlay { background: linear-gradient(90deg, rgba(6,4,8,.93), rgba(8,4,12,.46)), linear-gradient(0deg, rgba(8,5,11,.98) 0%, transparent 56%); }
  .hero-edition { display: none; }
  .hero-actions .button { width: 100%; }
  .hero-facts { display: grid; }
  .source-status { grid-template-columns: auto 1fr; }
  .source-status > span:not(.status-dot) { grid-column: 2; }
  .status-time { white-space: normal; }
  .results-section { padding: 70px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .results-grid { grid-template-columns: 1fr; }
  .result-card { min-height: 320px; }
  .section-action { align-items: flex-start; flex-direction: column; }
  .feature-image { min-height: 330px; }
  .feature-copy { padding: 55px 24px; }
  .services-teaser { padding: 76px 0; }
  .services-layout > img { min-height: 320px; }
  .service-mini-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 75px 0; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 20px; }
  .manifesto-grid > div { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > div:first-child, .footer-source { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-hero.compact { padding: 50px 0 58px; }
  .page-hero h1 { font-size: clamp(2.75rem, 14vw, 4.7rem); }
  .filter-bar { grid-template-columns: 1fr; }
  .filter-bar span { justify-self: start; }
  .result-title { align-items: start; flex-direction: column; }
  .result-detail { grid-template-columns: 1fr; padding-top: 50px; }
  .result-panel { padding: 25px 20px; }
  .result-panel > header { flex-direction: column; }
  .estimate { flex-direction: column; gap: 5px; }
  .source-proof { grid-template-columns: 1fr; }
  .source-proof > div:first-child, .source-proof > div:last-child { border-radius: 14px; }
  .archive-callout { align-items: flex-start; flex-direction: column; }
  .contest-archive ol { grid-template-columns: 1fr; }
  .revision-list li { align-items: flex-start; flex-direction: column; }
  .service-cards { grid-template-columns: 1fr; }
  .security-note { grid-template-columns: 1fr; }
  .prose { padding: 60px 0 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(0,0,0,.38); }
  .result-card, .service-cards a, .source-status { border-width: 2px; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .motion-button, .refresh-button { display: none !important; }
  .hero { min-height: 0; color: #000; background: #fff; }
  .hero-image, .hero-overlay { display: none; }
  .hero-content { padding: 30px 0; }
  .hero h1, .hero h1 em { color: #000; text-shadow: none; }
  .result-card, .result-panel, .audit-panel { break-inside: avoid; box-shadow: none; }
  .audit-panel { color: #000; background: #fff; }
}
