/* One Stop Shop — shared stylesheet
   Palette (all text pairs verified >= 4.5:1 WCAG AA):
   navy #0B1F3A  navy-2 #132B4F  ink #1B2432  muted #4A5568
   accent #0B6E85  accent-light #6FD6E8  soft #F4F6FA  line #DDE3EC */

:root {
  --navy: #0B1F3A;
  --navy-2: #132B4F;
  --ink: #1B2432;
  --muted: #4A5568;
  --accent: #0B6E85;
  --accent-dark: #085A6D;
  --accent-light: #6FD6E8;
  --accent-tint: #E3F3F7;
  --soft: #F4F6FA;
  --line: #DDE3EC;
  --white: #FFFFFF;
  --ok: #1E7B4F;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.06);
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible {
  outline-color: var(--white);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--soft); padding: 0.1em 0.35em; border-radius: 4px; }

.skip-link {
  position: absolute; left: 0; top: -100px;
  background: var(--white); color: var(--navy);
  padding: 0.6rem 1rem; z-index: 100; font-weight: 600;
}
.skip-link:focus { top: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem 1.5rem;
  min-height: 72px; padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.01em; min-height: 44px;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-light); color: var(--navy);
  display: inline-grid; place-items: center;
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em;
}
.brand-sub { display: block; font-size: 0.72rem; font-weight: 500; color: #C3CDDC; letter-spacing: 0.04em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.site-nav a {
  color: #E6ECF5; text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 0.6rem 0.75rem; border-radius: 6px; display: inline-block; min-height: 44px; line-height: 1.5rem;
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--accent-light); border-radius: 0; }
.site-nav .btn { margin-left: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.65rem 1.25rem;
  border-radius: 8px; font-weight: 600; font-size: 0.97rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-light { background: var(--accent-light); color: var(--navy); border-color: var(--accent-light); }
.btn-light:hover { background: #8FE1EF; border-color: #8FE1EF; color: var(--navy); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.06); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 85% -10%, rgba(111,214,232,0.22), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); pointer-events: none;
}
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 1rem; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #C3CDDC; max-width: 56ch; margin-bottom: 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--accent); }
.hero.compact { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero.compact h1 { max-width: 20ch; }

.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  overflow: hidden; margin-top: 3rem;
}
.stat-strip > div { background: rgba(11,31,58,0.7); padding: 1.1rem 1.25rem; }
.stat-strip strong { display: block; color: var(--white); font-size: 1.05rem; }
.stat-strip span { color: #C3CDDC; font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: #C3CDDC; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section.dark .section-head p { color: #C3CDDC; }
.center { text-align: center; }
.center.section-head { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0.75rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-tint); color: var(--accent);
  display: grid; place-items: center;
}
.card .icon svg { width: 24px; height: 24px; }
.card-link { display: inline-block; margin-top: 0.75rem; font-weight: 600; }
.section.dark .card { background: var(--navy-2); border-color: rgba(255,255,255,0.1); box-shadow: none; }
.section.dark .card p, .section.dark .card li { color: #C3CDDC; }
.section.dark .card .icon { background: rgba(111,214,232,0.15); color: var(--accent-light); }

.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.75rem; position: relative; margin-bottom: 0.5rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--accent-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E85' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 65%; background-position: center; background-repeat: no-repeat;
}
.section.dark .check-list li::before, .pricing-card.featured .check-list li::before {
  background-color: rgba(111,214,232,0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FD6E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.split { display: grid; gap: 2.5rem; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.split .lead-col p { color: var(--muted); font-size: 1.05rem; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-weight: 700;
  color: var(--accent); font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 0.05em;
}
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.quote-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
blockquote.quote {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1rem;
}
blockquote.quote p { margin: 0; font-size: 1.02rem; }
blockquote.quote footer { color: var(--muted); font-size: 0.92rem; }
blockquote.quote footer strong { color: var(--ink); display: block; }

.cta-band { background: var(--navy); color: var(--white); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: var(--white); margin: 0 0 0.4rem; }
.cta-band p { margin: 0; color: #C3CDDC; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Service detail blocks ---------- */
.service-block { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block .grid-2 { gap: 2rem; }
.service-block h2 { margin-bottom: 0.75rem; }
.service-block .intro { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.detail-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.detail-list li { padding-left: 1.75rem; position: relative; }
.detail-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem; width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--accent);
}
.detail-list strong { display: block; color: var(--ink); }
.detail-list span { color: var(--muted); font-size: 0.97rem; }
.callout {
  background: var(--soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table-wrap table { min-width: 640px; }
.table-wrap .spec-table th, .table-wrap .spec-table td { padding: 0.85rem 1rem; }
.table-wrap .spec-table tr:last-child td { border-bottom: 0; }
.table-wrap .spec-table thead th { background: var(--soft); border-bottom: 1px solid var(--line); }
.scroll-hint { display: none; color: var(--muted); font-size: 0.85rem; margin: 0 0 0.5rem; }
@media (max-width: 700px) { .scroll-hint { display: block; } }
.subnav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.subnav a {
  color: var(--white); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 0.5rem 0.9rem; min-height: 44px; display: inline-flex; align-items: center;
}
.subnav a:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.pricing-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; position: relative;
}
.pricing-card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pricing-card.featured h3, .pricing-card.featured .price, .pricing-card.featured li { color: var(--white); }
.pricing-card.featured .plan-desc, .pricing-card.featured .price small, .pricing-card.featured .fine { color: #C3CDDC; }
.plan-badge {
  position: absolute; top: -0.8rem; left: 1.75rem; background: var(--accent-light); color: var(--navy);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px;
}
.pricing-card h3 { font-size: 1.35rem; margin: 0 0 0.25rem; }
.plan-desc { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.25rem; min-height: 3em; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink); margin-bottom: 0.25rem; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.fine { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.pricing-card .check-list { flex: 1; margin-bottom: 1.5rem; }
.pricing-card .check-list li { font-size: 0.96rem; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table td:first-child { font-weight: 500; }
.compare-table .group td { background: var(--soft); font-weight: 700; color: var(--ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--muted); }

.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-hero-card {
  background: var(--white); color: var(--ink); border-radius: 14px; padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.email-big { font-size: clamp(1.1rem, 2.6vw, 1.55rem); font-weight: 700; word-break: break-all; display: inline-block; margin: 0.25rem 0 1rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.25rem; margin: 0; }
.kv dt { color: var(--muted); font-size: 0.92rem; }
.kv dd { margin: 0; font-weight: 500; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; padding-top: 0.5rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.prose p, .prose li { color: #2A3444; }
.prose .meta { color: var(--muted); font-size: 0.95rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.toc strong { display: block; margin-bottom: 0.5rem; }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.toc li { break-inside: avoid; font-size: 0.95rem; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C3CDDC; padding: 3rem 0 2rem; margin-top: 0; }
.site-footer .container { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.site-footer a { color: #E6ECF5; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer li a { display: inline-block; padding: 0.3rem 0; }
.site-footer p { margin: 0 0 0.75rem; font-size: 0.95rem; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.88rem; }
.footer-bottom .brand { font-size: 1rem; }
.footer-bottom .brand-mark { width: 28px; height: 28px; font-size: 0.7rem; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .site-header .container { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; width: 100%; }
  .site-nav .btn { margin-left: 0; }
  .hero .actions .btn, .cta-band .actions .btn { width: 100%; }
  .kv { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .kv dd { margin-bottom: 0.75rem; }
  .card, .pricing-card, .steps li { padding: 1.25rem; }
}
