:root {
  --bg: #f3f7fc;
  --scroll: #f3f7fc;
  --surface: #ffffff;
  --surface-muted: #e8f0fe;
  --border: #dbe4f0;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #6b7280;
  --accent: #1a73e8;
  --accent-deep: #1557b0;
  --accent-soft: rgba(26, 115, 232, 0.12);
  --accent-border: rgba(26, 115, 232, 0.28);
  --success: #10b981;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Plus Jakarta Sans', Georgia, serif;
  --max: 920px;
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(26, 115, 232, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(21, 87, 176, 0.08), transparent 50%),
    linear-gradient(180deg, #e8f0fe 0%, var(--bg) 38%, #f8fafc 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  border-bottom: 1px solid rgba(219, 228, 240, 0.85);
  background: rgba(243, 247, 252, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: 0 8px 28px rgba(26, 115, 232, 0.35);
}

.brand-mark img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.nav-links a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.hero {
  text-align: center;
  padding: 40px 0 48px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.hero-dots span {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero-dots span:nth-child(2) {
  width: 7px;
  height: 7px;
  opacity: 1;
  animation-delay: 0.2s;
}

.hero-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

.hero-brand {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
  animation: rise-in 0.7s ease both;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
  animation: rise-in 0.75s ease 0.06s both;
}

.hero p.lead {
  margin: 0 auto 28px;
  max-width: 460px;
  color: var(--text-muted);
  font-size: 1.05rem;
  animation: rise-in 0.75s ease 0.12s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.store-row {
  margin-bottom: 12px;
  animation: rise-in 0.75s ease 0.18s both;
}

.cta-row-secondary {
  margin-top: 4px;
  animation: rise-in 0.75s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px rgba(26, 115, 232, 0.32);
}

.btn-primary:hover {
  text-decoration: none;
  background: var(--accent-deep);
  box-shadow: 0 10px 36px rgba(26, 115, 232, 0.42);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  text-decoration: none;
  border-color: #b6c5d8;
}

.hero-visual {
  margin: 40px auto 0;
  max-width: 320px;
  animation: float-in 0.9s ease 0.28s both;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(26, 115, 232, 0.08);
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 8px 0 16px;
}

.grid-features {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .grid-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  box-shadow: 0 12px 32px rgba(26, 115, 232, 0.1);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  margin-bottom: 16px;
}

.ai-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.ai-note .dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--success);
}

.page-head {
  margin-bottom: 32px;
}

.page-head h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 560px;
}

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

.legal h2 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 650;
  margin: 28px 0 10px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p,
.legal ul {
  margin: 0 0 12px;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 6px;
}

.legal strong {
  color: var(--text);
}

.meta-line {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-card {
  max-width: 560px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    height: auto;
    padding: 14px 16px;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-visual {
    max-width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
