@font-face {
  font-family: "Nunito";
  src: url("./assets/nunito-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("./assets/nunito-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #152630;
  --muted: #455864;
  --accent: #12698f;
  --accent-dark: #0a536f;
  --paper: #f4f9fc;
  --white: #fff;
  --line: #cfdee7;
  --accent-surface: #e7f4fa;
  --dark: #10151d;
  --dark-panel: #1a2834;
  --dark-line: #385163;
  --dark-muted: #d6e5ed;
  --hero-accent: #b2e9ff;
  --hero-accent-hover: #dcf5ff;
  --card-radius: 1rem;
  --body-font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --display-font: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.65;
}

body, h1, h2, h3, p, dl, dd {
  margin-block: 0;
}

h1, h2, h3 {
  line-height: 1.07;
  text-wrap: balance;
}

h1, h2 {
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: -.024em;
}

h2 {
  font-size: clamp(2.55rem, 4.7vw, 4.45rem);
}

h3 {
  font-size: 1.32rem;
  letter-spacing: -.018em;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

section[id] {
  scroll-margin-top: 1.5rem;
}

.skip-link {
  position: absolute;
  z-index: 3;
  top: .5rem;
  left: .5rem;
  transform: translateY(-150%);
  padding: .55rem .9rem;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(72rem, calc(100% - 4rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.65rem, 8vw, 7rem);
}

.site-header {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  border-bottom: 1px solid rgb(255 255 255 / .16);
  background: rgb(16 21 29 / .50);
  color: var(--white);
}

.site-header, .site-footer {
  --wordmark-color: var(--hero-accent);
}

.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible {
  outline-color: var(--hero-accent);
}

.header-layout, .footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-layout {
  min-height: 5rem;
}

.wordmark {
  display: inline-grid;
  flex: none;
  align-content: center;
  justify-items: center;
  gap: .18rem;
  min-block-size: 2.75rem;
  color: var(--wordmark-color, var(--accent));
  font-family: "Nunito", var(--body-font);
  font-style: italic;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-name {
  position: relative;
  font-size: 2.625rem;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.045em;
}

@supports (clip-path: shape(from 0% 0%, line to 100% 100%, close)) {
  .wordmark-name::after {
    position: absolute;
    inset-inline-end: -.28em;
    inset-block-start: .235em;
    inline-size: .46em;
    block-size: .31em;
    background: currentColor;
    clip-path: shape(
      from 0% 34%,
      curve to 34% 8% with 9% 15% / 20% 8%,
      line to 100% 3%,
      curve to 65% 49% with 96% 25% / 83% 46%,
      line to 84% 49%,
      curve to 49% 94% with 78% 72% / 65% 92%,
      line to 7% 94%,
      close
    );
    pointer-events: none;
    content: "";
  }
}

.wordmark-detail {
  padding-inline-start: .285em;
  font-size: .66rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: .285em;
}

.site-nav, .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav {
  gap: clamp(.75rem, 3vw, 2.1rem);
}

.site-nav a {
  padding-block: .62rem;
  font-size: .94rem;
  font-weight: 550;
  text-decoration: none;
}

.site-nav a:hover, .text-link:hover {
  color: var(--hero-accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .62rem 1.22rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.button-main {
  background: var(--hero-accent);
  color: var(--ink);
}

.button-main:hover {
  background: var(--hero-accent-hover);
}

.button-quiet {
  border-color: rgb(178 233 255 / .58);
  color: var(--hero-accent);
}

.button-quiet:hover {
  background: rgb(178 233 255 / .12);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: clamp(42rem, 54vw, 53rem);
  padding-block: clamp(9rem, 12vw, 11rem) clamp(4rem, 7vw, 6rem);
  background: var(--dark);
  color: var(--white);
}

.hero-copy {
  max-width: min(41rem, 63vw);
}

.hero h1 {
  font-size: clamp(3.5rem, 6.1vw, 6rem);
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: initial;
}

.hero h1 em {
  display: block;
  color: var(--hero-accent);
  line-height: 1.025;
}

.hero-intro {
  max-width: 32rem;
  margin-block-start: 1.4rem;
  color: var(--dark-muted);
  font-size: clamp(1.06rem, 1.75vw, 1.19rem);
}

.hero-intro strong {
  color: var(--white);
  font-weight: 650;
}

.hero-actions {
  gap: .8rem 1.3rem;
  margin-block-start: 1.55rem;
}

.text-link {
  min-height: 2.75rem;
  padding-block: .55rem;
  font-weight: 620;
  text-decoration-thickness: 1px;
  text-underline-offset: .27em;
}

.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 46%;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(16 21 29 / .44), rgb(16 21 29 / .47) 43%, rgb(16 21 29 / .13) 69%, transparent 93%),
    linear-gradient(180deg, rgb(16 21 29 / .32), transparent 25%, rgb(16 21 29 / .29));
  content: "";
}

.offer-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr);
  align-items: end;
  gap: 1rem 3rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 46rem;
}

.section-heading p, .offer p, .process-list p, .faq-items p {
  color: var(--muted);
}

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

.offer {
  padding: clamp(1.15rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--paper);
}

.offer h3, .process-list h3 {
  margin-block-end: .55rem;
}

.offer ul {
  margin-block: 1.2rem 0;
  padding-inline-start: 1.15rem;
}

.offer li + li {
  margin-block-start: .42rem;
}

.offer li::marker {
  color: var(--accent);
}

.fee-section {
  background: var(--dark);
  color: var(--white);
}

.fee-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem clamp(2rem, 7vw, 6rem);
}

.fee-copy p {
  max-width: 37rem;
  margin-block-start: 1rem;
  color: var(--dark-muted);
}

.fee-example {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--dark-line);
  border-radius: var(--card-radius);
  background: var(--dark-panel);
}

.fee-example p {
  margin-block: .5rem 1rem;
  color: var(--dark-muted);
}

.fee-example dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: .47rem;
  border-bottom: 1px solid var(--dark-line);
}

.fee-example dd {
  font-weight: 670;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fee-example .fee-result {
  margin-top: .32rem;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--hero-accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem clamp(1.2rem, 3vw, 2.5rem);
  margin: 1.6rem 0 0;
  padding: 0 0 0 1.5rem;
}

.process-list li {
  padding: .9rem .45rem 0 .3rem;
  border-top: 1px solid var(--line);
}

.process-list li::marker {
  color: var(--accent-dark);
  font-weight: 700;
}

.faq-section {
  border-block: 1px solid var(--line);
  background: var(--accent-surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 1.5rem clamp(2rem, 6vw, 5rem);
}

.faq-items {
  border-top: 1px solid var(--line);
}

.faq-items details {
  border-bottom: 1px solid var(--line);
}

.faq-items summary {
  padding-block: 1rem;
  font-weight: 650;
  cursor: pointer;
}

.faq-items summary::marker {
  color: var(--accent);
}

.faq-items p {
  padding-block-end: 1rem;
}

.site-footer {
  background: var(--dark);
  color: var(--white);
}

.footer-layout {
  min-height: 5.8rem;
  flex-wrap: wrap;
  row-gap: .65rem;
  padding-block: 1rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem 1.2rem;
}

.footer-meta span {
  color: var(--muted);
  font-size: .94rem;
}

.footer-meta a {
  color: var(--hero-accent);
  text-underline-offset: .2em;
}

.legal-home, .legal-content a {
  color: var(--accent-dark);
  text-underline-offset: .2em;
}

.legal-header {
  border-bottom: 1px solid var(--line);
}

.legal-home {
  font-weight: 600;
}

.legal-content {
  max-width: 51rem;
}

.legal-content h1 {
  font-size: clamp(3rem, 7vw, 4.9rem);
}

.legal-subtitle {
  margin-block-start: .7rem;
  color: var(--muted);
}

.legal-section {
  margin-block-start: 1.7rem;
  padding-block-start: 1.25rem;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-family: var(--body-font);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.legal-section address, .legal-section p {
  margin-block-start: .6rem;
}

.legal-section address {
  font-style: normal;
}

@media (max-width: 55rem) {
  .shell {
    width: min(72rem, calc(100% - 3rem));
  }

  .hero h1 {
    font-size: clamp(3.35rem, 6.7vw, 4.9rem);
  }

  .offer-grid {
    gap: .7rem;
  }
}

@media (max-width: 44rem) {
  .header-layout {
    flex-wrap: wrap;
    gap: .25rem 1rem;
    padding-block: .9rem .6rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 0 1.35rem;
  }

  .header-action {
    min-height: 2.75rem;
    padding-inline: .8rem;
    font-size: .9rem;
  }

  .section-heading, .offer-grid, .fee-layout, .process-list, .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: clamp(41.5rem, 93svh, 48rem);
    padding-block: 9.2rem 4.3rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(3rem, 9.6vw, 4.75rem);
  }

  .hero-media img {
    object-position: 77% 47%;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgb(16 21 29 / .88), rgb(16 21 29 / .69) 55%, rgb(16 21 29 / .44)),
      linear-gradient(180deg, rgb(16 21 29 / .28), transparent 48%, rgb(16 21 29 / .52));
  }

  .section-heading {
    margin-bottom: 1.3rem;
  }

  .offer-grid {
    gap: .85rem;
  }

  .process-list {
    row-gap: 1rem;
  }
}

@media (max-width: 24rem) {
  .shell {
    width: calc(100% - 2rem);
  }

  .wordmark-name {
    font-size: 2.15rem;
  }

  .site-nav {
    gap: 0 1rem;
  }
}
