/* The marketing shell: gazeloop.com and the contact form share it so the two
   pages cannot drift on type, rhythm or colour. Colour comes from tokens.css,
   which is generated from product/design-tokens.json — the same tokens the
   iOS and Android apps build against.

   Local aliases below exist so the rules read as design intent (`--text-2`)
   rather than as token plumbing, and so a token rename is a one-line change. */
:root {
  --bg: var(--color-bg);
  --surface: var(--color-surface);
  --border: var(--color-border);
  --primary: var(--color-primary);
  --accent: var(--color-accent);
  --danger: var(--color-danger);
  --success: var(--color-success);
  --text: var(--color-text-primary);
  --text-2: var(--color-text-secondary);
  --text-3: var(--color-text-tertiary);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 ui-sans-serif, -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }

header { padding: 96px 0 0; }
.mark {
  font-size: clamp(44px, 11vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.05;
}
.mark a { color: inherit; border: 0; }
.mark a:hover { color: inherit; }
.tagline {
  margin: 14px 0 0;
  font-size: clamp(19px, 4.4vw, 24px);
  color: var(--text-2);
}

section { padding: 72px 0 0; }
h2 {
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 22px;
  font-weight: 600;
}

.note {
  margin-top: 72px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-2);
  font-size: 15px;
}
.note b { color: var(--text); }

footer {
  margin-top: 88px;
  padding: 28px 0 64px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--border); }
a:hover { color: var(--text); border-bottom-color: var(--primary); }

@media (prefers-reduced-motion: no-preference) {
  .mark, .tagline { animation: rise .5s var(--motion-easing) both; }
  .tagline { animation-delay: .06s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}
