:root {
  --paper: #ffffff;
  --cream: #ffffff;
  --rose: #d7c5bd;
  --taupe: #8e8076;
  --ink: #54463f;
  --muted: #7e7169;
  --footer: rgb(188, 158, 142);
  --line: #ddcec4;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 100%;
  font-style: normal;
  font-variant: normal;
  font-weight: 300;
  line-height: 1.82;
  color: var(--ink);
  background: var(--paper);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

h1,
h2 {
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
}

h1 {
  margin-bottom: 24px;
  font-size: 34px;
}

h2 {
  margin-bottom: 30px;
  font-size: 32px;
  font-family: "Martel Sans", sans-serif;
  text-align: center;
}

.section h2::after {
  content: "";
  display: block;
  width: 150px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--line);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--taupe);
}

p {
  margin-bottom: 18px;
}

.wrap {
  width: min(1180px, calc(100% - 46px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.section {
  padding: 104px 0;
}

.site-top {
  padding: 18px 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(84, 70, 63, 0.08);
}

.top-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.top-actions a {
  color: var(--ink);
  text-decoration: none;
}

.top-logo {
  width: 220px;
  max-width: 48vw;
}

.floating-actions {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.floating-actions a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 50px 0 0 50px;
  background: #c5aaa0;
}

.floating-actions img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  justify-self: start;
}

.hero {
  display: flex;
  min-height: 110px;
  padding: 12px 0 10px;
  align-items: center;
  text-align: center;
  background: #bc9e8e;
}

.title-wrap {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-family: inherit;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.18;
  text-transform: uppercase;
}

.eyebrow {
  max-width: 360px;
  margin-bottom: 34px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

.subline {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  text-transform: uppercase;
}

.title-rule {
  display: block;
  width: 150px;
  height: 1px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.82);
}

.intro-image,
.split figure,
.two-column figure {
  margin: 0;
}

.text-section {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.intro-copy {
  max-width: 550px;
}

.mark {
  width: 118px;
  margin: 0 auto 42px;
}

.section-mark {
  width: 190px;
  margin: 0 0 34px;
}

.section-mark.centered {
  width: 112px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 40px;
}

.split,
.op,
.risks {
  background: var(--paper);
}

.split-grid,
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 88px;
}

.cream {
  background: var(--cream);
}

.facts {
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 50px 0 30px;
  background: var(--white);
  border: 1px solid #bc9e8e;
  border-bottom-width: 10px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.facts-grid {
  display: grid;
  grid-template-columns: 58% 37%;
  gap: 5%;
  margin-top: 32px;
}

.facts-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fact {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  text-align: left;
}

.fact > img {
  width: 60px;
  height: 60px;
  margin: 0;
  object-fit: contain;
}

.fact h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.fact p {
  margin: 0;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.arrow-link:hover {
  background: var(--ink);
  color: var(--white);
}

.facts .button {
  align-self: center;
  margin-top: 12px;
}

.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.list-section {
  border-top: 1px solid var(--line);
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px 82px;
}

.text-grid article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 82px;
  margin-top: 32px;
}

.accordion-col {
  display: flex;
  flex-direction: column;
}

.accordion-grid details {
  border: none;
  border-radius: 20px 20px 0 0;
  margin-bottom: 24px;
  background: #ffffff;
  box-shadow: 0 12px 20px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.accordion-grid details:last-child {
  border-bottom: none;
}

.accordion-grid summary {
  position: relative;
  padding: 15px 50px 10px 15px;
  background: #eae6e2;
  color: #000;
  font-family: "Nunito Sans", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.accordion-grid summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  float: none;
  color: #000;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.accordion-grid details[open] summary::after {
  content: "–";
}

.accordion-grid details > p {
  max-width: none;
  margin: 0;
  padding: 15px;
  background: #ffffff;
}

.lead {
  max-width: 720px;
  margin-bottom: 40px;
  font-size: 21px;
  color: var(--taupe);
}

.advice {
  text-align: center;
  background: var(--rose);
}

.advice h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
}

.faq {
  background: var(--cream);
}

.costs {
  position: relative;
  text-align: center;
  background: var(--cream);
}

.costs::before {
  content: "›";
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--taupe);
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  line-height: 1;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 30px;
  border: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.faq h2 span {
  display: block;
  font-size: 24px;
  font-weight: 300;
  text-transform: none;
  color: var(--taupe);
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--taupe);
  font-size: 24px;
  font-weight: 300;
}

details[open] summary::after {
  content: "–";
}

details p {
  max-width: 760px;
  padding-bottom: 24px;
}

.footer {
  padding: 92px 0 74px;
  background: var(--footer);
  color: var(--white);
}

.footer h2,
.footer p {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.95fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.footer-logo {
  width: 210px;
  margin-bottom: 20px;
}

.contact-list p {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-list img {
  width: 18px;
  margin-top: 7px;
}

.button-light {
  color: var(--white);
}

@media (max-width: 900px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 28px;
  }

  .section {
    padding: 70px 0;
  }

  .top-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .floating-actions {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .intro-grid,
  .split-grid,
  .two-column,
  .reverse,
  .footer-grid,
  .facts-grid,
  .accordion-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .text-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 24px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 10px 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .subline {
    font-size: 14px;
  }
}
