/* Brand tokens: apps/web-ui/src/features/shared/brandbook/brandbook.html */
@font-face {
  font-family: "Mona Sans";
  src: url("/fonts/MonaSans-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

:root {
  --ink: #0a0a0a;
  --paper: #fefefe;
  --blue: #0055ff;
  --dim: #8a8a8a;
  --line: #262626;
  --line-strong: #3a3a3a;
  --font-sans: "Mona Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --measure: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-variation-settings: "wdth" 115;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.button:hover {
  border-color: var(--paper);
}

.button--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.button--primary:hover {
  background: #2b6dff;
  border-color: #2b6dff;
}

.button--large {
  height: 52px;
  padding: 0 28px;
  font-size: 17px;
}

/* Header */
.header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 var(--gutter);
}

.header__logo {
  display: block;
  height: 36px;
}

.header__logo svg {
  height: 100%;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.header__nav a:not(.button):hover {
  color: var(--dim);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 120px var(--gutter) 72px;
  overflow: hidden;
  text-align: center;
}

.hero__wall,
.hero__wall img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__wall img {
  object-fit: cover;
  object-position: center top;
}

.hero__wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(10 10 10 / 0.35), rgb(10 10 10 / 0.2) 50%, var(--ink));
}

.hero__copy {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 960px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 88px);
}

.hero p {
  font-size: clamp(17px, 1.6vw, 22px);
  color: #d0d0d0;
}

.hero .button {
  margin-top: 8px;
}

/* Features */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 96px);
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) var(--gutter);
}

.feature + .feature {
  border-top: 1px solid var(--line);
}

.feature--reverse .feature__text {
  order: 2;
}

.feature__text {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.feature h2 {
  font-size: clamp(30px, 3.6vw, 48px);
}

.feature p {
  color: var(--dim);
  max-width: 44ch;
}

.feature__image--framed {
  border-radius: 16px;
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--dim);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer a:hover {
  color: var(--paper);
}

@media (max-width: 840px) {
  .feature {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__text {
    order: 0;
  }
}

@media (max-width: 480px) {
  .header__nav a:not(.button) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
