:root {
    --bg: #FFFFFF;
    --bg-2: #F4F7FB;
    --bg-card: #FFFFFF;
    --ink: #0E2438;
    --ink-dim: #44586C;
    --ink-faint: #7A8D9E;
    --rule: rgba(14, 36, 56, 0.10);
    --rule-strong: rgba(14, 36, 56, 0.18);
    --accent: #1F5BFF;
    --accent-deep: #1444C4;
    --plum: #475569;
    --rose: #0EA5A5;
    --sky: #5B8DEF;
  }
  html, body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  html { scroll-padding-top: 80px; scroll-behavior: smooth; }
  ::selection { background: var(--accent); color: #fff; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 6px; }

  /* Serious display: tighter, less extreme negative tracking */
  .display {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.02;
  }
  /* Kill the playful serif — render as clean sans, weight for hierarchy */
  .serif { font-family: 'Hanken Grotesk', sans-serif; letter-spacing: -0.01em; font-weight: 400; }
  /* "italic-serif" emphasis becomes a confident colored sans accent */
  .italic-serif {
    font-family: 'Hanken Grotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
  }

  /* Buttons — squared, enterprise */
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    transition: transform 160ms ease, background 160ms, box-shadow 160ms;
    white-space: nowrap;
  }
  .pill-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(31,91,255,0.5);
  }
  .pill-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
  .pill-accent { background: var(--accent); color: #fff; }
  .pill-accent:hover { background: var(--accent-deep); transform: translateY(-1px); }
  .pill-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--rule-strong);
  }
  .pill-ghost:hover { border-color: var(--ink); background: var(--bg-2); }

  /* Eyebrow chip — uppercase, restrained */
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--rule-strong);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-dim);
    background: var(--bg-2);
  }
  .chip::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }

  /* Card surface — crisp, low radius, subtle shadow */
  .surface {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(14,36,56,0.04);
  }

  /* Reveal */
  .reveal { opacity: 1; }
  .reveal-init {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 700ms cubic-bezier(0.2,0.7,0.3,1), transform 700ms cubic-bezier(0.2,0.7,0.3,1);
  }
  .reveal-init.in { opacity: 1; transform: none; }

  @keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .float { animation: float-y 6s ease-in-out infinite; }
  @keyframes float-y-2 { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
  .float-rot { animation: float-y-2 7s ease-in-out infinite; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .marquee-track { animation: marquee 50s linear infinite; }
  @keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  .spin-slow { animation: spin-slow 20s linear infinite; }

  .link-underline {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1.5px;
    padding-bottom: 1px;
  }

  /* Phone bezel — kept for product mockups, lighter shadow */
  .phone {
    border-radius: 44px;
    background: #0E2438;
    padding: 8px;
    box-shadow: 0 24px 50px -20px rgba(14,36,56,0.30), 0 0 0 1px rgba(0,0,0,0.4) inset;
  }
  .phone-inner { border-radius: 36px; overflow: hidden; position: relative; background: #000; }

  .row { padding-top: 72px; padding-bottom: 72px; }
  @media (max-width: 768px) { .row { padding-top: 48px; padding-bottom: 48px; } }

  .burst { display: inline-block; position: relative; }

  @keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }
  .pulse-dot { animation: pulse-dot 1.8s ease-in-out infinite; }

  .lift { transition: transform 250ms cubic-bezier(0.2,0.7,0.3,1), box-shadow 250ms; }
  .lift:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(14,36,56,0.22); }

  .reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }

  /* (dark theme tweak retained but unused by default) */
  .theme-dark {
    --bg: #0E2438; --bg-2: #14304B; --bg-card: #16334F;
    --ink: #F4F7FB; --ink-dim: #C4CDD5; --ink-faint: #7E91A2;
    --rule: rgba(255,255,255,0.10); --rule-strong: rgba(255,255,255,0.22);
  }
