:root {
  color-scheme: light;
  --canvas: #f8f9f6;
  --surface: #ffffff;
  --ink: #18261f;
  --muted: #4e5f55;
  --green: #17664c;
  --green-dark: #124e3a;
  --mint: #b7e6b5;
  --mint-light: #e9f5eb;
  --stroke: #dce5dd;
  --dark: #16281f;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(80rem, 100% - clamp(2rem, 7vw, 7.5rem));
  --shadow: 0 12px 32px #243b2e0a, 0 3px 8px #243b2e08;
  --raised: 0 18px 36px #243b2e15, 0 4px 10px #243b2e0a;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.58 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.section { margin-block: clamp(3.3rem, 7vw, 6.7rem); }
.skip { position: fixed; z-index: 10; top: .65rem; left: .65rem; transform: translateY(-160%); padding: .7rem 1.1rem; color: #fff; background: var(--green); border-radius: 999px; font-weight: 700; }
.skip:focus { transform: translateY(0); }

.site-header { position: relative; background: var(--canvas); }
.header-inner { min-height: 5.4rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.15rem; }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: .5rem; border-radius: .68rem; }
.brand-mark { display: grid; place-items: center; width: 2.18rem; aspect-ratio: 1; border-radius: 31%; background: var(--ink); color: var(--mint); }
.brand-mark svg { width: 1.8rem; }
.brand strong { font-size: 1.76rem; line-height: 1; font-weight: 850; letter-spacing: -.082em; }
.brand strong span { color: var(--green); }
.primary-nav { display: flex; gap: .35rem; align-items: center; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 2.65rem; padding-inline: .95rem; border-radius: 999px; color: var(--muted); font-size: .94rem; font-weight: 660; white-space: nowrap; transition: color .18s ease, background .18s ease; }
.primary-nav a:is(:hover, [aria-current]) { color: var(--ink); background: var(--mint-light); }
.market-tabs { justify-self: end; display: flex; align-items: center; gap: .12rem; padding: .2rem; background: #eaf0eb; border: 1px solid #e0e8e1; border-radius: 999px; }
.market-tabs a { display: grid; place-items: center; min-width: 2.55rem; min-height: 2.5rem; border-radius: 999px; font-size: .77rem; font-weight: 750; color: var(--muted); transition: color .18s ease, background .18s ease; }
.market-tabs a:hover { color: var(--green-dark); background: #ffffff99; }
.market-tabs a[aria-current] { color: var(--green-dark); background: var(--surface); box-shadow: 0 1px 4px #1d42251e; }

.landing { padding-top: .5rem; }
.hero { min-height: clamp(27rem, 42vw, 38rem); display: grid; grid-template-columns: .9fr 1.1fr; overflow: clip; isolation: isolate; background: var(--dark); color: #fff; border-radius: clamp(1.5rem, 3vw, 2.65rem); box-shadow: var(--shadow); }
.hero-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(2rem, 5.8vw, 6rem); background: radial-gradient(ellipse at 15% 100%, #284d39 0%, transparent 68%); }
.hero h1 { font-size: clamp(3rem, 6.7vw, 6.25rem); line-height: .99; font-weight: 800; letter-spacing: -.056em; word-spacing: .025em; text-wrap: initial; max-width: 9ch; }
.hero h1 span { color: var(--mint); }
html:lang(fi) .hero h1 { font-size: clamp(2.62rem, 5.9vw, 5.7rem); }
.hero p { color: #e2eae3; max-width: 32ch; margin-top: 1.3rem; font-size: clamp(1rem, 1.42vw, 1.17rem); }
.hero .button { margin-top: 1.65rem; color: #153321; background: var(--mint); }
.hero .button:hover { background: #d2f4cf; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }
.hero-visual { position: relative; background: #dce8de; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3rem; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: 999px; white-space: normal; font-size: .9rem; line-height: 1.27; font-weight: 750; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.button svg, .back-link svg, .purpose-arrow svg, .utility-card > svg, .model-list svg, .seller-note a svg { width: 1.16rem; flex: 0 0 1.16rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-subtle { color: var(--green-dark); border-color: var(--stroke); background: var(--surface); }
.button-subtle:hover { color: var(--green-dark); border-color: #b1cfb9; background: var(--mint-light); }

.section-title { margin-bottom: clamp(1.15rem, 2.5vw, 2rem); }
.section-title h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.058em; font-weight: 810; }
.section-title p, .page-intro p { margin-top: .55rem; color: var(--muted); max-width: 62ch; }
.split-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.4rem); }
.purpose-card { position: relative; display: grid; align-content: start; background: var(--surface); border: 1px solid var(--stroke); border-radius: 1.45rem; min-height: 13.2rem; padding: clamp(1.2rem, 2.6vw, 2rem); transition: border-color .2s ease, box-shadow .2s ease; }
.purpose-card:is(:hover, :focus-visible) { border-color: #b2cbb7; box-shadow: var(--shadow); }
.purpose-icon { display: grid; place-items: center; width: 2.85rem; aspect-ratio: 1; border-radius: 1rem; color: var(--green-dark); background: #e3efe2; }
.purpose-icon svg { width: 1.48rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.purpose-running .purpose-icon, .purpose-icon.purpose-running { color: #455aa5; background: #e9edfb; }
.purpose-walking .purpose-icon, .purpose-icon.purpose-walking { color: #725525; background: #f4ebd9; }
.purpose-card strong { margin-top: .85rem; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.034em; }
.purpose-copy { display: block; color: var(--muted); margin-top: .38rem; font-size: .93rem; max-width: 32ch; padding-right: 1.1rem; }
.purpose-arrow { position: absolute; top: 1.5rem; right: 1.45rem; display: grid; place-items: center; color: var(--green); width: 2rem; aspect-ratio: 1; border-radius: 100%; transition: background .2s ease; }
.purpose-card:hover .purpose-arrow { background: var(--mint-light); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.4vw, 1.55rem); }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--stroke); border-radius: 1.55rem; background: var(--surface); box-shadow: var(--shadow); overflow: clip; transition: border-color .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .product-card:hover { box-shadow: var(--raised); border-color: #c0d2c3; } }
.card-media { position: relative; }
.product-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1.22; background: #eef3ee; overflow: clip; }
.product-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; padding: .85rem; }
.category-badge { display: inline-flex; min-height: 1.85rem; align-items: center; padding: .13rem .62rem; border-radius: 999px; background: #e8f2e8; color: var(--green-dark); font-size: .73rem; line-height: 1.2; font-weight: 700; }
.card-media .category-badge { position: absolute; top: .75rem; left: .75rem; background: #fffffff2; box-shadow: 0 1px 4px #1d42251a; pointer-events: none; }
.photo-placeholder { display: grid; justify-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; }
.photo-placeholder svg { width: 2.35rem; color: var(--green); }
.product-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(.9rem, 1.8vw, 1.4rem); }
.product-brand { color: var(--green-dark); font-size: .78rem; font-weight: 750; }
.product-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; justify-content: space-between; }
.product-card--text .product-copy { padding: clamp(1rem, 2.2vw, 1.65rem); }
.product-card--text h3 { margin-top: .8rem; }
.product-copy h3 { margin-top: .24rem; font-size: clamp(1.07rem, 2vw, 1.43rem); line-height: 1.18; letter-spacing: -.035em; font-weight: 780; overflow-wrap: anywhere; }
.product-copy h3 a:hover { color: var(--green); }
.card-summary { margin-top: .55rem; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: auto; padding-top: 1rem; }
.card-amazon { justify-content: space-between; width: 100%; min-height: 2.85rem; color: #174d38; border-color: #cee0d3; background: #eef7ef; }
.card-amazon:hover { color: #fff; border-color: var(--green); background: var(--green); }
.commission { color: var(--muted); font-size: .75rem; }
.product-price { margin-top: .5rem; font-weight: 770; }
.price-notes { max-width: 65ch; color: var(--muted); font-size: .78rem; margin-top: .85rem; }
.price-notes:target { outline: 2px solid var(--green); outline-offset: .35rem; border-radius: .2rem; }
.empty-state { padding: .9rem 1.12rem; border: 1px solid var(--stroke); border-radius: 1rem; color: var(--muted); background: var(--surface); }

.model-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.2rem; padding: 0; margin: 0; list-style: none; }
.model-list a { display: grid; grid-template-columns: minmax(5.2rem, .58fr) minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: .75rem .9rem; border: 1px solid var(--stroke); border-radius: .85rem; background: var(--surface); transition: background .18s ease, border .18s ease; }
.model-list a:hover { border-color: #b7cdbb; background: var(--mint-light); }
.model-list a span { color: var(--muted); font-size: .79rem; }
.model-list a strong { line-height: 1.32; font-size: .96rem; overflow-wrap: anywhere; }
.model-list svg { color: var(--green); }
.utility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: clamp(3.3rem, 7vw, 6.5rem); }
.utility-card { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: clamp(1.3rem, 3vw, 2.2rem); border: 1px solid #d7e7da; border-radius: 1.5rem; background: #eaf4eb; transition: background .2s ease; }
.utility-card:hover { background: #deeee0; }
.utility-card h2, .inline-advice h2 { font-size: 1.24rem; line-height: 1.18; font-weight: 770; letter-spacing: -.03em; }
.utility-card p, .inline-advice p { margin-top: .35rem; color: var(--muted); font-size: .9rem; }
.utility-card > svg { color: var(--green-dark); }

.inner-page { min-height: 51vh; padding-block: clamp(2.4rem, 5.6vw, 5.6rem); }
.page-intro { margin-bottom: 1.65rem; }
.page-intro h1, .detail-copy h1 { font-size: clamp(2.5rem, 6.1vw, 5rem); line-height: 1.04; letter-spacing: -.052em; word-spacing: .012em; font-weight: 800; overflow-wrap: anywhere; }
.page-intro p { font-size: clamp(1rem, 1.4vw, 1.14rem); }
.category-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.category-tabs a { display: inline-flex; align-items: center; min-height: 2.65rem; padding: .25rem .95rem; border-radius: 999px; border: 1px solid var(--stroke); color: var(--muted); background: var(--surface); font-size: .89rem; font-weight: 700; transition: background .18s ease, color .18s ease; }
.category-tabs a:hover { color: var(--green-dark); background: var(--mint-light); }
.category-tabs a[aria-current] { color: #fff; background: var(--green); border-color: var(--green); }
.inline-advice { display: flex; align-items: start; gap: .9rem; margin-top: 1.65rem; padding: 1.15rem; border: 1px solid var(--stroke); border-radius: 1rem; width: min(100%, 45rem); background: var(--surface); }
.inline-advice .purpose-icon { flex: 0 0 auto; }
.catalog-page .references { margin-bottom: 0; }

.model-page .section:last-child { margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: .48rem; color: var(--green-dark); font-size: .89rem; font-weight: 720; min-height: 2.7rem; margin-bottom: 1.15rem; }
.back-link:hover { color: var(--ink); }
.back-link svg { transform: rotate(180deg); }
.detail-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: clamp(1.2rem, 5vw, 4.8rem); }
.detail-visual { overflow: clip; border: 1px solid var(--stroke); border-radius: clamp(1.35rem, 3vw, 2.3rem); box-shadow: var(--shadow); }
.detail-visual .product-visual { aspect-ratio: 1.15; }
.detail-visual img { padding: clamp(.8rem, 4vw, 2.5rem); }
.detail-copy { padding-top: clamp(0rem, 2vw, 1.4rem); }
.detail-grid--text .detail-copy { padding-top: 0; }
.detail-purchase-note { align-self: center; }
.detail-purchase-note .seller-note { margin-top: 0; }
.model-meta { display: flex; gap: .72rem; align-items: center; flex-wrap: wrap; margin-bottom: .62rem; }
.model-meta .product-brand { font-size: .91rem; }
.detail-description { margin-top: .9rem; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.17rem); max-width: 47ch; }
.delivery-verified { margin-top: 1.3rem; color: var(--green-dark); display: flex; align-items: center; gap: .45rem; font-weight: 680; font-size: .84rem; }
.delivery-verified svg { width: 1.13rem; flex: 0 0 1.13rem; fill: none; stroke: currentColor; stroke-width: 1.75; }
.detail-action { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.2rem; }
.detail-action:empty { display: none; }
.detail-price { margin-top: .85rem; font-size: 1.37rem; font-weight: 760; }
.seller-note { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--stroke); }
.seller-note h2 { font-size: 1.05rem; font-weight: 750; }
.seller-note p { margin-top: .3rem; color: var(--muted); font-size: .89rem; max-width: 49ch; }
.seller-note a { display: inline-flex; gap: .4rem; align-items: center; color: var(--green-dark); margin-top: .45rem; min-height: 2.35rem; font-size: .88rem; font-weight: 720; }
.seller-note a:hover { color: var(--ink); }
.detail-tip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.55rem; padding: .95rem 1rem; background: var(--mint-light); color: var(--green-dark); border: 1px solid var(--stroke); border-radius: 1rem; font-size: .91rem; font-weight: 740; transition: background .18s ease; }
.detail-tip:hover { background: #deeee0; }
.detail-tip svg { width: 1.16rem; flex: 0 0 1.16rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.article-body { display: grid; gap: .75rem; margin-block: 1.35rem; width: min(100%, 49rem); }
.article-body section, .credits-list li { padding: 1.1rem 1.3rem; border: 1px solid var(--stroke); border-radius: 1.1rem; background: var(--surface); }
.article-body h2 { font-size: 1.25rem; line-height: 1.2; font-weight: 770; letter-spacing: -.025em; }
.article-body p { color: var(--muted); margin-top: .3rem; }
.credits-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.credits-list a { color: var(--green-dark); border-radius: .2rem; font-weight: 690; }
.credits-list a:hover { color: var(--ink); background: var(--mint-light); }

.site-footer { background: var(--dark); color: #f4f9f4; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 1.65rem; padding-block: clamp(2.4rem, 5vw, 4rem); }
.footer-brand .brand-mark { background: var(--mint); color: var(--dark); }
.footer-brand .brand strong span { color: var(--mint); }
.footer-brand p { color: #d0ddd1; margin-top: .85rem; max-width: 27ch; font-size: .92rem; }
.footer-links { display: grid; align-content: start; justify-items: start; gap: .32rem; }
.footer-links p { margin-bottom: .38rem; font-weight: 745; font-size: .92rem; }
.footer-links a { display: inline-flex; align-items: center; color: #d0ddd1; min-height: 2rem; border-radius: .3rem; font-size: .85rem; transition: color .18s ease; }
.footer-links a:is(:hover, [aria-current]) { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .35rem 1.25rem; color: #d0ddd1; border-top: 1px solid #3f5548; padding-block: 1.05rem; }
.footer-bottom small, .footer-bottom p { font-size: .79rem; }

@media (max-width: 790px) {
  .header-inner { gap: .55rem 1rem; grid-template-columns: 1fr auto; padding-block: .75rem .45rem; }
  .market-tabs { grid-area: 1 / 2; }
  .primary-nav { grid-column: 1 / -1; }
  .primary-nav a { padding-inline: .8rem; min-height: 2.45rem; font-size: .89rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: clamp(1.6rem, 6vw, 3rem); }
  .hero h1 { max-width: 11ch; font-size: clamp(2.9rem, 10vw, 5.2rem); }
  html:lang(fi) .hero h1 { font-size: clamp(2.58rem, 8.7vw, 4.65rem); }
  .hero p { margin-top: 1rem; }
  .hero .button { margin-top: 1.1rem; }
  .hero-visual { aspect-ratio: 1.62; }
  .purpose-card { min-height: auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { gap: 1.35rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .brand { gap: .38rem; }
  .brand-mark { width: 1.93rem; }
  .brand-mark svg { width: 1.6rem; }
  .brand strong { font-size: 1.58rem; }
  .market-tabs a { min-width: 2.32rem; min-height: 2.4rem; }
  .detail-grid, .purpose-grid, .model-list, .utility-grid { grid-template-columns: 1fr; }
  .purpose-card { padding: 1rem 3.1rem .95rem 4.1rem; }
  .purpose-card .purpose-icon { position: absolute; top: .95rem; left: .92rem; width: 2.5rem; }
  .purpose-card strong { margin-top: 0; }
  .purpose-copy { padding-right: 0; }
  .purpose-arrow { top: .9rem; right: .65rem; }
  .detail-copy { padding-top: 0; }
  .detail-action .button { width: 100%; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
