:root {
  --ink: #171714;
  --ink-soft: #353532;
  --paper: #fffefa;
  --white: #ffffff;
  --mist: #f4f3ee;
  --line: #deddd5;
  --muted: #686861;
  --gold: #f7b900;
  --gold-dark: #8a6500;
  --gold-soft: #fff3bf;
  --radius: 1.25rem;
  --shadow: 0 1.5rem 4rem rgba(23, 23, 20, 0.09);
  --shell: 74rem;
}

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

html { scroll-padding-top: 6.5rem; }

[id] { scroll-margin-top: 6.5rem; }

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

:focus-visible {
  outline: 0.2rem solid var(--gold);
  outline-offset: 0.2rem;
  border-radius: 0.25rem;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.5rem;
}

.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shell { width: min(calc(100% - 2.5rem), var(--shell)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(2.8rem, 8vw, 6.6rem); font-weight: 650; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.15rem, 4.8vw, 4.5rem); font-weight: 620; }
h3 { font-size: 1.55rem; font-weight: 650; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span { width: 1.8rem; height: 0.16rem; background: var(--gold); }
.eyebrow-light { color: #e5e4df; }
.lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.82rem 1.35rem;
  border: 0.1rem solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover { transform: translateY(-0.12rem); }
.button-gold { color: var(--ink); background: var(--gold); }
.button-gold:hover { background: #e6ab00; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #2b2b27; }
.button-quiet { border-color: var(--line); background: rgba(255, 255, 255, 0.72); }
.button-quiet:hover { border-color: var(--ink); }
.button-small { min-height: 2.75rem; padding: 0.65rem 1.05rem; font-size: 0.82rem; }
.button-full { width: 100%; }
.button-muted { cursor: not-allowed; opacity: 0.62; }
.button-muted { background: #e6e5df; border-color: #d3d2ca; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.14rem;
}

.text-link:hover { text-decoration-color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: #171714;
  border-bottom: 1px solid #353532;
  isolation: isolate;
}

.header-inner { display: flex; min-height: 4.9rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; width: clamp(11.5rem, 18vw, 14rem); height: 3.4rem; flex: 0 0 auto; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }

.main-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.6rem); }
.main-nav > a:not(.button):not(.google-play-badge-link) { color: #e4e3de; font-size: 0.82rem; font-weight: 650; text-decoration: none; }
.main-nav > a:not(.button):not(.google-play-badge-link):hover, .main-nav > a[aria-current="page"] { color: var(--gold); }
.nav-products { position: relative; display: flex; align-items: center; gap: 0.12rem; }
.nav-products > a { color: #e4e3de; font-size: 0.82rem; font-weight: 650; text-decoration: none; }
.nav-products > a:hover, .nav-products > a[aria-current="page"] { color: var(--gold); }
.nav-products-toggle { display: grid; width: 1.75rem; height: 1.75rem; place-items: center; padding: 0; color: #e4e3de; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.nav-products-toggle[aria-expanded="true"] { color: var(--gold); }
.nav-products-chevron { display: block; width: 0.875rem; height: 0.875rem; transition: transform 160ms ease; }
.nav-products-toggle[aria-expanded="true"] .nav-products-chevron { transform: rotate(180deg); }
.products-submenu { position: absolute; z-index: 20; top: 100%; left: -0.85rem; min-width: 11rem; padding: 0.55rem; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 0.75rem; box-shadow: 0 0.75rem 1.75rem rgba(23, 23, 20, 0.1); }
.products-submenu[hidden] { display: none; }
.products-submenu a { display: block; padding: 0.7rem 0.8rem; color: var(--ink-soft); font-size: 0.86rem; font-weight: 650; text-decoration: none; border-radius: 0.45rem; }
.products-submenu a:hover, .products-submenu a:focus-visible { color: var(--ink); background: var(--paper); box-shadow: inset 0.16rem 0 0 var(--gold); }
.main-nav .nav-cta { color: var(--ink); background: var(--gold); }
.google-play-badge-link { display: inline-flex; width: 11rem; max-width: 100%; flex: 0 0 auto; align-items: center; text-decoration: none; }
.google-play-badge-link--header { width: 8.4rem; }
.google-play-badge { width: 100%; height: auto; }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.hero::before { content: ""; position: absolute; z-index: 3; top: 0; right: 0; width: 31%; height: 0.3rem; background: var(--gold); }
.hero::after { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 28%, rgba(255, 254, 250, 0.28) 49%, rgba(255, 254, 250, 0.78) 68%, rgba(255, 254, 250, 0.92) 100%); }
.hero-grid { position: relative; z-index: 1; display: flex; min-height: clamp(38rem, calc(100svh - 4.9rem), 48rem); align-items: center; padding-top: 3.25rem; padding-bottom: 3.25rem; }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 52rem; }
.hero-copy h1 { max-width: 52rem; font-size: clamp(3.4rem, 5vw, 6rem); line-height: 0.98; }
.hero-line { display: block; }
.hero-line-keep { white-space: nowrap; }
.hero-copy h1 em { color: var(--gold-dark); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-lead { max-width: 34rem; margin-bottom: 2rem; color: var(--ink-soft); font-size: clamp(1.12rem, 2vw, 1.35rem); }
.hero-media { position: absolute; z-index: 1; top: min(0px, calc(50% - min(22.5vw, 24rem))); right: calc((100vw - 100%) / -2); width: min(60vw, 64rem); aspect-ratio: 1448 / 1086; overflow: hidden; transform: none; background: #dfe8ec; border-radius: 1rem 0 0 1rem; }
.hero-media::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 254, 250, 0.97) 5%, rgba(255, 254, 250, 0.82) 11%, rgba(255, 254, 250, 0.48) 17%, rgba(255, 254, 250, 0.14) 23%, transparent 30%); }
.hero-media img { width: 100%; height: 100%; object-fit: contain; }
/* Services */
.services { background: var(--mist); }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.6fr); align-items: end; gap: 2rem; margin-bottom: 3rem; }
.split-heading h2 { max-width: 47rem; margin-bottom: 0; }
.split-heading > p { max-width: 29rem; margin-bottom: 0.7rem; color: var(--muted); }
.home-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.home-product-card { display: flex; min-width: 0; min-height: 22rem; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.35rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.home-product-card h3 { margin-bottom: 1rem; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.home-product-card > p:not(.product-theme-label) { color: var(--muted); }
.home-product-card > .text-link { margin-top: auto; }
.home-calculator-callout { position: relative; display: flex; align-items: baseline; justify-content: center; gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(2.25rem, 4vw, 3.25rem); padding-top: clamp(1.35rem, 2.5vw, 1.75rem); border-top: 1px solid var(--line); }
.home-calculator-callout p { max-width: 41rem; margin: 0; color: var(--ink); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.35; }
.home-calculator-callout .text-link { flex: none; color: var(--gold-dark); font-size: 1rem; }
.home-product-card-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.home-product-card-dark > p:not(.product-theme-label) { color: #c6c5be; }
.home-product-card-dark .product-theme-label, .home-product-card-dark .text-link { color: var(--gold); }
.product-theme-heading { margin-bottom: 1.5rem; }
.product-theme-label { margin: 0 0 0.45rem; color: var(--gold-dark); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.14em; line-height: 1; text-transform: uppercase; }
.product-theme-heading h3 { margin-bottom: 0; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }

.product-card {
  position: relative;
  display: flex;
  grid-column: span 6;
  min-height: 38rem;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-card-head { display: flex; min-height: 2rem; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.product-card-head::before { content: ""; width: 2.5rem; height: 0.18rem; flex: 0 0 auto; background: var(--gold); }
.product-type { color: var(--muted); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.product-card-head .product-type { margin-right: auto; }
.product-card h4 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.product-card > p { max-width: 34rem; color: var(--muted); }
.product-card > .product-ingress { margin-bottom: 0.65rem; color: var(--ink-soft); font-size: 1.05rem; font-weight: 750; }
.product-card-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  grid-template-areas:
    "head purchase"
    "title purchase"
    "ingress purchase"
    "description purchase"
    "features purchase";
  min-height: auto;
  align-items: start;
  column-gap: clamp(3rem, 8vw, 8rem);
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}
.product-card-featured > .product-card-head { grid-area: head; }
.product-card-featured > h4 { grid-area: title; }
.product-card-featured > .product-ingress { grid-area: ingress; }
.product-card-featured > p:not(.product-ingress) { grid-area: description; }
.product-card-featured > .check-list { grid-area: features; max-width: 34rem; margin-bottom: 0; }
.product-card-purchase {
  display: flex;
  grid-area: purchase;
  align-self: stretch;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: clamp(2rem, 5vw, 5rem);
  border-left: 1px solid #42423d;
}
.product-card-purchase .price-block { width: 100%; }
.product-card-featured .product-type,
.product-card-featured > p,
.product-card-featured .check-list li,
.product-card-featured .price-block span,
.product-card-featured .price-block small { color: #cecdc6; }
.product-card-featured > .product-ingress { color: var(--white); }
.product-card-featured .price-block { border-color: #42423d; }
.product-card-featured .check-list li::before { color: var(--gold); }
.product-card-featured .text-link { color: var(--white); text-decoration-color: var(--gold); }
.product-card-featured .text-link:hover { color: var(--gold); text-decoration-color: var(--gold); }
.check-list { display: grid; gap: 0.6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.55rem; color: var(--ink-soft); font-size: 0.9rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 850; }
.price-block { margin-top: auto; margin-bottom: 1.35rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.price-block p { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 0; }
.price-block strong { font-size: 2rem; letter-spacing: -0.05em; }
.price-block span, .price-block small { color: var(--muted); }
.price-block small { display: block; }
.coming-badge { display: inline-flex; width: max-content; padding: 0.25rem 0.55rem; border-radius: 999px; font-size: 0.62rem; font-weight: 850; letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase; }

/* Principles */
.principles { color: var(--white); background: #1b1b18; }
.principles-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(22rem, 1.2fr); gap: clamp(2rem, 8vw, 8rem); }
.principles h2 { margin-bottom: 0; }
.principle-list { display: grid; }
.principle-list article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid #40403a; }
.principle-list article:last-child { border-bottom: 1px solid #40403a; }
.principle-list > article > span { color: var(--gold); font-size: 0.72rem; font-weight: 850; }
.principle-list h3 { margin-bottom: 0.45rem; font-size: 1.3rem; }
.principle-list p { margin-bottom: 0; color: #bdbcb5; }

/* CV / Työ-teeman tuote */
.cv-section { background: var(--white); }
.cv-grid { display: grid; grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.cv-preview { display: grid; min-height: 31rem; margin: 0; place-items: center; padding: clamp(1.5rem, 5vw, 3rem); overflow: hidden; background: var(--mist); border-radius: var(--radius); perspective: 75rem; }
.cv-preview.cv-preview-standalone { min-height: 0; padding: 0; overflow: visible; background: transparent; border-radius: 0; perspective: none; }
.cv-preview-standalone > img { display: block; width: 100%; max-width: 100%; height: auto; }
.cv-document-stack { position: relative; width: min(100%, 30rem); aspect-ratio: 0.88; }
.cv-document-frame { position: absolute; width: 68%; overflow: hidden; background: var(--white); box-shadow: 0 1.4rem 3.2rem rgba(23, 23, 20, 0.18); transform-origin: center; }
.cv-document-frame-word { top: 0; left: 0; transform: rotateY(-1deg) rotateZ(3deg); }
.cv-document-frame-canva { right: 0; bottom: 0; z-index: 1; box-shadow: 0 2rem 4rem rgba(23, 23, 20, 0.24); transform: rotateY(-3deg) rotateZ(-1.5deg); }
.cv-document-frame img { display: block; width: 100%; height: auto; }
.cv-copy > .product-type { display: inline-flex; margin-bottom: 0.8rem; }
.cv-copy h4 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cv-copy .lead { max-width: 38rem; }
.cv-features { display: grid; gap: 1rem; margin: 2rem 0 0; }
.cv-features > div { display: grid; grid-template-columns: 2rem 1fr; gap: 0.8rem; }
.cv-features > div > span { display: grid; width: 1.6rem; height: 1.6rem; place-items: center; color: var(--ink); background: var(--gold); border-radius: 50%; font-size: 0.7rem; font-weight: 900; }
.cv-features p { margin-bottom: 0; }.cv-features small { display: block; color: var(--muted); }
.coming-products { display: grid; margin: 1.5rem 0 0; background: var(--mist); border-radius: 0.8rem; }
.coming-product { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; }
.coming-product + .coming-product { border-top: 1px solid var(--line); }
.coming-product > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; }
.coming-product > strong { flex: 0 0 auto; }
.coming-product .coming-badge { color: var(--muted); background: var(--white); border: 1px solid var(--line); }
.cv-template-selection { margin-top: clamp(4.5rem, 9vw, 8rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.cv-template-selection-heading { max-width: 43rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.cv-template-selection-heading h3 { margin-bottom: 0.85rem; font-size: clamp(1.9rem, 3.8vw, 3.25rem); }
.cv-template-selection-heading p { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.application-template-selection { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.cv-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.cv-template-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 1rem 2.5rem rgba(23, 23, 20, 0.06); }
.cv-template-preview { display: grid; grid-template-rows: minmax(0, 1fr); aspect-ratio: 4 / 5; margin: 0; overflow: hidden; place-items: center; padding: 0; background: transparent; border-bottom: 1px solid var(--line); }
.cv-template-preview > img { width: 100%; max-width: 100%; height: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 0.9rem 2rem rgba(23, 23, 20, 0.16); }
.cv-template-preview-carousel { position: relative; grid-template-rows: minmax(0, 1fr); gap: 0; }
.cv-template-carousel-viewport { position: relative; display: grid; width: 100%; height: 100%; min-height: 0; place-items: center; touch-action: pan-y; }
.cv-template-carousel-slide { position: absolute; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 0.9rem 2rem rgba(23, 23, 20, 0.16); user-select: none; -webkit-user-drag: none; }
.cv-template-carousel-slide[hidden] { display: none; }
.cv-template-carousel-dots { position: absolute; bottom: 0.5rem; left: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.1rem; padding: 0 0.2rem; background: rgba(255, 254, 250, 0.9); border: 1px solid rgba(23, 23, 20, 0.12); border-radius: 999px; box-shadow: 0 0.2rem 0.7rem rgba(23, 23, 20, 0.12); transform: translateX(-50%); }
.cv-template-carousel-dot { display: grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; cursor: pointer; background: transparent; border: 0; border-radius: 50%; }
.cv-template-carousel-dot::before { width: 0.55rem; height: 0.55rem; content: ""; background: #a7a69f; border-radius: 50%; }
.cv-template-carousel-dot.is-active::before { background: var(--gold); }
.cv-template-carousel-arrow { position: absolute; top: 50%; z-index: 1; display: none; width: 2.5rem; height: 2.5rem; padding: 0; place-items: center; cursor: pointer; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0.35rem 1rem rgba(23, 23, 20, 0.12); transform: translateY(-50%); }
.cv-template-carousel-arrow span { font-size: 1.65rem; line-height: 1; transform: translateY(-0.08rem); }
.cv-template-carousel-arrow-previous { left: 0.4rem; }
.cv-template-carousel-arrow-next { right: 0.4rem; }
.cv-template-carousel-arrow:disabled { cursor: default; opacity: 0.35; }
.cv-template-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.35rem; }
.cv-template-meta { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1rem; }
.cv-template-meta > span { padding: 0.3rem 0.6rem; color: var(--ink-soft); background: var(--gold-soft); border-radius: 999px; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.cv-template-meta > strong { flex: 0 0 auto; font-size: 1.05rem; }
.cv-template-card h4 { margin: 0 0 0.65rem; font-size: 1.35rem; line-height: 1.15; }
.cv-template-card-body > p { margin-bottom: 1.1rem; color: var(--muted); font-size: 0.88rem; }
.cv-template-cta { width: 100%; }
.cv-template-cta:disabled { pointer-events: none; transform: none; }
.job-search-package-card { grid-column: 1 / -1; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-inline: clamp(2rem, 4vw, 3.5rem); }
.job-search-package-card .product-story-copy { max-width: 46rem; }
.job-search-package-card .product-offer { margin-top: clamp(2rem, 4vw, 3rem); }
.job-search-package-card .price-block { padding-top: 1rem; }
.job-search-package-card .cv-template-cta { width: auto; }

/* FAQ */
.faq-section { background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1fr); align-items: start; gap: clamp(2.5rem, 8vw, 8rem); }
.faq-intro { position: sticky; top: 7rem; }.faq-intro p:not(.eyebrow) { color: var(--muted); }
.faq-list { display: grid; gap: 2.75rem; }
.faq-group { border-top: 1px solid #c9c8c0; }
.faq-group > h3 { margin: 0; padding: 1.25rem 0 0.4rem; color: var(--gold-dark); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; }
.faq-list details { border-bottom: 1px solid #c9c8c0; }
.faq-list summary { position: relative; padding: 1.5rem 3rem 1.5rem 0; cursor: pointer; font-size: 1.05rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 50%; right: 0.35rem; width: 1rem; height: 0.12rem; background: var(--ink); transition: transform 160ms ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details[open] summary { color: var(--gold-dark); }
.faq-list details > p { max-width: 46rem; margin: -0.35rem 3rem 1.5rem 0; color: var(--muted); }
.faq-list details > p a { color: var(--ink); font-weight: 700; text-decoration-color: var(--gold); }
.faq-ending { padding: 2rem; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.faq-ending h3 { margin-bottom: 0.7rem; }
.faq-ending p { color: #c6c5be; }
.faq-ending .text-link { color: var(--white); }
.faq-ending .response-note { margin: 1rem 0 0; color: #92928b; font-size: 0.78rem; }

/* Footer */
.site-footer { color: #d7d6cf; background: #11110f; }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr; gap: 3rem; padding-top: 4.5rem; padding-bottom: 3.5rem; }
.footer-brand img { width: 14rem; height: 4.5rem; margin-bottom: 1.25rem; object-fit: cover; object-position: center 49%; }.footer-brand p { max-width: 26rem; color: #9e9d96; }
.footer-brand .footer-description { margin-bottom: 0; }
.footer-brand .footer-disclaimer { margin: 0.65rem 0 0; color: #898881; font-size: 0.75rem; line-height: 1.55; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; }
.site-footer nav h2 { margin-bottom: 0.4rem; color: var(--white); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer nav a { color: #aaa9a2; font-size: 0.88rem; text-decoration: none; }.site-footer nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; border-top: 1px solid #343430; color: #77776f; font-size: 0.75rem; }
.footer-bottom p { margin: 0; }

/* Inner pages */
.page-hero { padding: clamp(4rem, 10vw, 8rem) 0 3.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 52rem; font-size: clamp(2.7rem, 7vw, 5.7rem); }
.page-hero p:not(.eyebrow) { max-width: 45rem; color: var(--muted); font-size: 1.15rem; }

/* Vinkit */
.tips-hero { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6.5rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.tips-hero::after { content: ""; position: absolute; top: 0; right: 0; width: 31%; height: 0.3rem; background: var(--gold); }
.tips-hero-inner { max-width: var(--shell); }
.tips-hero h1 { max-width: 60rem; margin-bottom: 1.5rem; font-size: clamp(2.8rem, 6.5vw, 5.8rem); overflow-wrap: anywhere; }
.tips-hero .lead { max-width: 43rem; margin-bottom: 0; }
.tips-index { background: var(--mist); }
.tips-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.tip-card { position: relative; display: flex; min-height: clamp(19rem, 30vw, 24rem); flex-direction: column; align-items: flex-start; padding: clamp(1.6rem, 4vw, 3rem); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tip-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 4.5rem; height: 0.22rem; background: var(--gold); }
.tip-card-savings { background: var(--ink); border-color: var(--ink); }
.tip-card-savings h2, .tip-card-savings .text-link { color: var(--white); }
.tip-card-savings > p:not(.product-theme-label) { color: #c6c5be; }
.tip-card-savings .product-theme-label, .tip-card-savings .text-link { color: var(--gold); }
.tip-card h2 { max-width: 52rem; margin-bottom: 1.25rem; font-size: clamp(1.8rem, 3.6vw, 3.3rem); overflow-wrap: anywhere; }
.tip-card > p:not(.product-theme-label) { max-width: 50rem; color: var(--muted); }
.tip-card > .text-link { margin-top: auto; }
.article-hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); background: var(--mist); border-bottom: 1px solid var(--line); }
.article-shell { max-width: 51rem; }
.article-hero h1 { margin-bottom: 1.6rem; font-size: clamp(2.55rem, 6vw, 5.1rem); overflow-wrap: anywhere; }
.article-lead { margin-bottom: 0; color: var(--ink-soft); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.65; }
.article-content { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(4.5rem, 10vw, 8rem); }
.article-content > p, .article-content blockquote { color: var(--ink-soft); font-size: clamp(1.02rem, 1.5vw, 1.13rem); }
.article-content > p { margin-bottom: 1.45rem; }
.article-content h2 { margin: clamp(3.5rem, 7vw, 5.5rem) 0 1.4rem; font-size: clamp(2rem, 4vw, 3.25rem); overflow-wrap: anywhere; }
.article-content blockquote { margin: 1.5rem 0 1.8rem; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 0.25rem solid var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 3vw, 1.85rem); font-style: italic; }
.article-callout { position: relative; margin: clamp(3rem, 7vw, 5rem) 0; padding: clamp(1.5rem, 4vw, 2.5rem); overflow: hidden; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.article-callout::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0.28rem; background: var(--gold); }
.article-callout p { color: #d7d6cf; }
.article-callout h2 { margin-top: 0; }
.article-callout p:last-child { margin-bottom: 0; }
.article-highlight, .article-highlight-dark { margin: clamp(3rem, 7vw, 5rem) 0 !important; padding: clamp(1.15rem, 3vw, 1.75rem); color: var(--ink) !important; background: var(--mist); border-left: 0.28rem solid var(--gold-dark); border-radius: 0 0.65rem 0.65rem 0; font-size: clamp(1.25rem, 2.5vw, 1.75rem) !important; font-weight: 750; line-height: 1.35; }
.article-content .article-process { position: relative; margin: clamp(3rem, 7vw, 5rem) 0; padding: clamp(1.35rem, 3vw, 2rem); overflow: hidden; color: var(--white); background: var(--ink); border-radius: var(--radius); font-size: clamp(1.15rem, 2.1vw, 1.5rem); font-weight: 750; line-height: 1.5; }
.article-process::before { position: absolute; inset: 0 auto 0 0; width: 0.28rem; background: var(--gold); content: ""; }
.article-process .process-arrow { color: var(--gold); }
.article-cta { margin: 3.5rem 0 2.5rem; }
.article-cta .button { max-width: 100%; white-space: normal; }
.article-back { margin-top: 0; }

/* Tuotteet */
.product-page-hero { overflow: hidden; background: var(--paper); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr); align-items: end; gap: clamp(2rem, 8vw, 7rem); }
.product-page-hero h1 { margin-bottom: 1rem; }
.theme-nav { display: grid; border-top: 1px solid var(--line); }
.theme-nav a { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 750; text-decoration: none; }
.theme-nav a:hover { color: var(--gold-dark); }
.theme-nav span { color: var(--gold-dark); font-size: 0.7rem; letter-spacing: 0.1em; }
.product-section-heading { display: grid; max-width: 52rem; margin-bottom: clamp(3rem, 8vw, 6rem); }
.product-section-heading h2 { margin-bottom: 1rem; }
.product-section-heading > p:not(.product-theme-label) { max-width: 44rem; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.google-play-badge-link--products { justify-self: start; margin-top: 1.25rem; }
.product-section-money { background: var(--mist); }
.product-story { display: grid; grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); padding: clamp(3rem, 7vw, 6rem) 0; border-top: 1px solid #cecdc5; }
.product-story-copy { min-width: 0; }
.product-story-copy > .product-type { display: inline-flex; margin-bottom: 0.85rem; }
.product-story-copy h3 { margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 4.5rem); }
.product-story-lead { max-width: 35rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.product-story .check-list { max-width: 34rem; }
.product-story-text-only { grid-template-columns: minmax(0, 44rem); justify-content: start; }
.product-story-text-only .product-story-copy { max-width: 44rem; }
.product-story-featured { margin-inline: clamp(-2rem, -3vw, -3.5rem); padding-inline: clamp(2rem, 3vw, 3.5rem); color: var(--white); background: var(--ink); border: 0; border-radius: var(--radius); }
.product-story-featured.product-story-text-only { grid-template-columns: minmax(0, 46rem); }
.product-story-featured .product-type, .product-story-featured .product-story-lead, .product-story-featured .check-list li, .product-story-featured .price-block span, .product-story-featured .price-block small { color: #cecdc6; }
.product-story-featured .check-list li::before { color: var(--gold); }
.product-story-featured .price-block { border-color: #42423d; }
.product-offer { display: grid; width: fit-content; max-width: 100%; grid-template-columns: max-content max-content; align-items: end; gap: 2.5rem; margin-top: 2rem; }
.product-offer .price-block { min-width: 0; margin-bottom: 0; }
.product-offer .price-block p, .product-offer .price-block strong, .product-offer .price-block span, .product-offer .price-block small { white-space: nowrap; }
.product-offer .button { min-width: max-content; white-space: nowrap; }
/* Raha-tuotteiden markkinointikuvat ja Säästö-tuotteen tavoitelaskuri */
.product-story-talous, .product-story-savings { grid-template-columns: minmax(17rem, 27.25rem) minmax(22rem, 40.75rem); align-items: start; gap: 6rem; }
.product-story-talous .product-story-copy, .product-story-savings .product-story-copy { max-width: 27.25rem; }
.product-story-support { display: grid; min-width: 0; gap: 2rem; }
.product-marketing-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; justify-items: stretch; gap: 1.5rem; }
.product-marketing-media { width: min(100%, 25rem); margin: 0; justify-self: center; }
.product-marketing-gallery .product-marketing-media { width: 100%; }
.product-marketing-gallery--talous .product-marketing-media:last-child { width: calc((100% - 1.5rem) / 2); grid-column: 1 / -1; }
.product-marketing-media img { display: block; width: 100%; max-width: 100%; height: auto; }
.product-marketing-caption { margin-top: 0.65rem; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.savings-calculator-card { position: relative; min-width: 0; padding: clamp(1.35rem, 3vw, 2.25rem); overflow: hidden; color: var(--white); background: var(--ink); border: 1px solid #3f3f39; border-radius: var(--radius); box-shadow: 0 1.2rem 3.5rem rgba(23, 23, 20, 0.16); }
.savings-calculator-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 0.28rem; background: var(--gold); }
.savings-calculator-heading { margin-bottom: 1.5rem; }
.savings-calculator-card .product-theme-label { color: var(--gold); }
.savings-calculator-heading h4 { margin: 0 0 0.65rem; color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.035em; }
.savings-calculator-heading > p:last-child { margin-bottom: 0; color: #c8c7c0; }
.savings-calculator-form { display: grid; gap: 1.35rem; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; column-gap: 1rem; row-gap: 1.15rem; }
.savings-calculator-form .form-field { align-content: start; }
.savings-calculator-form .form-field label, .savings-calculator-form .form-field legend { color: #f4f3ee; }
.savings-calculator-form .form-field input { min-width: 0; height: 3.5rem; min-height: 3.5rem; color: var(--white); caret-color: var(--gold); color-scheme: dark; background: #272723; border-color: #5b5a53; }
.savings-calculator-form .form-field input::placeholder { color: #9c9b94; opacity: 1; }
.savings-calculator-form .form-field input:focus, .savings-calculator-form .form-field input:focus-visible { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 0.14rem rgba(247, 185, 0, 0.28); }
.savings-calculator-form .form-field [aria-invalid="true"] { border-color: #f08b7e; box-shadow: 0 0 0 0.1rem rgba(240, 139, 126, 0.45); }
.savings-calculator-form .field-error { color: #ffb5ab; }
.savings-calculator-form .field-error:empty { display: none; }
.calculator-duration-group { grid-column: 1 / -1; }
.calculator-duration-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.calculator-duration-fields .form-field { min-width: 0; }
.calculator-privacy { margin: -0.2rem 0 0; color: #aaa9a2; font-size: 0.76rem; line-height: 1.5; }
.savings-calculator-result[hidden] { display: none; }
.savings-calculator-result { margin-top: 1.4rem; overflow: hidden; color: var(--white); background: #20201d; border: 1px solid #45453f; border-radius: 0.95rem; }
.savings-result-main { padding: clamp(1.4rem, 3vw, 2rem); }
.savings-result-main > p:first-child { margin-bottom: 0.45rem; color: #d8d7d0; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.savings-result-main > strong { display: block; max-width: 100%; margin-bottom: 0.75rem; color: var(--gold); font-size: clamp(2rem, 4.5vw, 3.25rem); font-variant-numeric: tabular-nums; letter-spacing: -0.05em; line-height: 1; overflow-wrap: anywhere; }
.savings-result-main > p:last-child { margin-bottom: 0; color: #c8c7c0; font-size: 0.9rem; }
.savings-result-grid { display: grid; grid-template-columns: 1fr; margin: 0; border-block: 1px solid #42423d; }
.savings-result-grid div { min-width: 0; padding: 1.15rem clamp(1rem, 2.5vw, 1.5rem); }
.savings-result-grid div + div { border-left: 1px solid #42423d; }
.savings-result-grid dt { margin-bottom: 0.3rem; color: #aaa9a2; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.savings-result-grid dd { margin: 0; font-size: clamp(1.3rem, 2.8vw, 1.85rem); font-variant-numeric: tabular-nums; font-weight: 750; letter-spacing: -0.035em; line-height: 1.1; overflow-wrap: anywhere; }
.savings-result-path { padding: 1.25rem clamp(1rem, 2.5vw, 1.5rem); background: #22221e; }
.savings-result-path p { margin-bottom: 0; color: #c8c7c0; font-size: 0.86rem; }
.calculator-noscript { margin: 1.4rem 0 0; padding: 1rem; color: var(--ink); background: var(--gold-soft); border-left: 0.25rem solid var(--gold); }
.product-section-work { background: var(--white); }
.career-story { display: grid; grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.career-story .cv-copy h3 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.product-section-self { color: var(--ink); background: var(--mist); }
.mina-coming { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr); align-items: end; gap: clamp(2rem, 8vw, 8rem); }
.mina-coming h2 { margin-bottom: 0; }
.mina-coming > div:last-child { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.mina-coming h3 { margin-bottom: 0.75rem; color: var(--ink); }
.mina-coming > div:last-child p { margin-bottom: 0; color: var(--muted); }
.support-layout { display: grid; grid-template-columns: minmax(15rem, 0.38fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.support-aside { position: sticky; top: 6.5rem; padding: 1.5rem; background: var(--mist); border-radius: var(--radius); }
.support-aside h2 { font-size: 1.2rem; }.support-aside p { color: var(--muted); font-size: 0.9rem; }
.support-aside a { font-weight: 750; overflow-wrap: anywhere; }
.support-aside hr { margin: 1.5rem 0; border: 0; border-top: 1px solid var(--line); }
.support-mail-note { margin: 1.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.support-main { min-width: 0; }
.support-chooser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.support-choice { display: grid; min-height: 10.5rem; align-content: start; gap: 0.55rem; padding: 1.25rem; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 0.9rem; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.support-choice:hover { border-color: var(--gold-dark); transform: translateY(-0.12rem); }
.support-choice[aria-expanded="true"] { background: var(--gold-soft); border-color: var(--gold-dark); }
.support-choice > span { color: var(--gold-dark); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; }
.support-choice > strong { font-size: 1.02rem; line-height: 1.25; }
.support-choice > small { color: var(--muted); line-height: 1.45; }
.support-forms { display: grid; gap: 2rem; }
.support-chooser + .support-forms { margin-top: 1.5rem; }
.support-form-card { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1rem 3rem rgba(23, 23, 20, 0.05); }
.support-form-card[hidden] { display: none; }
.support-form { display: grid; gap: 1.35rem; }
.support-form h2 { margin-bottom: 0.3rem; font-size: clamp(1.9rem, 4vw, 3rem); }
.form-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.form-number { margin-bottom: 0.6rem; color: var(--gold-dark); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; }
.optional { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.form-field { display: grid; gap: 0.45rem; }
.form-field label, .fieldset-label, legend { font-weight: 750; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #9b9a93;
  border-radius: 0.6rem;
}
.form-field select[data-pointer-focus]:focus-visible { outline: none; }
.form-field textarea { min-height: 10rem; resize: vertical; }
.form-field input[type="file"] { padding: 0.7rem; background: var(--mist); }
.form-field small { color: var(--muted); }
.form-field [aria-invalid="true"] { border-color: #8f261c; box-shadow: 0 0 0 1px #8f261c; }
.field-error { margin: 0; color: #7d1e16; font-size: 0.85rem; font-weight: 700; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.support-form button[type="submit"]:disabled { cursor: wait; opacity: 0.65; }
fieldset { margin: 0; padding: 0; border: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.6rem; }
.radio-option { display: flex; min-width: 7rem; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; background: var(--mist); border: 1px solid var(--line); border-radius: 0.6rem; cursor: pointer; }
.radio-option input { width: 1.1rem; height: 1.1rem; accent-color: var(--gold-dark); }
.rating-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.6rem; }
.rating-row label { cursor: pointer; }
.rating-row input { position: absolute; opacity: 0; pointer-events: none; }
.rating-row span { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; background: var(--mist); border: 1px solid var(--line); border-radius: 50%; font-weight: 750; }
.rating-row input:checked + span { background: var(--gold); border-color: var(--gold-dark); }
.rating-row input:focus-visible + span { outline: 0.2rem solid var(--gold); outline-offset: 0.2rem; }
.form-status { padding: 1rem; background: var(--gold-soft); border-left: 0.25rem solid var(--gold-dark); }
.form-status:empty { display: none; }
.form-status.is-error { color: #651a14; background: #fff0ed; border-left-color: #8f261c; }
.privacy-request-form { display: grid; gap: 1rem; margin: 2rem 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.privacy-request-form h3, .privacy-request-form p { margin: 0; }
.privacy-request-form .button { justify-self: start; }
.integration-note { margin: 0; color: var(--muted); font-size: 0.78rem; }
.attachment-note { margin: 0; padding: 1rem; color: var(--ink-soft); background: var(--mist); border-left: 0.2rem solid var(--gold-dark); font-size: 0.86rem; }
.support-ending { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 1.1rem; }

.legal-shell { max-width: 52rem; }
.draft-banner { margin-bottom: 2.5rem; padding: 1.1rem 1.25rem; background: var(--gold-soft); border: 1px solid #d7a300; border-radius: 0.75rem; }
.draft-banner strong { display: block; }.draft-banner p { margin-bottom: 0; }
.legal-content { display: grid; gap: 2.25rem; }
.legal-content section { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-content h2 { font-size: clamp(1.45rem, 3vw, 2rem); }.legal-content p, .legal-content li { color: var(--muted); }
.todo-copy { padding: 1rem; background: var(--mist); border-left: 0.25rem solid var(--gold-dark); }
.back-link { margin-top: 2rem; }
.not-found { display: grid; min-height: 65vh; place-items: center; text-align: center; }
.not-found-content { max-width: 40rem; }.error-code { display: block; color: var(--gold-dark); font-family: Georgia, serif; font-size: clamp(5rem, 18vw, 12rem); font-style: italic; line-height: 0.85; }

@media (min-width: 100rem) and (max-width: 127.999rem) {
  .hero-media { right: calc((100vw - 100%) / -2 - min(2rem, calc(50vw - 50rem), calc(12.8rem - 10vw))); }
}

@media (min-width: 128rem) {
  .hero-media { right: calc(50% - 64rem); }
}

@media (min-width: 160rem) {
  .brand { width: 15.5rem; height: 3.75rem; }
  .main-nav { gap: 1.75rem; }
  .main-nav > a:not(.button):not(.google-play-badge-link) { font-size: 0.92rem; }
  .main-nav .nav-cta { min-height: 3.05rem; padding: 0.72rem 1.18rem; font-size: 0.92rem; }
  .hero-media::before { content: ""; position: absolute; z-index: 2; inset: 0 0 0 auto; width: 2rem; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 254, 250, 0.22) 50%, var(--paper)); }
}

@media (max-width: 68rem) {
  .menu-toggle { display: flex; min-width: 3rem; min-height: 3rem; align-items: center; gap: 0.7rem; justify-content: center; padding: 0.5rem; color: var(--white); background: transparent; border: 1px solid #575750; border-radius: 999px; }
  .menu-toggle-label { font-size: 0.75rem; font-weight: 700; }
  .menu-icon { display: grid; gap: 0.22rem; }.menu-icon span { display: block; width: 1.1rem; height: 0.1rem; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(0.32rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-0.32rem) rotate(-45deg); }
  .main-nav { position: fixed; inset: 4.9rem 0 auto 0; display: none; max-height: calc(100vh - 4.9rem); max-height: calc(100svh - 4.9rem); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; padding: 1rem 1.25rem 1.5rem; color: var(--white); background: var(--ink); border-bottom: 1px solid #42423d; box-shadow: 0 1rem 2rem rgba(0,0,0,0.2); }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav > a:not(.button):not(.google-play-badge-link) { padding: 0.95rem 0.25rem; border-bottom: 1px solid #383833; font-size: 1rem; }
  .nav-products { display: grid; grid-template-columns: 1fr auto; gap: 0; border-bottom: 1px solid #383833; }
  .nav-products > a { padding: 0.95rem 0.25rem; font-size: 1rem; }
  .nav-products-toggle { width: 3rem; height: 3rem; }
  .products-submenu { position: static; grid-column: 1 / -1; min-width: 0; margin: 0 0 0.75rem; padding: 0.45rem 0.45rem 0.45rem 0.8rem; overflow: hidden; background: var(--mist); background: color-mix(in srgb, var(--mist) 60%, var(--line)); border: 1px solid var(--line); border-radius: 0.65rem; box-shadow: inset 0.25rem 0 0 var(--gold), 0 0.45rem 1rem rgba(0, 0, 0, 0.12); }
  .products-submenu a { padding: 0.72rem 0.8rem; border-radius: 0.4rem; }
  .main-nav .nav-cta { margin-top: 1rem; }
  .main-nav > .google-play-badge-link--header { width: 10rem; margin-top: 0.75rem; }
  .hero-grid { min-height: clamp(36rem, calc(100svh - 4.9rem), 43rem); padding-top: 3rem; padding-bottom: 3rem; }
  .hero-copy { max-width: 44rem; }
  .hero-copy h1 { max-width: 44rem; font-size: clamp(3rem, 6vw, 4.5rem); }
  .hero-lead { max-width: min(31rem, 47vw); }
  .hero-media { top: 50%; width: 56vw; transform: translateY(-50%); }
  .hero-media::after { background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 254, 250, 0.98) 9%, rgba(255, 254, 250, 0.86) 20%, rgba(255, 254, 250, 0.52) 32%, rgba(255, 254, 250, 0.16) 43%, transparent 52%); }
  .product-card:not(.product-card-featured) { grid-column: span 6; }
  .cv-preview { min-height: 30rem; padding: 2.5rem 2rem; }
}

@media (max-width: 50rem) {
  .section { padding: 4.5rem 0; }
  .hero-grid { min-height: 38rem; }
  .hero-copy h1 { font-size: clamp(3rem, 8vw, 4rem); }
  .hero-lead { max-width: min(27rem, 46vw); }
  .hero-media { width: 54vw; }
  .hero-media::after { background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 254, 250, 0.99) 12%, rgba(255, 254, 250, 0.9) 25%, rgba(255, 254, 250, 0.58) 38%, rgba(255, 254, 250, 0.2) 50%, transparent 60%); }
  .split-heading, .principles-grid, .cv-grid, .faq-grid, .footer-top, .support-layout, .product-hero-grid, .product-story, .career-story, .mina-coming { grid-template-columns: 1fr; }
  .home-product-grid { grid-template-columns: 1fr; }
  .tip-card { min-height: 20rem; }
  .home-product-card { min-height: 17rem; }
  .home-calculator-callout { align-items: flex-start; flex-direction: column; gap: 0.7rem; margin-top: 2rem; padding-top: 1.5rem; }
  .product-card { grid-column: 1 / -1; min-height: auto; }
  .product-card:not(.product-card-featured) { grid-column: 1 / -1; }
  .product-card-featured { display: flex; }
  .product-card-featured > .check-list { margin-bottom: 2rem; }
  .product-card-purchase { width: 100%; padding-left: 0; border-left: 0; }
  .cv-grid { gap: 3.5rem; }.cv-preview { order: 2; }.cv-copy { order: 1; }
  .faq-intro { position: static; }
  .support-aside { position: static; }
  .support-chooser { grid-template-columns: 1fr; }
  .product-section-heading { margin-bottom: 2.5rem; }
  .product-story { gap: 2.25rem; padding: 3.5rem 0; }
  .product-story-featured { margin-inline: 0; padding-inline: 1.5rem; }
  .product-story-featured .product-story-copy { padding-top: 0.5rem; }
  .career-story { gap: 3.5rem; }
  .career-story .cv-preview { order: 1; }
  .career-story .cv-copy { order: 2; }
  .cv-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-story-talous .product-story-copy, .product-story-savings .product-story-copy { max-width: 44rem; }
  .footer-top { gap: 2rem; }.footer-bottom { flex-direction: column; }
}

@media (min-width: 50.0625rem) and (max-width: 79rem) {
  .product-story-featured { margin-inline: clamp(-2rem, calc(156rem - 200vw), 0rem); }
}

@media (min-width: 50.0625rem) {
  .cv-template-carousel-arrow { display: grid; }
}

@media (min-width: 64rem) {
  .product-marketing-gallery--talous { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .product-marketing-gallery--talous .product-marketing-media:last-child { width: 100%; grid-column: auto; }
}

@media (max-width: 43rem) {
  .hero::after { background: radial-gradient(circle at 72% 76%, rgba(247, 185, 0, 0.11), transparent 36%), linear-gradient(90deg, transparent 38%, rgba(255, 254, 250, 0.68) 100%); }
  .hero-grid { display: grid; min-height: auto; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-copy { max-width: 42rem; }
  .hero-copy h1 { max-width: 42rem; font-size: clamp(2.8rem, 11vw, 5rem); }
  .hero-line-keep { white-space: normal; }
  .hero-lead { max-width: 38rem; }
  .hero-media { position: relative; top: auto; right: auto; width: 100%; transform: none; border-radius: 1rem; }
  .hero-media::after { display: none; }
  .savings-calculator-card { padding: 1rem 0.875rem; }
  .savings-calculator-heading { margin-bottom: 0.875rem; }
  .savings-calculator-heading .product-theme-label { margin-bottom: 0.3rem; font-size: 0.64rem; }
  .savings-calculator-heading h4 { margin-bottom: 0.4rem; font-size: 1.45rem; }
  .savings-calculator-heading > p:last-child { font-size: 0.875rem; line-height: 1.4; }
  .savings-calculator-form { gap: 0.85rem; }
  .calculator-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.5rem; row-gap: 0.75rem; }
  .savings-calculator-form .form-field { gap: 0.25rem; min-width: 0; }
  .savings-calculator-form .form-field label, .savings-calculator-form .form-field legend { font-size: 0.78rem; line-height: 1.25; }
  .savings-calculator-form .form-field input { height: 2.875rem; min-height: 2.875rem; padding: 0.6rem 0.625rem; }
  .savings-calculator-form .form-field input[type="date"] { max-width: 100%; padding-inline: 0.5rem 0.375rem; font-variant-numeric: tabular-nums; }
  .calculator-duration-group { gap: 0.3rem; }
  .calculator-duration-fields { gap: 0.5rem; }
  .savings-calculator-form .button { min-height: 3rem; padding: 0.7rem 1rem; }
  .calculator-privacy { margin-top: -0.1rem; font-size: 0.7rem; line-height: 1.4; }
}

@media (max-width: 31rem) {
  .shell { width: min(calc(100% - 1.5rem), var(--shell)); }
  .page-hero .legal-shell h1 { font-size: clamp(2.35rem, 12.25vw, 2.7rem); }
  .brand { width: 10.7rem; height: 3rem; }.menu-toggle-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
  .button-row { align-items: stretch; flex-direction: column; }.button-row .button { width: 100%; }
  .tips-hero h1, .article-hero h1 { hyphens: auto; }
  .tip-card { min-height: 0; }
  .article-cta .button { width: 100%; }
  .product-card-head { align-items: flex-start; flex-wrap: wrap; }
  .product-offer { gap: 1.25rem; }
  .product-marketing-gallery { grid-template-columns: 1fr; justify-items: center; }
  .product-marketing-gallery .product-marketing-media { width: min(100%, 25rem); }
  .product-marketing-gallery--talous .product-marketing-media:last-child { width: min(100%, 25rem); grid-column: auto; }
  .savings-result-grid { grid-template-columns: 1fr; }
  .savings-result-grid div + div { border-top: 1px solid #42423d; border-left: 0; }
  .cv-preview { min-height: 25rem; padding: 2rem 1rem; }
  .cv-document-stack { width: min(100%, 25rem); }
  .cv-document-frame { width: 70%; }
  .cv-document-frame-word { transform: rotateY(-1deg) rotateZ(2.5deg); }
  .cv-document-frame-canva { transform: rotateY(-2deg) rotateZ(-1deg); }
  .coming-product { align-items: flex-start; }
  .cv-template-grid { grid-template-columns: 1fr; }
  .radio-row { flex-direction: column; }.radio-option { width: 100%; }
  .privacy-request-form .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
