:root {
  --deep: #042C53;
  --forest: #04342C;
  --water: #1D9E75;
  --water-dark: #0F6E56;
  --water-soft: #9FE1CB;
  --sky: #85B7EB;
  --mist: #E1F5EE;
  --mist-blue: #E6F1FB;
  --ink: #04342C;
  --ink-soft: #3E6B60;
  --paper: #ffffff;
  --measure: 34rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--mist-blue);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--water-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--water); }
:focus-visible { outline: 2.5px solid var(--water); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 61rem; margin: 0 auto; padding: 0 1.5rem; }
.measure { max-width: var(--measure); }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(120% 90% at 50% 0%, #0A4570 0%, var(--deep) 45%, var(--forest) 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
  text-align: center;
}
.brandmark {
  font-family: Newsreader, Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
  margin-bottom: 2.75rem;
}

.breather { display: grid; place-items: center; height: 300px; margin-bottom: 1.25rem; }
.orb {
  grid-area: 1 / 1;
  width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #A8E4FF, #1E7FD4 78%);
  box-shadow: 0 0 70px rgba(70,165,235,.45);
  animation: breathe 11s ease-in-out infinite;
}
.orb-word {
  grid-area: 1 / 1;
  font-size: 1.05rem; font-weight: 600; color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.3);
  animation: word 11s steps(1, end) infinite;
}
@keyframes breathe {
  0%   { transform: scale(1);    background: radial-gradient(circle at 35% 30%, #A8E4FF, #1E7FD4 78%); }
  36%  { transform: scale(1.62); background: radial-gradient(circle at 35% 30%, #A8E4FF, #1E7FD4 78%); }
  45%  { transform: scale(1.62); background: radial-gradient(circle at 35% 30%, #FFE3A0, #E09A2B 78%); }
  55%  { transform: scale(1.62); background: radial-gradient(circle at 35% 30%, #FFE3A0, #E09A2B 78%); }
  96%  { transform: scale(1);    background: radial-gradient(circle at 35% 30%, #A8F0CE, #1D9E75 78%); }
  100% { transform: scale(1);    background: radial-gradient(circle at 35% 30%, #A8E4FF, #1E7FD4 78%); }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; transform: scale(1.35); }
  .orb-word { animation: none; }
  .orb-word::after { content: 'Nádych'; }
  .orb-word span { display: none; }
}

.hero h1 {
  font-size: clamp(2.1rem, 7.5vw, 3.4rem);
  margin-bottom: 1rem;
}
.hero h1 em { font-style: italic; }
.hero p.lede {
  font-size: 1.08rem;
  color: rgba(255,255,255,.82);
  max-width: 30rem; margin: 0 auto 2rem;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn {
  display: inline-block; padding: .95rem 1.7rem; border-radius: 2rem;
  font-size: 1rem; font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: #fff; color: var(--forest); }
.btn-primary:hover { background: var(--water-soft); color: var(--forest); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.hero .btn:focus-visible { outline-color: #fff; }

.hero .footnote { margin-top: 1.5rem; font-size: .88rem; color: rgba(255,255,255,.6); }

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
section h2 {
  font-size: clamp(1.7rem, 4.6vw, 2.35rem);
  margin-bottom: 1.25rem;
}
section p + p { margin-top: 1rem; }
.sub { color: var(--ink-soft); }

.band-mist { background: var(--mist); }
.band-paper { background: var(--paper); }

/* what's inside — a definition list, not a card grid */
.contents { border-top: 1px solid var(--water-soft); margin-top: 2.25rem; }
.item {
  display: grid; grid-template-columns: 11rem 1fr; gap: 0 2rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--water-soft);
}
.item dt { font-weight: 600; }
.item dd { color: var(--ink-soft); }
@media (max-width: 34rem) {
  .item { grid-template-columns: 1fr; gap: .3rem; }
}

/* install steps — genuinely a sequence, so numbered */
.steps { counter-reset: step; margin-top: 2rem; max-width: var(--measure); }
.steps li {
  counter-increment: step; list-style: none;
  padding: 0 0 1.5rem 3.25rem; position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--water); color: #fff;
  display: grid; place-items: center;
  font-size: .95rem; font-weight: 600;
}
.steps li strong { display: block; }
.steps li span { color: var(--ink-soft); }

/* crisis */
.crisis { background: var(--forest); color: #fff; }
.crisis h2 { color: #fff; }
.crisis p { color: rgba(255,255,255,.78); }
.lines { margin-top: 2rem; display: grid; gap: .6rem; max-width: var(--measure); }
.line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.2rem; border-radius: .7rem;
  background: rgba(255,255,255,.07); color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
}
.line:hover { background: rgba(255,255,255,.13); color: #fff; }
.line b { font-weight: 600; }
.line span { color: var(--water-soft); font-size: .92rem; white-space: nowrap; }

/* signup */
.signup { max-width: var(--measure); margin-top: 2rem; }
.field { display: block; margin-bottom: 1rem; }
.field input[type=email] {
  width: 100%; padding: .95rem 1.1rem; font: inherit;
  border: 1.5px solid var(--water-soft); border-radius: .7rem;
  background: #fff; color: var(--ink);
}
.field input[type=email]::placeholder { color: #9BB0A9; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.consent input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--water); flex-shrink: 0; }
.btn-send {
  background: var(--water); color: #fff; border: none; cursor: pointer;
  padding: .95rem 1.9rem; border-radius: 2rem; font: inherit; font-weight: 600;
}
.btn-send:hover { background: var(--water-dark); }
.hp { position: absolute; left: -9999px; }

/* footer */
footer { background: var(--deep); color: rgba(255,255,255,.7); padding: 3rem 0 3.5rem; font-size: .93rem; }
footer a { color: #fff; }
footer .cols { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; }
footer .disclaimer { max-width: 30rem; }
footer nav { display: grid; gap: .45rem; align-content: start; }
footer .fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; color: rgba(255,255,255,.5); }

/* legal pages */
.doc { padding: 3rem 0 4rem; background: var(--paper); }
.doc .wrap { max-width: 44rem; }
.doc h1 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); margin-bottom: .5rem; }
.doc .updated { color: var(--ink-soft); font-size: .92rem; margin-bottom: 2.5rem; }
.doc h2 { font-size: 1.35rem; margin: 2.5rem 0 .75rem; }
.doc h3 { font-size: 1.08rem; font-family: Inter, sans-serif; font-weight: 600; margin: 1.5rem 0 .5rem; }
.doc p, .doc li { color: #23453D; }
.doc ul, .doc ol { margin: .75rem 0 .75rem 1.25rem; }
.doc li { margin-bottom: .4rem; }
.doc .note {
  background: var(--mist); border-left: 3px solid var(--water);
  padding: 1.1rem 1.25rem; border-radius: 0 .5rem .5rem 0; margin: 1.5rem 0;
}
.back { display: inline-block; margin-bottom: 2rem; font-size: .95rem; }
