/* Trisigma visual system refresh — modern institutional editorial */
:root,
[data-theme="light"] {
  --bg-primary: #f4f7f5;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edf2ef;
  --bg-card: #ffffff;
  --bg-card-hover: #fbfdfc;
  --bg-glass: rgba(255, 255, 255, .94);
  --border-subtle: #e1e9e5;
  --border-strong: #cbd8d2;
  --border-focus: #198477;
  --text-main: #172b32;
  --text-muted: #5c7074;
  --text-light: #849597;
  --accent-gold: #b58d49;
  --accent-gold-light: #d5bd89;
  --accent-gold-dark: #886b37;
  --accent-gold-glow: rgba(181, 141, 73, .16);
  --accent-blue: #176f70;
  --accent-blue-light: #52a49b;
  --accent-blue-dark: #105858;
  --accent-blue-glow: rgba(23, 111, 112, .13);
  --accent-emerald: #25745f;
  --accent-red: #b84d49;
  --shadow-sm: 0 3px 12px rgba(18, 43, 49, .045);
  --shadow-md: 0 14px 36px rgba(18, 43, 49, .085);
  --shadow-lg: 0 28px 70px rgba(18, 43, 49, .15);
  --shadow-glow: 0 0 28px rgba(181, 141, 73, .16);
}

[data-theme="dark"] {
  --bg-primary: #0b191e;
  --bg-secondary: #102329;
  --bg-tertiary: #173139;
  --bg-card: #11272d;
  --bg-card-hover: #183239;
  --bg-glass: rgba(11, 25, 30, .94);
  --border-subtle: rgba(203, 225, 220, .12);
  --border-strong: rgba(203, 225, 220, .22);
  --border-focus: #79c7b7;
  --text-main: #edf5f2;
  --text-muted: #adbfbb;
  --text-light: #829a96;
  --accent-gold: #d2b16e;
  --accent-gold-light: #e0c78f;
  --accent-gold-dark: #a17c3d;
  --accent-gold-glow: rgba(210, 177, 110, .15);
  --accent-blue: #3b988c;
  --accent-blue-light: #84c9bb;
  --accent-blue-dark: #28766e;
  --accent-blue-glow: rgba(59, 152, 140, .19);
  --accent-emerald: #70c0a4;
  --accent-red: #ed8d86;
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, .16);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, .23);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .3);
  --shadow-glow: 0 0 28px rgba(210, 177, 110, .13);
}

html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  color: var(--text-main);
  background: var(--bg-primary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { color: var(--text-main); background: rgba(82, 164, 155, .24); }
:focus-visible { outline: 3px solid var(--border-focus); outline-offset: 3px; }
.container { width: min(100% - 56px, 1320px); padding-inline: 0; }

/* Compact market strip and calmer, clearer navigation */
.ticker-bar { min-height: 36px; background: #10242b; color: #d0ddda; border: 0; }
.ticker-inner {
  min-height: 36px; gap: 12px 30px; flex-wrap: nowrap; justify-content: flex-start;
  overflow-x: auto; scrollbar-width: none; animation: none;
}
.ticker-inner::-webkit-scrollbar { display: none; }
.ticker-item { flex: 0 0 auto; gap: 8px; font-size: 10px; letter-spacing: .035em; white-space: nowrap; }
.ticker-tag { color: #9fb9b3; padding: 0; background: transparent; font-size: 9px; }
.ticker-value { color: #d7bd82; font-weight: 650; }
.site-header { background: var(--bg-glass); border-bottom-color: var(--border-subtle); box-shadow: 0 7px 24px rgba(18, 43, 49, .035); }
.header-inner { min-height: 78px; height: auto; gap: 24px; }
.logo-img { height: 43px; }
.main-nav { gap: clamp(10px, 1.35vw, 22px); }
.nav-link { padding: 9px 0; color: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: -.005em; }
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link.active::after { left: 0; bottom: 1px; width: 20px; height: 2px; background: var(--accent-blue); }
.header-actions { gap: 10px; }
.theme-toggle-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-secondary); border-color: var(--border-subtle); }
.mobile-nav-toggle { width: 42px; height: 42px; border: 1px solid var(--border-subtle); background: var(--bg-secondary); border-radius: 12px; }
.btn { min-height: 44px; padding: .72rem 1.15rem; border-radius: 10px; font-size: 13px; font-weight: 700; letter-spacing: -.005em; }
.btn-sm { min-height: 37px; padding: .53rem .86rem; font-size: 11px; }
.btn-primary { color: #142c2e; background: #d5bd89; border-color: #d5bd89; box-shadow: 0 5px 16px rgba(181, 141, 73, .16); }
.btn-primary:hover { color: #142c2e; background: #e1cb9a; border-color: #e1cb9a; box-shadow: 0 9px 22px rgba(181, 141, 73, .22); transform: translateY(-1px); }
.btn-secondary { color: white; background: var(--accent-blue); border-color: var(--accent-blue); }
.btn-outline { color: var(--text-main); background: transparent; border-color: var(--border-strong); }
.btn-outline:hover { color: var(--text-main); background: var(--bg-tertiary); border-color: var(--accent-blue-light); }

/* Editorial landing area: deep teal, generous type and a discreet data motif */
.hero-section {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0 clamp(58px, 7vw, 88px);
  color: #f3f8f5;
  background:
    radial-gradient(ellipse at 82% 20%, rgba(82, 164, 155, .27), transparent 33%),
    radial-gradient(ellipse at 12% 100%, rgba(181, 141, 73, .12), transparent 35%),
    linear-gradient(116deg, #10262e 0%, #12353c 54%, #16474a 100%);
  border-bottom: 1px solid rgba(208, 231, 222, .12);
}
.hero-section::before {
  z-index: -1; right: -7%; top: -54%; width: min(59vw, 820px);
  border-color: rgba(216, 194, 143, .12);
  box-shadow: 0 0 0 58px rgba(216,194,143,.028), 0 0 0 116px rgba(216,194,143,.022), 0 0 0 174px rgba(216,194,143,.016);
}
.hero-section::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .18;
  background-image: linear-gradient(rgba(211,235,226,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(211,235,226,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 7%, #000 75%);
}
.hero-grid { align-items: center; grid-template-columns: minmax(0, 1.14fr) minmax(350px, .78fr); gap: clamp(36px, 6vw, 88px); }
.hero-badge { padding: 8px 12px; color: #d9c794; background: rgba(211, 189, 137, .08); border: 1px solid rgba(211, 189, 137, .25); border-radius: 99px; font-size: 10px; letter-spacing: .085em; }
.badge-pulse { width: 7px; height: 7px; background: #8bc7aa; box-shadow: none; animation: none; }
.hero-title { max-width: 780px; margin: 22px 0 20px; font-size: clamp(42px, 5.3vw, 72px); line-height: 1.015; font-weight: 620; letter-spacing: -.065em; }
.hero-title span.highlight-gold { color: #d6c18c; -webkit-text-fill-color: #d6c18c; }
.hero-title span.highlight-blue { color: #8dcbc0; -webkit-text-fill-color: #8dcbc0; }
.hero-desc { max-width: 625px; color: #c2d2ce; font-size: 15px; line-height: 1.8; }
.hero-search { max-width: 600px; min-height: 58px; gap: 12px; padding: 7px 8px; margin: 0 0 23px; border: 1px solid rgba(223, 240, 234, .24); border-radius: 13px; background: rgba(6, 24, 29, .24); }
.hero-search svg { color: #a8c1bb; }
.hero-search input { color: #f3f8f5; font-size: 12px; }
.hero-search input::placeholder { color: #a5bbb5; }
.hero-search button { min-height: 42px; border-radius: 9px; color: #132b2d; background: #d5bd89; font-size: 11px; }
.hero-search button:hover { background: #e1cb9a; }
.hero-search-hint { margin: -14px 0 24px 4px; color: #a7bdb7; font-size: 10px; }
.hero-actions { gap: 10px; margin-bottom: 30px; }
.hero-actions .btn-outline { color: #e6f0ec; border-color: rgba(225, 239, 234, .27); }
.hero-actions .btn-outline:hover { color: white; background: rgba(255,255,255,.08); }
.hero-stats-row { gap: 0; padding-top: 22px; border-top-color: rgba(222, 237, 231, .16); }
.stat-item { padding-right: 19px; }
.stat-item + .stat-item { padding-left: 19px; border-left: 1px solid rgba(222, 237, 231, .14); }
.stat-item .stat-num { color: #e2cb91 !important; font-size: 28px; font-weight: 620; letter-spacing: -.055em; }
.stat-item .stat-label { max-width: 160px; color: #afc2bc; font-size: 10px; line-height: 1.55; }
.prototype-note { margin: 16px 0 0; color: #adc0ba; border-left-color: rgba(213, 189, 137, .55); font-size: 10px; }
.hero-card {
  position: relative; overflow: hidden; padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid rgba(223, 240, 234, .18); border-radius: 20px;
  background: linear-gradient(150deg, rgba(15, 42, 49, .88), rgba(12, 34, 41, .88));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .23); backdrop-filter: blur(16px);
}
.hero-card::before { width: 220px; height: 220px; background: radial-gradient(circle, rgba(82,164,155,.22), transparent 70%); }
.hero-card-header { margin-bottom: 15px; padding-bottom: 14px; border-bottom-color: rgba(222, 237, 231, .14); }
.hero-card-title { color: #edf5f1; font-size: 13px; }
.hero-card .live-badge, .hero-card .demo-pill { color: #e0cc99; background: rgba(213,189,137,.09); border: 1px solid rgba(213,189,137,.2); border-radius: 99px; }
.mini-rating-list { gap: 8px; }
.mini-rating-item { padding: 12px 13px; background: rgba(255,255,255,.035); border: 1px solid rgba(222,237,231,.1); border-radius: 12px; }
.hero-card .mini-rating-item { text-decoration: none; }
.mini-rating-item:hover { background: rgba(255,255,255,.075); border-color: rgba(222,237,231,.22); transform: translateX(2px); }
.mini-rating-info h4 { color: #f0f6f3; font-size: 12px; }
.mini-rating-info p { color: #a9bdb7; font-size: 10px; }
.hero-card a { color: #dfc890 !important; }

/* Content rhythm, page titles and reusable surfaces */
.section-wrapper { padding: clamp(64px, 7.2vw, 96px) 0; }
.section-alt { background: #eef3f0; border-color: #e3ebe7; }
[data-theme="dark"] .section-alt { background: #0f2228; border-color: var(--border-subtle); }
.section-head { max-width: 790px; margin: 0 0 32px; text-align: left; }
.section-tag { margin-bottom: 10px; color: var(--accent-blue); font-size: 10px; letter-spacing: .14em; }
.section-title { margin-bottom: 12px; font-size: clamp(29px, 3.5vw, 44px); line-height: 1.1; font-weight: 640; letter-spacing: -.055em; }
.section-subtitle { max-width: 720px; color: var(--text-muted); font-size: 14px; line-height: 1.75; }
main > .section-wrapper h1 { max-width: 900px; margin-bottom: 15px !important; color: var(--text-main); font-size: clamp(36px, 5vw, 58px) !important; line-height: 1.06; font-weight: 640 !important; letter-spacing: -.06em !important; }
main > .section-wrapper > .container > div:first-child > p { max-width: 780px; color: var(--text-muted) !important; font-size: clamp(15px, 1.4vw, 18px) !important; line-height: 1.75 !important; }
.section-wrapper:first-of-type:not(.hero-section) { padding-top: clamp(42px, 6vw, 72px) !important; }
.grid-2, .grid-3, .grid-4 { gap: 18px; }
.card { padding: clamp(21px, 2.6vw, 30px); border: 1px solid var(--border-subtle); border-radius: 18px; background: var(--bg-card); box-shadow: var(--shadow-sm); }
.card:hover { background: var(--bg-card-hover); border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 13px; font-size: 17px; }
.card-title { margin-bottom: 9px; font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.card-text { color: var(--text-muted); font-size: 12px; line-height: 1.75; }
.tech-banner, .dgx-banner { padding: clamp(26px, 4vw, 48px); border: 1px solid rgba(117,190,176,.24); border-radius: 22px; background: radial-gradient(ellipse at 90% 0%, rgba(82,164,155,.24), transparent 38%), linear-gradient(132deg,#102a32,#16464a); }
.tech-step-card { border-radius: 14px; }
main > .section-wrapper:first-of-type > .container > div:nth-child(2):has(.methodology-disclosure) {
  border: 1px solid rgba(117,190,176,.24) !important;
  border-radius: 22px !important;
  background: radial-gradient(ellipse at 90% 0%, rgba(82,164,155,.25), transparent 40%), linear-gradient(132deg,#102a32,#16464a) !important;
  box-shadow: var(--shadow-md);
}
.methodology-disclosure { border-left-color: var(--accent-gold); background: var(--bg-secondary); color: var(--text-muted); }
main > .section-wrapper:first-of-type > .container > div:nth-child(2):has(.methodology-disclosure) .grid-3 > div:nth-child(1) > div:first-child { color: #176f70 !important; }
main > .section-wrapper:first-of-type > .container > div:nth-child(2):has(.methodology-disclosure) .grid-3 > div:nth-child(2) > div:first-child { color: #886b37 !important; }
main > .section-wrapper:first-of-type > .container > div:nth-child(2):has(.methodology-disclosure) .grid-3 > div:nth-child(3) > div:first-child { color: #105858 !important; }
.calc-container { gap: clamp(22px, 4vw, 52px); padding: clamp(22px, 3.4vw, 38px); border-color: var(--border-subtle); border-radius: 20px; box-shadow: var(--shadow-md); }
.calc-results-panel { border-radius: 16px; padding: 25px; }
.calc-result-grade { font-size: clamp(48px, 6vw, 70px); letter-spacing: -.07em; }
.calc-label { font-size: 12px; }
.calc-val-badge { border-radius: 8px; }
.calc-slider { accent-color: var(--accent-blue); }
.form-control { min-height: 44px; border-radius: 10px; background: var(--bg-secondary); border-color: var(--border-strong); }
.form-control:focus { background: var(--bg-secondary); border-color: var(--border-focus); box-shadow: 0 0 0 3px var(--accent-blue-glow); }

/* Registry and scoring components */
.filter-bar { gap: 14px; margin-bottom: 18px; }
.filter-pills { gap: 7px; }
.pill-btn { padding: 8px 13px; color: var(--text-muted); background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: 99px; font-size: 11px; font-weight: 650; }
.pill-btn:hover { color: var(--text-main); border-color: var(--border-strong); }
.pill-btn.active { color: white; background: var(--accent-blue); border-color: var(--accent-blue); box-shadow: none; }
.search-input { padding: 11px 14px 11px 38px; color: var(--text-main); background: var(--bg-secondary); border: 1px solid var(--border-strong); border-radius: 10px; font-size: 12px; }
.search-input:focus { background: var(--bg-secondary); border-color: var(--border-focus); box-shadow: 0 0 0 3px var(--accent-blue-glow); }
.table-responsive { border-color: var(--border-subtle); border-radius: 16px; background: var(--bg-card); box-shadow: var(--shadow-sm); }
.ratings-table { font-size: 12px; }
.ratings-table th { padding: 14px 16px; color: var(--text-muted); background: var(--bg-tertiary); font-size: 9px; letter-spacing: .1em; }
.ratings-table td { padding: 14px 16px; border-bottom-color: var(--border-subtle); }
.ratings-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg-card) 95%, var(--accent-blue) 5%); }
.ratings-table tbody tr:hover { background: var(--bg-card-hover); }
.entity-name { font-size: 12px; }
.entity-meta { font-size: 10px; }
.rating-badge { border-radius: 8px; padding: 5px 9px; font-size: 11px; letter-spacing: .01em; }
.outlook-tag { font-size: 11px; }
.scale-grid { gap: 12px; }
.scale-card { padding: 16px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.scale-risk, .scale-desc { font-size: 10px; }

/* Clear prototype notices; distinguish them from official decisions */
.demo-strip { padding: 9px 0; color: #63542f; background: #f4efdf; border-bottom: 1px solid #e9dfc8; font-size: 10px; line-height: 1.55; }
.demo-strip-mark { background: #b58d49; }
[data-theme="dark"] .demo-strip { color: #e2d2aa; background: #302a1d; border-color: rgba(210,177,110,.2); }
.demo-callout { align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid #e8ddc4; border-radius: 13px; background: #fbf8ef; color: #625532; font-size: 11px; line-height: 1.7; }
.demo-callout .demo-pill { flex: 0 0 auto; align-self: flex-start; white-space: nowrap; }
.demo-callout strong { color: #514421; }
[data-theme="dark"] .demo-callout { color: #cbbd9c; background: #28261f; border-color: rgba(210,177,110,.2); }
[data-theme="dark"] .demo-callout strong { color: #e2d2aa; }
.demo-pill { padding: 4px 8px; color: #67562e; background: #f2e8cf; border-color: #e2d1a7; border-radius: 99px; font-size: 9px; }
[data-theme="dark"] .demo-pill { color: #e2d2aa; background: #39311f; border-color: rgba(210,177,110,.22); }

/* Press releases and analytical disclosure */
.release-page-section { padding-top: clamp(40px, 5vw, 68px); }
.release-hero { grid-template-columns: minmax(0, 1fr) 190px; gap: 2rem; padding: clamp(24px, 4vw, 50px); border-color: var(--border-subtle); border-radius: 22px; background: radial-gradient(ellipse at 85% 8%, rgba(82,164,155,.13), transparent 35%), var(--bg-secondary); box-shadow: var(--shadow-sm); }
.release-hero h1 { font-size: clamp(36px, 4.8vw, 58px); line-height: 1.05; font-weight: 640; letter-spacing: -.06em; }
.release-hero p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.release-hero-mark { border-color: rgba(181,141,73,.36); color: var(--accent-gold); box-shadow: 0 0 0 16px rgba(181,141,73,.035), 0 0 0 34px rgba(23,111,112,.025); }
.release-hero-mark i { background: var(--accent-blue-light); }
.release-disclosure-banner { border-color: rgba(181,141,73,.26); border-radius: 15px; background: linear-gradient(110deg, rgba(181,141,73,.09), rgba(23,111,112,.035)); }
.release-toolbar { margin-top: 1.8rem; }
.release-search { border-color: var(--border-subtle); border-radius: 11px; box-shadow: var(--shadow-sm); }
.release-card { border-color: var(--border-subtle); border-radius: 16px; box-shadow: var(--shadow-sm); }
.release-card:hover, .release-card:has(.release-details[open]) { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.release-summary { gap: 1.4rem; padding: 1.25rem 1.4rem; }
.release-summary-main h2 { font-size: 1.08rem; letter-spacing: -.025em; }
.release-kicker { color: var(--accent-blue); }
.release-summary-stats { border-color: var(--border-subtle); }
.release-details[open] .release-summary { background: linear-gradient(100deg, rgba(23,111,112,.055), transparent 72%); }
.commentary-panel { border-color: rgba(23,111,112,.19); border-radius: 14px; background: linear-gradient(125deg, rgba(23,111,112,.065), rgba(82,164,155,.025)); }
.commentary-icon { color: var(--accent-blue); background: rgba(23,111,112,.1); }
.metric-grid, .factor-grid { border-color: var(--border-subtle); border-radius: 11px; }
.metric-cell, .factor-cell { border-color: var(--border-subtle); }
.release-method-note { border-color: var(--border-subtle); border-radius: 15px; box-shadow: var(--shadow-sm); }

.site-footer { padding: 56px 0 24px; color: #b2c3be; background: #0d2026; border-top: 1px solid rgba(214,232,225,.1); }
.site-footer .footer-top { gap: 34px; margin-bottom: 32px; }
.footer-col h5 { color: #eff5f2; font-size: 12px; letter-spacing: .04em; }
.footer-links { gap: 10px; font-size: 11px; }
.footer-links a:hover { color: #dfc890; }
.footer-bottom { padding-top: 19px; border-color: rgba(214,232,225,.13); font-size: 10px; }
.footer-disclaimer { border-radius: 13px; }

@media (max-width: 1080px) {
  .main-nav { gap: 11px; }
  .nav-link { font-size: 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .9fr); gap: 34px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { max-width: 700px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 36px, 1320px); }
  .header-inner { min-height: 68px; }
  .logo-img { height: 38px; }
  .header-actions > .btn { display: none; }
  .hero-section { padding: 48px 0 50px; }
  .hero-title { margin-top: 18px; font-size: clamp(39px, 11.2vw, 54px); }
  .hero-desc { font-size: 14px; }
  .hero-search { min-height: 54px; }
  .hero-actions { align-items: stretch; gap: 8px; margin-bottom: 24px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-item { padding-right: 9px; }
  .stat-item + .stat-item { padding-left: 9px; }
  .stat-item .stat-num { font-size: 21px; }
  .stat-item .stat-label { font-size: 9px; }
  .section-wrapper { padding: 54px 0; }
  .section-head { margin-bottom: 24px; }
  .section-title { font-size: 30px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .filter-bar { align-items: stretch; }
  .search-box-wrapper { min-width: 100%; }
  .ratings-table { min-width: 760px; }
  .table-scroll-hint { display: block; margin: 0 0 8px; color: var(--text-muted); font-size: 10px; }
  .table-responsive { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
  .ratings-table th:first-child, .ratings-table td:first-child { position: sticky; left: 0; }
  .ratings-table th:first-child { z-index: 3; }
  .ratings-table td:first-child { z-index: 1; background: var(--bg-card); box-shadow: 6px 0 10px -10px rgba(0,0,0,.7); }
  .ratings-table tbody tr:hover td:first-child { background: var(--bg-card-hover); }
  .ticker-inner { flex-wrap: nowrap; justify-content: flex-start; gap: 20px; overflow-x: auto; padding: 0 0 4px; }
  .calc-container { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-group, .form-control { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .form-group.full { grid-column: span 1; }
  #requestForm { width: 100%; padding: 20px !important; }
  .registry-actions { gap: 8px !important; }
  .registry-actions > * { max-width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-search { flex-wrap: wrap; }
  .hero-search input { flex-basis: calc(100% - 54px); }
  .hero-search button { width: 100%; }
  .demo-strip { font-size: 9px; }
  .release-hero { grid-template-columns: 1fr; padding: 24px; }
  .release-hero-mark { display: none; }
  .release-summary { grid-template-columns: 1fr; gap: .9rem; padding: 1rem; }
  .release-summary-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: .8rem 0 0; border-left: 0; border-top: 1px solid var(--border-subtle); }
  .release-open-label { grid-column: auto; justify-self: end; margin-top: -.3rem; }
  .release-body { padding: .9rem; }
  .release-status-line { flex-direction: column; }
  .metric-grid, .factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release-two-column { grid-template-columns: 1fr; gap: .4rem; }
  .release-section-heading { align-items: start; flex-direction: column; gap: .35rem; }
  .release-method-note { grid-template-columns: 35px 1fr; padding: 1rem; }
}
@media (max-width: 400px) {
  .container { width: min(100% - 28px, 1320px); }
  .hero-stats-row { gap: 5px; }
  .stat-item { padding-right: 5px; }
  .stat-item + .stat-item { padding-left: 7px; }
  .stat-item .stat-label { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
