:root {
  --brand: #3b5eff;
  --brand-dark: #1f3bcc;
  --brand-soft: #eef1ff;
  --ink: #12142b;
  --muted: #5b5f78;
  --line: #e4e6f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Manrope, Inter, system-ui, sans-serif; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; color: var(--ink); font-family: Manrope, sans-serif; font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; }
.logo b { color: var(--brand); font-weight: 800; }
.logo-ai { font-size: 0.8rem; font-weight: 700; color: #fff; background: var(--brand); border-radius: 6px; padding: 1px 6px; transform: translateY(-3px); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background 0.15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* sections */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* hero */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-collage img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; border-radius: var(--radius); }
.hero-collage img:nth-child(2) { margin-top: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat b { display: block; font-family: Manrope, sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; background: var(--bg-soft); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.card-body ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.93rem; }
.price { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; gap: 8px; border-top: 1px solid var(--line); }
.price b { font-family: Manrope, sans-serif; font-size: 1.6rem; font-weight: 800; }
.price span { color: var(--muted); font-size: 0.9rem; }
.tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: Manrope, sans-serif; font-weight: 800; color: var(--brand); font-size: 1.1rem; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

/* pricing table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; font-size: 0.9rem; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-weight: 700; }

/* faq */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* legal / text pages */
.page-head { padding-top: 56px; padding-bottom: 24px; max-width: 812px; }
.page-head p { color: var(--muted); }
.prose { max-width: 812px; padding-bottom: 72px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.info-box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.info-box p:last-child { margin: 0; }

.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 32px; }
.toc h2 { font-family: Inter, sans-serif; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; margin: 24px 0; }
.summary dt { font-weight: 600; margin-top: 14px; }
.summary dd { margin: 2px 0 14px; color: var(--muted); }
.prose h2[id] { scroll-margin-top: 80px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.cta { background: var(--brand); color: #fff; border-radius: 28px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0; opacity: 0.85; }
.cta .btn { background: #fff; color: var(--brand); }

/* footer */
.site-footer { background: var(--ink); color: #c9cbe0; padding: 56px 0 24px; font-size: 0.93rem; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer a { color: #c9cbe0; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font-family: Inter, sans-serif; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-company p { margin: 0 0 12px; }
.footer-company strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; font-size: 0.85rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-company { grid-column: 1 / -1; }
  section { padding: 56px 0; }
  .cta { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .header-row { padding-top: 8px; padding-bottom: 8px; }
  .nav a { padding: 6px 10px; font-size: 0.9rem; }
}
