/* Slowroll Consulting Oy – verkkosivut. Karkkimainen ilme kuten Lexo-sovelluksessa. */
:root {
  --candy-start: #ff5fa2;
  --candy-mid: #ff7a6b;
  --candy-end: #ff9f43;
  --text: #2a1b3d;
  --muted: #7a6a8c;
  --surface: #ffffff;
  --bg-top: #fff0f6;
  --bg-bottom: #fff7ee;
  --stable: #12b76a;
  --card-shadow: 0 10px 30px rgba(176, 58, 94, 0.12);
  --candy: linear-gradient(135deg, var(--candy-start), var(--candy-mid) 50%, var(--candy-end));
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f6eefc;
    --muted: #b8a9c9;
    --surface: #2a2036;
    --bg-top: #1c1426;
    --bg-bottom: #221a2c;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--candy-start); font-weight: 700; }
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header.top a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 900; }
header.top img { width: 36px; height: 36px; border-radius: 10px; }
nav.lang a { font-size: 14px; color: var(--muted); text-decoration: none; margin-left: 12px; }
nav.lang a[aria-current="true"] { color: var(--candy-start); }

.hero { text-align: center; padding: 48px 0 24px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; box-shadow: var(--card-shadow); }
.hero h1 {
  font-size: clamp(44px, 10vw, 72px); margin: 16px 0 4px; font-weight: 900; letter-spacing: -2px;
  background: var(--candy); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.tagline { font-size: 20px; font-weight: 800; margin: 0; }
.hero p.sub { color: var(--muted); font-weight: 700; margin: 8px 0 0; }
.badge {
  display: inline-block; margin-top: 20px; padding: 10px 18px; border-radius: 999px;
  background: var(--candy); color: #fff; font-weight: 800; box-shadow: 0 6px 0 #d9477f33;
}

.card { background: var(--surface); border-radius: 24px; box-shadow: var(--card-shadow); padding: 20px; margin: 16px 0; }
.features { display: grid; gap: 14px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; background: #ff7a6b22;
}
.feature h3 { margin: 0; font-size: 17px; font-weight: 900; }
.feature p { margin: 2px 0 0; color: var(--muted); font-weight: 600; }

article h1 { font-size: 32px; font-weight: 900; margin: 24px 0 4px; }
article h2 { font-size: 20px; font-weight: 900; margin: 28px 0 8px; }
article p, article li { font-weight: 500; }
article .updated { color: var(--muted); font-weight: 700; }

footer { margin-top: 40px; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
footer a { color: var(--muted); }

h2.section { font-size: 20px; font-weight: 900; margin: 0 0 8px; }
