:root {
  --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;
  --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-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);
}

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

/* SECTION SHELL */
.block { padding: 96px 0; position: relative; }
.block.surface { background: var(--surface); }
.block.dark {
  background: #090e24;
  color: #fff;
  overflow: hidden;
}
.block.dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 70% at -8% 25%, rgba(245,128,36,0.22) 0%, transparent 52%),
    radial-gradient(ellipse 65% 60% at 108% 75%, rgba(216,35,205,0.2) 0%, transparent 52%),
    radial-gradient(ellipse 55% 45% at 50% -12%, rgba(230,70,68,0.16) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
.block.dark::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad); opacity: 0.55;
}
.block.dark .container { position: relative; z-index: 1; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--navy-50); color: var(--navy);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.kicker.orange { background: var(--orange-50); color: var(--orange); }
.kicker.orange::before { background: var(--orange); }
.kicker.pink { background: var(--pink-50); color: var(--pink); }
.kicker.pink::before { background: var(--pink); }
.block.dark .kicker {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.12);
}
.block.dark .kicker::before { background: var(--orange-soft); }
.block.dark .kicker.pink {
  background: rgba(216,35,205,0.18);
  color: var(--pink-soft);
  border-color: rgba(216,35,205,0.3);
}

.section-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
  margin: 16px 0 14px;
}
.section-title .gr {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.block.dark .section-title { color: #fff; }
.section-lead {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-muted);
  max-width: 620px; line-height: 1.6;
}
.block.dark .section-lead { color: rgba(255,255,255,0.62); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  box-shadow: 0 8px 22px -8px rgba(230, 70, 68, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(230, 70, 68, 0.7); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}
.block.dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.18); }
.btn-ghost:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.block.dark .btn-ghost:hover { background: rgba(255,255,255,0.06); box-shadow: none; }

/* HERO */
.geo-hero { padding-top: 160px; padding-bottom: 96px; }
.geo-hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 60px; align-items: center;
}
@media (max-width: 980px) { .geo-hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.geo-hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 900; letter-spacing: -0.035em;
  line-height: 1.04; margin: 18px 0 20px;
}
.geo-hero h1 .gr {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.geo-hero .lead {
  font-size: 18px; color: rgba(255,255,255,0.7);
  line-height: 1.55; max-width: 520px; margin-bottom: 28px;
}
.geo-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.geo-hero-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 18px; }

.geo-hero-stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px; padding: 28px 28px 24px;
  backdrop-filter: blur(12px);
  position: relative;
}
.geo-hero-stats::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px; padding: 1px;
  background: var(--grad); opacity: 0.4;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.geo-hero-stats-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.geo-hero-stats-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pink-soft);
}
.geo-hero-stats-meta { font-size: 11px; color: rgba(255,255,255,0.4); }
.geo-stat-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.geo-stat-row:last-child { border-bottom: none; }
.geo-stat-name { font-weight: 600; font-size: 14px; color: #fff; }
.geo-stat-value { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; color: #fff; }
.geo-stat-value small { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 500; margin-left: 2px; }
.geo-stat-bar {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.08);
  height: 5px; border-radius: 3px; overflow: hidden;
  margin-top: 6px;
}
.geo-stat-bar-fill { height: 100%; background: var(--grad); border-radius: 3px; }

/* FORM */
.geo-form-card {
  max-width: 580px; margin: 40px auto 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 22px; padding: 40px 36px;
  box-shadow: 0 24px 64px -24px rgba(35, 46, 102, 0.18);
}
.geo-form-field { margin-bottom: 18px; }
.geo-form-field label {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em; margin-bottom: 8px; color: var(--text);
}
.geo-form-field input {
  width: 100%; padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; font-family: inherit; font-size: 15px;
  color: var(--text); transition: border-color 0.2s, background 0.2s;
}
.geo-form-field input::placeholder { color: rgba(0,0,0,0.35); }
.geo-form-field input:focus {
  outline: none; border-color: var(--pink);
  background: #fff; box-shadow: 0 0 0 4px rgba(233, 30, 133, 0.1);
}
.geo-turnstile {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-muted); margin: 22px 0 8px;
}
.geo-turnstile-box {
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--orange-50); border: 1px solid var(--orange);
  display: grid; place-items: center; color: var(--orange); font-size: 11px;
}
.geo-form-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* QUESTIONS */
.geo-q-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px; margin-top: 40px;
}
.geo-q-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 16px 18px;
  font-size: 14px; color: rgba(255,255,255,0.92);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.geo-q-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(216,35,205,0.4);
}
.geo-q-cat {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--pink-soft);
}
.geo-q-cat.b { color: var(--orange-soft); }
.geo-q-cat.c { color: #ff85e6; }
.geo-q-cat.d { color: #6dd1ff; }

/* LOADING */
.geo-loading {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 40px; max-width: 1080px; margin-left: auto; margin-right: auto;
}
.geo-model-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 22px 22px 18px;
  box-shadow: 0 4px 16px -8px rgba(35, 46, 102, 0.1);
}
.geo-model-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.geo-model-icon {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff;
}
.geo-model-icon.gpt { background: linear-gradient(135deg, #10A37F, #1abc9c); }
.geo-model-icon.gem { background: linear-gradient(135deg, #4285F4, #9b72ff); }
.geo-model-icon.claude { background: linear-gradient(135deg, #D97757, #f39c12); }
.geo-model-icon.grok { background: #000; }
.geo-model-name { font-weight: 700; font-size: 15px; color: var(--text); }
.geo-model-sub { font-size: 12px; color: var(--text-muted); }
.geo-progress-track {
  background: var(--surface-2); height: 6px; border-radius: 3px; overflow: hidden;
  margin-top: 14px;
}
.geo-progress-fill { height: 100%; background: var(--grad); border-radius: 3px; }
.geo-progress-label { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.geo-progress-label.done { color: #00a32a; font-weight: 700; }

/* RESULTS */
.geo-result-meta {
  color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 32px;
}
.geo-score-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px; padding: 32px;
  margin-bottom: 24px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 32px; align-items: center;
}
@media (max-width: 700px) { .geo-score-box { grid-template-columns: 1fr; text-align: center; } }
.geo-score-circle {
  width: 150px; height: 150px; border-radius: 50%;
  /* Oletus neutraali; todellinen väri + % asetetaan inline-tyylillä (raportti) tai JS:llä (julkinen) */
  background: conic-gradient(rgba(255,255,255,0.12) 0% 100%);
  display: grid; place-items: center; position: relative;
  margin: 0 auto;
}
.geo-score-circle::after {
  content: ""; position: absolute; inset: 8px;
  background: #090e24; border-radius: 50%;
}
.geo-score-text { position: relative; z-index: 1; text-align: center; }
.geo-score-num { font-size: 44px; font-weight: 900; line-height: 1; color: #fff; letter-spacing: -0.04em; }
.geo-score-lbl {
  font-size: 10px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5); margin-top: 6px; text-transform: uppercase;
}
.geo-score-headline { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.01em; }
.geo-score-desc { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.55; }

.geo-results-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 28px 0;
}
.geo-result-card {
  background: #fff; color: var(--text);
  border-radius: 18px; padding: 22px 22px 20px;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.3);
}
.geo-result-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.geo-result-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.geo-result-pct {
  background: var(--pink-50); color: var(--pink);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.geo-result-num {
  font-size: 52px; font-weight: 900; line-height: 1;
  margin: 8px 0; letter-spacing: -0.03em;
}
.geo-result-num small { font-size: 30px; font-weight: 800; color: rgba(0,0,0,0.55); margin-left: 2px; letter-spacing: -0.02em; }
.geo-result-bar {
  background: rgba(0,0,0,0.06); height: 4px; border-radius: 2px; overflow: hidden;
  margin-top: 8px;
}
.geo-result-bar-fill { height: 100%; background: var(--grad); border-radius: 2px; }
.geo-result-foot {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #00a32a; margin-top: 14px;
}
.geo-result-foot::before { content: ""; width: 6px; height: 6px; background: #00a32a; border-radius: 50%; }

.geo-ai-summary {
  background: linear-gradient(135deg, rgba(245,128,36,0.12), rgba(216,35,205,0.08));
  border: 1px solid rgba(245,128,36,0.25);
  border-radius: 16px; padding: 22px 24px;
  margin: 16px 0;
}
.geo-ai-summary-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-soft); margin-bottom: 8px;
}
.geo-ai-summary-head::before { content: "✦"; font-size: 14px; color: var(--orange-soft); }
.geo-ai-summary-text { color: rgba(255,255,255,0.85); line-height: 1.6; font-size: 15px; }

/* COMPETITORS */
.geo-competitors { margin-top: 32px; }
.geo-competitors-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px;
}
.geo-competitors-head h3 { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.geo-competitor-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 20px; align-items: center;
  padding: 18px 24px; margin-bottom: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: background 0.2s, border-color 0.2s;
}
.geo-competitor-row:hover { background: rgba(255,255,255,0.07); border-color: rgba(216,35,205,0.35); }
.geo-competitor-rank {
  width: 38px; height: 38px;
  background: var(--grad-tilt);
  border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 15px; color: #fff;
}
.geo-competitor-name { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 4px; }
.geo-competitor-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.geo-competitor-mentions { text-align: right; }
.geo-competitor-mentions-num { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.geo-competitor-mentions-lbl {
  font-size: 10px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em; text-transform: uppercase;
}

.geo-cta-block {
  margin-top: 40px; text-align: center; padding: 44px 28px;
  background: linear-gradient(135deg, rgba(245,128,36,0.1), rgba(216,35,205,0.08));
  border: 1px solid rgba(245,128,36,0.3); border-radius: 24px;
}
.geo-cta-block h2 { color: #fff; font-size: 28px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; }
.geo-cta-block p { color: rgba(255,255,255,0.7); margin-bottom: 24px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* Yhteystiedot lomakkeessa (sähköpostiportti poistui 27.9.2026: tiedot kysytään ennen testiä) */
.geo-checkbox-row { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 12px; }
.geo-checkbox-row input { margin-top: 4px; accent-color: var(--pink); width: 16px; height: 16px; }
.geo-checkbox-row label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.geo-optional { font-weight: 500; color: var(--text-muted); }
.geo-privacy-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 0 0 18px; }
.geo-privacy-note a { color: inherit; text-decoration: underline; }
.geo-free-note { max-width: 560px; margin: 12px auto 0; font-size: 15px; color: var(--text); }
.geo-notice {
  max-width: 640px; margin: 28px auto 0; padding: 22px 24px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--sh-md); font-size: 15px; line-height: 1.6; color: var(--text);
}
.geo-notice a { color: var(--pink); font-weight: 700; }
.geo-models-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.55); text-align: center; }

/* QA-list */
.geo-qa-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.geo-qa-tag {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.geo-qa-tag.hit { background: rgba(0,163,42,0.18); color: #00d050; }
.geo-qa-tag.miss { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); }

/* "Coming soon" tooltip */
.geo-coming {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--text); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 16px 48px -8px rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.geo-coming.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.geo-coming::before {
  content: "🚧"; margin-right: 8px;
}

.geo-soon-banner {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,128,36,0.15); color: var(--orange-soft);
  border: 1px solid rgba(245,128,36,0.3);
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.geo-soon-banner::before {
  content: ""; width: 7px; height: 7px;
  background: var(--orange-soft); border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Toiminnalliset apuluokat (GEO-testi) ── */
.geo-hidden { display: none !important; }

.geo-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.geo-form-error {
  color: #e64644;
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 0;
}

/* Kysymysmäärän valitsin (segmentit) */
.geo-qcount-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.geo-qcount-choice label {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 8px; cursor: pointer;
  border: 1.5px solid var(--border, #e5e9f4); border-radius: 12px;
  background: var(--surface, #fff); transition: border-color 0.15s, background 0.15s;
}
.geo-qcount-choice input {
  position: absolute; top: 0; left: 0;
  width: 1px; height: 1px; padding: 0; margin: 0;
  opacity: 0; pointer-events: none;
}
.geo-qcount-choice label:has(input:focus-visible) {
  outline: 2px solid var(--navy); outline-offset: 3px;
}
.geo-qcount-choice label:has(input:checked) {
  border-color: #e64644; background: rgba(230,70,68,0.06);
}
.geo-qc-num { font-size: 20px; font-weight: 900; color: var(--text, #151515); letter-spacing: -0.02em; }
.geo-qc-lbl { font-size: 11px; font-weight: 700; color: var(--text-muted, #6b7280); text-transform: uppercase; letter-spacing: 0.05em; }
.geo-qcount-choice label:has(input:checked) .geo-qc-num { color: #e64644; }
/* Audience-valitsimessa tekstilabelit (ei numeroita) → pienempi */
.geo-audience-choice .geo-qc-num { font-size: 14px; font-weight: 800; }

/* ── Raportin kysymystason data ── */
.geo-report-questions { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.geo-report-q {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e9f4);
  border-radius: 14px;
  padding: 20px 22px;
}
.geo-report-q-head { margin-bottom: 8px; }
.geo-report-q-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted, #6b7280);
}
.geo-report-q-text { color: var(--text, #151515); margin: 0 0 12px; line-height: 1.45; }
.geo-report-answers { margin-top: 12px; }
.geo-report-answers summary {
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--brand, #232e66);
  list-style: none; user-select: none;
}
.geo-report-answers summary::-webkit-details-marker { display: none; }
.geo-report-answers summary::before { content: "▸ "; }
.geo-report-answers[open] summary::before { content: "▾ "; }
.geo-report-answer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border, #e5e9f4); }
.geo-report-answer-model {
  font-size: 12px; font-weight: 800; color: var(--brand, #232e66);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px;
}
.geo-report-answer-text { font-size: 14px; color: var(--text-muted, #4b5563); line-height: 1.55; }

/* ── Sijoituslista (oma + kilpailijat) accordionina ── */
.geo-rank-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
}
.geo-rank-item.is-own {
  background: rgba(216,35,205,0.10);
  border-color: rgba(216,35,205,0.5);
}
.geo-rank-summary {
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: 20px; align-items: center;
  padding: 18px 24px; cursor: pointer;
  list-style: none; user-select: none;
  transition: background 0.2s;
}
.geo-rank-summary::-webkit-details-marker { display: none; }
.geo-rank-item:hover > .geo-rank-summary { background: rgba(255,255,255,0.04); }
.geo-own-badge {
  display: inline-block; margin-left: 8px;
  padding: 2px 9px; border-radius: 999px;
  background: var(--grad, linear-gradient(135deg,#f58024,#e64644));
  color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle;
}
.geo-rank-caret {
  color: rgba(255,255,255,0.5); font-size: 14px;
  transition: transform 0.2s;
}
.geo-rank-item[open] > .geo-rank-summary .geo-rank-caret { transform: rotate(180deg); }
.geo-rank-detail {
  padding: 4px 24px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.geo-qrow {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 12px; align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.geo-qrow:last-child { border-bottom: none; }
.geo-qmark {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 900; flex-shrink: 0;
}
.geo-qmark.yes { background: rgba(0,163,42,0.18); color: #2ecc71; }
.geo-qmark.no  { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); }
.geo-qtext { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.4; }
.geo-qcount {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

/* Oman tuloksen rivi jossa vastaukset avattavissa */
.geo-qrow-d { border-bottom: 1px solid rgba(255,255,255,0.05); }
.geo-qrow-d:last-child { border-bottom: none; }
.geo-qrow-sum {
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: 12px; align-items: center;
  padding: 9px 0; cursor: pointer;
  list-style: none; user-select: none;
}
.geo-qrow-sum::-webkit-details-marker { display: none; }
.geo-qans-toggle {
  font-size: 11px; font-weight: 700; color: var(--orange-soft, #f7a23b);
  white-space: nowrap; padding: 3px 10px;
  border: 1px solid rgba(245,128,36,0.3); border-radius: 999px;
}
.geo-qrow-d[open] .geo-qans-toggle { background: rgba(245,128,36,0.15); }
.geo-qans { padding: 4px 0 12px 34px; }
.geo-qans-item {
  margin-top: 10px; padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
}
.geo-qans-model {
  font-size: 12px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 5px;
}
.geo-qans-hit {
  font-size: 10px; font-weight: 800; color: #2ecc71;
  background: rgba(0,163,42,0.18); border-radius: 999px;
  padding: 1px 8px; margin-left: 6px; letter-spacing: 0.04em;
}
.geo-qans-rate {
  font-size: 10px; font-weight: 800; border-radius: 999px;
  padding: 1px 8px; margin-left: 6px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.07);
}
.geo-qans-rate.hit { color: #2ecc71; background: rgba(0,163,42,0.18); }

/* ── PDF / tulostus ── */
.geo-pdf-btn { float: right; margin-top: 4px; font-size: 13px; padding: 9px 16px; }
.geo-print-back {
  padding: 12px 22px; font-size: 13px; color: rgba(255,255,255,0.7);
  background: #0e1330; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.geo-print-back a { color: var(--orange-soft, #f7a23b); font-weight: 700; }

@media print {
  @page { margin: 12mm; }
  html, body {
    background: #0e1330 !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .geo-pdf-btn, .geo-print-back, .geo-no-print,
  .geo-rank-caret, .geo-rank-detail,
  #nav, .nav, header, footer { display: none !important; }
  .block { padding: 16px 0 !important; }
  .geo-rank-item, .geo-result-card, .geo-score-box,
  .geo-ai-summary, .geo-competitor-row {
    break-inside: avoid; page-break-inside: avoid;
  }
  a { text-decoration: none !important; }
}
.geo-qans-text { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.55; }

/* Per-toisto-vastaukset saman mallin alla */
.geo-qans-repeat { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,0.1); }
.geo-qans-repeat:first-of-type { border-top: none; margin-top: 6px; padding-top: 0; }
.geo-qrep-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.geo-qrep-mark {
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 900; flex-shrink: 0;
}
.geo-qrep-mark.yes { background: rgba(0,163,42,0.18); color: #2ecc71; }
.geo-qrep-mark.no  { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); }
.geo-qrep-label {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ============================================================
   AI-HI FORM (Kipinä)
   ============================================================ */
.ai-hi {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 14px 24px;
  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(--orange); }

/* Tumma variantti */
.block.dark .ai-hi {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.block.dark .ai-hi:hover,
.block.dark .ai-hi:focus-within {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.block.dark .ai-hi-input { color: #fff; }
.block.dark .ai-hi-input::placeholder { color: rgba(255,255,255,0.55); }
.block.dark .ai-hi:hover .ai-hi-input,
.block.dark .ai-hi:focus-within .ai-hi-input { border-left-color: rgba(255,255,255,0.25); }
.block.dark .ai-hi-send { color: #fff; }
.block.dark .ai-hi-send:hover,
.block.dark .ai-hi-send:focus-visible { color: var(--orange-soft); }

.geo-cta-final .geo-hero-cta { align-items: stretch; }

@media (prefers-reduced-motion: reduce) {
  .ai-hi-wave { animation: none; }
}

@media (max-width: 600px) {
  .geo-cta-final .geo-hero-cta { flex-direction: column; align-items: stretch; }
  .geo-cta-final .ai-hi,
  .geo-cta-final .btn { justify-content: center; }
  .ai-hi:hover .ai-hi-input,
  .ai-hi:focus-within .ai-hi-input { width: 140px; }
}
