:root {
  --bg-dark: #263D2E;
  --bg-moss: #556B2F;
  --accent: #6B8E23;
  --accent-orange: #CD5C08;
  --text-light: #F5F5DC;
  --text-muted: rgba(245, 245, 220, 0.75);
  --surface: rgba(38, 61, 46, 0.85);
  --border: rgba(139, 69, 19, 0.4);
  --font-heading: 'IM Fell English SC', 'Times New Roman', serif;
  --font-body: 'IBM Plex Serif', Georgia, serif;
  --font-ui: 'Montserrat Alternates', 'Segoe UI', sans-serif;
  --max-width: 960px;
  --header-height: 5.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-light);
  background: linear-gradient(160deg, var(--bg-dark) 0%, #1a2e22 45%, var(--bg-moss) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #b8d48a;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text-light);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 46, 34, 0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo span {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text-light);
}

.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.hero .studio-name {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 36ch;
  margin: 0 auto 2rem;
}

section {
  padding: 3rem 0;
  scroll-margin-top: var(--header-height);
}

section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 1.25rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.features-list li {
  padding-left: 1.75rem;
  position: relative;
}

.features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.screenshots {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshot {
  flex: 0 0 auto;
  width: min(220px, 42vw);
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.screenshot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.store-section {
  text-align: center;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem 2.5rem;
  margin-top: 1.5rem;
}

.store-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.store-badge {
  display: block;
  line-height: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badge:hover {
  transform: scale(1.03);
}

.store-badge img {
  height: 60px;
  width: auto;
  display: block;
}

.store-badge.disabled {
  opacity: 0.55;
  cursor: default;
}

.store-badge.disabled:hover {
  transform: none;
}

.coming-soon-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin: 0.5rem 0 0;
}

.support-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.support-icon {
  margin: 0 auto 1rem;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.support-app-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-muted);
  margin: 0;
}

.support-email {
  font-size: 1.15rem;
}

.support-email a {
  color: var(--text-light);
  font-weight: 600;
}

.legal-page h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-light);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0.5rem 0;
}

.site-footer a {
  color: var(--text-muted);
}

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.legal-page .updated {
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  text-align: left;
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page ul {
  color: var(--text-muted);
}

.legal-page ul {
  padding-left: 1.25rem;
}

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

  .features-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
  }
}
