@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --navy: #0f1b2d;
  --lime: #d8f54a;
  --paper: #f4f2ed;
  --ink: #0f1b2d;
  --muted: #5d6878;
  --line: #d9d5cb;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.5 "Schibsted Grotesk", system-ui, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* napit */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 1.05rem;
  text-decoration: none; white-space: nowrap; transition: transform .15s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill-lime { background: var(--lime); color: var(--navy); }
.pill-white { background: #fff; color: var(--navy); }
.pill-ink { background: var(--navy); color: #fff; }
.pill-sm { padding: 11px 20px; font-size: .98rem; }

/* navigaatio */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px 28px; color: #fff;
}
.nav-links { display: flex; gap: 26px; font-size: 1rem; }
.nav-links a { text-decoration: none; opacity: .92; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.brand { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.nav .pill { justify-self: end; }

/* hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  color: #fff; text-align: center; overflow: hidden; background: #3c4436;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,45,.55) 0%, rgba(15,27,45,.15) 30%, rgba(15,27,45,.1) 60%, rgba(15,27,45,.55) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 20px 80px; }
.hero h1 {
  margin: 0; color: var(--lime); font-weight: 700; letter-spacing: -.055em; line-height: .86;
  font-size: clamp(4.2rem, 13vw, 11.5rem);
}
.hero-lead { max-width: 30ch; margin: 28px auto 34px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { position: absolute; z-index: 2; bottom: 22px; left: 28px; right: 28px; display: flex; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.8); }

/* ingressi + puhelin */
.intro { padding: 120px 0 100px; }
.intro .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.kicker { margin: 0 0 22px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.statement { margin: 0; font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.statement em { font-style: normal; background: var(--lime); padding: 0 .12em; }
.phone {
  justify-self: center; width: min(320px, 100%); padding: 10px; border-radius: 44px; background: var(--navy);
  box-shadow: 0 30px 60px -30px rgba(15,27,45,.55);
}
.phone img { border-radius: 34px; width: 100%; }

/* numeroidut vaiheet */
.steps { padding: 0 0 110px; }
.steps-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.steps h2, .faq h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.step { display: grid; grid-template-columns: 120px 1fr 1.1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-size: .95rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); max-width: 46ch; }

/* tumma luvut-kaista */
.band { background: var(--navy); color: #fff; padding: 90px 0; }
.band-title { margin: 0 0 48px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.16); }
.figure:first-child { padding-left: 0; border-left: 0; }
.figure b { display: block; color: var(--lime); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.figure span { display: block; margin-top: 12px; color: rgba(255,255,255,.75); font-size: .98rem; max-width: 22ch; }

/* kuvakaappaukset */
.shots { padding: 110px 0; }
.shots-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 28px; align-items: end; }
.shots figure { margin: 0; }
.shots figure .phone { width: 100%; max-width: 300px; justify-self: start; }
.shots figcaption { margin-top: 16px; font-size: .95rem; color: var(--muted); }
.shots figcaption b { display: block; color: var(--ink); font-size: 1.05rem; }
.shots-text h2 { margin: 0 0 18px; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; }
.shots-text p { margin: 0 0 26px; color: var(--muted); }

/* kuntakaista */
.areas { background: var(--lime); color: var(--navy); padding: 26px 0; }
.areas .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.areas p { margin: 0; font-weight: 600; }
.areas ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }

/* kysymykset */
.faq { padding: 110px 0; }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 60ch; }

/* loppukehotus + alatunniste */
.cta { padding: 0 0 110px; }
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 48px; border-radius: 32px; background: var(--navy); color: #fff; }
.cta-box h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.cta-box h2 span { color: var(--lime); }
footer { padding: 34px 0 48px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer b { color: var(--ink); }
footer a { text-underline-offset: 3px; }

/* tekstisivut (tietosuoja) */
.page-nav { position: static; color: var(--ink); border-bottom: 1px solid var(--line); }
.doc { max-width: 760px; margin: 0 auto; padding: 72px 28px 100px; }
.doc h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.doc h2 { margin: 40px 0 10px; font-size: 1.35rem; letter-spacing: -.02em; }
.doc p, .doc li { color: #2c3747; }
.doc .updated { color: var(--muted); }

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; padding: 14px 18px; }
  .nav-links { display: none; }
  .brand { justify-self: start; }
  .wrap { padding: 0 20px; }
  .hero-note { display: none; }
  .intro { padding: 80px 0 70px; }
  .intro .wrap, .faq .wrap { grid-template-columns: 1fr; gap: 44px; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .shots-grid { grid-template-columns: 1fr 1fr; }
  .shots-text { grid-column: 1 / -1; grid-row: 1; }
  .cta-box { padding: 32px 24px; }
  footer .wrap { grid-template-columns: 1fr; }
}

/* iPhone-asennusohje */
.install-dialog {
  width: min(420px, calc(100% - 32px)); padding: 28px; border: 0; border-radius: 28px;
  background: var(--paper); color: var(--ink);
}
.install-dialog::backdrop { background: rgba(15,27,45,.6); }
.install-dialog h2 { margin: 0 0 14px; font-size: 1.6rem; line-height: 1.05; letter-spacing: -.035em; }
.install-dialog ol { margin: 0 0 22px; padding-left: 1.2em; display: grid; gap: 10px; }
.install-dialog .pill { width: 100%; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.share-ico svg { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
