/* Taulon — shared design tokens and primitives
   Brand: #057CB7 blue · #038383 teal · #6060FB indigo (from the logo)
   Brand hues are used for fills, rules and marks. Lightened tints are used
   wherever the colour carries text, so contrast stays readable on near-black. */

:root {
  /* surfaces */
  --bg:          #07090C;
  --bg-2:        #0A0E13;
  --surface:     #0E141B;
  --surface-2:   #131A23;
  --line:        rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* text */
  --text:        #E9EDF2;
  --text-dim:    #96A1AF;
  --text-faint:  #626D7B;

  /* brand */
  --blue:        #057CB7;
  --teal:        #038383;
  --indigo:      #6060FB;
  /* readable tints of the same hues */
  --blue-lt:     #4FB0E2;
  --teal-lt:     #2FBDBD;
  --indigo-lt:   #9A9AFF;

  --grad: linear-gradient(90deg, var(--blue) 0%, var(--teal) 50%, var(--indigo) 100%);

  /* type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* rhythm */
  --page:  1160px;
  --gutter: 24px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p { margin: 0; }
a { color: inherit; }

::selection { background: rgba(96, 96, 251, 0.35); }

:focus-visible {
  outline: 2px solid var(--blue-lt);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- primitives ---------- */

/* mono eyebrow label with a small brand tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--blue);
}
.eyebrow--teal::before   { background: var(--teal); }
.eyebrow--indigo::before { background: var(--indigo); }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* thin brand rule */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}
.rule--brand { background: var(--grad); opacity: 0.55; }

/* faint engineering grid, used as a background layer */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 78%);
}

/* soft brand glow */
.glow {
  position: absolute;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.5;
}

/* wordmark — the real Taulon lockup: brand mark + brand letterforms
   (the wordmark image is the logo's own type, recoloured white for the dark ground) */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.wordmark__mark { width: 26px; height: 26px; flex: none; display: block; }
.wordmark__type { height: 15px; width: auto; flex: none; display: block; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { border-color: var(--blue-lt); background: rgba(5, 124, 183, 0.1); }
.btn--primary {
  border-color: transparent;
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: #0690d3; border-color: transparent; }
.btn__arrow { font-family: var(--mono); opacity: 0.75; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
