/* Lulu Publishing Services - site styles. Palette: indigo #564FD0, slate #303A4D, lavender #DBDDFD, warm paper #F5F4F2. */
:root {
  --indigo: #564FD0;
  --indigo-dark: #4540B4;
  --indigo-deep: #353190;
  --slate: #303A4D;
  --ink: #192229;
  --muted: #525F75;
  --lav: #DBDDFD;
  --lav-soft: #EEEDFB;
  --paper: #F5F4F2;
  --amber: #F2B544;
  --white: #ffffff;
  --line: #E1E0EA;
  --ok: #1C7C54;
  --err: #B3261E;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(25, 34, 41, .06), 0 8px 24px rgba(48, 58, 77, .08);
  --shadow-lg: 0 2px 4px rgba(25, 34, 41, .06), 0 20px 48px rgba(48, 58, 77, .16);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --maxw: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--indigo-dark); text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--slate); margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--slate); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px; z-index: 1000; font-weight: 700; }
.skip-link:focus { top: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .94rem; color: var(--muted); }
.note { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1.2 var(--font-body); padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 6px 16px rgba(86, 79, 208, .32); }
.btn-primary:hover { background: var(--indigo-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--indigo-deep); border-color: var(--indigo); }
.btn-outline:hover { background: var(--lav-soft); color: var(--indigo-deep); }
.btn-light { background: #fff; color: var(--indigo-deep); }
.btn-light:hover { background: var(--lav); color: var(--indigo-deep); transform: translateY(-1px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-lg { font-size: 1.05rem; padding: 1em 1.8em; }
.btn-block { display: flex; width: 100%; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lav); }
.text-link:hover { border-bottom-color: var(--indigo); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--slate); }
.brand:hover { color: var(--slate); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--indigo-deep); }
.brand-sub { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { text-decoration: none; color: var(--slate); font-weight: 600; font-size: .98rem; padding: 10px 12px; border-radius: 8px; }
.nav-list a:hover { background: var(--lav-soft); color: var(--indigo-deep); }
.nav-list a[aria-current="page"] { color: var(--indigo-deep); background: var(--lav-soft); }
.menu-toggle { width: 26px; height: 32px; padding: 0; margin-left: -8px; border: 0; background: transparent; cursor: pointer; border-radius: 6px; position: relative; }
.menu-toggle::after { content: ""; position: absolute; left: 8px; top: 12px; width: 7px; height: 7px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg); transition: transform .2s; }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); top: 15px; }
.mega { position: absolute; top: 100%; left: -20px; min-width: 520px; display: none; grid-template-columns: repeat(3, 1fr); gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 24px; }
.mega-guides { min-width: 460px; grid-template-columns: repeat(2, 1fr); }
.has-menu.open > .mega, .has-menu:hover > .mega, .has-menu:focus-within > .mega { display: grid; }
.mega-title { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: 7px 10px; margin: 0 -10px; font-weight: 600; font-size: .95rem; }
.mega-all { margin: 12px 0 0; }
.mega-all a { color: var(--indigo-dark); font-weight: 800; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--slate); border-radius: 2px; transition: transform .2s, top .2s, opacity .2s; content: ""; }
.nav-toggle-bars { top: 22px; }
.nav-toggle-bars::before { left: 0; top: -6px; }
.nav-toggle-bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 20px 22px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list a { flex: 1; padding: 14px 6px; font-size: 1.05rem; }
  .menu-toggle { width: 48px; height: 48px; margin: 0; }
  .menu-toggle::after { left: 20px; top: 20px; }
  .menu-toggle[aria-expanded="true"]::after { top: 23px; }
  .mega { position: static; display: none; width: 100%; min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: 4px 6px 14px; grid-template-columns: 1fr; gap: 10px; }
  .mega-guides { min-width: 0; grid-template-columns: 1fr; }
  .has-menu:hover > .mega, .has-menu:focus-within > .mega { display: none; }
  .has-menu.open > .mega { display: grid; }
  .nav-cta { margin-top: 16px; }
}

/* ---------- hero + page hero ---------- */
.hero { background: radial-gradient(1000px 520px at 85% -10%, var(--lav) 0%, rgba(219, 221, 253, 0) 60%), linear-gradient(180deg, var(--lav-soft) 0%, #fff 100%); padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-dark); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--slate); font-weight: 600; font-size: .96rem; }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 9px; vertical-align: 1px; }
.hero-visual { display: flex; justify-content: center; }
.hero-art { width: 100%; max-width: 480px; }
.page-hero { background: linear-gradient(180deg, var(--lav-soft) 0%, #fff 100%); padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } .hero-art { max-width: 320px; } }

.breadcrumbs { background: #fff; border-bottom: 1px solid var(--line); font-size: .9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 12px 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 9px; color: #A6AEBD; }
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--indigo-deep); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--slate); font-weight: 700; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section-tint { background: var(--paper); }
.section-dark { background: linear-gradient(135deg, var(--slate) 0%, var(--ink) 100%); color: #E9ECF3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--amber); }
.section-head { max-width: 780px; margin: 0 0 clamp(26px, 4vw, 44px); }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head-light p { color: #C9D0DE !important; }
.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.two-col-wide { grid-template-columns: 1fr 1.5fr; }
.two-col-form { grid-template-columns: 1fr 1fr; align-items: start; }
.two-col-even { grid-template-columns: 1fr 1fr; }
.two-col-main-side { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 900px) { .two-col, .two-col-wide, .two-col-form, .two-col-even, .two-col-main-side { grid-template-columns: 1fr; } }
.lead-text { font-size: 1.15rem; color: var(--muted); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--indigo); color: var(--slate); font-style: italic; }
.prose a { font-weight: 600; }
.center-note { margin-top: 28px; color: var(--muted); }
.empty { padding: 40px; text-align: center; background: var(--paper); border-radius: var(--radius); color: var(--muted); }

/* ---------- cards + grids ---------- */
.role-grid, .format-grid, .service-grid, .benefit-grid, .quote-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.role-grid { grid-template-columns: repeat(4, 1fr); }
.format-grid { grid-template-columns: repeat(3, 1fr); }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
.benefit-grid { grid-template-columns: repeat(3, 1fr); }
.quote-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1020px) { .role-grid { grid-template-columns: repeat(2, 1fr); } .service-grid, .service-grid-3, .benefit-grid, .quote-grid, .format-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .role-grid, .service-grid, .service-grid-3, .benefit-grid, .quote-grid, .format-grid { grid-template-columns: 1fr; } }
.role-card, .format-card, .service-card, .benefit-card, .quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.section-tint .role-card, .section-tint .service-card, .section-tint .benefit-card { background: #fff; }
.role-card h3, .format-card h3, .benefit-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.role-card p, .format-card p, .benefit-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.format-card { border-top: 4px solid var(--indigo); }
.service-card { display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card h3 { margin-bottom: .45em; }
.service-card h3 a { color: var(--slate); text-decoration: none; }
.service-card h3 a:hover { color: var(--indigo-deep); }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--lav); color: var(--indigo-deep); margin-bottom: 16px; }
.promise-list { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise-list li { counter-increment: p; position: relative; background: var(--paper); border-radius: var(--radius); padding: 20px 22px 20px 76px; }
.promise-list li::before { content: counter(p); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.promise-list h3 { margin-bottom: .25em; font-size: 1.12rem; }
.promise-list p { margin: 0; color: var(--muted); }
.stat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .stat-grid { grid-template-columns: 1fr; } }
.stat { padding: 28px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
.stat-figure { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--amber); line-height: 1.1; margin-bottom: 8px; }
.stat-label { color: #D5DBE8; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.steps-five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .steps, .steps-five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps, .steps-five { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section:not(.section-tint) .step { background: var(--paper); border-color: transparent; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--indigo); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
.quote-card blockquote { margin: 0 0 14px; }
.quote-card blockquote p { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.45; color: var(--slate); margin: 0; }
.quote-card blockquote p::before { content: "\201C"; display: block; font-size: 3rem; line-height: .8; color: var(--indigo); margin-bottom: 4px; }
.quote-by { margin: 0; font-weight: 700; color: var(--muted); font-size: .92rem; }

/* ---------- lists ---------- */
.check-list, .dot-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li, .dot-list li { position: relative; padding-left: 32px; margin-bottom: .7em; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--lav) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.4 3 3 6-6.4' fill='none' stroke='%23353190' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.dot-list li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 28px; }
.pill-list a { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--slate); font-size: .95rem; }
.pill-list a:hover, .pill-list a[aria-current="page"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.mini-steps { padding-left: 1.2em; margin-bottom: 1.6em; }
.mini-steps li { margin-bottom: .6em; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.contact-list li { margin-bottom: .4em; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--indigo) 0%, var(--indigo-deep) 100%); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #E4E3FA; max-width: 42em; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.section-tint .faq { background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--slate); padding: 18px 54px 18px 20px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq[open] summary { color: var(--indigo-deep); }
.faq p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.form-card-sticky { position: sticky; top: calc(var(--header-h) + 18px); }
.form-card-title { font-size: 1.4rem; margin-bottom: .2em; }
.form-card-sub { color: var(--muted); font-size: .96rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .93rem; color: var(--slate); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #C7CCD8; border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: #98A1B6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(86, 79, 208, .22); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.field-error { margin: 6px 0 0; color: var(--err); font-size: .88rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-weight: 700; font-size: .96rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.lead-form.sent .field, .lead-form.sent button[type=submit] { display: none; }

/* ---------- popup + floating button ---------- */
.quote-dialog { border: 0; padding: 0; border-radius: 18px; width: min(480px, calc(100vw - 28px)); max-height: calc(100vh - 28px); box-shadow: var(--shadow-lg); color: var(--ink); }
.quote-dialog::backdrop { background: rgba(25, 34, 41, .62); }
.quote-dialog-inner { padding: clamp(22px, 4vw, 34px); position: relative; overflow-y: auto; max-height: calc(100vh - 28px); }
.dialog-close { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--lav-soft); color: var(--slate); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--lav); }
.quote-title { font-size: 1.6rem; padding-right: 40px; margin-bottom: .2em; }
.quote-intro { color: var(--muted); margin-bottom: 1.2em; }
.float-quote { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: var(--indigo); color: #fff; font: 800 .98rem var(--font-body); border: 0; border-radius: 999px; padding: 14px 24px; box-shadow: 0 10px 28px rgba(53, 49, 144, .45); cursor: pointer; transition: transform .18s, background-color .18s; }
.float-quote:hover { background: var(--indigo-dark); transform: translateY(-2px); }
@media (max-width: 520px) { .float-quote { right: 12px; bottom: 12px; padding: 12px 20px; } }

/* ---------- service page ---------- */
.svc-hero { background: radial-gradient(900px 420px at 90% -20%, var(--lav) 0%, rgba(219, 221, 253, 0) 62%), linear-gradient(180deg, var(--lav-soft) 0%, #fff 100%); padding: clamp(32px, 5vw, 64px) 0 clamp(36px, 5vw, 72px); }
.svc-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; } .form-card-sticky { position: static; } }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1020px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.2rem; margin-bottom: .45em; }
.post-card h3 a { color: var(--slate); text-decoration: none; }
.post-card h3 a:hover { color: var(--indigo-deep); }
.post-card p { color: var(--muted); font-size: .98rem; }
.post-card .text-link { margin-top: auto; align-self: flex-start; }
.post-meta { font-size: .84rem; font-weight: 700; color: var(--muted); margin-bottom: .6em !important; text-transform: uppercase; letter-spacing: .06em; }
.post-meta a { color: var(--indigo-dark); text-decoration: none; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.pagination-info { font-weight: 700; color: var(--muted); }
.post-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.post-byline { color: var(--muted); font-size: .96rem; margin: 0; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); padding-top: 36px; padding-bottom: 64px; align-items: start; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } }
.post-figure { margin: 0 0 24px; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.post-excerpt { font-size: 1.18rem; color: var(--muted); font-weight: 500; }
.toc { background: var(--paper); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.toc-title { font-weight: 800; margin: 0 0 8px; color: var(--slate); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: .25em; }
.toc .toc-l3 { margin-left: 1em; font-size: .94rem; }
.post-content { max-width: none; }
.post-content h2, .post-content h3 { scroll-margin-top: calc(var(--header-h) + 16px); }
.author-box { display: flex; gap: 16px; margin-top: 40px; padding: 22px; background: var(--paper); border-radius: var(--radius); }
.author-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.author-name { font-weight: 800; margin: 0 0 4px; color: var(--slate); }
.author-box p { margin: 0 0 4px; color: var(--muted); font-size: .96rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C9D0DE; padding: clamp(44px, 6vw, 72px) 0 28px; margin-top: 0; }
.site-footer a { color: #E4E8F1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--lav); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: #A7B0C2; }
.footer-about p { margin: 18px 0; font-size: .96rem; max-width: 34em; }
.footer-contact, .footer-social { list-style: none; padding: 0; margin: 0 0 14px; font-size: .96rem; }
.footer-social { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; font-size: .96rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 24px; }
.disclaimer { font-size: .84rem; color: #A7B0C2; max-width: 80em; }
.copyright { font-size: .88rem; margin: 0; color: #A7B0C2; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn-primary:hover, .btn-light:hover, .service-card:hover, .float-quote:hover { transform: none; }
}
@media print { .site-header, .float-quote, .quote-dialog, .cta-band { display: none !important; } }
