:root {
  --home-ink: #0b2236;
  --home-navy: #08273f;
  --home-navy-deep: #061c2f;
  --home-sage: #78906b;
  --home-sage-dark: #607954;
  --home-cream: #f7f3eb;
  --home-paper: #fffdf8;
  --home-mist: #edf3ef;
  --home-muted: #61707a;
  --home-line: rgba(11, 34, 54, 0.14);
}

.home-page {
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: "DM Sans", sans-serif;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.home-page main {
  overflow: clip;
}

.home-page .home-shell {
  width: min(1380px, calc(100% - 80px));
  margin-inline: auto;
}

.home-page .header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(6, 28, 47, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.home-page .header .container.nav {
  width: min(1380px, calc(100% - 80px));
  max-width: none;
  min-height: 72px;
  padding: 0;
}

.home-page .brand {
  min-width: 206px;
}

.home-page .brand-logo {
  width: 202px;
}

.home-page .brand-name {
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.home-page .menu {
  gap: 28px;
}

.home-page .menu a {
  padding: 25px 0 23px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.home-page .menu a:hover {
  color: #fff;
}

.home-page .header .actions .btn-primary {
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 6px;
  background: var(--home-sage);
  border-color: var(--home-sage);
  font-size: 13px;
  font-weight: 700;
}

.home-page .header .actions .btn-primary:hover {
  background: var(--home-sage-dark);
  border-color: var(--home-sage-dark);
}

.home-kicker {
  margin: 0 0 20px;
  color: var(--home-sage-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.home-kicker--light {
  color: #b8c8a8;
}

.home-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 24px;
  border: 0;
  border-radius: 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.home-button--primary {
  background: var(--home-navy);
  color: #fff;
}

.home-button--primary:hover {
  background: var(--home-navy-deep);
  color: #fff;
}

.home-button--text {
  padding-inline: 6px;
  background: transparent;
  color: var(--home-ink);
}

.home-button--text:hover {
  color: var(--home-sage-dark);
}

.home-button--sage {
  background: #a9ba91;
  color: var(--home-navy-deep);
}

.home-button--sage:hover {
  background: #bac99f;
  color: var(--home-navy-deep);
}

.home-button--light-text {
  padding-inline: 6px;
  background: transparent;
  color: #fff;
}

.home-button--light-text:hover {
  color: #c9d7ba;
}

.home-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--home-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.home-inline-link span {
  transition: transform 180ms ease;
}

.home-inline-link:hover {
  color: var(--home-sage-dark);
}

.home-inline-link:hover span {
  transform: translateX(4px);
}

.home-hero-section {
  position: relative;
  padding: 76px 0 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(120, 144, 107, 0.14), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f7f3eb 100%);
}

.home-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130px;
  width: 360px;
  height: 620px;
  border: 1px solid rgba(120, 144, 107, 0.16);
  border-radius: 50%;
  transform: rotate(22deg);
  pointer-events: none;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.home-hero__copy {
  position: relative;
  z-index: 1;
  padding-bottom: 84px;
  animation: homeRise 700ms ease both;
}

.home-hero__copy h1 {
  max-width: 710px;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(54px, 5.7vw, 86px);
  line-height: 0.98;
}

.home-hero__copy h1 em {
  display: block;
  color: var(--home-sage-dark);
  font-weight: 500;
}

.home-hero__lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.75;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--home-line);
}

.home-hero__proof span {
  position: relative;
  color: #52616c;
  font-size: 12px;
  font-weight: 600;
}

.home-hero__proof span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--home-sage);
}

.home-hero__visual {
  position: relative;
  align-self: end;
  padding-bottom: 44px;
  animation: homeRise 800ms 100ms ease both;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -40px;
  width: 66%;
  height: 84%;
  border: 1px solid rgba(120, 144, 107, 0.28);
  border-radius: 46% 46% 12% 46%;
}

.home-hero__image-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 160px 22px 160px 22px;
  box-shadow: 0 34px 80px rgba(11, 34, 54, 0.16);
}

.home-hero__image-wrap img {
  width: 100%;
  aspect-ratio: 636 / 344;
  object-fit: cover;
}

.home-hero__note {
  position: relative;
  z-index: 2;
  width: min(470px, 82%);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  margin: -24px 0 0 34px;
  padding: 23px 26px;
  background: rgba(255, 253, 248, 0.96);
  border-left: 3px solid var(--home-sage);
  box-shadow: 0 22px 54px rgba(11, 34, 54, 0.13);
}

.home-hero__note-index {
  color: var(--home-sage-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 25px;
}

.home-hero__note p {
  margin: 0;
  color: #5c6973;
  font-size: 13px;
  line-height: 1.65;
}

.home-hero__note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--home-ink);
  font-size: 14px;
}

.home-trust-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-trust-line span {
  padding: 22px 26px;
  border-right: 1px solid var(--home-line);
  color: #53616a;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.home-trust-line span:last-child {
  border-right: 0;
}

.home-support-section {
  padding: 118px 0;
  background: var(--home-paper);
}

.home-support {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
}

.home-section-intro h2,
.home-experts__heading h2,
.home-process__heading h2,
.home-closing h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(42px, 4.4vw, 66px);
  line-height: 1.05;
}

.home-section-intro > p:not(.home-kicker),
.home-experts__heading-copy > p {
  margin: 25px 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.8;
}

.home-support__list {
  border-top: 1px solid var(--home-line);
}

.home-support__item {
  display: grid;
  grid-template-columns: 54px minmax(180px, 0.7fr) 1fr;
  gap: 24px;
  align-items: center;
  min-height: 105px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--home-line);
  color: inherit;
  text-decoration: none;
  transition: padding 180ms ease, background 180ms ease;
}

.home-support__item:hover {
  padding-inline: 18px;
  background: #f6f5ef;
}

.home-support__item > span {
  color: var(--home-sage-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 23px;
}

.home-support__item strong {
  color: var(--home-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.home-support__item small {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.55;
}

.home-experts-section {
  padding: 112px 0 120px;
  background:
    radial-gradient(circle at 100% 0%, rgba(120, 144, 107, 0.12), transparent 24%),
    var(--home-mist);
}

.home-experts__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.62fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.home-experts__heading h2 {
  max-width: 800px;
}

.home-experts__heading-copy > p {
  margin-top: 0;
}

.home-experts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px 24px;
}

.home-expert {
  min-width: 0;
}

.home-expert__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background: linear-gradient(180deg, #e3e9e3 0%, #d7e0d8 100%);
  border-radius: 110px 110px 12px 12px;
}

.home-expert__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(6, 28, 47, 0.08));
  pointer-events: none;
}

.home-expert__media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center center;
  transition: transform 350ms ease;
}

.home-expert:hover .home-expert__media img {
  transform: scale(1.025);
}

.home-expert__media > span {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 7px 10px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--home-sage-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-expert__body {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 22px 2px 0;
}

.home-expert__body h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
}

.home-expert__body h3 a {
  color: var(--home-ink);
}

.home-expert__body > div > p {
  margin: 7px 0 0;
  color: #70808a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-expert__focus {
  margin-top: 15px;
  color: #65727b;
  font-size: 12px;
  line-height: 1.55;
}

.home-expert__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--home-line);
}

.home-expert__actions a,
.home-expert__actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--home-ink);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.home-expert__actions button {
  color: var(--home-sage-dark);
}

.home-expert__actions a:hover,
.home-expert__actions button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-process-section {
  padding: 112px 0 104px;
  background:
    radial-gradient(circle at 15% 0%, rgba(169, 186, 145, 0.14), transparent 28%),
    linear-gradient(130deg, #061c2f 0%, #0b304a 68%, #123e4a 130%);
  color: #fff;
}

.home-process__heading {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 70px;
  align-items: end;
}

.home-process__heading .home-kicker {
  margin: 0 0 8px;
}

.home-process__heading h2 {
  max-width: 820px;
  color: #fff;
}

.home-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.home-process article {
  min-height: 280px;
  padding: 38px 44px 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.home-process article:first-child {
  padding-left: 0;
}

.home-process article:last-child {
  border-right: 0;
}

.home-process article > span {
  display: block;
  margin-bottom: 48px;
  color: #b8c8a8;
  font-family: "Fraunces", Georgia, serif;
  font-size: 36px;
}

.home-process h3 {
  color: #fff;
  font-size: 29px;
  line-height: 1.2;
}

.home-process p {
  max-width: 330px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.home-process__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 36px;
}

.home-process__footer p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.65;
}

.home-faq-section {
  padding: 116px 0;
  background: var(--home-paper);
}

.home-faq {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
}

.home-faq__intro {
  position: sticky;
  top: 118px;
}

.home-faq__list {
  border-top: 1px solid var(--home-line);
}

.home-faq__item {
  border-bottom: 1px solid var(--home-line);
}

.home-faq__item summary {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 18px 4px;
  list-style: none;
  cursor: pointer;
}

.home-faq__item summary::-webkit-details-marker {
  display: none;
}

.home-faq__item summary > span {
  color: var(--home-sage-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
}

.home-faq__item summary strong {
  color: var(--home-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}

.home-faq__item summary i {
  position: relative;
  width: 22px;
  height: 22px;
}

.home-faq__item summary i::before,
.home-faq__item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: var(--home-ink);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.home-faq__item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.home-faq__item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.home-faq__item > p {
  max-width: 680px;
  margin: -2px 24px 25px 66px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.8;
}

.home-closing-section {
  padding: 112px 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(169, 186, 145, 0.16), transparent 28%),
    var(--home-navy-deep);
  color: #fff;
  text-align: center;
}

.home-closing {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.home-closing h2 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(48px, 5.2vw, 76px);
}

.home-closing > p:not(.home-kicker) {
  max-width: 610px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  line-height: 1.75;
}

.home-closing__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

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

@media (max-width: 1180px) {
  .home-page .home-shell,
  .home-page .header .container.nav {
    width: min(100% - 48px, 1100px);
  }

  .home-page .menu {
    gap: 18px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 48px;
  }

  .home-hero__copy h1 {
    font-size: clamp(50px, 6vw, 70px);
  }

  .home-support,
  .home-faq {
    gap: 70px;
  }

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

  .home-process article {
    padding-inline: 30px;
  }
}

@media (max-width: 960px) {
  .home-page .header .container.nav {
    min-height: 70px;
  }

  .home-page .nav-panel {
    top: calc(100% + 8px);
    position: absolute;
    left: 0;
    right: 0;
    border: 0;
    border-radius: 10px;
    background: #fffdf8;
    box-shadow: 0 22px 50px rgba(6, 28, 47, 0.18);
  }

  .home-page .nav-panel .menu a {
    padding: 12px 14px;
    color: var(--home-ink);
    background: transparent;
  }

  .home-page .nav-panel .menu a:hover {
    background: var(--home-mist);
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    max-width: 760px;
    padding-bottom: 18px;
  }

  .home-hero__visual {
    width: min(760px, 100%);
    margin-left: auto;
  }

  .home-support,
  .home-faq,
  .home-experts__heading,
  .home-process__heading {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-support__list,
  .home-faq__list {
    margin-left: 8vw;
  }

  .home-faq__intro {
    position: static;
  }

  .home-process {
    grid-template-columns: 1fr;
  }

  .home-process article,
  .home-process article:first-child {
    min-height: 0;
    display: grid;
    grid-template-columns: 70px 0.7fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .home-process article:last-child {
    border-bottom: 0;
  }

  .home-process article > span,
  .home-process p {
    margin: 0;
  }
}

@media (max-width: 720px) {
  .home-page .home-shell,
  .home-page .header .container.nav {
    width: calc(100% - 36px);
  }

  .home-page .brand {
    min-width: 0;
  }

  .home-page .brand-logo {
    width: 168px;
  }

  .home-page .brand-name {
    font-size: 23px;
  }

  .home-page .nav-toggle {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 12px;
  }

  .home-hero-section {
    padding-top: 54px;
  }

  .home-hero-section::before {
    display: none;
  }

  .home-hero__copy h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .home-hero__lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .home-hero__actions,
  .home-closing__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .home-button {
    width: 100%;
  }

  .home-button--text,
  .home-button--light-text {
    min-height: 44px;
  }

  .home-hero__proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .home-hero__proof span:not(:last-child)::after {
    display: none;
  }

  .home-hero__visual {
    padding-bottom: 12px;
  }

  .home-hero__visual::before {
    top: -18px;
    right: -18px;
  }

  .home-hero__image-wrap {
    border-radius: 80px 12px 80px 12px;
  }

  .home-hero__note {
    width: calc(100% - 28px);
    grid-template-columns: 36px 1fr;
    gap: 12px;
    margin: -12px 0 0 14px;
    padding: 18px;
  }

  .home-trust-line {
    grid-template-columns: 1fr 1fr;
    margin-top: 36px;
  }

  .home-trust-line span {
    padding: 17px 10px;
    border-bottom: 1px solid var(--home-line);
    font-size: 11px;
  }

  .home-trust-line span:nth-child(2) {
    border-right: 0;
  }

  .home-trust-line span:nth-child(n + 3) {
    border-bottom: 0;
  }

  .home-support-section,
  .home-experts-section,
  .home-process-section,
  .home-faq-section,
  .home-closing-section {
    padding-block: 80px;
  }

  .home-section-intro h2,
  .home-experts__heading h2,
  .home-process__heading h2,
  .home-closing h2 {
    font-size: 42px;
  }

  .home-support__list,
  .home-faq__list {
    margin-left: 0;
  }

  .home-support__item {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding-block: 20px;
  }

  .home-support__item small {
    grid-column: 2;
  }

  .home-experts__heading {
    margin-bottom: 38px;
  }

  .home-experts {
    width: calc(100vw - 18px);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(278px, 78vw);
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    padding: 0 18px 8px 0;
  }

  .home-experts::-webkit-scrollbar {
    display: none;
  }

  .home-expert {
    scroll-snap-align: start;
  }

  .home-expert__body {
    min-height: 180px;
  }

  .home-process {
    margin-top: 46px;
  }

  .home-process article,
  .home-process article:first-child {
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 26px 0;
  }

  .home-process article > span {
    grid-row: 1 / 3;
    align-self: start;
    font-size: 28px;
  }

  .home-process article p {
    grid-column: 2;
  }

  .home-process__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .home-faq__item summary {
    grid-template-columns: 34px 1fr 20px;
    gap: 12px;
    min-height: 82px;
  }

  .home-faq__item summary strong {
    font-size: 18px;
  }

  .home-faq__item > p {
    margin-left: 46px;
    margin-right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
