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

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

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

    --font: 'Figtree', system-ui, -apple-system, sans-serif;

    --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);
  }

  *, *::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: hidden;
  }
  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; }

  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ============================================================
     HERO
     ============================================================ */
  .hero-page {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #f0f3ff 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
  }
  .hero-page::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(216, 35, 205, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .hero-page::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 58, 125, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .hero-page-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
  }
  .hero-page .kicker {
    color: var(--magenta);
    margin-bottom: 20px;
  }
  .hero-page h1 {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
  }
  .hero-page h1 .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-page p {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 720px;
    margin-bottom: 36px;
  }
  .hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 999px;
    box-shadow: 0 12px 28px -8px rgba(230, 70, 68, 0.55);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -8px rgba(230, 70, 68, 0.7);
  }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: #fff;
    color: var(--navy-dark);
    border: 1px solid var(--border);
    font-weight: 800;
    font-size: 15px;
    border-radius: 999px;
    transition: all 0.2s;
  }
  .btn-secondary:hover {
    border-color: var(--navy);
    color: var(--navy);
    transform: translateY(-2px);
  }

  /* ============================================================
     AI-HI FORM
     ============================================================ */
  .ai-hi {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 16px 28px;
    background: #fff;
    color: var(--navy-dark);
    border: 1px solid var(--border);
    font-weight: 800;
    font-size: 15px;
    border-radius: 999px;
    font-family: var(--font);
    transition: all 0.2s;
  }
  .ai-hi:hover, .ai-hi:focus-within {
    border-color: var(--navy);
    color: var(--navy);
    transform: translateY(-2px);
  }
  .ai-hi-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    user-select: none;
    cursor: default;
  }
  .ai-hi-wave {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    transform-origin: 70% 70%;
    animation: aiWave 3.4s ease-in-out 2s infinite;
  }
  @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: var(--navy-dark);
    font: 500 14px/1 var(--font);
    opacity: 0;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease 0.05s, padding 0.3s ease, margin 0.3s ease;
  }
  .ai-hi-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
  }
  .ai-hi:hover .ai-hi-input,
  .ai-hi:focus-within .ai-hi-input {
    width: 200px;
    opacity: 1;
    padding: 0 12px;
    margin-left: 10px;
    border-left: 1px solid var(--border);
  }
  .ai-hi-send {
    width: 0;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--navy-dark);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.65);
    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;
  }
  .ai-hi-send svg { width: 14px; height: 14px; stroke-width: 2.6; }
  .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 { color: var(--pink); }

  /* Widgetin avautuminen ei saa siirtää CTA-riviä työpöytäleveydellä */
  @media (min-width: 861px) {
    .hero-cta-row:has(.ai-hi) { flex-wrap: nowrap; }
    .hero-cta-row:has(.ai-hi) > * { min-width: 0; }
    .hero-cta-row .ai-hi-label { flex-shrink: 0; }
    .hero-cta-row .ai-hi-input { min-width: 0; }
    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-secondary { flex-shrink: 0; white-space: nowrap; }
  }

  /* ============================================================
     SECTION HEAD
     ============================================================ */
  .block { padding: 100px 0; }
  .block.alt { background: var(--surface); }
  .section-head {
    margin-bottom: 80px;
    max-width: 880px;
  }
  .kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
  }
  .kicker.orange { color: var(--orange); }
  .kicker.pink { color: var(--pink); }
  .kicker.magenta { color: var(--magenta); }
  .kicker.navy { color: var(--navy); }
  .section-title {
    font-size: clamp(28px, 3.5vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.015em;
  }
  .section-title .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .section-lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.7;
  }

  /* ============================================================
     SERVICES — STACK CARDS
     ============================================================ */
  .stack-wrap {
    display: flex;
    flex-direction: column;
    gap: 80px;
  }
  .stack-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .stack-card.reverse { direction: rtl; }
  .stack-card.reverse > * { direction: ltr; }
  .stack-card-left h3 {
    font-size: clamp(24px, 2.5vw, 42px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }
  .accent-orange { color: var(--orange); }
  .accent-navy { color: var(--navy); }
  .accent-pink { color: var(--pink); }
  .accent-magenta { color: var(--magenta); }
  .subhead {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
  }
  .stack-bullets { list-style: none; margin-bottom: 32px; }
  .stack-bullets li {
    font-size: 16px;
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.6;
  }
  .stack-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--magenta);
    font-weight: 900;
  }
  .new-tag {
    display: inline-block;
    background: var(--grad);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    vertical-align: 5px;
    margin-left: 8px;
  }

  .stack-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }
  .stack-learn {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
  }
  .stack-learn:hover {
    gap: 12px;
    color: var(--magenta);
  }
  .stack-price { text-align: right; }
  .stack-price-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .stack-price-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .stack-price-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy-dark);
  }
  .stack-price-unit {
    font-size: 14px;
    color: var(--text-muted);
  }
  .stack-price-vat {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
  }

  .poster {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sh-lg);
    aspect-ratio: 1 / 1;
    background: var(--surface-2);
    position: relative;
  }
  .poster-illustration {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-tilt);
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .poster-illustration.navy { background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 100%); }
  .poster-illustration.pink { background: linear-gradient(135deg, var(--pink) 0%, var(--magenta) 100%); }
  .poster-illustration.magenta { background: linear-gradient(135deg, var(--magenta) 0%, var(--navy-dark) 100%); }
  .poster-illustration.orange { background: linear-gradient(135deg, var(--orange-soft) 0%, var(--red) 100%); }
  .poster-illustration::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
  }
  .poster-illustration svg {
    width: 60%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
  }
  .poster-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    color: var(--navy-dark);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 3;
  }
  .poster-tag.new {
    background: var(--grad);
    color: #fff;
  }

  /* ============================================================
     USE CASES GRID
     ============================================================ */
  .usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .usecase-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 28px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
  }
  .usecase-card:hover {
    transform: translateY(-4px);
    border-color: var(--magenta);
    box-shadow: 0 16px 36px -12px rgba(216, 35, 205, 0.18);
  }
  .usecase-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(216, 35, 205, 0.12) 0%, rgba(252, 181, 73, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--magenta);
  }
  .usecase-card h4 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }
  .usecase-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
  }
  .usecase-impact {
    font-size: 13px;
    font-weight: 700;
    color: var(--magenta);
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }

  /* ============================================================
     PROCESS
     ============================================================ */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    counter-reset: process;
  }
  .process-step { position: relative; }
  .process-step::before {
    counter-increment: process;
    content: counter(process, decimal-leading-zero);
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
  }
  .process-step h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }
  .process-step p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* ============================================================
     FAQ
     ============================================================ */
  .faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .faq-item:hover {
    border-color: var(--pink-soft);
    box-shadow: var(--sh-md);
  }
  .faq-item summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+';
    font-size: 28px;
    font-weight: 300;
    color: var(--magenta);
    transition: transform 0.2s;
    line-height: 1;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
  }

  /* ============================================================
     CTA BAND
     ============================================================ */
  .cta-band {
    background: var(--navy-deeper);
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .cta-band::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(216, 35, 205, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .cta-band-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  .cta-band h2 {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }
  .cta-band h2 .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .cta-band p {
    font-size: 18px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin-bottom: 36px;
  }

  /* ============================================================
     REVEAL
     ============================================================ */
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  [data-reveal].in {
    opacity: 1;
    transform: translateY(0);
  }

  /* ============================================================
     RESPONSIVE
     ============================================================ */
  @media (max-width: 1000px) {
    .stack-card { grid-template-columns: 1fr; gap: 40px; }
    .stack-card.reverse { direction: ltr; }
    .usecase-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  }
  @media (max-width: 600px) {
    .container { padding: 0 20px; }
    .hero-page { padding: 120px 0 60px; }
    .block { padding: 60px 0; }
    .section-head { margin-bottom: 50px; }
    .stack-card-footer { flex-direction: column; align-items: flex-start; }
    .stack-price { text-align: left; }
    .usecase-grid { grid-template-columns: 1fr; gap: 16px; }
    .process-grid { grid-template-columns: 1fr; gap: 32px; }
    .process-step::before { font-size: 64px; }
    .cta-band { padding: 70px 0; }
    .hero-cta-row { flex-direction: column; }
    .ai-hi { justify-content: center; }
    .ai-hi:hover .ai-hi-input,
    .ai-hi:focus-within .ai-hi-input { width: 140px; }
    .btn-primary, .btn-secondary { justify-content: center; }
  }
