/* Mynätekniikka - modern static site */
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --card:#f8fafc;
  --accent:#1d4ed8;
  --accent2:#1e40af;
  --radius:16px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
/*  background: var(--bg); */
  background-color:#ffffff;
  background-image:url("bg-patterns.svg");
  background-repeat:repeat;
  background-size:1000px 1000px;
  color: var(--text);
  line-height:1.55;
}
a{ color: var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }
.container{ width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.skip{
  position:absolute; left:-9999px; top:auto; width:1px;height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto;height:auto;
  background:#fff; border:1px solid var(--line);
  padding:10px 12px; border-radius:12px; box-shadow:var(--shadow); z-index:9999;
}
header.site-header{
  position:sticky; top:0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  z-index:1000;
}
.navbar{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:18px; }
.brand{ display:flex; align-items:center; gap:12px; min-width:220px; }
.brand img{ width:70px;height:70px; border-radius:12px; border:0px solid var(--line); background:#fff; padding:6px; }
.brand .title{ display:flex; flex-direction:column; line-height:1.1; }
.brand .name{ font-weight:800; letter-spacing:0.2px; font-size:22px; color:var(--text); }
.brand .tag{ font-size:14px; color:var(--muted); margin-top:3px; }
.navlinks{ display:flex; align-items:center; gap:18px; }
.navlinks a{ color:var(--text); font-weight:600; font-size:14px; padding:10px 10px; border-radius:12px; }
.navlinks a:hover{ background:var(--card); text-decoration:none; }
.navlinks a.active{ background: rgba(29, 78, 216, 0.10); color: var(--accent2); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.button{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:14px; padding:10px 14px;
  font-weight:700; font-size:14px;
  border:1px solid var(--line);
  background:#fff; color:var(--text); cursor:pointer;
}
.button:hover{ box-shadow:var(--shadow); text-decoration:none; }
.button.primary{ background:var(--accent); border-color:var(--accent); color:#fff; }
.button.primary:hover{ background:var(--accent2); }
.mobile-toggle{ display:none; border:1px solid var(--line); background:#fff; border-radius:12px; padding:10px 12px; font-weight:700; }
@media (max-width: 860px){
  .navlinks, .nav-cta{ display:none; }
  .mobile-toggle{ display:inline-flex; }
}
.mobile-menu{ display:none; border-top:1px solid var(--line); background:#fff; }
.mobile-menu.open{ display:block; }
.mobile-menu .container{ padding:12px 0 16px 0; }
.mobile-menu a{ display:block; padding:12px 10px; border-radius:12px; color:var(--text); font-weight:700; }
.mobile-menu a:hover{ background:var(--card); text-decoration:none; }
.mobile-menu .mobile-actions{ display:flex; gap:12px; padding-top:10px; }
main{ padding:34px 0 58px 0; }
.hero{ padding:18px 0 10px 0; }
.hero h1{ font-size: clamp(28px, 4vw, 44px); letter-spacing:-0.6px; line-height:1.15; margin:0 0 14px 0; }
.hero p{ margin:0 0 20px 0; font-size:16px; color:var(--muted); max-width:72ch; }
.hero .cta-row{ display:flex; flex-wrap:wrap; gap:12px; }
.grid{ display:grid; grid-template-columns: repeat(12, 1fr); gap:18px; }
.card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px; }
.card h2, .card h3{ margin:0 0 10px 0; }
.card p{ margin:0 0 12px 0; color:var(--muted); }
.card ul{ margin:10px 0 0 18px; color:var(--muted); }
.section-title{ margin-top:28px; margin-bottom:14px; display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.section-title h2{ margin:0; font-size:22px; letter-spacing:-0.3px; }
.section-title .hint{ margin:0; color:var(--muted); font-size:14px; }
.services .card{ grid-column: span 6; }
@media (max-width: 860px){ .services .card{ grid-column: span 12; } }
.split{ grid-column: span 12; display:grid; grid-template-columns: 1.3fr 0.7fr; gap:18px; }
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; } }
.pills{ display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }
.pill{ border:1px solid var(--line); background:#fff; padding:8px 10px; border-radius:999px; font-weight:700; color:var(--text); font-size:13px; }
.kicker{ display:inline-block; font-weight:800; color:var(--accent2); letter-spacing:0.2px; font-size:13px; text-transform: uppercase; margin-bottom:10px; }
hr.sep{ border:none; border-top:1px solid var(--line); margin:26px 0; }
.footer{ border-top:1px solid var(--line); padding:24px 0 40px 0; color:var(--muted); font-size:13px; }
.footer .row{ display:flex; align-items:flex-start; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.footer .cols{ display:flex; gap:28px; flex-wrap:wrap; }
.footer a{ color:var(--muted); font-weight:700; }
.footer a:hover{ color:var(--text); text-decoration:none; }
.form{ display:grid; grid-template-columns: repeat(12, 1fr); gap:12px; }
.field{ grid-column: span 6; display:flex; flex-direction:column; gap:6px; }
.field.full{ grid-column: span 12; }
label{ font-weight:800; font-size:13px; }
input, select, textarea{ font:inherit; border:1px solid var(--line); border-radius:14px; padding:12px 12px; background:#fff; }
textarea{ min-height:140px; resize:vertical; }
.help{ font-size:12px; color:var(--muted); }
.notice{ border:1px solid rgba(29, 78, 216, 0.18); background: rgba(29, 78, 216, 0.06); border-radius:var(--radius); padding:14px; color:var(--muted); }
.small{ font-size:13px; color:var(--muted); }
.badge{ display:inline-block; padding:6px 10px; border-radius:999px; background: rgba(29, 78, 216, 0.10); border: 1px solid rgba(29, 78, 216, 0.18); color: var(--accent2); font-weight:800; font-size:12px; }
.faq details{ border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px; background:#fff; margin-bottom:10px; }
.faq summary{ cursor:pointer; font-weight:800; }
.faq p{ margin:10px 0 0 0; color:var(--muted); }
