/* The Pariqa site. Values are the design's own: ground #ECEEE8, ink #0F1F1A, accent #B8300F. */
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --ground: #eceee8;
  --ink: #0f1f1a;
  --ink-soft: #2b3832;
  --ink-muted: #46534d;
  --accent: #b8300f;
  --sans: Archivo, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
}

/* The globe is drawn wider than its column, as in the design; the frame trims the overhang. */
.frame {
  overflow: hidden;
}

a {
  color: var(--ink);
}
a:hover {
  color: var(--ink-muted);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover {
  color: var(--ink);
}
.brand-accent {
  fill: var(--accent);
}
.brand-name {
  font-size: 22px;
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 8px 0 16px;
}
.hero-copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.96;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lede {
  margin: 0;
  max-width: 500px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 28px;
  background: var(--ink);
  color: var(--ground);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.button:hover {
  color: var(--ground);
  background: var(--ink-soft);
}

.hero-globe {
  flex: 1.3 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#globe {
  display: block;
  flex: none;
  width: 118%;
  max-width: 920px;
  aspect-ratio: 1 / 1;
  cursor: grab;
  touch-action: pan-y;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
}

/* The phone artboard: tighter hero, and the button runs the full width. */
@media (max-width: 700px) {
  .hero {
    gap: 8px;
    padding: 28px 0 8px;
  }
  .hero-copy {
    flex-basis: 100%;
  }
  .hero-globe {
    flex-basis: 100%;
  }
  .actions {
    display: flex;
    align-self: stretch;
  }
  .button {
    display: flex;
    flex: 1 1 auto;
    justify-content: space-between;
  }
}
