/* Serpblast — site styles. Mobile-first. */
:root {
  --ink: #0b1020;
  --ink-2: #151b33;
  --ink-3: #222a4a;
  --text: #1a2036;
  --muted: #5a6280;
  --line: #e3e6ef;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --accent: #ff5a1f;
  --accent-dark: #d9430d;
  --accent-soft: #fff0e9;
  --ai: #7c5cff;
  --ai-soft: #efeaff;
  --on-dark: #e9ecf6;
  --on-dark-muted: #a6aecb;
  --focus: #2f6bff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11,16,32,.05), 0 8px 24px rgba(11,16,32,.06);
  --shadow-lg: 0 24px 60px rgba(11,16,32,.18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --container: 1200px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .h2, .h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; }
h2, .h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.3em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1.05em; font-size: .9rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255,90,31,.32); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 20px; height: 20px; }
.icon-xl { width: 96px; height: 96px; stroke-width: 1.25; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3rem/1 var(--font-head); letter-spacing: -0.03em; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; }
.logo-light { color: #fff; }
.logo-light .logo-mark rect { fill: #fff; }
.logo-light .logo-mark path { stroke: var(--ink); }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; }
.menu-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

.primary-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; max-height: calc(100vh - 68px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 8px var(--gutter) 24px; }
.primary-nav.is-open { display: block; }
.nav-list { list-style: none; }
.nav-list > li { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.nav-link { flex: 1; display: block; padding: 14px 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.nav-link[aria-current="page"], .is-section > .nav-link { color: var(--accent-dark); }
.dropdown-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 8px; }
.dropdown-toggle svg { width: 18px; height: 18px; transition: transform .2s; }
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown { display: none; width: 100%; padding-bottom: 12px; }
.has-dropdown.is-open .dropdown { display: block; }
.dropdown-grid { list-style: none; display: grid; gap: 2px; }
.dropdown-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--text); }
.dropdown-grid a:hover { background: var(--bg-alt); }
.dropdown-grid .icon { color: var(--accent); margin-top: 2px; }
.dropdown-grid strong { display: block; font-size: .95rem; color: var(--ink); }
.dropdown-grid small { display: none; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.dropdown-all { display: inline-flex; align-items: center; gap: 6px; margin: 8px 10px 0; font-weight: 600; color: var(--accent-dark); text-decoration: none; }
.nav-cta { margin-top: 20px; }
.nav-cta .btn { width: 100%; }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .primary-nav { display: flex !important; align-items: center; gap: 28px; position: static; max-height: none; overflow: visible; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav-list { display: flex; gap: 4px; }
  .nav-list > li { border: 0; flex-wrap: nowrap; }
  .nav-link { padding: 8px 12px; border-radius: 8px; font-weight: 500; }
  .nav-link:hover { background: var(--bg-alt); }
  .has-dropdown .nav-link { padding-right: 2px; }
  .dropdown-toggle { width: 28px; height: 36px; }
  .dropdown { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-38%); width: 680px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
  .dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
  .has-dropdown.is-closed .dropdown { display: none; }
  .dropdown-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
  .dropdown-grid small { display: block; }
  .nav-cta { margin: 0; }
  .nav-cta .btn { width: auto; }
}

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); }
.hero-bg, .page-hero::before { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(600px 400px at 85% 10%, rgba(124,92,255,.35), transparent 70%),
  radial-gradient(500px 360px at 10% 100%, rgba(255,90,31,.28), transparent 70%); }
.page-hero::before { content: ""; }
.hero-bg::after, .page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero { padding: 64px 0 72px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-secondary { font: 600 clamp(1.1rem, 2.2vw, 1.35rem)/1.4 var(--font-head); color: #fff; margin-bottom: .75em; }
.hero-lead, .page-lead { font-size: 1.1rem; color: var(--on-dark-muted); max-width: 640px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; color: var(--on-dark-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--accent); }
.eyebrow { display: inline-block; font: 600 .78rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.eyebrow-light { color: #ffb08f; }

@media (min-width: 1024px) {
  .hero { padding: 96px 0 104px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
}

/* hero illustration */
.hero-visual { position: relative; max-width: 480px; width: 100%; margin: 0 auto; }
.mock { background: #fff; color: var(--text); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px; }
.mock-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.mock-bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-search { flex: 1; margin-left: 8px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.mock-result { padding: 12px; border-radius: 12px; margin-bottom: 6px; }
.mock-result.is-you { background: var(--accent-soft); outline: 2px solid rgba(255,90,31,.35); }
.mock-site { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.mock-site i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.mock-result:not(.is-you) .mock-site i { background: #c9cedd; }
.mock-title { font: 600 .9rem/1.3 var(--font-head); color: #1d3fbf; margin-bottom: 8px; }
.mock-title.dim { height: 12px; width: 70%; background: #cdd6f7; border-radius: 4px; }
.mock-line { height: 8px; background: #eceef4; border-radius: 4px; margin-bottom: 6px; }
.mock-line.short { width: 60%; }
.mock-ai { position: relative; margin: -28px -8px 0 32px; border: 1px solid #e2dcff; }
.mock-ai-head { display: inline-flex; align-items: center; gap: 6px; font: 600 .78rem/1 var(--font); color: var(--ai); background: var(--ai-soft); padding: 6px 10px; border-radius: 999px; margin-bottom: 12px; }
.mock-cite { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .74rem; color: var(--muted); }
.mock-cite b { color: var(--accent-dark); background: var(--accent-soft); padding: 4px 8px; border-radius: 6px; font-weight: 600; }
.mock-cite i { width: 60px; height: 20px; background: #eceef4; border-radius: 6px; }
.mock-caption { margin: 14px 0 0; text-align: center; font-size: .75rem; color: var(--on-dark-muted); }
@media (min-width: 1024px) { .mock-ai { margin: -36px -36px 0 56px; } }

/* page hero */
.page-hero { padding: 40px 0 56px; }
.page-hero-sm { padding: 32px 0 40px; }
.page-hero-404 { padding: 96px 0; min-height: 50vh; }
@media (min-width: 768px) { .page-hero { padding: 56px 0 80px; } }
.service-hero-grid { display: grid; gap: 32px; align-items: center; }
.service-hero-icon { display: none; }
@media (min-width: 1024px) {
  .service-hero-grid { grid-template-columns: 1fr auto; }
  .service-hero-icon { display: grid; place-items: center; width: 220px; height: 220px; border-radius: 48px; color: #fff; background: linear-gradient(135deg, rgba(255,90,31,.9), rgba(124,92,255,.9)); box-shadow: 0 30px 80px rgba(124,92,255,.35); transform: rotate(-4deg); }
}

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 24px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } .section-tight { padding: 48px 0; } }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #ffb08f; }
.section-dark .section-intro { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro { font-size: 1.08rem; color: var(--muted); }
.section-foot { margin: 32px 0 0; }
.label-heading { font: 600 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* ---------- Cards ---------- */
.card-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .offer-grid, .inc-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid:has(> li:nth-child(4):last-child), .principle-grid { grid-template-columns: repeat(4, 1fr); }
  .offer-grid:has(> li:nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); }
}
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: .4em; }
.service-card { display: flex; flex-direction: column; }
.service-card:hover, .offer-card:hover { border-color: #ffc6b0; box-shadow: var(--shadow); transform: translateY(-3px); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); }
.service-card:nth-child(2) .card-icon { background: var(--ai-soft); color: var(--ai); }
.card-num { font: 600 .85rem/1 var(--font-head); color: #b7bdd0; }
.card-link { text-decoration: none; color: inherit; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-weight: 600; font-size: .92rem; color: var(--accent-dark); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag-list li { font-size: .76rem; font-weight: 500; padding: 4px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.tag-list-lg { margin-top: 0; gap: 10px; }
.tag-list-lg li { font-size: .92rem; padding: 8px 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); }

.offer-card { display: flex; flex-direction: column; }
.offer-card .text-link { margin-top: auto; padding-top: 18px; }
.badge { align-self: flex-start; font: 600 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; background: var(--ai-soft); color: var(--ai); margin-bottom: 16px; }

/* why */
.why-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } .why-grid > div:first-child { position: sticky; top: 108px; } }
.why-list { display: grid; gap: 14px; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why-item h3 { font-size: 1.05rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.why-check { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 26px; height: 26px; stroke-width: 2.5; }

/* process */
.process { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.process-step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.process-step p { color: var(--on-dark-muted); margin: 0; font-size: .95rem; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px; font: 700 1rem/1 var(--font-head); color: var(--ink); background: linear-gradient(135deg, #ffb08f, var(--accent)); }
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -20px; width: 20px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
}

/* faq */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 600 1.05rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { border-radius: var(--radius); }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon { background: var(--accent); }
.faq[open] .faq-icon::before, .faq[open] .faq-icon::after { background: #fff; }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* final CTA */
.final-cta { padding-top: 0; }
.section-alt + .final-cta, .section-dark + .final-cta { padding-top: 64px; }
.cta-panel { position: relative; overflow: hidden; text-align: center; padding: 56px 24px; border-radius: 28px; background: var(--ink); color: var(--on-dark); }
.cta-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 15% 0%, rgba(255,90,31,.4), transparent 70%), radial-gradient(500px 300px at 85% 100%, rgba(124,92,255,.4), transparent 70%); }
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-panel p { color: var(--on-dark-muted); max-width: 560px; margin: 0 auto; font-size: 1.08rem; }
.cta-panel .btn-row { justify-content: center; }
@media (min-width: 768px) { .cta-panel { padding: 80px 48px; } }

/* services menu */
.menu-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }
.menu-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.menu-col h3 { font-size: 1rem; color: var(--accent-dark); margin-bottom: .8em; }
.menu-col ul { list-style: none; display: grid; gap: 6px; font-size: .93rem; color: var(--text); }
.menu-col li { padding-left: 14px; position: relative; }
.menu-col li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #c6cbdb; }

/* service page lists */
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-weight: 500; }
.check-list .icon { color: var(--accent); margin-top: 2px; }
.inc-card h3 { font-size: 1.08rem; }
.inc-card::before { content: ""; display: block; width: 32px; height: 4px; border-radius: 4px; background: var(--accent); margin-bottom: 18px; }
.kpi-list { display: grid; gap: 10px; counter-reset: kpi; }
.kpi-list li { counter-increment: kpi; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: var(--bg-alt); font-weight: 500; }
.kpi-list li::before { content: counter(kpi, decimal-leading-zero); font: 700 .85rem/1 var(--font-head); color: var(--ai); }
.related-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-link { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.related-link:hover { border-color: #ffc6b0; box-shadow: var(--shadow); }
.related-link .icon { color: var(--accent); margin-top: 2px; }
.related-link strong { display: block; color: var(--ink); font-family: var(--font-head); margin-bottom: 4px; }
.related-link small { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* prose */
.prose { max-width: 760px; font-size: 1.06rem; }
.prose p { color: var(--muted); }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.notice { padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark) !important; font-size: .92rem; font-weight: 500; }
.principle-grid h3 { font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.4fr .8fr; gap: 64px; align-items: start; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-note { color: var(--muted); font-size: .9rem; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font: 400 1rem/1.4 var(--font); color: var(--text); background: #fff; border: 1.5px solid #cfd4e2; border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.field [aria-invalid="true"] { border-color: #d22c2c; }
.field-error { margin: 6px 0 0; font-size: .85rem; color: #c02020; min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.field-check label { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field-check label a { color: var(--accent-dark); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 500; border-radius: 10px; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; background: #e8f7ee; color: #146c3a; }
.form-status.is-error { padding: 14px 16px; background: #fdecec; color: #a01b1b; }
.contact-aside .next-steps { counter-reset: n; list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.next-steps li { counter-increment: n; display: flex; gap: 14px; color: var(--muted); }
.next-steps li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font: 700 .9rem/1 var(--font-head); }
.contact-alt a { color: var(--accent-dark); font-weight: 600; }
.contact-alt .btn { color: #fff; }
.aside-card { padding: 22px; border-radius: var(--radius); background: var(--bg-alt); }
.aside-card h3 { font-size: 1.05rem; }
.aside-card p { margin: 0; color: var(--muted); }
.aside-card a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 0; margin-top: 0; }
.final-cta + * {}
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1.3fr 1.1fr .8fr .8fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin: 16px 0 20px; max-width: 320px; }
.footer-col h2 { font: 600 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; font-size: .94rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--ink-3); font-size: .85rem; }
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.captcha-field { min-height: 78px; }

/* creative & marketing services */
@media (min-width: 1024px) { .service-grid.service-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.service-grid-3 .card-icon { background: var(--ai-soft); color: var(--ai); }
.also-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 28px 0 0; font-size: .92rem; color: var(--muted); }
.also-line span { font-weight: 600; color: var(--ink); margin-right: 4px; }
.also-line a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
.also-line a:hover { border-color: #ffc6b0; background: var(--accent-soft); }
.dropdown-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.dropdown-more { color: var(--muted); font-weight: 500; }
.dropdown-more:hover { color: var(--accent-dark); }
.section[id] { scroll-margin-top: 68px; }
