/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/rubik-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/rubik-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: pale-blue canvas, rounded navy panels (floating nav, hero, dark bands), white cards with soft shadow, coral gradient for conversion buttons, orange signals */
:root {
  --ink: #183D6D;        /* Edge Navy: headings and text on light surfaces */
  --ink-2: #22528F;
  --night: #051E38;      /* Launch Bay: nav, hero and dark panels */
  --deep: #022E57;       /* Network Deep: inset dark cards, promo banners */
  --body: #3B5578;
  --muted: #61758F;
  --graphite: #666666;
  --line: #D3E2F1;       /* Mist Divider */
  --line-2: #C3D6EA;
  --canvas: #E1F2FF;     /* Cloud Canvas: page background */
  --soft: #EFF8FF;       /* Ice Surface */
  --hero: #EFF8FF;
  --tint: #E1F2FF;
  --accent: #183D6D;     /* links and icons on light surfaces */
  --accent-dk: #0E2A50;
  --accent-lt: #8BB3DA;  /* Signal Blue: supporting copy on dark panels */
  --signal: #FD8D32;     /* Signal Orange: highlights on dark */
  --signal-tx: #C2540A;  /* orange text on light surfaces (readable) */
  --coral: linear-gradient(180deg, #FF7A53 0%, #FFA84A 100%);
  --coral-hv: linear-gradient(180deg, #F2683F 0%, #F99536 100%);
  --ok: #16A35A;
  --ok-bg: #E6F7EE;
  --badge: #FD8D32;
  --white: #ffffff;
  --shadow: 0 6px 40px 0 rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 11px 0 rgba(24, 61, 109, .12);
  --font: "Rubik", "Arial Rounded MT Bold", Arial, system-ui, sans-serif;
  --max: 1188px;         /* 1140 px content + gutters */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--signal-tx); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } }


/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-top: 12px; }
header.site > .wrap { max-width: calc(var(--max) - 48px); width: calc(100% - 48px); }
@media (max-width: 520px) { header.site > .wrap { width: calc(100% - 32px); } }
.nav { display: flex; align-items: center; gap: 24px; padding: 14px 18px 14px 24px; background: var(--night); border-radius: 20px; box-shadow: 0 10px 30px -12px rgba(5,30,56,.45); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand .logo { display: block; height: 26px; width: auto; }
header.site .brand .logo { filter: brightness(0) invert(1); }
footer .brand .logo { height: 30px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; font-weight: 400; font-size: 16px; line-height: 19px; }
.nav-links a { color: var(--white); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--signal); }
.nav-links a.nav-cta { background: var(--coral); color: var(--white); font-weight: 500; padding: 10px 16px; border-radius: 6px; }
.nav-links a.nav-cta:hover { background: var(--coral-hv); color: var(--white); }
.has-sub { position: relative; }
.sub-parent { display: inline-flex; align-items: center; gap: 4px; }
.sub-parent .chev { width: 12px; height: 12px; transition: transform .15s; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 250px; padding: 8px; margin-top: 12px; background: var(--white); border: 0; border-radius: 10px; box-shadow: 0 20px 40px -16px rgba(5,30,56,.35); display: none; flex-direction: column; z-index: 50; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sub a { padding: 10px 12px; border-radius: 6px; white-space: nowrap; }
.nav-links .sub a { color: var(--ink); }
.nav-links .sub a:hover, .nav-links .sub a[aria-current="page"] { color: var(--signal-tx); }
.sub a:hover { background: var(--soft); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.has-sub:hover .chev { transform: rotate(180deg); }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 1px solid var(--white); color: var(--white); border-radius: 6px; padding: 9px 14px; font: 400 1rem/1 var(--font); cursor: pointer; }
@media (max-width: 1120px) {
  .menu-btn { display: inline-block; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 2px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-links .sub a { color: var(--accent-lt); }
  .nav-links a.nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .has-sub .sub { position: static; display: flex; margin: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; min-width: 0; border-radius: 0; background: transparent; }
  .has-sub .sub::before { display: none; }
  .sub a { border-radius: 0; white-space: normal; }
  .sub-parent .chev { display: none; }
  .sub-parent { display: flex; }
}

/* Type */
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.375rem); line-height: 1.2; letter-spacing: 0; font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8125rem); line-height: 1.2; letter-spacing: 0; font-weight: 700; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: 0; font-weight: 700; }
p { margin: 0; }
.eyebrow { font-size: .875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--signal-tx); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.125rem); line-height: 1.65; color: var(--body); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.ph { background: #FFF4E0; color: #B5530E; font-weight: 700; font-size: .9em; padding: 1px 7px; border-radius: 6px; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 1rem/1.2 var(--font); padding: 15px 22px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, transform .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: var(--white); text-shadow: 0 1px 1px rgba(160,60,20,.25); }
.btn-primary::after { content: "→"; font-weight: 400; }
.btn-primary:hover { background: var(--coral-hv); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-dark { background: var(--night); color: var(--white); }
.btn-dark:hover { background: var(--deep); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .875rem; font-weight: 500; color: var(--body); }
.ticks span::before { content: "✓ "; color: var(--signal-tx); }

/* Sections */
section { padding-block: clamp(56px, 7vw, 88px); }
.hero + section:not([class]), .page-hero + section:not([class]) { padding-top: clamp(16px, 3vw, 32px); }
/* Two sections without a background band share one gap: the latter drops its top padding */
section:where(:not(.soft)) + section:where(:not(.soft, .hero, .page-hero)) { padding-top: 0; }
section.soft { background: var(--soft); }
section.dark > .wrap, .hero-dark > .wrap { max-width: calc(var(--max) - 48px); width: calc(100% - 48px); background: var(--night); border-radius: 20px; padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 64px); }
@media (max-width: 520px) { section.dark > .wrap, .hero-dark > .wrap { width: calc(100% - 32px); } }
section.dark h2, section.dark h3 { color: var(--white); }
section.dark .eyebrow { color: var(--signal); }
section.dark p { color: var(--accent-lt); }
.sec-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.sec-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* Hero */
.hero { background: transparent; padding-block: clamp(48px, 7vw, 80px) clamp(40px, 6vw, 64px); }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 4vw, 48px); align-items: center; }
@media (min-width: 1080px) { .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.pill { background: var(--white); border: 1px solid var(--line-2); padding: 6px 14px; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--body); }
.hero h1 .a { color: var(--signal-tx); }
.visual { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: 100%; }
.visual .bg { position: absolute; inset: 0; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.visual .ring { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed #B9D3EC; }
.visual .orb { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 30% 25%, #FFC07A 0%, #FF8A4C 45%, #E2552B 100%); display: grid; place-items: center; box-shadow: 0 32px 64px -16px rgba(253,141,50,.55), inset 0 -10px 24px rgba(120,30,0,.3), inset 0 6px 14px rgba(255,255,255,.35); }
.visual .orb svg { width: 58%; height: 58%; }
.chip { position: absolute; background: var(--white); border-radius: 10px; padding: 11px 15px; box-shadow: 0 16px 32px -12px rgba(15,26,51,.22); display: flex; gap: 12px; align-items: center; max-width: 62%; }
.chip .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.chip strong { display: block; font-size: .85rem; line-height: 1.25; }
.chip small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.chip.dark { background: var(--night); }
.chip.dark strong { color: var(--white); }
.chip.dark small { color: var(--accent-lt); }
.eu-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.doc { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.doc-sec { background: var(--white); border: 0; border-radius: 10px; box-shadow: var(--shadow); padding: 26px 28px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.doc-n { width: 40px; height: 40px; border-radius: 10px; background: var(--canvas); color: var(--ink); font-weight: 700; font-size: .9rem; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.doc-sec h2 { font-size: 1.12rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; margin: 8px 0 10px; }
.doc-sec > div { display: grid; gap: 10px; min-width: 0; }
.doc-sec p, .doc-list { color: var(--body); font-size: .97rem; margin: 0; }
.doc-list { padding-left: 1.1em; display: grid; gap: 4px; }
.doc-date { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 12px; }
@media (max-width: 520px) { .doc-sec { grid-template-columns: 1fr; padding: 22px; } }
.visual.sites .win { position: absolute; left: 8%; right: 8%; top: 12%; background: var(--white); border-radius: 10px; box-shadow: 0 32px 64px -20px rgba(5,30,56,.35); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DCE3F3; }
.win-bar span { margin-left: 8px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.win-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid #F0F3FA; }
.win-row:last-child { border-bottom: 0; }
@media (max-width: 600px) {
  .visual.sites { aspect-ratio: auto; padding: 28px 16px 84px; }
  .visual.sites .win { position: relative; left: auto; right: auto; top: auto; }
  .visual.sites .chip { bottom: 22px !important; }
}
/* Etusivun hero-kuva */
.visual.home { container-type: inline-size; }
.hv { position: absolute; inset: 0; font-size: 2.3cqw; }
.hv .hwin { position: absolute; left: 5%; right: 15%; top: 9%; background: var(--white); border-radius: 1.4em; box-shadow: 0 2.6em 5em -1.6em rgba(0,0,0,.45); overflow: hidden; }
.hv .hbar { display: flex; align-items: center; gap: .45em; padding: .8em 1.1em; border-bottom: 1px solid var(--line); }
.hv .hbar i { width: .65em; height: .65em; border-radius: 50%; background: #DCE3F3; }
.hv .hurl { margin-left: .6em; display: inline-flex; align-items: center; gap: .35em; font-size: .78em; font-weight: 700; color: var(--muted); background: #F4F6FB; border-radius: 99px; padding: .25em .8em; }
.hv .hurl svg { width: .9em; height: .9em; }
.hv .hnav { display: flex; align-items: center; gap: .9em; padding: .8em 1.3em; }
.hv .hlogo { display: flex; align-items: center; gap: .45em; font-weight: 800; font-size: .82em; color: var(--ink); margin-right: auto; }
.hv .hlogo span { width: 1.5em; height: 1.5em; border-radius: .45em; background: linear-gradient(135deg, #FFB547, #FF7A45); }
.hv .hnav em { width: 3.2em; height: .45em; border-radius: 3px; background: #DCE3F3; }
.hv .hnav b { font-size: .62em; color: #fff; background: var(--night); padding: .5em 1em; border-radius: .4em; }
.hv .hhero { margin: 0 1.3em; border-radius: 1em; padding: 1.4em 1.4em 1.5em; display: grid; grid-template-columns: 1.15fr 1fr; gap: 1em; align-items: center; background: linear-gradient(135deg, #051E38 0%, #022E57 100%); color: #fff; }
.hv .hhero .ht { display: block; margin: 0 0 .5em; font-size: 1.15em; line-height: 1.15; letter-spacing: -.01em; color: #fff; }
.hv .hhero .l { display: block; height: .45em; border-radius: 3px; background: rgba(255,255,255,.28); margin-bottom: .4em; }
.hv .hhero .b { display: inline-block; margin-top: .55em; font-size: .62em; font-weight: 500; background: var(--coral); padding: .6em 1.1em; border-radius: .4em; }
.hv .himg { aspect-ratio: 4 / 3; border-radius: .7em; overflow: hidden; background: linear-gradient(180deg, #8BB3DA 0%, #E1F2FF 100%); position: relative; }
.hv .himg svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; }
.hv .htiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; padding: 1em 1.3em 1.3em; }
.hv .htile { border: 1px solid var(--line); border-radius: .8em; padding: .8em; }
.hv .htile i { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: .55em; margin-bottom: .55em; font-style: normal; font-size: .8em; font-weight: 800; }
.hv .htile strong { display: block; font-size: .7em; margin-bottom: .45em; color: var(--ink); }
.hv .htile span { display: block; height: .38em; border-radius: 3px; background: #E6EBF5; margin-top: .3em; }
.hv .hphone { position: absolute; right: 3%; bottom: 5%; width: 25%; aspect-ratio: 9 / 18; background: var(--white); border: .45em solid var(--deep); border-radius: 1.8em; box-shadow: 0 2em 4em -1.4em rgba(15,26,51,.45); overflow: hidden; display: flex; flex-direction: column; }
.hv .hphone .pn { display: flex; justify-content: space-between; align-items: center; padding: 1.2em .8em .5em; }
.hv .hphone .pn span { width: 1.2em; height: 1.2em; border-radius: .35em; background: linear-gradient(135deg, #FFB547, #FF7A45); }
.hv .hphone .pn em { width: 1.3em; height: .7em; border-top: .16em solid var(--deep); border-bottom: .16em solid var(--deep); }
.hv .hphone .ph { margin: 0 .6em; border-radius: .7em; background: linear-gradient(135deg, #051E38, #022E57); padding: .8em .7em; color: #fff; }
.hv .hphone .ph b { display: block; font-size: .62em; line-height: 1.2; margin-bottom: .5em; }
.hv .hphone .ph span { display: block; height: .32em; border-radius: 3px; background: rgba(255,255,255,.3); margin-bottom: .3em; }
.hv .hphone .pb { margin: .7em .6em 0; display: grid; gap: .45em; }
.hv .hphone .pb span { height: 1.7em; border-radius: .5em; background: #F0F3FA; }
.hv .hphone .pc { margin: auto .6em .8em; text-align: center; font-size: .55em; font-weight: 700; color: #fff; background: var(--coral); border-radius: .4em; padding: .7em 0; }
.hv .hc { position: absolute; display: flex; align-items: center; gap: .7em; background: var(--white); border-radius: .7em; padding: .7em 1em; box-shadow: 0 1.3em 2.6em -1em rgba(15,26,51,.25); white-space: nowrap; }
.hv .hc .ic { width: 2.3em; height: 2.3em; border-radius: .7em; display: grid; place-items: center; font-weight: 800; font-size: .85em; }
.hv .hc strong { display: block; font-size: .8em; line-height: 1.25; color: var(--ink); }
.hv .hc small { display: block; font-size: .72em; color: var(--muted); line-height: 1.3; }
.hv .hc.dark { background: var(--deep); }
.hv .hc.dark strong { color: #fff; }
.hv .hc.dark small { color: var(--accent-lt); }
.hv .hc .ic.g { background: #E6F7EE; color: #138A4B; }
.hv .hc .ic.b { background: var(--canvas); color: var(--ink); }
.hv .hc .ic.y { background: #FFF3E0; color: #E07A00; }
.hv .hc .ic.n { background: rgba(253,141,50,.18); color: var(--signal); }
@container (max-width: 480px) { .hv .hc small { display: none; } .hv .hc strong { font-size: 1.05em; } .hv .hc { padding: .6em .8em; } }
/* Etusivuluonnos: tumma hero ja palveluruudut */
.hero-dark, .page-hero.hero-dark { background: transparent; padding-block: 20px 0; }
.hero-dark > .wrap { position: relative; overflow: hidden; isolation: isolate; }
.hero-dark > .wrap::before { content: ""; position: absolute; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(139,179,218,.28), transparent 68%); pointer-events: none; z-index: -1; }
.hero-dark > .wrap::after { content: ""; position: absolute; left: -180px; bottom: -280px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(253,141,50,.16), transparent 70%); pointer-events: none; z-index: -1; }
.hero-dark .eyebrow { color: var(--signal); }
.page-hero.hero-dark h1, .page-hero.hero-dark h2 { color: var(--white); }
.page-hero.hero-dark p { color: var(--accent-lt); }
.hero.hero-dark + section:not([class]), .page-hero.hero-dark + section:not([class]) { padding-top: clamp(56px, 7vw, 88px); }
.hero-dark h1 { color: var(--white); }
.hero-dark h1 .a { color: var(--signal); }
.hero-dark .lead { color: var(--accent-lt); }
.hero-dark .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--white); }
.hero-dark .ticks { color: var(--accent-lt); }
.hero-dark .ticks span::before { color: var(--signal); }
.hero-dark .visual .bg { background: var(--deep); box-shadow: none; }
.hero-dark .visual .ring { border-color: rgba(139,179,218,.3) !important; }
section.svc-sec, section.home-why { padding-block: clamp(48px, 6vw, 72px); }
section.home-cta { padding-block: clamp(48px, 6vw, 72px) clamp(20px, 3vw, 32px); }
section.home-dc { padding-block: clamp(20px, 3vw, 32px) clamp(48px, 6vw, 72px); }
section.ps-sec { padding-top: 0; }
.ps-card { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; border: 0; border-radius: 20px; padding: clamp(24px, 4vw, 48px); background: var(--white); box-shadow: var(--shadow); }
.ps-brand { display: grid; gap: 14px; justify-items: center; text-align: center; background: var(--soft); border-radius: 10px; padding: 32px 20px; }
.ps-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; }
.ps-logo svg { width: 38px; height: 38px; color: var(--signal); }
.ps-logo img { max-width: 220px; height: auto; display: block; }
.ps-tag { font-size: .82rem; font-weight: 500; color: var(--ink); background: var(--canvas); border-radius: 999px; padding: 6px 12px; }
.ps-txt { display: grid; gap: 14px; justify-items: start; }
.ps-txt h2 { margin: 0; }
.ps-txt p { margin: 0; }
.ps-txt .checklist { margin: 4px 0 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.ps-txt .checklist li { margin: 0; }
.ps-link { font-weight: 500; color: var(--signal-tx); text-decoration: none; }
.ps-link:hover { text-decoration: underline; }
@media (max-width: 760px) { .ps-card { grid-template-columns: 1fr; } }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
a.svc { background: var(--white); border: 0; border-left: 4px solid transparent; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.svc:hover, a.svc:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 40px -8px rgba(24,61,109,.18); border-left-color: var(--signal); }
.svc-head { background: var(--white); padding: 22px 22px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
a.svc .svc-head h3 { color: var(--ink); font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin: 0; }
.svc-go { width: 36px; height: 36px; border-radius: 6px; background: var(--canvas); color: var(--ink); display: grid; place-items: center; flex: none; transition: background .15s ease, color .15s ease; }
.svc-go svg { width: 16px; height: 16px; }
a.svc:hover .svc-go { background: var(--coral); color: var(--white); }
.svc-body { padding: 12px 22px 22px 28px; display: grid; gap: 12px; flex: 1; align-content: space-between; }
a.svc p { margin: 0; color: var(--body); font-size: 1rem; line-height: 1.55; }
.svc-meta { font-weight: 500; font-size: .95rem; color: var(--signal-tx); }
.svc-note { margin: 18px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.lp-body { padding: 20px 20px 24px; display: grid; gap: 12px; }
.lp-hero { background: var(--tint); border-radius: 10px; padding: 18px; display: grid; gap: 9px; }
.lp-hero b { font-size: 1.05rem; letter-spacing: -.01em; }
.lp-line { display: block; height: 7px; border-radius: 4px; background: #DCE3F3; }
.lp-btn { justify-self: start; background: var(--coral); color: #fff; font-size: .74rem; font-weight: 500; padding: 7px 12px; border-radius: 6px; margin-top: 4px; }
.lp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-tiles span { height: 44px; border-radius: 10px; background: #F0F3FA; }
.win-row .fav { width: 32px; height: 32px; border-radius: 9px; color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.win-row b { display: block; font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-row small { display: block; font-size: .78rem; color: var(--muted); }
.win-row em { font-style: normal; font-size: .76rem; font-weight: 700; color: #138A4B; background: #E6F7EE; padding: 4px 9px; border-radius: 999px; }
.compare-wrap { overflow-x: auto; border: 0; border-radius: 10px; background: var(--white); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.compare thead th { font-weight: 700; color: var(--ink); vertical-align: bottom; background: var(--soft); }
.compare thead th span:not(.sr) { display: block; font-weight: 500; color: var(--signal-tx); font-size: .9rem; margin-top: 4px; }
.compare thead th.pop { background: var(--night); color: var(--white); }
.compare thead th.pop span { color: var(--signal) !important; }
.compare td.yes { color: var(--signal-tx); font-weight: 700; }
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); min-width: 170px; }
.compare thead th:first-child { background: var(--soft); }
.compare-hint { display: none; text-align: center; font-size: .85rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 700px) { .compare-hint { display: block; } }
.compare td.no { color: #A9BDD3; }
.compare td { font-weight: 500; color: var(--ink); }
.promo { background: var(--deep); border-radius: 20px; padding: clamp(30px, 5vw, 56px) clamp(22px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(253,141,50,.32), transparent 68%); pointer-events: none; }
.promo-txt { display: grid; gap: 14px; max-width: 640px; position: relative; z-index: 1; }
.promo-txt .eyebrow { color: var(--signal); }
.promo-txt h2 { color: var(--white); }
.promo-txt p:not(.eyebrow) { color: var(--accent-lt); }
.promo.dc { grid-template-columns: minmax(0, 1fr); }
.promo.dc .promo-txt { max-width: 760px; }
.dc-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 6px; }
.dc-form input { border-color: transparent; font-size: 1rem; }
@media (max-width: 520px) { .dc-form { grid-template-columns: 1fr; } }
.dc-note { font-size: .9rem; font-weight: 600; color: #FFD18A !important; }
.dc-res { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.dc-res li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 12px 14px; }
.dc-res b { color: var(--white); font-size: .97rem; overflow-wrap: anywhere; }
.dc-res small { display: block; color: var(--accent-lt); font-size: .8rem; font-weight: 500; }
.dc-st { font-size: .76rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.dc-st.free { background: #E6F7EE; color: #138A4B; }
.dc-st.taken { background: rgba(255,255,255,.12); color: var(--accent-lt); }
.dc-st.premium, .dc-st.unknown { background: #FFF1DB; color: #8A5A00; }
.dc-res a { color: var(--white); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.dc-res a:hover { text-decoration: underline; }
@media (max-width: 520px) { .dc-res li { grid-template-columns: minmax(0, 1fr) auto; } .dc-res li a { grid-column: 1 / -1; } .dc-res li > span:empty { display: none; } }
.promo-act { display: grid; gap: 12px; position: relative; z-index: 1; }
.promo .btn-white { background: var(--coral); color: var(--white); }
.promo .btn-white:hover { background: var(--coral-hv); color: var(--white); }
.btn-ghost-w { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } }
.paper { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-3deg); width: 46%; aspect-ratio: 3 / 4; background: var(--white); border-radius: 10px; padding: 7%; box-shadow: 0 32px 64px -20px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: 9%; }
.paper-head { display: flex; gap: 10px; align-items: center; margin-bottom: 4%; }
.paper-head b { display: block; font-size: .85rem; }
.paper-head small { display: block; font-size: .72rem; color: var(--muted); }
.paper-lock { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--coral); color: var(--white); display: grid; place-items: center; }
.paper-lock svg { width: 20px; height: 20px; }
.paper .line { display: block; height: 7px; border-radius: 4px; background: #E1F2FF; }
.paper .line.short { background: #FFD3B0; }
.wp-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56%; background: var(--white); border-radius: 10px; padding: 4.5% 6%; box-shadow: 0 32px 64px -20px rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; gap: 6%; }
.wp-card svg { width: 30%; height: auto; display: block; flex: none; }
.wp-card b { font-size: clamp(1.2rem, 2.6vw, 2.1rem); font-weight: 800; color: #21759B; letter-spacing: -.02em; }
.gw-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64%; background: var(--white); border-radius: 10px; padding: 8% 7%; box-shadow: 0 32px 64px -20px rgba(0,0,0,.4); }
.gw-card svg { width: 100%; height: auto; display: block; }
.fix-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64%; background: var(--white); border-radius: 10px; padding: 4% 5% 3%; box-shadow: 0 32px 64px -20px rgba(0,0,0,.4); font-size: clamp(.62rem, 1.15vw, .86rem); }
.fix-h { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.fix-h b { font-weight: 700; color: var(--ink); flex: 1; }
.fix-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.fix-tag { background: var(--ok-bg); color: var(--ok); font-weight: 700; border-radius: 99px; padding: 3px 10px; font-size: .9em; }
.fix-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fix-row:last-child { border-bottom: 0; }
.fix-row span { color: var(--muted); }
.fix-row s { color: #C0392B; text-decoration-thickness: 1px; opacity: .75; }
.fix-row em { font-style: normal; font-weight: 700; color: var(--ok); }
@media (max-width: 560px) { .fix-card { width: 80%; top: 52%; } .chip.fix-hm { display: none; } }
.woo-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; background: var(--white); border-radius: 10px; padding: 7% 8%; box-shadow: 0 32px 64px -20px rgba(0,0,0,.4); }
.woo-card svg { width: 100%; height: auto; display: block; }
.ic.g { background: var(--ok-bg); color: var(--ok); }
.ic.b { background: var(--canvas); color: var(--ink); }
.ic.o { background: #FFEBDD; color: var(--signal-tx); }
.ic.n { background: var(--deep); color: var(--signal); }
@media (max-width: 560px) { .chip { padding: 8px 10px; gap: 8px; } .chip .ic { width: 26px; height: 26px; font-size: .8rem; } .chip strong { font-size: .8rem; } .chip small { display: none; } }

/* Feature cards */
.refs { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.refs > .ref { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
@media (max-width: 1000px) { .refs > .ref { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 760px) { .refs > .ref { flex-basis: 100%; } }
.ref { display: grid; gap: 14px; text-decoration: none; color: inherit; }
.ref-win { border-radius: 10px; overflow: hidden; background: var(--white); border: 0; box-shadow: var(--shadow-md); transition: transform .2s ease, box-shadow .2s ease; }
.ref:hover .ref-win, .ref:focus-visible .ref-win { transform: translateY(-3px); box-shadow: 0 14px 40px -8px rgba(24,61,109,.22); }
.ref-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.ref-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C3D6EA; }
.ref-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); background: var(--white); border-radius: 6px; padding: 3px 10px; }
.ref-shot { aspect-ratio: 2 / 1; display: block; width: 100%; height: auto; object-fit: cover; object-position: center top; background: linear-gradient(135deg, #E1F2FF, #EFF8FF); }
div.ref-shot { display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.ref-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ref-meta h3 { font-size: 1.05rem; }
.ref-meta small { color: var(--signal-tx); font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .cards.two { grid-template-columns: 1fr; } }
.cards.three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { position: relative; background: var(--white); border-radius: 10px; box-shadow: var(--shadow); padding: 30px; display: grid; gap: 12px; align-content: start; }
section.soft .card { background: var(--white); }
.card-ic { position: absolute; top: 26px; right: 28px; width: 44px; height: 44px; border-radius: 10px; background: var(--canvas); color: var(--ink); display: grid; place-items: center; }
.card-ic svg { width: 22px; height: 22px; }
.card:has(.card-ic) > .meta { padding-right: 56px; }
.card:has(.card-ic.wide) > .meta { padding-right: 80px; }
.card:has(.card-logo.gw) > .meta { padding-right: 132px; }
.card-ic.brand { background: var(--white); border: 1px solid var(--line); }
.card-ic.brand svg { width: 26px; height: 26px; }
.card-ic.brand.wide { width: 68px; }
.card-ic.brand img { display: block; width: 48px; height: auto; }
.card:has(.card-ic) > h3 { padding-right: 52px; }
.card:has(.card-ic.wide) > h3 { padding-right: 76px; }
.card-ic.fi { background: var(--night); color: var(--white); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; }
.card-logo { position: absolute; top: 30px; right: 28px; display: block; }
.card-logo.cf { height: 30px; width: auto; }
.card-logo.gw { width: 120px; height: auto; top: 38px; }
.card .n { justify-self: start; background: var(--canvas); color: var(--signal-tx); font-weight: 700; font-size: .9rem; padding: 8px 12px; border-radius: 6px; margin-bottom: 8px; }
section.soft .card .n { background: var(--canvas); }
.card p { color: var(--body); font-size: 1rem; }
.card .meta { color: var(--signal-tx); font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

/* Dark process band */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.step { border-top: 1px solid rgba(139,179,218,.25); padding-top: 32px; display: grid; gap: 12px; align-content: start; }
.step .big { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: 0; color: var(--signal); font-variant-numeric: tabular-nums; }
.step p { font-size: .97rem; }
/* Neljä vaihetta: 4 riviin tai 2 x 2, ei koskaan 3 + 1 (versio 27) */
@media (min-width: 640px) { .steps:has(> .step:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps:has(> .step:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
section:not(.dark) .step { border-top-color: var(--line-2); }
section:not(.dark) .step .big { color: var(--signal-tx); }
section:not(.dark) .step p { color: var(--body); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--white); color: var(--ink); border: 0; border-radius: 10px; box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.tier .sub { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.tier .price { font-size: 2.6rem; font-weight: 700; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; }
.tier .price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier .price .ph { font-size: 1.6rem; }
.tier .note { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: .95rem; }
.tier li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.tier li::before { content: "✓"; color: var(--signal-tx); font-weight: 700; }
.tier li.no { color: var(--muted); }
.tier li.no::before { content: "–"; color: var(--muted); }
.tier.pop { background: var(--night); color: var(--white); }
.tier.pop h3 { color: var(--white); }
.tier.pop .sub, .tier.pop .note, .tier.pop .price small { color: var(--accent-lt); }
.tier.pop li::before { color: var(--signal); }
.tiers.sg .tier { display: grid; grid-row: span var(--rows); grid-template-rows: subgrid; gap: 22px; align-content: start; }
.tiers.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
@media (max-width: 760px) { .tiers.two { grid-template-columns: 1fr; } }
.tier .price .from { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 6px; }
.tier.pop .price .from { color: var(--accent-lt); }
.tiers.sg .tier > .btn { align-self: end; }
.y { display: none; }
body.bill-y .m { display: none; }
body.bill-y .y { display: inline; }
.billing { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 4px; gap: 4px; background: var(--white); border: 0; box-shadow: var(--shadow-md); border-radius: 10px; flex-wrap: wrap; justify-content: center; }
.billing button { font: 500 .95rem/1.2 var(--font); color: var(--body); background: transparent; border: 0; border-radius: 6px; padding: 10px 16px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--night); color: var(--white); }
.badge { position: absolute; top: -12px; right: 24px; background: var(--coral); color: var(--white); font-size: .75rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; }
.below { text-align: center; margin-top: 32px; color: var(--body); font-size: .95rem; }
.below a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Split */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 6vw, 72px); align-items: center; }
.split > div { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { background: var(--white); border: 0; box-shadow: var(--shadow); border-radius: 10px; padding: 16px 18px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; font-weight: 500; font-size: 1rem; }
.checklist li::before { content: "✓"; width: 34px; height: 34px; border-radius: 6px; background: #FFEBDD; color: var(--signal-tx); display: grid; place-items: center; font-weight: 700; }

/* Backup panel */
.panel { background: var(--white); border: 0; border-radius: 10px; padding: 30px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.layer { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.layer:first-of-type { border-top: 0; }
.layer .freq { justify-self: start; background: var(--canvas); color: var(--ink); font-weight: 500; font-size: .8rem; padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.layer b { display: block; font-weight: 700; }
.layer span { color: var(--body); font-size: .93rem; }

/* Page hero for subpages */
.page-hero { background: transparent; padding-block: clamp(48px, 7vw, 88px) clamp(44px, 5vw, 56px); }
.page-hero .wrap { display: grid; gap: 20px; justify-items: start; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
details { background: var(--white); border: 0; box-shadow: var(--shadow); border-radius: 10px; }
summary { cursor: pointer; font-weight: 500; font-size: 1.0625rem; list-style: none; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--signal-tx); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { color: var(--body); margin-top: -8px; padding: 0 24px 20px; font-size: 1rem; }

/* CTA block with form */
.cta-block { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(28px, 6vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--coral); }
.cta-block h2 { color: var(--ink); }
.cta-block .txt { display: grid; gap: 16px; justify-items: start; }
.cta-block .txt p { color: var(--body); font-size: 1.0625rem; max-width: 46ch; }
.cta-block .hours { font-size: .875rem; font-weight: 500; color: var(--muted); }
.cta-block .phone { font-size: 1.75rem; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.cta-block .call { display: grid; gap: 2px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.cta-block .call .phone { text-decoration: none; }
.cta-block .call .phone:hover { color: var(--signal-tx); }
.cta-block .btn-white { background: var(--coral); color: var(--white); }
.cta-block .btn-dark { background: var(--coral); color: var(--white); }
.cta-block .btn-dark:hover { background: var(--coral-hv); }
.form-card { background: var(--soft); border-radius: 10px; padding: 24px; display: grid; gap: 12px; }
input, select, textarea { width: 100%; background: var(--white); border: 1px solid var(--line-2); color: var(--ink); border-radius: 6px; padding: 14px 16px; font: 400 1rem var(--font); }
input::placeholder, textarea::placeholder { color: var(--muted); }
select:invalid { color: var(--muted); }
select option { color: var(--ink); }
@media (max-width: 420px) { .form-card { padding: 18px; } input, select, textarea { padding: 13px 12px; } }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(253,141,50,.22); }
textarea { min-height: 110px; resize: vertical; }
.form-card .btn { width: 100%; }
.fine { font-size: .75rem; color: var(--muted); }
.form-note { font-size: .875rem; font-weight: 500; color: var(--ink); }
.form-note.err { color: #B42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#contact-form { position: relative; }
#contact-form button:disabled { opacity: .6; cursor: wait; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Contact info */
.info { display: grid; gap: 12px; }
.info div { background: var(--white); box-shadow: var(--shadow); border-radius: 10px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.info div { position: relative; }
.info-ic { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; background: var(--canvas); color: var(--ink); display: grid; place-items: center; }
.info-ic svg { width: 20px; height: 20px; }
.info strong a { color: inherit; text-decoration: none; display: inline-block; padding: 8px 0; margin: -8px 0; }
.info strong small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.info span { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info strong { font-weight: 500; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 56px 32px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .foot-h { margin: 0 0 14px; font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot a { color: var(--ink); }
.foot a:hover { color: var(--signal-tx); }
.foot .slogan { margin-top: 14px; font-weight: 500; letter-spacing: 0; color: var(--graphite); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .875rem; color: var(--graphite); }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

main > [data-page] { animation: fade .3s ease both; }
@keyframes fade { from { opacity: .5; } to { opacity: 1; } }
@media (max-width: 360px) { h2 { font-size: 1.6rem; } }

/* Blog: listing cards and article prose */
.post-hero > .wrap { grid-template-columns: minmax(0, 1fr); }
.post-hero .hero-copy { max-width: 820px; gap: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--accent-lt); }
.crumbs a { color: var(--accent-lt); }
.crumbs a:hover { color: var(--signal); }
.crumbs span[aria-hidden] { opacity: .6; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; color: var(--accent-lt); }
.post { max-width: 820px; margin-inline: auto; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.post-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { padding: clamp(24px, 5vw, 56px); color: var(--body); font-size: 1.0625rem; line-height: 1.75; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.25; margin-top: 1.9em; }
.post-body h3 { font-size: 1.15rem; margin-top: 1.5em; }
.post-body h2 + *, .post-body h3 + * { margin-top: .6em; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--signal-tx); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--signal-tx); font-weight: 600; }
.post-body .intro { font-size: clamp(1.12rem, 1.8vw, 1.25rem); line-height: 1.65; color: var(--ink); }
.post-body .note { background: var(--soft); border-left: 4px solid var(--signal); border-radius: 0 10px 10px 0; padding: 18px 22px; color: var(--ink); }
.post-body .checklist { padding: 0; }
.post-body .checklist li + li { margin-top: 0; }
.post-body .checklist li { box-shadow: none; background: var(--soft); font-weight: 400; color: var(--ink); }
.post-body .promo { margin-top: 2.2em; grid-template-columns: 1fr; }
.post-body .promo h2 { margin-top: 0; color: var(--white); }
.post-body .promo .btn-row { margin-top: 6px; }
.post-body .promo a.btn { text-decoration: none; color: var(--white); }
.post-body .promo a.btn-ghost-w:hover { border-color: var(--white); }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.post-card { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card div { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.post-card small { color: var(--muted); font-size: .85rem; }
.post-card p { color: var(--body); font-size: .97rem; }
.post-card .more { color: var(--signal-tx); font-weight: 500; font-size: .95rem; }
.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); }
.post-body table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.45; }
.post-body th, .post-body td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body thead th { background: var(--night); color: var(--white); font-weight: 600; }
.post-body tbody th { color: var(--ink); font-weight: 600; background: var(--soft); }
.post-body tbody tr:last-child > * { border-bottom: 0; }
.related { max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; }
.related > h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-bottom: 20px; }
.related .post-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 560px) {
  .post-body table, .post-body tbody, .post-body tr, .post-body tbody th, .post-body td { display: block; width: 100%; }
  .post-body thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .post-body tr { border-bottom: 1px solid var(--line); }
  .post-body tbody tr:last-child { border-bottom: 0; }
  .post-body tbody th { border-bottom: 0; padding: 12px 14px 8px; }
  .post-body td { border-bottom: 0; padding: 4px 14px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
  .post-body td:last-child { padding-bottom: 12px; }
  .post-body td::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button { font: 500 .95rem/1 var(--font); color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .15s ease, border-color .15s ease; }
.filters button span { font-size: .8rem; color: var(--muted); }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.filters button[aria-pressed="true"] span { color: var(--accent-lt); }
.post-card[hidden] { display: none; }
.post-card .cat { display: inline-block; margin-right: 10px; padding: 3px 9px; border-radius: 999px; background: #FFEBDD; color: var(--signal-tx); font-weight: 500; font-size: .78rem; }
.post-hero .eyebrow a { color: inherit; }
.post-hero .eyebrow a:hover { color: var(--white); }

/* Paketti 21: palvelun nimi H1:ssä, linkit bannereissa, kirjoittaja */
.page-hero h1 .a { color: var(--signal-tx); }
.page-hero.hero-dark h1 .a { color: var(--signal); }
.promo-txt p a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.promo-txt p a:hover { color: var(--signal); }
.post-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.post-meta a:hover { color: var(--signal); }
.more-link { margin-top: 24px; font-weight: 500; }

/* 3D-kuvitukset (versio 25): kuva + tekstilaatikot reunoilla */
.visual.v3d { aspect-ratio: 5 / 4; }
.visual.v3d > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.hero-dark .visual.v3d > img { box-shadow: none; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.visual.v3d .chip { max-width: 47%; z-index: 1; }
.visual.v3d .p-tl { left: -4%; top: 3%; }
.visual.v3d .p-tr { right: -4%; top: 3%; }
.visual.v3d .p-ml { left: -8%; top: 42%; }
.visual.v3d .p-mr { right: -8%; top: 42%; }
.visual.v3d .p-bl { left: -4%; bottom: 3%; }
.visual.v3d .p-br { right: -4%; bottom: 3%; }
.hero-dark .chip.dark, .dark .chip.dark { background: #0E3460; box-shadow: 0 16px 32px -12px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.14); }
.ic.y { background: #FFF3E0; color: #E07A00; }
@media (max-width: 560px) {
  .visual.v3d .chip { max-width: 49%; }
  .visual.v3d .p-tl, .visual.v3d .p-bl { left: 0; }
  .visual.v3d .p-tr, .visual.v3d .p-br { right: 0; }
  .visual.v3d .p-ml, .visual.v3d .p-mr { display: none; }
}

.visual.v3d .chip.price { padding: 14px 18px; }
.visual.v3d .chip.price strong { font-size: 1.15rem; color: var(--signal); }
.visual.v3d .chip.price small:first-of-type { text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }

@media (max-width: 560px) { .visual.v3d .chip.price { padding: 8px 10px; } .visual.v3d .chip.price strong { font-size: .95rem; white-space: nowrap; } }

/* Etusivun hero: logopino vasemmalla, pienet laatikot oikealla (versio 26) */
.visual.v3d .chip.mini { left: auto; right: 2%; width: 44%; max-width: none; padding: 8px 12px; gap: 10px; }
.visual.v3d .chip.mini .ic { width: 28px; height: 28px; border-radius: 8px; font-size: .8rem; }
.visual.v3d .chip.mini strong { font-size: .8rem; }
.visual.v3d .chip.mini small { font-size: .72rem; }
.visual.v3d .p-r1 { top: 14%; } .visual.v3d .p-r2 { top: 33%; } .visual.v3d .p-r3 { top: 52%; } .visual.v3d .p-r4 { top: 71%; }
.hero-dark .visual.v3d.stack > img { -webkit-mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); }
.visual.v3d .chip.mini.price strong { font-size: 1rem; }
.visual.v3d .chip.mini.price { background: linear-gradient(135deg, #FF7A53, #FFA84A); right: 1%; width: 48%; top: 73%; padding: 12px 14px; box-shadow: 0 18px 36px -10px rgba(255,122,83,.6), 0 0 0 3px rgba(255,168,74,.25); }
.visual.v3d .chip.mini.price .ic { background: #fff; color: #E2522B; }
.visual.v3d .chip.mini.price strong { color: #fff; font-size: 1.25rem; font-weight: 800; }
.visual.v3d .chip.mini.price small { color: rgba(255,255,255,.92); }
@media (max-width: 560px) { .visual.v3d .chip.mini.price { width: 52%; right: 2%; padding: 8px 10px; } .visual.v3d .chip.mini.price strong { font-size: 1.05rem; } }
@media (max-width: 560px) { .visual.v3d .chip.mini { width: 50%; right: 0; padding: 6px 8px; } .visual.v3d .chip.mini .ic { width: 22px; height: 22px; } .visual.v3d .chip.mini.price strong { font-size: .9rem; } }

/* Etusivun hero: logot ja laatikot riveittäin samalle korkeudelle (versio 26) */
.visual.v3d.stack .rows { position: absolute; inset: 5% 3% 5% 4%; display: grid; grid-template-rows: repeat(4, 1fr); row-gap: 2%; z-index: 1; }
.visual.v3d.stack .row { display: grid; grid-template-columns: 30% minmax(0, 1fr); align-items: center; column-gap: 4%; min-height: 0; }
.visual.v3d.stack .row img { width: 100%; height: auto; margin-block: -12%; }
.visual.v3d.stack .rows .chip { position: relative; inset: auto; width: 100%; max-width: none; transform: none; }
@media (max-width: 560px) { .visual.v3d.stack .row { grid-template-columns: 28% minmax(0, 1fr); } .visual.v3d.stack .rows .chip.price { width: 100%; } }

/* Blogikirjoituksen kuva heron oikeaan reunaan (versio 25) */
.post-hero-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }
@media (max-width: 1079px) { .post-hero-img { max-width: 420px; justify-self: center; } }
@media (min-width: 1080px) {
  .post-hero > .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .post-hero h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
}

/* Tasaiset ruudukot: ei yksinäisiä kortteja viimeiselle riville (versio 27) */
.info.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (max-width: 859px) { :is(.post-cards, .related .post-cards):has(> :nth-child(3):last-child) { grid-template-columns: 1fr; } }
@media (min-width: 860px) {
  :is(.cards, .post-cards, .related .post-cards):has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1099px) {
  :is(.cards, .info.cols):has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .cards:has(> :nth-child(5):last-child) > :nth-child(4) { grid-column: 2 / span 2; }
}
@media (min-width: 1100px) {
  .cards:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Sivukuvitusten tekstilaatikot: samankokoiset, symmetrisesti kulmissa (versio 28) */
.visual.v3d:not(.stack) .chip { width: 46%; max-width: none; height: 21%; box-sizing: border-box; padding: 0 14px; gap: 10px; overflow: hidden; }
.visual.v3d:not(.stack) .chip strong { font-size: .82rem; }
.visual.v3d:not(.stack) .chip small { font-size: .74rem; }
.visual.v3d:not(.stack) .p-tl { left: -3%; right: auto; top: 3%; bottom: auto; }
.visual.v3d:not(.stack) .p-tr { right: -3%; left: auto; top: 3%; bottom: auto; }
.visual.v3d:not(.stack) .p-bl { left: -3%; right: auto; bottom: 3%; top: auto; }
.visual.v3d:not(.stack) .p-br { right: -3%; left: auto; bottom: 3%; top: auto; }
@media (max-width: 560px) {
  .visual.v3d:not(.stack) .chip { width: 48%; padding: 0 8px; }
  .visual.v3d:not(.stack) .p-tl, .visual.v3d:not(.stack) .p-bl { left: 0; }
  .visual.v3d:not(.stack) .p-tr, .visual.v3d:not(.stack) .p-br { right: 0; }
  .visual.v3d:not(.stack) .chip .ic { width: 24px; height: 24px; font-size: .75rem; }
  .visual.v3d:not(.stack) .chip strong { font-size: .76rem; overflow-wrap: anywhere; hyphens: auto; }
}

/* Sivukuvitukset v29: oikeat asiakastyöt, faktalistat ja logot (ei badgeja eikä laatikoita) */

.visual.lv{aspect-ratio:auto;display:flex;flex-direction:column;justify-content:center;gap:0;padding-left:24px;color:#fff}
.lv-s{position:relative;aspect-ratio:1000/680}
.lv-s img{position:absolute;height:auto;border-radius:8px;box-shadow:0 24px 50px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.08)}
.lv-s.n1{aspect-ratio:2/1}.lv-s.n1 img{width:100%;left:0;top:0}
.lv-s.n2 .s0{width:84%;left:0;top:0}.lv-s.n2 .s1{width:66%;right:0;bottom:0}
.lv-s.n3{aspect-ratio:1000/700}.lv-s.n3 .s0{width:62%;left:0;top:0}.lv-s.n3 .s1{width:62%;right:0;top:12%}.lv-s.n3 .s2{width:66%;left:14%;bottom:0}
.lv-c{color:#9DB6D3;font-size:.85rem;margin:18px 0 22px;text-align:right}
.lv-l{display:flex;flex-wrap:wrap;gap:14px 26px;align-items:center;justify-content:flex-end;color:#C9D8EA}
.lv-l span{display:flex;align-items:center;gap:8px}.lv-l em{font-style:normal;font-size:.9rem;font-weight:500}
.lv-l.big{justify-content:space-between;margin:0 0 30px}.lv-l.big span{flex-direction:column;gap:10px}.lv-l.big em{font-size:.8rem;color:#9DB6D3}
.lv-f{list-style:none;margin:0 0 26px;padding:0;border-top:1px solid rgba(255,255,255,.12)}
.lv-f li{display:flex;gap:18px;align-items:baseline;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.lv-f .k{flex:0 0 34px;color:#FD8D32;font-weight:700;font-size:1.05rem}
.lv-f strong{display:block;font-size:1.1rem;font-weight:600;color:#fff}.lv-f small{display:block;color:#9DB6D3;font-size:.9rem;margin-top:2px}
.lv-p{margin:24px 0 0;color:#C9D8EA;font-size:1rem;text-align:right}.lv-p strong{color:#FD8D32;font-size:1.5rem;font-weight:700;margin:0 4px}
.lv-f + .lv-l{justify-content:flex-start}.lv-f ~ .lv-p{text-align:left}
.visual.lv.light{color:var(--navy,#183D6D)}
.visual.lv.light .lv-f{border-color:rgba(24,61,109,.15)}.visual.lv.light .lv-f li{border-color:rgba(24,61,109,.15)}
.visual.lv.light .lv-f strong{color:#183D6D}.visual.lv.light .lv-f small{color:#4A6A90}
@media (max-width:900px){.visual.lv{padding-left:0;margin-top:36px}.lv-c,.lv-p{text-align:left}.lv-l{justify-content:flex-start}}
@media (max-width:560px){.lv-l.big{gap:14px 10px}.lv-l.big svg{width:32px;height:32px}.lv-f strong{font-size:1rem}}

.visual.lv.map .lv-mapw{margin:0 0 8px;-webkit-mask-image:radial-gradient(farthest-side,#000 62%,transparent 100%);mask-image:radial-gradient(farthest-side,#000 62%,transparent 100%)}
.visual.lv.map .lv-map{display:block;width:100%;height:auto;aspect-ratio:320/260}
.visual.lv.map .lv-f{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
@media (max-width:560px){.visual.lv.map .lv-f{grid-template-columns:1fr}}

/* v30: etusivun hero, verkkokauppa-alustojen logot allekkain */
.lv-b{display:flex;flex-direction:column;align-items:center;gap:44px;margin:0 0 48px}
.lv-bl{display:block;width:100%;height:auto}
.lv-bl.woo{aspect-ratio:24/4.84}
.lv-bl.shop{aspect-ratio:118/28;width:88%}
.visual.lv.brands .lv-l{gap:14px 20px;justify-content:center}
.visual.lv.brands .lv-b{width:100%;margin-left:auto;margin-right:auto}
@media (max-width:900px){.lv-b{max-width:440px}}
@media (max-width:560px){.lv-b{gap:30px;margin-bottom:32px}}
.lv-br{display:none}
@media (min-width:901px){.visual.lv.brands .lv-br{display:block;flex-basis:100%;height:0}}
.lv-gw{display:block;width:100%;max-width:440px;height:auto;margin:0 0 34px}
.tier .price .from s{font-weight:500;margin-left:4px;text-decoration-thickness:2px}
body.bill-y .tier .price .from s{display:none}
.lv-hl{display:block;width:100%;max-width:400px;height:auto;margin:0 auto 44px}
.lv-hl ~ .lv-l{justify-content:center}
.lv-hl.lv-hs{max-width:420px;aspect-ratio:118/28;margin-bottom:56px}
.lv-hl.lv-cf{max-width:440px;aspect-ratio:224/40;margin-bottom:56px}
