/* ============================================================
   Juno landing — v3 (shared)
   - Cream/lavender tokens (locked from JUNO_REDESIGN_v2.html)
   - iOS-native serif stack (no Google Font)
   - Used by every page in the bundle
   ============================================================ */

:root {
  --bg-page-top:    #F8F4EC;
  --bg-page-bottom: #EFE9DC;
  --bg-hero-a:      #FBF7EE;
  --bg-hero-b:      #F2EBDC;
  --bg-lav-top:     #F4F0FB;
  --bg-lav-bot:     #ECE4F7;
  --bg-lav-wash:    #EFE7F8;
  --surface:        #FFFFFF;
  --surface-warm:   #FCF9F2;

  --c-ink:          #1F1B30;
  --c-ink-soft:     #6B637F;
  --c-ink-faint:    #9A92AE;
  --c-rule:         rgba(31,27,48,0.08);
  --c-rule-soft:    rgba(31,27,48,0.04);
  --c-accent:       #6E62C2;
  --c-accent-hover: #8A7FD8;
  --c-accent-soft:  #E8DCF2;
  --c-accent-deep:  #5648A6;

  --c-streak:       #E97A3F;
  --c-success:      #4FB377;

  --font-serif:     'Cochin', 'Iowan Old Style', 'Hoefler Text', 'Big Caslon', Georgia, serif;
  --font-sans:      -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono:      'SF Mono', Menlo, Consolas, monospace;

  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out:    cubic-bezier(0.77, 0, 0.175, 1);

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  --r-pill: 999px;
  --r-card: 18px;
  --r-card-lg: 28px;
  --r-glass: 22px;

  --sh-soft:  0 12px 30px -12px rgba(138,127,216,0.18);
  --sh-card:  0 16px 40px -18px rgba(15,15,30,0.16),
              0 4px 12px -6px rgba(15,15,30,0.08);
  --sh-cta:   0 8px 20px -8px rgba(110,98,194,0.40);
  --sh-glass: 0 8px 32px -8px rgba(31,27,48,0.18),
              0 2px 8px -2px rgba(31,27,48,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--bg-page-top);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "calt" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Cream page background — fixed gradient + slow breathe */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 18% 0%, var(--bg-hero-a) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 82% 100%, var(--bg-hero-b) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-page-top) 0%, var(--bg-page-bottom) 100%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(ellipse 30% 20% at 65% 30%, rgba(232,220,242,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 28% 22% at 25% 75%, rgba(232,220,242,0.45) 0%, transparent 70%);
  pointer-events: none;
  animation: breathe 24s ease-in-out infinite alternate;
}
@keyframes breathe {
  0%   { transform: translate3d(0,0,0)    scale(1);    opacity: 0.85; }
  100% { transform: translate3d(2%,-1%,0) scale(1.08); opacity: 1;    }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: rgba(138,127,216,0.30); color: var(--c-ink); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-ink); color: #fff; padding: 10px 14px;
  border-radius: 8px; z-index: 1000; font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 16px; top: 12px; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
@media (max-width: 768px) { .container { padding-inline: 20px; } }

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.serif { font-family: var(--font-serif); font-weight: 500; }
.em-italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--c-accent);
  font-weight: 500;
}

/* ============================================================
   Nav — proper logo asset, transparent → frosted on scroll
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px 0;
  background: rgba(248, 244, 236, 0);
  border-bottom: 1px solid transparent;
  transition: background 240ms var(--ease-out),
              border-color 240ms var(--ease-out),
              backdrop-filter 240ms,
              padding 240ms var(--ease-out);
}
.nav.scrolled {
  background: rgba(248, 244, 236, 0.78);
  border-bottom-color: var(--c-rule);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  padding: 8px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px;
  transition: opacity 200ms var(--ease-out);
}
.nav-brand:hover { opacity: 0.85; }
.nav-brand img {
  height: 34px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .nav-brand img { height: 28px; }
}
.nav-links {
  display: inline-flex; align-items: center; gap: 28px;
}
.nav-link {
  font-size: 14px;
  color: var(--c-ink-soft);
  font-weight: 500;
  transition: color 180ms var(--ease-out);
}
.nav-link:hover { color: var(--c-ink); }
@media (max-width: 760px) {
  .nav-links { display: none; }
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: var(--c-accent);
  border-radius: var(--r-pill);
  transition: background 200ms var(--ease-out);
}
.nav-cta:hover { background: var(--c-accent-hover); }
.nav-cta .arrow {
  font-size: 13px; transition: transform 220ms var(--ease-out);
}
.nav-cta:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Footer (used on all pages)
   ============================================================ */
.site-footer-credits {
  padding: 40px 0 48px;
  text-align: center;
  font-size: 13px;
  color: var(--c-ink-faint);
  border-top: 1px solid var(--c-rule);
}
.site-footer-credits .footer-logo {
  display: block;
  margin: 0 auto 18px;
  height: 28px;
  width: auto;
  opacity: 0.85;
}
.site-footer-credits .row1 {
  color: var(--c-ink-soft);
  margin-bottom: 10px;
}
.site-footer-credits .row1 strong { color: var(--c-ink); font-weight: 600; }
.site-footer-credits .legal {
  display: inline-flex; gap: 10px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.site-footer-credits .legal a {
  color: var(--c-ink-soft);
  transition: color 180ms var(--ease-out);
}
.site-footer-credits .legal a:hover { color: var(--c-ink); }
.site-footer-credits .dot { opacity: 0.4; }
.site-footer-credits .au-flag {
  display: inline-block;
  vertical-align: -2px;
  width: 14px; height: 10px;
  background: linear-gradient(180deg,#012169 50%,#fff 50%);
  border-radius: 2px;
  margin-right: 6px;
}

/* ============================================================
   Premium glass sticky mobile CTA
   ============================================================ */
.mobile-cta {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 24px);
  max-width: 340px;
  padding: 12px 18px;
  background: rgba(255, 250, 240, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(110, 98, 194, 0.18);
  border-radius: var(--r-glass);
  box-shadow:
    0 8px 32px -8px rgba(31, 27, 48, 0.18),
    0 2px 8px -2px rgba(31, 27, 48, 0.10);
  color: var(--c-ink);
  z-index: 90;
  opacity: 0;
  transition: transform 420ms var(--ease-out), opacity 320ms var(--ease-out);
  pointer-events: none;
}
.mobile-cta.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-cta .apple-glyph {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--c-ink);
  opacity: 0.92;
}
.mobile-cta .cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.mobile-cta .cta-line-1 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--c-ink);
}
.mobile-cta .cta-line-2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-top: 2px;
}
.mobile-cta .cta-arrow {
  font-size: 13px;
  color: var(--c-accent);
  margin-left: 4px;
  flex-shrink: 0;
  transition: transform 220ms var(--ease-out);
}
.mobile-cta:active .cta-arrow { transform: translateX(2px); }
@media (min-width: 901px) { .mobile-cta { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: opacity 200ms linear; transform: translateX(-50%); }
  .mobile-cta:not(.show) { transform: translateX(-50%); }
}

/* ============================================================
   Section + content primitives (used by every page)
   ============================================================ */
.section {
  padding: 96px 0;
  position: relative;
}
@media (max-width: 768px) { .section { padding: 64px 0; } }
.section-alt {
  background: linear-gradient(180deg, var(--bg-lav-top) 0%, var(--bg-lav-wash) 100%);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.section-header .desc {
  margin-top: 16px;
  font-size: 17px;
  color: var(--c-ink-soft);
  line-height: 1.55;
}

/* ============================================================
   Reveal animations (shared)
   ============================================================ */
.reveal-hero { opacity: 0; filter: blur(8px); transform: translateY(8px); letter-spacing: 0.005em; }
.reveal-hero.in {
  opacity: 1; filter: blur(0); transform: translateY(0); letter-spacing: -0.012em;
  transition:
    opacity 700ms var(--ease-out),
    filter 700ms var(--ease-out),
    transform 700ms var(--ease-out),
    letter-spacing 700ms var(--ease-out);
}
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in {
  opacity: 1; transform: translateY(0);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-stagger > * { opacity: 0; transform: translateY(14px); }
.reveal-stagger.in > * {
  opacity: 1; transform: translateY(0);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal-hero, .reveal, .reveal-stagger > * {
    opacity: 1 !important; transform: none !important;
    filter: none !important; letter-spacing: -0.012em !important;
    transition: none !important;
  }
}

@media print {
  .nav, .mobile-cta, body::after { display: none !important; }
}
