/* ===========================================================================
   Arkikeskus — verkkosivun tyylit
   Brändi: sininen #116ADC → keskisävy #1995D1 → vihreä #53BF7A
   Otsikot: Big Shoulders (kondensoitu display) · Leipäteksti: Lexend
   =========================================================================== */

/* ---- fontit (itse-hostatut woff2) ---- */
@font-face { font-family:"Big Shoulders"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/big-shoulders-v4-latin-regular.woff2?v=2") format("woff2"); }
@font-face { font-family:"Big Shoulders"; font-style:normal; font-weight:500; font-display:swap; src:url("/fonts/big-shoulders-v4-latin-500.woff2?v=2") format("woff2"); }
@font-face { font-family:"Big Shoulders"; font-style:normal; font-weight:600; font-display:swap; src:url("/fonts/big-shoulders-v4-latin-600.woff2?v=2") format("woff2"); }
@font-face { font-family:"Big Shoulders"; font-style:normal; font-weight:700; font-display:swap; src:url("/fonts/big-shoulders-v4-latin-700.woff2?v=2") format("woff2"); }
@font-face { font-family:"Big Shoulders"; font-style:normal; font-weight:800; font-display:swap; src:url("/fonts/big-shoulders-v4-latin-800.woff2?v=2") format("woff2"); }
@font-face { font-family:"Lexend"; font-style:normal; font-weight:300; font-display:swap; src:url("/fonts/lexend-v26-latin-300.woff2?v=2") format("woff2"); }
@font-face { font-family:"Lexend"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/lexend-v26-latin-regular.woff2?v=2") format("woff2"); }
@font-face { font-family:"Lexend"; font-style:normal; font-weight:500; font-display:swap; src:url("/fonts/lexend-v26-latin-500.woff2?v=2") format("woff2"); }

/* ---- muuttujat ---- */
:root{
  --blue:#116ADC; --mid:#1995D1; --green:#53BF7A;
  --ink:#0F2A4A; --body:#33425c; --muted:#586679;
  --bg:#ffffff; --bg-soft:#f3f8fe; --bg-soft2:#eaf2fe; --dark:#0e2440;
  --card:#ffffff; --stroke:#e4ebf5; --stroke-2:#d7e2f1;
  --grad:linear-gradient(135deg,#116ADC 0%,#1995D1 52%,#53BF7A 100%);
  --grad-soft:linear-gradient(135deg,rgba(17,106,220,.10),rgba(83,191,122,.10));
  --r:16px; --r-lg:24px; --pill:999px;
  --shadow-sm:0 1px 2px rgba(15,42,74,.06), 0 2px 8px rgba(15,42,74,.05);
  --shadow:0 10px 30px -12px rgba(15,42,74,.22), 0 4px 12px -6px rgba(15,42,74,.12);
  --shadow-lg:0 30px 60px -24px rgba(15,42,74,.34);
  --maxw:1140px;
  --sans:"Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display:"Big Shoulders", "Lexend", system-ui, sans-serif;
}

/* ---- pohja ---- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--body);
  font-family:var(--sans); font-weight:400; font-size:17px; line-height:1.65;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }
h1,h2,h3{ color:var(--ink); font-family:var(--display); line-height:1.04; letter-spacing:.01em; margin:0 0 .4em; }
h1{ font-weight:800; }
h2{ font-weight:700; }
h3{ font-weight:600; }
p{ margin:0 0 1em; }
:focus-visible{ outline:3px solid rgba(17,106,220,.55); outline-offset:2px; border-radius:6px; }

.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:24px; }
.section{ padding:84px 0; }
.section--soft{ background:var(--bg-soft); }
.section--dark{ background:var(--dark); color:#cfe0f4; }
.section--dark h2,.section--dark h3{ color:#fff; }

.eyebrow{ font-family:var(--sans); font-weight:700; font-size:.8rem; letter-spacing:.16em; text-transform:uppercase; color:#0d57bf; margin:0 0 .7em; }
.section--dark .eyebrow{ color:#7fd0a0; }
.section-head{ max-width:680px; margin-bottom:44px; }
.section-title{ font-size:clamp(2rem,4vw,3rem); }
.section-intro{ font-size:1.12rem; color:var(--muted); }
.section--dark .section-intro{ color:#a9c2e0; }
.center{ text-align:center; margin-inline:auto; }

/* ---- napit ---- */
.btn{ display:inline-flex; align-items:center; gap:.55em; font-family:var(--sans); font-weight:600; font-size:1rem;
  padding:.85em 1.5em; border-radius:var(--pill); border:1.5px solid transparent; cursor:pointer; transition:transform .15s, box-shadow .2s, background .2s; text-decoration:none; white-space:nowrap; }
.btn:hover{ text-decoration:none; transform:translateY(-2px); }
.btn-primary{ background:var(--grad); color:#fff; box-shadow:0 8px 20px -8px rgba(17,106,220,.6); }
.btn-primary:hover{ box-shadow:0 12px 26px -8px rgba(17,106,220,.7); }
.btn-ghost{ background:rgba(255,255,255,.7); color:var(--ink); border-color:var(--stroke-2); }
.btn-ghost:hover{ background:#fff; border-color:var(--blue); }
.btn-lg{ font-size:1.08rem; padding:1em 1.8em; }
.btn svg{ width:1.2em; height:1.2em; }

/* ---- header ---- */
.site-header{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.85); backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--stroke); }
.nav{ display:flex; align-items:center; gap:18px; height:68px; }
.brand{ display:flex; align-items:center; gap:11px; font-family:var(--display); font-weight:800; font-size:1.5rem; color:var(--ink); letter-spacing:.01em; }
.brand:hover{ text-decoration:none; }
.brand img{ width:34px; height:34px; border-radius:9px; }
.nav-links{ display:flex; align-items:center; gap:26px; margin-left:auto; }
.nav-links a{ color:var(--ink); font-weight:500; font-size:.98rem; }
.nav-links a:hover{ color:var(--blue); text-decoration:none; }
.nav .btn{ padding:.6em 1.2em; }
.nav-cta{ margin-left:4px; }
.menu-toggle{ display:none; margin-left:auto; width:46px; height:46px; border:1px solid var(--stroke-2); background:#fff; border-radius:12px; cursor:pointer; align-items:center; justify-content:center; }
.menu-toggle span,.menu-toggle span::before,.menu-toggle span::after{ content:""; display:block; width:20px; height:2px; background:var(--ink); border-radius:2px; position:relative; transition:.2s; }
.menu-toggle span::before{ position:absolute; top:-6px; }
.menu-toggle span::after{ position:absolute; top:6px; }

/* ---- hero ---- */
.hero{ position:relative; overflow:hidden; background:
  radial-gradient(900px 500px at 88% -8%, rgba(83,191,122,.16), transparent 60%),
  radial-gradient(800px 520px at 6% 0%, rgba(17,106,220,.16), transparent 55%),
  var(--bg-soft); padding:72px 0 80px; border-bottom:1px solid var(--stroke); }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }
.hero h1{ font-size:clamp(2.7rem,6.2vw,4.6rem); margin-bottom:.28em; }
.hero h1 .grad{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero .lead{ font-size:1.27rem; color:var(--body); max-width:30ch; margin-bottom:1.6em; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.hero-note{ margin-top:1.4em; font-size:.95rem; color:var(--muted); display:flex; align-items:center; gap:.5em; }
.hero-note strong{ color:var(--ink); font-weight:600; }
.hero-media{ display:flex; justify-content:center; position:relative; }
.phone{ position:relative; width:300px; max-width:78%; border-radius:38px; padding:11px; background:linear-gradient(160deg,#1b3a63,#0e2440);
  box-shadow:var(--shadow-lg); }
.phone img{ border-radius:28px; width:100%; display:block; }
.phone::after{ content:""; position:absolute; top:18px; left:50%; transform:translateX(-50%); width:92px; height:6px; border-radius:3px; background:rgba(255,255,255,.25); }

/* ---- ominaisuudet ---- */
.feature-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.feature-card{ background:var(--card); border:1px solid var(--stroke); border-radius:var(--r); padding:26px 24px; box-shadow:var(--shadow-sm); transition:transform .18s, box-shadow .25s, border-color .2s; }
.feature-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--stroke-2); }
.feature-card .ico{ width:48px; height:48px; border-radius:13px; display:flex; align-items:center; justify-content:center; background:var(--grad-soft); color:var(--blue); margin-bottom:16px; }
.feature-card .ico svg{ width:26px; height:26px; }
.feature-card h3{ font-size:1.32rem; margin-bottom:.35em; }
.feature-card p{ margin:0; color:var(--muted); font-size:1rem; }

/* ---- ruutukaappausgalleria ---- */
.shots{ display:flex; gap:22px; overflow-x:auto; padding:8px 4px 26px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.shots::-webkit-scrollbar{ height:8px; }
.shots::-webkit-scrollbar-thumb{ background:var(--stroke-2); border-radius:8px; }
.shot{ flex:0 0 auto; width:248px; scroll-snap-align:center; margin:0; }
.shot img{ width:100%; border-radius:22px; border:1px solid var(--stroke); box-shadow:var(--shadow); background:#fff; }
.shot figcaption{ margin-top:14px; text-align:center; font-size:.95rem; font-weight:500; color:var(--ink); }
.shots-hint{ text-align:center; color:var(--muted); font-size:.9rem; margin-top:4px; }

/* ---- 3 vaihetta ---- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; counter-reset:step; }
.step{ position:relative; background:var(--card); border:1px solid var(--stroke); border-radius:var(--r); padding:30px 26px; box-shadow:var(--shadow-sm); }
.step .num{ font-family:var(--display); font-weight:800; font-size:2.4rem; line-height:1; width:58px; height:58px; border-radius:15px; display:flex; align-items:center; justify-content:center; background:var(--grad); color:#fff; margin-bottom:18px; box-shadow:0 8px 18px -8px rgba(17,106,220,.6); }
.step h3{ font-size:1.34rem; }
.step p{ margin:0; color:var(--muted); }

/* ---- "miksi/kenelle" ---- */
.why-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.why{ display:flex; gap:14px; align-items:flex-start; }
.why .dot{ flex:0 0 auto; width:40px; height:40px; border-radius:11px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; color:#7fd0a0; }
.section--dark .why .dot svg{ width:22px; height:22px; }
.why h3{ font-size:1.18rem; margin-bottom:.25em; }
.why p{ margin:0; color:#a9c2e0; font-size:.98rem; }

/* ---- FAQ ---- */
.faq{ max-width:820px; margin-inline:auto; }
.faq-item{ background:var(--card); border:1px solid var(--stroke); border-radius:14px; margin-bottom:14px; box-shadow:var(--shadow-sm); overflow:hidden; }
.faq-item summary{ cursor:pointer; list-style:none; padding:20px 56px 20px 24px; font-family:var(--display); font-weight:600; font-size:1.22rem; color:var(--ink); position:relative; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; position:absolute; right:24px; top:50%; transform:translateY(-50%); font-size:1.5rem; color:var(--blue); font-family:var(--sans); transition:transform .2s; }
.faq-item[open] summary::after{ transform:translateY(-50%) rotate(45deg); }
.faq-item .answer{ padding:0 24px 22px; color:var(--muted); }
.faq-item .answer p:last-child{ margin-bottom:0; }

/* ---- yhteydenotto ---- */
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:start; }
.contact-info p{ color:var(--muted); }
.contact-info a{ font-weight:500; }
.form{ background:var(--card); border:1px solid var(--stroke); border-radius:var(--r-lg); padding:30px; box-shadow:var(--shadow); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:500; font-size:.95rem; color:var(--ink); margin-bottom:7px; }
.field input,.field textarea{ width:100%; font-family:var(--sans); font-size:1rem; color:var(--ink); background:#fbfdff; border:1.5px solid var(--stroke-2); border-radius:12px; padding:.8em 1em; transition:border-color .15s, box-shadow .15s; }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(17,106,220,.15); }
.field textarea{ min-height:130px; resize:vertical; }
.form .btn{ width:100%; justify-content:center; }
.hp{ position:absolute; left:-9999px; opacity:0; height:0; width:0; overflow:hidden; }
.form-status{ margin-top:14px; padding:12px 16px; border-radius:10px; font-size:.96rem; display:none; }
.form-status.show{ display:block; }
.form-status.ok{ background:rgba(83,191,122,.14); color:#1c7a45; }
.form-status.err{ background:rgba(220,53,69,.1); color:#b02a37; }

/* ---- footer ---- */
.site-footer{ background:var(--dark); color:#9fb6d4; padding:56px 0 30px; }
.footer-grid{ display:flex; flex-wrap:wrap; gap:40px; justify-content:space-between; margin-bottom:36px; }
.footer-brand{ max-width:300px; }
.footer-brand .brand{ color:#fff; margin-bottom:12px; }
.footer-brand p{ color:#90a8c8; font-size:.96rem; }
.footer-col h3{ color:#fff; font-family:var(--sans); font-size:.85rem; letter-spacing:.12em; text-transform:uppercase; margin:0 0 14px; }
.footer-col a{ display:block; color:#9fb6d4; margin-bottom:9px; font-size:.97rem; }
.footer-col a:hover{ color:#fff; text-decoration:none; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding-top:22px; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; font-size:.88rem; color:#7f97b8; }
.footer-bar{ height:5px; background:var(--grad); }

/* ---- responsiivisuus ---- */
@media (max-width:860px){
  .nav-links{ position:fixed; inset:68px 0 auto 0; flex-direction:column; align-items:stretch; gap:0; background:#fff; border-bottom:1px solid var(--stroke); padding:8px 24px 20px; box-shadow:var(--shadow); transform:translateY(-130%); transition:transform .28s ease; }
  .nav-links a{ padding:13px 4px; border-bottom:1px solid var(--stroke); }
  .nav-cta{ margin-top:14px; }
  body.menu-open .nav-links{ transform:translateY(0); }
  .menu-toggle{ display:inline-flex; }
  .hero-grid{ grid-template-columns:1fr; gap:30px; text-align:center; }
  .hero .lead{ max-width:none; margin-inline:auto; }
  .hero-cta,.hero-note{ justify-content:center; }
  .hero-media{ order:-1; }
  .contact-grid{ grid-template-columns:1fr; gap:28px; }
  .steps{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  body{ font-size:16px; }
  .section{ padding:60px 0; }
  .hero{ padding:48px 0 56px; }
  .feature-grid{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}
