  /* ============================================================
     DESIGN TOKENS
     ============================================================ */
  :root {
    /* Trio palette */
    --navy: #2d3a7d;
    --navy-dark: #232e66;
    --navy-deeper: #1a2452;
    --navy-50: #eef0f8;
    --navy-100: #d5daed;
    --pink: #e91e85;
    --pink-soft: #ffb3d9;
    --pink-50: #fdeaf3;
    --orange: #f58024;
    --orange-soft: #fcb549;
    --orange-50: #fff2e6;
    --red: #e64644;
    --magenta: #d823cd;

    /* Signature gradient */
    --grad: linear-gradient(90deg, #fcb549 0%, #e64644 50%, #d823cd 100%);
    --grad-tilt: linear-gradient(135deg, #fcb549 0%, #e64644 50%, #d823cd 100%);
    --grad-v: linear-gradient(180deg, #fcb549 0%, #e64644 50%, #d823cd 100%);

    /* Surfaces */
    --bg: #ffffff;
    --surface: #f8f9fb;
    --surface-2: #f2f4f8;
    --border: #e8eaef;
    --text: #151515;
    --text-muted: #6f6f6f;

    /* Type */
    --font: 'Figtree', system-ui, -apple-system, sans-serif;
    --mono: 'Figtree', system-ui, -apple-system, sans-serif;

    /* Shadows */
    --sh-sm: 0 1px 2px rgba(35, 46, 102, 0.04), 0 2px 6px rgba(35, 46, 102, 0.04);
    --sh-md: 0 4px 8px rgba(35, 46, 102, 0.06), 0 8px 24px rgba(35, 46, 102, 0.08);
    --sh-lg: 0 12px 24px -8px rgba(35, 46, 102, 0.12), 0 24px 64px -12px rgba(35, 46, 102, 0.18);
    --sh-xl: 0 24px 48px -12px rgba(35, 46, 102, 0.18), 0 48px 96px -24px rgba(35, 46, 102, 0.24);
  }

  /* ============================================================
     RESET + BASE
     ============================================================ */
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
  }
  img, video, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  ::selection { background: var(--pink); color: #fff; }

  .mono { font-family: var(--mono); }
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ============================================================
     HERO (dark, video bg, scrim): simplified single line + one CTA
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--navy-deeper);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 200px 0 120px;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  .hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(90deg,
        rgba(15, 22, 55, 0.96) 0%,
        rgba(26, 36, 82, 0.78) 35%,
        rgba(35, 46, 102, 0.35) 60%,
        transparent 85%),
      linear-gradient(180deg,
        transparent 60%,
        rgba(26, 36, 82, 0.4) 100%);
  }
  .hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1180px;
  }
  /* Split layout: vertical gradient bar + 3-line headline */
  .hero-split {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 2.4vw, 36px);
  }
  .hero-bar {
    width: 6px;
    align-self: stretch;
    border-radius: 999px;
    background: var(--grad-v);
    box-shadow: 0 0 24px rgba(230, 70, 68, 0.35);
    flex-shrink: 0;
    margin-top: 0.12em;
    transform-origin: top;
    transform: scaleY(0);
    animation: barGrow 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
  }
  @keyframes barGrow {
    to { transform: scaleY(1); }
  }
  .hero h1 {
    font-size: clamp(40px, 6.4vw, 96px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 0;
    flex: 1;
    min-width: 0;
  }
  .hero h1 .line {
    display: block;
    overflow: hidden;
  }
  .hero h1 .line > span {
    display: block;
    transform: translateY(105%);
    animation: revealUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  }
  .hero h1 .line:nth-child(1) > span { animation-delay: 0.30s; }
  .hero h1 .line:nth-child(2) > span { animation-delay: 0.45s; }
  .hero h1 .line:nth-child(3) > span { animation-delay: 0.60s; }
  .hero h1 .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero h1 .find {
    color: #fff;
    font-weight: 900;
    font-style: normal;
  }
  .hero h1 .rec {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    font-style: normal;
  }
  .hero-sub {
    margin: 28px 0 0;
    margin-left: calc(6px + clamp(20px, 2.4vw, 36px));
    max-width: 540px;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.75s forwards;
  }
  .hero-sub b { color: #fff; font-weight: 700; }
  .hero-sub span { display: block; }
  .hero-sub span + span { margin-top: 7px; }
  @media (max-width: 640px) {
    .hero-sub { margin-left: calc(6px + 20px); font-size: 15px; }
  }
  .hero-cta-row {
    margin-top: 40px;
    margin-left: calc(6px + clamp(20px, 2.4vw, 36px));
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.9s forwards;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 30px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 12px 32px -8px rgba(230, 70, 68, 0.55);
    position: relative;
    overflow: hidden;
  }
  .btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad);
    background-size: 200% 100%;
    transition: background-position 0.6s ease;
    z-index: -1;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(230, 70, 68, 0.65); }
  .btn-primary:hover::before { background-position: 100% 0; }
  .btn-primary .arr { transition: transform 0.3s; }
  .btn-primary:hover .arr { transform: translateX(4px); }

  .btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 4px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s, gap 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }
  .btn-ghost-light:hover { color: #fff; gap: 12px; border-bottom-color: #fff; }

  /* ============================================================
     AI HI: minimalist "Moi!" pill, expands on hover/focus
     ============================================================ */
  .ai-hi {
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 44px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    animation: aiHiIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
    transition:
      padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
  }
  @keyframes aiHiIn {
    to { opacity: 1; transform: translateY(0); }
  }
  .ai-hi:hover,
  .ai-hi:focus-within {
    padding: 0 6px 0 16px;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(252, 181, 73, 0.45);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
  }

  .ai-hi-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.005em;
    color: #fff;
    cursor: text;
    white-space: nowrap;
    user-select: none;
  }
  .ai-hi-wave {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    animation: aiWave 3.4s ease-in-out 2.2s infinite;
    transform-origin: 70% 70%;
  }
  @keyframes aiWave {
    0%, 78%, 100% { transform: rotate(0deg); }
    82% { transform: rotate(14deg); }
    86% { transform: rotate(-8deg); }
    90% { transform: rotate(14deg); }
    94% { transform: rotate(-4deg); }
    98% { transform: rotate(10deg); }
  }

  .ai-hi-input {
    width: 0;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font: 500 14px/1 var(--font);
    opacity: 0;
    transition:
      width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease 0.05s,
      padding 0.3s ease,
      margin 0.3s ease,
      border-color 0.3s ease;
  }
  .ai-hi-input::placeholder { color: rgba(255, 255, 255, 0.55); }
  .ai-hi:hover .ai-hi-input,
  .ai-hi:focus-within .ai-hi-input {
    width: 220px;
    opacity: 1;
    padding: 0 12px;
    margin-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  .ai-hi-send {
    width: 0;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.65);
    overflow: hidden;
    box-shadow: 0 4px 12px -3px rgba(230, 70, 68, 0.55);
    transition:
      width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease 0.1s,
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
      box-shadow 0.2s;
  }
  .ai-hi-send svg { width: 14px; height: 14px; }
  .ai-hi:hover .ai-hi-send,
  .ai-hi:focus-within .ai-hi-send {
    width: 32px;
    opacity: 1;
    transform: scale(1);
  }
  .ai-hi-send:hover,
  .ai-hi-send:focus-visible {
    box-shadow: 0 6px 16px -3px rgba(230, 70, 68, 0.75);
  }

  @media (max-width: 640px) {
    .ai-hi:hover .ai-hi-input,
    .ai-hi:focus-within .ai-hi-input { width: 160px; }
  }

  /* ============================================================
     HERO NEWS (Uusinta) — vertical stack on hero right side
     ============================================================ */
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }
  .hero-main { min-width: 0; }
  @keyframes labelReveal {
    to { opacity: 1; }
  }
  @keyframes labelShimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -100% 0; }
  }
  @keyframes heroNewsPulse {
    0%   { box-shadow: 0 0 0 0 rgba(233, 30, 133, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(233, 30, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 30, 133, 0); }
  }
  @keyframes cardReveal {
    from { opacity: 0; transform: perspective(900px) translateY(14px); }
    to   { opacity: 1; transform: perspective(900px) translateY(0); }
  }
  @media (max-width: 1000px) {
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }
  }
