:root {
  --bg: #f7f8ff;
  --surface: rgba(255, 255, 255, 0.9);
  --text: #15182b;
  --muted: rgba(21, 24, 43, 0.72);
  --muted-2: rgba(21, 24, 43, 0.58);
  --border: rgba(21, 24, 43, 0.14);

  --accent: #3d52ff;
  --accent-2: #20a6ff;
  --accent-3: #6f7dff;

  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
  --shadow: 0 18px 50px rgba(33, 45, 120, 0.15);
  --focus: 0 0 0 3px rgba(61, 82, 255, 0.26);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(900px 580px at 10% 8%, rgba(61, 82, 255, 0.18), transparent 58%),
    radial-gradient(820px 520px at 90% 20%, rgba(32, 166, 255, 0.2), transparent 60%),
    linear-gradient(180deg, #fcfcff 0%, var(--bg) 55%, #fcfcff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
}

.skip-link:focus {
  left: 12px;
  box-shadow: var(--focus);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(252, 252, 255, 0.86);
  border-bottom: 1px solid rgba(21, 24, 43, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(21, 24, 43, 0.12);
  box-shadow: 0 10px 26px rgba(61, 82, 255, 0.22);
  object-fit: cover;
}

.nav {
  display: none;
  gap: 14px;
  color: var(--muted);
  font-weight: 650;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  background: rgba(61, 82, 255, 0.08);
  color: var(--text);
}

@media (min-width: 880px) {
  .nav {
    display: inline-flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #f8f9ff;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(61, 82, 255, 0.3);
  color: #fff;
  box-shadow: 0 14px 40px rgba(61, 82, 255, 0.24);
}

.btn-primary:hover {
  border-color: rgba(21, 24, 43, 0.24);
}

.btn-small {
  padding: 8px 10px;
  border-radius: 10px;
}

section {
  padding: 54px 0;
}

.section-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 72ch;
}

.hero {
  padding: 62px 0 38px;
}

.hero-grid {
  display: grid;
  gap: 24px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.hero-card,
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mockup-top {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.badge-strong {
  color: var(--text);
  border-color: rgba(61, 82, 255, 0.3);
}

.mockup-body {
  padding: 14px;
}

.hero-shot {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(33, 45, 120, 0.16);
}

.card-preview {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background:
    radial-gradient(500px 260px at 16% 8%, rgba(61, 82, 255, 0.12), transparent 58%),
    radial-gradient(430px 230px at 90% 42%, rgba(32, 166, 255, 0.12), transparent 56%),
    #fff;
  padding: 14px;
}

.preview-title {
  margin: 0 0 8px;
  font-weight: 800;
}

.preview-text {
  margin: 0;
}

.preview-footer {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 13px;
}

.hint {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 13px;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
  }

  .hero h1 {
    font-size: 54px;
  }
}

.grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 740px) {
  .cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(61, 82, 255, 0.08);
  font-weight: 800;
  color: var(--accent);
}

.icon-media {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 255, 0.9));
}

.icon-step {
  width: 38px;
  height: 38px;
}

.feature-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.example pre {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: #1a1d34;
  white-space: pre-wrap;
  font-size: 12.5px;
  line-height: 1.45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.example-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toast {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.toast[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.form-row {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .form-row.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.inline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.help {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.form-status {
  min-height: 20px;
  font-weight: 700;
  color: var(--muted);
}

.form-status[data-kind="error"] {
  color: #c41d39;
}

.form-status[data-kind="success"] {
  color: #1f7d33;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  padding: 14px;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
}

.faq-trigger:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform 140ms ease;
}

.faq-panel {
  display: none;
  padding: 0 14px 14px;
  color: var(--muted);
}

.faq-item[data-open="true"] .faq-panel {
  display: block;
}

.faq-item[data-open="true"] .faq-chevron {
  transform: rotate(45deg);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 50px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.footer-links a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(61, 82, 255, 0.28);
  text-underline-offset: 2px;
}

.small {
  font-size: 13px;
  color: var(--muted-2);
}

.divider {
  margin: 18px 0;
  height: 1px;
  background: var(--border);
}
