/* Úvodní stránka sudokuteacher.app. Barvy a písma jako appka: Figtree na texty,
 * Source Serif 4 jen na název. Písma jsou přibalená, žádné Google Fonts. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-ext-wght-normal.woff2) format('woff2-variations');
  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: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/fonts/figtree-latin-wght-normal.woff2) format('woff2-variations');
  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: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/source-serif-4-latin-ext-600-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: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/source-serif-4-latin-600-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;
}

:root {
  --bg: #f4efe4;
  --surface: #fffdf8;
  --ink: #23201b;
  --ink-soft: #6b665d;
  --line: #ddd8cc;
  --accent: #2f6f4f;
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(60, 45, 20, 0.06), 0 4px 14px rgba(60, 45, 20, 0.07);
  --shot-shadow: 0 6px 24px rgba(60, 45, 20, 0.16);
  --font-app: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Source Serif 4', Georgia, serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1c19;
    --surface: #26241f;
    --ink: #ece8df;
    --ink-soft: #a9a396;
    --line: #3a372f;
    --accent: #7fc3a0;
    --accent-ink: #13231a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
    --shot-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font-app);
}

a {
  color: var(--accent);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Přepínač jazyka */
.top {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 16px;
  font-size: 15px;
}

.top [aria-current] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

/* Úvod */
.hero {
  text-align: center;
  padding: 32px 0 40px;
}

.hero__icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: var(--shot-shadow);
}

.hero h1 {
  margin: 20px 0 8px;
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero__lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: 21px;
  font-weight: 600;
}

.hero__sub {
  margin: 12px auto 0;
  max-width: 520px;
  color: var(--ink-soft);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.cta__play img {
  display: block;
  height: 56px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.cta__note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Snímky - na úzké obrazovce posuvný pás, stránka sama do šířky nejede. */
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  margin: 0 -4px;
}

.shots img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shot-shadow);
  scroll-snap-align: center;
}

@media (min-width: 900px) {
  .shots {
    justify-content: center;
    overflow: visible;
  }
}

h2 {
  margin: 48px 0 16px;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

/* Jak to funguje */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li,
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}

.steps h3,
.plan h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

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

/* Zdarma a plná verze */
.plans {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

.plan--full {
  border: 2px solid var(--accent);
}

.plan__kicker {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.plan li {
  margin-bottom: 4px;
}

.plan__price {
  margin: 12px 0 0;
  font-weight: 600;
}

.plan__note {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.calm {
  margin: 48px auto 0;
  max-width: 600px;
  text-align: center;
  color: var(--ink-soft);
}

.calm strong {
  color: var(--ink);
}

footer {
  margin-top: 56px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
  text-align: center;
}

footer p {
  margin: 4px 0;
}
