:root {
  --charcoal: #111513;
  --ink: #1e2724;
  --forest: #183d34;
  --teal: #2d8074;
  --gold: #c7a461;
  --ivory: #f6f1e8;
  --paper: #fbfaf6;
  --muted: #6d756f;
  --line: rgba(30, 39, 36, 0.14);
  --shadow: 0 22px 70px rgba(17, 21, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 150px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 21, 19, 0.82), rgba(17, 21, 19, 0));
}

.page-header {
  position: sticky;
  background: rgba(17, 21, 19, 0.98);
  box-shadow: 0 12px 36px rgba(17, 21, 19, 0.16);
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-logo-full {
  width: clamp(112px, 11vw, 150px);
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px clamp(10px, 1.45vw, 20px);
  font-size: clamp(0.76rem, 0.9vw, 0.9rem);
  font-weight: 700;
}

.nav-action {
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 10px 16px;
}

nav a {
  color: rgba(255, 255, 255, 0.78);
}

nav a:hover,
nav a.active {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
  padding: 120px clamp(20px, 6vw, 82px) 72px;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 21, 19, 0.9) 0%, rgba(17, 21, 19, 0.73) 36%, rgba(17, 21, 19, 0.2) 72%),
    linear-gradient(180deg, rgba(17, 21, 19, 0.18) 0%, rgba(17, 21, 19, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-brandline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #f6f1e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.hero-brandline::before,
.hero-brandline::after {
  content: "";
  width: clamp(34px, 6vw, 82px);
  height: 1px;
  background: linear-gradient(90deg, rgba(199, 164, 97, 0), var(--gold), rgba(246, 241, 232, 0.78));
}

.hero-brandline::after {
  background: linear-gradient(90deg, rgba(246, 241, 232, 0.78), var(--gold), rgba(199, 164, 97, 0));
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(3.35rem, 6.3vw, 5.9rem);
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.2rem);
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.subpage-actions {
  margin-top: 30px;
}

.button,
.booking-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.booking-button {
  background: var(--gold);
  color: #15120b;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 6vw, 82px);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  max-width: 680px;
  background: rgba(246, 241, 232, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong,
.metric strong {
  display: block;
  color: var(--forest);
  font-size: 1.38rem;
  font-weight: 800;
}

.hero-panel span,
.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.intro,
.solutions,
.process,
.insights,
.consultation,
.content-band,
.quick-services,
.testimonials,
.membership-preview,
.signup-band,
.cta-strip,
.ai-panel {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 82px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  background: var(--ivory);
}

.subpage-hero {
  padding: clamp(96px, 12vw, 150px) clamp(20px, 6vw, 82px) clamp(64px, 8vw, 96px);
  background:
    linear-gradient(90deg, rgba(17, 21, 19, 0.94), rgba(24, 61, 52, 0.84)),
    url("assets/hero-financial-advisory.png") center/cover;
  color: #fff;
}

.subpage-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

.subpage-hero p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.content-band {
  background: var(--ivory);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.two-column > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.intro > p,
.process-copy p,
.consultation p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.quick-services {
  background: var(--paper);
}

.feature-grid,
.product-grid,
.testimonial-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card,
.product-card,
.testimonial-grid blockquote,
.detail-grid div {
  min-height: 190px;
  margin: 0;
  padding: 30px;
  background: #fff;
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.feature-card strong,
.detail-grid strong {
  color: var(--forest);
  font-size: 1.08rem;
}

.feature-card span,
.detail-grid span {
  color: var(--muted);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.solution-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  min-height: 220px;
}

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

.testimonials {
  background: var(--paper);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid p {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.testimonial-grid cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.membership-preview,
.signup-band,
.cta-strip,
.ai-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.membership-preview,
.ai-panel {
  background: var(--charcoal);
  color: #fff;
}

.signup-band,
.cta-strip {
  background: var(--forest);
  color: #fff;
}

.membership-preview > div,
.signup-band > div,
.ai-panel > div {
  max-width: 760px;
}

.membership-preview p,
.signup-band p,
.ai-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.button.secondary.dark {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.checklist-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 82px);
  background: var(--line);
}

.checklist-library article {
  min-height: 260px;
  padding: 30px;
  background: #fff;
}

.checklist-library h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}

.checklist-library p {
  color: var(--muted);
}

.checklist-library ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.checklist-library li {
  margin-bottom: 10px;
}

.cta-strip {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ai-options {
  display: grid;
  min-width: min(100%, 360px);
  gap: 10px;
}

.ai-options a {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 800;
}

.ai-chatbox {
  display: grid;
  width: min(100%, 560px);
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.ai-chat-log {
  display: grid;
  max-height: 320px;
  overflow: auto;
  gap: 10px;
  padding-right: 4px;
}

.ai-chat-log .bot-message {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #050308;
  color: rgba(255, 255, 255, 0.88);
}

.ai-question-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-question-buttons button,
.ai-chat-form button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 12px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.ai-chat-form {
  display: grid;
  gap: 8px;
}

.ai-chat-form label {
  color: rgba(255, 255, 255, 0.84);
}

.ai-chat-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ai-chat-form input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.ai-recommendation {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.ai-recommendation span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-ladder {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 82px);
  background: var(--paper);
}

.ai-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.ai-tier {
  min-height: 250px;
  padding: 30px;
  background: #fff;
}

.ai-tier span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-tier p {
  color: var(--muted);
}

.contact-details {
  background: var(--ivory);
}

.detail-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
}

.detail-grid div {
  min-height: 120px;
  display: grid;
  gap: 10px;
}

.library-section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 82px);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.library-card {
  display: grid;
  min-height: 290px;
  align-content: start;
  gap: 14px;
  padding: 30px;
  background: #fff;
}

.library-card h3 {
  margin: 4px 0 0;
}

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

.ai-resource-button,
.chat-options button,
.chat-close {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  padding: 0 14px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.ai-resource-button {
  margin-top: auto;
}

.resource-chat {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 22px;
  background: rgba(17, 21, 19, 0.46);
}

.resource-chat.open {
  display: flex;
}

.chat-panel {
  display: grid;
  width: min(100%, 520px);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  gap: 18px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.chat-close {
  justify-self: end;
  min-height: 38px;
}

.chat-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.chat-log {
  display: grid;
  gap: 10px;
}

.bot-message,
.user-message {
  margin: 0;
  padding: 14px 16px;
}

.bot-message {
  background: var(--ivory);
  color: var(--ink);
}

.user-message {
  justify-self: end;
  background: var(--forest);
  color: #fff;
}

.chat-options {
  display: grid;
  gap: 10px;
}

.chat-action {
  width: 100%;
}

.solution-card {
  min-height: 290px;
  padding: 32px;
  background: var(--paper);
}

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

.icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(199, 164, 97, 0.55);
  color: var(--forest);
  font-weight: 800;
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  background: var(--charcoal);
  color: #fff;
}

.process-copy {
  max-width: 580px;
}

.process-copy h2 {
  margin-bottom: 22px;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.steps span {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
}

.steps p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: linear-gradient(var(--charcoal) 0 40%, var(--paper) 40% 100%);
}

.metric {
  min-height: 190px;
  padding: 34px;
  background: var(--ivory);
  border: 1px solid var(--line);
}

.metric strong {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 2rem;
}

.metric span {
  color: var(--ink);
  font-size: 1.02rem;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 520px);
  gap: clamp(30px, 7vw, 88px);
  align-items: start;
}

.consultation.standalone {
  background: var(--paper);
}

.consultation h2 {
  margin-bottom: 20px;
}

.booking-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 44px rgba(17, 21, 19, 0.08);
}

.booking-card img {
  width: 64px;
  height: 64px;
}

.booking-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.booking-card p {
  margin: 0;
}

.booking-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 82px);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

footer span:first-child {
  color: #fff;
  font-weight: 800;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

@media (max-width: 960px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .page-header {
    position: static;
    background: var(--charcoal);
  }

  .site-header,
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    position: static;
    transform: none;
    align-self: center;
  }

  nav {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: 92svh;
    align-items: start;
    padding-top: 220px;
    padding-bottom: 46px;
  }

  .hero-panel {
    display: none;
  }

  .intro,
  .process,
  .consultation,
  .two-column {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .solution-grid.three,
  .library-grid,
  .checklist-library,
  .ai-tier-grid,
  .feature-grid,
  .product-grid,
  .testimonial-grid,
  .detail-grid,
  .insights {
    grid-template-columns: 1fr 1fr;
  }

  .membership-preview,
  .signup-band,
  .ai-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .brand {
    max-width: 270px;
  }

  .brand-logo {
    width: 96px;
    height: 96px;
  }

  .brand-logo-full {
    width: 112px;
    height: auto;
  }

  h1 {
    font-size: 2.85rem;
  }

  .subpage-hero h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .solution-grid,
  .solution-grid.three,
  .library-grid,
  .checklist-library,
  .ai-tier-grid,
  .feature-grid,
  .product-grid,
  .testimonial-grid,
  .detail-grid,
  .insights {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .library-card,
  .checklist-library article,
  .ai-tier,
  .metric,
  .booking-card,
  .feature-card,
  .product-card,
  .testimonial-grid blockquote,
  .detail-grid div {
    padding: 24px;
  }
}
