:root {
  --bg: #0b0d10;
  --bg-elevated: #131720;
  --fg: #f3f5f7;
  --fg-muted: #9aa4b2;
  --accent: #4fd1a5;
  --border: #1f2530;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

header.site img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

header.site .brand {
  font-weight: 600;
  font-size: 17px;
  color: var(--fg);
}

main {
  padding: 64px 0 40px;
}

.hero {
  text-align: center;
  padding: 24px 0 56px;
}

.hero img {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hero p.tagline {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
}

.store-buttons a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.store-buttons a.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.feature h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.feature p {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 0;
}

.about {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--fg-muted);
  font-size: 15px;
}

.about h2 {
  color: var(--fg);
  font-size: 20px;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0 48px;
  color: var(--fg-muted);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.policy h1 {
  font-size: 30px;
  margin-bottom: 4px;
}

.policy .updated {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.policy h2 {
  font-size: 20px;
  margin-top: 40px;
}

.policy p, .policy li {
  color: #d5dae1;
}

.policy a.back {
  display: inline-block;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
  margin-bottom: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  border: none;
  color: #06251b;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 32px;
  }
}
