/* KUDEN Solutions, verze podle Míry: tokeny, typografie, tlačítka, lišta, patička, formulář. */

/* fonts are self-hosted (no request to Google): latin + latin-ext, variable weights */
/* Instrument Sans, latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../../assets/fonts/instrument-sans-latin-ext.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;
}
/* Instrument Sans, latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../../assets/fonts/instrument-sans-latin.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;
}
/* Instrument Sans, latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../../assets/fonts/instrument-sans-latin-ext.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;
}
/* Instrument Sans, latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../../assets/fonts/instrument-sans-latin.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;
}
/* Instrument Sans, latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../../assets/fonts/instrument-sans-latin-ext.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;
}
/* Instrument Sans, latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../../assets/fonts/instrument-sans-latin.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;
}
/* Plus Jakarta Sans, latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../assets/fonts/plus-jakarta-sans-latin-ext.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;
}
/* Plus Jakarta Sans, latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../assets/fonts/plus-jakarta-sans-latin.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;
}
/* Plus Jakarta Sans, latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../../assets/fonts/plus-jakarta-sans-latin-ext.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;
}
/* Plus Jakarta Sans, latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../../assets/fonts/plus-jakarta-sans-latin.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;
}

@view-transition { navigation: auto; }

:root {
  --bg: #06080c;
  --bg-rgb: 6 8 12;
  --panel: #0b0f16;
  --panel-2: #0f141d;
  --ink: #f2f1ee;
  --ink-rgb: 242 241 238;
  --mute: #9aa3b2;
  --faint: #636c7b;
  --line: rgb(170 190 230 / 0.12);
  --line-2: rgb(170 190 230 / 0.22);
  --core: #1a5cff;
  --core-hi: #5b8cff;
  --core-lo: #0b33b8;
  --core-rgb: 26 92 255;
  --err: #ff6a55;

  --f-display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4.6vw, 64px);
  --r-card: 18px;
  --r-ctl: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* the core, wherever it appears: flat glass-lit blue */
  --core-fill: linear-gradient(152deg, #6c98ff 0%, #2a66ff 34%, #1a5cff 58%, #0c3ccc 100%);
  --core-glow: 0 0 0 1px rgb(150 185 255 / 0.55) inset, 0 0 18px rgb(var(--core-rgb) / 0.7), 0 0 60px rgb(var(--core-rgb) / 0.35);
  /* the full-screen blue of the zoom transition (same on both pages, so the hand-off is invisible) */
  --zoom-fill: radial-gradient(120% 90% at 50% 50%, #3b74ff 0%, #1a5cff 38%, #0c37b8 78%, #061f73 100%);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, h4, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--core); color: #fff; }

:focus-visible { outline: 2px solid var(--core-hi); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 16px; }

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

/* ---------------------------------------------------------------- type */
.display {
  font-family: var(--f-display); font-weight: 800;
  letter-spacing: -0.028em; line-height: 1.03; word-spacing: 0.03em;
  text-wrap: balance;
}
/* Plus Jakarta Sans sets , . ? with a wide left bearing; pull them back to the word they end */
.pk { margin-left: -0.09em; }
.h1 { font-size: clamp(40px, 5.6vw, 76px); }
.h2 { font-size: clamp(34px, 4.4vw, 60px); }
.h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(20px, 1.7vw, 24px); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: #c9cfd9; max-width: 34em; text-wrap: pretty; }
.muted { color: var(--mute); }

/* the full stop of every heading is the core of the mark: a small blue square */
.dot {
  display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.07em;
  background: var(--core); box-shadow: 0 0 0.25em rgb(var(--core-rgb) / 0.8);
  vertical-align: baseline;
}

.kicker { font: 600 14px/1.3 var(--f-text); color: var(--core-hi); letter-spacing: 0.01em; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: var(--r-ctl);
  background: var(--ink); color: #0a0d12; font: 600 16px/1 var(--f-text);
  cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .3s;
}
.btn:hover { background: #fff; box-shadow: 0 8px 30px -8px rgb(255 255 255 / 0.35); }
.btn:active { transform: translateY(1px); }
.btn .i-arr { transition: transform .25s var(--ease); }
.btn:hover .i-arr { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.i-arr { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.link {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  font-weight: 500; background: linear-gradient(var(--core), var(--core)) 0 100% / 100% 2px no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.link:hover { background-size: 100% 100%; color: #fff; }
.link:hover { background-image: linear-gradient(rgb(var(--core-rgb) / .22), rgb(var(--core-rgb) / .22)), linear-gradient(var(--core), var(--core)); background-size: 100% 100%, 100% 2px; background-position: 0 100%, 0 100%; }

/* round arrow button used on cards */
.go {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: 50%; border: 1px solid rgb(var(--ink-rgb) / 0.55); color: var(--ink);
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.go .i-arr { width: 18px; height: 18px; }

/* ----------------------------------------------------------------- bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  height: 76px; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.bar.is-solid { background: rgb(var(--bg-rgb) / 0.78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.bar-logo img { width: 148px; height: auto; }
.bar-nav { display: flex; gap: 34px; margin-left: auto; font-size: 15px; font-weight: 500; }
.bar-nav a { position: relative; padding: 8px 0; color: #d8dce3; transition: color .2s; }
.bar-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--core);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.bar-nav a:hover { color: #fff; }
.bar-nav a:hover::after, .bar-nav a[aria-current]::after { transform: scaleX(1); }
.bar .btn { margin-left: 8px; }
/* language switch: CS | EN, the current one lit; the other is a link to the same page in that language */
.lang { display: flex; align-items: center; gap: 2px; margin-left: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1; }
.lang > * { padding: 7px 9px; border-radius: 8px; }
.lang a { color: var(--mute); transition: color .2s, background .2s; }
.lang a:hover { color: #fff; background: rgb(var(--ink-rgb) / .08); }
.lang [aria-current] { color: #fff; background: rgb(var(--ink-rgb) / .1); }
@media (max-width: 900px) {
  .bar { height: 64px; gap: 16px; }
  .bar-nav { display: none; }
  .bar .btn { margin-left: auto; }
  .bar .lang { margin-left: auto; }
  .bar .lang + .btn { margin-left: 0; }
  .bar-logo img { width: 124px; }
}

/* narrow phones: logo, language switch and the longer English button have to share one row */
@media (max-width: 520px) {
  .bar { gap: 10px; }
  .bar-logo img { width: 104px; }
  .bar .lang { gap: 0; }
  .bar .lang > * { padding: 7px 6px; }
  .bar .btn-sm { padding: 0 13px; font-size: 14px; white-space: nowrap; }
  .bar .btn-sm .i-arr { display: none; }
}

/* language suggestion (site/js/lang.js): a quiet card at the bottom, never a modal */
.lang-hint {
  position: fixed; z-index: 60; left: 50%; bottom: 20px; width: max-content; max-width: calc(100vw - 2 * var(--gutter));
  display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 10px 10px 10px 20px;
  background: rgb(var(--bg-rgb) / .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line-2); border-radius: 14px; font-size: 15px; color: #d8dce3;
  opacity: 0; transform: translate(-50%, 14px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.lang-hint.is-in { opacity: 1; transform: translate(-50%, 0); }
.lang-hint p { flex: 1 1 auto; }
.lang-hint-x { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 8px; background: none; color: var(--mute); cursor: pointer; transition: color .2s, background .2s; }
.lang-hint-x:hover { color: #fff; background: rgb(var(--ink-rgb) / .08); }
.lang-hint-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.rm .lang-hint { transition: none; }

/* ---------------------------------------------------------- sections */
.sec { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 56px); }
.sec-head .aside { color: var(--mute); font-size: 16px; line-height: 1.55; padding-bottom: 8px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ panels */
.card {
  position: relative; border-radius: var(--r-card);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.028), rgb(255 255 255 / 0.008)), var(--panel);
  border: 1px solid var(--line);
}

/* -------------------------------------------------------------- form */
.form { display: grid; gap: 12px; }
.field { position: relative; }
.field .ic {
  position: absolute; left: 18px; top: 17px; width: 20px; height: 20px;
  fill: none; stroke: #aab2bf; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
  transition: stroke .2s;
}
.in {
  display: block; width: 100%; min-height: 54px; padding: 15px 18px 15px 52px;
  border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.025);
  font-size: 16px; line-height: 1.45; transition: border-color .2s, background .2s, box-shadow .2s;
}
.in::placeholder { color: #8f98a6; opacity: 1; }
.in:hover { border-color: rgb(170 190 230 / 0.34); }
.in:focus { outline: none; border-color: var(--core); background: rgb(var(--core-rgb) / 0.06); box-shadow: 0 0 0 4px rgb(var(--core-rgb) / 0.18); }
.field:focus-within .ic { stroke: var(--core-hi); }
textarea.in { min-height: 132px; padding-left: 18px; resize: vertical; }
.in[aria-invalid="true"] { border-color: var(--err); }
.err { margin: 6px 2px 0; font-size: 14px; color: var(--err); }
.lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form .btn { width: 100%; min-height: 58px; margin-top: 6px; font-size: 17px; }
.form-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.form-note a { color: #cfd5de; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(var(--ink-rgb) / .35); }
.form-status:empty { display: none; }
.form-status { font-size: 14.5px; color: var(--err); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { padding: 8px 4px; }
.done-t { display: flex; align-items: center; gap: 12px; font: 700 26px/1.2 var(--f-display); letter-spacing: -0.02em; }
.done-t .sq { width: 14px; height: 14px; background: var(--core); box-shadow: 0 0 16px rgb(var(--core-rgb) / .9); }
.done p { margin-top: 12px; color: #c9cfd9; }

/* ------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 15px; }
.foot-top { display: flex; align-items: center; gap: 32px 48px; flex-wrap: wrap; }
.foot-top img { width: 148px; height: auto; }
.foot-nav { display: flex; gap: 32px; margin-left: auto; color: #d8dce3; }
.foot-nav a:hover { color: #fff; }
.foot-claim { padding-left: 32px; border-left: 1px solid var(--line-2); color: #e7e9ee; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.foot-legal a { color: var(--mute); }
.foot-legal a:hover { color: var(--ink); }
.foot-legal a:first-of-type { margin-left: auto; }
.foot-btn { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--mute); }
.foot-btn:hover { color: var(--ink); }
@media (max-width: 900px) {
  .foot-nav { margin-left: 0; order: 3; width: 100%; gap: 24px; flex-wrap: wrap; }
  .foot-claim { padding-left: 0; border: 0; }
  .foot-legal a:first-of-type { margin-left: 0; }
}

/* ------------------------------------------ reveal of section headings */
.js [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .is-in [data-in], .js [data-in].is-in { opacity: 1; transform: none; }

/* "off" tier (system setting or the footer switch) */
.rm { scroll-behavior: auto; }
.rm *, .rm *::before, .rm *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
.rm [data-in] { opacity: 1 !important; transform: none !important; }

/* lite tier: no blur behind glass (expensive while scrolling on phones) */
.lite .bar.is-solid { background: rgb(var(--bg-rgb) / 0.96); backdrop-filter: none; -webkit-backdrop-filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-in] { opacity: 1; transform: none; }
}
