:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #111111;
  --gold: #f2b943;
  --gold-light: #f7d77d;
  --text: #f5f3ed;
  --muted: #aaaaaa;
  --line: #30291d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(91, 11, 11, 0.25), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.topbar,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.topbar img {
  display: block;
  width: 190px;
  height: auto;
}

.back-link,
.asset-links a {
  color: var(--gold-light);
  text-decoration: none;
}

.back-link:hover,
.asset-links a:hover {
  text-decoration: underline;
}

.intro {
  padding: 90px 0 72px;
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
}

h1 em,
.type-card em,
.web-mockup em {
  color: var(--gold);
  font-style: normal;
}

.intro > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.kit-section {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 4vw, 42px);
}

.logo-showcase,
.mockups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.logo-panel {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px;
  border-radius: 16px;
}

.logo-panel img {
  width: min(100%, 300px);
  height: auto;
}

.logo-panel span {
  font-size: 13px;
}

.dark {
  background: #090909;
  border: 1px solid #40351f;
  color: var(--muted);
}

.light {
  background: #f5f3ed;
  color: #333333;
}

.asset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 22px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.swatches article {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 4px 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101010;
}

.swatch {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: var(--swatch);
}

.swatches strong {
  font-size: 14px;
}

.swatches code,
.type-card code {
  color: var(--gold-light);
}

.type-card {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(140deg, #151515, #0d0d0d);
}

.type-card > span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 1.5px;
}

.type-card strong {
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.05;
}

.type-card p {
  max-width: 620px;
  color: var(--muted);
}

.mockups {
  grid-template-columns: 1.2fr 0.8fr 1fr;
  align-items: stretch;
}

.mockup {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #393020;
  border-radius: 16px;
  background: linear-gradient(145deg, #151515, #0d0d0d);
}

.mockup > small {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: var(--muted);
}

.web-mockup > img {
  width: 150px;
}

.web-mockup > strong {
  font-size: 25px;
  line-height: 1.15;
}

.mock-browser {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  gap: 6px;
  padding: 12px;
  background: #1b1b1b;
}

.mock-browser i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #705b38;
}

.mock-button {
  width: max-content;
  padding: 8px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffe292, #d99a28);
  color: #111111;
  font-size: 10px;
  font-weight: 800;
}

.social-mockup {
  align-items: center;
  text-align: center;
}

.social-mockup img {
  width: 112px;
  border-radius: 26px;
}

.social-mockup span {
  color: var(--muted);
  font-size: 12px;
}

.card-mockup {
  flex-direction: row;
  align-items: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(91, 11, 11, 0.6), transparent 40%),
    #0b0b0b;
}

.card-mockup div {
  display: grid;
  gap: 8px;
}

.card-mockup strong {
  color: var(--gold-light);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.1;
}

.card-mockup div span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .logo-showcase,
  .swatches,
  .mockups {
    grid-template-columns: 1fr;
  }

  .mockups {
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .topbar,
  main,
  footer {
    width: min(100% - 32px, 1120px);
  }

  .topbar img {
    width: 150px;
  }

  .back-link {
    font-size: 12px;
  }

  .intro {
    padding: 64px 0 48px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}
