@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #f5f5f3;
  --white: #ffffff;
  --navy: #050505;
  --emerald: #0ea672;
  --blue: #eeeeeb;
  --grey: #eeeeeb;
  --text: #111111;
  --muted: #656565;
  --line: rgba(5, 5, 5, 0.14);
  --shadow: 0 18px 42px rgba(5, 5, 5, 0.12);
  --radius: 0;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(5, 5, 5, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-size: 0.9rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 8px;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--navy);
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 166, 114, 0.35);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 0;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.btn-primary:hover {
  background: #2a2a2a;
}

.btn-emerald {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 28px rgba(5, 5, 5, 0.2);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost {
  color: var(--navy);
  background: transparent;
  border-color: var(--line);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mobile-panel,
.menu-scrim {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.58) 44%, rgba(15, 23, 42, 0.12) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.52), rgba(15, 23, 42, 0.06));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 118px 0 46px;
  max-width: var(--max);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--navy);
  line-height: 1.02;
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.7rem, 6.1vw, 5.55rem);
  max-width: 820px;
}

.hero .eyebrow {
  color: var(--white);
}

.hero p {
  width: min(650px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.metric {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.metric strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head h2,
.split-copy h2,
.page-intro h1 {
  font-size: clamp(2rem, 3.65vw, 3.75rem);
}

.section-head p,
.split-copy p,
.page-intro p {
  max-width: 590px;
  margin: 14px 0 0;
  color: var(--muted);
}

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

.topic-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(5, 5, 5, 0.14);
  box-shadow: none;
}

.topic-card:nth-child(1),
.topic-card:nth-child(4) {
  grid-column: auto;
}

.editorial-tile::after,
.image-panel::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.78));
}

.topic-card::after {
  display: none;
}

.topic-card img,
.editorial-tile img {
  transition: transform 0.55s ease;
}

.topic-card img {
  min-height: 0;
  object-position: center;
}

.topic-card:nth-child(2) img {
  object-position: center 38%;
}

.topic-card:nth-child(3) img {
  object-position: center 58%;
}

.topic-card:nth-child(4) img {
  object-position: center 42%;
}

.topic-card:hover img,
.editorial-tile:hover img {
  transform: scale(1.055);
}

.topic-content {
  position: static;
  z-index: 1;
  color: var(--white);
  min-height: 148px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-top: 3px solid var(--white);
  background: var(--navy);
}

.topic-content h3 {
  color: var(--white);
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.1;
}

.topic-content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.45;
}

.editorial-band {
  background: var(--navy);
  color: var(--white);
}

.editorial-band h2,
.editorial-band h3 {
  color: var(--white);
}

.editorial-band .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.wealth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 18px;
}

.editorial-tile {
  position: relative;
  overflow: hidden;
  background: #111111;
}

.editorial-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.tile-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.tile-copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tile-copy h3 {
  font-size: clamp(1.2rem, 2vw, 2rem);
}

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

.service-card,
.article-card,
.trust-card,
.value-card,
.contact-card,
.form-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.service-card {
  padding: 28px;
  min-height: 230px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--emerald);
  background: linear-gradient(135deg, rgba(14, 166, 114, 0.14), var(--blue));
}

.service-card h3,
.trust-card h3,
.value-card h3,
.step-card h3 {
  font-size: 1.35rem;
}

.service-card p,
.trust-card p,
.value-card p,
.step-card p,
.article-card p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.split-copy .lead {
  font-size: 1.1rem;
  color: var(--text);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 700;
}

.check-list .icon {
  flex: 0 0 auto;
  color: var(--emerald);
}

.image-panel {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  width: min(320px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(18px);
}

.floating-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.floating-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.trust-card,
.value-card,
.step-card {
  padding: 26px;
}

.trust-card {
  border-left: 4px solid var(--emerald);
}

.article-card {
  overflow: hidden;
}

.article-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-body {
  padding: 24px;
}

.article-body .meta {
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-body h3 {
  margin-top: 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.testimonial-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #18243d);
  color: var(--white);
  padding: 42px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeUp 0.45s ease both;
}

.testimonial-slide blockquote {
  margin: 0;
  max-width: 850px;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  line-height: 1.16;
}

.testimonial-person {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.dot.active {
  background: var(--emerald);
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), var(--blue));
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.newsletter h2 {
  font-size: clamp(1.8rem, 3vw, 3.4rem);
}

.newsletter p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  min-width: min(470px, 100%);
}

.newsletter-form input,
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 0 18px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 150px;
  padding: 16px 18px;
  border-radius: var(--radius);
  resize: vertical;
}

.newsletter-form input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(14, 166, 114, 0.58);
  box-shadow: 0 0 0 4px rgba(14, 166, 114, 0.11);
}

.page-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.page-hero img {
  position: absolute;
  inset: 0;
}

.page-hero::after {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.38));
}

.page-intro {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 130px 0 58px;
  color: var(--white);
}

.page-intro h1,
.page-intro .eyebrow {
  color: var(--white);
}

.page-intro p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.planning-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step-card strong {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.comparison th,
.comparison td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison th {
  color: var(--navy);
  background: var(--grey);
  font-family: "Space Grotesk", sans-serif;
}

.comparison td {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card,
.form-card {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer {
  padding: 72px 0 28px;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 30px;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.64);
}

.footer-brand p {
  max-width: 360px;
  margin: 16px 0 0;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  margin: 9px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    height: 66px;
  }

  .nav-actions {
    flex: 0 0 auto;
  }

  .brand {
    min-width: 0;
  }

  .nav-links,
  .nav-actions .account-btn,
  .nav-actions .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-panel,
  .menu-scrim {
    display: block;
  }

  .menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;
    width: min(420px, 90vw);
    height: 100dvh;
    padding: 22px;
    background: var(--white);
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
    transform: translateX(105%);
    transition: transform 0.32s ease;
  }

  body.menu-open .menu-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open .mobile-panel {
    transform: translateX(0);
  }

  .mobile-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav {
    display: grid;
    gap: 8px;
    padding: 26px 0;
  }

  .mobile-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
  }

  .mobile-panel .btn {
    width: 100%;
  }

  .hero {
    min-height: 660px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 9vw, 3.35rem);
  }

  .section {
    padding: 76px 0;
  }

  .section-head,
  .newsletter,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-head {
    align-items: start;
  }

  .topic-grid,
  .services-grid,
  .article-grid,
  .trust-grid,
  .value-grid,
  .planning-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-card {
    grid-template-rows: 210px 1fr;
  }

  .wealth-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .editorial-tile.large {
    grid-column: 1 / -1;
    grid-row: span 1;
  }

  .newsletter-form {
    min-width: 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    gap: 8px;
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-actions {
    gap: 7px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 118px 0 34px;
  }

  .hero p,
  .page-intro p {
    font-size: 0.98rem;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 46px 0;
  }

  .topic-grid,
  .services-grid,
  .article-grid,
  .trust-grid,
  .value-grid,
  .planning-row,
  .wealth-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    grid-template-rows: 190px auto;
  }

  .topic-content {
    min-height: auto;
    padding: 18px;
  }

  .wealth-grid {
    grid-auto-rows: 210px;
  }

  .image-panel {
    min-height: 390px;
  }

  .newsletter {
    padding: 26px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .page-hero {
    min-height: 430px;
  }

  .page-intro {
    padding: 112px 0 44px;
  }

  .comparison {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
