
:root {
  --navy: #10243f;
  --navy-deep: #0a182a;
  --gold: #c8a45d;
  --gold-soft: #efe4cc;
  --cream: #f7f3eb;
  --paper: #ffffff;
  --ink: #1c2836;
  --muted: #657080;
  --line: #dfe4e8;
  --green: #2f6e60;
  --shadow: 0 20px 60px rgba(15, 37, 63, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16,36,63,.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 24px;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 19px; color: var(--navy); }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover { color: var(--gold); }

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.link-button { color: var(--navy); font-size: 14px; font-weight: 600; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16,36,63,.18); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.button-secondary { background: transparent; color: var(--navy); }
.button-full { width: 100%; }
.button-secondary-dark { background: transparent; border-color: white; color: white; }
.button-light { background: white; border-color: white; color: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(200,164,93,.18), transparent 28%),
    linear-gradient(135deg, #f8f5ef, #eef3f6);
  padding: 92px 0 88px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -230px;
  border: 1px solid rgba(200,164,93,.4);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 66px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 15px;
}

h1, h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(44px, 5.3vw, 72px); max-width: 760px; }
h2 { font-size: clamp(34px, 4vw, 50px); }

h3 { color: var(--navy); margin: 0 0 10px; line-height: 1.3; }

.hero-lead {
  max-width: 680px;
  font-size: 19px;
  color: #4b5968;
  margin: 26px 0 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.hero-card {
  position: relative;
  z-index: 2;
  padding: 30px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(16,36,63,.08);
}

.step-label {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 800;
}

.hero-card h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 27px;
  margin: 6px 0 20px;
}

.choice-grid { display: grid; gap: 10px; margin-bottom: 18px; }

.choice-card {
  width: 100%;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  background: white;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}

.choice-card:hover, .choice-card.active {
  border-color: var(--gold);
  background: #fffcf6;
}

.choice-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--navy);
  flex: 0 0 auto;
  font-size: 20px;
}

.choice-card strong, .choice-card small { display: block; }
.choice-card small { color: var(--muted); margin-top: 2px; }

.privacy-note { color: var(--muted); font-size: 12px; text-align: center; margin: 12px 0 0; }

.public-paths {
  margin-top: -28px;
  position: relative;
  z-index: 4;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.path-card {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.path-card:last-child { border-right: 0; }
.number { color: var(--gold); font-weight: 800; letter-spacing: .1em; }
.path-card p { color: var(--muted); }
.path-card a, .service-card a, .guide-card a, .section-heading > a { color: var(--green); font-weight: 700; }

.section { padding: 100px 0; }

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading > p { max-width: 440px; color: var(--muted); }
.centered { display: block; text-align: center; max-width: 800px; margin: 0 auto 52px; }
.centered p { max-width: 720px; margin: 18px auto 0; color: var(--muted); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  transition: .2s ease;
}

.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16,36,63,.09); }
.service-icon { font-size: 27px; color: var(--gold); }
.service-card p { color: var(--muted); min-height: 76px; }

.process-section { background: var(--cream); }

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-line article {
  position: relative;
  padding-top: 26px;
}

.process-line article::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 34px;
  width: calc(100% - 18px);
  height: 1px;
  background: #cfd6db;
}

.process-line article:last-child::before { display: none; }

.process-line span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 700;
  margin-bottom: 18px;
}

.process-line p { color: var(--muted); font-size: 14px; }

.fee-section { background: var(--navy); color: white; }
.fee-section h2 { color: white; }
.fee-section p { color: #d1d9e1; }

.fee-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.fee-card {
  background: white;
  color: var(--ink);
  border-radius: 14px;
  padding: 28px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.fee-row strong { color: var(--green); }
.fee-card p { color: var(--muted); font-size: 13px; }

.search-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 42px;
  background: linear-gradient(135deg, white, #f8fafb);
}

.notary-search {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 14px;
  margin-top: 30px;
  align-items: end;
}

.notary-search label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
}

.notary-search select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  background: white;
}

.guides-section { background: #f8fafb; }

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  background: white;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--line);
}

.guide-card > span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 800;
}

.guide-card p { color: var(--muted); }

.trust-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.trust-list { display: grid; gap: 14px; }

.trust-list div {
  border-left: 3px solid var(--gold);
  padding: 13px 0 13px 18px;
}

.trust-list strong, .trust-list span { display: block; }
.trust-list span { color: var(--muted); margin-top: 4px; }

.cta-section {
  background: linear-gradient(135deg, var(--green), #244f47);
  color: white;
  padding: 68px 0;
}

.cta-wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.cta-section h2 { color: white; max-width: 780px; }
.eyebrow-light { color: #dfeeea; }

.cta-actions { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.text-link-light { color: white; font-weight: 700; }

.professional-strip {
  background: var(--navy-deep);
  color: white;
  padding: 24px 0;
}

.professional-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.professional-wrap strong, .professional-wrap span { display: block; }
.professional-wrap span { color: #aab6c4; font-size: 14px; margin-top: 3px; }
.professional-wrap a { color: var(--gold); font-weight: 700; }

.site-footer {
  background: #07121f;
  color: #c5ced8;
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 45px;
}

.footer-brand .brand-mark { background: var(--gold); color: var(--navy); }
.footer-brand strong { color: white; }
.site-footer h4 { color: white; margin: 0 0 16px; }
.site-footer a { display: block; margin: 9px 0; font-size: 14px; }
.site-footer p { max-width: 390px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
}

@media (max-width: 980px) {
  .main-nav, .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open {
    display: grid;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 22px;
    box-shadow: var(--shadow);
    border-radius: 10px;
  }
  .hero-grid, .fee-grid, .trust-grid { grid-template-columns: 1fr; }
  .three-col, .services-grid, .guides-grid { grid-template-columns: 1fr 1fr; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .process-line article::before { display: none; }
  .notary-search { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 62px; }
  h1 { font-size: 43px; }
  .hero-card { padding: 22px; }
  .three-col, .services-grid, .guides-grid, .process-line,
  .notary-search, .footer-grid { grid-template-columns: 1fr; }
  .path-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .section-heading, .cta-wrap, .professional-wrap, .footer-bottom {
    display: block;
  }
  .section-heading > p { margin-top: 16px; }
  .cta-actions { margin-top: 26px; flex-wrap: wrap; }
  .professional-wrap a { display: inline-block; margin-top: 15px; }
  .search-panel { padding: 28px 20px; }
}

/* ============================================================
   Fusion additions — demo banner, legal pages, directory,
   estimator, note cards. Same token system as above.
   ============================================================ */

.demo-banner {
  background: var(--navy-deep);
  color: var(--gold-soft);
  text-align: center;
  font-size: 13px;
  padding: 9px 16px;
  line-height: 1.5;
}
.demo-banner strong { color: #fff; }

.measured-claim {
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin-top: 18px;
}

/* Legal / long-form pages */
.legal-container { max-width: 820px; }
.legal-page h1 { font-family: "Playfair Display", serif; color: var(--navy); font-size: clamp(30px, 4vw, 42px); margin: 8px 0 10px; }
.legal-block { border-top: 1px solid var(--line); padding: 28px 0 6px; margin-top: 22px; }
.legal-block h2 { font-family: "Playfair Display", serif; color: var(--navy); font-size: 24px; margin: 0 0 10px; }
.legal-block a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
.fill-in {
  background: var(--gold-soft);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--navy);
}

/* Note card */
.note-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 28px;
}
.note-card strong { color: var(--navy); display: block; margin-bottom: 6px; }
.note-card p { margin: 0; font-size: 14.5px; }
.note-card a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }

/* Directory */
.directory-search { margin-top: 26px; }
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.notary-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 26px rgba(15,37,63,.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notary-card h3 { margin: 4px 0 0; font-family: "Playfair Display", serif; color: var(--navy); }
.notary-card .button { margin-top: auto; align-self: flex-start; }
.notary-meta { color: var(--muted); font-size: 13.5px; margin: 0; }
.sample-tag {
  align-self: flex-start;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Estimator */
.estimator-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: start;
}
.est-form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.est-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.est-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  background: var(--paper);
}
.est-assumptions {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--cream);
}
.est-assumptions summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 14px; }
.est-assumptions label { margin-top: 10px; }
.est-result h2 { font-family: "Playfair Display", serif; margin-top: 0; }
.fee-total { border-top: 2px solid var(--gold); font-size: 15.5px; }
.fee-total strong { color: var(--navy); }

@media (max-width: 900px) {
  .estimator-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- crest brand mark (v4.19) ---- */
.brand-mark-img { height:38px; width:auto; display:block; }
.sg-brand .brand-mark-img { height:30px; margin-right:9px; }
.sg-brand { display:flex; align-items:center; }
.footer-brand .brand-mark-img { height:44px; }
@media (max-width:600px){ .brand-mark-img { height:32px; } }


/* ---------- v4.28: independence strip, responsibility table ---------- */
.indep-strip {
  background: #f7f4ec;
  border-bottom: 1px solid var(--ln, #e3e0d8);
  font-size: 13px;
  line-height: 1.55;
  color: #4a4f5a;
}
.indep-inner { padding: 11px 0; color: #4a4f5a; }
.indep-inner strong { color: var(--navy, #16283f); }
.indep-inner a { color: var(--navy, #16283f); white-space: nowrap; font-weight: 600; }
@media (max-width: 600px) { .indep-strip { font-size: 12.5px; } }

.resp-table { width: 100%; border-collapse: collapse; margin: 22px 0 6px; font-size: 14px; }
.resp-table th, .resp-table td {
  border: 1px solid var(--ln, #e3e0d8); padding: 10px 13px; text-align: left; vertical-align: top;
}
.resp-table th { background: #f7f4ec; color: var(--navy, #16283f); font-size: 13px;
  text-transform: uppercase; letter-spacing: .04em; }
.resp-table td:first-child { color: #4a4f5a; }
.resp-table td:last-child { color: var(--navy, #16283f); font-weight: 500; }
@media (max-width: 700px) { .resp-table { font-size: 13px; } .resp-table th, .resp-table td { padding: 8px 9px; } }

.accept-note {
  border-left: 3px solid var(--gold, #b8912f); background: #faf8f2;
  padding: 14px 18px; margin: 20px 0 0; font-size: 14.5px; line-height: 1.6; color: #3a3f4a;
}
.accept-note strong { color: var(--navy, #16283f); display: block; margin-bottom: 4px; }

.text-link { color: var(--navy, #16283f); font-weight: 700; align-self: center; }
.pro-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; white-space: nowrap; }
.professional-wrap { flex-wrap: wrap; }
@media (max-width: 700px) { .pro-actions { align-items: flex-start; } }

.pro-unavailable { display:inline-block; font-size:12.5px; color:#6b7280; font-style:italic; margin-top:4px; }
