/* Katettu website: shared stylesheet.
   Layout and colour live in each element's style attribute, exactly as designed. This file holds what a
   style attribute cannot: the font, hover and focus states, the breakpoints, the animations and a few helpers. */

/* ---------- Font: Albert Sans, served from this site (SIL Open Font License, see assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/albert-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/albert-sans-latin-wght-normal.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;
}

/* ---------- Base ---------- */
body { background: #f7f5f0; }
/* Parts of the page that are switched off carry the hidden attribute. This rule outranks every class below. */
:root [hidden] { display: none !important; }
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: #244b3d; }
a:hover { color: #17211c; }
.kt-btn { transition: filter 0.15s ease, transform 0.15s ease; }
.kt-btn:hover { filter: brightness(0.88); }
.kt-btn:active { transform: translateY(1px); }
.kt-ghost { transition: background-color 0.15s ease, border-color 0.15s ease; }
.kt-ghost:hover { background-color: #eff1eb !important; border-color: #758278 !important; }
.kt-planbox { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.kt-planbox:hover { border-color: #244b3d !important; box-shadow: 0 0 0 3px rgba(36, 75, 61, 0.12); }
.kt-navlink { transition: color 0.15s ease; }
.kt-navlink:hover { color: #244b3d !important; }
.kt-link:hover { color: #244b3d !important; }
.kt-chip { transition: background-color 0.12s ease, transform 0.12s ease; }
.kt-chip:hover { background-color: #5cd67a !important; transform: scale(1.06); }
.kt-slot { transition: background-color 0.12s ease, border-color 0.12s ease; }
.kt-slot:hover { background-color: #e1f7e4 !important; border-color: #38a856 !important; }
.kt-langbtn > span { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.kt-langbtn:hover > span { transform: scale(1.08); }
.kt-langbtn[aria-expanded="true"] > span { box-shadow: 0 0 0 2px #244b3d !important; }
.kt-langitem { transition: background-color 0.12s ease; }
.kt-langitem:hover { background-color: #eff1eb !important; }
.kt-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.kt-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(38, 45, 42, 0.05), 0 16px 36px rgba(38, 45, 42, 0.1); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #1266a8; outline-offset: 2px; }
input::placeholder { color: #6b756e; }
.kt-headbg { -webkit-backdrop-filter: blur(14px) saturate(1.3); }
@keyframes kt-headfill {
  from { opacity: 0; }
  to { opacity: 1; }
}
@supports (animation-timeline: scroll()) {
  .kt-head { position: sticky !important; top: 0; }
  .kt-headbg { animation: kt-headfill 1ms linear both; animation-timeline: scroll(); animation-range: 0px 72px; }
}
@media (min-width: 600px) {
  .kt-wide { grid-column: span 2; }
}
.kt-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) {
  .kt-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .kt-plans { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 600px) {
  .kt-planline { min-height: 3.1em; }
}
@media (max-width: 479px) {
  .kt-save { display: none !important; }
  .kt-saveline { display: block !important; }
}
@keyframes kt-pop {
  from { transform: scale(0.94); opacity: 0.2; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes kt-ring {
  from { box-shadow: 0 0 0 0 rgba(31, 128, 161, 0.55); }
  to { box-shadow: 0 0 0 12px rgba(31, 128, 161, 0); }
}
@keyframes kt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes kt-nudge {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(5px); }
}
@media (min-width: 1100px) {
  .kt-stage { padding-right: 270px !important; }
  .kt-phone { position: absolute !important; right: -26px; bottom: -40px; }
  .kt-try { display: flex !important; animation: kt-nudge 1.8s ease-in-out infinite; }
}
@media (max-width: 1000px) {
  .kt-navlinks { display: none !important; }
  .kt-menubtn { display: inline-flex !important; }
}
@media (min-width: 1001px) {
  .kt-menupanel { display: none !important; }
}
@media (max-width: 600px) {
  .kt-lang { display: none !important; }
  .kt-signin { display: none !important; }
  .kt-newbtn { display: none !important; }
  .kt-nav { gap: 10px !important; }
}
@media (max-width: 400px) {
  .kt-navcta { padding: 0 14px !important; font-size: 14.5px !important; }
  .kt-nav { gap: 8px !important; }
}
@media (max-width: 339px) {
  .kt-wm { display: none !important; }
  .kt-mark { display: flex !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.kt-headbg) { animation: none !important; transition: none !important; }
}

/* ---------- Helpers the plain-file site adds ---------- */
/* Skip link: first stop for keyboard users, out of sight until then. */
.kt-skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: #17211c; color: #f7f5f0 !important; font: 600 15px 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; text-decoration: none; }
.kt-skip:focus { top: 12px; }
/* Top bar where the browser cannot tie styles to the scroll position: site.js adds these classes instead. */
.kt-head.kt-sticky { position: sticky !important; top: 0; }
.kt-head.kt-sticky .kt-headbg { transition: opacity 0.2s ease; }
.kt-head.kt-sticky.is-scrolled .kt-headbg { opacity: 1 !important; }
/* Text pages (privacy policy and the like): plain HTML inside .kt-prose is styled from here. */
.kt-prose { font-size: 17px; line-height: 1.7; color: #262d2a; overflow-wrap: break-word; }
.kt-prose > * { margin: 0; }
.kt-prose > * + * { margin-top: 1.1em; }
.kt-prose h2 { margin-top: 2.2em; font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: -0.012em; color: #17211c; }
.kt-prose h3 { margin-top: 1.8em; font-size: 20px; line-height: 1.3; font-weight: 700; color: #17211c; }
.kt-prose ul, .kt-prose ol { padding-left: 1.3em; }
.kt-prose li + li { margin-top: 0.45em; }
.kt-prose a { color: #244b3d; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.kt-prose strong { color: #17211c; }
.kt-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.kt-prose th, .kt-prose td { padding: 10px 12px; border-bottom: 1px solid #dde2d9; text-align: left; vertical-align: top; }
.kt-prose th { font-weight: 700; color: #17211c; }
