/* Puntti-Pena / Plate Pete – esittelysivu. Ei ulkoisia riippuvuuksia. */

@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/anton-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-700.woff2") format("woff2"); }

:root {
  --brand: #2575f2;        /* koriste, isot pinnat */
  --brand-ink: #1d5fd1;    /* teksti ja painikkeet valkoisella (kontrasti ≥ 4,5) */
  --brand-deep: #1748a8;
  --hero: #1f63d6;
  --fg: #111826;
  --muted: #566173;
  --bg: #f9fafb;
  --card: #ffffff;
  --border: #e0e5eb;
  --night: #0f172a;
  --night-2: #1e293b;
  --night-muted: #a3b0c2;
  --radius: 1.25rem;
  --shadow: 0 30px 60px -20px rgba(15, 23, 42, .25);
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.08; letter-spacing: .005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: .4rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--fg); color: #fff; padding: .6rem 1rem; border-radius: .6rem; text-decoration: none; }
.skip:focus { top: 1rem; }

/* Painikkeet */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .85rem 1.6rem; border-radius: 1rem; font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: var(--brand-ink); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); }
.btn-light:hover { background: #eef4ff; }
.btn-ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-brand { background: var(--brand-ink); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); }
.btn-sm { min-height: 2.4rem; padding: .45rem 1.1rem; font-size: .9rem; border-radius: 999px; }

/* Yläpalkki */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid rgba(15, 23, 42, .06); }
.top .wrap { display: flex; align-items: center; gap: 1rem; height: 4rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.logo img { width: 2rem; height: 2rem; border-radius: .5rem; }
.logo span { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; color: var(--brand-ink); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.nav a { text-decoration: none; }
.logo span, .top .btn { white-space: nowrap; }
@media (max-width: 1180px) { .nav { gap: 1rem; font-size: .8rem; letter-spacing: .02em; } }
.nav a:hover { color: var(--brand-ink); }
.langs { display: flex; gap: .2rem; font-size: .8rem; font-weight: 700; }
.langs a { padding: .3rem .55rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; }
.langs a[aria-current="page"] { border-color: var(--brand-ink); color: var(--brand-ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: .8rem; border: 1px solid var(--border); background: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 1.1rem; height: 2px; background: var(--fg); box-shadow: 0 -6px 0 var(--fg), 0 6px 0 var(--fg); }
.menu[open] summary span { box-shadow: none; transform: rotate(45deg); }
.menu[open] summary span::after { content: ""; display: block; width: 1.1rem; height: 2px; background: var(--fg); transform: rotate(-90deg); }
.menu-panel { position: absolute; right: 0; top: 3.2rem; width: min(18rem, calc(100vw - 2.5rem)); background: #fff; border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow); padding: .6rem; display: grid; gap: .1rem; }
.menu-panel a { display: block; padding: .75rem .9rem; border-radius: .7rem; text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--bg); }
.menu-panel .langs { padding: .6rem .4rem .2rem; border-top: 1px solid var(--border); margin-top: .3rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .16), transparent 45%), var(--hero); color: #fff; padding-top: 4.5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; }
.hero-copy { padding-bottom: 6rem; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 6.5rem); line-height: .92; margin-bottom: 1.5rem; }
.hero h1 span { display: block; }
.hero .lead { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5; font-weight: 500; max-width: 32rem; color: #eaf1ff; margin-bottom: 2.2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero .note { margin-top: 1.2rem; color: #eef3ff; font-size: .95rem; }
.hero-phone { justify-self: end; width: min(20rem, 100%); background: var(--night); padding: .7rem .7rem 0; border-radius: 3rem 3rem 0 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, .25); }
.hero-phone img { border-radius: 2.4rem 2.4rem 0 0; aspect-ratio: 760 / 1270; object-fit: cover; object-position: top; width: 100%; }

/* Luottamusrivi */
.trust { background: #fff; border-bottom: 1px solid var(--border); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2rem 0; }
.trust li { display: flex; gap: .8rem; align-items: flex-start; }
.trust b { display: block; font-size: .98rem; }
.trust small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: .15rem; }
.dot { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #e7efff; position: relative; margin-top: .1rem; }
.dot::after { content: ""; position: absolute; left: .5rem; top: .45rem; width: .55rem; height: .32rem; border-left: 2px solid var(--brand-ink); border-bottom: 2px solid var(--brand-ink); transform: rotate(-45deg); }

/* Osiot */
.section { padding: 6.5rem 0; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 4.5rem; }
.kicker { display: inline-block; color: var(--brand-ink); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.bar { width: 4.5rem; height: .35rem; background: var(--brand); margin: 1.2rem auto 0; border-radius: 1rem; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.row + .row { margin-top: 7rem; }
.row.flip .row-media { order: 2; }
.row-media { display: flex; justify-content: center; }
.row-copy h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.1rem; }
.row-copy p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.checks { display: grid; gap: .8rem; margin-top: 1.6rem; }
.checks li { display: flex; gap: .75rem; align-items: center; font-weight: 600; }
.checks .dot { margin-top: 0; }

.phone { width: min(18.75rem, 78vw); background: var(--card); border: 2px solid var(--fg); border-radius: 2.6rem; padding: .6rem; box-shadow: var(--shadow); margin: 0; }
.phone img { width: 100%; border-radius: 2.05rem; aspect-ratio: 760 / 1500; object-fit: cover; object-position: top; background: #eef2f7; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; width: 100%; max-width: 38rem; }
.phones .phone { width: 100%; }

/* Ohjelmakortit */
.cards-title { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 7rem auto 2.5rem; max-width: 54rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.card h3 { font-family: var(--sans); text-transform: none; font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin-bottom: .6rem; }
.card p { color: var(--muted); }
.card .num { font-family: var(--display); color: var(--brand); font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 1rem; }

/* Ryhmät */
.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.versus { margin-top: 2rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.versus h3 { font-family: var(--sans); text-transform: none; font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }
.versus p { font-size: 1rem; }
.board { width: min(26rem, 100%); background: var(--night); color: #fff; border-radius: 1.8rem; padding: 1.6rem; box-shadow: var(--shadow); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .3rem; }
.board-title { font-family: var(--display); text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #dbe5f3; }
.board-sub { color: var(--night-muted); font-size: .9rem; margin-bottom: 1.2rem; }
.board ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.board li { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: .7rem; background: var(--night-2); border-radius: .9rem; padding: .7rem .9rem; }
.board li:first-child { background: var(--brand-ink); }
.board .pos { font-family: var(--display); font-size: 1.35rem; text-align: center; }
.board .name { font-weight: 600; }
.board .score { font-weight: 700; font-variant-numeric: tabular-nums; }
.board-unit { margin-top: .9rem; color: var(--night-muted); font-size: .82rem; text-align: right; }

/* Tumma valmentajaosio */
.dark { background: var(--night); color: #fff; overflow: hidden; }
.dark .kicker { color: #8fb5ff; }
.dark .row-copy h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.4rem; }
.dark .row-copy p { color: var(--night-muted); }
.dark .checks li { color: #e2e8f0; }
.dark .dot { background: rgba(143, 181, 255, .16); }
.dark .dot::after { border-color: #8fb5ff; }
.dark .phone { border-color: #334155; background: var(--night-2); }

/* Yhteydenotto */
.cta-box { margin-top: 5rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; background: #eaf1ff; border: 1px solid #cddcff; border-radius: 1.8rem; padding: 2.2rem 2.5rem; }
.cta-box h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .5rem; }
.cta-box p { color: #33415a; max-width: 38rem; }

.biz .cards { grid-template-columns: repeat(2, 1fr); }
.biz .center { text-align: center; margin-top: 2.5rem; }

/* Tietosuoja */
.privacy-sec .cards { margin-bottom: 2rem; }
.center-text { text-align: center; }
.row-copy h2.h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.1rem; }
.link { color: var(--brand-ink); font-weight: 700; text-underline-offset: .2em; }

/* UKK */
.faq { max-width: 48rem; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.2rem 1.15rem 1.3rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.3rem 1.25rem; color: var(--muted); }

/* Lopetus */
.final { padding: 2rem 0 7rem; }
.final-box { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .18), transparent 50%), var(--hero); color: #fff; text-align: center; border-radius: 2.6rem; padding: 5rem 2rem; }
.final-box h2 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 1.2rem; }
.final-box p { color: #e3ecff; font-size: 1.2rem; max-width: 32rem; margin: 0 auto 2.4rem; }
.final-box .actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* Alatunniste */
.foot { background: #fff; border-top: 1px solid var(--border); padding: 4rem 0 2.5rem; font-size: .92rem; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; }
.foot .logo { margin: 0 0 .8rem; }
.foot .logo span { font-size: 1.25rem; }
.foot .logo img { width: 1.6rem; height: 1.6rem; }
.foot-tag { color: var(--muted); max-width: 20rem; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 3rem; }
.foot h2 { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: .9rem; }
.foot li + li { margin-top: .45rem; }
.foot a { text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--brand-ink); text-decoration: underline; }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.25rem; }
.nf h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); margin-bottom: 1rem; }
.nf p { color: var(--muted); margin-bottom: 2rem; }
.nf .alt { margin-top: 2.5rem; font-size: .9rem; }


/* ---------- Ohjeet ---------- */
.faq-more { margin-top: 1.6rem; }
.help-hero { background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .16), transparent 45%), var(--hero); color: #fff; padding: 3.5rem 0 2.6rem; }
.help-hero h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); margin-bottom: .8rem; }
.help-hero p { color: #eef3ff; font-size: 1.15rem; max-width: 36rem; }
.help-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.help-jump a { background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; padding: .5rem .9rem; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.help-jump a:hover { background: rgba(255, 255, 255, .26); }
.help-body { padding: 3rem 1.25rem 2rem; }
.help-sec { margin-bottom: 3.2rem; scroll-margin-top: 5rem; }
.help-sec h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; }
.help-ico { font-size: 1.6rem; line-height: 1; }
.help-sec-desc { color: var(--muted); margin-bottom: 1.2rem; }
.help-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .8rem; }
.help-list a { display: block; height: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1rem 1.1rem; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.help-list a:hover { border-color: var(--brand); box-shadow: 0 8px 24px -14px rgba(37, 117, 242, .6); }
.help-list strong { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.help-list span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.help-count { color: var(--muted); font-size: .9rem; text-align: center; margin: 1rem 0 0; }
.help-contact { margin: 3rem 0 4rem; background: #eaf1ff; border: 1px solid #cddcff; border-radius: 1.5rem; padding: 1.8rem 2rem; display: grid; gap: .6rem; justify-items: start; }
.help-contact h2 { font-family: var(--sans); text-transform: none; font-size: 1.25rem; font-weight: 700; }
.help-contact p { color: #33415a; max-width: 40rem; }
.help-contact .btn { margin-top: .4rem; }

.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 3rem; padding-top: 2.2rem; align-items: start; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article { max-width: 44rem; font-size: 1.06rem; line-height: 1.7; }
.article h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin-bottom: .8rem; }
.article .lede { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.8rem; }
.article h2 { font-family: var(--sans); text-transform: none; font-weight: 700; font-size: 1.4rem; line-height: 1.3; margin: 2.2rem 0 .8rem; scroll-margin-top: 5rem; }
.article h3 { font-family: var(--sans); text-transform: none; font-weight: 700; font-size: 1.12rem; line-height: 1.35; margin: 1.6rem 0 .5rem; }
.article p { margin: 0 0 1rem; }
.article ul, .article ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.article ul { list-style: disc; }
.article li { margin: .35rem 0; padding-left: .2rem; }
.article ol { list-style: none; padding-left: 0; counter-reset: step; }
.article ol > li { counter-increment: step; position: relative; padding-left: 2.6rem; margin: .7rem 0; min-height: 1.9rem; }
.article ol > li::before { content: counter(step); position: absolute; left: 0; top: .05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brand-ink); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; line-height: 1; }
.article li > ul, .article li > ol { margin: .4rem 0 .2rem; }
.article li > ul { list-style: disc; padding-left: 1.2rem; }
.article a { color: var(--brand-ink); font-weight: 600; text-underline-offset: .18em; }
.article code { font-size: .92em; background: #eef2f7; border-radius: .35rem; padding: .08em .35em; }
.article strong { font-weight: 700; }
.article pre { background: var(--night); color: #e2e8f0; border-radius: .9rem; padding: 1rem 1.2rem; overflow-x: auto; margin: 0 0 1.2rem; font-size: .92rem; line-height: 1.55; }
.article pre code { background: none; padding: 0; color: inherit; }
.callout { background: #fff8e6; border: 1px solid #f3dfa8; border-left: 4px solid #e2a400; border-radius: .8rem; padding: .9rem 1.1rem; margin: 1.2rem 0 1.4rem; font-size: 1rem; }
.help-toc { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1rem 1.2rem; margin: 0 0 1.6rem; font-size: .95rem; }
.help-toc strong { display: block; margin-bottom: .3rem; }
.help-toc ul { list-style: none; padding: 0; margin: 0; }
.help-toc li { margin: .2rem 0; }
.help-shot { margin: 1.6rem auto; width: min(17rem, 72vw); }
.help-shot figcaption { font-size: .85rem; color: var(--muted); text-align: center; padding: .6rem .4rem .2rem; line-height: 1.4; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.8rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.pager a { display: block; border: 1px solid var(--border); border-radius: 1rem; padding: .9rem 1.1rem; text-decoration: none; font-weight: 600; background: var(--card); line-height: 1.35; }
.pager a:hover { border-color: var(--brand); }
.pager a span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .2rem; }
.pager .next { text-align: right; }
.help-side { position: sticky; top: 5.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 1.2rem; padding: 1.2rem 1.2rem 1.3rem; font-size: .94rem; }
.help-side h2 { font-family: var(--sans); text-transform: none; font-weight: 700; font-size: 1rem; margin-bottom: .7rem; }
.help-side ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .1rem; }
.help-side li a { display: block; padding: .4rem .55rem; border-radius: .55rem; text-decoration: none; line-height: 1.35; }
.help-side li a:hover { background: var(--bg); }
.help-side li a[aria-current] { background: #eaf1ff; color: var(--brand-ink); font-weight: 700; }
@media (max-width: 980px) {
  .help-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .help-side { position: static; }
}
@media (max-width: 520px) {
  .help-hero { padding: 2.4rem 0 2rem; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .help-contact { padding: 1.4rem; }
  .article { font-size: 1.02rem; }
}

/* Liike */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: up .8s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-phone { animation: rise 1s .15s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Kapeat näytöt */
@media (max-width: 1040px) {
  .nav, .nav-langs { display: none; }
  .menu { display: block; }
}
@media (max-width: 980px) {
  .top .btn-sm { padding: .4rem .9rem; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .biz .cards { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero { padding-top: 3rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-phone { justify-self: center; width: min(17rem, 80%); }
  .section { padding: 4.5rem 0; }
  .section-head { margin-bottom: 3rem; }
  .row { grid-template-columns: 1fr; gap: 2.5rem; }
  .row + .row { margin-top: 5rem; }
  .row .row-media, .row.flip .row-media { order: 2; }
  .row-copy { order: 1; }
  .cards-title { margin-top: 5rem; }
  .cta-box { padding: 1.8rem; }
  .final-box { padding: 3.5rem 1.4rem; border-radius: 2rem; }
}
@media (max-width: 520px) {
  .top .wrap { gap: .6rem; }
  .logo span { font-size: 1.25rem; }
  .trust ul { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.6rem 0; }
  .hero .actions .btn, .final-box .actions .btn { width: 100%; }
  .phones { gap: .7rem; }
  .phone { border-radius: 2rem; padding: .45rem; }
  .phone img { border-radius: 1.6rem; }
}
@media print {
  .top, .menu, .hero-phone, .final { display: none; }
  .hero { background: none; color: var(--fg); }
}
