/* ============================================================
   ELYTRA, Design System tokens
   Colors, type and primitives derived from the Elytra
   brand styleguide (2026).
   ============================================================ */

/* ---- Project font (design system) ---- */
@font-face {
  font-family: 'Booton';
  src: url('assets/fonts/Booton-TRIAL-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Booton';
  src: url('assets/fonts/Booton-TRIAL-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Booton';
  src: url('assets/fonts/Booton-TRIAL-Bold.otf') format('opentype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Brand colors ---- */
  --black:    #000000;
  --white:    #ffffff;
  --turquoise:#06d2dd;   /* primary highlight */
  --purple:   #9c6cfe;   /* secondary */
  --indigo:   #5731dc;   /* secondary */
  --indigo-deep:#471bde;

  /* ---- Neutrals (warm-free, near-black greys) ---- */
  --ink:      #07090d;   /* primary text */
  --ink-2:    #3a3f49;   /* secondary text */
  --ink-3:    #6b7280;   /* muted text */
  --line:     #ececef;   /* hairlines */
  --line-2:   #e1e1e6;
  --surface:  #fafafb;   /* faint panel */
  --surface-2:#f4f4f6;

  /* ---- Tints ---- */
  --turq-tint: #e6fbfc;
  --turq-line: #b8f1f4;
  --purple-tint:#f1ebff;
  --indigo-tint:#ece7fb;

  /* ---- Type (Elytra design-system project font: Booton) ---- */
  --font-display: 'Booton', system-ui, -apple-system, sans-serif;  /* Display */
  --font-sans:    'Booton', system-ui, -apple-system, sans-serif;  /* Title / Subtitle / Body */
  --font-mono:    'Booton', system-ui, sans-serif;                 /* tracked-caps labels */

  /* ---- Radii (keyboard-key derived, generous curves) ---- */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* ---- Shadow ---- */
  --shadow-sm: 0 1px 2px rgba(7,9,13,.04), 0 2px 8px rgba(7,9,13,.04);
  --shadow-md: 0 4px 14px rgba(7,9,13,.06), 0 18px 40px rgba(7,9,13,.06);
  --shadow-lg: 0 10px 30px rgba(7,9,13,.08), 0 40px 80px rgba(7,9,13,.08);
  --shadow-turq: 0 18px 50px rgba(6,210,221,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--turquoise); color: #00343a; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---- Type scale helpers ---- */
.t-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.t-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.t-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.t-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---- Buttons (design-system primitives) ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: #000;
  box-shadow: 0 14px 34px rgba(7,9,13,.22);
  transform: translateY(-2px);
}
.btn-turq {
  background: var(--turquoise);
  color: #00343a;
}
.btn-turq:hover {
  box-shadow: var(--shadow-turq);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
}

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

.section { padding: 104px 32px; max-width: 1240px; margin: 0 auto; }
@media (max-width: 720px){ .section { padding: 72px 20px; } }

/* thin scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }
