@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 700;
  font-display: block;
  src: url("./assets/fonts/bricolage_600_latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("./assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("./assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: block;
  src: url("./assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

:root {
  --hero: #3f0a47;
  --structure: #120314;
  --lime: #bfe557;
  --clear: #e9e4d8;
  --paper: #f3f0e8;
  --text: #100c11;
  --text-2-dark: #a99cbb;
  --line-dark: #675778;
  --row-gap-desktop: 36px;
  --row-gap-mobile: 24px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--hero);
  color: var(--clear);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

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

strong {
  font-weight: 700;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(24px, 5vw, 72px) max(24px, 7vw);
}

.blueprint {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(233, 228, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 228, 216, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(103, 87, 120, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 87, 120, 0.17) 1px, transparent 1px);
  background-position: center;
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
  opacity: 0.85;
}

.compact-card {
  display: grid;
  min-height: calc(100vh - clamp(48px, 10vw, 144px));
  align-content: start;
}

.brand-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) minmax(56px, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.brand-square {
  display: block;
  width: min(100%, clamp(168px, 18vw, 286px));
  height: auto;
}

.tagline {
  max-width: none;
  margin: 0;
  color: var(--clear);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(30px, 3.2vw, 58px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.tagline span {
  display: block;
}

.header-actions {
  align-self: start;
  justify-self: end;
}

.ai-mark {
  display: block;
  width: clamp(44px, 4vw, 68px);
  height: auto;
}

.lead {
  max-width: none;
  margin: var(--row-gap-desktop) 0 0;
  color: var(--text-2-dark);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 2.15vw, 38px);
  line-height: 1.2;
  white-space: nowrap;
}

.inline-link {
  display: inline-flex;
  align-items: baseline;
  border-radius: 6px;
  background: var(--lime);
  color: var(--structure);
  font-weight: 700;
  line-height: 1;
  padding: 0.08em 0.28em 0.16em;
  text-decoration: none;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 24px 20px 48px;
  }

  .compact-card {
    min-height: calc(100vh - 72px);
  }

  .brand-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .tagline {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    font-size: clamp(24px, 8vw, 34px);
  }

  .brand-square {
    width: min(48vw, 188px);
  }

  .ai-mark {
    width: 44px;
  }

  .lead {
    margin-top: var(--row-gap-mobile);
    white-space: normal;
  }

}
