:root {
  --ink: #161f2e;
  --ink-deep: #0d1420;
  --red: #b3402f;
  --red-light: #cc5340;
  --cream: #f7f3ec;
  --paper: #fffdfa;
  --text-dark: #211d18;
  --text-muted-dark: #55504a;
  --text-light: #f3ede1;
  --text-muted-light: rgba(243, 237, 225, 0.72);
  --rule: rgba(22, 31, 46, 0.12);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0;
}

p {
  margin: 0 0 1.3em;
}

a {
  color: inherit;
}

/* ---------- Hero / Otevřený dopis ---------- */

.hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--text-light);
  padding: 88px 0 96px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red-light);
  margin: 0 0 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.12;
  color: var(--text-light);
  margin-bottom: 12px;
  max-width: 16ch;
}

.hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  margin-top: 28px;
  border-radius: 2px;
}

.letter {
  margin-top: 48px;
}

.letter-title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-light);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(243, 237, 225, 0.16);
}

.letter p {
  font-family: var(--serif);
  font-size: 1.09rem;
  line-height: 1.75;
  color: var(--text-muted-light);
}

.letter-footer {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(243, 237, 225, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cta {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--text-light);
  background: var(--red);
  padding: 15px 34px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta:hover {
  background: var(--red-light);
  transform: translateY(-1px);
}

.letter-date {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted-light);
  margin: 0;
}

/* ---------- Proč studovat ---------- */

.why {
  background: var(--cream);
  padding: 96px 0;
}

.why h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 48px;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.why-list li {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}

.why-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.num {
  flex: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--red);
  width: 2.2ch;
}

.why-list p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-dark);
}

/* ---------- Kontakt ---------- */

.contact {
  background: var(--ink-deep);
  color: var(--text-light);
  padding: 72px 0;
  text-align: center;
}

.contact h2 {
  color: var(--text-light);
  font-size: 1.7rem;
  margin-bottom: 28px;
}

.contact-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-address {
  color: var(--text-muted-light);
  line-height: 1.6;
  margin-bottom: 18px;
}

.contact-email a {
  color: var(--red-light);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.contact-email a:hover {
  border-color: var(--red-light);
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  .hero {
    padding: 64px 0 72px;
  }

  .why {
    padding: 64px 0;
  }

  .contact {
    padding: 56px 0;
  }

  .letter-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-list li {
    gap: 16px;
  }
}
