/* Desktop UX refinement — keeps ASN Smart Business' sober, high-contrast system. */
:root {
  --action-shadow: 0 14px 28px rgba(222, 72, 59, .24);
  --label-ink: #075f73;
  --label-surface: #e4f8fa;
  --label-line: #9ddfe5;
}

/* Reading comes first: headings and controls retain their hierarchy at every width. */
body { line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
.btn, .nav-cta, .floating-config-cta, .text-link, .smart-info-trigger {
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease;
}
.btn:hover, .nav-cta:hover, .floating-config-cta:hover { transform: translateY(-2px); }
.text-link:hover, .smart-info-trigger:hover { text-decoration-thickness: 2px; }

/* Cyan on a pale surface does not meet the contrast needed for editorial labels. */
.ecosystem-intro > .eyebrow,
.weather-section > div > .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 24px;
  padding: 0 13px;
  border: 1px solid var(--label-line);
  border-radius: 999px;
  background: var(--label-surface);
  color: var(--label-ink);
  font-size: 11px;
  letter-spacing: .14em;
  box-shadow: 0 5px 12px rgba(8, 61, 82, .06);
}
.ecosystem-intro > .eyebrow::before,
.weather-section > div > .eyebrow::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #0d7790;
  box-shadow: 0 0 0 3px rgba(13, 119, 144, .12);
  content: '';
}

/* Primary actions are deliberately prominent: these are the site's conversion paths. */
.hero-actions { gap: 18px; }
.hero-actions .btn,
.final-cta .btn,
.asn-nav .btn-primary,
.asn-result .btn-primary {
  min-height: 56px;
  padding: 17px 25px;
  font-size: 15px;
  letter-spacing: -.01em;
  box-shadow: var(--action-shadow);
}
.hero-actions .btn-primary,
.final-cta .btn-primary { border-radius: 7px; }
.hero-actions .text-link,
.ecosystem-intro .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 4px 0 0;
  border-bottom: 2px solid currentColor;
  color: #d8f5f8;
  font-size: 15px;
  letter-spacing: -.01em;
}
.hero-actions .text-link span,
.ecosystem-intro .text-link span { font-size: 20px; transition: transform .2s ease; }
.hero-actions .text-link:hover span,
.ecosystem-intro .text-link:hover span { transform: translateY(3px); }
.ecosystem-intro .text-link {
  margin-top: 8px;
  color: #087f91;
  border-bottom-color: #58dbe8;
}

/* Avoid the perceived "empty" hero on wide displays and give the proof point a surface. */
@media (min-width: 1180px) {
  .hero { min-height: 700px; padding-top: 70px; padding-bottom: 42px; }
  .hero-proof {
    width: min(420px, 100%);
    margin-top: 38px;
    padding: 15px 17px;
    border: 1px solid rgba(113, 224, 235, .22);
    border-radius: 8px;
    background: rgba(6, 31, 55, .44);
  }
  .hero-visual { margin-top: -14px; }
}

/* Configurator entry point: make the two paths unmistakably interactive. */
.configurator {
  position: relative;
  padding-top: 132px;
  padding-bottom: 132px;
  background: linear-gradient(180deg, #fff 0%, #f5fafb 100%);
}
.config-head { max-width: 1280px; margin: 0 auto 54px; }
.config-head .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #08223e;
  color: #73e0eb;
  font-size: 11px;
}
.config-head h2 { font-size: clamp(3.15rem, 5vw, 5.45rem); }
.progress-wrap { width: 270px; font-size: 13px; }
.progress { height: 5px; border-radius: 99px; overflow: hidden; }
.asn-flow { max-width: 1280px; gap: 42px; }
.asn-wizard-stage { padding: 6px 0 26px; }
.asn-flow .question {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.06;
}
.asn-flow .question-sub { max-width: 700px; margin-bottom: 35px; font-size: 16px; line-height: 1.55; }
.asn-cards.two { gap: 20px; }
.asn-cards.two > .asn-choice,
.asn-cards.two > .asn-business-profile .asn-choice {
  min-height: 210px;
  padding: 29px;
  border: 1px solid #cbdde5;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(8, 34, 62, .045);
}
.asn-cards.two > .asn-choice:hover,
.asn-cards.two > .asn-business-profile .asn-choice:hover {
  transform: translateY(-5px);
  border-color: #f35b4d;
  box-shadow: 0 20px 35px rgba(8, 34, 62, .12);
}
.asn-cards.two .asn-choice i { margin-bottom: 22px; font-size: 37px; }
.asn-cards.two .asn-choice b { font-size: 24px; letter-spacing: -.04em; }
.asn-cards.two .asn-choice small { max-width: 340px; margin-top: 9px; font-size: 14px; line-height: 1.5; }
.asn-cards.two .asn-choice > span { right: 23px; top: 20px; font-size: 25px; }
.asn-business-profile { gap: 12px; }
.asn-business-info {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #9edbe3;
  border-radius: 7px;
  background: #eafafb;
  color: #076f80;
  font-size: 13px;
}
.asn-live-summary { top: 108px; border-radius: 12px; padding: 24px; }

/* Ecosystem: the conversion link is clear, while tiles form a denser visual story. */
.ecosystem { padding-top: 145px; padding-bottom: 120px; }
.ecosystem-intro h2 { font-size: clamp(3.4rem, 5.4vw, 5.9rem); }
.ecosystem-intro > p:not(.eyebrow) { max-width: 465px; font-size: 18px; }
.ecosystem-card { min-height: 245px; padding: 31px; }
.ecosystem-card-main { min-height: 270px; }
.ecosystem-card h3 { font-size: 29px; }
.ecosystem-card p { font-size: 14px; }
.ecosystem-journey { padding: 29px 31px; }

/* ASN capabilities become recognisable modules, not low-contrast labels. */
.compare-asn { padding-bottom: 33px !important; }
.compare-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.compare-pills i {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border-color: rgba(116, 227, 237, .28);
  border-radius: 7px;
  color: #e8fbfc;
  background: rgba(105, 224, 235, .09);
  font-size: 14px;
  font-weight: 700;
}
.compare-pills i span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: #062139;
  background: #6de0eb;
  font-size: 15px;
  letter-spacing: 0;
}

/* Final decision block provides a clear, full-size exit to the configurator. */
.final-cta { padding: 145px 20px; background: radial-gradient(circle at 50% -30%, #1f6380 0, transparent 45%), #08223e; }
.final-cta h2 { max-width: 850px; margin: 20px auto 42px; }
.final-cta .btn { min-width: min(100%, 285px); }

/* Mobile navigation: visible control, clear state, no hidden destinations. */
.mobile-menu-toggle { display: none; }

/* Precision is a product promise, so it stays visible on the cartography itself. */
.hero-waypoint-card b span { color: #ffd35a; font-size: 10px; }
.hero-waypoint-card small { white-space: nowrap; }
.weather-precision {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 24px;
}
.weather-precision span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #bce7eb;
  border-radius: 999px;
  color: #456e79;
  background: #effafb;
  font-size: 11px;
  font-weight: 600;
}
.weather-precision b { color: #087f91; font: 700 10px 'DM Sans'; letter-spacing: .08em; }
.weather-section > div > p:not(.eyebrow) { max-width: 505px; color: #486d7b; }
.weather-card { border: 1px solid #d6e8ec; border-radius: 12px; box-shadow: 0 18px 38px rgba(8, 49, 72, .12); }

/* Smart Business is a consultation-led configuration, never a self-service cart. */
.asn-business-contact-note {
  display: grid;
  gap: 5px;
  margin: 23px 0 4px;
  padding: 16px 18px;
  border-left: 4px solid #55d8e5;
  border-radius: 7px;
  background: #edf9fa;
  color: #355a6b;
  font-size: 14px;
  line-height: 1.48;
}
.asn-business-contact-note b { color: #082d4f; font: 700 17px 'Space Grotesk'; }

/* Confirmation of a consultation request: a focused, reassuring completion state. */
.asn-request-success-modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(3, 18, 34, .78);
  backdrop-filter: blur(8px);
}
.asn-request-success-modal.is-open { display: flex; }
.asn-request-success-dialog {
  width: min(550px, 100%);
  padding: 50px;
  border: 1px solid rgba(117, 229, 237, .4);
  border-radius: 14px;
  background: linear-gradient(145deg, #08223e, #0e4163);
  color: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
  text-align: center;
}
.asn-request-success-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  background: #67e8f9;
  color: #08223e;
  font: 700 29px 'DM Sans';
}
.asn-request-success-dialog .eyebrow { margin-bottom: 15px; color: #75e6ee; }
.asn-request-success-dialog h2 { font-size: clamp(35px, 5vw, 48px); }
.asn-request-success-dialog > p:not(.eyebrow) { margin: 22px auto 30px; max-width: 430px; color: #c4dbe7; font-size: 17px; line-height: 1.55; }
.asn-request-success-dialog .btn { min-height: 54px; padding-inline: 23px; }

@media (max-width: 900px) {
  .configurator { padding-top: 95px; padding-bottom: 95px; }
  .config-head h2 { font-size: clamp(3rem, 10vw, 4.6rem); }
  .asn-flow { gap: 26px; }
  .asn-live-summary { top: auto; }
  .ecosystem { padding-top: 96px; padding-bottom: 90px; }
  .compare-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { position: sticky; }
  .mobile-menu-toggle {
    display: inline-grid;
    grid-template-columns: 18px auto;
    grid-template-rows: repeat(3, 3px);
    align-items: center;
    column-gap: 8px;
    width: auto;
    min-height: 42px;
    margin-left: auto;
    padding: 9px 11px;
    border: 1px solid #c9dbe4;
    border-radius: 7px;
    color: #08223e;
    background: #fff;
    cursor: pointer;
  }
  .mobile-menu-toggle span {
    grid-column: 1;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .mobile-menu-toggle b {
    grid-column: 2;
    grid-row: 1 / 4;
    font: 700 11px 'DM Sans';
    letter-spacing: .04em;
  }
  .nav nav {
    position: absolute;
    z-index: 31;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 7vw 15px;
    border-bottom: 1px solid #d6e5eb;
    background: rgba(250, 253, 254, .98);
    box-shadow: 0 16px 26px rgba(7, 28, 53, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-9px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav nav a {
    display: flex;
    align-items: center;
    min-height: 51px;
    padding: 0 4px;
    border-bottom: 1px solid #e2edf1;
    color: #123c5b;
    font-size: 16px;
  }
  .mobile-nav-open .nav nav { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .mobile-nav-open .mobile-menu-toggle span:nth-of-type(1) { transform: translateY(5px) rotate(45deg); }
  .mobile-nav-open .mobile-menu-toggle span:nth-of-type(2) { opacity: 0; }
  .mobile-nav-open .mobile-menu-toggle span:nth-of-type(3) { transform: translateY(-5px) rotate(-45deg); }
}

/* Tablet navigation remains usable without compressing the three destinations. */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav { gap: 14px; padding-right: 5vw; padding-left: 5vw; }
  .mobile-menu-toggle {
    display: inline-grid;
    grid-template-columns: 18px auto;
    grid-template-rows: repeat(3, 3px);
    align-items: center;
    column-gap: 8px;
    width: auto;
    min-height: 42px;
    margin-left: auto;
    padding: 9px 11px;
    border: 1px solid #c9dbe4;
    border-radius: 7px;
    color: #08223e;
    background: #fff;
    cursor: pointer;
  }
  .mobile-menu-toggle span { grid-column: 1; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
  .mobile-menu-toggle b { grid-column: 2; grid-row: 1 / 4; font: 700 11px 'DM Sans'; letter-spacing: .04em; }
  .nav nav {
    position: absolute;
    z-index: 31;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 5vw 15px;
    border-bottom: 1px solid #d6e5eb;
    background: rgba(250, 253, 254, .98);
    box-shadow: 0 16px 26px rgba(7, 28, 53, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-9px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav nav a { display: flex; align-items: center; min-height: 51px; padding: 0 4px; border-bottom: 1px solid #e2edf1; color: #123c5b; font-size: 16px; }
  .mobile-nav-open .nav nav { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .mobile-nav-open .mobile-menu-toggle span:nth-of-type(1) { transform: translateY(5px) rotate(45deg); }
  .mobile-nav-open .mobile-menu-toggle span:nth-of-type(2) { opacity: 0; }
  .mobile-nav-open .mobile-menu-toggle span:nth-of-type(3) { transform: translateY(-5px) rotate(-45deg); }
  .ecosystem { gap: 42px 5%; }
  .ecosystem-card { padding: 26px; }
}

@media (max-width: 560px) {
  .hero-actions .btn,
  .final-cta .btn,
  .asn-nav .btn-primary,
  .asn-result .btn-primary { width: 100%; min-height: 54px; }
  .hero-actions .text-link { width: 100%; justify-content: center; }
  .configurator { padding-left: 7vw; padding-right: 7vw; }
  .config-head .eyebrow { font-size: 10px; }
  .asn-cards.two > .asn-choice,
  .asn-cards.two > .asn-business-profile .asn-choice { min-height: 175px; padding: 24px; }
  .asn-cards.two .asn-choice b { font-size: 22px; }
  .asn-cards.two .asn-choice small { font-size: 13px; }
  .asn-business-info { font-size: 12px; }
  .ecosystem-intro h2 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .compare-pills { grid-template-columns: 1fr; }
  .mobile-menu-toggle { margin-left: auto; }
  .nav-actions { margin-left: 0; }
  .nav-actions .nav-cta { display: none; }
  .weather-precision { margin-bottom: 19px; }
  .weather-precision span { font-size: 10px; }
  .ecosystem-intro > .eyebrow,
  .weather-section > div > .eyebrow { min-height: 32px; margin-bottom: 19px; padding: 0 10px; font-size: 9px; letter-spacing: .11em; }
  .asn-request-success-dialog { padding: 38px 26px; }
  .final-cta { padding-top: 96px; padding-bottom: 96px; }
}
