:root {
  --bg: #fbfaf7;
  --text: #2f342f;
  --muted: #6f786f;
  --line: #dfe4dc;
  --accent: #728a72;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.7;
}

.wrap {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  text-align: center;
  padding-bottom: 0;
  margin-bottom: 2rem;
  border-bottom: none;
}

.logo-horse {
  display: block;
  margin: 0.8rem auto 0.4rem;
  max-width: 180px;
  height: auto;
}

.grass-line {
  display: block;
  width: 100%;
  height: 55px;
  margin: 0 auto;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0.02em;
  font-weight: 600;
  font-family: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  transform: scaleX(1.04);
  transform-origin: center;
}

.tagline {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  font-style: italic;
}

main {
  padding-bottom: 64px;
}

section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

main section:first-child {
  border-top: none;
}

h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

h3 {
  margin: 22px 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
}

.status {
  color: var(--muted);
  font-size: 0.95rem;
}

#contact {
  text-align: center;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.language-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  padding-top: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.language-switcher a {
  color: var(--muted);
  text-decoration: none;
}

.language-switcher a:hover {
  color: var(--accent);
}

.language-switcher .current {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 760px);
  }

  header {
    padding: 52px 0 36px;
  }

  section {
    padding: 28px 0;
  }
}
.app-info strong {
  display: inline-block;
  width: 8em;
}


/* Language entrance page */
.entrance {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.entrance .wrap {
  padding: 44px 0;
}

.entrance header {
  margin-bottom: 0;
}

.entrance .language-switcher {
  justify-content: center;
  padding-top: 22px;
  font-size: 1rem;
}

.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}
