:root {
  --ink: #17212b;
  --deep: #223145;
  --blue: #345f78;
  --green: #5f7c70;
  --gold: #b48a44;
  --paper: #f7f5ef;
  --soft: #ece7dc;
  --white: #ffffff;
  --muted: #64707c;
  --line: rgba(23, 33, 43, 0.14);
  --shadow: 0 24px 70px rgba(23, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 10px 36px rgba(23, 33, 43, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(23, 33, 43, 0.16);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo circle {
  fill: rgba(255, 255, 255, 0.1);
  stroke: currentColor;
  stroke-width: 2;
}

.brand-logo text {
  fill: currentColor;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.logo-grid {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1;
  opacity: 0.24;
}

.logo-line,
.logo-arrow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.line-one {
  stroke: var(--gold);
}

.line-two,
.logo-arrow {
  stroke: #7fa191;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(18px, 6vw, 82px) 72px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 28, 38, 0.88) 0%, rgba(18, 28, 38, 0.66) 42%, rgba(18, 28, 38, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 28, 38, 0.5), rgba(18, 28, 38, 0.08));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.secondary {
  color: inherit;
  border-color: currentColor;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-item {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.intro-item span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.intro-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.intro-item p,
.service-card p,
.steps p,
.about-copy p,
.contact-panel p,
.site-footer p {
  color: var(--muted);
}

.section,
.process,
.about,
.contact {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 82px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(200px, 0.76fr) minmax(280px, 1.24fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-lede a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.06);
}

.icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep);
  background: #fbfaf6;
  font-size: 12px;
  font-weight: 900;
}

.service-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.service-logo circle {
  fill: #f4efe4;
  stroke: var(--deep);
  stroke-width: 2;
}

.service-logo text {
  fill: var(--deep);
  font-size: 10px;
  font-weight: 900;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
}

.service-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.process {
  color: var(--white);
  background: var(--deep);
}

.process .section-heading {
  align-items: start;
}

.process .eyebrow {
  color: #d1ad69;
}

.process-lede {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.18);
}

.steps article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.08);
}

.steps span {
  display: inline-block;
  margin-bottom: 28px;
  color: #d1ad69;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.steps p {
  color: rgba(255, 255, 255, 0.72);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--soft);
}

.about-copy {
  display: grid;
  gap: 18px;
  padding-top: 10px;
  font-size: 19px;
}

.contact {
  background: linear-gradient(135deg, var(--paper), #edf4ef);
}

.contact-panel {
  max-width: 930px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(30px, 6vw, 62px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.contact-panel p {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 18px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.contact-details div {
  min-height: 96px;
  padding: 18px;
  background: #fbfaf6;
}

.contact-details div:first-child {
  min-height: auto;
}

.contact-details span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details strong {
  display: block;
  color: var(--deep);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-person a {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-person a:hover,
.contact-person a:focus-visible {
  color: var(--deep);
}

.contact-address {
  grid-column: 1 / -1;
  text-align: center;
}

.contact .button.primary {
  color: var(--white);
  background: var(--deep);
}

.contact .button.secondary {
  color: var(--deep);
}

.visit-link {
  flex-basis: 100%;
  width: max-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.panel-disclosure {
  max-width: none;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(220px, 0.75fr) minmax(260px, 1.1fr);
  gap: 28px;
  padding: 34px clamp(18px, 6vw, 82px);
  color: rgba(255, 255, 255, 0.86);
  background: var(--ink);
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-contact {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.76);
  overflow-wrap: anywhere;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--white);
}

.disclosure {
  font-size: 13px;
}

.regulatory-disclosure {
  grid-column: 1 / -1;
  padding-top: 6px;
}

.questionnaire-page {
  background: var(--paper);
}

.questionnaire-page .site-header {
  position: sticky;
}

.questionnaire-hero {
  padding: 132px clamp(18px, 6vw, 82px) 46px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.92), rgba(52, 95, 120, 0.82)),
    url("assets/personal-cfo-hero.png") center / cover;
}

.questionnaire-logo {
  display: grid;
  width: 116px;
  height: 142px;
  place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(23, 33, 43, 0.22);
}

.questionnaire-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.questionnaire-hero h1 {
  max-width: 950px;
  font-size: clamp(36px, 5vw, 62px);
}

.questionnaire-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.questionnaire-section {
  padding: clamp(38px, 7vw, 82px) clamp(18px, 6vw, 82px);
}

.questionnaire-form {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.questionnaire-form fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.06);
}

.questionnaire-form legend {
  padding: 0 8px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
}

.questionnaire-form label {
  display: grid;
  gap: 8px;
  color: var(--deep);
  font-weight: 700;
}

.questionnaire-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.questionnaire-form input[type="text"],
.questionnaire-form input[type="tel"],
.questionnaire-form input[type="email"],
.questionnaire-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf6;
  font: inherit;
}

.questionnaire-form textarea {
  resize: vertical;
}

.questionnaire-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 16px 0 0;
}

.form-actions .button.primary {
  color: var(--white);
  background: var(--deep);
}

.form-actions .button.secondary {
  color: var(--deep);
  border-color: var(--deep);
}

.form-note {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 980px) {
  .service-grid,
  .steps,
  .intro-band {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    min-height: 360px;
  }

  .section-heading,
  .about,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 18px 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 28, 38, 0.9), rgba(18, 28, 38, 0.58)),
      linear-gradient(0deg, rgba(18, 28, 38, 0.56), rgba(18, 28, 38, 0.14));
  }

  .hero-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .steps,
  .intro-band {
    grid-template-columns: 1fr;
  }

  .service-card,
  .steps article {
    min-height: auto;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details div:first-child {
    grid-column: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: 190px;
    overflow-wrap: anywhere;
  }
}
