:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1d1d1f;
  --fg-secondary: #6e6e73;
  --accent: #e8890c;
  --card: #f5f5f7;
  --rule: rgba(0, 0, 0, 0.1);
  --max-width: 680px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #f5f5f7;
    --fg-secondary: #86868b;
    --accent: #f5a33b;
    --card: #1c1c1e;
    --rule: rgba(255, 255, 255, 0.15);
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.app-icon {
  width: 128px;
  height: 128px;
  border-radius: 28.6%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
}

.hero .tagline {
  font-size: 1.375rem;
  color: var(--fg-secondary);
  font-weight: 400;
  margin-top: 0.25rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.secondary {
  color: var(--fg-secondary);
}

ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

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

a:hover {
  text-decoration: underline;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.features li {
  background: var(--card);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin: 0;
}

.features li strong {
  display: block;
  margin-bottom: 0.25rem;
}

.features li span {
  color: var(--fg-secondary);
  font-size: 0.9375rem;
}

.support-card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.support-card form {
  margin-top: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.support-card label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.support-card input[type="text"],
.support-card input[type="email"],
.support-card textarea {
  display: block;
  width: 100%;
  margin-top: 0.375rem;
  padding: 0.625rem 0.75rem;
  font: inherit;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.support-card input:focus,
.support-card textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.support-card textarea {
  resize: vertical;
}

.support-card button {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 980px;
  padding: 0.625rem 1.5rem;
  cursor: pointer;
}

.support-card button:hover {
  filter: brightness(1.05);
}

.support-card button:disabled {
  opacity: 0.6;
  cursor: default;
}

.botcheck {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--fg-secondary);
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--fg-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

footer nav {
  display: flex;
  gap: 1.5rem;
}

.updated {
  font-size: 0.875rem;
  color: var(--fg-secondary);
  margin-bottom: 2rem;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .tagline {
    font-size: 1.125rem;
  }
}
