/*
 * Silk Grid: design tokens
 * Crisp infrastructure SaaS on white. Thin vertical guide rails frame the page like a blueprint,
 * a silky ribbon of periwinkle, magenta and tangerine sweeps through the hero, headlines run
 * two-tone (deep navy, then slate) and one confident indigo carries every action.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --sg-white: #ffffff;
  --sg-mist: #f4f6fb;        /* quiet sections, table heads, inputs on hover */
  --sg-mist-2: #e9edf6;
  --sg-rail: #e2e7f0;        /* guide rails and every hairline */
  --sg-navy: #0c1a3d;        /* dark bands, code, footer accents */
  --sg-navy-2: #172852;

  /* Text */
  --sg-ink: #0c1a3d;         /* headlines, first half of a two-tone headline */
  --sg-slate: #4a5f80;       /* second half of a headline, leads */
  --sg-soft: #6b7a93;        /* secondary text */
  --sg-faint: #9aa6ba;

  /* The one action color */
  --sg-indigo: #5b3df5;
  --sg-indigo-dark: #4527d9;
  --sg-indigo-soft: #ece8ff;

  /* Ribbon colors: only inside the ribbon and tiny accents (a dot, a gradient word) */
  --sg-peri: #9db0ff;
  --sg-magenta: #f455c0;
  --sg-tangerine: #ff8b26;
  --sg-coral: #ff6a5c;
  --sg-ribbon: linear-gradient(100deg, var(--sg-peri) 0%, #c48bff 22%, var(--sg-magenta) 45%, var(--sg-coral) 66%, var(--sg-tangerine) 84%, #ffb347 100%);

  /* Status, product UI only */
  --sg-green: #1fa971;
  --sg-amber: #e7a12b;
  --sg-red: #e2454f;

  /* Type */
  --sg-display: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --sg-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sg-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --sg-text-hero: clamp(38px, 5vw, 66px);
  --sg-text-h2: clamp(30px, 3.6vw, 46px);
  --sg-text-h3: 21px;
  --sg-text-lead: 19px;
  --sg-text-body: 16px;
  --sg-text-small: 14px;
  --sg-text-micro: 12px;
  --sg-tracking-hero: -.035em;
  --sg-tracking-h2: -.028em;

  /* Shape */
  --sg-radius-sm: 4px;       /* buttons, inputs, chips */
  --sg-radius: 8px;          /* cards, windows */
  --sg-radius-lg: 14px;      /* big product panels */
  --sg-border: 1px solid var(--sg-rail);
  --sg-shadow: 0 1px 2px rgba(12, 26, 61, .06), 0 6px 18px -6px rgba(12, 26, 61, .10);
  --sg-shadow-lg: 0 2px 4px rgba(12, 26, 61, .05), 0 30px 60px -20px rgba(12, 26, 61, .28), 0 18px 36px -18px rgba(91, 61, 245, .22);
  --sg-focus: 0 0 0 3px rgba(91, 61, 245, .22);

  /* Space */
  --sg-container: 1200px;
  --sg-narrow: 760px;
  --sg-gutter: 32px;
  --sg-section: 112px;
  --sg-section-sm: 72px;
}

@media (max-width: 700px) {
  :root {
    --sg-gutter: 20px;
    --sg-section: 72px;
    --sg-section-sm: 48px;
  }
}
