/* ============================================================
   World Space Hub — marketing design system
   ============================================================
   The colour language and typography follow monday.com's: a single
   confident blue doing all the persuading, a set of saturated accents
   used only to label things, very dark near-black text on white, and a
   lot of air. Headings are heavy and tight; body copy is generous and
   loose. Nothing here is used by the product itself, which has its own
   token set — this is the shop window.
   ============================================================ */

:root {
  /* Brand */
  --blue:        #0073ea;
  --blue-dark:   #0060b9;
  --blue-soft:   #cce5ff;
  --blue-wash:   #e6f2ff;

  /* Accents — one per module family, used as labels not decoration */
  --green:   #00c875;
  --yellow:  #ffcb00;
  --red:     #e2445c;
  --purple:  #a25ddc;
  --orange:  #fdab3d;
  --pink:    #ff158a;
  --teal:    #00d2d2;
  --indigo:  #5559df;

  /* Ink */
  --ink:      #323338;
  --ink-2:    #676879;
  --ink-3:    #9699a6;
  --line:     #d0d4e4;
  --line-2:   #e6e9ef;
  --surface:  #ffffff;
  --page:     #ffffff;
  --wash:     #f6f7fb;
  --night:    #181b34;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 16px rgba(0, 0, 0, .06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.03em; line-height: 1.12; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
p  { margin: 0; }
a  { color: var(--blue); }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--wash { background: var(--wash); }
.section--night { background: var(--night); color: #fff; }
.section--night h2, .section--night h3 { color: #fff; }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); line-height: 1.7; }
.section--night .lede { color: #b9bdd6; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 8px; border: 1.5px solid transparent;
  font-family: var(--font); font-size: .98rem; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(0,115,234,.28); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f2f7; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 20px;
  font-size: .76rem; font-weight: 700; letter-spacing: .01em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 28px;
}
.card--flat { box-shadow: none; }
.card--raise { box-shadow: var(--shadow); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.06rem; letter-spacing: -.02em; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .92rem; }
.nav__links { display: flex; gap: 24px; margin-left: 10px; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav__links a:hover { color: var(--ink); }
.nav__spacer { flex: 1; }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #b9bdd6; padding: 64px 0 32px; }
.foot a { color: #b9bdd6; text-decoration: none; font-size: .9rem; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 780px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot h4 { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: #6f7496; margin-bottom: 14px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* ---------- utility ---------- */
.grid { display: grid; gap: 20px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack-sm > * + * { margin-top: 10px; }
.stack > * + * { margin-top: 18px; }
.muted { color: var(--ink-2); }
.tiny { font-size: .82rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Focus that is actually visible — the marketing site is the first thing a
   keyboard user meets, and an invisible focus ring there sets the tone. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px;
}
