:root {
  --canvas: #F2F3F5;
  --mist: #C5DDD4;
  --ink: #1E293B;
  --cta: #B45309;
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.dialog-active {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

h1,
h2,
h3,
.brand {
  font-family: "Sora", sans-serif;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-160%);
}

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

.topbar,
.bento,
.details,
.footer {
  width: min(1420px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.nav-links a,
.social-links a,
.footer a {
  text-underline-offset: 5px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  text-decoration: underline;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(180px, auto) minmax(220px, auto) minmax(250px, auto);
  gap: 14px;
}

.tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 38px);
}

.tile h2 {
  margin-bottom: 0;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.tile-label,
.section-kicker {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tile-hero {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--canvas);
  isolation: isolate;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--mist);
  border-radius: 50%;
}

.hero-copy {
  max-width: 790px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.1vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(16px, 1.45vw, 21px);
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease;
}

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

.button-light {
  background: var(--mist);
  color: var(--ink);
  border-color: var(--mist);
}

.text-link {
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.hero-mark {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: min(30%, 230px);
  color: var(--mist);
  stroke-width: 1.2;
}

.tile-fact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--mist);
}

.tile-fact-one {
  grid-column: 5;
  grid-row: 1;
}

.tile-fact-two {
  grid-column: 6;
  grid-row: 1;
  background: var(--canvas);
  border: 2px solid var(--ink);
}

.tile-icon {
  width: 37px;
  height: 37px;
  margin-bottom: 36px;
}

.tile-fact h2 {
  font-size: clamp(17px, 1.45vw, 23px);
}

.tile-service-main {
  grid-column: 5 / span 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.8fr);
  gap: 24px;
  align-items: end;
  background: var(--canvas);
  border: 2px solid var(--ink);
}

.tile-service-main p:last-of-type {
  margin-bottom: 0;
  font-size: 14px;
}

.line-icon {
  position: absolute;
  top: 25px;
  right: 28px;
  width: 82px;
}

.tile-service-secondary {
  grid-column: 1 / span 3;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--mist);
}

.tile-service-secondary > p {
  max-width: 530px;
  margin: 32px 0 0;
}

.signal {
  position: absolute;
  right: 36px;
  bottom: 34px;
  height: 74px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.signal span {
  display: block;
  width: 8px;
  background: var(--ink);
  border-radius: 8px;
}

.signal span:nth-child(1) { height: 25%; }
.signal span:nth-child(2) { height: 48%; }
.signal span:nth-child(3) { height: 72%; }
.signal span:nth-child(4) { height: 100%; }

.tile-cta {
  grid-column: 4 / span 3;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  background: var(--cta);
  color: var(--canvas);
}

.tile-cta > p {
  align-self: center;
  max-width: 410px;
  margin-bottom: 0;
}

.cta-links {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.button-dark {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}

.cta-phone {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  text-underline-offset: 5px;
}

.details {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(50px, 10vw, 150px);
  padding-block: clamp(80px, 10vw, 150px);
}

.details-intro h2 {
  max-width: 430px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.faq-lite {
  border-top: 2px solid var(--ink);
}

.faq-lite details {
  border-bottom: 2px solid var(--ink);
}

.faq-lite summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 23px 0;
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  list-style: none;
}

.faq-lite summary::-webkit-details-marker {
  display: none;
}

.faq-lite summary span:last-child {
  font-size: 25px;
  transition: transform 160ms ease;
}

.faq-lite details[open] summary span:last-child {
  transform: rotate(45deg);
}

.faq-lite details p {
  max-width: 700px;
  margin: -4px 36px 22px 0;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
  border-top: 2px solid var(--ink);
  padding: 35px 0 46px;
  font-size: 13px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-brand strong {
  font-family: "Sora", sans-serif;
  font-size: 17px;
}

.footer address {
  font-style: normal;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 15px;
}

.privacy-open {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.privacy-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(780px, calc(100% - 32px));
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 0;
  background: var(--canvas);
  color: var(--ink);
}

.privacy-dialog::backdrop {
  background: var(--ink);
}

.dialog-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 2px solid var(--ink);
  padding: 28px 32px;
  background: var(--mist);
}

.dialog-head h2 {
  margin-bottom: 0;
  font-size: clamp(27px, 5vw, 42px);
  letter-spacing: -0.05em;
}

.dialog-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--canvas);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.privacy-content {
  display: grid;
  gap: 30px;
  padding: 32px;
}

.privacy-content h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.privacy-content p {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 4px;
}

.tile-cta :focus-visible,
.tile-hero :focus-visible {
  outline-color: var(--mist);
}

@media (max-width: 1050px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .tile-hero {
    grid-column: 1 / span 4;
    grid-row: auto;
    min-height: 570px;
  }

  .tile-fact-one,
  .tile-fact-two {
    grid-column: span 2;
    grid-row: auto;
    min-height: 205px;
  }

  .tile-service-main,
  .tile-service-secondary,
  .tile-cta {
    grid-column: span 2;
    grid-row: auto;
    min-height: 300px;
  }

  .tile-service-main,
  .tile-cta {
    grid-template-columns: 1fr;
  }

  .tile-cta > p {
    align-self: auto;
  }

  .cta-links {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .topbar,
  .bento,
  .details,
  .footer {
    width: min(100% - 28px, 580px);
  }

  .topbar {
    min-height: 74px;
    align-items: center;
  }

  .brand span {
    max-width: 110px;
    line-height: 1.1;
  }

  .nav-links {
    gap: 13px;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tile {
    border-radius: 20px;
    padding: 22px;
  }

  .tile-hero {
    grid-column: 1 / -1;
    min-height: 590px;
  }

  .hero-copy {
    margin-top: 55px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-mark {
    width: 180px;
  }

  .tile-fact-one,
  .tile-fact-two {
    grid-column: span 1;
    min-height: 220px;
  }

  .tile-service-main,
  .tile-service-secondary,
  .tile-cta {
    grid-column: 1 / -1;
    min-height: 310px;
  }

  .tile-service-main {
    align-content: end;
  }

  .signal {
    right: 24px;
    bottom: 24px;
  }

  .tile-service-secondary > p {
    padding-right: 65px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 85px;
  }

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

  .footer-links {
    align-items: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .dialog-head,
  .privacy-content {
    padding: 22px;
  }
}

@media (max-width: 390px) {
  .nav-links a:first-child {
    display: none;
  }

  .tile-fact-one,
  .tile-fact-two {
    grid-column: 1 / -1;
    min-height: 185px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}