/*
 * Engraved Tide: design tokens
 * Bold, trustworthy and a little futuristic, like a banknote redesigned for a phone.
 * Pages sit on deep cobalt covered in fine engraved wave lines. Headlines are a clean
 * geometric sans that fades from mint to aqua, seals are guilloche rosettes drawn in SVG,
 * the nav is a frosted pill, and the main action is an ink pill with a spectrum rim.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600&family=Figtree:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: cobalt for heroes and bands, navy for reading sections */
  --et-cobalt: #0d5fae;
  --et-cobalt-2: #1784cf;
  --et-cobalt-deep: #08427f;
  --et-navy: #071a33;
  --et-navy-2: #0c2746;
  --et-navy-3: #133459;
  --et-line: rgba(196, 226, 255, .16);
  --et-line-strong: rgba(196, 226, 255, .32);

  /* Text */
  --et-white: #f3f9ff;
  --et-soft: #b4cde6;
  --et-faint: #7f9bbb;
  --et-ink: #0d1117;        /* the ink pill and text on frosted surfaces */

  /* Accents: the mint to aqua fade, plus a violet tint for engraving and the prism stripe */
  --et-mint: #62e49c;
  --et-aqua: #7ce6e4;
  --et-violet: #9a6cf2;
  --et-rose: #f39acb;
  --et-mint-soft: rgba(98, 228, 156, .14);

  /* Status colors, only inside product UI */
  --et-green: #4fd88b;
  --et-amber: #f3c262;
  --et-red: #ff7a7a;

  /* Gradients */
  --et-fade: linear-gradient(90deg, var(--et-mint) 0%, var(--et-aqua) 55%, var(--et-white) 100%);
  --et-spectrum: linear-gradient(90deg, #62e49c, #7ce6e4, #9a6cf2, #f39acb, #f3c262);
  --et-prism: linear-gradient(90deg, rgba(154,108,242,.0), rgba(154,108,242,.75) 25%, rgba(243,154,203,.85) 60%, rgba(124,230,228,.0));
  --et-sea: radial-gradient(120% 90% at 85% 100%, #2fd3c4 0%, rgba(47,211,196,0) 45%), linear-gradient(160deg, #08427f 0%, #0d5fae 45%, #1784cf 100%);
  --et-frost: rgba(214, 233, 250, .78);
  --et-frost-dark: rgba(12, 39, 70, .62);

  /* The engraving: fine wave lines as a repeating SVG tile */
  --et-engrave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='9' viewBox='0 0 160 9'%3E%3Cpath d='M0 4.5 Q40 0.8 80 4.5 T160 4.5' fill='none' stroke='%23d8ecff' stroke-opacity='.16' stroke-width='.8'/%3E%3C/svg%3E");
  --et-engrave-dense: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='5' viewBox='0 0 80 5'%3E%3Cpath d='M0 2.5 Q20 0.6 40 2.5 T80 2.5' fill='none' stroke='%23d8ecff' stroke-opacity='.22' stroke-width='.6'/%3E%3C/svg%3E");

  /* Type */
  --et-display: "Urbanist", "Avenir Next", system-ui, sans-serif;
  --et-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --et-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --et-text-hero: clamp(44px, 6.6vw, 86px);
  --et-text-h2: clamp(32px, 4vw, 52px);
  --et-text-h3: 23px;
  --et-text-lead: 20px;
  --et-text-body: 16px;
  --et-text-small: 14px;
  --et-text-micro: 12px;

  --et-tracking-hero: -.035em;
  --et-tracking-h2: -.025em;
  --et-tracking-caps: .14em;

  /* Shape */
  --et-radius-xl: 32px;
  --et-radius-lg: 22px;
  --et-radius: 14px;
  --et-radius-sm: 8px;
  --et-pill: 999px;

  --et-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px -20px rgba(2, 10, 24, .7);
  --et-shadow-lg: 0 1px 0 rgba(255,255,255,.12) inset, 0 40px 80px -30px rgba(2, 10, 24, .85);
  --et-glow: 0 0 0 1px rgba(124,230,228,.35), 0 0 32px rgba(124,230,228,.25);

  /* Space */
  --et-container: 1180px;
  --et-narrow: 760px;
  --et-gutter: 24px;
  --et-section: clamp(72px, 10vw, 128px);
}
