/* ===========================================================
   TRAYE × WIZA SYSTEM — tokens & base
   Light-mode violet prospecting observatory
   =========================================================== */

:root {
  /* Teal family (Traye brand) */
  --deep-iris: #0c3b35;     /* headlines, filled buttons — deep pine-teal */
  --plum: #234b45;          /* nav text, card titles */
  --amethyst: #0f9e88;      /* links, accent strokes, icon highlights — readable teal */
  --mist-violet: #e6f8f4;   /* soft mint washes, tinted sections */
  --lavender-glow: #34ceb7; /* brand mint / glow */
  --brand-mint: #34ceb7;    /* exact Traye logo teal */

  /* Neutrals */
  --canvas: #ffffff;
  --paper: #f4f8f6;
  --mist: #e2e7e4;          /* hairline borders */
  --smoke: #c1cfca;
  --ash: #909a96;           /* muted helper text */
  --slate: #5d6663;         /* secondary body */
  --charcoal: #333333;
  --carbon: #222222;

  /* Gradients */
  --hero-wash: linear-gradient(180deg, #ffffff 0%, #f1faf7 46%, #e6f8f4 100%);
  --twilight-beam: linear-gradient(90deg, #46d5bd, #12b89c, #7fe6d4, #46d5bd);
  --lavender-sweep: linear-gradient(90deg, rgba(70,213,189,.9), rgba(18,184,156,.85) 12%, rgba(18,184,156,0));

  /* Type */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii */
  --r: 8px;            /* the signature — cards, buttons, inputs, icons */
  --r-lg: 24px;        /* large panels */
  --r-pill: 1440px;    /* pills/tags/nav capsules */

  /* Layout */
  --container: 1200px;
  --section-gap: 80px;

  /* Shadows (blue-tinted, subtle) */
  --shadow-sm: rgba(18,55,105,.08) 0px 2px 4px 0px, rgba(18,55,105,.04) 0px 1px 1px 0px, rgba(18,55,105,.08) 0px 0px 0px 1px;
  --shadow-lg: rgba(14,59,101,.06) 0px 32px 24px -12px, rgba(14,59,101,.01) 0px 11px 4px 0px, rgba(14,59,101,.02) 0px 6px 4px 0px, rgba(14,59,101,.03) 0px 3px 3px 0px, rgba(14,59,101,.04) 0px 1px 1px 0px;
  --shadow-feature: rgba(18,184,156,.20) 0px -6px 20px 0px inset, rgba(8,80,68,.12) 0px 11px 12px 0px, rgba(8,80,68,.12) 0px 3px 3px 0px, rgba(8,80,68,.12) 0px 1px 1px 0px, rgba(8,80,68,.08) 0px 0px 0px 1px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -.01em;
  color: var(--deep-iris);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-gap) 0; }

/* ---------- Type helpers ---------- */
.display    { font-size: 64px; line-height: 1.0; }
.heading-lg { font-size: 56px; line-height: 1.0; }
.heading    { font-size: 40px; line-height: 1.02; }
.heading-sm { font-size: 32px; line-height: 1.04; }
.subheading { font-size: 24px; line-height: 1.1; }
.lead       { font-family: var(--font-ui); font-weight: 400; font-size: 18px; line-height: 1.55; color: var(--slate); }
.body       { font-size: 16px; color: var(--slate); }
.amethyst   { color: var(--amethyst); }
.iris       { color: var(--deep-iris); }

/* ---------- Pill tag (section intros) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 500; font-size: 12px;
  border-radius: var(--r-pill);
  padding: 5px 12px;
}
.tag-accent { background: var(--mist-violet); color: var(--amethyst); }
.tag-neutral { background: var(--paper); color: var(--slate); }
.tag svg { width: 13px; height: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 1;
  padding: 16px 24px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-filled { background: var(--deep-iris); color: #fff; }
.btn-filled:hover { background: #34195f; box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; border-color: var(--deep-iris); color: var(--deep-iris); }
.btn-ghost:hover { background: rgba(38,17,74,.04); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Section heading block ---------- */
.sec-head { max-width: 680px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head .heading, .sec-head .heading-sm { margin-top: 16px; }
.sec-head .lead { margin-top: 16px; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; max-width: 56ch; }

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive type ---------- */
@media (max-width: 980px) {
  :root { --section-gap: 64px; }
  .display { font-size: 44px; }
  .heading-lg { font-size: 40px; }
  .heading { font-size: 32px; }
  .heading-sm { font-size: 26px; }
}
