/* stagemate.no, the temporary landing page (decision 2026-10-10). Plain CSS, no build step, no
   cookies, no tracking, no requests to other hosts: the fonts are the app's own files. */

@font-face {
  font-family: 'Jost';
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Jost-Light.woff') format('woff');
}
@font-face {
  font-family: 'Jost';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Jost-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Karla';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Karla-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Karla';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Karla-Medium.woff') format('woff');
}

:root {
  --night: #1a0f28;
  --midnight: #2a1840;
  --mark-shadow: #36234f;
  --line: #4a3b5f;
  --text: #ffffff;
  --muted: #b9b0c4;
  --coral: #fe5757;
  --gutter: clamp(16px, 5vw, 56px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--night);
}

body {
  color: var(--text);
  font-family: Karla, 'Century Gothic', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* The mark, large and quiet behind the intro */
.backdrop {
  position: absolute;
  right: -14vw;
  top: 72px;
  width: min(82vw, 560px);
  height: auto;
  pointer-events: none;
}

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand svg {
  display: block;
  flex: none;
}
.wordmark {
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.22em;
}

.tap {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(48px, 8vw, 96px);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter);
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: Jost, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--coral);
  flex: none;
}

h1 {
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 300;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
  text-wrap: pretty;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.cta p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--coral);
  color: var(--night);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 100ms ease-out;
}
.button:active {
  transform: scale(0.98);
}

.group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1008px;
}
.group h2 {
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0 32px;
}
.features div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.features h3 {
  margin: 0;
  font-family: Jost, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
}
.features p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
