:root {
  --navy: #14213d;
  --navy-light: #22355f;
  --orange: #ff9418;
  --blue: #47a8ef;
  --ink: #182033;
  --muted: #667085;
  --paper: #f7f8fc;
  --white: #fff;
  --line: #e5e8ef;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(20, 33, 61, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.section-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(229, 232, 239, .85);
  background: rgba(247, 248, 252, .88);
  backdrop-filter: blur(18px);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 760; text-decoration: none; }
.brand img, .footer-brand img { border-radius: 11px; box-shadow: 0 6px 18px rgba(20, 33, 61, .18); }
nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--navy); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
  padding-block: 90px;
}
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.4rem); }
h2 { max-width: 720px; margin-bottom: 38px; font-size: clamp(2.1rem, 4vw, 3.6rem); }
h3 { margin-bottom: 10px; font-size: 1.35rem; }
.lead { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--navy); box-shadow: 0 12px 30px rgba(20, 33, 61, .22); }
.button.secondary { border: 1px solid var(--line); background: white; }
.hero-icon { position: relative; display: grid; place-items: center; }
.hero-icon img { position: relative; width: min(320px, 75vw); border-radius: 25%; box-shadow: var(--shadow); transform: rotate(3deg); }
.icon-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 148, 24, .38), rgba(71, 168, 239, .22) 48%, transparent 70%); filter: blur(8px); }

.content-section { padding-block: 110px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card, .app-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 36px rgba(20, 33, 61, .06); }
.feature-card { min-height: 270px; padding: 30px; }
.feature-card p, .app-card p, .support-copy, .finnish-section p { color: var(--muted); }
.feature-number { display: inline-block; margin-bottom: 58px; color: var(--blue); font-size: .85rem; font-weight: 800; }

.support-section, .finnish-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-block: 95px;
  border-top: 1px solid var(--line);
}
.support-section h2, .finnish-section h2 { margin-bottom: 0; }
.support-copy p, .finnish-section p { margin-top: 0; font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 10px; color: var(--navy); font-weight: 780; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.apps-section { border-top: 1px solid var(--line); }
.apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.app-card { display: flex; min-height: 210px; flex-direction: column; justify-content: space-between; padding: 28px; }
.app-card p { margin-bottom: 22px; }
.app-links { display: flex; flex-wrap: wrap; gap: 16px; }
.app-links a { color: var(--navy-light); font-size: .9rem; font-weight: 750; text-decoration: none; }
.app-links a:hover { color: var(--orange); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 32px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
footer p { margin: 0; }
footer a { font-weight: 700; }

@media (max-width: 820px) {
  nav a:not(:last-child) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 64px; padding-block: 70px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .hero-icon { grid-row: 1; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 30px; }
  .support-section, .finnish-section { grid-template-columns: 1fr; gap: 20px; }
  .apps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .section-shell { width: min(100% - 28px, 1160px); }
  .site-header { padding-inline: 14px; }
  .brand span { font-size: .92rem; }
  h1 { font-size: 2.75rem; }
  .content-section { padding-block: 76px; }
  .button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
