@charset "UTF-8";
/* Webnet – valkoinen + taivaansininen (logon värit). Korostusväri tulee administa: --accent */
:root {
  --accent: #3b8ff0;
  --accent-2: #8fd0ff;
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 11%, #ffffff);
  --accent-line: color-mix(in srgb, var(--accent) 35%, #ffffff);
  --bg: #ffffff;
  --bg-soft: #f4f8fe;
  --surface: #ffffff;
  --ink: #0b1f4b;
  --text: #1c2b52;
  --muted: #5a6788;
  --line: #e3e9f4;
  --ok: #138a5a;
  --warn: #a86a0c;
  --err: #cc3340;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 75, .05), 0 12px 32px -14px rgba(11, 31, 75, .22);
  --shadow-lg: 0 30px 60px -24px rgba(11, 31, 75, .35);
  --display: 'Lexend', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --accent-soft: color-mix(in srgb, var(--accent) 16%, #0b1430);
    --accent-line: color-mix(in srgb, var(--accent) 45%, #0b1430);
    --bg: #081029; --bg-soft: #0c1636; --surface: #101c42; --ink: #eef4ff; --text: #d8e2fa; --muted: #9aa9cf; --line: #1d2b58;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -14px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -24px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --accent-soft: color-mix(in srgb, var(--accent) 16%, #0b1430);
  --accent-line: color-mix(in srgb, var(--accent) 45%, #0b1430);
  --bg: #081029; --bg-soft: #0c1636; --surface: #101c42; --ink: #eef4ff; --text: #d8e2fa; --muted: #9aa9cf; --line: #1d2b58;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -14px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -24px rgba(0,0,0,.7);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.leaving { opacity: 0; transition: opacity .25s ease; }
a { color: var(--accent); }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.section { padding-block: 104px; position: relative; }
.section.soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 12px; margin-bottom: 44px; max-width: 680px; }
.section-lead { color: var(--muted); margin: 0; font-size: 1.1rem; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600; color: var(--accent); margin: 0; }
.hint { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Painikkeet ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--display); letter-spacing: -.01em; color: var(--accent-ink); background: var(--accent); padding: 15px 24px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.btn-ghost::after { display: none; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navigaatio ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; transition: height .3s var(--ease); }
.nav.scrolled .nav-inner { height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.logo { display: block; height: 46px; aspect-ratio: 1800 / 720; transition: height .3s var(--ease); }
.logo img { height: 100%; width: auto; display: block; }
.nav.scrolled .logo { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--ink); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.cart-btn:hover { border-color: var(--accent); }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 700 .72rem/20px var(--display); text-align: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) {
  .menu-btn { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.active { color: var(--accent); }
  .nav-links .btn { margin-top: 14px; }
  .nav { background: var(--bg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 56px 72px; overflow: hidden; }
.cloud-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.cloud-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.cloud-bg i:nth-child(1) { width: 520px; height: 420px; right: -80px; top: -120px; background: color-mix(in srgb, var(--accent-2) 70%, transparent); }
.cloud-bg i:nth-child(2) { width: 380px; height: 320px; right: 280px; top: 120px; background: color-mix(in srgb, var(--accent) 30%, transparent); animation-delay: -6s; }
.cloud-bg i:nth-child(3) { width: 420px; height: 340px; left: -160px; bottom: -120px; background: color-mix(in srgb, var(--accent-2) 45%, transparent); animation-delay: -12s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-title { font-size: clamp(2.3rem, 4.8vw, 3.9rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 100ms); }
@keyframes rise { from { transform: translateY(105%); } }
.hero-title .hl { color: var(--accent); position: relative; }
.hero-title .hl-wrap { position: relative; display: inline; }
.hero-title svg.swoosh { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--accent-2); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; margin: 0; }
.hero-copy > * { animation: fadeUp .8s var(--ease) both; }
.hero-copy > .eyebrow { animation-delay: 0s; }
.hero-copy > .lead { animation-delay: .35s; }
.hero-copy > .hero-cta { animation-delay: .45s; }
.hero-copy > .hero-points { animation-delay: .55s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 10px 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; color: var(--muted); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%233b8ff0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-art .logo-wrap { display: contents; }
.hero-cloud { width: 100%; max-width: 440px; margin-block: 64px; filter: drop-shadow(0 30px 40px color-mix(in srgb, var(--accent) 30%, transparent)); animation: floatIn 1s .2s var(--ease) both, float 6s 1.2s ease-in-out infinite alternate; }
.chip-float { position: absolute; background: var(--surface); color: var(--ink); font: 600 .95rem var(--display); padding: 12px 18px 12px 14px; border-radius: 99px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; white-space: nowrap; animation: floatIn .8s var(--ease) both, float 5s ease-in-out infinite alternate; }
.chip-float::before { content: "\2713"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: .8rem; }
.chip-float.c1 { top: 0; left: 2%; animation-delay: .6s, 1.5s; }
.chip-float.c2 { top: 9%; right: 0; animation-delay: .8s, 2.3s; }
.chip-float.c3 { bottom: 0; left: 50%; translate: -50% 0; animation-delay: 1s, 3s; }
@keyframes floatIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes float { to { transform: translateY(-12px); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 64px 0 0; padding: 26px 0; border-block: 1px solid var(--line); }
.stats div { padding-inline: 22px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--display); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 280px; }
  .hero-cloud { max-width: 320px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stats div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Selainmockup (referenssit) ---------- */
.browser { background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 10px; flex: 1; font-size: .72rem; color: var(--muted); background: var(--surface); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewport { aspect-ratio: 16 / 10.5; overflow: hidden; position: relative; }
.viewport img { width: 100%; display: block; transition: transform 3.5s ease; }
.site { --p1: #333; --p2: #eee; background: var(--p2); color: var(--p1); font-family: var(--body); transition: transform 3.5s ease; }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 5% 6% 0; font: 700 clamp(.55rem, 1.1vw, .8rem)/1 var(--display); }
.site-nav em { display: flex; gap: 8%; width: 45%; justify-content: flex-end; }
.site-nav em b { height: 4px; width: 20%; border-radius: 3px; background: currentColor; opacity: .35; }
.site-hero { padding: 8% 6% 6%; display: grid; gap: 6px; }
.site-hero h5 { font: 700 clamp(.9rem, 2.2vw, 1.5rem)/1.05 var(--display); margin: 0; color: var(--p1); letter-spacing: -.02em; max-width: 70%; }
.site-hero p { height: 5px; width: 55%; border-radius: 3px; background: currentColor; opacity: .25; margin: 4px 0 0; }
.site-hero .cta { width: 26%; height: clamp(12px, 2.4vw, 20px); border-radius: 99px; background: var(--p1); margin-top: 6px; }
.site-media { margin: 0 6%; height: 34%; border-radius: 8px; background: linear-gradient(135deg, var(--p1), color-mix(in srgb, var(--p1) 45%, var(--p2))); opacity: .9; }
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; padding: 6%; }
.site-grid div { aspect-ratio: 1; border-radius: 8px; background: color-mix(in srgb, var(--p1) 16%, var(--p2)); }
.site-list { padding: 2% 6% 6%; display: grid; gap: 8px; }
.site-list div { display: flex; justify-content: space-between; gap: 10px; }
.site-list div b { height: 6px; width: 50%; border-radius: 3px; background: currentColor; opacity: .3; }
.site-list div i { height: 6px; width: 12%; border-radius: 3px; background: currentColor; opacity: .5; }
.site-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; padding: 6%; }
.site-split div { aspect-ratio: 4/3; border-radius: 8px; background: color-mix(in srgb, var(--p1) 22%, var(--p2)); }
.site-masonry { columns: 3; column-gap: 6px; padding: 0 6% 6%; }
.site-masonry div { break-inside: avoid; margin-bottom: 6px; border-radius: 6px; background: color-mix(in srgb, var(--p1) 30%, var(--p2)); }

.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { display: grid; gap: 14px; text-decoration: none; color: inherit; }
.work .browser { box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work:hover .browser { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.work:hover .site, .work:hover .viewport img { transform: translateY(calc(-100% + var(--vh, 200px))); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.work-meta h3 { font-size: 1.12rem; }
.work-meta span { font-size: .8rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.work p { margin: -6px 0 0; color: var(--muted); font-size: .95rem; }
.example-tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); }
@media (max-width: 960px) { .portfolio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .portfolio { grid-template-columns: 1fr; } }

/* ---------- Paketit ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pkg.popular { border: 2px solid var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%); }
.pkg .tag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-ink); font: 600 .75rem/1 var(--display); padding: 7px 12px; border-radius: 99px; }
.pkg p { color: var(--muted); margin: 0; }
.price { font: 700 2.5rem/1 var(--display); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { font: 500 .9rem var(--body); color: var(--muted); letter-spacing: 0; }
.pkg ul { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 9px; flex: 1; }
.pkg li { display: flex; gap: 10px; align-items: baseline; }
.pkg li::before { content: "\2713"; color: var(--accent); font-weight: 800; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- Laskuri ---------- */
.calc { display: grid; grid-template-columns: 1fr 370px; gap: 28px; align-items: start; }
.calc-options { display: grid; gap: 18px; }
fieldset { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 20px 22px 22px; margin: 0; min-width: 0; }
legend { font: 600 .8rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 8px; }
.opt-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.opt-list.compact { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--surface); transition: border-color .2s, background .2s, transform .2s; }
.opt:hover { border-color: var(--accent-line); }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.opt-main { flex: 1; display: grid; gap: 2px; }
.opt-main b { color: var(--ink); font-weight: 600; }
.opt-main small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.opt-price { font: 600 .95rem var(--display); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pages-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pages-row label { font-weight: 600; color: var(--ink); }
.stepper { display: flex; border: 1.5px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--surface); }
.stepper button { width: 46px; border: 0; background: transparent; color: var(--ink); font-size: 1.3rem; cursor: pointer; transition: background .2s; }
.stepper button:hover { background: var(--accent-soft); }
.stepper input { width: 64px; text-align: center; border: 0; font: 600 1.1rem var(--display); background: transparent; color: var(--ink); padding: 10px 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-summary { position: sticky; top: 90px; background: var(--ink); color: #dfe8fb; border-radius: 22px; padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.calc-summary h3 { color: #fff; }
.calc-summary .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.calc-summary .btn-ghost:hover { background: rgba(255,255,255,.08); }
.sum-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 10px; animation: fadeUp .35s var(--ease); }
.sum-lines li span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-totals { margin: 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); padding-top: 12px; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.sum-totals div { display: flex; justify-content: space-between; }
.sum-totals dt { opacity: .75; } .sum-totals dd { margin: 0; font-weight: 600; }
.sum-totals .grand { font-size: 1.4rem; margin-top: 6px; font-family: var(--display); }
.sum-totals .grand dt { opacity: 1; font-weight: 600; } .sum-totals .grand dd { font-weight: 700; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .calc-summary { position: static; } }

/* ---------- Kauppa ---------- */
.shop-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: -18px 0 26px; }
.chip { font: 600 .9rem var(--body); padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .2s; }
.chip.active, .chip:hover { border-color: var(--accent); color: var(--ink); background: var(--accent-soft); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, var(--accent-2), transparent 60%), linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent) 30%, var(--bg-soft))); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-img img { transform: scale(1.05); }
.product-img .initial { font: 700 3.4rem var(--display); color: var(--accent-ink); text-shadow: 0 6px 24px rgba(11,31,75,.25); }
.product-img .badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font: 600 .72rem var(--display); padding: 6px 10px; border-radius: 99px; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body small { color: var(--accent); font-weight: 600; font-size: .8rem; }
.product-body p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.product-foot .hint { font-size: .8rem; }
.product-foot b { font: 700 1.3rem var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.add { white-space: nowrap; flex: none; border: 0; background: var(--accent-soft); color: var(--accent); font: 600 .92rem var(--display); padding: 10px 16px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.add:hover { background: var(--accent); color: var(--accent-ink); }
.add.added { background: var(--accent); color: var(--accent-ink); }

/* ---------- Prosessi ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.4s var(--ease); }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; position: relative; }
.steps li::before { content: counter(s); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent); border: 2px solid var(--accent); font: 700 1.1rem var(--display); margin-bottom: 10px; position: relative; z-index: 1; }
.steps span { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Arvostelut ---------- */
.reviews-section { overflow: hidden; }
.rating-summary { margin: 0; color: var(--muted); font-weight: 600; }
.rating-summary b { color: var(--ink); font-family: var(--display); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; padding: 6px 0 20px; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { width: 360px; flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow); }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.stars .off { color: var(--line); }
.review blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.review footer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 .95rem var(--display); flex: none; }
.review footer b { display: block; color: var(--ink); } .review footer small { color: var(--muted); }

/* ---------- UKK ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--accent-line); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font: 600 1.08rem var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); animation: fadeUp .35s var(--ease); }

/* ---------- Tilaus ---------- */
.order { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.order-main { display: grid; gap: 22px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 18px; min-width: 0; }
.card h3 { font-size: 1.3rem; }
.sticky { position: sticky; top: 90px; box-shadow: var(--shadow); }
.order label:not(.opt):not(.check):not(.radio) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 6px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.order label:not(.opt):not(.check):not(.radio) > :is(input, select, textarea, .input-icon, .field-hint) { flex: 1 0 100%; }
.order em { color: #c2185b; font-style: normal; }
.opt-tag { font-weight: 500; font-size: .78rem; color: var(--muted); }
.order input:not([type=radio]):not([type=checkbox]), .order select, .order textarea {
  font: 400 1rem var(--body); padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.order select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235a6788' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.order input:focus, .order select:focus, .order textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.order .invalid { border-color: var(--err) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--err) 12%, transparent) !important; }
.input-icon { position: relative; display: block; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 42px !important; }
.field-hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid2 label:first-child { grid-column: 1 / -1; }
.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.billing-grid .col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.grid-zip { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--text); cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.check small { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; }
.method { padding: 14px 16px; display: flex; gap: 8px 20px; flex-wrap: wrap; }
.method legend { padding: 0 6px; }
.radio { display: flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 500; }
.radio input { accent-color: var(--accent); width: 17px; height: 17px; }
.einvoice { display: grid; gap: 14px; padding: 16px; border-radius: 14px; background: var(--accent-soft); animation: fadeUp .35s var(--ease); }
.extra-emails { display: grid; gap: 10px; }
.extra-emails .row { display: flex; gap: 8px; animation: fadeUp .3s var(--ease); }
.extra-emails .row button { flex: none; width: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; font-size: 1.2rem; }
.add-row { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border: 0; border-block: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; transition: background .2s; }
.add-row:hover { background: var(--accent-soft); }
.add-row span { font-size: 1.2rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.include-site { align-items: center; }
.small-link { font-size: .88rem; font-weight: 600; }
.order-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.order-lines li { display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: fadeUp .3s var(--ease); }
.order-lines li > span:first-child { flex: 1; }
.order-lines .qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.order-lines .qty button { width: 28px; height: 28px; border: 0; background: none; color: var(--ink); cursor: pointer; font-size: 1rem; }
.order-lines .qty span { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.order-lines b { font-variant-numeric: tabular-nums; min-width: 90px; text-align: right; }
.order .sum-totals { color: var(--text); }
.secure { display: flex; gap: 12px; align-items: flex-start; color: var(--ok); }
.secure b { color: var(--ink); display: block; font-family: var(--display); }
.secure small { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; color: var(--muted); }
.ticks li::before { content: "\2713"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.side-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.side-total b { font: 700 1.6rem var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.form-error { color: var(--err); margin: 0; min-height: 1.2em; font-weight: 600; font-size: .93rem; }
.form-error:empty { display: none; }
@media (max-width: 1000px) { .order { grid-template-columns: 1fr; } .sticky { position: static; } }
@media (max-width: 700px) { .billing-grid, .grid2 { grid-template-columns: 1fr; } .card { padding: 22px 18px; } }

/* ---------- Footer ---------- */
.footer { background: #0b1f4b; color: #b9c6e6; padding-block: 64px 28px; font-size: .95rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer a { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 36px; }
.footer-brand .logo { height: 56px; margin-bottom: 14px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Ostoskori ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8, 16, 41, .45); z-index: 60; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--surface); z-index: 61; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slideIn .35s var(--ease); padding-top: env(safe-area-inset-top, 0px); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; display: grid; gap: 14px; align-content: start; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer-foot .side-total { border: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-item small { color: var(--muted); }
.x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- Hintabotti ---------- */
.bot-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: 600 1rem var(--display);
  color: var(--accent-ink); background: var(--accent); padding: 14px 20px; border-radius: 999px; box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--accent) 90%, transparent); transition: transform .3s var(--ease); animation: fadeUp .6s 1.2s var(--ease) both; }
.bot-fab:hover { transform: translateY(-3px); }
.bot { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 40px)); background: var(--surface);
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: pop .35s var(--ease); transform-origin: bottom right; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(10px); } }
.bot-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; color: #fff; background: linear-gradient(135deg, #0b1f4b, color-mix(in srgb, var(--accent) 80%, #0b1f4b)); }
.bot-head b { font-family: var(--display); }
.bot-head small { display: block; opacity: .8; font-size: .8rem; }
.bot-close { background: rgba(255,255,255,.16); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.bot-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-soft); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; white-space: pre-line; font-size: .95rem; animation: fadeUp .25s var(--ease); }
.msg.bot-m { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user-m { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg.typing { color: var(--muted); }
.bot-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); max-height: 150px; overflow-y: auto; }
.bot-quick:empty { display: none; }
.bot-quick button { font: 500 .86rem var(--body); border: 1.5px solid var(--accent); color: var(--accent); background: transparent; padding: 6px 12px; border-radius: 99px; cursor: pointer; }
.bot-quick button.primary { background: var(--accent); color: var(--accent-ink); }
.bot-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.bot-input input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: 11px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.bot-input button { width: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; font-size: 1.1rem; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 99px; font-weight: 600; z-index: 100; box-shadow: var(--shadow-lg); animation: fadeUp .3s var(--ease); }

/* ---------- Scroll-animaatiot ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Kiitossivu ---------- */
.status-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg-soft); }
.status-card { max-width: 520px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); animation: pop .5s var(--ease); }
.status-card .logo { height: 48px; margin: 0 auto; }
.status-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; color: #fff; background: var(--ok); }
.status-icon svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .3s var(--ease) forwards; }
.status-icon.err { background: var(--err); }
.kv { text-align: left; display: grid; gap: 8px; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.kv span:first-child { color: var(--muted); }
.kv b { text-align: right; }

.preview-bar { position: relative; z-index: 35; background: #0b1f4b; color: #dbe6ff; font-size: .85rem; padding: 8px 16px; display: flex; gap: 10px 16px; justify-content: center; align-items: center; flex-wrap: wrap; text-align: center; }
.preview-bar a, .preview-bar button { font: 600 .82rem var(--body); background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 99px; padding: 5px 12px; cursor: pointer; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; padding-inline: 20px; }
}

.logo .for-dark, .for-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .for-light { display: none !important; } :root:not([data-theme="light"]) .for-dark { display: block !important; } }
:root[data-theme="dark"] .for-light { display: none !important; }
:root[data-theme="dark"] .for-dark { display: block !important; }
:root[data-theme="dark"] .calc-summary { background: var(--surface); border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .calc-summary { background: var(--surface); border: 1px solid var(--line); } }

.hero { padding-block-end: 88px; }

/* Verkkotunnus */
.domain-opts { display: grid; gap: 10px; }
.rec { display: inline-block; margin-left: 6px; font: 600 .7rem var(--display); letter-spacing: .04em; color: var(--accent-ink); background: var(--accent); padding: 3px 8px; border-radius: 99px; vertical-align: 2px; }
.domain-input { display: flex; align-items: stretch; flex: 1 0 100%; }
.domain-input input { flex: 1; min-width: 0; }
.domain-input span { display: flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; background: var(--bg-soft); color: var(--muted); font-weight: 600; }
.domain-input span:not([hidden]) ~ input, .domain-input:has(span:not([hidden])) input { border-radius: 12px 0 0 12px; }
#domain-field { animation: fadeUp .3s var(--ease); }

/* Erilliset sivut */
.page-enter { animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }
.section.page-top { padding-block-start: 64px; }
.row-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.row-head > div { display: grid; gap: 12px; }
.cta-band { background: linear-gradient(135deg, #0b1f4b, color-mix(in srgb, var(--accent) 55%, #0b1f4b)); color: #dfe8fb; }
.cta-band h2 { color: #fff; }
.cta-band .section-lead { color: #c6d4f2; }
.cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.08); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-inner > div:first-child { display: grid; gap: 10px; max-width: 560px; }
/* Yhteystiedot */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-list { margin: 12px 0 0; display: grid; gap: 14px; }
.contact-list dt { font: 600 .78rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font: 600 1.15rem var(--display); color: var(--ink); word-break: break-word; }
.contact-form { box-shadow: var(--shadow); }
.contact-done { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 30px 0; animation: pop .4s var(--ease); }
.contact-done b { font: 600 1.3rem var(--display); color: var(--ink); }
.contact-done span { color: var(--muted); }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
/* Kuukausimaksu */
.monthly-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-weight: 600; font-size: .93rem; }
.upsell { border-style: dashed; }
.contact-form { grid-template-columns: 1fr; align-self: start; }

/* Valmiit sivut toimialoittain */
.site-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.site-type { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.site-type:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.site-type .browser { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.site-type:hover .site { transform: translateY(-30%); }
.site-type-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.site-type-body p { margin: 0; color: var(--muted); }
.incl { list-style: none; padding: 0; margin: 2px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; }
.incl li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.incl li:first-child { background: var(--ink); color: var(--bg); }
.site-type-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-type-foot b { font: 700 1.4rem var(--display); color: var(--ink); margin: 0 2px; font-variant-numeric: tabular-nums; }
.site-type-foot small { color: var(--muted); }
@media (max-width: 960px) { .site-types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .site-types { grid-template-columns: 1fr; } }

/* Evästeilmoitus */
.cookie { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: min(440px, calc(100vw - 40px)); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: start; animation: fadeUp .5s var(--ease); }
.cookie svg { color: var(--accent); margin-top: 2px; }
.cookie p { margin: 0; font-size: .92rem; }
.cookie-actions { grid-column: 2; display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.cookie-actions a { font-weight: 600; font-size: .9rem; }
@media (max-width: 620px) { .cookie { left: 12px; right: 12px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.footer-inner { grid-template-columns: 1.1fr .9fr 1.2fr 1.2fr; }
@media (max-width: 1000px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-inner { grid-template-columns: 1fr; } }

/* Kielivalinta */
.lang-btn { display: inline-flex; border: 1.5px solid var(--line); background: var(--surface); border-radius: 99px; padding: 3px; cursor: pointer; font: 600 .78rem var(--display); }
.lang-btn span { padding: 6px 9px; border-radius: 99px; color: var(--muted); transition: background .2s, color .2s; }
html[lang="fi"] .lang-btn [data-lang="fi"], html[lang="en"] .lang-btn [data-lang="en"] { background: var(--accent); color: var(--accent-ink); }
/* Logo tilauksessa */
.logo-fields { display: grid; gap: 14px; animation: fadeUp .3s var(--ease); }
.field-title { display: block; font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: 7px; }
.upload-drop { display: grid !important; justify-items: center; gap: 4px; padding: 22px; border: 2px dashed var(--accent-line); border-radius: 14px; background: var(--bg-soft); color: var(--accent); cursor: pointer; text-align: center; transition: background .2s, border-color .2s; }
.upload-drop:hover, .upload-drop.drag { background: var(--accent-soft); border-color: var(--accent); }
.upload-drop b { color: var(--ink); }
.upload-drop small { color: var(--muted); font-weight: 400; }
.upload-drop.invalid { border-color: var(--err); }
.logo-preview { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.logo-preview img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.logo-preview .file-icon { width: 72px; height: 72px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: 8px; font: 700 .9rem var(--display); }
.logo-preview span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.logo-preview button { border: 0; background: none; color: var(--err); font: 600 .88rem var(--body); cursor: pointer; }

/* Kalliodata-mainos ja Stripe */
.promo { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), transparent 80%); border: 1px dashed var(--accent-line); }
.promo > div { flex: 1 1 260px; }
.promo b { color: var(--ink); font-family: var(--display); }
.promo p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.notice { padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); font-size: .9rem; }
.notice b { color: var(--ink); }
.notice p { margin: 4px 0 0; color: var(--text); }

/* Korostuksen alleviivaus koko tekstin alle, myös kun korostus jakautuu kahdelle riville */
.hero-title .hl {
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14 C 80 5, 200 3, 296 11' fill='none' stroke='%238fd0ff' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
  background: var(--swoosh) no-repeat left bottom / 0% .26em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-bottom: .1em;
  animation: underline 1s .9s var(--ease) forwards;
}
@keyframes underline { to { background-size: 100% .26em; } }
.hero-title svg.swoosh { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-title .hl { background-size: 100% .26em; } }

.work.linked { cursor: pointer; }
.work .visit { font-weight: 600; font-size: .9rem; color: var(--accent); margin-top: -4px; }
