:root {
  --ink: #0f1c2e;
  --ink-soft: #2a3a4f;
  --muted: #5c6b7e;
  --line: #e4e9f0;
  --paper: #f7f8fa;
  --white: #ffffff;
  --accent: #1a9080;
  --accent-hover: #147a6c;
  --accent-soft: #e8f5f2;
  --max: 1120px;
  --pad: clamp(1.5rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 7.5rem);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 28, 46, 0.04), 0 12px 40px rgba(15, 28, 46, 0.06);
  --font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1rem; color: var(--ink-soft); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * 0.7) 0; }
.section-paper { background: var(--paper); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), #0f4f45);
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: none; }
@media (min-width: 820px) {
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
.menu-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 4.25rem;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem var(--pad) 1.5rem;
  border-bottom: 1px solid var(--line);
  gap: 0.85rem;
}
@media (max-width: 819px) {
  .nav-links { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: #22a897;
  color: white;
}
.btn-primary:hover { background: #1a9080; color: white; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Hero */
.hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
}
.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin-bottom: 0.5rem; }
.hero-card p { margin-bottom: 0; font-size: 0.98rem; }
.hero-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--ink);
}
.hero-stat span { font-size: 0.8rem; color: var(--muted); }

/* Cards */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-2 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover {
  border-color: #c9d4e0;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.15rem;
}
.card p:last-child { margin-bottom: 0; }
.card a.more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Split */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 1.25rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0.85rem 0 0.25rem;
  max-width: 42rem;
}

/* Industry chips */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.chip {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Page hero */
.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
}
.page-hero .lead { margin-bottom: 0; }

/* Form */
.form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}
.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

/* Embed placeholder */
.embed-slot {
  border: 2px dashed #b8c9c4;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.embed-slot strong { color: var(--accent); display: block; margin-bottom: 0.35rem; }
.embed-slot p { margin: 0; font-size: 0.95rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: var(--ink);
  color: #c5ced9;
  margin-top: 2rem;
}
.site-footer a { color: #e8eef5; }
.site-footer a:hover { color: white; }
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 {
  color: white;
  font-family: var(--font);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.site-footer p,
.site-footer li { color: #a8b4c2; font-size: 0.92rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8795a6;
}
.paraphone {
  font-size: 0.85rem;
  color: #8795a6;
}
.paraphone a { color: #9fd9ce; }

/* Logo submark */
.logo-stack { display: flex; flex-direction: column; gap: 0.05rem; line-height: 1.15; }
.logo-name { font-weight: 600; }
.logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font);
}
.site-header .logo-sub { margin: 0; }
.site-footer .logo-sub { color: #8795a6; }

/* Nav CTA — brighter against sticky white bar */
.nav-cta .btn-primary {
  background: #22a897;
  padding: 0.7rem 1.25rem;
}
.nav-cta .btn-primary:hover { background: #1a9080; color: white; }

/* Dense KB blocks */
.dense-list { margin: 0 0 1rem; padding-left: 1.15rem; color: var(--ink-soft); }
.dense-list li { margin-bottom: 0.45rem; }
.prose-block h3 { margin-top: 1.75rem; }
.fee-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 720px) {
  .fee-grid { grid-template-columns: repeat(3, 1fr); }
}
.fee-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.fee-card .price {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0.35rem 0 0.75rem;
}
.fee-card .price span { font-size: 0.9rem; color: var(--muted); font-family: var(--font); }
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  position: relative;
  padding: 1.25rem 0 1.25rem 3.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.steps strong { color: var(--ink); display: block; margin-bottom: 0.25rem; }

/* Social icons (non-linking demo) */
.socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.social {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  color: #c5ced9;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: default;
  user-select: none;
}
.social svg { width: 16px; height: 16px; fill: currentColor; }
.muted-note { font-size: 0.85rem; color: var(--muted); }
.two-col-dense {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .two-col-dense { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
