/* Homepage spacing adjustment: reduce the large blank area above each section. */
.hero {
  padding-top: 48px;
  padding-bottom: 44px;
}

.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 760px) {
  .hero {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .section {
    padding-top: 38px;
    padding-bottom: 38px;
  }
}

/* MDAC guide: in-page navigation and scoped knowledge-card layout. */
.mdac-toc {
  max-width: 820px;
  margin-top: 34px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--pale);
}

.mdac-toc h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.mdac-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 28px;
  margin: 0;
  padding-left: 22px;
}

.mdac-toc a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.mdac-toc a:hover {
  color: var(--red);
}

.mdac-guide-page .content-block {
  scroll-margin-top: 112px;
}

/* FAQ: keep page links and the third-party service note visually distinct. */
.faq-page .content-block a {
  display: inline-flex;
  align-items: center;
  margin: 2px 0;
  padding: 3px 9px;
  border: 1px solid #c7dcf6;
  border-radius: 999px;
  background: #f3f8ff;
  color: var(--navy);
  font-size: .94em;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.faq-page .content-block a:hover {
  border-color: #9ebfe9;
  background: #e5f0ff;
  transform: translateY(-1px);
}

.entry-guide-page .content-block a {
  display: inline-flex;
  align-items: center;
  margin: 2px 0;
  padding: 3px 9px;
  border: 1px solid #c7dcf6;
  border-radius: 999px;
  background: #f3f8ff;
  color: var(--navy);
  font-size: .94em;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.entry-guide-page .content-block a:hover {
  border-color: #9ebfe9;
  background: #e5f0ff;
  transform: translateY(-1px);
}

.visa-page .content-block a {
  display: inline-flex;
  align-items: center;
  margin: 2px 4px 2px 0;
  padding: 3px 9px;
  border: 1px solid #c7dcf6;
  border-radius: 999px;
  background: #f3f8ff;
  color: var(--navy);
  font-size: .94em;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.visa-page .content-block a:hover {
  border-color: #9ebfe9;
  background: #e5f0ff;
  transform: translateY(-1px);
}

.airport-page .content-block a {
  display: inline-flex;
  align-items: center;
  margin: 2px 4px 2px 0;
  padding: 3px 9px;
  border: 1px solid #c7dcf6;
  border-radius: 999px;
  background: #f3f8ff;
  color: var(--navy);
  font-size: .94em;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.airport-page .content-block a:hover {
  border-color: #9ebfe9;
  background: #e5f0ff;
  transform: translateY(-1px);
}

.airport-guide-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.airport-source-links {
  margin-top: 18px;
}

.sources-page .content-block a {
  display: inline-flex;
  align-items: center;
  margin: 2px 4px 2px 0;
  padding: 3px 9px;
  border: 1px solid #c7dcf6;
  border-radius: 999px;
  background: #f3f8ff;
  color: var(--navy);
  font-size: .94em;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.sources-page .content-block a:hover {
  border-color: #9ebfe9;
  background: #e5f0ff;
  transform: translateY(-1px);
}

.sources-guide-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sources-update-link {
  margin-top: 18px;
}

.updates-page .content-block a {
  display: inline-flex;
  align-items: center;
  margin: 2px 4px 2px 0;
  padding: 3px 9px;
  border: 1px solid #c7dcf6;
  border-radius: 999px;
  background: #f3f8ff;
  color: var(--navy);
  font-size: .94em;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.updates-page .content-block a:hover {
  border-color: #9ebfe9;
  background: #e5f0ff;
  transform: translateY(-1px);
}

/* Service disclaimer: make boundary and privacy links easy to identify. */
.service-disclaimer-page .content-block a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 2px;
  padding: 2px 10px;
  border: 1px solid #c7daf5;
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.service-disclaimer-page .content-block a:hover {
  border-color: #9fbfe9;
  background: #e7f1ff;
}

.service-disclaimer-page .service-boundary-card {
  padding: 25px 24px;
  border: 1px solid #cbdcf4;
  border-left: 4px solid var(--navy);
  border-radius: 14px;
  background: #f5f9ff;
}

/* About page: keep trust-navigation links visible without turning the page into a sales panel. */
.about-page .content-block a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 2px;
  padding: 2px 10px;
  border: 1px solid #c7daf5;
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.about-page .content-block a:hover {
  border-color: #9fbfe9;
  background: #e7f1ff;
}

.about-page .about-assistance-card {
  padding: 25px 24px;
  border: 1px solid #cbdcf4;
  border-left: 4px solid var(--navy);
  border-radius: 14px;
  background: #f5f9ff;
}

@media (max-width: 760px) {
  .about-page .about-assistance-card {
    padding: 20px 18px;
  }
}

@media (max-width: 760px) {
  .service-disclaimer-page .service-boundary-card {
    padding: 20px 18px;
  }
}

.update-list,
.updates-guide-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.update-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.update-item p {
  margin: 7px 0 0;
  font-size: 14px;
}

.update-item .update-date {
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 800;
}

.airport-mdac-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  border-radius: 10px;
  background: #fff7f7;
  color: var(--ink);
}

.faq-service-note {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #cfe0f7;
  border-radius: 14px;
  background: #f3f8ff;
}

.faq-service-note strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.faq-service-note p {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Entry guide: a separate navigation grid prevents homepage card rules leaking in. */
.entry-guide-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.entry-guide-nav .card a {
  color: var(--navy);
}

.mdac-guide-page .mdac-knowledge-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .update-list,
  .updates-guide-nav {
    grid-template-columns: 1fr;
  }

  .sources-guide-nav {
    grid-template-columns: 1fr;
  }

  .airport-guide-nav {
    grid-template-columns: 1fr;
  }

  .entry-guide-nav {
    grid-template-columns: 1fr;
  }

  .faq-service-note {
    padding: 16px;
  }

  .mdac-toc {
    margin-top: 24px;
    padding: 18px 20px;
  }

  .mdac-toc ol {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  main.mdac-guide-page > section.content-stack .mdac-knowledge-grid {
    grid-template-columns: 1fr;
  }

  main.mdac-guide-page > section.content-stack .mdac-knowledge-grid .card {
    display: block;
    padding: 20px;
  }

  main.mdac-guide-page > section.content-stack .mdac-knowledge-grid .card h3 {
    margin: 0 0 8px;
    font-size: 18px;
  }

  main.mdac-guide-page > section.content-stack .mdac-knowledge-grid .card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .section {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}

/* Keep the three-step MDAC flow compact on phones. */
@media (max-width: 760px) {
  .hero .button-row .btn {
    width: auto;
    max-width: 100%;
    justify-self: start;
    padding-left: 16px;
    padding-right: 16px;
    white-space: nowrap;
  }

  main > section:nth-of-type(2) .knowledge-grid .card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 14px 16px;
  }

  main > section:nth-of-type(2) .knowledge-grid .step-number {
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
  }

  main > section:nth-of-type(2) .knowledge-grid .card h3 {
    margin: 1px 0 3px;
    font-size: 18px;
  }

  main > section:nth-of-type(2) .knowledge-grid .card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }
}

/* Mobile reading-flow refinements after the homepage content restructure. */
@media (max-width: 760px) {
  .hero {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero .lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero .button-row {
    gap: 8px;
    margin-top: 20px;
  }

  .hero .button-row .btn {
    min-height: 40px;
  }

  main > section:nth-of-type(2),
  main > section:nth-of-type(3),
  main > section:nth-of-type(4),
  main > section:nth-of-type(5),
  main > section:nth-of-type(6),
  main > section:nth-of-type(7) {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  main > section:nth-of-type(2) .section-heading,
  main > section:nth-of-type(5) .section-heading,
  main > section:nth-of-type(6) .section-heading {
    margin-bottom: 14px;
  }

  main > section:nth-of-type(3) .mdac-panel,
  main > section:nth-of-type(7) .mdac-panel {
    gap: 16px;
    padding: 20px 16px;
  }

  main > section:nth-of-type(3) .mdac-panel > div:first-child > p:not(.eyebrow) {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.55;
  }

  main > section:nth-of-type(3) .fact-list,
  main > section:nth-of-type(7) .fact-list {
    gap: 8px;
  }

  main > section:nth-of-type(3) .fact-list div {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.45;
  }

  main > section:nth-of-type(4) .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  main > section:nth-of-type(4) .trust-item {
    padding: 12px 8px;
  }

  main > section:nth-of-type(4) .trust-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  main > section:nth-of-type(4) .trust-item h3 {
    font-size: 12px;
    line-height: 1.35;
  }

  main > section:nth-of-type(4) .trust-item p {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.4;
  }

  main > section:nth-of-type(5) .knowledge-grid .card,
  main > section:nth-of-type(6) .knowledge-grid .card {
    padding: 16px;
  }

  main > section:nth-of-type(5) .knowledge-grid .card h3,
  main > section:nth-of-type(6) .knowledge-grid .card h3 {
    margin-bottom: 5px;
    font-size: 18px;
  }

  main > section:nth-of-type(5) .knowledge-grid .card p,
  main > section:nth-of-type(6) .knowledge-grid .card p {
    font-size: 13px;
    line-height: 1.45;
  }

  main > section:nth-of-type(6) .knowledge-grid {
    gap: 10px;
  }

  main > section:nth-of-type(6) .knowledge-grid .card {
    min-height: 0;
  }

  main > section:nth-of-type(7) .mdac-panel {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  main > section:nth-of-type(3) .mdac-panel {
    gap: 20px;
    padding: 24px 18px;
  }

  main > section:nth-of-type(3) .mdac-panel > div:first-child > p:not(.eyebrow) {
    margin: 12px 0;
  }

  main > section:nth-of-type(3) .fact-list {
    gap: 12px;
  }

  main > section:nth-of-type(3) .fact-list div {
    padding: 12px 14px;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
  }

  .site-footer .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .site-footer .footer-icp {
    padding: 0 0 20px;
    text-align: center;
  }

  .site-footer .footer-icp a {
    color: #c7d7ea;
    font-size: 12px;
  }
}

.site-footer .footer-icp {
  padding: 0 0 20px;
  text-align: center;
}

.site-footer .footer-icp a {
  color: #c7d7ea;
  font-size: 12px;
}

/* Final visual hierarchy pass. */
.hero {
  padding-top: 42px;
  padding-bottom: 38px;
}

.section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-lead-mobile {
  display: none;
}

.hero-heading-mobile {
  display: none;
}

.hero .button-row {
  display: grid;
  grid-template-columns: minmax(280px, 420px);
  gap: 16px;
  margin-top: 32px;
}

.hero .button-row .btn {
  width: 100%;
}

@media (max-width: 760px) {
  .brand-logo {
    width: 200px;
  }

  .brand-logo-crop {
    width: 200px;
    height: 34px;
  }

  .brand-domain {
    margin-top: -2px;
    margin-left: 55px;
  }

  .hero {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero-towers {
    right: -18px;
    width: 78vw;
    object-position: 70% 45%;
    opacity: .62;
  }

  .hero-lead-full {
    display: none;
  }

  .hero-heading-full {
    display: none;
  }

  .hero-heading-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -.045em;
  }

  .hero-heading-mobile small {
    display: block;
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: -.035em;
  }

  .hero-lead-mobile {
    display: inline;
  }

  .hero .lead {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero .button-row {
    gap: 14px;
    margin-top: 24px;
  }

  main > section:nth-of-type(2),
  main > section:nth-of-type(3),
  main > section:nth-of-type(4),
  main > section:nth-of-type(5),
  main > section:nth-of-type(6),
  main > section:nth-of-type(7) {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  main > section:nth-of-type(2) .knowledge-grid .card h3 {
    font-size: 16px;
  }

  main > section:nth-of-type(2) .knowledge-grid .card p {
    font-size: 13px;
  }

  main > section:nth-of-type(2) .updated {
    font-size: 14px;
    line-height: 1.55;
  }

  main > section:nth-of-type(3) .mdac-panel {
    gap: 14px;
    padding: 18px 16px;
  }

  main > section:nth-of-type(3) .mdac-panel > div:first-child > p:not(.eyebrow) {
    margin: 8px 0;
  }

  main > section:nth-of-type(3) .fact-list {
    gap: 8px;
  }

  main > section:nth-of-type(3) .fact-list div {
    min-height: 64px;
    padding: 10px 12px;
  }

  main > section:nth-of-type(4) .trust-item {
    padding: 10px 8px;
  }

  main > section:nth-of-type(4) .trust-icon {
    margin-bottom: 5px;
  }

  main > section:nth-of-type(4) .trust-item p {
    margin-top: 3px;
  }

  main > section:nth-of-type(5) .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Match the requested mobile first-screen composition. */
@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 26px;
  }

  .hero-towers {
    top: 148px;
    right: -40px;
    width: 118vw;
    height: calc(100% - 48px);
    object-position: 70% 45%;
    opacity: .55;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-tagline {
    white-space: normal;
  }

  .hero .lead {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero .button-row {
    gap: 16px;
    margin-top: 34px;
  }
}

@media (max-width: 420px) {
  .brand-logo-crop {
    width: 190px;
    height: 33px;
  }

  .brand-logo {
    width: 190px;
  }

  .brand-domain {
    margin-left: 52px;
  }
}

/* Hero asset integration: one shared banner remains the background at every breakpoint. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 28%, rgba(255,255,255,.45) 52%, rgba(255,255,255,0) 76%);
}

.hero-media .hero-towers {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}

@media (min-width: 761px) {
  .hero { min-height: 500px; }
  .hero-media .hero-towers { object-position: center top; }
}

@media (max-width: 760px) {
  .hero {
    min-height: 360px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero + .section { padding-top: 0; }

  .hero-media .hero-towers {
    object-position: 72% center;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.99) 32%, rgba(255,255,255,.84) 50%, rgba(255,255,255,.46) 68%, rgba(255,255,255,0) 100%);
  }
}

/* Homepage copy hierarchy and FAQ link treatment. */
.mdac-flow-title,
.mdac-quick-title {
  white-space: nowrap;
  font-size: clamp(22px, 2.5vw, 32px);
}

.mdac-panel .fact-link {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 2px 8px;
  border: 1px solid #c7dcf6;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.mdac-panel .fact-link:hover {
  background: #e5f0ff;
}

.faq-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #c7daf6;
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(20,61,122,.08);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.faq-all-link:hover {
  border-color: #9ebfe9;
  background: #eaf3ff;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .mdac-flow-title,
  .mdac-quick-title {
    font-size: 16px;
    letter-spacing: -.035em;
  }

  .faq-all-link {
    margin-top: 12px;
    padding: 7px 12px;
    font-size: 13px;
  }

  /* Give the MDAC quick-reference panel more breathing room on phones. */
  main > section:nth-of-type(3) .mdac-panel {
    gap: 20px;
    padding: 26px 20px;
  }

  main > section:nth-of-type(3) .mdac-panel > div:first-child > p:not(.eyebrow) {
    margin: 14px 0 16px;
    line-height: 1.7;
  }

  main > section:nth-of-type(3) .mdac-panel .btn {
    margin-top: 4px;
  }

  main > section:nth-of-type(3) .fact-list {
    gap: 14px;
  }

  main > section:nth-of-type(3) .fact-list div {
    padding: 14px 15px;
    line-height: 1.65;
  }

  /* Keep the homepage constrained to vertical scrolling on narrow screens. */
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .shell,
  .hero-grid,
  .mdac-panel,
  .knowledge-grid,
  .trust-grid {
    min-width: 0;
  }

  .mdac-flow-title,
  .mdac-quick-title {
    max-width: 100%;
    overflow: hidden;
  }

  main > section:nth-of-type(4) {
    padding-top: 14px;
  }
}
