/* Attractive, professional app landing page design */
:root {
  --bg: #f8faf9;
  --surface: #ffffff;
  --text: #0d2419;
  --muted: #4a6b5a;
  --accent: #f6d66b;
  --accent-dark: #c9a836;
  --shadow: rgba(13, 36, 25, 0.08);
  --max-width: 720px;
}

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

html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #e8f5ee 100%);
  color: var(--text);
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--accent);
  color: var(--text);
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 6px;
}
.skip-link:focus {
  position: static;
  left: auto;
}

/* Header */
header {
  text-align: center;
  max-width: var(--max-width);
  margin: 40px auto 60px;
}

header img {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  border-radius: 24px;
  box-shadow: 0 12px 40px var(--shadow);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.tagline {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

header p {
  margin: 16px 0;
  font-size: 1.0625rem;
}

header a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

header a:hover {
  text-decoration-color: var(--accent-dark);
}

/* Download Buttons */
.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--text);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  min-width: 160px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px var(--shadow);
  border: 2px solid var(--text);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 36, 25, 0.15);
  background: #1a3326;
}

.store-button-text {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-button-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2px;
}

.app-store {
  background: linear-gradient(135deg, #2d5f4f, #1a3326);
}

.play-store {
  background: linear-gradient(135deg, #3d6b5a, #2d5f4f);
}

/* Main */
main {
  max-width: var(--max-width);
  margin: 0 auto 60px;
}

section {
  background: var(--surface);
  padding: 32px;
  margin-bottom: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow);
}

section.developer-note {
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ee 100%);
  border-left: 4px solid var(--accent-dark);
}

section.developer-note p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

section.developer-note p:first-of-type {
  margin-top: 8px;
}

section.developer-note a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

section.developer-note a:hover {
  text-decoration-color: var(--accent-dark);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text);
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--muted);
  font-size: 1.0625rem;
}

ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: bold;
  font-size: 1.25rem;
}

/* Footer */
footer {
  text-align: center;
  margin-top: auto;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 640px) {
  body {
    padding: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  header img {
    width: 96px;
    height: 96px;
  }

  section {
    padding: 24px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .download-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .store-button {
    width: 100%;
    max-width: 240px;
  }
}
