.seo-page {
  --paper: #f0eeea;
  --ink: #111315;
  --muted: #53575b;
  --line: #d1cdc5;
  --blue: #66baf0;
  --rust: #ad3d0f;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Montserrat, sans-serif;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.seo-page *, .seo-page *::before, .seo-page *::after { box-sizing: border-box; }
.seo-page img { display: block; max-width: 100%; }
.seo-page a { color: #8f340d; text-underline-offset: .19em; }
.seo-page a:focus-visible { outline: 3px solid #2183be; outline-offset: 4px; }
.seo-page h1, .seo-page h2 { font-family: Oswald, sans-serif; line-height: 1.08; margin: 0; }
.seo-shell { width: min(calc(100% - 40px), 1200px); margin-inline: auto; }
.seo-top { background: #101214; color: white; border-bottom: 1px solid #32383c; }
.seo-top .seo-shell { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; min-height: 74px; padding-block: 10px; }
.seo-top nav, .seo-footer .seo-shell { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.seo-top a, .seo-footer a { color: white; font-size: .85rem; }
.seo-brand { display: flex; gap: 12px; align-items: center; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.seo-brand img { width: 42px; height: 42px; object-fit: contain; }
.rauta-article .header { position: sticky; background: #0b0b0cf5; color: #fff; }
.rauta-article .header a { color: inherit; }
.rauta-article .header .event-link { color: var(--blue); }
.rauta-article .article-language-space { visibility: hidden; }

@media (max-width: 900px) and (scripting: none) {
  .rauta-article .header { position: static; height: auto; }
  .rauta-article .nav-wrap { flex-wrap: wrap; }
  .rauta-article .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
    order: 1;
    width: 100%;
    margin: 0;
    padding: 0 0 12px;
    background: none;
    gap: 0 16px;
  }
  .rauta-article .nav-links a { white-space: normal; }
  .rauta-article .menu-toggle { display: none; }
}
.seo-hero { background: #14191c; color: #fff; }
.seo-hero .seo-shell { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: center; gap: clamp(24px, 4vw, 68px); padding-block: clamp(32px, 7vw, 84px); }
.seo-eyebrow { margin: 0 0 18px; font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.seo-page h1 { font-size: clamp(2.25rem, 5vw, 4.35rem); text-wrap: balance; }
.seo-lead { margin: 22px 0 0; color: #e0e4e7; max-width: 57ch; }
.seo-price { display: block; margin-top: 20px; font-size: 1.28rem; font-weight: 800; color: var(--blue); }
.seo-page .seo-cta { display: inline-block; max-width: 100%; margin-top: 24px; padding: 13px 17px; background: var(--rust); color: #fff; font-weight: 800; text-decoration: none; }
.seo-page .seo-cta:hover { background: #8c300a; }
.seo-page .seo-quicklink { display: inline-block; margin: 18px 0 0 16px; color: #fff; font-size: .9rem; font-weight: 700; }
.seo-hero figure { margin: 0; }
.seo-hero figcaption { margin-top: 9px; font-size: .8rem; color: #e0e4e7; }
.seo-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 4px solid var(--blue); }
.seo-hero img.seo-portrait { aspect-ratio: 16 / 10; object-position: center 34%; }
.seo-crumb { margin: 0; padding-block: 16px; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.seo-copy { padding-bottom: clamp(36px, 8vw, 84px); }
.seo-copy section { border-bottom: 1px solid var(--line); padding-block: clamp(26px, 4vw, 46px); }
.seo-copy h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
.seo-copy h3 { margin: 0; font-size: 1.12rem; }
.seo-copy p, .seo-copy li, .seo-copy dd { max-width: 75ch; }
.seo-copy li + li { margin-top: .5em; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.choice { padding: 20px; background: #fff; border-top: 3px solid var(--rust); display: flex; flex-direction: column; }
.choice p { flex: 1; }
.choice strong { font-family: Oswald, sans-serif; font-size: 1.5rem; }
.seo-hub { --paper: #fff; --line: #e1e6e9; }
.seo-hub .seo-hero { background: radial-gradient(ellipse at 80% 0%, #1a3546, #111719 65%); }
.seo-hub .seo-copy { width: 100%; }
.seo-hub .seo-copy > :not(#kampanjaideat) { width: min(calc(100% - 40px), 1200px); margin-inline: auto; }
.hub-jumps { display: flex; flex-wrap: wrap; gap: 8px 12px; padding-block: 14px 0; }
.seo-page .hub-jumps a {
  padding: 8px 12px; border: 1px solid #cddfea;
  background: #edf6fb; color: #163b52; text-decoration: none; font-weight: 700; font-size: .85rem;
}
.seo-page .hub-jumps a:hover { background: #dceef9; }
#paketit, #toteutuneet-esimerkit { scroll-margin-top: 12px; }
.seo-hub .choice-grid .choice { border: 1px solid #d9e4eb; border-top: 3px solid var(--rust); }
.hub-case-group { margin-top: 28px; }
.seo-copy .hub-case-group h3 {
  border-bottom: 1px solid #d9e4eb; padding-bottom: 7px;
  color: #173b50; font-family: Oswald, sans-serif; font-size: 1.35rem;
}
.hub-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.hub-case-card {
  display: flex; flex-direction: column; border: 1px solid #d9e4eb;
  background: #fff; scroll-margin-top: 12px;
}
.seo-page .hub-case {
  display: flex; flex: 1; flex-direction: column; color: #173b50; text-decoration: none;
}
.hub-case img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hub-case-copy { display: flex; flex: 1; flex-direction: column; padding: 14px 16px; }
.hub-case small { display: block; margin-bottom: 4px; color: #8f340d; font-size: .73rem; font-weight: 700; }
.hub-case-desc { display: block; color: var(--muted); margin: 4px 0 10px; font-size: .84rem; }
.hub-case-watch { color: #173b50; margin-top: auto; font-weight: 700; font-size: .78rem; }
.hub-case:hover strong { text-decoration: underline; }
.hub-case-more { padding: 10px 16px; border-top: 1px solid #d9e4eb; background: #edf6fb; font-size: .85rem; font-weight: 700; }
.seo-page .hub-case-more a { color: #163b52; }
#kampanjaideat {
  padding: clamp(30px, 5vw, 66px) max(20px, calc((100% - 1200px) / 2));
  background: linear-gradient(155deg, #eaf6fe, #f1f8fc 65%, #eaf4fa);
  border-block: 1px solid #d4e6f1;
  scroll-margin-top: 12px;
}
#kampanjaideat h2 { color: #12293a; }
.campaign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block: 24px; }
.campaign { display: flex; flex-direction: column; background: #fff; border: 1px solid #cddfea; }
.campaign-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(16px, 2vw, 22px); }
.campaign-visual { aspect-ratio: 2.6 / 1; overflow: hidden; border-bottom: 3px solid #64b6e5; }
.campaign-visual img { width: 100%; height: 100%; object-fit: cover; }
#hitsaus .campaign-visual img { object-position: 50% 43%; }
#kunnossapito .campaign-visual img { object-position: 50% 59%; }
.campaign-flow {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  padding: 16px clamp(15px, 2.3vw, 27px);
  background: repeating-linear-gradient(135deg, #ffffff0b 0 1px, transparent 1px 16px), #18354a;
  color: #fff;
}
.campaign-flow span { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #a9dafa; }
.campaign-flow strong { font-family: Oswald, sans-serif; font-size: clamp(1.05rem, 2.1vw, 1.65rem); }
.campaign-flow i { color: #a9dafa; font-style: normal; }
.seo-copy .campaign h3 { font-family: Oswald, sans-serif; font-size: 1.35rem; line-height: 1.2; }
.campaign p { margin: 8px 0 12px; }
.campaign p.campaign-idea { margin: 16px 0 0; font-weight: 800; }
.campaign-links { display: grid; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .87rem; }
.answer-list { margin: 20px 0 0; }
.answer-list dt { margin-top: 16px; font-weight: 800; }
.answer-list dd { margin: 3px 0 0; color: var(--muted); }
.seo-footer { background: #14191c; color: #fff; padding-block: 23px; }
.discovery-links { margin: 1.1rem 0; display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }
.discovery-links a, .discovery-product-link { font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.campaign-bridge {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 22px 32px; padding: clamp(20px, 3vw, 42px); margin-top: clamp(24px, 4vw, 50px);
  border: 1px solid #3e6c86; border-inline-start: 4px solid #59afe2;
  background: radial-gradient(ellipse at 95% 0%, #254d64, #142a36 73%);
  color: #fff;
}
.campaign-bridge > div { flex: 1 1 440px; }
.campaign-bridge-label {
  color: #a9dcfb; font-size: .73rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 10px;
}
.campaign-bridge h3 { font-size: clamp(1.65rem, 3vw, 2.7rem); line-height: 1.12; margin: 0; text-wrap: balance; }
.campaign-bridge p { max-width: 60ch; margin: 12px 0 0; color: #e2ebf0; font-size: .95rem; }
.campaign-bridge .campaign-bridge-cta { max-width: 100%; }
.services .campaign-bridge + .service-more { margin-top: 28px; }
.discovery-audience { padding-block: 24px 50px; }
.discovery-audience p { max-width: 78ch; }
.seo-page .seo-skip { position: absolute; top: 0; left: 12px; transform: translateY(-150%); z-index: 10; background: #fff; padding: 8px 12px; }
.seo-page .seo-skip:focus { transform: none; }
.seo-page.hpc-discovery { --rust: #1b4e92; --blue: #91c6ff; --paper: #f0f3f7; }
.hpc-discovery a { color: #1b4e92; }
.hpc-discovery .seo-top a, .hpc-discovery .seo-footer a { color: #fff; }
.hpc-discovery .seo-cta:hover { background: #153c73; }

@media (max-width: 720px) {
  .seo-hero .seo-shell, .choice-grid, .hub-case-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-top .seo-shell { align-items: flex-start; flex-direction: column; }
  .seo-hero img.seo-portrait { aspect-ratio: 16 / 9; }
  .seo-page .seo-quicklink { display: table; margin-left: 0; }
}

@media (max-width: 980px) {
  .campaign-grid, .hub-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .campaign-grid, .hub-case-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-page .hub-case { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); }
  .hub-case img { height: 100%; }
  .hub-case-copy { padding: 10px 12px; }
}
