:root {
  --green: #17e0a4;
  --pink: #f54081;
  --ink: #1f2933;
  --slate: #94a3b8;
  --snow: #f3f1ee;
  --shadow: none;
  --radius-xl: 0;
  --radius-lg: 0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--snow) 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

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

.page {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero__copy,
.hero__brand,
.panel {
  border: 1px solid rgba(31, 41, 51, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero__copy {
  padding: 40px;
  background: rgba(255, 255, 255, 0.94);
}

.hero__brand {
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, var(--ink) 0%, #2b3743 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

.eyebrow,
.panel__index,
.type-block__label,
.swatch__name {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
}

.eyebrow {
  color: var(--slate);
  margin: 0 0 20px;
}

h1,
h2,
.brandmark {
  font-family: "Russo One", "Arial Black", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.95;
  max-width: 12ch;
}

.lead {
  max-width: 44ch;
  margin: 24px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate);
}

.brand-tile {
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--ink) 0%, #2b3743 100%);
  background-size: 28px 28px, 28px 28px, auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 24px;
}

.brand-tile__symbol {
  width: 176px;
  height: 176px;
}

.brand-tile__lockup .brandmark {
  color: var(--snow);
  font-size: clamp(2.3rem, 2.8vw, 3.4rem);
  line-height: 0.95;
}

.brandmark--animated {
  display: block;
  width: min(100%, 520px);
  height: 78px;
}

.brandmark--animated svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.brandmark--animated text {
  fill: rgba(243, 241, 238, 0);
  stroke: rgba(243, 241, 238, 1);
  stroke-width: 1.6;
  stroke-dasharray: 0 50%;
  stroke-dashoffset: 25%;
  paint-order: stroke fill;
  font-family: "Russo One", "Arial Black", sans-serif;
  font-size: 84px;
  letter-spacing: 0.01em;
  animation: brandmark-stroke 8s ease-in-out infinite alternate;
}

@keyframes brandmark-stroke {
  0% {
    fill: rgba(243, 241, 238, 0);
    stroke: rgba(243, 241, 238, 1);
    stroke-dashoffset: 25%;
    stroke-dasharray: 0 50%;
    stroke-width: 1.8;
  }

  45% {
    fill: rgba(243, 241, 238, 0);
    stroke: rgba(243, 241, 238, 1);
  }

  60% {
    fill: rgba(243, 241, 238, 1);
    stroke: rgba(243, 241, 238, 0);
    stroke-dashoffset: -25%;
    stroke-dasharray: 50% 0;
    stroke-width: 0;
  }

  100% {
    fill: rgba(243, 241, 238, 1);
    stroke: rgba(243, 241, 238, 0);
    stroke-dashoffset: -25%;
    stroke-dasharray: 50% 0;
    stroke-width: 0;
  }
}

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

.panel {
  padding: 32px;
  position: relative;
}

.panel--dark {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--ink) 0%, #2b3743 100%);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--snow);
}

.panel--light {
  background: rgba(255, 255, 255, 0.94);
}

.panel--accent {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 41, 51, 0.96) 0%, rgba(31, 41, 51, 1) 100%);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--snow);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(31, 41, 51, 0.06);
  pointer-events: none;
}

.panel--dark::before,
.panel--accent::before {
  border-color: rgba(255, 255, 255, 0.10);
}

.panel__header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.panel__index {
  margin: 0;
  color: var(--green);
}

h2 {
  margin: 0;
  font-size: 1.7rem;
}

.panel__text {
  margin: 0 0 24px;
  max-width: 46ch;
  line-height: 1.7;
  color: inherit;
  opacity: 0.86;
}

.symbol-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.symbol-card {
  min-height: 220px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(31, 41, 51, 0.16);
}

.symbol-card img {
  width: 118px;
  height: 118px;
}

.symbol-card--light {
  background: var(--snow);
}

.symbol-card--dark {
  background: var(--ink);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--snow);
  border: 1px solid rgba(31, 41, 51, 0.24);
}

.logo-lockup + .logo-lockup {
  margin-top: 16px;
}

.logo-lockup img {
  width: 84px;
  height: 84px;
}

.logo-lockup .brandmark {
  font-size: clamp(1.9rem, 2.2vw, 2.6rem);
  color: var(--ink);
}

.logo-lockup--dark {
  background: var(--ink);
}

.logo-lockup--dark .brandmark {
  color: var(--snow);
}

.swatches {
  display: grid;
  gap: 16px;
}

.swatch {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 41, 51, 0.16);
}

.swatch__chip {
  height: 56px;
  border-radius: 0;
  border: 1px solid rgba(31, 41, 51, 0.24);
}

.swatch__name,
.swatch__value,
.type-block__meta {
  margin: 0;
}

.swatch__value,
.type-block__meta {
  color: var(--slate);
}

.type-specimen {
  display: grid;
  gap: 18px;
}

.type-block {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(245, 241, 238, 0.14);
}

.exports {
  margin-top: 28px;
}

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

.exports-grid--large {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.export-card {
  display: grid;
  grid-template-rows: 240px auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(31, 41, 51, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: inherit;
  text-decoration: none;
  transition: border-color 120ms ease, transform 120ms ease;
}

.export-card:hover {
  border-color: rgba(31, 41, 51, 0.24);
  transform: translateY(-2px);
}

.export-card--dark-grid {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--ink) 0%, #2b3743 100%);
  background-size: 28px 28px, 28px 28px, auto;
  border-color: rgba(255, 255, 255, 0.08);
}

.export-card--dark-grid .export-card__label {
  color: var(--snow);
}

.export-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 220px;
  align-self: center;
  justify-self: center;
}

.export-card__label {
  align-self: end;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.export-card--large {
  grid-template-rows: 420px auto;
}

.export-card--large img {
  max-height: 380px;
}

.type-block__sample {
  margin: 10px 0 8px;
}

.type-block .brandmark {
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  color: var(--snow);
}

.support-type {
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--snow);
}

@media (max-width: 900px) {
  .page {
    width: min(100vw - 28px, 1180px);
    padding: 20px 0 48px;
  }

  .hero,
  .grid,
  .symbol-showcase {
    grid-template-columns: 1fr;
  }

  .exports-grid {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .hero__brand,
  .panel {
    padding: 24px;
  }

  .brand-tile {
    min-height: 260px;
    gap: 8px;
    padding: 24px 20px;
  }

  .brand-tile__symbol {
    width: 132px;
    height: 132px;
  }

  .logo-lockup {
    gap: 14px;
    padding: 18px;
  }

  .logo-lockup img {
    width: 72px;
    height: 72px;
  }

  .logo-lockup .brandmark {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}
