/* Daxero Marketing — public site. Design "B — Growth" */
:root {
  --ink: #141A2E;
  --text: #4A5270;
  --soft: #6A7290;
  --line: #E6E8F0;
  --field: #C9CEDF;
  --paper: #FFFFFF;
  --tint: #F3F5FD;
  --accent: #2340E8;
  --accent-hover: #1A31C2;
  --accent-ink: #1B2AA8;
  --ok: #0F766E;
  --err: #C0262D;
  --footer: #141A2E;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --wrap: 1240px;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text); }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; font: 700 16px var(--font); text-decoration: none; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: #fff; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--tint); color: var(--ink); }
.btn-block { width: 100%; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; }
.logo:hover { color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav .btn { color: #fff; min-height: 44px; padding: 0 20px; }
.nav-toggle { display: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--field); background: #fff; border-radius: 10px; font: 600 15px var(--font); cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { background: var(--tint); }
.hero .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(40px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -0.03em; }
.hero-sub { margin: 24px 0 0; font-size: 20px; color: var(--text); max-width: 560px; }
.checks { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 32px; font-weight: 600; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { flex: none; }

/* Cards & forms */
.form-card { flex: 1 1 400px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: 0 16px 40px rgba(20, 26, 46, .08); }
.form-card h2 { margin: 0; font-size: 22px; font-weight: 800; }
.form-card > p { margin: 6px 0 18px; color: var(--text); font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.input, .select, .textarea { width: 100%; font: 16px var(--font); color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35, 64, 232, .15); }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--err); }
.error { color: var(--err); font-size: 13px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--field); border-radius: 999px; font-weight: 600; font-size: 15px; background: #fff; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-ok { background: #E7F6F3; color: var(--ok); }
.alert-err { background: #FDECEC; color: var(--err); }

/* Trust bar */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; color: var(--soft); font-size: 14px; font-weight: 700; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section h2.title { margin: 0 0 12px; font-weight: 800; font-size: clamp(32px, 4vw, 44px); }
.section .lede { margin: 0 0 48px; color: var(--text); font-size: 19px; max-width: 680px; }
.center .lede { margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: #fff; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(20, 26, 46, .07); color: var(--ink); }
.card h3 { margin: 16px 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--text); }
.card .more { margin-top: auto; padding-top: 16px; color: var(--accent); font-weight: 700; font-size: 15px; }

/* Plans */
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 40px; font-weight: 800; line-height: 1.1; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--text); }
.plan p { margin: 0; color: var(--text); }
.plan ul { margin: 4px 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232340E8' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .btn { margin-top: auto; }
.plan.featured { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan.featured p, .plan.featured .price small { color: #E3E7FF; }
.plan.featured li::before { background-color: rgba(255,255,255,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 500; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--text); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; counter-reset: step; }
.step { counter-increment: step; }
.step::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 20px; }
.step h3 { margin: 18px 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--text); }

/* Case studies */
.case-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; background: #fff; }
.case-card:hover { border-color: var(--accent); color: var(--ink); }
.case-card .thumb { aspect-ratio: 16 / 10; background: #DCE2F5; display: flex; align-items: center; justify-content: center; color: var(--soft); font-size: 14px; font-weight: 600; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-card .body { padding: 24px; }
.case-card .tag { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.case-card h3 { margin: 8px 0; font-size: 21px; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 32px 0; }
.result { background: var(--tint); border-radius: 14px; padding: 20px; }
.result strong { display: block; font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.result span { color: var(--text); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; border-radius: 22px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; }
.cta-band p { margin: 8px 0 0; color: #E3E7FF; }

/* Inner page header */
.page-head { background: var(--tint); padding: 64px 0 56px; }
.page-head h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
.page-head p { margin: 16px 0 0; font-size: 19px; color: var(--text); max-width: 680px; }
.crumbs { font-size: 14px; color: var(--soft); margin-bottom: 14px; }
.crumbs a { color: var(--soft); text-decoration: none; }

/* Prose */
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 23px; margin: 1.5em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }

.layout-2 { display: flex; flex-wrap: wrap; gap: 56px; }
.layout-2 > .main { flex: 999 1 560px; min-width: 0; }
.layout-2 > .side { flex: 1 1 300px; }
.side-box { border: 1px solid var(--line); border-radius: 18px; padding: 28px; position: sticky; top: 96px; background: #fff; }
.side-box h3 { margin: 0 0 8px; font-size: 21px; }

/* Footer */
.site-footer { background: var(--footer); color: #C5CBE0; font-size: 15px; }
.site-footer a { color: #C5CBE0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding: 64px 0 40px; }
.footer-grid strong { color: #fff; display: block; margin-bottom: 10px; }
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { border-top: 1px solid #2A3250; padding: 20px 0 32px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Pagination */
.pager { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; padding: 0 12px; }
.pager .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.pager .disabled { opacity: .4; }
