/* Tuohin site styles.

   Layout:
   1. Shared base. Structure and type only. Colours come from tokens.
   2. THEME: Yövuoro v2. Every colour token the base needs, plus the rules only it draws.
   3. Print and forced colours.

   The bright accents are decorative on light surfaces; text there uses the -ink variants. Bands (.is-dark) read their colours from the --band-* tokens, and the call
   to action and footer switch to the --deep-* set. */

@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/familjen-grotesk-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/familjen-grotesk-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Shared tokens. Colour tokens live in the theme blocks at the end of the file. */

:root {
  --accent: var(--mint);
  --accent-ink: var(--green);
  --accent-hi: var(--mint-hi);
  --focus: var(--green);

  --font: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: clamp(0.875rem, 0.84rem + 0.15vw, 0.95rem);
  --step-0: clamp(1.0625rem, 1.01rem + 0.22vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  --step-3: clamp(2.05rem, 1.4rem + 2.6vw, 3.3rem);
  --step-4: clamp(2.2rem, 1.35rem + 3.7vw, 4.25rem);
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: clamp(3.5rem, 7vw, 6rem);
  --page: 72rem;
  --measure: 42rem;
  --pad: clamp(1.15rem, 4vw, 2.4rem);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  hyphens: manual;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-3);
  max-width: 18em;
  margin-bottom: var(--space-4);
}

h2 {
  font-size: var(--step-2);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: var(--step-1);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

p,
li,
dd {
  max-width: var(--measure);
}

a {
  color: var(--accent-ink);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--pad);
  top: var(--space-3);
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  text-decoration: none;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
}

#sisalto:focus {
  outline: none;
}

.wrap {
  width: min(var(--page), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

/* Bands: header, hero, page intro, call to action, footer */

.cta-band,
.site-footer {
  --band-bg: var(--deep-bg);
  --band-text: var(--deep-text);
  --band-head: var(--deep-head);
  --band-muted: var(--deep-muted);
  --band-line: var(--deep-line);
  --band-link: var(--deep-link);
  --band-focus: var(--deep-link);
  --band-chip: var(--deep-chip);
  --band-art: var(--deep-art);
  --btn-bg: var(--deep-btn-bg);
  --btn-hover: var(--deep-btn-hover);
  --btn-text: var(--deep-btn-text);
  --ghost-line: var(--deep-ghost-line);
  --ghost-hover: var(--deep-ghost-hover);
  --ghost-hover-line: var(--deep-link);
  --ghost-text: var(--deep-text);
  --ghost-hover-text: var(--deep-head);
}

.is-dark {
  --accent-ink: var(--band-link);
  --focus: var(--band-focus);
  background-color: var(--band-bg);
  color: var(--band-text);
}

.grid-bg {
  background-image: var(--band-art);
}

.is-dark h1,
.is-dark h2,
.is-dark h3 {
  color: var(--band-head);
}

.is-dark a:not(.button) {
  color: var(--band-link);
}

.muted {
  color: var(--muted);
}

.is-dark .muted,
.is-dark .meta-line {
  color: var(--band-muted);
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--band-line);
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "mark"
    "tools"
    "nav";
  gap: 0.25rem var(--space-4);
  align-items: center;
  padding-block: var(--space-2);
}

.wordmark {
  grid-area: mark;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
  min-height: 44px;
  align-self: center;
  padding-top: 0.45rem;
  color: var(--band-head);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.is-dark a.wordmark {
  color: var(--band-head);
}

.wordmark-cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.14em;
  background: var(--cursor);
  animation: blink 1.4s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.nav {
  grid-area: nav;
}

.nav ul,
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a,
.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.is-dark .nav a {
  color: var(--band-text);
}

.is-dark .nav a:hover {
  color: var(--band-link);
}

.is-dark .nav a[aria-current="page"] {
  color: var(--band-link);
  box-shadow: inset 0 -2px 0 var(--band-link);
}

.header-tools {
  grid-area: tools;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.lang-switch {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.lang-switch span[aria-current="true"] {
  color: var(--band-muted);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.button:visited {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.button:hover {
  background: var(--btn-hover);
  color: var(--btn-text);
  transform: translateY(-1px);
}

.button-small {
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

.button-ghost,
.button-ghost:visited {
  background: transparent;
  border-color: var(--ghost-line);
  color: var(--ghost-text);
}

.button-ghost:hover {
  background: var(--ghost-hover);
  border-color: var(--ghost-hover-line);
  color: var(--ghost-hover-text);
}

.arrow::after {
  content: "→";
  font-family: var(--mono);
}

/* Tuohi lines: three lines, the last one shorter. Each theme draws them. */

.bark {
  display: flex;
  flex-direction: column;
}

.bark span {
  display: block;
  border-radius: 2px;
}

.bark span:nth-child(2) {
  width: 86%;
}

.bark span:last-child {
  width: 62%;
}

/* Eyebrows, tags, chips */

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  hyphens: manual;
}

.chips-head {
  margin-top: var(--space-4);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.4;
  hyphens: manual;
}

.is-dark .chips li {
  border-color: var(--band-line);
  background: var(--band-chip);
  color: var(--band-text);
}

/* Hero */

.hero {
  padding-block: clamp(3rem, 8vw, 6.5rem) 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.hero h1 {
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 13em;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.45;
  max-width: 36rem;
  margin-bottom: var(--space-4);
}

.is-dark .lede {
  color: var(--band-text);
}

.meta-line {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
}

.meta-line-spaced {
  margin-top: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  align-items: center;
  margin-bottom: 0;
}

/* Hero panel: the services at a glance. A plain card in Tuohi, a small console in Yövuoro. */

.panel {
  margin: 0;
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  background: var(--panel-bg);
  color: var(--panel-text);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}


.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--panel-muted);
}

.panel .panel-title {
  margin: 0;
  color: var(--panel-muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.offers {
  margin: 0;
  padding: 0 0 0.4rem;
  list-style: none;
}

.offers li {
  max-width: none;
  border-top: 1px var(--panel-line-style) var(--panel-line);
}

.offers a,
.is-dark .offers a:not(.button) {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) auto;
  gap: 0.1rem 0.85rem;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  color: var(--panel-text);
  text-decoration: none;
}

.offers a::before {
  content: "";
  grid-row: 1 / span 2;
  width: 1.1rem;
  height: 3px;
  border-radius: 2px;
  background: var(--panel-mark);
}

.offers li:nth-child(3n + 2) a::before {
  width: 0.7rem;
}

.offers li:nth-child(3n) a::before {
  width: 0.9rem;
  background: var(--peel, var(--panel-mark));
}

.offers a::after {
  content: "→";
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--band-link);
  font-family: var(--mono);
  transition: transform 0.15s ease;
}

.offer-name {
  font-weight: 600;
  line-height: 1.3;
}

.offer-note {
  grid-column: 2;
  color: var(--panel-muted);
  font-size: var(--step--1);
  line-height: 1.4;
}

.offers a:hover .offer-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.offers a:hover::after {
  transform: translateX(3px);
}

.offers a:focus-visible {
  outline-offset: -3px;
}

/* Facts strip */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--band-line);
  list-style: none;
}

.stats li {
  max-width: none;
}

.stats li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.stats strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--band-hi-1);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats li:nth-child(2) strong {
  color: var(--band-hi-2);
}

.stats li:nth-child(3) strong {
  color: var(--band-hi-3);
}

.stats li:nth-child(4) strong {
  color: var(--band-hi-4);
}

.stats span {
  display: block;
  color: var(--band-muted);
  font-size: var(--step--1);
  line-height: 1.45;
}

/* Inner page intro */

.page-intro {
  padding-block: var(--space-3) clamp(3rem, 7vw, 5rem);
}

.page-intro,
.hero {
  box-shadow: inset 0 -1px 0 var(--band-edge);
}

.crumbs {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.crumbs a,
.is-dark .crumbs a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--band-muted);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  max-width: none;
}

.crumbs li[aria-current="page"] {
  color: var(--band-text);
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 1.25rem;
  color: var(--band-hi-1);
}

/* Sections */

.section {
  padding-block: var(--space-6);
}

.section + .section {
  padding-top: 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-alt + .section,
.section + .section-alt {
  padding-top: var(--space-6);
}

.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-5);
}

.section-head h2 {
  margin-bottom: var(--space-3);
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.45;
  margin-bottom: 0;
}

.more {
  margin: var(--space-4) 0 0;
  font-weight: 600;
}

/* Accent families */

.c-mint {
  --accent: var(--mint);
  --accent-ink: var(--green);
  --accent-hi: var(--mint-hi);
}

.c-cyan {
  --accent: var(--cyan);
  --accent-ink: var(--cyan-ink);
  --accent-hi: var(--cyan-hi);
}

.c-violet {
  --accent: var(--violet);
  --accent-ink: var(--violet-ink);
  --accent-hi: var(--violet-hi);
}

.c-amber {
  --accent: var(--amber);
  --accent-ink: var(--amber-ink);
  --accent-hi: var(--amber-hi);
}

.c-coral {
  --accent: var(--coral);
  --accent-ink: var(--coral-ink);
  --accent-hi: var(--coral-hi);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: none;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.section-alt .card {
  background: var(--bg);
  box-shadow: none;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
}

.card h3 {
  margin-bottom: var(--space-2);
}

.card p {
  margin-bottom: 0;
}

.card p + p,
.card p + .check-list,
.card .check-list + p {
  margin-top: var(--space-2);
}

.card .num,
.card .tag {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  hyphens: manual;
}

.card-link h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card-link h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.card-link h3 a:focus-visible {
  outline: none;
}

.card-link:has(h3 a:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.card-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 2px 4px rgba(29, 38, 34, 0.06), 0 18px 40px rgba(29, 38, 34, 0.1);
}

.card-link .go {
  margin-top: auto;
  padding-top: var(--space-3);
  color: var(--accent-ink);
  font-weight: 600;
}

.card-link .go::after {
  content: " →";
  font-family: var(--mono);
}

/* Lists */

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
}

.check-list li + li {
  margin-top: 0.45rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.42em;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.card .check-list {
  font-size: var(--step--1);
  margin-top: var(--space-3);
}

.check-grid {
  display: grid;
  gap: 0.6rem 2rem;
}

/* Value list */

.values {
  display: grid;
  gap: var(--space-4) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.values li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 1rem;
  max-width: none;
}

.values .icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--chip-bg);
  color: var(--accent-hi);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.values h3 {
  margin-bottom: 0.35rem;
}

.values p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

/* Steps */

.steps {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  max-width: none;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: var(--space-3);
  border-radius: 50%;
  background: var(--chip-bg);
  color: var(--mint-hi);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.steps li:nth-child(2)::before {
  color: var(--cyan-hi);
}

.steps li:nth-child(3)::before {
  color: var(--violet-hi);
}

.steps li:nth-child(4)::before {
  color: var(--amber-hi);
}

.steps h3 {
  margin-bottom: var(--space-2);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Compare */

.compare {
  display: grid;
  gap: 1.25rem;
}

/* Prose */

.prose h2 {
  margin-top: var(--space-5);
}

.prose > :first-child,
.prose h2:first-child,
.prose .eyebrow + h2 {
  margin-top: 0;
}

.prose p + p,
.prose ul,
.prose ol {
  margin-top: 0.75rem;
}

.prose ul:not(.check-list):not(.chips),
.prose ol {
  padding-left: 1.2rem;
}

.prose li {
  margin-top: 0.4rem;
}

.split {
  display: grid;
  gap: var(--space-5);
}

.note-box {
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.note-box h2,
.note-box h3 {
  font-size: var(--step-1);
}

.note-box p:last-child {
  margin-bottom: 0;
}

/* About */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 var(--space-4);
}

.facts div {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.facts dt {
  font-weight: 600;
}

.facts dd {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: var(--step--1);
}

.portrait-slot {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: min(100%, 20rem);
  aspect-ratio: 4 / 5;
  padding: var(--space-3);
  border-radius: var(--radius);
  background-color: var(--deep-bg);
  background-image: var(--deep-art);
  overflow: hidden;
}

.portrait-slot p {
  margin: 0;
  color: var(--deep-text);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.about-grid {
  display: grid;
  gap: var(--space-5);
}

/* Contact */

.contact-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.contact-cards h2 {
  font-size: var(--step-1);
}

.phone {
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  hyphens: manual;
  white-space: nowrap;
}

.phone a {
  color: var(--ink);
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list article {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-list h2 {
  font-size: var(--step-1);
  margin-bottom: var(--space-2);
}

.faq-list p {
  margin: 0;
  color: var(--muted);
}

/* Call to action */

.cta-band {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.cta-inner {
  display: grid;
  gap: var(--space-4);
}

.cta-band h2 {
  font-size: var(--step-3);
  max-width: 15em;
}

.cta-band p {
  max-width: 38rem;
  color: var(--band-text);
  font-size: var(--step-1);
  line-height: 1.45;
}

.cta-band .actions {
  font-size: var(--step-0);
}

.cta-band .bark {
  max-width: 14rem;
  margin-bottom: var(--space-4);
}

/* Footer */

.site-footer {
  padding-block: var(--space-5);
  border-top: 1px solid var(--band-line);
  font-size: var(--step--1);
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
}

.site-footer address,
.site-footer p {
  margin-bottom: 0.7rem;
  color: var(--band-muted);
  font-style: normal;
}

.site-footer a:not(.button) {
  color: var(--band-text);
}

.site-footer a:not(.button):hover {
  color: var(--band-link);
}

.footer-heading {
  margin-bottom: var(--space-2);
  color: var(--band-muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

ul.footer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.legal-name {
  font-size: var(--step-0);
  font-weight: 600;
}

.site-footer .legal-name {
  color: var(--band-head);
}

.site-footer .bark {
  max-width: 10rem;
  margin-bottom: var(--space-4);
}

.footer-legal {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
}

/* Wider screens */

@media (min-width: 40rem) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .check-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }

  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 48rem) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    background: var(--band-glass);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
  }

  .header-bar {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "mark nav tools";
  }

  .nav {
    justify-self: center;
  }

  .header-tools {
    justify-content: flex-end;
  }

  .steps {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }

  .about-grid {
    grid-template-columns: 20rem 1fr;
    align-items: start;
  }

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

  .cta-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }

  .cta-inner .actions {
    justify-content: flex-end;
  }

  .split {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  }
}

/* ==========================================================================
   THEME: Yövuoro v2
   Night spruce bands, a mist reading ground and aurora accents. No grid: the bands carry
   only two soft aurora glows. A pixel koivu stands on the dark band, and a blinking mint
   cursor follows the wordmark in the header. The three signal lines, eyebrow marks, card
   edges and console dots are birch lenticel dashes in the aurora colours.
   Contrast on night #0B1714: text 15.6, muted 8.8, mint 11.2, cyan 10.7, violet 8.6, amber 10.4.
   Night on mint buttons 11.2. Panel #122520: text 13.7, muted 7.7.
   Contrast on mist #F3F5F2: ink 16.3, muted 7.2, green 5.7, violet-ink 6.2, amber-ink 5.6,
   cyan-ink 6.2, coral-ink 5.5. On white surface: muted 7.9.
   ========================================================================== */

:root {
  --night: #0b1714;
  --night-line: rgba(230, 239, 235, 0.12);
  --on-night: #e6efeb;
  --on-night-muted: #a3b8b0;

  --bg: #f3f5f2;
  --surface: #ffffff;
  --ink: #0e1a17;
  --muted: #43554e;
  --line: #d9e0da;
  --green: #0b6e4f;
  --violet-ink: #5a43c9;
  --amber-ink: #8a5600;
  --cyan-ink: #0a6474;
  --coral-ink: #b03c1f;

  --mint: #4fe3a6;
  --cyan: #5cd6e8;
  --violet: #b3a6ff;
  --amber: #f6b94a;
  --coral: #ff9475;
  --mint-hi: var(--mint);
  --cyan-hi: var(--cyan);
  --violet-hi: var(--violet);
  --amber-hi: var(--amber);
  --coral-hi: var(--coral);
  --peel: var(--coral);

  --band-bg: var(--night);
  --band-text: var(--on-night);
  --band-head: #fff;
  --band-muted: var(--on-night-muted);
  --band-line: var(--night-line);
  --band-link: var(--mint);
  --band-focus: var(--mint);
  --band-hi-1: var(--mint);
  --band-hi-2: var(--cyan);
  --band-hi-3: var(--violet);
  --band-hi-4: var(--amber);
  --band-chip: rgba(230, 239, 235, 0.04);
  --band-glass: rgba(11, 23, 20, 0.92);
  --band-edge: transparent;
  --band-art:
    radial-gradient(ellipse 60% 70% at 85% 0%, rgba(92, 214, 232, 0.11), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(179, 166, 255, 0.08), transparent 70%);
  --btn-bg: var(--mint);
  --btn-hover: #7debbf;
  --btn-text: var(--night);
  --ghost-line: rgba(230, 239, 235, 0.35);
  --ghost-hover: rgba(230, 239, 235, 0.08);
  --ghost-hover-line: var(--mint);
  --ghost-text: var(--on-night);
  --ghost-hover-text: #fff;

  --deep-bg: var(--night);
  --deep-text: var(--on-night);
  --deep-head: #fff;
  --deep-muted: var(--on-night-muted);
  --deep-line: var(--night-line);
  --deep-link: var(--mint);
  --deep-chip: rgba(230, 239, 235, 0.04);
  --deep-art: var(--band-art);
  --deep-btn-bg: var(--mint);
  --deep-btn-hover: #7debbf;
  --deep-btn-text: var(--night);
  --deep-ghost-line: rgba(230, 239, 235, 0.35);
  --deep-ghost-hover: rgba(230, 239, 235, 0.08);

  --panel-bg: rgba(18, 37, 32, 0.88);
  --panel-text: var(--on-night);
  --panel-muted: var(--on-night-muted);
  --panel-line: var(--night-line);
  --panel-line-style: dashed;
  --panel-mark: var(--mint);
  --panel-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --chip-bg: var(--night);
  --cursor: var(--mint);

  --shadow: 0 1px 2px rgba(14, 26, 23, 0.05), 0 10px 30px rgba(14, 26, 23, 0.07);
}

:root .bark {
  gap: 4px;
}

:root .bark span {
  height: 2px;
  color: var(--mint);
  background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 38%, currentColor 38% 71%, transparent 71% 74%, currentColor 74%);
}

:root .bark span:nth-child(2) {
  color: var(--cyan);
}

:root .bark span:last-child {
  color: var(--violet);
}

:root .eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  margin-right: 0.6rem;
  border-radius: 2px;
  vertical-align: 0.3em;
  background: currentColor;
}

:root .accent {
  color: var(--mint);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  :root .accent {
    background: linear-gradient(90deg, var(--mint), var(--cyan) 55%, var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

:root .panel-bar {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--panel-line);
}

:root .panel-bar i {
  display: block;
  width: 0.9rem;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
}

:root .panel-bar i:nth-child(2) {
  width: 0.55rem;
  background: var(--amber);
}

:root .panel-bar i:nth-child(3) {
  width: 0.75rem;
  background: var(--mint);
  margin-right: 0.5rem;
}

:root .panel-file {
  display: inline;
}

:root .panel .panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:root .offers li:first-child {
  border-top: 0;
}

:root .card::before {
  background: linear-gradient(90deg, var(--accent) 0 1.5rem, transparent 1.5rem 1.85rem, var(--accent) 1.85rem 5rem, transparent 5rem 5.35rem, var(--accent) 5.35rem 6.25rem, transparent 6.25rem);
}

:root .portrait-slot {
  background-image: radial-gradient(ellipse at 70% 20%, rgba(92, 214, 232, 0.22), transparent 60%);
}

/* Pixel koivu (assets/img/koivu.svg, a 36 x 48 pixel grid drawn at whole-number scales).
   It stands on the bottom edge of the dark band: at the right end of the facts strip on the
   home page, at the right of the page intro everywhere else. Space is reserved for it, so it
   never covers text. Decorative, CSS only. */

:root {
  --koivu-w: 72px;
  --koivu-h: 96px;
  --koivu-home-w: 72px;
  --koivu-home-h: 96px;
}

:root .stats,
:root .page-intro {
  position: relative;
}

:root .stats::after,
:root .page-intro::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: var(--koivu-w);
  height: var(--koivu-h);
  /* A border image, not a background, so Chrome never reports the tree as the LCP element. */
  border-image: url("/assets/img/koivu.svg") 0 fill;
  pointer-events: none;
}

:root .stats::after {
  right: 0;
  width: var(--koivu-home-w);
  height: var(--koivu-home-h);
}

:root .stats li:last-child {
  padding-right: calc(var(--koivu-home-w) + 1rem);
}

:root .page-intro::after {
  right: max(var(--pad), calc((100% - var(--page)) / 2));
}

:root .page-intro {
  padding-bottom: calc(var(--koivu-h) + 1.25rem);
}

@media (min-width: 40rem) {
  :root {
    --koivu-w: 108px;
    --koivu-h: 144px;
    --koivu-home-w: 108px;
    --koivu-home-h: 144px;
  }

  :root .stats {
    padding-right: calc(var(--koivu-home-w) + 1.5rem);
  }

  :root .stats li:last-child {
    padding-right: 0;
  }
}

@media (min-width: 62rem) {
  :root {
    --koivu-w: 216px;
    --koivu-h: 288px;
    --koivu-home-w: 144px;
    --koivu-home-h: 192px;
  }

  :root .page-intro {
    padding-bottom: clamp(3rem, 7vw, 5rem);
  }

  :root .page-intro header {
    max-width: calc(100% - var(--koivu-w) - 2rem);
  }
}

@media print, (forced-colors: active) {
  :root .stats::after,
  :root .page-intro::after {
    display: none;
  }
}

/* ========================== end of block ========================== */

/* Print and forced colours */

@media print {
  .skip-link,
  .header-tools,
  .nav,
  .cta-band,
  .bark,
  .panel,
  .wordmark-cursor {
    display: none;
  }

  html,
  body,
  .is-dark,
  .section-alt,
  .card,
  .steps li,
  .faq-list article {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  .is-dark h1,
  .is-dark h2,
  .is-dark h3,
  .accent {
    background: none !important;
    color: #000 !important;
    -webkit-text-fill-color: #000;
  }

  .site-header {
    position: static;
  }

  a {
    color: #000 !important;
    text-decoration: none;
  }

  a[href^="http"]::after,
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}

@media (forced-colors: active) {
  .button,
  .card,
  .steps li,
  .faq-list article,
  .panel {
    border: 1px solid CanvasText;
  }

  .accent {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: CanvasText !important;
  }

  .bark span,
  .card::before,
  .offers a::before,
  .eyebrow::before,
  .wordmark-cursor {
    background: CanvasText !important;
  }
}
