:root {
  --bg: #06111d;
  --bg-2: #0a1828;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(56, 189, 248, 0.25);
  --text: #ebf5ff;
  --muted: #afc1d5;
  --cyan: #38bdf8;
  --teal: #2dd4bf;
  --mint: #86efac;
  --white: #ffffff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 23%),
    radial-gradient(circle at 84% 10%, rgba(45, 212, 191, 0.14), transparent 20%),
    linear-gradient(180deg, #050d17 0%, #07111d 40%, #0a1625 100%);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 17, 29, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 38px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.lang-switch a:hover {
  color: var(--white);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-switch a.active {
  color: #04263a;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

button.btn {
  font: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border: 0;
  color: #062338;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-small {
  padding: 10px 14px;
  font-size: 14px;
}

.hero {
  margin-top: 22px;
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, #07101c 0%, #0c1d31 45%, #0e3645 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -140px -140px auto;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 60%);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.stat-label,
.audience-label,
.gallery-chip {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cyan);
  font-size: 12px;
}

.hero-layout,
.section-grid,
.feature-grid,
.stat-grid,
.audience-grid,
.offer-grid,
.compare-grid,
.timeline-grid,
.contact-grid,
.form-grid,
.founders-grid {
  display: grid;
  gap: 20px;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.95fr);
  align-items: center;
}

.hero-copy-col {
  max-width: 640px;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

p,
li,
label,
input,
textarea,
select {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-lead {
  margin: 16px 0 0;
  color: #dce9f8;
  font-size: 21px;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-bullets {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-bullets li {
  position: relative;
  padding-left: 22px;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.hero-visual {
  position: relative;
}

.gallery-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  min-height: 510px;
}

.gallery-main {
  position: relative;
  height: 100%;
  min-height: 510px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 23, 0.08), rgba(5, 13, 23, 0.68));
}

.gallery-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 17, 29, 0.58);
  backdrop-filter: blur(12px);
}

.gallery-chip {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
}

.gallery-caption strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 22px;
}

.gallery-caption p {
  margin: 0;
  color: #d4e6f7;
}

.gallery-floating {
  position: static;
  margin-top: 14px;
  margin-left: auto;
  width: min(42%, 220px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.gallery-floating img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-floating::after {
  content: "Mikkeli";
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.75);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 18px;
  background: rgba(56, 189, 248, 0.08);
  color: #d8eeff;
}

.proof-strip strong {
  color: var(--white);
}

.section {
  margin-top: 22px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-12 { grid-column: span 12; }

.surface-accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(45, 212, 191, 0.05));
}

.card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.section-kicker,
.stat-label {
  color: var(--cyan);
  font-size: 12px;
}

.stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.stack-item,
.stat-card,
.audience-card,
.offer-card,
.timeline-card,
.contact-panel,
.contact-mini,
.gallery-card,
.pitch-card,
.form-card,
.founder-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.stack-item strong,
.contact-mini strong,
.gallery-card strong,
.pitch-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 18px;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 18px;
}

.graphic-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 20px;
}

.graphic-node {
  position: relative;
  padding: 18px 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  text-align: center;
}

.graphic-node::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: rgba(255,255,255,0.34);
}

.graphic-node:last-child::after {
  content: "";
}

.graphic-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(56,189,248,0.8), rgba(45,212,191,0.65));
}

.graphic-node strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
}

.graphic-node p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.process-node {
  position: relative;
  padding: 18px 12px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.18), rgba(255, 255, 255, 0.05));
  text-align: center;
  font-weight: 700;
}

.process-node::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.36);
  font-size: 20px;
}

.process-node:last-child::after {
  content: "";
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #ddf6ff;
  font-size: 14px;
  font-weight: 600;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-number {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
}

.feature-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.soft-note {
  max-width: 360px;
  margin: 0;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-label {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 12px;
}

.gallery-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li + li {
  margin-top: 4px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.signal-box {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.signal-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.founders-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.founder-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: start;
}

.founder-avatar {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(45, 212, 191, 0.24));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.founder-avatar.timo img {
  object-position: center 18%;
}

.founder-meta {
  display: grid;
  gap: 8px;
}

.founder-role {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.founder-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
}

.offer-card ul {
  margin: 0;
  padding-left: 18px;
}

.compare-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.quote-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(134, 239, 172, 0.08));
}

.quote-card p {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 900;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(134, 239, 172, 0.14);
  color: var(--mint);
  font-weight: 900;
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-mini span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--white);
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 17, 29, 0.72);
  color: var(--text);
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8fa5bb;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: 14px;
}

.download-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.download-link-wrap {
  margin-top: 12px;
}

.hidden {
  display: none !important;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.footer img {
  height: 36px;
  width: auto;
}

.footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .hero-layout,
  .feature-grid,
  .compare-grid,
  .contact-grid,
  .audience-grid,
  .offer-grid,
  .timeline-grid,
  .signal-grid,
  .stat-grid,
  .form-grid,
  .founders-grid {
    grid-template-columns: 1fr;
  }

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-12 {
    grid-column: span 12;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .graphic-flow,
  .download-cta {
    grid-template-columns: 1fr;
  }

  .process-node::after,
  .graphic-node::after {
    content: "";
  }
}

@media (max-width: 840px) {
  .page-shell {
    padding: 16px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .nav,
  .topbar-actions {
    justify-content: center;
  }

  .brand {
    justify-content: center;
  }

  .hero,
  .section {
    padding: 22px;
  }

  .gallery-frame,
  .gallery-main {
    min-height: 360px;
  }

  .gallery-floating {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-avatar {
    width: 88px;
    height: 88px;
    border-radius: 22px;
  }

  .brand img,
  .footer img {
    height: 32px;
  }
}
