/* AERGIDE landing — adjustments layered over site.css */

.hero { padding-top: 13vh; padding-bottom: 96px; }
.hero h1 { font-size: clamp(30px, 3.9vw, 54px); max-width: 30ch; text-wrap: balance; }
.hero .deck { max-width: 46rem; }
.hero-actions { margin-top: 30px; }
.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--mute);
  border-left: 2px solid #5ba3c4;
  padding-left: 12px;
}

/* Four-across grid for process steps and packs */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.tri-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.45;
}

/* Trial band */
.scene-tight { padding-top: 60px; padding-bottom: 60px; }
.scene-tight h2 { max-width: 30ch; }

/* Price block */
.price-block {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: baseline;
  margin-top: 30px;
  padding: 28px 30px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.04);
}
.price-figure {
  margin: 0;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 700;
  color: #7dd3fc;
  line-height: 1;
}
.price-sub {
  margin: 10px 0 0;
  font-size: 15px;
  max-width: 34ch;
  color: var(--fg);
}
.price-detail {
  margin: 0;
  font-size: 14px;
  color: var(--mute);
  max-width: 34ch;
  line-height: 1.5;
}

.pricing-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--mute);
  line-height: 1.55;
  max-width: 62ch;
}

/* Final CTA */
.scene-cta { text-align: left; padding-bottom: 100px; }
.scene-cta .deck { max-width: 52ch; }

@media (max-width: 860px) {
  .hero { padding-top: 10vh; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(27px, 7.4vw, 40px); }
  .grid-4 { gap: 14px; }
  .price-block { padding: 22px; }
}

/* Platform support */
.platform-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  max-width: 62rem;
}
.platform-list li {
  padding: 16px 18px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(125, 211, 252, 0.03);
  font-size: 15px;
  line-height: 1.5;
}

/* Language switcher — identical in every locale */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(125, 211, 252, 0.2);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.lang a {
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--mute);
  text-decoration: none;
}
.lang a:hover { color: #7dd3fc; }
.lang a[aria-current="true"] {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.1);
}
@media (max-width: 860px) {
  .lang {
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(125, 211, 252, 0.2);
    width: 100%;
  }
}

/* Mobile: the hero button is a full sentence, not a label. A nowrap button in a
   390px viewport overflows the layout and drags the whole page sideways, which
   is how the CTA ends up half off-screen on a phone. */
.ghost { white-space: normal; text-align: center; max-width: 100%; }

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .ghost {
    width: 100%;
    padding: 15px 18px;
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .hero h1 { font-size: clamp(26px, 7.4vw, 34px); }
  .deck { font-size: 16px; }
  /* The menu icon is three drawn bars, not a glyph: U+2630 is missing from
     several Android system fonts and renders as an empty box. */
  .nav-toggle { position: relative; }
}

/* Mobile menu: site.css hides the CTA and forces width:100% on every link,
   which also stretches the language chips. Both are fixed by scoping the rule to
   direct nav links and giving the CTA its own row. */
@media (max-width: 860px) {
  .nav nav > a.nav-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0 4px;
    padding: 14px 16px;
    border: 1px solid var(--cyan);
    border-radius: 4px;
    background: var(--petro);
    border-bottom: 1px solid var(--cyan);
  }
  .lang {
    display: flex;
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 0 0;
    gap: 8px;
    border-top: 1px solid rgba(125, 211, 252, 0.2);
  }
  .lang a,
  .nav nav .lang a {
    flex: 1 1 0;
    width: auto;
    margin: 0;
    padding: 9px 0;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.1em;
  }
}

/* Mobile header. Two bugs met here: `.nav nav { margin-left:auto }` is what
   pushes the menu to the right, so hiding the nav on mobile left the toggle
   floating next to the wordmark in the middle of the bar. And hiding .nav-cta
   took the only call to action off every phone, so the header had no visible
   button at all. */
@media (max-width: 860px) {
  .nav { padding: 14px 20px; gap: 12px; }
  .nav-toggle { margin-left: auto; }
  /* A visible CTA in the bar itself: the menu still holds the sections and the
     languages, but the reason to contact us never requires opening it. */
  .nav nav > a.nav-cta { display: none; }
  .nav-bar-cta { display: inline-flex; }
}

/* Compact CTA and language chip for the header, shown only on mobile. */
.nav-bar-cta {
  display: none;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  background: var(--petro);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav-bar-cta:hover { background: #0f4f7a; }

/* Order matters: the base `.nav-bar-cta { display:none }` above would otherwise
   beat the media query that shows it, because equal specificity is resolved by
   which rule comes last. */
@media (max-width: 860px) {
  .nav-bar-cta { display: inline-flex; }
}

/* The CTA takes the free space, so it sits against the menu button on the right
   instead of floating in the middle of the bar. */
@media (max-width: 860px) {
  .nav-bar-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
}
