/* web500k: one accent color, mobile first. */
:root {
  --accent: #4338ca;
  --accent-ink: #3730a3;
  --accent-soft: #eef2ff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --ok: #15803d;
  --warn: #b45309;
  --err: #b91c1c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: #fff; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 6.5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); font-weight: 700; }
h3, .h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.kicker { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo b { color: var(--accent); font-weight: 700; }
.logo img { width: 28px; height: 28px; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a:not(.btn) { display: none; color: var(--muted); text-decoration: none; font-size: .95rem; }
.top nav a:not(.btn):hover { color: var(--ink); }
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; margin-top: 40px; font-size: .92rem; color: var(--muted); }
.foot .wrap { display: grid; gap: 14px; }
.foot nav, [data-contact] { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(67, 56, 202, .25); }
.btn-primary:hover { background: var(--accent-ink); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* Sections */
section { padding: 56px 0; }
.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.head p { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2315803d'/%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Product mock: AI page -> WordPress editor */
.mock { position: relative; display: grid; gap: 14px; }
.win { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: .72rem; color: var(--muted); }
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.win-bar b { margin-left: 8px; font-weight: 500; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-page { padding: 14px; display: grid; gap: 8px; }
.ai-hero { height: 64px; border-radius: 8px; background: linear-gradient(120deg, #c7d2fe, #fbcfe8 60%, #fde68a); }
.bar { height: 8px; border-radius: 4px; background: #e2e8f0; }
.bar.w60 { width: 60%; } .bar.w80 { width: 80%; } .bar.w40 { width: 40%; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tiles span { height: 30px; border-radius: 6px; background: #f1f5f9; }
.prompt { margin: 0 14px 14px; padding: 8px 10px; border-radius: 10px; background: var(--soft); border: 1px dashed #cbd5e1; font-size: .78rem; color: var(--muted); }
.prompt b { color: var(--ink); font-weight: 600; }
.arrow { justify-self: center; display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 99px; }
.wp { display: grid; grid-template-columns: 56px 1fr; min-height: 190px; }
.wp-side { background: #1d2327; padding: 10px 8px; display: grid; gap: 8px; align-content: start; }
.wp-side span { height: 7px; border-radius: 3px; background: #3c434a; }
.wp-side span.on { background: #72aee6; }
.wp-main { padding: 12px; display: grid; gap: 8px; align-content: start; }
.wp-tool { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: var(--muted); }
.wp-tool em { font-style: normal; background: var(--accent); color: #fff; border-radius: 6px; padding: 3px 10px; font-weight: 600; }
.wp-block { border: 2px solid var(--accent); border-radius: 8px; padding: 8px 10px; font-size: .9rem; font-weight: 600; position: relative; }
.wp-block::after { content: ''; display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.wp-img { height: 46px; border-radius: 8px; background: linear-gradient(120deg, #c7d2fe, #fbcfe8 60%, #fde68a); border: 1px dashed #94a3b8; display: grid; place-items: center; font-size: .7rem; color: var(--ink); }
@keyframes blink { 50% { opacity: 0; } }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 20px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.step p { color: var(--muted); margin: 0; }

/* Before / after */
.vs .card h3 { display: flex; align-items: center; gap: 8px; }
.tag { font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 99px; }
.tag-bad { background: #fef2f2; color: var(--err); }
.tag-good { background: #f0fdf4; color: var(--ok); }
.flow { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.flow li { padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: .95rem; }
.vs .after { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.vs .after .flow li { background: var(--accent-soft); }

/* Tools */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.badges li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-weight: 600; font-size: .95rem; }

/* Accordion (details) */
.acc { display: grid; gap: 10px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.acc summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.acc details[open] summary::after { content: '\2212'; }
.acc details > div { padding: 0 18px 16px; color: var(--muted); }
.acc details > div p:last-child, .acc ol { margin-bottom: 0; }
.acc ol { padding-left: 20px; }

/* Pricing */
.price { display: flex; flex-direction: column; gap: 6px; }
.price .amount { font-size: 2rem; font-weight: 700; }
.price .amount small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 8px; }
.price li { padding-left: 26px; position: relative; }
.price li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%234338ca'/%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price .btn { margin-top: auto; }
.price.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.guarantee { margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }

/* Final CTA */
.final { text-align: center; background: var(--ink); color: #fff; border-radius: 20px; padding: 44px 22px; }
.final p { color: #cbd5e1; }

/* Forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .legend { font-weight: 600; font-size: .95rem; }
.req { color: var(--err); }
.hint { font-size: .85rem; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; min-height: 48px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.invalid input, .invalid select, .invalid textarea, .invalid .drop { border-color: var(--err); }
.err { color: var(--err); font-size: .88rem; font-weight: 500; }
.err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.suffix { display: flex; align-items: stretch; }
.suffix input { border-radius: 10px 0 0 10px; }
.suffix span { display: flex; align-items: center; padding: 0 12px; border: 1px solid #cbd5e1; border-left: 0; border-radius: 0 10px 10px 0; background: var(--soft); color: var(--muted); font-size: .85rem; white-space: nowrap; }
@media (max-width: 479px) { .suffix > span { display: none; } .suffix input { border-radius: 10px; } }
.preview-url { font-size: .9rem; color: var(--muted); word-break: break-all; }
.preview-url b { color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.two { display: grid; gap: 18px; }
.alert { padding: 12px 14px; border-radius: 10px; background: #fef2f2; color: var(--err); border: 1px solid #fecaca; font-weight: 500; }
.alert:empty { display: none; }
.note { padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); font-size: .95rem; }

/* Drop zone */
.drop { position: relative; border: 2px dashed #94a3b8; border-radius: var(--radius); background: var(--soft); padding: 26px 18px; text-align: center; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop p { margin: 0 0 6px; }
.drop .big { font-weight: 600; font-size: 1.05rem; }
.drop-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.files { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.files-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--soft); font-size: .9rem; font-weight: 600; }
.files ul { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow: auto; }
.files li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.files li span:first-child { word-break: break-all; }
.files li span:last-child { color: var(--muted); white-space: nowrap; }
.linkbtn { background: none; border: 0; color: var(--accent); font: 600 .88rem var(--font); cursor: pointer; padding: 4px; text-decoration: underline; }
.progress { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

/* Status */
.tracker { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 0; }
.tracker li { position: relative; padding: 0 0 18px 40px; color: var(--muted); }
.tracker li::before { content: ''; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; }
.tracker li::after { content: ''; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: #e2e8f0; }
.tracker li:last-child::after { display: none; }
.tracker li.done { color: var(--ink); }
.tracker li.done::before { border-color: var(--ok); background: no-repeat center/26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2315803d'/%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='white' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tracker li.done::after { background: var(--ok); }
.tracker li.now { color: var(--ink); font-weight: 600; }
.tracker li.now::before { border-color: var(--accent); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-box { display: grid; gap: 16px; }
.big-actions { display: grid; gap: 10px; }
.creds { display: grid; gap: 10px; }
.cred { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.cred span { font-size: .85rem; color: var(--muted); min-width: 92px; }
.cred code { flex: 1; font: 600 .95rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; }
.warn { padding: 12px 14px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; font-size: .95rem; }
.ok-box { padding: 14px 16px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.upgrade { border: 2px solid var(--accent); }
.upgrade .ticks { margin: 4px 0 14px; }
.bank { display: grid; gap: 6px; padding: 12px 14px; background: var(--soft); border-radius: 10px; }
.pages-list { margin: 0; padding-left: 20px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }
.legal ul { padding-left: 20px; }

@media (min-width: 720px) {
  .top nav a:not(.btn) { display: inline; }
  section { padding: 80px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2, .two { grid-template-columns: 1fr 1fr; }
  .big-actions { grid-template-columns: 1fr 1fr; }
  .final { padding: 64px 40px; }
}
@media (min-width: 980px) {
  .hero { padding: 72px 0 88px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .mock .win:last-child { margin-left: 48px; }
  .mock .win:first-child { margin-right: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
