/* Thank You — landing page styles
 * Konzistentní paleta s authPageHtml (src/index.js).
 * Mobile-first, bez frameworku, bez JS.
 */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #3d2b1f;
  background: #fdf6ee;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #c8964a; text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

/* Layout ------------------------------------------------------------------- */

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

.topbar {
  padding: 20px 0;
  border-bottom: 1px solid #f0e4d3;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #3d2b1f;
}
.topbar .brand svg { width: 28px; height: 22px; }
.topbar nav a {
  margin-left: 20px;
  font-size: 14px;
  color: #7a4f2e;
}
.topbar nav .lang { font-weight: 500; color: #c8964a; }

/* Sections ----------------------------------------------------------------- */

section { padding: 72px 0; }
section + section { border-top: 1px solid #f5ead5; }

h1, h2, h3 { font-weight: 600; color: #3d2b1f; letter-spacing: -0.01em; }
h1 { font-size: 42px; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 28px; line-height: 1.25; margin-bottom: 24px; }
h3 { font-size: 18px; line-height: 1.4; margin-bottom: 8px; }

p { font-size: 17px; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 20px; color: #5a3e20; }
.muted { color: #8a6a50; font-size: 15px; }

/* Hero --------------------------------------------------------------------- */

.hero { padding: 96px 0 72px; text-align: center; }
.hero .tagline {
  font-size: 22px;
  color: #b07040;
  margin-bottom: 16px;
  font-weight: 500;
}
.hero .sub {
  font-size: 18px;
  color: #5a3e20;
  max-width: 520px;
  margin: 0 auto 32px;
}
.hero .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: background .15s, transform .05s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #c8964a;
  color: #fff;
}
.btn-primary:hover { background: #b07040; text-decoration: none; }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary {
  background: transparent;
  color: #7a4f2e;
  border: 1px solid #e0d0b8;
}
.btn-secondary:hover { background: #fbf1df; text-decoration: none; }

/* Story & prose sections --------------------------------------------------- */

.story p,
.problem p,
.why p,
.start p { max-width: 620px; margin-left: auto; margin-right: auto; }

.story, .problem, .why, .start { text-align: center; }

.divider {
  width: 40px;
  height: 1px;
  background: #d4b688;
  margin: 0 auto 32px;
}

/* Features ----------------------------------------------------------------- */

.features { background: #fbf1df; }
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .features-list { grid-template-columns: 1fr 1fr; }
}
.feature {
  background: #fff;
  border: 1px solid #f0e4d3;
  border-radius: 10px;
  padding: 24px;
}
.feature h3 { color: #b07040; }

/* Quote -------------------------------------------------------------------- */

.quote {
  text-align: center;
  padding: 88px 0;
  background: linear-gradient(180deg, #fbf1df 0%, #fdf6ee 100%);
}
.quote blockquote {
  font-size: 22px;
  font-style: italic;
  color: #5a3e20;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote blockquote::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #c8964a;
  margin: 0 auto 24px;
}

/* FAQ ---------------------------------------------------------------------- */

.faq h2 { text-align: center; }
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #f0e4d3;
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { color: #5a3e20; margin-bottom: 10px; }
.faq-item p { font-size: 16px; color: #6a4e30; }

/* Final CTA ---------------------------------------------------------------- */

.start .big-say {
  font-size: 28px;
  color: #b07040;
  font-weight: 500;
  margin: 32px 0 24px;
}

/* Footer ------------------------------------------------------------------- */

footer {
  padding: 40px 0 48px;
  border-top: 1px solid #f0e4d3;
  text-align: center;
  color: #8a6a50;
  font-size: 14px;
}
footer .footer-links {
  margin-bottom: 14px;
}
footer .footer-links a {
  margin: 0 10px;
  color: #7a4f2e;
}

/* Smaller screens ---------------------------------------------------------- */

@media (max-width: 520px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
  .hero .tagline { font-size: 19px; }
  .hero .sub { font-size: 17px; }
  p { font-size: 16px; }
  .lead { font-size: 18px; }
  .quote blockquote { font-size: 19px; }
}
