@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");

:root {
  --navy-950: #172e55;
  --navy-900: #172e55;
  --navy-800: #172e55;
  --sky-300: #1ac6ff;
  --green-500: #3ae20a;
  --white: #ffffff;
  --slate-900: #26354b;
  --slate-700: #52627c;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --orange: #f97316;
  --red: #dc2626;
  --success: #15803d;
  --radius: 8px;
  --rail-width: 264px;
  --panel-width: 456px;
  --font-body: "Inter", Arial, sans-serif;
  --font-display: "Inter", Arial, sans-serif;
  --shadow-soft: 0 18px 54px rgba(7, 18, 36, 0.1);
  --shadow-panel: -24px 0 60px rgba(7, 18, 36, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--slate-50);
  color: var(--slate-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

body.modal-open,
body.admin-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--green-500);
  color: var(--navy-950);
  font-weight: 800;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  min-height: 100vh;
}

.side-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #102744 0%, #172e55 58%, #0f2447 100%);
  color: var(--white);
  padding: 18px 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin-bottom: 22px;
}

.brand-lockup img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--white);
  object-fit: contain;
}

.brand-lockup strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
}

.brand-lockup small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-nav {
  display: grid;
  gap: 4px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  padding: 0 12px;
}

.side-nav a:hover,
.side-nav a[aria-current="true"] {
  border-left-color: var(--sky-300);
  background: rgba(26, 198, 255, 0.14);
  color: var(--white);
}

.request-card {
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
}

.request-card h2,
.request-card p {
  margin: 0;
}

.request-card h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
}

.request-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.outline-button,
.admin-button,
.icon-button,
.mode-switch button,
.kit-tabs button,
.review-tabs button,
.mini-head button {
  cursor: pointer;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.app-main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, 0.94);
  padding: 12px 26px;
  backdrop-filter: blur(18px);
}

.domain-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
}

.domain-label strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kit-tabs {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  background: var(--white);
}

.kit-tabs button {
  min-width: 104px;
  border: 0;
  background: transparent;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 14px;
}

.kit-tabs button.is-active {
  background: var(--navy-950);
  color: var(--white);
}

.mode-switch {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  background: var(--white);
}

.mode-switch button {
  min-width: 96px;
  border: 0;
  background: transparent;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
}

.mode-switch .is-active {
  background: var(--navy-950);
  color: var(--white);
}

.admin-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--navy-900);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 800;
  padding: 0 14px;
}

.content-canvas {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.intro-panel,
.brand-section {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 24px;
}

.label {
  margin: 0 0 8px;
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy-950);
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.18;
}

.intro-panel p:not(.label) {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--slate-700);
  font-size: 17px;
}

.intro-proof {
  display: grid;
  gap: 8px;
  min-width: 252px;
}

.intro-proof span {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
}

.brand-section {
  margin-top: 18px;
  padding: 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.section-heading h2 {
  max-width: 780px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
  padding: 0 12px;
}

.logo-grid,
.component-grid,
.website-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 14px;
}

.logo-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(170px, 0.55fr) minmax(230px, 0.8fr);
}

.logo-tile,
.rules-list,
.type-card,
.voice-card,
.component-block,
.service-card,
.form-card,
.website-stage,
.page-preview {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.logo-tile {
  display: flex;
  min-height: 236px;
  flex-direction: column;
  justify-content: space-between;
}

.logo-tile h3,
.rules-list h3 {
  font-size: 16px;
}

.logo-tile img {
  max-height: 94px;
  width: auto;
  object-fit: contain;
}

.logo-tile p,
.rules-list li,
.type-card p,
.type-card small,
.voice-card p,
.voice-card li,
.service-card p,
.website-stage p,
.page-preview span,
.form-card label {
  color: var(--slate-700);
}

.logo-tile-dark {
  background: var(--navy-950);
  color: var(--white);
}

.logo-tile-dark h3,
.logo-tile-dark p {
  color: var(--white);
}

.logo-tile-dark img {
  max-height: 118px;
  border-radius: var(--radius);
  padding: 4px;
}

.logo-tile-badge {
  align-items: center;
  text-align: center;
}

.logo-tile-badge img {
  max-height: 142px;
  margin: auto;
}

.rules-list ul,
.voice-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
}

.support-color-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
  padding: 16px;
}

.support-color-panel h3 {
  font-size: 20px;
}

.support-color-panel p {
  margin: 8px 0 0;
  color: var(--slate-700);
  font-size: 14px;
}

.support-swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.swatch {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
}

.swatch span {
  display: block;
  height: 78px;
  border-bottom: 1px solid var(--slate-200);
  background: var(--swatch);
}

.swatch-small span {
  height: 46px;
}

.swatch strong,
.swatch code {
  display: block;
  padding-inline: 10px;
}

.swatch strong {
  padding-top: 9px;
  color: var(--navy-950);
  font-size: 14px;
}

.swatch code {
  padding-bottom: 10px;
  color: var(--slate-500);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.swatch-small strong,
.swatch-small code {
  padding-inline: 8px;
}

.swatch-small strong {
  font-size: 14px;
}

.swatch-small code {
  font-size: 14px;
}

.usage-bar {
  display: flex;
  overflow: hidden;
  min-height: 42px;
  margin-top: 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
}

.usage-bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--width);
  min-width: 70px;
  background: var(--color);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.type-heading {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.type-card span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(26, 198, 255, 0.18);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
  padding: 4px 8px;
}

.type-card h3 {
  font-size: 24px;
}

.type-card-wide {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.type-scale {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
}

.type-scale div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--slate-200);
  padding: 12px 0;
}

.type-scale dt {
  color: var(--navy-950);
  font-weight: 600;
}

.type-scale dd {
  margin: 0;
  color: var(--slate-700);
  text-align: right;
}

.display-sample {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  color: var(--navy-950);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  line-height: 0.98;
}

.body-sample-title {
  font-family: var(--font-body);
}

.body-sample {
  max-width: 420px;
  margin: 16px 0 10px;
  font-size: 18px;
}

.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.voice-card p {
  margin: 12px 0 0;
  font-size: 18px;
}

.voice-card.is-approved {
  border-color: rgba(21, 128, 61, 0.32);
  background: #f0fdf4;
}

.voice-card.is-rejected {
  border-color: rgba(220, 38, 38, 0.28);
  background: #fff7f7;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.photo-grid figure {
  margin: 0;
}

.photo-grid img,
.service-card img,
.page-preview img,
.selected-review img,
.review-item img {
  width: 100%;
  object-fit: cover;
}

.photo-grid img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.photo-grid figcaption {
  margin-top: 8px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
}

.component-grid {
  grid-template-columns: minmax(240px, 0.84fr) minmax(260px, 1fr) minmax(260px, 0.9fr);
}

.button-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 16px;
  text-align: center;
}

.button-navy {
  background: var(--navy-950);
  color: var(--white);
}

.button-green {
  background: var(--green-500);
  color: var(--navy-950);
}

.button-sky {
  background: var(--sky-300);
  color: var(--navy-950);
}

.button-outline {
  border-color: var(--navy-800);
  background: var(--white);
  color: var(--navy-900);
}

.service-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
}

.service-card img {
  height: 100%;
  min-height: 170px;
  border-radius: var(--radius);
}

.service-card span,
.preview-top span {
  display: block;
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-top: 8px;
}

.service-card p {
  margin: 10px 0 0;
}

.form-card {
  display: grid;
  gap: 12px;
}

.form-card label,
.change-form label {
  display: grid;
  gap: 6px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--slate-900);
  font-size: 14px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

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

.website-stage span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--navy-950);
  color: var(--sky-300);
  font-family: var(--font-display);
  font-weight: 700;
}

.website-stage p {
  margin: 10px 0 0;
}

.page-preview {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.preview-top {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
}

.preview-top img {
  height: 112px;
  border-radius: var(--radius);
}

.preview-top strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.preview-top span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0;
  text-transform: none;
}

.preview-lines {
  display: grid;
  gap: 8px;
}

.preview-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.preview-lines span:nth-child(1) {
  width: 92%;
}

.preview-lines span:nth-child(2) {
  width: 74%;
}

.preview-lines span:nth-child(3) {
  width: 52%;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-actions span {
  border-radius: var(--radius);
  background: var(--green-500);
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
}

.preview-actions span + span {
  background: var(--white);
}

.download-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
  padding: 14px;
}

.download-list strong {
  color: var(--navy-950);
}

.download-list span {
  color: var(--slate-500);
  font-size: 14px;
  font-weight: 800;
}

.admin-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 160;
  width: min(var(--panel-width), 100vw);
  overflow-y: auto;
  border-left: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: var(--shadow-panel);
  padding: 22px;
}

.admin-head,
.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-head h2 {
  font-size: 28px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
}

.review-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 18px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 12px;
}

.review-tabs button {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
  padding: 9px 6px;
}

.review-tabs button.is-active {
  background: rgba(26, 198, 255, 0.18);
  color: var(--navy-950);
}

.review-tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--slate-200);
  font-size: 14px;
}

.review-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.review-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  padding: 10px;
  text-align: left;
}

.review-item.is-active {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 2px rgba(20, 52, 95, 0.08);
}

.review-item img {
  aspect-ratio: 1;
  border-radius: var(--radius);
}

.review-item strong {
  display: block;
  color: var(--navy-950);
  font-size: 14px;
}

.review-item span {
  display: block;
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 14px;
  font-weight: 800;
}

.selected-review,
.change-form,
.activity-feed {
  margin-top: 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
}

.selected-review img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

.selected-review h3 {
  margin-top: 14px;
}

.selected-review p {
  margin: 8px 0 0;
  color: var(--slate-700);
  font-size: 14px;
}

.status-chip {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  padding: 5px 9px;
}

.status-pending {
  background: #fff7ed;
  color: #9a3412;
}

.status-approved {
  background: #dcfce7;
  color: #166534;
}

.status-changes {
  background: #ffedd5;
  color: #9a3412;
}

.status-flagged {
  background: #fee2e2;
  color: #991b1b;
}

.decision-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.decision-actions button {
  min-height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.decision-actions button[data-decision="approved"] {
  border: 1px solid rgba(21, 128, 61, 0.25);
  background: #22c55e;
  color: var(--white);
}

.decision-actions button[data-decision="changes"] {
  border: 1px solid rgba(249, 115, 22, 0.36);
  background: #fff7ed;
  color: #9a3412;
}

.decision-actions button[data-decision="flagged"] {
  border: 1px solid rgba(220, 38, 38, 0.3);
  background: #fff1f2;
  color: #991b1b;
}

.change-form {
  display: grid;
  gap: 12px;
}

.change-form h3,
.activity-feed h3 {
  font-size: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--success);
  font-size: 14px;
  font-weight: 800;
}

.mini-head {
  margin-bottom: 10px;
}

.mini-head button {
  border: 0;
  background: transparent;
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 800;
}

.activity-feed [data-activity-list] {
  display: grid;
  gap: 8px;
}

.activity-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
  color: var(--slate-700);
  font-size: 14px;
  padding: 10px;
}

.activity-item strong {
  color: var(--navy-950);
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  background: rgba(3, 11, 24, 0.72);
  padding: 20px;
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(3, 11, 24, 0.4);
  padding: 24px;
}

.modal-card > img {
  width: 54px;
  height: 54px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  object-fit: contain;
}

.modal-card h2 {
  margin-top: 6px;
}

.modal-card p:not(.label):not(.form-status) {
  margin: 10px 0 16px;
  color: var(--slate-700);
}

.modal-card form {
  display: grid;
  gap: 10px;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.fact-grid,
.owner-grid,
.press-copy-grid,
.media-asset-grid,
.claims-feature-grid,
.workflow-list,
.claim-chip-grid {
  display: grid;
  gap: 14px;
}

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

.fact-grid article,
.press-copy-card,
.owner-card,
.claims-feature-grid article,
.workflow-list article,
.claims-boundary {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.fact-grid article {
  display: grid;
  gap: 6px;
  background: var(--slate-50);
}

.fact-grid span,
.media-asset-grid small {
  color: var(--slate-700);
  font-size: 14px;
}

.fact-grid strong {
  color: var(--navy-950);
  font-size: 22px;
  line-height: 1.2;
}

.press-copy-grid,
.owner-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.press-copy-card p:not(.label),
.owner-card p:not(.label),
.claims-feature-grid p,
.workflow-list p,
.claims-boundary p:not(.label),
.asset-note {
  color: var(--slate-700);
  font-size: 16px;
}

.press-copy-card p:not(.label),
.owner-card p,
.claims-feature-grid p,
.workflow-list p,
.claims-boundary p:not(.label) {
  margin: 10px 0 0;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.contact-links a {
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--sky-300);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.owner-card {
  display: grid;
  grid-template-columns: 164px 1fr;
  gap: 18px;
  align-items: start;
}

.owner-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
}

.media-asset-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-asset-grid a {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
}

.media-asset-grid img {
  width: 100%;
  height: 174px;
  border-bottom: 1px solid var(--slate-200);
  object-fit: contain;
  padding: 18px;
}

.media-asset-grid a:nth-child(n + 3) img {
  object-fit: cover;
  padding: 0;
}

.media-asset-grid span {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.media-asset-grid strong {
  color: var(--navy-950);
}

.media-asset-dark {
  background: var(--navy-950) !important;
}

.media-asset-dark strong,
.media-asset-dark small {
  color: var(--white);
}

.asset-note {
  margin: 14px 0 0;
}

.claims-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.claims-feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--navy-950);
  color: var(--sky-300);
  font-weight: 700;
}

.workflow-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: workflow;
}

.workflow-list article {
  position: relative;
  padding-top: 56px;
  counter-increment: workflow;
}

.workflow-list article::before {
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--sky-300);
  content: "0" counter(workflow);
  font-size: 22px;
  font-weight: 800;
}

.workflow-list strong {
  color: var(--navy-950);
  font-size: 22px;
}

.claim-chip-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.claim-chip-grid span {
  display: grid;
  place-items: center;
  min-height: 78px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
  color: var(--navy-950);
  font-weight: 600;
  padding: 12px;
  text-align: center;
}

.claims-boundary {
  margin-top: 14px;
  border-left: 5px solid var(--sky-300);
  background: var(--navy-950);
}

.claims-boundary h3,
.claims-boundary p:not(.label) {
  color: var(--white);
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    height: auto;
    padding: 14px 18px;
  }

  .brand-lockup {
    margin-bottom: 12px;
  }

  .side-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .side-nav a {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .side-nav a[aria-current="true"],
  .side-nav a:hover {
    border-bottom-color: var(--sky-300);
  }

  .request-card {
    display: none;
  }

  .logo-grid,
  .component-grid,
  .website-grid,
  .download-list,
  .photo-grid,
  .swatch-grid,
  .support-color-panel,
  .support-swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-grid,
  .media-asset-grid,
  .claims-feature-grid,
  .workflow-list,
  .claim-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.admin-open {
    overflow: hidden;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }

  .topbar-actions,
  .kit-tabs,
  .mode-switch,
  .admin-button {
    width: 100%;
  }

  .mode-switch button,
  .kit-tabs button,
  .admin-button {
    flex: 1;
    justify-content: center;
  }

  .content-canvas {
    width: min(100% - 24px, 1180px);
    padding-top: 12px;
  }

  .intro-panel,
  .section-heading,
  .type-grid,
  .voice-grid,
  .logo-grid,
  .component-grid,
  .website-grid,
  .download-list,
  .photo-grid,
  .swatch-grid,
  .support-color-panel,
  .support-swatch-grid,
  .preview-top,
  .service-card,
  .form-row {
    grid-template-columns: 1fr;
  }

  .press-copy-grid,
  .owner-grid,
  .fact-grid,
  .media-asset-grid,
  .claims-feature-grid,
  .workflow-list,
  .claim-chip-grid,
  .owner-card {
    grid-template-columns: 1fr;
  }

  .owner-card img {
    max-height: 420px;
  }

  .intro-panel,
  .brand-section {
    padding: 16px;
  }

  h1 {
    font-size: clamp(40px, 11vw, 52px);
  }

  h2 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .intro-proof {
    min-width: 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .usage-bar {
    display: grid;
  }

  .usage-bar span {
    width: 100%;
    justify-content: flex-start;
    padding-left: 12px;
  }

  .logo-tile img {
    max-height: 72px;
  }

  .logo-tile-dark img {
    max-height: 96px;
  }

  .service-card img,
  .preview-top img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .decision-actions,
  .review-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .admin-panel {
    width: 100vw;
    padding: 16px;
  }
}
