/* ===== Värit — vaihda nämä niin koko sivun ilme vaihtuu ===== */
:root {
  --bg: #0a0807;           /* sivun tausta */
  --bg-2: #0f0c0a;
  --card: #141110;         /* korttien tausta */
  --card-2: #1c1815;
  --line: rgba(255, 240, 225, 0.075);
  --line-2: rgba(255, 240, 225, 0.12);
  --line-3: rgba(255, 240, 225, 0.22);
  --text: #f7f3ef;
  --text-2: rgba(247, 243, 239, 0.76);
  --muted: #978d84;
  --cta: #fb8b1e;          /* päänapit */
  --cta-text: #170b02;
  --cta-hover: #ffa24a;
  --accent: #fb8b1e;       /* korostusväri (oranssi) */
  --accent-hover: #ffa24a;
  --accent-soft: #ffc48a;
  --discord-bg: #2e3756;
  --discord-line: #7289da;
  --ok: #4ade80;
  --err: #f87171;
  --radius: 12px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Montserrat", "Inter", sans-serif;  /* isot otsikot */
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: color-mix(in srgb, var(--accent) 55%, transparent); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 6px; }
kbd { font-family: var(--font); font-size: 11px; color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }

/* Korostettu sana otsikoissa */

/* ===== Napit ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--radius); font-weight: 500; font-size: 15px;
  transition: background .2s, border-color .2s, color .2s, opacity .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 48px; padding: 0 24px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cta); color: var(--cta-text); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-ghost { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: var(--line-3); }
.btn.in-cart { background: rgba(74,222,128,.1); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(74,222,128,.35); }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; position: relative; color: var(--text-2); border: 1px solid var(--line-2); transition: color .2s, background .2s, border-color .2s; }
.icon-btn:hover { color: var(--text); background: rgba(255,255,255,.05); border-color: var(--line-3); }
.icon-btn svg { width: 17px; height: 17px; }
.link { color: var(--text); font-weight: 500; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translate(2px, -2px); }
.link:hover { color: var(--accent-soft); }

.wordmark { font-weight: 800; font-size: 19px; letter-spacing: -.03em; white-space: nowrap; }
.accent { color: var(--accent); }

/* ===== Navbar ===== */
.nav { position: sticky; top: 12px; z-index: 50; display: flex; justify-content: center; margin-top: 12px; }
.nav-inner { position: relative; width: min(1060px, 100% - 32px); height: 58px; padding: 0 10px 0 20px; display: flex; align-items: center; gap: 16px; background: rgba(20,16,13,.86); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.9); }
.nav-links { display: flex; gap: 2px; align-items: center; flex: 1; }
.nav-links a { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 9px; color: var(--text-2); font-weight: 500; font-size: 14px; transition: color .2s, background .2s; }
.nav-links a svg { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.has-mega:hover > a svg { transform: rotate(180deg); }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,.07); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
#loginBtn { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; max-width: 150px; }
#loginBtn span { overflow: hidden; text-overflow: ellipsis; }

.menu-btn { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 9px; }
.menu-btn span { height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease); }

/* Megavalikko */
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 12px); left: 0; transform: translateY(6px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .2s var(--ease), visibility .18s; }
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { width: 300px; padding: 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -12px rgba(0,0,0,.8); display: flex; flex-direction: column; }
.nav-links .mega-item { display: flex; justify-content: space-between; align-items: center; height: auto; padding: 10px 12px; color: var(--text); }
.nav-links .mega-item:hover { background: rgba(255,255,255,.05); }
.mega-item strong { font-weight: 500; font-size: 14px; }
.mega-item span { color: var(--muted); font-size: 12.5px; }
.mega-item.all { border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; margin-bottom: 4px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; border-radius: 8px; color: #000; font-size: 14px; font-weight: 600; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.noscript { padding: 12px 16px; text-align: center; font-size: 14px; color: #fcd34d; background: #1c1405; }

/* Alekampanjan banneri */
.campaign { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 48px; padding: 10px 20px; color: #fff; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--cb) 92%, #fff), var(--cb) 38%, color-mix(in srgb, var(--cb) 38%, #000)); border-bottom: 1px solid rgba(255,255,255,.12); }
.cb-text { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cb-text > svg { width: 30px; height: 30px; flex-shrink: 0; }
.cb-text strong { display: block; font-size: 14.5px; line-height: 1.3; }
.cb-text span { display: block; font-size: 13.5px; line-height: 1.35; color: rgba(255,255,255,.88); }
.cb-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cb-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 8px; color: #000; font-size: 13.5px; font-weight: 700; background: #fff; transition: background .2s; }
.cb-btn:hover { background: #e7e7ea; }
.cb-code { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; height: 38px; padding: 0 10px; border-radius: 8px; color: #fff; background: rgba(0,0,0,.28); transition: background .2s; }
.cb-code:hover { background: rgba(0,0,0,.42); }
.cb-code small { grid-column: 1; font-size: 8.5px; line-height: 1; letter-spacing: .05em; text-align: center; color: rgba(255,255,255,.7); }
.cb-code span { grid-column: 1; font-size: 13px; line-height: 1.2; font-weight: 800; }
.cb-code svg { grid-column: 2; grid-row: 1 / 3; width: 15px; height: 15px; }
.cb-timer { display: flex; gap: 4px; }
.cb-unit { min-width: 38px; height: 38px; padding: 3px 4px 0; border-radius: 6px; text-align: center; background: rgba(0,0,0,.28); }
.cb-unit b { display: block; font-size: 16px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cb-unit small { display: block; font-size: 8px; line-height: 1.2; color: rgba(255,255,255,.72); }

/* Lakisivut ja 404 */
.legal-alert { display: flex; align-items: center; gap: 14px; margin: 20px 0 24px; padding: 16px 20px; border-radius: 10px; color: var(--text); background: rgba(251,139,30,.14); border: 1px solid rgba(251,139,30,.28); }
.legal-alert svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }
.legal-alert p { margin: 0; }
.prose table { display: block; width: 100%; margin-bottom: 14px; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); white-space: nowrap; }
.nf { display: flex; flex-direction: column; align-items: center; padding: 64px 0 40px; text-align: center; }
.nf-code { font-family: var(--display); font-size: clamp(92px, 18vw, 168px); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.nf h1 { margin: 10px 0; font-family: var(--display); font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; letter-spacing: -.03em; }
.nf p { max-width: 440px; color: var(--text-2); }
.nf-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.demo-bar { text-align: center; padding: 7px 16px; font-size: 13px; background: #1c1405; color: #fcd34d; border-bottom: 1px solid rgba(245,158,11,.25); }
#progress { display: none; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ===== Osiot ===== */
.section { padding: 110px 0; position: relative; }
.section + .section { padding-top: 40px; }
.section h2, .h2 { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.03em; line-height: 1.06; font-weight: 700; }

/* Alasivut */
.page { position: relative; padding: 56px 0 40px; min-height: 70vh; }
.page-head { margin-bottom: 36px; }
.page-head.center { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.page-head.center p { margin-inline: auto; }
.page-head h1, .faq-intro h1, .prose h1 { font-family: var(--display); font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.03em; line-height: 1.05; margin: 8px 0 12px; font-weight: 900; }
.page-head p { color: var(--text-2); max-width: 580px; font-size: 16.5px; }
.eyebrow { color: var(--accent-soft); font-weight: 600; font-size: 13px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chips button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-2); transition: all .2s; }
.chips button span { color: var(--muted); margin-left: 4px; }
.chips button:hover { color: var(--text); border-color: var(--line-3); }
.chips button.active { background: #fff; border-color: #fff; color: #000; }
.chips button.active span { color: #555; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar-right { display: flex; gap: 8px; }
.input { height: 38px; background: var(--card); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 14px; outline: none; transition: border-color .2s; }
.input:focus { border-color: var(--accent); }
select.input { cursor: pointer; }

/* ===== Tuotekortit ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.card:hover { border-color: var(--line-3); }
.card .btn { position: relative; z-index: 2; }
.cover-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: var(--card-2); }
.cover-fallback span { font-family: var(--mono); font-size: 22px; font-weight: 500; opacity: .85; padding: 0 12px; text-align: center; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; padding: 2px 8px 2px 6px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--text-2); border: 1px solid var(--line); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--c, #888); }
.tag[data-fw="qbcore"] { --c: #ef4444; }
.tag[data-fw="esx"] { --c: #eab308; }
.tag[data-fw="qbox"] { --c: #a855f7; }
.tag[data-fw="standalone"] { --c: #22c55e; }
.price { font-size: 20px; font-weight: 700; letter-spacing: -.02em; display: inline-flex; align-items: baseline; gap: 8px; }
.price s { font-size: 14px; color: var(--muted); font-weight: 500; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: -4px; }

@keyframes shimmer { to { background-position: -200% 0; } }

.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty strong { font-size: 17px; }
.empty p { color: var(--muted); }
.empty.small { padding: 40px 16px; border: 0; }

@media (max-width: 980px) { .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.three { grid-template-columns: 1fr; } }

/* ===== Split-osiot (teksti + visuaali) ===== */
.stats { display: flex; gap: 0; margin-top: 32px; padding: 22px 0; border-block: 1px solid var(--line); max-width: 470px; }
.stat { flex: 1; min-width: 0; }
.stat strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13px; }

/* Pyörivä pallo */
#globe { width: min(460px, 100%); aspect-ratio: 1; position: relative; }




/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 400px; }
.faq-intro .btn { justify-content: space-between; }
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 6px; font-weight: 600; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
.faq-item summary:hover { color: var(--accent-soft); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item i { width: 16px; height: 16px; flex-shrink: 0; position: relative; color: var(--muted); }
.faq-item i::before { content: ""; position: absolute; inset: 3px 4px 5px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq-item[open] i::before { transform: translateY(3px) rotate(-135deg); }
.faq-item p { padding: 0 6px 22px; color: var(--text-2); font-size: 14.5px; max-width: 620px; animation: fadein .3s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } }

/* Vanhat korttityylit alasivuille */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { padding: 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 16.5px; }
.feature p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.step { font-size: 13px; font-weight: 700; color: var(--accent-soft); }

/* ===== Tuotesivu ===== */
.product { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
.product > *, .product-details > *, .cart-layout > * { min-width: 0; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs .thumb { width: 104px; aspect-ratio: 16/9; flex-shrink: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: all .2s; }
.thumbs .thumb.active, .thumbs .thumb:hover { opacity: 1; border-color: var(--accent); }
.thumbs .thumb > * { width: 100%; height: 100%; object-fit: cover; }
.video { margin-top: 28px; }
.video h3 { margin-bottom: 12px; }

.prose { color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 22px; margin: 28px 0 10px; letter-spacing: -.02em; }
.prose > h2:first-child, .product-details .prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); font-size: 17px; margin: 22px 0 8px; }
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 12px; }
.prose li { margin-bottom: 4px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-soft); }
.prose img { border-radius: 10px; margin: 12px 0; }

/* ===== Kori ===== */
.cart-item .thumb, .cart-row .thumb, .result .thumb { width: 72px; aspect-ratio: 16/9; border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.thumb > * { width: 100%; height: 100%; object-fit: cover; }
.thumb .cover-fallback span { font-size: 9px; }

.summary { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.account { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.account strong { color: var(--text); }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 36px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 9px; padding: 0 12px; color: var(--text); font: inherit; font-size: 14px; outline: none; }
.coupon input:focus { border-color: var(--accent); }

.success { text-align: center; max-width: 560px; margin: 20px auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.success .check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: var(--ok); background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.35); }
.success h1 { font-size: 32px; letter-spacing: -.03em; }
.success p { color: var(--text-2); }
.success .hero-cta { justify-content: center; }

/* Tilaus */

/* ===== Haku ===== */
.palette { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); display: flex; justify-content: center; padding: 12vh 16px 16px; }
.palette-box { width: min(600px, 100%); max-height: 70vh; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.8); animation: pop .2s var(--ease); }
.palette-input { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.palette-input input { flex: 1; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 15.5px; }
.palette-results { overflow-y: auto; padding: 6px; }
.result { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 10px; }
.result:hover, .result:focus { background: rgba(255,255,255,.05); outline: none; }
.result > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.result strong { font-weight: 600; font-size: 14.5px; }
.result span { color: var(--muted); font-size: 12.5px; }
.result .price { font-size: 14.5px; }

/* ===== Toast ===== */
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { padding: 10px 16px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line-2); font-size: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.6); animation: pop .25s var(--ease); transition: opacity .3s; max-width: 90vw; }
.toast.err { border-color: rgba(248,113,113,.45); color: #fecaca; }
.toast.ok { border-color: rgba(74,222,128,.45); color: #bbf7d0; }
.toast.out { opacity: 0; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 32px; }
.footer-brand .wordmark { font-size: 22px; }
.footer-brand p { color: var(--muted); margin: 12px 0 18px; font-size: 12.5px; max-width: 300px; line-height: 1.55; }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: all .2s; }
.socials a:hover { color: #fff; border-color: var(--line-3); background: rgba(255,255,255,.05); }
.socials svg { width: 15px; height: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color .2s; width: fit-content; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.footer-bottom a { margin-left: 14px; }
.powered strong { color: var(--text); }

@keyframes pop { from { opacity: 0; transform: translateY(16px); } }

/* ===== Animaatiot ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Mobiili ===== */
@media (max-width: 980px) {
  .split, .faq-wrap, .product, .product-details, .cart-layout, .sub-card { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; max-width: none; }
  .buybox, .summary { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .container { width: min(var(--container), 100% - 32px); }
  .menu-btn { display: flex; }
  #loginBtn span { display: none; }
  #loginBtn { width: 36px; padding: 0; }
  .nav-inner { gap: 8px; justify-content: space-between; padding: 0 8px 0 14px; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease); }
  .nav-links a { height: 44px; font-size: 15.5px; }
  .mega { display: none; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-cta .btn { flex: 1; }
  .section { padding: 72px 0; }
  .section + .section { padding-top: 24px; }
  .grid, .why { grid-template-columns: 1fr; }
  .stat strong { font-size: 24px; }
  .toolbar-right { width: 100%; }
  .toolbar-right .input { flex: 1; min-width: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom a { margin-left: 0; margin-right: 14px; }
}
