.hero-ring, .hero-caption { display:none; }

/* A stronger opening on desktop. The globe grows with the screen, stopping where the opening would no longer fit the first view,
   and its six ideas sit around it from the start. Phones have their own layout below. */
@media (min-width:761px) {
  .marketing-page .hero-opening { --globe:clamp(260px,min(100svh - 520px,38vw),480px); --reach:min(var(--globe),(50vw - 100px) / .92); padding-bottom:12px; }
  .marketing-page .globe-scene { width:var(--globe); margin-top:4px; }
  .marketing-page .globe-trigger { height:var(--globe); }
  .marketing-page .globe-trigger:disabled { pointer-events:none; }
  .marketing-page .globe-hint { display:none; }

  /* An arc around the sphere: the middle pair reaches furthest, where the globe is widest. */
  .marketing-page .globe-card.card-l1 { --x:calc(var(--reach) * -.72); --y:calc(var(--globe) * .08); }
  .marketing-page .globe-card.card-l2 { --x:calc(var(--reach) * -.92); --y:calc(var(--globe) * .4); }
  .marketing-page .globe-card.card-l3 { --x:calc(var(--reach) * -.72); --y:calc(var(--globe) * .72); }
  .marketing-page .globe-card.card-r1 { --x:calc(var(--reach) * .72); --y:calc(var(--globe) * .08); }
  .marketing-page .globe-card.card-r2 { --x:calc(var(--reach) * .92); --y:calc(var(--globe) * .4); }
  .marketing-page .globe-card.card-r3 { --x:calc(var(--reach) * .72); --y:calc(var(--globe) * .72); }

  /* The sky reaches up behind the header, so the header sits above it; the hero clips the sky's sideways overhang,
     which 100vw would otherwise turn into a scrollbar's width of sideways scrolling. */
  .marketing-page .landing-header { position:relative; z-index:1; }
  .marketing-page .hero { overflow-x:clip; }
  .marketing-page .hero-opening .hero-intro { color:#5a5168; }
}
.globe-shadow { display:none; }

/* The lavender sky, at every width: deepest behind the words, lifting to a broad, lighter horizon lower down (lightness
   only, no glow), then settling back to paper exactly where "A text" starts, 96px below the opening (72px on phones). */
.marketing-page .hero-opening::before { content:""; position:absolute; z-index:-1; top:-240px; bottom:-96px; left:calc(50% - 50vw); width:100vw; pointer-events:none;
  background:radial-gradient(130% 56% at 50% 72%,rgba(250,249,253,.92) 0,rgba(250,249,253,.5) 40%,rgba(250,249,253,0) 74%),linear-gradient(180deg,#e2d9f2 0,#e7e0f5 40%,#eee9f8 calc(100% - 190px),#faf9fd 100%); }
.marketing-page .hero-opening ::selection { background:#b3a4d2; color:#292530; }

/* On a phone the opening reads straight down: the words, the button, then the globe on its own under the sky,
   with its horizon behind the globe. The six ideas are left to the sections below. */
@media (max-width:760px) {
  html { scroll-padding-top:76px; }

  /* The header stays at the top. It takes the sky's colour once the page moves and paper once the sky has gone;
     its button waits until the hero's own has scrolled away, so one Join the beta shows at a time (hero.js). */
  .marketing-page .landing-header { position:sticky; top:0; z-index:30; isolation:isolate; min-height:0; padding-top:max(8px,env(safe-area-inset-top)); padding-bottom:8px; }
  /* Frosted glass: the page shows through as soft colour, with a bright edge and a soft shadow so the bar reads as a pane. */
  .marketing-page .landing-header::before { content:""; position:absolute; z-index:-1; inset:0; background:rgba(250,249,253,.58); -webkit-backdrop-filter:saturate(1.8) blur(22px); backdrop-filter:saturate(1.8) blur(22px); box-shadow:inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(255,255,255,.35), 0 1px 0 rgba(64,54,78,.06), 0 10px 26px -18px rgba(41,37,48,.35); opacity:0; transition:opacity 700ms cubic-bezier(.16,1,.3,1); }
  .marketing-page .landing-header.is-scrolled::before { opacity:1; }
  .marketing-page .landing-header.is-scrolled:not(.is-past)::before { background:rgba(232,225,246,.55); }
  /* Without a blur to read through, the bar stays nearly solid so the wordmark and button keep their contrast. */
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    .marketing-page .landing-header::before { background:rgba(250,249,253,.94); }
    .marketing-page .landing-header.is-scrolled:not(.is-past)::before { background:rgba(232,225,246,.94); }
  }
  .marketing-page .landing-wordmark .brand-wordmark { width:118px; }
  html[data-awaya-theme="forest-sage"] body.marketing-page .nav-cta { min-height:44px; padding:10px 16px; gap:10px; font-size:13px; opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1), visibility 0s linear 700ms; }
  html[data-awaya-theme="forest-sage"] body.marketing-page .landing-header.is-stuck .nav-cta { opacity:1; visibility:visible; transform:none; transition-delay:0s; }

  /* Words, then the button, then the globe. Spacing on the brand's steps: 16, 24, 12, 40. */
  .marketing-page .hero { padding-top:22px; }
  .marketing-page .hero-opening { display:flex; flex-direction:column; align-items:center; padding-top:0; padding-bottom:48px; }
  .marketing-page .hero-opening > :is(h1,.hero-intro) { order:-2; }
  .marketing-page .hero-opening > :is(.hero-cta,.access-note) { order:-1; }
  html[data-awaya-theme="forest-sage"] body.marketing-page h1 { font-size:clamp(34px,10vw,42px); line-height:1.05; }
  html[data-awaya-theme="forest-sage"] body.marketing-page .hero-intro { max-width:34em; margin-top:16px; color:#5a5168; font-size:16px; line-height:1.55; text-wrap:balance; }
  html[data-awaya-theme="forest-sage"] body.marketing-page .hero-opening .hero-cta { min-width:224px; min-height:54px; margin-top:24px; font-size:15px; }
  html[data-awaya-theme="forest-sage"] body.marketing-page .access-note { margin-top:12px; color:#5a5168; font-size:13px; }

  /* The globe alone, 250px wide, set down on the page by a soft shadow tinted with the sky's violet. */
  .marketing-page .hero-opening .globe-scene { position:relative; width:auto; height:auto; min-height:0; margin:40px auto 0; }
  .marketing-page .hero-opening .globe-cards { display:none; }
  .marketing-page .hero-opening .globe-trigger { position:relative; z-index:1; width:min(250px,100vw - 40px); height:min(250px,100vw - 40px); margin:0; transform:none; pointer-events:none; }
  .globe-shadow { display:block; position:absolute; z-index:0; left:24%; top:94%; width:53%; height:8%; border-radius:50%; background:radial-gradient(closest-side,rgba(66,48,104,.26),rgba(66,48,104,.08) 60%,rgba(66,48,104,0)); pointer-events:none; }

  .marketing-page .hero-opening::before { bottom:-72px; }
}
@media (max-width:760px) and (prefers-reduced-motion:reduce) {
  .marketing-page .landing-header::before,
  html[data-awaya-theme="forest-sage"] body.marketing-page .nav-cta { transition:none; }
}
