
:root {
  --text: #1f2937;
  --muted: #5b6473;
  --card: rgba(255,255,255,0.82);
  --border: rgba(60,72,88,0.10);
  --shadow: 0 14px 40px rgba(40, 56, 90, 0.10);
  --accent: #5a7bd8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(140,170,255,0.25), transparent 28%),
    radial-gradient(circle at top right, rgba(255,220,190,0.22), transparent 26%),
    linear-gradient(180deg, #f7f9fd 0%, #eef2f8 100%);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(780px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 253, 0.7);
  border-bottom: 1px solid var(--border);
  z-index: 5;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-switcher-wrap {
  padding: 0 0 0.85rem;
  margin-top: -0.35rem;
}

.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  font-size: 0.82rem;
}

.lang-switcher .lang-label {
  color: var(--muted);
  flex-shrink: 0;
}

.lang-select {
  min-width: 11rem;
  max-width: min(100%, 22rem);
  padding: 0.35rem 2rem 0.35rem 0.6rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(40, 56, 90, 0.06);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235b6473' d='M3 4.5L6 8l3-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
}

.lang-select:hover {
  border-color: rgba(90, 123, 216, 0.45);
}

.lang-select:focus {
  outline: 2px solid rgba(90, 123, 216, 0.35);
  outline-offset: 1px;
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

h2, h3 {
  line-height: 1.2;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 44rem;
}

.section {
  padding: 2rem 0 3rem;
}

.section.alt {
  background: rgba(255,255,255,0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-and-bug-card .contact-bug-heading {
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.support-faq-section-title {
  margin: 2rem 0 0.25rem;
  font-size: 1.35rem;
}

.faq {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.button.primary {
  background: var(--text);
  color: white;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255,255,255,0.75);
  color: var(--text);
}

.phone-frame {
  max-width: min(240px, 100%);
  margin: 0 auto;
  padding: 5px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1f2430 0%, #090c12 100%);
  box-shadow: 0 24px 50px rgba(20, 30, 50, 0.25);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.app-shot {
  width: 100%;
  border-radius: 22px;
  border: none;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

code {
  background: rgba(255,255,255,0.7);
  padding: 0.12rem 0.35rem;
  border-radius: 8px;
}

@media (max-width: 820px) {
  .hero-grid, .three-up {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    gap: 0.75rem;
    flex-direction: column;
  }

  .phone-frame {
    max-width: min(220px, 100%);
  }
}
