@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/dm-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/manrope.woff2") format("woff2");
}

:root {
  --ink: #0d2654;
  --ink-soft: #40506c;
  --paper: #f6f5ef;
  --paper-deep: #e9efe8;
  --white: #fffdfa;
  --mist: #dfe9e4;
  --sea: #2d7130;
  --sea-bright: #3b8440;
  --signal: #d2a557;
  --line: rgb(13 38 84 / 17%);
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

nav a,
footer a {
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 253 248 / 55%);
}

.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
}

.language-option[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.language-option:focus-visible,
nav a:focus-visible,
footer a:focus-visible {
  outline: 3px solid rgb(45 113 48 / 45%);
  outline-offset: 4px;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 8vw, 130px);
  max-width: 1320px;
  min-height: 700px;
  margin: 0 auto;
  padding: 72px 42px 110px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--sea);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  line-height: 1.06;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(54px, 7.1vw, 104px);
  font-weight: 650;
  letter-spacing: -0.065em;
}

h1 em {
  color: var(--sea-bright);
  font-style: normal;
}

.hero-lead {
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms, background 160ms, color 160ms;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgb(45 113 48 / 45%);
  outline-offset: 4px;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--sea);
}

.button-secondary {
  border-color: var(--line);
  background: rgb(255 253 248 / 55%);
}

.hero-signal {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fbfcf6 0, var(--mist) 52%, #c7d9c8 100%);
}

.signal-label {
  position: absolute;
  top: 13%;
  left: 50%;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.signal-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(45 113 48 / 32%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-orbit-large {
  width: 68%;
  height: 68%;
}

.signal-orbit-small {
  width: 43%;
  height: 43%;
}

.signal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 98px;
  height: 98px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 18px 55px rgb(13 38 84 / 16%);
  transform: translate(-50%, -50%);
}

.signal-core img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.signal-note {
  position: absolute;
  padding: 7px 12px;
  border: 1px solid rgb(13 38 84 / 12%);
  border-radius: 999px;
  background: rgb(255 253 248 / 85%);
  box-shadow: 0 10px 30px rgb(13 38 84 / 8%);
  font-size: 12px;
  font-weight: 750;
}

.signal-note-one {
  top: 31%;
  left: 10%;
}

.signal-note-two {
  right: 6%;
  bottom: 36%;
}

.signal-note-three {
  bottom: 13%;
  left: 34%;
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-strip span {
  padding: 22px 30px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.promise-strip span + span {
  border-left: 1px solid var(--line);
}

.outcomes {
  max-width: 1320px;
  margin: 0 auto;
  padding: 130px 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  align-items: start;
  gap: 48px;
  margin-bottom: 70px;
}

.section-heading h2,
.municipal h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.outcome-card {
  min-height: 340px;
  padding: 34px 34px 40px 0;
}

.outcome-card + .outcome-card {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.outcome-card > span {
  color: var(--sea-bright);
  font-size: 12px;
  font-weight: 850;
}

.outcome-card h3 {
  margin: 108px 0 18px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.outcome-card p {
  max-width: 340px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.municipal {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(70px, 11vw, 180px);
  padding: 130px max(42px, calc(50vw - 618px));
  background: var(--paper-deep);
}

.municipal-mark {
  display: grid;
  aspect-ratio: 1;
  place-content: center;
  gap: clamp(9px, 1.3vw, 18px);
  padding: clamp(32px, 5vw, 70px);
  border: 1px solid rgb(13 38 84 / 20%);
  border-radius: 2px 48%;
  background: var(--white);
  text-align: center;
  transform: rotate(-3deg);
}

.municipal-mark > span {
  color: var(--sea);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.municipal-name {
  display: block;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 90px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.municipal-mark > .municipal-connector {
  font-size: clamp(20px, 2.3vw, 32px);
}

.municipal-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 30px 0 38px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.65;
}

.municipal ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.municipal li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 750;
}

.municipal li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  content: "";
}

.closing {
  display: grid;
  justify-items: center;
  padding: 150px 42px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.closing .eyebrow {
  color: #9bc79d;
}

.closing h2 {
  max-width: 900px;
}

.closing > p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px 0 36px;
  color: #c6cfdf;
  font-size: 18px;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

footer {
  background: #081d42;
  color: #e7efef;
  font-size: 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(250px, 1.1fr) minmax(250px, 1fr);
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
  padding: 52px max(42px, calc(50vw - 618px));
}

.footer-family {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px max(42px, calc(50vw - 618px));
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.footer-family-link {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--sea);
}

.footer-family-logo {
  display: block;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

footer p {
  margin: 0;
  color: #aebbd1;
  text-align: left;
}

.footer-brand-column,
.footer-contact-card,
.footer-person {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
}

.footer-brand-column {
  gap: 16px;
}

.footer-contact-card,
.footer-person {
  padding-left: clamp(24px, 4vw, 52px);
  border-left: 1px solid rgb(231 239 239 / 18%);
}

.footer-heading {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-company-name,
.footer-person-name {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.footer-address {
  display: grid;
  color: #aebbd1;
  font-style: normal;
  line-height: 1.65;
}

.footer-contact-link {
  color: #dce6f3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-settings {
  appearance: none;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #dce6f3;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-settings:hover,
.footer-settings:focus-visible {
  color: var(--white);
}

.footer-settings:focus-visible {
  outline: 3px solid rgb(45 113 48 / 55%);
  outline-offset: 4px;
}

.footer-business-id {
  width: 100%;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgb(231 239 239 / 14%);
}

.footer-role {
  margin-bottom: 6px;
  color: #aebbd1;
}

.footer-contact-row strong,
.footer-business-id strong {
  color: #e7efef;
}

.brand-footer {
  color: var(--white);
}

.brand-mark-frame {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--white);
}

.brand-footer .brand-mark {
  width: 28px;
  height: 28px;
}

.cookie-banner {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 100;
  width: min(calc(100% - 32px), 440px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(255 253 250 / 96%);
  box-shadow: 0 24px 70px rgb(13 38 84 / 22%);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.cookie-text {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cookie-button {
  min-height: 44px;
  appearance: none;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 70px;
  }

  .hero-signal {
    width: min(86vw, 520px);
  }

  .section-heading,
  .municipal {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 8px;
  }

  .municipal-mark {
    width: min(100%, 520px);
    justify-self: center;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
    padding-bottom: 24px;
    border-bottom: 1px solid rgb(231 239 239 / 18%);
  }

  .footer-contact-card {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .outcomes {
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-header {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  nav > a {
    display: none;
  }

  nav {
    gap: 10px;
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 76px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .promise-strip,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .promise-strip span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .outcomes,
  .municipal,
  .closing {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .outcome-card {
    min-height: 0;
    padding: 28px 0 38px;
  }

  .outcome-card + .outcome-card {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .outcome-card h3 {
    margin-top: 46px;
  }

  .municipal {
    padding-right: 22px;
    padding-left: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 32px 22px;
  }

  .footer-family {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 28px 22px;
  }

  .footer-family-link {
    justify-content: space-between;
    gap: 16px;
  }

  .footer-brand-column {
    grid-column: auto;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .footer-contact-card,
  .footer-person {
    width: 100%;
    padding: 24px 0 0;
    border-top: 1px solid rgb(231 239 239 / 18%);
    border-left: 0;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 20px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* Long Finnish words must shrink inside the grid, including at 360px. */
.hero > * { min-width: 0; }
.hero h1 { overflow-wrap: anywhere; hyphens: auto; font-size: clamp(40px, 5.2vw, 76px); }
.hero-actions { min-width: 0; }
.hero-actions .button { white-space: normal; text-align: center; }
.use-case { max-width: 1000px; margin: auto; padding: 48px 42px 88px; }
.use-case h1 { font-size: clamp(38px, 5.5vw, 68px); overflow-wrap: anywhere; hyphens: auto; }
.use-case h2 { font-size: clamp(26px, 3vw, 36px); }
.use-case p { max-width: 72ch; line-height: 1.65; }
.use-case section { margin-top: 40px; }
.use-case-steps { margin-block: 40px; padding-left: 28px; }
.use-case-steps li { padding-left: 10px; margin-block: 32px; }
.use-case-breadcrumb { margin-bottom: 36px; font-size: 14px; }
.use-case-breadcrumb a { color: inherit; }
.use-case-cta { padding: 28px; border: 1px solid var(--line); border-radius: 14px; }
.use-case-links { padding-block: 36px 72px; }
@media (max-width:680px) { .hero { grid-template-columns: minmax(0,1fr); } .use-case { padding-inline:22px; } .hero h1 { font-size:clamp(36px,10vw,56px); } }
