:root {
  --bg: #f4efe3;
  --surface: #fffdf4;
  --surface-soft: #f0e9da;
  --surface-muted: #e4dac7;
  --text: #17140f;
  --muted: #514b42;
  --muted-soft: #71695e;
  --line: #17140f;
  --line-strong: #17140f;
  --brand: #f47b45;
  --brand-strong: #d85d2c;
  --brand-soft: #ffe1cf;
  --blue: #276b62;
  --accent: #ffd84d;
  --support: #56c5b3;
  --panel: #17140f;
  --panel-soft: #2a251e;
  --panel-border: #17140f;
  --shadow-sm: 3px 3px 0 var(--line);
  --shadow-md: 5px 5px 0 var(--line);
  --shadow-lg: 8px 8px 0 var(--line);
  --content-max: 62.5rem;
  --radius-lg: 0.625rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 0.875rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(23, 20, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 20, 15, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

main,
section,
article,
header,
footer,
nav,
aside,
div {
  min-width: 0;
}

.container,
.max-w-7xl,
.max-w-6xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl,
.max-w-2xl,
.max-w-lg,
.max-w-none {
  width: min(100%, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.container,
.max-w-7xl,
.max-w-6xl,
.max-w-5xl { max-width: var(--content-max); }
.max-w-4xl { max-width: 58rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }
.max-w-none { max-width: none; width: 100%; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.hidden { display: none; }
[data-option-extra][hidden],
[data-option-toggle][hidden] { display: none !important; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.self-start { align-self: flex-start; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.cursor-pointer { cursor: pointer; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.min-w-0 { min-width: 0; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-full { width: 100%; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }
.inset-0 { inset: 0; }
.top-10 { top: 2.5rem; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }
.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;
}

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }

.m-0 { margin: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }

.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-xl); }
.rounded-3xl { border-radius: var(--radius-2xl); }
.rounded-\[2rem\] { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: 999px; }

.border { border: 2px solid var(--line); }
.border-2 { border: 2px solid var(--line); }
.border-t { border-top: 2px solid var(--line); }
.border-b { border-bottom: 2px solid var(--line); }

.bg-white { background: var(--surface); }
.bg-gray-50,
.bg-slate-50,
.bg-stone-50 { background: var(--surface-soft); }
.bg-slate-100,
.bg-gray-100,
.bg-stone-100 { background: #ebddd1; }
.bg-blue-100 { background: #e7ecef; }
.bg-indigo-100 { background: #ece7e3; }
.bg-red-100 { background: #fee2e2; }
.bg-yellow-50 { background: #fff6df; }
.bg-orange-50 { background: #fff4eb; }
.bg-orange-100 { background: #fbe7d7; }
.bg-orange-400\/10 { background: rgba(251, 146, 60, 0.1); }
.bg-rose-50 { background: #fff1f2; }
.bg-rose-100 { background: #ffe4e6; }
.bg-sky-50 { background: #eff1f2; }
.bg-sky-100 { background: #e2e8eb; }

.bg-emerald-50 { background: #ecfdf5; }
.bg-emerald-100 { background: #d1fae5; }
.bg-violet-50 { background: #f5f3ff; }
.bg-violet-100 { background: #ede9fe; }
.bg-slate-900,
.bg-slate-950,
.bg-emerald-950 { background: var(--panel); }
.bg-slate-800 { background: var(--panel-soft); }
.bg-white\/5 { background: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background: rgba(255, 255, 255, 0.1); }
.bg-white\/90 { background: rgba(255, 255, 255, 0.9); }
.bg-\[\#fffaf5\] { background: #fffaf5; }
.bg-orange-400 { background: #fb923c; }
.bg-orange-500 { background: var(--brand); }
.bg-blue-600 { background: var(--blue); }
.bg-gradient-to-r { background-image: linear-gradient(90deg, #2563eb, #6366f1); }
.bg-gradient-to-br { background-image: linear-gradient(135deg, #dbeafe, #e0e7ff); }
.from-blue-600 {}
.to-indigo-600 {}
.from-red-600 {}
.to-orange-600 {}

.text-white { color: #fff; }
.text-gray-900,
.text-slate-900,
.text-stone-900 { color: var(--text); }
.text-gray-700,
.text-slate-700,
.text-stone-700 { color: var(--muted); }
.text-gray-600,
.text-slate-600,
.text-stone-600 { color: var(--muted); }
.text-gray-500,
.text-slate-500,
.text-stone-500 { color: var(--muted-soft); }
.text-gray-400,
.text-slate-400,
.text-stone-400 { color: #9c8c81; }
.text-slate-300,
.text-emerald-100,
.text-emerald-50 { color: #d8cbc0; }
.text-slate-950 { color: var(--text); }
.text-orange-200 { color: #fed7aa; }
.text-orange-600,
.text-orange-700 { color: var(--brand-strong); }
.text-orange-500 { color: var(--brand); }
.text-yellow-700 { color: #a16207; }
.text-amber-400 { color: #fbbf24; }
.text-blue-600 { color: var(--blue); }
.text-blue-700 { color: #55697e; }
.text-red-600 { color: #dc2626; }
.text-\[\#4D65FF\] { color: #4D65FF; }
.text-green-500 { color: #22c55e; }
.text-cyan-200 { color: #a5f3fc; }
.text-cyan-300 { color: #67e8f9; }
.text-violet-700 { color: #6d28d9; }
.text-emerald-700 { color: #047857; }
.text-emerald-800 { color: #065f46; }
.text-sky-700 { color: #647988; }

.text-xs { font-size: 0.75rem; line-height: 1.35; }
.text-sm { font-size: 0.925rem; line-height: 1.55; }
.text-base { font-size: 1rem; line-height: 1.65; }
.text-lg { font-size: 1.125rem; line-height: 1.6; }
.text-xl { font-size: 1.35rem; line-height: 1.4; }
.text-2xl { font-size: 1.75rem; line-height: 1.25; }
.text-3xl { font-size: 2.2rem; line-height: 1.15; }
.text-4xl { font-size: clamp(2.5rem, 5vw, 3.6rem); line-height: 1.05; }
.text-5xl { font-size: clamp(3rem, 6vw, 4.3rem); line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 5.5rem; line-height: 0.95; }
.text-9xl { font-size: 6.5rem; line-height: 0.9; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.03em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

.leading-7 { line-height: 1.8; }
.leading-8 { line-height: 1.9; }
.leading-none { line-height: 1; }

.shadow,
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-lg,
.shadow-xl { box-shadow: var(--shadow-md); }
.shadow-2xl { box-shadow: var(--shadow-lg); }

.transition,
.transition-all { transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.transition-colors { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.transition-shadow { transition: box-shadow 160ms ease; }
.transition-transform { transition: transform 160ms ease; }

.ring-1 { box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9); }
.ring-inset {}
.ring-yellow-600\/20 { box-shadow: inset 0 0 0 1px rgba(202, 138, 4, 0.2); }
.ring-orange-200\/40,
.ring-orange-100,
.ring-stone-200 { box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-orange-400\/30 { border-color: rgba(251, 146, 60, 0.3); }

.bg-\[radial-gradient\(circle_at_top_left,_rgba\(249\,115\,22\,0\.26\)\,_transparent_32\%\)\,radial-gradient\(circle_at_center_right,_rgba\(14\,165\,233\,0\.18\)\,_transparent_30\%\)\] {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.26), transparent 32%),
    radial-gradient(circle at center right, rgba(14, 165, 233, 0.18), transparent 30%);
}

.bg-\[radial-gradient\(circle_at_top_left\,_rgba\(34\,211\,238\,0\.16\)\,_transparent_32\%\)\,radial-gradient\(circle_at_bottom_right\,_rgba\(59\,130\,246\,0\.18\)\,_transparent_30\%\)\,\#020617\] {
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 30%),
    #020617;
}

.prose {
  color: var(--muted);
}
.prose p {
  margin: 0 0 1rem;
}
.prose h2,
.prose h3 {
  color: var(--text);
  margin: 2rem 0 1rem;
  line-height: 1.2;
}
.prose ul {
  margin: 1rem 0 1.25rem 1.25rem;
}
.prose li + li {
  margin-top: 0.45rem;
}
.prose code {
  padding: 0.15rem 0.4rem;
  border-radius: 0.4rem;
  background: #f4e6da;
  color: #8f5435;
}

.group:hover .group-hover\:text-orange-600,
.hover\:text-orange-600:hover { color: var(--brand-strong); }
.group:hover .group-hover\:text-orange-400,
.hover\:text-orange-400:hover { color: #fb923c; }
.hover\:text-blue-600:hover,
.hover\:underline:hover { color: var(--blue); text-decoration: underline; }
.hover\:text-white:hover { color: #fff; }
.hover\:bg-slate-700:hover { background: #6f594d; }
.hover\:bg-slate-50:hover { background: #f3e8dc; }
.hover\:bg-orange-400:hover { background: #fb923c; }
.hover\:bg-orange-300:hover { background: #fdba74; }
.hover\:bg-blue-50:hover { background: #eef0f2; }
.hover\:border-blue-300:hover { border-color: #b4c0ca; }
.hover\:border-orange-300:hover { border-color: #fdba74; }
.hover\:border-sky-300:hover { border-color: #7dd3fc; }
.hover\:border-violet-300:hover { border-color: #c4b5fd; }
.hover\:border-emerald-300:hover { border-color: #6ee7b7; }
.hover\:shadow-lg:hover,
.hover\:shadow-xl:hover { box-shadow: var(--shadow-md); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:scale-105:hover { transform: scale(1.05); }
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

.page-error .error-content {
  padding: 2rem 0;
}

.page-error .btn-primary,
.page-error .btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.site-header {
  backdrop-filter: blur(16px) saturate(1.06);
  background: linear-gradient(180deg, rgba(247, 241, 234, 0.92), rgba(242, 232, 220, 0.84));
  border-bottom: 1px solid rgba(221, 208, 195, 0.92);
  box-shadow: 0 10px 26px rgba(78, 52, 37, 0.06);
}

.site-nav-list,
.site-nav-item,
.site-header nav ul,
.site-header nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-list {
  list-style-type: none;
}

.site-nav-item {
  display: block;
}

.site-nav-item::before,
.site-nav-item::after,
.site-header nav li::marker {
  content: "";
  display: none;
}

.site-brand {
  color: inherit;
}

.site-brand-mark {
  background: rgba(217, 119, 69, 0.08);
  box-shadow: inset 0 0 0 1px rgba(217, 119, 69, 0.16);
  color: var(--brand);
}

.site-brand:hover .site-brand-mark {
  background: rgba(217, 119, 69, 0.14);
  box-shadow: inset 0 0 0 1px rgba(217, 119, 69, 0.26);
  color: var(--brand-strong);
}

.site-brand-logo {
  flex: 0 0 2.75rem;
  display: block;
  height: 2.75rem;
  max-width: none;
  width: 2.75rem;
}

.site-brand-text {
  color: var(--text);
}

.site-brand:hover .site-brand-text {
  color: var(--brand-strong);
}

.site-nav-link {
  color: var(--muted);
}

.site-nav-link:hover {
  color: var(--text);
}

.site-header-cta {
  background: var(--brand);
  color: #fffaf5;
  box-shadow: 0 12px 26px rgba(184, 95, 51, 0.18);
}

.site-header-cta:hover {
  background: #cd6e3f;
}

.site-footer {
  margin-top: 3rem;
  background:
    radial-gradient(circle at top right, rgba(245, 213, 182, 0.16), transparent 24%),
    linear-gradient(180deg, #e8d9cb 0%, #e0d0c1 100%);
  color: var(--muted);
  border-top: 1px solid rgba(207, 190, 173, 0.92);
}

.site-footer-title {
  color: var(--text);
}

.site-footer-link {
  color: var(--muted-soft);
}

.site-footer-link:hover {
  color: var(--brand-strong);
}

.site-footer-meta {
  border-color: rgba(207, 190, 173, 0.92);
  color: var(--muted-soft);
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: var(--muted-soft);
  list-style: none;
}

.breadcrumb-trail ol,
.breadcrumb-trail ul,
.breadcrumb-trail li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-trail li::marker {
  content: "";
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb-link {
  color: var(--muted-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--blue);
}

.breadcrumb-separator {
  color: #94a3b8;
  line-height: 1;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-1 { flex: 1 1 0%; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:text-5xl { font-size: 4rem; line-height: 1; }
  .sm\:p-8 { padding: 2rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-1 { flex: 1 1 0%; }
  .md\:items-center { align-items: center; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:text-4xl { font-size: 3rem; line-height: 1.05; }

}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:sticky { position: sticky; }
  .lg\:self-start { align-self: flex-start; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:top-10 { top: 2.5rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-5xl { font-size: 4rem; line-height: 1; }
  .lg\:text-4xl { font-size: 3.2rem; line-height: 1.05; }
  .lg\:text-3xl { font-size: 2.2rem; line-height: 1.15; }
  .lg\:grid-cols-\[0\.92fr_1\.08fr\] { grid-template-columns: 0.92fr 1.08fr; }
  .lg\:grid-cols-\[1\.1fr_0\.9fr\] { grid-template-columns: 1.1fr 0.9fr; }
  .lg\:grid-cols-\[1\.3fr_1fr_1fr\] { grid-template-columns: 1.3fr 1fr 1fr; }
  .lg\:grid-cols-\[1\.05fr_0\.95fr\] { grid-template-columns: 1.05fr 0.95fr; }
  .lg\:grid-cols-\[1\.2fr_1fr\] { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .container,
  .max-w-7xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-2xl {
    width: min(100%, calc(100vw - 1.25rem));
  }

  .p-8,
  .px-8,
  .py-12,
  .py-16 {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .p-7 { padding: 1.35rem; }
  .p-6 { padding: 1.15rem; }
  .p-5 { padding: 1rem; }
  .text-4xl { font-size: 2.25rem; }
  .text-5xl { font-size: 2.55rem; }
  .text-3xl { font-size: 1.95rem; }
  .text-2xl { font-size: 1.55rem; }

  .breadcrumb-trail {
    row-gap: 0.5rem;
    column-gap: 0.35rem;
  }
}

/* Shared public-site interaction and surface styles. */

a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.page-static h1,
.page-static h2,
.page-static h3,
.page-error h1,
.page-error h2,
.page-error h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.page-static article {
  border: 2px solid var(--line);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.page-static article > section {
  padding-top: 1.5rem;
  border-top: 2px solid var(--line);
}

.page-static article a {
  color: var(--brand-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2rem;
}

.site-header {
  background: rgba(244, 239, 227, 0.97);
  border-bottom: 2px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
}

.site-brand-mark {
  background: #fff3b8;
  border: 2px solid #c48716;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 0 #9a650d;
  color: #c48716;
  padding: 0.32rem;
  transform: rotate(-2deg);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.site-brand:hover .site-brand-mark {
  background: #ffe68a;
  box-shadow: 3px 3px 0 #9a650d;
  color: #b47410;
  transform: rotate(0deg) translate(-1px, -1px);
}

.site-brand-text,
.site-nav-link {
  color: var(--text);
  font-weight: 750;
}

.site-nav-list {
  width: fit-content;
  margin-left: auto;
  padding: 0.35rem;
  border: 2px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--line);
}

.site-nav-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0.5rem 0.65rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav-link:hover {
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
}

.site-header-cta {
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 0.5rem;
  background: var(--brand);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.site-header-cta:hover {
  background: var(--accent);
  color: var(--text);
  box-shadow: var(--shadow-md);
  transform: translate(-2px, -2px);
}

.site-header-cta:active {
  box-shadow: 1px 1px 0 var(--line);
  transform: translate(2px, 2px);
}

.site-header-nav .site-nav-link[aria-current="page"],
body:has(#start-submit:target) .site-header-nav a[href$="#start-submit"],
body:has(#latest-releases:target) .site-header-nav a[href$="#latest-releases"],
body:has(#categories:target) .site-header-nav a[href$="#categories"],
body:has(#news-types:target) .site-header-nav a[href$="#news-types"] {
  background: var(--brand);
  color: #fffaf5;
  box-shadow: var(--shadow-sm);
}

.site-header-nav .site-nav-link[aria-current="page"]:hover,
body:has(#start-submit:target) .site-header-nav a[href$="#start-submit"]:hover,
body:has(#latest-releases:target) .site-header-nav a[href$="#latest-releases"]:hover,
body:has(#categories:target) .site-header-nav a[href$="#categories"]:hover,
body:has(#news-types:target) .site-header-nav a[href$="#news-types"]:hover {
  background: var(--brand-strong);
  color: #fffaf5;
}

.site-footer {
  position: relative;
  margin-top: 4rem;
  background: var(--panel);
  background-image: none;
  border-top: 2px solid var(--line);
  color: #f4efe3;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.5rem;
  background: var(--brand);
}

.site-footer-title,
.site-footer-link,
.site-footer-meta {
  color: #f4efe3;
}

.site-footer > div > .grid {
  display: block;
}

.site-footer-title {
  margin-bottom: 1rem;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.site-footer ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 0;
  list-style: none;
}

.site-footer-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(244, 239, 227, 0.28);
  border-radius: 0.4rem;
  background: var(--panel-soft);
  color: #f4efe3;
  font-weight: 650;
  line-height: 1.35;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.site-footer-link:hover {
  border-color: var(--accent);
  background: var(--brand);
  color: var(--text);
  transform: translateY(-1px);
}

.site-footer-meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-color: rgba(244, 239, 227, 0.35);
}

.site-footer-meta p {
  text-align: left;
}


input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select {
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--text);
  box-shadow: 2px 2px 0 var(--line);
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--line);
  box-shadow: 4px 4px 0 var(--brand);
  outline: 0;
  transform: translate(-1px, -1px);
}

.page-error main > div,
body:not([class*="page-"]) main > .container,
body:not([class*="page-"]) main > section {
  color: var(--text);
}

@media (min-width: 1024px) {
  .lg\:items-start { align-items: start; }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_360px\] { grid-template-columns: minmax(0, 1fr) 360px; }
  .lg\:grid-cols-\[0\.9fr_1\.1fr\] { grid-template-columns: 0.9fr 1.1fr; }
}

@media (max-width: 767px) {
  .site-footer ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-link {
    height: 100%;
  }

  .site-footer { margin-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Error pages share the public site's physical component language. */
.page-error .error-page-container {
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.page-error .error-content {
  width: min(100%, 42rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 2px solid var(--line);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.page-error .error-illustration {
  margin-bottom: 1.5rem;
}

.page-error .error-illustration-shell {
  display: flex;
  width: 7rem;
  height: 7rem;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
}

.page-error .error-illustration-shell--blue {
  background: var(--support);
}

.page-error .error-illustration-shell--red {
  background: var(--brand-soft);
}

.page-error .error-illustration-icon {
  color: var(--text);
  font-size: 4rem;
  line-height: 1;
}

.page-error .error-code {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: clamp(5.5rem, 14vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.page-error .error-title {
  margin: 0 0 1.25rem;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.page-error .error-message {
  width: min(100%, 32rem);
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.page-error .error-actions,
.page-error .error-suggestion-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
}

.page-error .error-btn,
.page-error .error-suggestion-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--line);
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.page-error .error-btn--primary {
  padding: 0.9rem 1.5rem;
  background: var(--brand);
  box-shadow: var(--shadow-sm);
}

.page-error .error-btn--secondary {
  padding: 0.9rem 1.5rem;
  background: var(--surface-soft);
}

.page-error .error-btn:hover,
.page-error .error-suggestion-link:hover {
  background: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translate(-2px, -2px);
}

.page-error .error-suggestions,
.page-error .error-help {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
}

.page-error .error-suggestions-title {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.page-error .error-help-card {
  padding: 1.25rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: 2px 2px 0 var(--line);
}

.page-error .error-help-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.page-error .error-help-icon {
  margin-top: 0.2rem;
  flex-shrink: 0;
  color: var(--brand-strong);
  font-size: 1.6rem;
}

.page-error .error-help-title {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1.1rem;
}

.page-error .error-help-text {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-error .error-help-text:last-child {
  margin-bottom: 0;
}

.page-error .error-btn-icon {
  font-size: 1rem;
  line-height: 1;
}

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

/* HereIsPR release directory layout */
.page-release-home .release-home-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.page-release-home .release-home-value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.page-release-home .release-home-explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.page-release-home .site-header {
  border-bottom: 0;
}

.page-release-home .site-header > div {
  border-bottom: 2px solid var(--line);
}

.page-release-home .site-footer {
  border-top: 0;
}

.page-release-home .site-footer > div {
  border-top: 2px solid var(--line);
}

.page-release-search .release-list-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.page-release-search .release-list-filter-grid > fieldset {
  min-width: 0;
}

.page-release-search .release-news-type-details {
  min-width: 0;
}

.page-release-search .release-news-type-summary {
  cursor: pointer;
  list-style-position: inside;
}

.page-release-search .release-news-type-summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.page-release-search .release-news-type-checkbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-height: 15rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.page-release-search .release-news-type-checkbox {
  min-width: 0;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.page-release-search .release-news-type-checkbox input {
  min-width: 1rem;
  min-height: 1rem;
  accent-color: var(--brand);
}

.page-release-search .release-date-range {
  min-width: 0;
}

.page-release-search .release-filter-actions {
  min-width: 0;
}

@media (min-width: 640px) {
  .page-release-search .release-news-type-checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .page-release-home .release-home-workspace-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(28rem, 1.18fr);
  }

  .page-release-home .release-home-value-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-release-home .release-home-explainer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-release-search .release-list-filter-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(11rem, 0.7fr) minmax(11rem, 0.7fr);
  }

  .page-release-search .release-news-type-checkbox-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* The release header keeps navigation visible while allowing the menu to wrap. */
.site-header-layout,
.site-header-nav {
  min-width: 0;
}

@media (min-width: 1180px) {
  .site-header-layout {
    flex-wrap: nowrap;
  }
}

@media (max-width: 767px) {
  .site-header-layout {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-header-brand {
    flex: 1 0 100%;
    margin-right: 0;
  }

  .site-header-nav {
    flex: 1 0 100%;
  }

  .site-header-nav ul {
    justify-content: flex-start;
  }
}

.site-search-form input {
  min-width: 0;
}

/* Release submission: task-oriented form experience. */
.page-release-home .release-submit-container,
.page-release-detail .release-detail-container {
  max-width: 76rem;
}

.release-submit-page,
.release-detail-page {
  padding: clamp(2rem, 5vw, 4.5rem) 0 5rem;
}

.release-submit-hero {
  max-width: 58rem;
  margin-bottom: 2rem;
}

.release-submit-eyebrow,
.release-submit-section-label,
.release-detail-eyebrow,
.release-detail-section-label {
  margin: 0 0 0.45rem;
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.release-submit-hero h1,
.release-detail-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.35rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.release-submit-lead,
.release-detail-lead {
  max-width: 54rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.release-submit-facts,
.release-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.release-submit-facts div,
.release-detail-facts div {
  padding: 0.8rem 0.95rem;
  border: 2px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--line);
}

.release-submit-facts dt,
.release-detail-facts dt,
.release-detail-data dt,
.release-detail-aside dt {
  color: var(--muted-soft);
  font-size: 0.75rem;
  font-weight: 800;
}

.release-submit-facts dd,
.release-detail-facts dd,
.release-detail-data dd,
.release-detail-aside dd {
  margin: 0.15rem 0 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.release-submit-section-heading {
  max-width: 50rem;
  margin-bottom: 1.5rem;
}

.release-submit-section-heading h2,
.release-submit-received h2,
.release-detail-section h2,
.release-detail-body h2,
.release-detail-key-points h2,
.release-detail-publisher h2,
.release-detail-contact h2,
.release-detail-discovery h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.release-submit-layout,
.release-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.release-submit-current-type,
.release-submit-progress-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid var(--line);
  background: var(--accent);
}

.release-submit-current-type div,
.release-submit-progress-note {
  flex-wrap: wrap;
}

.release-submit-current-type span {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
}

.release-submit-current-type strong {
  display: block;
  font-size: 1.15rem;
}

.release-submit-current-type a,
.release-detail-breadcrumb a,
.release-detail-facts a,
.release-detail-section a,
.release-detail-publisher a,
.release-detail-aside a,
.release-detail-discovery a,
.release-submit-aside a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.release-submit-progress-note {
  margin: 0.75rem 0 1rem;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.9rem;
}

.release-submit-stage {
  margin-bottom: 1rem;
  border: 2px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 1rem;
  overflow: clip;
}

.release-submit-stage summary {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0 0.75rem;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}

.release-submit-stage summary::-webkit-details-marker { display: none; }

.release-submit-stage summary > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--accent);
  font-weight: 900;
}

.release-submit-stage summary strong { font-size: 1.05rem; }
.release-submit-stage summary small { color: var(--muted); }
.release-submit-stage[open] summary { border-bottom: 2px solid var(--line); background: var(--surface-soft); }

.release-submit-stage-body {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.release-submit-stage-body > p:first-child {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.release-submit-form .form-field { margin-top: 1.25rem; }
.release-submit-form .form-field label { display: block; margin-bottom: 0.35rem; font-weight: 800; }
.release-submit-form .form-field input:not([type="hidden"]),
.release-submit-form .form-field textarea,
.release-submit-form .form-field select { width: 100%; padding: 0.8rem; }
.release-submit-form .form-field textarea { min-height: 8rem; resize: vertical; }
.release-submit-form .form-help { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.82rem; }
.release-submit-form .form-error,
.release-submit-form .form-errors { color: #8f1d16; font-weight: 750; }
.release-submit-form .form-errors { margin-bottom: 1rem; padding: 1rem; border: 2px solid #8f1d16; background: #fff0ee; }

.release-submit-final-check,
.release-submit-aside-note,
.release-detail-notice {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 2px solid var(--line);
  background: var(--brand-soft);
}

.release-submit-final-check h3 { margin: 0; }
.release-submit-final-check ul { margin-bottom: 0; padding-left: 1.25rem; }

.release-submit-button,
.release-submit-actions .button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--line);
  border-radius: 0.45rem;
  background: var(--brand);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 850;
}

.release-submit-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.release-submit-actions .button-secondary { background: var(--surface); }
.release-submit-submit-note { color: var(--muted); font-size: 0.85rem; }

.release-submit-aside,
.release-detail-aside {
  position: sticky;
  top: 1rem;
  padding: 1.1rem;
  border: 2px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.release-submit-aside h2,
.release-detail-aside h2 { margin: 0; font-size: 1.1rem; }
.release-submit-aside h3,
.release-detail-aside h3 { margin: 1.25rem 0 0.4rem; font-size: 0.95rem; }
.release-submit-aside ul,
.release-submit-aside ol,
.release-detail-aside ul { padding-left: 1.2rem; }

.release-submit-received {
  max-width: 48rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 2px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* Release detail: answer-first article and verification context. */
.release-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.55rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.release-detail-hero { max-width: 64rem; }
.release-detail-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.release-detail-image {
  width: 100%;
  max-height: 42rem;
  margin: 2rem 0;
  border: 2px solid var(--line);
  border-radius: 0.6rem;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.release-detail-layout { margin-top: 2rem; }

.release-detail-key-points,
.release-detail-body,
.release-detail-section,
.release-detail-publisher,
.release-detail-contact,
.release-detail-discovery {
  margin-bottom: 1.25rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 2px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 1rem;
}

.release-detail-key-points { background: #fff8d9; }
.release-detail-key-points ul { margin-bottom: 0; padding-left: 1.25rem; }
.release-detail-key-points li + li { margin-top: 0.55rem; }
.release-detail-body .prose { max-width: 46rem; color: var(--text); font-size: 1.02rem; }
.release-detail-body .prose p { margin: 1.1rem 0; overflow-wrap: anywhere; }
.release-detail-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.5rem; }
.release-detail-tags span { padding: 0.2rem 0.55rem; border: 1px solid var(--line); background: var(--surface-soft); font-size: 0.78rem; font-weight: 750; }
.release-detail-data { margin-bottom: 0; }
.release-detail-data div,
.release-detail-aside dl div { padding: 0.65rem 0; border-bottom: 1px solid var(--surface-muted); }
.release-detail-data div:last-child,
.release-detail-aside dl div:last-child { border-bottom: 0; }
.release-detail-quotes blockquote { margin: 1rem 0 0; padding: 1rem; border-left: 0.35rem solid var(--brand); background: var(--surface-soft); }
.release-detail-quotes p { margin-top: 0; }
.release-detail-links { padding-left: 1.2rem; overflow-wrap: anywhere; }
.release-detail-publisher { display: flex; gap: 1rem; align-items: flex-start; }
.release-detail-publisher > img { flex: 0 0 6rem; border: 2px solid var(--line); background: #fff; object-fit: contain; }
.release-detail-publisher-type { color: var(--muted); font-size: 0.85rem; font-weight: 750; }
.release-detail-publisher-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.release-detail-contact { background: var(--surface-soft); }
.release-detail-notice { margin-bottom: 1.25rem; color: var(--muted); font-size: 0.88rem; }
.release-detail-notice p { margin: 0; }
.release-detail-notice p + p { margin-top: 0.5rem; }
.release-detail-aside dl { margin-bottom: 1rem; }
.release-detail-aside nav { margin-top: 1rem; padding-top: 0.25rem; border-top: 2px solid var(--line); }
.release-detail-official { display: inline-block; }
.release-detail-discovery { margin-top: 2rem; margin-bottom: 0; }
.release-detail-discovery > div:first-child { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.release-detail-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }

@media (max-width: 900px) {
  .release-submit-layout,
  .release-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .release-submit-aside,
  .release-detail-aside { position: static; }
  .release-detail-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .release-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .release-submit-page,
  .release-detail-page { padding-top: 1.5rem; }
  .release-submit-facts,
  .release-detail-facts,
  .release-detail-related-grid { grid-template-columns: minmax(0, 1fr); }
  .release-submit-current-type,
  .release-submit-progress-note,
  .release-detail-discovery > div:first-child { align-items: flex-start; flex-direction: column; }
  .release-submit-stage summary { grid-template-columns: 2rem minmax(0, 1fr); padding: 0.85rem; }
  .release-submit-stage summary > span { width: 1.9rem; height: 1.9rem; }
  .release-detail-publisher { flex-direction: column; }
}
