/* Shared styles for the service pages (index.html keeps its own inline styles). Same tokens and look as the start page. */
:root {
  --bg: #EAECF0;
  --fg: #1D1D1F;
  --muted: #E1E4E9;
  --muted-fg: #6E6E73;
  --card: #FFFFFF;
  --hair: rgba(0,0,0,.08);
  --accent: #0066FF;
  --accent-2: #4D94FF;
  --accent-hover: #0057DB;
  --accent-soft: rgba(0,102,255,.08);
  --shadow: 0 2px 6px rgba(0,0,0,.03), 0 12px 32px rgba(0,0,0,.05);
  --mark-a: #111111;
  --mark-b: #0066FF;
  --wm: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.25,.1,.25,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 68rem; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 640px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
section { padding-block: 4.5rem; }
@media (min-width: 900px) { section { padding-block: 6rem; } }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; }
h1 { letter-spacing: -.045em; }
h2 { letter-spacing: -.035em; }
h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.grad { padding: 0 .04em .16em 0; margin: 0 -.04em -.16em 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

body > nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: rgba(234,236,240,.75); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
body > nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand .mark { width: 38px; height: 26px; flex: none; }
.wm { display: grid; line-height: 1; gap: 4px; }
.wm b { font-family: var(--wm); font-weight: 600; font-size: .82rem; letter-spacing: .16em; }
.wm span { font-family: var(--wm); font-weight: 400; font-size: .5rem; letter-spacing: .62em; color: var(--muted-fg); padding-left: .1em; }
.navlinks { display: none; gap: 1.6rem; font-size: .85rem; }
.navlinks a { text-decoration: none; color: var(--muted-fg); transition: color .2s; }
.navlinks a:hover { color: var(--fg); }
@media (min-width: 860px) { .navlinks { display: flex; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 3rem; padding: 0 1.4rem; border-radius: 999px; font: 500 1rem var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 0; transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; box-shadow: 0 0 0 1px var(--accent); }
body > nav .btn { height: 2.1rem; padding: 0 1rem; font-size: .85rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: #111111; color: #fff; box-shadow: 0 6px 18px rgba(17,17,17,.18); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(0,102,255,.18), 0 12px 28px rgba(17,17,17,.28); }
.btn-light { background: #fff; color: #111111; box-shadow: inset 0 0 0 1.5px rgba(17,17,17,.14), 0 6px 18px rgba(0,0,0,.06); }
.btn-light:hover { transform: translateY(-2px); background: #0066FF; color: #fff; box-shadow: inset 0 0 0 1.5px #0066FF, 0 12px 28px rgba(0,102,255,.3); }

.crumbs { font-size: .85rem; color: var(--muted-fg); margin-bottom: 1.5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

.hero { padding-block: 4rem 3rem; }
@media (min-width: 900px) { .hero { padding-block: 6rem 4rem; } }
.eyebrow { font-size: .95rem; font-weight: 600; color: var(--accent); letter-spacing: -.01em; }
.hero h1 { font-size: clamp(2.5rem, 6.5vw, 4.6rem); line-height: 1.04; max-width: 52rem; margin: .8rem 0 1.4rem; }
.hero .lede { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; color: var(--muted-fg); max-width: 42rem; }
.hero .lede strong { color: var(--fg); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.head { display: grid; gap: 1rem; max-width: 42rem; margin-bottom: 3rem; }
.head h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; }
.head p { color: var(--muted-fg); font-size: 1.15rem; line-height: 1.5; }

.grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border-radius: 24px; padding: 1.75rem; display: grid; gap: .6rem; align-content: start; box-shadow: var(--shadow); }
.card p { color: var(--muted-fg); }
.card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: .3rem; }

.prose { background: var(--card); border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); display: grid; gap: 1.1rem; max-width: 52rem; }
.prose h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.12; }
.prose p, .prose li { color: #3A3A3C; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--card); border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow); display: grid; gap: .4rem; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, #0066FF, #4D94FF); margin-bottom: .4rem; }
.steps p { color: var(--muted-fg); font-size: 1rem; }

.quote { margin: 0; background: var(--card); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); display: grid; gap: 1.25rem; max-width: 52rem; }
.quote blockquote { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.45; letter-spacing: -.02em; }
.quote figcaption { display: grid; font-size: .95rem; }
.quote figcaption small { color: var(--muted-fg); font-size: .9rem; }

.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.4rem; font-weight: 600; letter-spacing: -.015em; position: relative; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; translate: 0 -50%; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: rotate .3s var(--ease-out); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 1.4rem 1.3rem; color: #3A3A3C; }

.related { display: grid; gap: .75rem; }
@media (min-width: 720px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { background: var(--card); border-radius: 18px; padding: 1.2rem 1.3rem; text-decoration: none; box-shadow: var(--shadow); display: grid; gap: .2rem; transition: transform .4s var(--ease-out); }
.related a:hover { transform: translateY(-3px); }
.related b { font-weight: 600; }
.related small { color: var(--muted-fg); font-size: .9rem; }

.cta { background: radial-gradient(120% 90% at 70% 40%, #F1F2F5 0%, #E8EAEE 60%, #DFE2E7 100%); }
.cta .panel { background: rgba(255,255,255,.85); border-radius: 32px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 30px 60px rgba(17,17,17,.1); display: grid; gap: 1.2rem; justify-items: center; text-align: center; max-width: 46rem; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.06; }
.cta p { color: var(--muted-fg); font-size: 1.15rem; max-width: 34rem; }
.cta .ctas { justify-content: center; margin-top: .5rem; }

footer { padding-block: 2.5rem 2rem; font-size: .85rem; color: var(--muted-fg); background: var(--muted); }
footer .cols { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 720px) { footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
footer h2 { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--fg); margin-bottom: .6rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }
footer .bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 1px solid var(--hair); padding-top: 1.25rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
