:root {
  --ink: #2f174d;
  --ink-soft: #563d6e;
  --lilac: #eee7f4;
  --lilac-light: #f8f4fa;
  --gold: #b9984f;
  --gold-light: #d7c18a;
  --cream: #fbf8f3;
  --paper: #fffdf9;
  --text: #302b32;
  --muted: #716a73;
  --line: rgba(47, 23, 77, 0.13);
  --shadow: 0 18px 50px rgba(47, 23, 77, 0.09);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name,
.footer-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.brand-role {
  margin-top: 7px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.header-cta {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
}

.hero {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 570px;
  margin: 0 auto;
  padding: 72px clamp(36px, 7vw, 92px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,.9) 0 4%, transparent 4.3%),
    radial-gradient(circle at 89% 31%, rgba(215,193,138,.38) 0 8%, transparent 8.3%),
    linear-gradient(135deg, #f3edf7 0%, #faf6f2 58%, #eee5f3 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, .55fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -190px;
  bottom: -210px;
  border: 1px solid rgba(185, 152, 79, .35);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 5.6rem);
  letter-spacing: -.035em;
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 34px;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.hero-lead em {
  display: block;
}

.button-primary {
  display: inline-block;
  background: var(--ink);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 25px;
  font-size: .92rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(47, 23, 77, .16);
}

.hero-mark {
  position: relative;
  z-index: 1;
  padding: 42px 26px;
  border-left: 1px solid var(--gold-light);
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .75rem;
  line-height: 1.8;
}

.hero-mark-leaf {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 2.7rem;
  line-height: 1;
}

.solutions-section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
}

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

.solution-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 4px 20px rgba(47, 23, 77, .025);
  transition: transform .2s ease, box-shadow .2s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.solution-number {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.solution-card h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
}

.fiscal-callout {
  max-width: 920px;
  margin: 42px auto 0;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: linear-gradient(135deg, var(--lilac-light), var(--paper));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fiscal-callout-mark {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.fiscal-callout h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.fiscal-callout p {
  margin: 0;
  color: var(--muted);
}

.privacy-page {
  width: min(calc(100% - 48px), 900px);
  margin: 20px auto 100px;
  padding-inline: clamp(18px, 3vw, 38px);
}

.privacy-hero {
  padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(135deg, #f3edf7 0%, #faf6f2 65%, #eee5f3 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.privacy-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
}

.privacy-intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.privacy-version {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.privacy-content {
  padding: 30px clamp(8px, 4vw, 46px) 0;
}

.privacy-content section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-content h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
}

.privacy-content a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.privacy-content ul {
  padding-left: 1.25rem;
}

.postal-address span {
  white-space: normal;
}

.contact-section {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto 100px;
  padding: clamp(32px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(420px, 1.15fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  background: var(--lilac-light);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.contact-copy {
  position: sticky;
  top: 40px;
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-note {
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid var(--gold-light);
  display: flex;
  gap: 13px;
  color: var(--ink-soft);
}

.contact-note span {
  color: var(--gold);
  font-size: 1.4rem;
}

.contact-note p {
  margin: 0;
}

.form-card {
  min-width: 0;
  padding: 30px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: .82rem;
}

.site-footer > div {
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.site-footer .footer-name {
  font-size: 1.15rem;
}

.site-footer a {
  color: var(--ink);
}

/* HubSpot owns the form internals; this styles only its surrounding surface. */
.hs-form-frame {
  width: 100%;
  min-height: 640px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 60px 34px;
  }

  .hero-mark {
    display: none;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .solutions-section,
  .contact-section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 80px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 48px 24px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .solutions-section {
    padding: 75px 0;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .fiscal-callout {
    margin-top: 28px;
    padding: 24px 20px;
  }

  .privacy-page {
    width: min(calc(100% - 28px), 900px);
    margin-bottom: 60px;
  }

  .privacy-hero {
    padding: 36px 24px;
    border-radius: 24px;
  }

  .privacy-content {
    padding-left: 8px;
    padding-right: 8px;
  }

  .solution-card {
    min-height: auto;
  }

  .contact-section {
    margin-bottom: 60px;
    padding: 28px 18px;
    border-radius: 24px;
  }

  .form-card {
    padding: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .contact-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact-copy {
    padding-left: 8px;
    padding-right: 8px;
  }

  .form-card {
    padding: 10px 6px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(47, 23, 77, .07);
  }

  .hs-form-frame {
    min-height: 0;
  }
}
