:root {
  color-scheme: dark;
  --bg: #05070f;
  --panel: #0e1220;
  --muted: #8b91aa;
  --accent: #f35f6d;
  --accent-soft: #f35f6d1a;
  --border: #1f2538;
  --white: #f7f8fb;
  --gradient: linear-gradient(135deg, #f35f6d, #ffb347);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin: 16px 0;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-group {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gradient);
  color: #05070f;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.cta.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
}

.cta.ghost {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--white);
}

.cta.tertiary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.cta:hover {
  opacity: 0.85;
}

.hero__card {
  background: var(--panel);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.card__title {
  font-weight: 600;
  margin-bottom: 12px;
}

.card__text {
  color: var(--muted);
  margin-bottom: 20px;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notify-form input {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  background: #141a2c;
  color: var(--white);
}

.notify-form button {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  background: var(--gradient);
  color: #05070f;
  cursor: pointer;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.features article {
  background: var(--panel);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}

.features h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.reset {
  background: var(--panel);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
}

.reset h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.reset ol {
  margin-left: 20px;
  color: var(--muted);
}

.reset li + li {
  margin-top: 8px;
}

.note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.note a {
  color: var(--white);
  font-weight: 600;
}

.deep-link {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deep-link__hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.reset-actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.reset-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.reset-card--form {
  border-color: var(--accent-soft);
  grid-column: span 2;
}

@media (max-width: 720px) {
  .reset-card--form {
    grid-column: auto;
  }
}

.reset-card__copy {
  color: var(--muted);
  margin-bottom: 16px;
}

.reset-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.reset-card ul {
  margin-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.reset-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reset-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.reset-form input {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #070a15;
  padding: 12px;
  color: var(--white);
}

.reset-form button {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  background: var(--gradient);
  color: #05070f;
}

.reset-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.reset-status {
  min-height: 1em;
  display: block;
  font-size: 0.85rem;
  margin-top: 6px;
  color: var(--muted);
}

.reset-status.info {
  color: var(--white);
}

.reset-status.success {
  color: #7ef5a5;
}

.reset-status.error {
  color: #ff9b9b;
}

.copy-feedback {
  color: var(--muted);
  min-height: 18px;
}

.stacked {
  flex-direction: column;
  align-items: stretch;
}

.footer {
  text-align: center;
  padding: 32px 16px;
  color: var(--muted);
}

.show-browser-reset .reset {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.show-browser-reset #browser-reset {
  border-color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
