:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --success: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.subhead {
  max-width: 46rem;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.text-link,
.ghost-button,
.logo-card__button {
  min-height: 2.35rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.ghost-button {
  padding: 0 0.9rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  cursor: pointer;
}

.current-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.current-selection h2 {
  margin-top: 0.25rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.current-selection__mark {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.current-selection__mark.is-lockup {
  width: min(12rem, 42vw);
}

.logo-groups {
  display: grid;
  gap: 1.8rem;
}

.logo-group {
  display: grid;
  gap: 0.8rem;
}

.logo-group__intro {
  display: grid;
  gap: 0.2rem;
}

.logo-group__intro h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-group__intro p {
  color: var(--muted);
  font-size: 0.86rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.logo-card {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.logo-card.is-active {
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.14);
}

.logo-card__preview {
  display: grid;
  place-items: center;
  min-height: 7rem;
  border: 1px solid #eef2ff;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.logo-card__preview img {
  width: 5.25rem;
  height: 5.25rem;
  object-fit: contain;
}

.logo-card.is-lockup .logo-card__preview img {
  width: min(100%, 12rem);
  height: 4.6rem;
}
.logo-card__meta {
  display: grid;
  gap: 0.22rem;
}

.logo-card__meta h3 {
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.logo-card__meta p {
  min-height: 2.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.logo-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.logo-card__button {
  border: 1px solid #dbeafe;
  background: var(--accent-soft);
  color: #1d4ed8;
  cursor: pointer;
}

.logo-card__button--copy {
  border-color: #e5e7eb;
  background: #f8fafc;
  color: #475569;
}

.logo-card__button.is-copied {
  border-color: #99f6e4;
  background: #ccfbf1;
  color: var(--success);
}

@media (min-width: 720px) {
  .logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-header {
    flex-direction: column;
  }

  .header-actions {
    justify-content: flex-start;
  }
}
