:root {
  --container-max: 1120px;
  --gutter: 40px;
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
}

html { scroll-behavior: smooth; }
body { background: var(--bg); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { letter-spacing: -0.025em; }

.topnav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 60;
}
.topnav-inner { padding-block: 14px; }
.logo { font-weight: 800; letter-spacing: -0.03em; }
.logo-mark { width: 30px; height: 30px; color: white; }
.topnav-links { display: flex; gap: 2px; }
.topnav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--motion-fast);
}
.topnav-links a:hover { color: var(--fg); }
.btn { padding: 9px 20px; font-weight: 700; font-family: var(--font-body); }
.btn-lg { padding: 12px 28px; font-size: 16px; border-radius: var(--radius-md); }
@media (max-width: 640px) { .topnav-links { display: none; } }

.hero {
  padding-block: 88px 80px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% -80px, color-mix(in oklch, var(--accent) 8%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  border: 1px solid color-mix(in oklch, var(--accent) 20%, transparent);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 800;
  line-height: 1.1;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.14em;
}
.hero h1 em.flip-counter {
  font-style: normal;
  color: var(--accent);
  text-align: center;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.18em;
  line-height: 1;
  --flip-bg: color-mix(in oklch, var(--accent) 10%, var(--bg));
}
.hero-sub {
  color: var(--fg-2);
  font-size: clamp(16px, 2.2vw, 20px);
  max-width: 520px;
  margin: 20px auto 0;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-free {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hero-free svg { width: 14px; height: 14px; color: var(--success); flex-shrink: 0; }
.hero-mockup { margin-top: 56px; }
.mockup-browser {
  max-width: 820px;
  margin-inline: auto;
  background: var(--fg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.mockup-bar {
  background: #2a2a2a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 11px; height: 11px; border-radius: 50%; }
.d-red { background: #ff5f57; }
.d-yellow { background: #febc2e; }
.d-green { background: #28c840; }
.mockup-url {
  flex: 1;
  background: #3a3a3a;
  border-radius: 5px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #999;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mockup-iframe { width: 100%; height: 520px; border: none; display: block; }
.trust-strip {
  background: color-mix(in oklch, var(--success) 8%, transparent);
  border-top: 1px solid color-mix(in oklch, var(--success) 20%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--success) 20%, transparent);
  padding: 14px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #166534;
}
.trust-item svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.section { padding-block: 88px; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  max-width: 520px;
}
.section-sub {
  color: var(--fg-2);
  margin-top: 12px;
  max-width: 440px;
  font-size: 17px;
  line-height: 1.55;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.step { display: flex; gap: 20px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklch, var(--accent) 20%, transparent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--fg-2); line-height: 1.55; }
.features-bg {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }
.feat { background: var(--bg); padding: 32px; }
.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklch, var(--accent) 20%, transparent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.feat h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.feat p { font-size: 14px; color: var(--fg-2); line-height: 1.6; }
.callout {
  background: var(--fg);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  margin-block: 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) {
  .callout { padding: 36px 28px; grid-template-columns: 1fr; gap: 28px; }
}
.callout-headline {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  line-height: 1.15;
}
.callout-headline em { font-style: normal; color: #f87171; }
.callout-sub {
  color: #9ca3af;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 460px;
}
.callout-cost {
  font-family: var(--font-mono);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: #f87171;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  line-height: 1;
  white-space: nowrap;
}
.callout-cost-label {
  font-size: 12px;
  color: #555;
  font-family: var(--font-mono);
  text-align: right;
  margin-top: 4px;
}
.final-cta { text-align: center; padding-block: 96px; }
.final-cta h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  max-width: 560px;
  margin-inline: auto;
}
.final-cta p { color: var(--fg-2); font-size: 17px; margin-top: 16px; }
.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.final-free { margin-top: 16px; font-size: 13px; color: var(--muted); }
footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-logo {
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 7px;
}
.text-center { text-align: center; }
.text-center .section-title,
.text-center .section-sub { max-width: 560px; margin-inline: auto; }
@media (max-width: 480px) {
  .hero { padding-block: 56px 48px; }
  .section { padding-block: 60px; }
  .final-cta { padding-block: 64px; }
}

/* Blog */
.blog-header {
  padding-block: 56px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.blog-header-inner { max-width: 720px; }
.blog-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.blog-meta a { color: var(--accent); font-weight: 600; }
.blog-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
}
.blog-deck {
  margin-top: 14px;
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.55;
  max-width: 640px;
}
.blog-body {
  padding-block: 40px 56px;
  max-width: 720px;
}
.prose h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}
.prose h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.prose p,
.prose li { color: var(--fg-2); margin-bottom: 1em; }
.prose ul,
.prose ol { padding-left: 1.25em; margin-bottom: 1.25em; }
.prose li { margin-bottom: 0.45em; }
.prose a { color: var(--accent); font-weight: 600; }
.prose strong { color: var(--fg); font-weight: 700; }
.prose blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--fg);
}
.blog-cta-band {
  border-top: 1px solid var(--border);
  background: color-mix(in oklch, var(--accent) 6%, var(--bg));
  padding-block: 48px;
}
.blog-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-cta-inner h2 { font-size: 22px; font-weight: 800; }
.blog-cta-inner p { color: var(--fg-2); margin-top: 6px; max-width: 480px; }
.blog-index-header { padding-block: 64px 40px; text-align: center; }
.blog-list { list-style: none; padding: 0; margin: 0 0 80px; }
.blog-list-item {
  padding-block: 32px;
  border-bottom: 1px solid var(--border);
}
.blog-list-date {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted);
}
.blog-list-item h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.2;
}
.blog-list-item h2 a { color: var(--fg); }
.blog-list-item h2 a:hover { color: var(--accent); }
.blog-list-item p { color: var(--fg-2); margin-top: 10px; max-width: 640px; }
.blog-list-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
