:root {
  color-scheme: light;
  --ink: #263033;
  --charcoal: #1f282b;
  --muted: #667075;
  --line: #dfe7e8;
  --paper: #ffffff;
  --paper-soft: #f4f8f8;
  --lime: #d7f15a;
  --aqua: #55d3d8;
  --gray: #7d8a8d;
  --silver: #c8d2d4;
  --shadow: 0 18px 50px rgba(38, 48, 51, 0.1);
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

.svg-icon {
  display: inline-flex;
  flex: 0 0 auto;
  height: var(--size, 22px);
  width: var(--size, 22px);
}

.svg-icon svg {
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 100%;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 76px;
  padding: 12px 20px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  min-width: 0;
}

.brand img {
  background: var(--ink);
  border-radius: 8px;
  height: 48px;
  object-fit: contain;
  padding: 6px 8px;
  width: 150px;
}

.brand span {
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  padding-left: 14px;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 4px;
}

.nav-links a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 10px 12px;
}

.nav-links a:hover {
  background: var(--paper-soft);
  color: var(--ink);
}

.menu-button {
  align-items: center;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 76px);
  padding: 64px 20px 54px;
}

.hero-copy {
  max-width: 720px;
}

.kicker {
  align-items: center;
  color: var(--gray);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  gap: 8px;
  letter-spacing: 0;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.6rem, 7.4vw, 7.4rem);
  line-height: 0.88;
  margin-bottom: 26px;
  max-width: 980px;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 950;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
}

.btn.primary {
  background: var(--lime);
  color: var(--ink);
}

.btn.secondary {
  background: var(--paper);
  color: var(--ink);
}

.hero-specimen {
  background:
    linear-gradient(90deg, transparent 24px, rgba(38, 48, 51, 0.045) 25px),
    linear-gradient(transparent 24px, rgba(38, 48, 51, 0.045) 25px),
    var(--paper-soft);
  background-size: 25px 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-specimen img {
  background: var(--ink);
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 22px;
}

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

.mini-palette span {
  background: var(--dot);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 54px;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 78px 20px;
}

.section-heading {
  margin-bottom: 30px;
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4.7vw, 5rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

.section-heading p,
.rule-card p,
.logo-card p,
.swatch p,
.voice-grid p,
.application-list p,
.footer p,
.type-sample p {
  color: var(--muted);
  line-height: 1.62;
}

.brand-foundation,
.usage-rules,
.type-section,
.applications {
  border-top: 1px solid var(--line);
}

.foundation-grid,
.rule-grid,
.voice-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.rule-card,
.logo-card,
.voice-grid article,
.type-sample,
.application-list article,
.report-mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(38, 48, 51, 0.05);
}

.rule-card {
  padding: 24px;
}

.rule-icon {
  align-items: center;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

.rule-card h3,
.logo-card h3,
.voice-grid h3,
.type-sample h3,
.application-list h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.split {
  display: grid;
  gap: 34px;
}

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

.logo-card {
  overflow: hidden;
}

.logo-stage {
  align-items: center;
  display: flex;
  min-height: 210px;
  padding: 22px;
}

.logo-card.light .logo-stage,
.logo-card.soft .logo-stage {
  background: var(--paper-soft);
}

.logo-card.black .logo-stage {
  background: var(--ink);
}

.logo-stage img {
  border-radius: 8px;
  width: 100%;
}

.logo-card.light .logo-stage img,
.logo-card.black .logo-stage img {
  background: var(--ink);
}

.logo-card.soft .logo-stage img {
  background: var(--paper);
}

.logo-card h3,
.logo-card p {
  padding-left: 22px;
  padding-right: 22px;
}

.logo-card h3 {
  margin-top: 20px;
}

.logo-card p {
  padding-bottom: 22px;
}

.color-section {
  background: var(--paper-soft);
  max-width: none;
  padding-left: max(20px, calc((100vw - 1180px) / 2 + 20px));
  padding-right: max(20px, calc((100vw - 1180px) / 2 + 20px));
}

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

.swatch {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 96px 1fr;
  min-height: 180px;
  padding: 16px;
}

.swatch-chip {
  background: var(--swatch);
  border: 1px solid rgba(38, 48, 51, 0.12);
  border-radius: 8px;
}

.swatch h3 {
  margin-bottom: 10px;
}

.copy-color {
  align-items: center;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--charcoal);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 7px;
  margin-bottom: 12px;
  min-height: 34px;
  padding: 7px 9px;
}

.type-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.85fr;
}

.type-sample {
  padding: 28px;
}

.type-sample span {
  color: var(--gray);
  display: block;
  font-size: 0.78rem;
  font-weight: 950;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.type-sample.display h3 {
  font-size: clamp(2.6rem, 5.2vw, 5.8rem);
  line-height: 0.9;
}

.type-sample.body h3 {
  font-size: 1.8rem;
}

.voice-section {
  background: var(--ink);
  color: var(--paper);
  max-width: none;
  padding-left: max(20px, calc((100vw - 1180px) / 2 + 20px));
  padding-right: max(20px, calc((100vw - 1180px) / 2 + 20px));
}

.voice-section .kicker,
.voice-section .section-heading p,
.voice-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.voice-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  padding: 22px;
}

.message-strip {
  align-items: center;
  background: var(--lime);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 14px;
  grid-template-columns: 180px 1fr;
  margin-top: 18px;
  padding: 24px;
}

.message-strip p {
  font-size: 0.78rem;
  font-weight: 950;
  margin: 0;
  text-transform: uppercase;
}

.message-strip h3 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
  margin: 0;
}

.application-board {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.report-mock {
  background: var(--paper-soft);
  padding: 24px;
}

.mock-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.mock-head img {
  background: var(--ink);
  border-radius: 8px;
  padding: 6px 8px;
  width: 180px;
}

.mock-head span {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.report-mock h3 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.9;
  margin-bottom: 28px;
}

.bars {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.bars span {
  background: var(--ink);
  border-radius: 8px;
  height: 16px;
}

.bars span:nth-child(2) {
  background: var(--aqua);
  width: 78%;
}

.bars span:nth-child(3) {
  background: var(--lime);
  width: 58%;
}

.callout {
  background: var(--paper);
  border-left: 8px solid var(--lime);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.4;
  padding: 18px;
}

.application-list {
  display: grid;
  gap: 14px;
}

.application-list article {
  padding: 22px;
}

.footer {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 24px;
  grid-template-columns: 220px 1fr;
  padding: 42px max(20px, calc((100vw - 1180px) / 2 + 20px));
}

.footer img {
  width: 220px;
}

.footer p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  max-width: 650px;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    gap: 2px;
    left: 0;
    padding: 10px 20px 18px;
    position: absolute;
    right: 0;
    top: 76px;
  }

  .nav-links.open {
    display: grid;
  }

  .hero,
  .type-grid,
  .application-board,
  .footer,
  .message-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .foundation-grid,
  .rule-grid,
  .logo-grid,
  .swatch-grid,
  .voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .navbar {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand img {
    width: 124px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    top: 70px;
  }

  .hero {
    padding: 44px 16px 40px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section {
    padding: 56px 16px;
  }

  .foundation-grid,
  .rule-grid,
  .logo-grid,
  .swatch-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .swatch {
    grid-template-columns: 72px 1fr;
    min-height: 160px;
  }

  .hero-specimen,
  .report-mock,
  .type-sample,
  .rule-card {
    padding: 18px;
  }

  .mock-head {
    align-items: flex-start;
    display: grid;
  }
}
