/* Retained modules only: floating navigation, footer and onboarding introduction.
   The original page body keeps the typography, colors and layout in styles.css. */
body { padding-top: var(--header); }

.site-header,
.site-footer,
.introduction,
.onboarding-grid {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

/* Floating top bar. */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 1180px;
  height: 76px;
  padding: 10px 14px 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid #ffffffd9;
  border-radius: 999px;
  box-shadow: 0 4px 7px #17171903, 0 16px 45px #17171909;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 50;
  color: #171719;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: "Madefor Display", Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header .brand-icon { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 2px 4px #0001; }
.site-header .brand-divider { width: 1px; height: 28px; background: #dfe1e7; margin-inline: 3px; }
.site-header .brand-wordmark { display: flex; align-items: baseline; gap: 6px; font-family: "Madefor Display", Arial, sans-serif; }
.site-header .brand-name { font-family: inherit; font-size: 25px; font-weight: 700; letter-spacing: -.045em; }
.site-header .brand-label { font-family: inherit; font-size: 15px; font-weight: 400; letter-spacing: -.025em; color: #171719; }
.site-header .site-nav {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 29px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.site-header .site-nav > a { width: auto; padding: 0; text-decoration: none; }
.site-header .site-nav > a:not(.nav-cta):hover { color: #bf400b; text-decoration: none; }
.site-header .site-nav > a[aria-current="page"] { text-decoration: none; }
.site-header .external-arrow { font-size: 12px; margin-left: 3px; }
.site-header .site-nav .nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 999px;
  background: #171719;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}
.site-header .site-nav .nav-cta:hover { background: #303033; text-decoration: none; }
.site-header .nav-toggle { display: none; }

/* Current footer layout, with the original labels and destinations. */
.site-footer { background: #fbfbfd; padding: 53px 0 25px; color: #171719; }
.site-footer .footer-inner { width: calc(100% - 96px); max-width: 1180px; margin-inline: auto; }
.site-footer .footer-wordmark { display: inline-block; font-family: "Madefor Display", Arial, sans-serif; font-size: 26px; font-weight: 400; letter-spacing: -.04em; text-decoration: none; margin-bottom: 38px; }
.site-footer .footer-wordmark strong { font-weight: 700; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 55px; text-align: left; }
.site-footer .footer-column h2 { font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin: 0 0 13px; color: #626671; }
.site-footer .footer-column > a { display: block; font-size: 12px; font-weight: 400; line-height: 1.9; text-decoration: none; color: #626671; }
.site-footer .footer-column > a:hover { color: #bf400b; text-decoration: none; }
.site-footer .footer-column h2 > a { text-decoration: none; }
.site-footer .footer-bottom { margin-top: 40px; padding-top: 21px; border-top: 1px solid #e7e8ed; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #6b6f7a; font-size: 9px; }

/* The retained introduction and its two factual onboarding cards. */
.introduction.section-width,
.onboarding-grid.section-width { width: calc(100% - 96px); max-width: 1180px; margin-inline: auto; }
.introduction { text-align: center; padding: 88px 0 56px; color: #171719; }
.introduction .eyebrow { color: #bf400b; margin-bottom: 23px; font-size: 11px; letter-spacing: .14em; font-weight: 700; line-height: 1.5; }
.introduction h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; font-size: clamp(42px, 5vw, 66px); font-weight: 700; line-height: 1.09; letter-spacing: -.045em; }
.introduction .muted { color: #838590; }
.introduction .section-description { margin-top: 25px; font-size: 20px; line-height: 1.6; color: #626671; letter-spacing: -.025em; }
.onboarding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 115px; color: #171719; }
.onboarding-grid .onboarding-card { border-radius: 26px; overflow: hidden; background: #f1f1f3; padding: 34px 36px 0; position: relative; min-height: 640px; }
.onboarding-grid .card-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.onboarding-grid .feature-number { font-size: 10px; letter-spacing: .11em; color: #6b6f7a; }
.onboarding-grid .small-badge { font-size: 8px; letter-spacing: .06em; padding: 6px 8px; border: 1px solid #dfe1e8; border-radius: 6px; color: #6b6f7a; }
.onboarding-grid .onboarding-card h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; font-size: 39px; font-weight: 700; line-height: 1.09; margin-top: 35px; letter-spacing: -.045em; }
.onboarding-grid .onboarding-card > p { font-size: 15px; line-height: 1.65; color: #626671; max-width: 420px; margin-top: 20px; letter-spacing: -.015em; }
.onboarding-grid .onboarding-card > p strong { font-weight: 500; color: #625850; }
.onboarding-grid .scan-card { background: linear-gradient(145deg, #f3efed, #f7f5f3); }
.onboarding-grid .place-card { background: #f0f3f4; }
.onboarding-grid .scan-illustration { height: 295px; position: relative; margin-top: 25px; }
.onboarding-grid .scan-paper { background: #fff; border: 1px solid #e5e2df; border-radius: 12px; box-shadow: 0 15px 30px #6b554413; padding: 25px; width: 230px; height: 270px; position: absolute; top: 8px; left: 15%; transform: rotate(-7deg); overflow: hidden; }
/* The legacy body also has .paper-heading, so reset its layout in this card. */
.onboarding-grid .scan-paper .scan-paper-heading { height: auto; min-height: 0; display: block; padding: 0; gap: 0; align-items: normal; justify-content: normal; flex-direction: row; font-family: inherit; font-size: 10px; font-weight: 400; line-height: normal; letter-spacing: .14em; color: #888da4; margin: 0 0 30px; text-align: center; }
.onboarding-grid .paper-line { height: 5px; background: #eae7e5; margin-bottom: 16px; width: 66%; border-radius: 4px; }
.onboarding-grid .paper-line.long { width: 100%; }
.onboarding-grid .paper-line.short { width: 43%; }
.onboarding-grid .paper-rule { height: 1px; background: #f0f0f4; margin: 25px 0; }
.onboarding-grid .scan-beam { height: 40px; border-bottom: 2px solid #c68863; background: linear-gradient(transparent, #c6886324); position: absolute; left: 0; right: 0; top: 45%; animation: retained-scan 5s ease-in-out infinite; }
.onboarding-grid .scan-result { position: absolute; left: 38%; top: 140px; background: #fff; padding: 15px 17px; border-radius: 12px; box-shadow: 0 10px 30px #55402f1a; border: 1px solid #e8e1dd; display: flex; gap: 11px; align-items: center; transform: rotate(3deg); font-size: 10px; color: #9297ac; white-space: nowrap; }
.onboarding-grid .result-icon { display: grid; place-items: center; height: 27px; width: 27px; background: #f4e8e1; color: #bf400b; border-radius: 8px; font-size: 13px; }
.onboarding-grid .scan-result strong { display: inline-block; margin-top: 5px; font-size: 12px; color: #4c4038; font-weight: 600; }
.onboarding-grid .place-illustration { height: 300px; position: relative; margin: 30px -36px 0; overflow: hidden; background: #e6eeea; isolation: isolate; }
.onboarding-grid .map-grid { position: absolute; inset: -40px; background: repeating-linear-gradient(0deg, transparent, transparent 60px, #d8e3dc 60px, #d8e3dc 63px), repeating-linear-gradient(90deg, transparent, transparent 87px, #d8e3dc 87px, #d8e3dc 90px); transform: rotate(-18deg) scale(1.3); }
.onboarding-grid .map-road { position: absolute; background: #fafcfb; border: 1px solid #d3dfd6; height: 27px; left: -100px; right: -100px; transform: rotate(-23deg); }
.onboarding-grid .road-one { top: 45%; }
.onboarding-grid .road-two { top: 40%; transform: rotate(58deg); }
.onboarding-grid .map-park { position: absolute; background: #cddfd5; width: 100px; height: 110px; border-radius: 30px; top: 20px; right: 20px; transform: rotate(-20deg); }
.onboarding-grid .map-pin { position: absolute; left: 50%; top: 55px; transform: translateX(-50%) rotate(-8deg); width: 52px; height: 52px; display: grid; place-items: center; background: #bf400b; color: #fff; border-radius: 19px 19px 19px 5px; font-family: inherit; font-size: 26px; box-shadow: 0 10px 25px #bf400b28; }
.onboarding-grid .place-result { position: absolute; left: 10%; right: 10%; bottom: 48px; display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 18px; background: #ffffffed; border: 1px solid #fff; box-shadow: 0 10px 30px #485e5210; }
.onboarding-grid .place-result strong { font-size: 14px; font-weight: 600; }
.onboarding-grid .place-result div > span { display: block; font-size: 10px; margin-top: 5px; color: #9a9eab; }
.onboarding-grid .place-dot { width: 35px; height: 35px; background: #f3e8e1; border-radius: 11px; }
.onboarding-grid .result-check { margin-left: auto; color: #4c9b77; }
@keyframes retained-scan { 0%, 100% { top: 14%; opacity: .2; } 50% { top: 76%; opacity: 1; } }

@media (max-width: 1100px) {
  .site-header { width: calc(100% - 40px); gap: 18px; }
  .site-header .brand { gap: 9px; }
  .site-header .brand-name { font-size: 23px; }
  .site-header .brand-label { font-size: 14px; }
  .site-header .site-nav { gap: 22px; }
  .site-footer .footer-inner,
  .introduction.section-width,
  .onboarding-grid.section-width { width: calc(100% - 64px); }
  .onboarding-grid .onboarding-card { padding-inline: 28px; min-height: 645px; }
  .onboarding-grid .onboarding-card h3 { font-size: 35px; }
  .onboarding-grid .place-illustration { margin-inline: -28px; }
  .onboarding-grid .small-badge { font-size: 7px; }
  .onboarding-grid .scan-paper { left: 3%; }
  .onboarding-grid .scan-result { left: 25%; }
}
@media (max-width: 800px) {
  .site-header .brand-label { display: none; }
  .site-header .site-nav { gap: 20px; }
  .site-header .site-nav .nav-cta { font-size: 15px; padding-inline: 22px; }
  .introduction { padding-top: 60px; }
  .introduction h2 { font-size: 44px; }
  .introduction .section-description { font-size: 17px; }
  .onboarding-grid { gap: 16px; padding-bottom: 75px; }
  .onboarding-grid .onboarding-card { padding: 24px 24px 0; min-height: 620px; }
  .onboarding-grid .onboarding-card h3 { font-size: 30px; }
  .onboarding-grid .onboarding-card > p { font-size: 14px; }
  .onboarding-grid .card-topline { align-items: flex-start; gap: 10px; flex-direction: column; }
  .onboarding-grid .feature-number { font-size: 9px; }
  .onboarding-grid .small-badge { font-size: 7px; }
  .onboarding-grid .place-illustration { margin-inline: -24px; }
  .onboarding-grid .scan-paper { width: 205px; padding: 23px; left: -10px; }
  .onboarding-grid .scan-result { left: 15px; top: 175px; font-size: 9px; padding: 12px; }
  .onboarding-grid .scan-result strong { font-size: 10px; }
  .site-footer .footer-grid { gap: 30px; }
}
@media (max-width: 600px) {
  .site-header { top: 12px; width: calc(100% - 24px); height: 66px; padding: 8px 10px; gap: 8px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand-icon { width: 38px; height: 38px; border-radius: 11px; }
  .site-header .brand-wordmark { display: none; }
  .site-header .brand-divider { height: 24px; margin-inline: 2px 4px; }
  .site-header .site-nav { gap: 18px; font-size: 11px; flex: 1; justify-content: flex-end; }
  .site-header .external-arrow { display: none; }
  .site-header .site-nav .nav-cta { min-height: 42px; padding-inline: 17px; gap: 0; font-size: 13px; }
  .site-footer .footer-inner,
  .introduction.section-width,
  .onboarding-grid.section-width { width: calc(100% - 40px); }
  .introduction { padding-top: 55px; padding-bottom: 35px; text-align: left; }
  .introduction .eyebrow { font-size: 8px; margin-bottom: 20px; }
  .introduction h2 { font-size: 37px; line-height: 1.13; letter-spacing: -.045em; }
  .introduction .section-description { font-size: 16px; line-height: 1.55; margin-top: 22px; }
  .introduction .section-description br { display: none; }
  .onboarding-grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 75px; }
  .onboarding-grid .onboarding-card { padding: 28px 27px 0; min-height: 600px; border-radius: 22px; }
  .onboarding-grid .card-topline { flex-direction: row; align-items: center; }
  .onboarding-grid .onboarding-card h3 { font-size: 36px; margin-top: 34px; }
  .onboarding-grid .onboarding-card > p { font-size: 15px; line-height: 1.6; max-width: 430px; margin-top: 20px; }
  .onboarding-grid .small-badge { font-size: 7px; padding: 5px 7px; }
  .onboarding-grid .scan-illustration { height: 290px; margin-top: 25px; }
  .onboarding-grid .scan-paper { left: 7%; width: 217px; height: 270px; }
  .onboarding-grid .scan-result { left: 25%; top: 150px; padding: 14px; font-size: 9px; }
  .onboarding-grid .scan-result strong { font-size: 11px; }
  .onboarding-grid .place-illustration { height: 285px; margin-inline: -27px; margin-top: 28px; }
  .onboarding-grid .place-result { left: 9%; right: 9%; padding: 17px; bottom: 45px; }
  .site-footer { padding: 38px 0 25px; }
  .site-footer .footer-wordmark { font-size: 25px; margin-bottom: 30px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 25px; }
  .site-footer .footer-column:first-child { grid-column: 1 / -1; }
  .site-footer .footer-column h2 { font-size: 10px; margin-bottom: 10px; }
  .site-footer .footer-column > a { font-size: 11px; line-height: 1.9; }
  .site-footer .footer-bottom { margin-top: 32px; padding-top: 19px; align-items: flex-start; flex-direction: column; gap: 8px; font-size: 8px; }
}
@media (max-width: 370px) {
  .site-header .site-nav { gap: 12px; font-size: 10px; }
  .site-header .site-nav .nav-cta { font-size: 13px; padding-inline: 13px; }
  .site-header .brand-icon { height: 35px; width: 35px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand-divider { margin-right: 0; }
  .site-footer .footer-inner,
  .introduction.section-width,
  .onboarding-grid.section-width { width: calc(100% - 36px); }
  .introduction h2 { font-size: 34px; }
  .onboarding-grid .onboarding-card { padding-inline: 24px; }
  .onboarding-grid .onboarding-card h3 { font-size: 32px; }
  .onboarding-grid .place-illustration { margin-inline: -24px; }
  .onboarding-grid .scan-result { left: 13%; font-size: 8px; }
  .onboarding-grid .scan-result strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .onboarding-grid .scan-beam { animation: none; }
}
