/* ============================================================
   FreshTech Community — Main Stylesheet
   Brand Direction v2 / UX Spec v1 — May 2026
   freshtechcommunity.com
   ============================================================ */

/* ---- Google Fonts ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,800&display=swap');

/* ---- CSS Variables ---------------------------------------- */
:root {
  /* Colour */
  --bg-light:         #F8F5F0;
  --bg-dark:          #0D0D0D;
  --text-on-light:    #111111;
  --text-on-dark:     #FFFFFF;
  --text-muted:       #666666;
  --text-muted-dark:  rgba(255,255,255,0.5);
  --border-light:     rgba(17,17,17,0.1);
  --border-dark:      rgba(255,255,255,0.12);

  /* Typography */
  --font-display:     'Inter', system-ui, sans-serif;        /* headings: Inter bold (Alice App vibe) */
  --font-serif:       'DM Serif Display', Georgia, serif;    /* brand wordmark lockup only */
  --font-body:        'Inter', system-ui, sans-serif;

  /* Type scale */
  --t-hero:           clamp(3.5rem, 8vw, 7rem);
  --t-h1:             clamp(2.5rem, 5vw, 4rem);
  --t-h2:             clamp(1.8rem, 3vw, 2.6rem);
  --t-h3:             1.15rem;
  --t-body:           1rem;
  --t-body-lg:        1.125rem;
  --t-label:          0.75rem;
  --t-nav:            0.9rem;
  --t-btn:            0.9rem;
  --t-caption:        0.8rem;
  --t-price:          clamp(2rem, 3.5vw, 3rem);

  /* Layout */
  --max-width:        1200px;
  --max-width-text:   720px;
  --section-pad-v:    120px;
  --section-pad-h:    6%;
  --radius-sm:        4px;
  --radius-md:        8px;
  --radius-lg:        12px;
  --radius-xl:        20px;

  /* Animation */
  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:      cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:    250ms;
  --duration-base:    400ms;
  --duration-slow:    600ms;
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.75;
  background-color: var(--bg-light);
  color: var(--text-on-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

ul, ol {
  list-style: none;
}

/* ---- Particles — Full Page Constellation ------------------ */

#particles-js {
  /* Disabled — hero video already carries the plexus motion. Removing this
     overlay kills the double-up that was layering on top of the video. */
  display: none;
}

/* ---- Skip Link -------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #111111;
  color: #FFFFFF;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* ---- Focus States ----------------------------------------- */
:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}
.world-dark :focus-visible {
  outline-color: #FFFFFF;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-pad-h);
  transition: background var(--duration-base) ease,
              border-color var(--duration-base) ease;
  border-bottom: 1px solid transparent;
  animation: nav-drop 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Transparent state — over hero */
nav.transparent {
  background: transparent;
  border-bottom-color: transparent;
}

nav.transparent .nav-wordmark,
nav.transparent .nav-links a {
  color: #FFFFFF;
}

/* Hamburger uses background not color — must be separate */
nav.transparent .nav-hamburger span {
  background: #FFFFFF;
}

nav.transparent .nav-cta {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #FFFFFF;
}

/* Solid state — scrolled */
nav.solid {
  background: var(--bg-light);
  border-bottom-color: rgba(17,17,17,0.08);
}

/* Dark world state */
nav.dark {
  background: var(--bg-dark);
  border-bottom-color: rgba(255,255,255,0.06);
}
nav.dark .nav-wordmark,
nav.dark .nav-links a {
  color: #FFFFFF;
}
nav.dark .nav-links a.nav-cta {
  background: #FFFFFF;
  color: #111111;
  border: none;
}
nav.dark .nav-hamburger span {
  background: #FFFFFF;
}

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-on-light);
  letter-spacing: -0.01em;
  transition: color var(--duration-base);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: var(--t-nav);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-on-light);
  transition: color var(--duration-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #111111;
  color: #FFFFFF;
  font-size: var(--t-btn);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: opacity var(--duration-fast),
              background var(--duration-base),
              color var(--duration-base),
              border-color var(--duration-base);
}

.nav-cta:hover {
  opacity: 0.82;
}

/* Specificity fix — .nav-links a (0,1,1) beats .nav-cta (0,1,0).
   This rule wins at (0,2,1) and restores the correct base CTA colour. */
.nav-links a.nav-cta {
  color: #FFFFFF;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-on-light);
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast),
              background var(--duration-base);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* When overlay is open: hide the hamburger-X so nav-close is the only X.
   Specificity (0,2,0) — safe, hamburger is just hidden until overlay closes. */
.nav-hamburger.open {
  display: none;
}

/* When overlay is open: force nav bar to solid-light so wordmark is always readable.
   :has() contributes (1,1,0) inside — total (2,1,0) beats any nav state class. */
#main-nav:has(#nav-hamburger.open) {
  background: var(--bg-light);
  border-bottom-color: rgba(17,17,17,0.08);
}
#main-nav:has(#nav-hamburger.open) .nav-wordmark {
  color: var(--text-on-light);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-light);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-on-light);
  transition: opacity var(--duration-fast);
}

.nav-overlay a:hover {
  opacity: 0.6;
}

/* Specificity fix — .nav-overlay a (0,1,1) beats .nav-cta (0,1,0).
   This rule wins at (0,2,1) and restores CTA colour + font in the overlay. */
.nav-overlay a.nav-cta {
  background: #111111;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 32px;
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: var(--section-pad-h);
  font-size: 1.5rem;
  color: var(--text-on-light);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #111111;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: var(--t-btn);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--duration-fast),
              transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  will-change: transform;
}

.btn-primary:hover {
  opacity: 0.82;
}

/* Inverted — on dark sections */
.world-dark .btn-primary,
.btn-primary--inverted {
  background: #FFFFFF;
  color: #111111;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111111;
  font-size: var(--t-btn);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--duration-fast);
}

.btn-secondary::after {
  content: '→';
}

.btn-secondary:hover {
  border-bottom-color: #111111;
}

.world-dark .btn-secondary {
  color: #FFFFFF;
}

.world-dark .btn-secondary:hover {
  border-bottom-color: #FFFFFF;
}

/* ============================================================
   FROSTED GLASS PANEL
   ============================================================ */

.glass-panel {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(248, 245, 240, 0.72);
  color: #111111;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  max-width: 560px;
  border: 1px solid rgba(255,255,255,0.4);
}

.glass-panel--dark {
  background: rgba(13, 13, 13, 0.72);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.08);
}

/* ============================================================
   SECTION LABELS
   ============================================================ */

.section-label {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1.5rem;
}

.world-dark .section-label {
  color: var(--text-muted-dark);
}

/* ============================================================
   WORLD 1 — LIGHT SECTIONS
   ============================================================ */

.world-light {
  background: var(--bg-light);
  color: var(--text-on-light);
}

/* ---- 1. HERO VIDEO ---------------------------------------- */

#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-video,
#hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Layered: top fade for nav contrast, radial vignette behind text,
     bottom fade for transition into Slogan section.
     Strong enough to read white type over a busy real-world video,
     soft enough that the subject still reads as the hero. */
  background:
    radial-gradient(
      ellipse 65% 50% at 50% 55%,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.30) 55%,
      rgba(0,0,0,0.05) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.40) 0%,
      rgba(0,0,0,0.18) 18%,
      rgba(0,0,0,0.18) 70%,
      rgba(0,0,0,0.55) 100%
    );
}

/* Placeholder behind the video — plain dark, no static image (Jase: no fallback image, just let the video loop) */
.hero-poster-placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 60%,
    #1a1a1a 0%,
    #0D0D0D 70%
  );
  z-index: 0;
}

.hero-wordmark {
  position: absolute;
  top: 88px; /* below 72px nav */
  left: var(--section-pad-h);
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  animation: wordmark-enter 700ms cubic-bezier(0.16, 1, 0.3, 1) 350ms both;
}

/* ---- Hero content (headline + sub + CTAs) ----------------- */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
  padding: 2.25rem var(--section-pad-h) 2.5rem;
  text-align: center;
  color: #FFFFFF;
  /* Subtle frosted scrim — guarantees text reads on any frame
     of a real-world video. Soft, not a hard rectangle. */
  background:
    radial-gradient(
      ellipse 90% 75% at 50% 50%,
      rgba(0,0,0,0.32) 0%,
      rgba(0,0,0,0.18) 60%,
      rgba(0,0,0,0) 100%
    );
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 1.25rem;
  /* Layered shadow: tight black for crispness + wider soft glow for depth */
  text-shadow:
    0 1px 2px rgba(0,0,0,0.6),
    0 2px 18px rgba(0,0,0,0.55),
    0 8px 40px rgba(0,0,0,0.4);
  /* GSAP entry: blur(14px) → 0, y: 24 → 0 */
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.95);
  max-width: 640px;
  margin: 0 auto 2rem;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.7),
    0 2px 14px rgba(0,0,0,0.55);
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.hero-actions .btn-primary {
  background: #FFFFFF;
  color: #111111;
  padding: 16px 32px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-actions .btn-primary:hover {
  opacity: 1;
  background: rgba(255,255,255,0.92);
}

.hero-actions .btn-secondary {
  color: #FFFFFF;
  border-bottom-color: rgba(255,255,255,0.55);
}

.hero-actions .btn-secondary:hover {
  border-bottom-color: #FFFFFF;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation:
    hero-page-fade 500ms ease 1000ms both,
    bounce 2s ease-in-out 1500ms infinite;
  cursor: pointer;
}

.hero-scroll-indicator svg {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  stroke-width: 1.5;
  fill: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---- Page load — curtain lift ----------------------------- */

@keyframes nav-drop {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes wordmark-enter {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

@keyframes hero-page-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- 2. SLOGAN DROP --------------------------------------- */

#slogan {
  padding: 140px var(--section-pad-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slogan-inner {
  max-width: 900px;
}

.slogan-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-hero);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
  display: block;
}

.slogan-line + .slogan-line {
  margin-top: 0.1em;
}

/* ---- 3. HOW IT WORKS -------------------------------------- */

#how-it-works {
  padding: var(--section-pad-v) var(--section-pad-h);
}

.how-header {
  margin-bottom: 48px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.how-card {
  background: #FFFFFF;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.how-number {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--text-on-light);
  opacity: 0.1;
  user-select: none;
}

.how-title {
  font-family: var(--font-body);
  font-size: var(--t-h3);
  font-weight: 600;
  color: var(--text-on-light);
  margin-top: -1rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.how-body {
  font-size: var(--t-body);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- 4. PRICING ------------------------------------------- */

#pricing {
  padding: var(--section-pad-v) var(--section-pad-h);
}

.pricing-header {
  margin-bottom: 48px;
}

.pricing-header h2 {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  color: var(--text-on-light);
  margin-bottom: 0.5rem;
}

.pricing-subhead {
  font-size: var(--t-body);
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.pricing-card {
  background: #FFFFFF;
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background: linear-gradient(135deg, #26145f 0%, #111111 72%);
  color: #FFFFFF;
}

.pricing-card--featured .section-label {
  color: rgba(255,255,255,0.45);
}

.pricing-card--featured .pricing-plan-name,
.pricing-card--featured .pricing-price,
.pricing-card--featured .pricing-price-unit,
.pricing-card--featured .pricing-desc,
.pricing-card--featured .pricing-feature {
  color: #FFFFFF;
}

.pricing-card--featured .pricing-divider {
  border-color: rgba(255,255,255,0.15);
}

.pricing-card--featured .pricing-feature-check {
  color: rgba(255,255,255,0.6);
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  color: var(--text-on-light);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.pricing-desc {
  font-size: var(--t-body);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-price-block {
  margin-bottom: 1.5rem;
}

.pricing-setup {
  font-size: var(--t-body);
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: var(--t-price);
  color: var(--text-on-light);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price-unit {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 1.5rem 0;
}

.pricing-features {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--t-body);
  color: var(--text-on-light);
  padding: 0.35rem 0;
  line-height: 1.5;
}

.pricing-feature-check {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.pricing-note {
  margin-top: 2rem;
  font-size: var(--t-body);
  color: var(--text-muted);
  text-align: center;
}

/* ---- 5. WHO THIS IS FOR ----------------------------------- */

#who-this-is-for {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.who-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/tradie-stills-collage-4up-colour.jpg?v=1');
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: saturate(1.1) brightness(0.96);
}

.who-panel {
  position: relative;
  z-index: 1;
  margin-left: 8%;
}

/* Readable card-on-photo: near-solid white over a calmer collage */
.who-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  color: #111111;
}

.who-panel .section-label {
  color: rgba(17,17,17,0.6);
}

.who-heading {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  color: var(--text-on-light);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.who-list {
  margin-bottom: 1.5rem;
}

.stagger-line {
  font-size: var(--t-body-lg);
  color: var(--text-on-light);
  line-height: 2;
  display: block;
}

.stagger-line strong {
  font-weight: 600;
}

.who-close {
  font-size: var(--t-body-lg);
  color: var(--text-on-light);
  margin-top: 1rem;
}

.who-close p {
  margin-top: 0.75rem;
  font-size: var(--t-body);
  font-weight: 600;
  color: #111111;
}

/* ---- 6. THE PROOF ----------------------------------------- */

#the-proof {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad-v) var(--section-pad-h);
  display: flex;
  align-items: center;
  gap: 8%;
  background-image: url('assets/proof-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Light scrim — keeps dark text readable while image shows through */
#the-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248, 245, 240, 0.72);
  z-index: 0;
  pointer-events: none;
}

/* Lift content above the scrim */
.proof-phone,
.proof-copy {
  position: relative;
  z-index: 1;
}

.proof-phone {
  flex: 0 0 auto;
  width: 260px;
}

.phone-frame {
  width: 260px;
  height: 520px;
  background: #F2EFEA;
  border-radius: 36px;
  border: 2px solid rgba(17,17,17,0.12);
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #E8E4DE;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.phone-screen {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Simulated website preview inside phone */
.phone-site-header {
  height: 24px;
  background: #111111;
  border-radius: 4px;
}

.phone-site-hero {
  height: 80px;
  background: linear-gradient(135deg, #D4CEC6 0%, #C4BDB3 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-site-hero span {
  font-size: 7px;
  font-weight: 600;
  color: #111111;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 8px;
}

.phone-site-line {
  height: 8px;
  background: #E8E4DE;
  border-radius: 3px;
}

.phone-site-line--short {
  width: 70%;
}

.phone-site-btn {
  height: 24px;
  width: 100%;
  background: #111111;
  border-radius: 3px;
  margin-top: 6px;
}

.proof-copy {
  flex: 1;
  max-width: 480px;
}

.proof-copy h2 {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  color: var(--text-on-light);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.proof-copy p {
  font-size: var(--t-body-lg);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

/* ---- 7. OUR PROMISE --------------------------------------- */

#testimonials {
  padding: var(--section-pad-v) var(--section-pad-h);
}

.testimonials-header {
  margin-bottom: 48px;
}

.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  color: var(--text-on-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 36px;
  border: 1px dashed rgba(17,17,17,0.15);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-placeholder {
  font-size: var(--t-caption);
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* Promise card body copy */
.testimonial-card p {
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--text-on-light);
  margin: 0;
}

.testimonial-card p strong {
  font-weight: 600;
  color: var(--text-on-light);
}

/* ---- 8. FAQ ----------------------------------------------- */

#faq {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad-v) var(--section-pad-h);
  background-image: url('assets/faq-bg.jpg?v=2');
  background-size: cover;
  background-position: center;
}

/* Cream wash keeps FAQ text readable, then ramps to fully opaque
   --bg-light at the base so the full-bleed image DISSOLVES into the
   flat-cream #founder section below — no hard seam, no abrupt edge
   before the founder/human moment. */
#faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(248, 245, 240, 0.82) 0%,
    rgba(248, 245, 240, 0.82) 72%,
    rgba(248, 245, 240, 0.94) 88%,
    rgba(248, 245, 240, 1) 100%
  );
  z-index: 0;
  pointer-events: none;
}

#faq .faq-inner {
  position: relative;
  z-index: 1;
}

.faq-inner {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.faq-header {
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  color: var(--text-on-light);
  margin-top: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 500;
  color: var(--text-on-light);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border: 1px solid #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out);
  line-height: 1;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out),
              padding var(--duration-slow) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  font-size: var(--t-body);
  color: var(--text-muted);
  padding-bottom: 24px;
  line-height: 1.75;
}

/* ---- 9. WORLD TRANSITION (DOWN ARROW) --------------------- */

#world-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: var(--bg-light);
}

.world-arrow {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(17,17,17,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--duration-fast), border-color var(--duration-fast);
  animation: arrow-bounce 2.4s ease-in-out infinite;
  background: none;
  border: 1px solid rgba(17,17,17,0.3);
}

.world-arrow:hover {
  transform: scale(1.08);
  border-color: #111111;
}

.world-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #111111;
  stroke-width: 1.5;
  fill: none;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.world-arrow:hover {
  animation: none;
  transform: scale(1.08);
}

/* ============================================================
   WORLD 2 — DARK SECTIONS
   ============================================================ */

.world-2 {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.world-2-active .world-2 {
  opacity: 1;
  pointer-events: auto;
}

body {
  transition: background-color 700ms var(--ease-in-out);
}

body.world-2-active {
  background-color: var(--bg-dark);
}

.world-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

/* ---- Colony Opening — hero with content overlay ----------- */

#colony-opening {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10vh 6%;
  text-align: center;
}

/* Dark overlay for readability */
#colony-opening::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 1;
}

/* Layer 1 — background image, completely still */
.colony-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Atmospheric variant — pure dark gradient, no photo. Used while
   Movie Studio finalises the dark globe Higgsfield asset. */
.colony-hero-bg--atmospheric {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(40,40,55,0.45) 0%, rgba(13,13,13,0) 55%),
    radial-gradient(ellipse at 30% 70%, rgba(80,60,100,0.18) 0%, rgba(13,13,13,0) 60%),
    linear-gradient(180deg, #0D0D0D 0%, #050505 100%);
}

/* Subtle starfield — pseudo-element, only on atmospheric variant */
.colony-hero-bg--atmospheric::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 18%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(1px 1px at 70% 12%, rgba(255,255,255,0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 45% 36%, rgba(255,255,255,0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 85% 48%, rgba(255,255,255,0.4) 50%, transparent 100%),
    radial-gradient(1px 1px at 12% 62%, rgba(255,255,255,0.55) 50%, transparent 100%),
    radial-gradient(1px 1px at 58% 75%, rgba(255,255,255,0.45) 50%, transparent 100%),
    radial-gradient(1px 1px at 32% 88%, rgba(255,255,255,0.6) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 78% 28%, rgba(255,255,255,0.75) 50%, transparent 100%);
  opacity: 0.7;
}

/* Layer 2 — content block */
.colony-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Segmented dial spinner */
.colony-dial {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 36px;
}

.colony-dial span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 13px;
  margin-left: -2px;
  margin-top: -19px;
  background: rgba(255,255,255,0.95);
  border-radius: 2px;
  transform-origin: 50% 150%;
  transform: rotate(calc((var(--i) - 1) * 30deg));
  animation: colony-dial-fade 1.2s linear infinite;
  animation-delay: calc((var(--i) - 1) * (-0.1s));
}

@keyframes colony-dial-fade {
  0%   { opacity: 1; }
  70%  { opacity: 0.15; }
  100% { opacity: 0.15; }
}

.colony-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0 0 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.colony-subheading {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin: 0;
  letter-spacing: 0.01em;
}

.colony-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  margin: 1.2rem auto 0;
  max-width: 640px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ---- Colony Slogan ---------------------------------------- */

.colony-slogan-section {
  padding: var(--section-pad-v) var(--section-pad-h);
  text-align: center;
}

.colony-slogan-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--text-on-dark);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---- Colony Explorer -------------------------------------- */

#colony-explorer-section {
  padding: 60px var(--section-pad-h) var(--section-pad-v);
}

.colony-container {
  width: 100%;
  height: calc(100vh - 140px);
  min-height: 620px;
  margin: 0 auto;
  position: relative;
}

.colony-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}

/* Mobile fallback — accordion */
.colony-mobile-list {
  display: none;
  max-width: 600px;
  margin: 0 auto;
}

.colony-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.colony-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.colony-trigger span {
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform var(--duration-base);
}

.colony-item.open .colony-trigger span {
  transform: rotate(45deg);
}

.colony-trades {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.colony-item.open .colony-trades {
  max-height: 200px;
  padding-bottom: 1rem;
}

.colony-inactive .colony-trigger {
  opacity: 0.4;
}

/* ---- Mission Copy ----------------------------------------- */

#mission {
  padding: 100px var(--section-pad-h);
  text-align: center;
}

.mission-inner {
  max-width: 640px;
  margin: 0 auto;
}

.mission-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #FFFFFF;
  line-height: 1.15;
  display: block;
}

.mission-line + .mission-line {
  margin-top: 0.15em;
}

.mission-subline {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-top: 1.5rem;
}

/* ---- Join CTA --------------------------------------------- */

#join-cta {
  padding: 80px var(--section-pad-h);
  text-align: center;
}

.join-cta-sub {
  margin-top: 1rem;
  font-size: var(--t-caption);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

/* ---- Footer ----------------------------------------------- */

footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 80px var(--section-pad-h) 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-contact a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer-contact a:hover {
  color: #FFFFFF;
}

.footer-abn {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}

.footer-col-label {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  margin-top: 40px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   SCROLL ANIMATIONS — CINEMATIC SYSTEM
   Two worlds, two paces.
   World 1 (light): snappy 560ms — confident, efficient
   World 2 (dark):  atmospheric 1050ms — slow, mysterious
   ============================================================ */

/* --- Timing tokens (inherited by all animated children) --- */
:root {
  --anim-dur:  560ms;
  --anim-ease: cubic-bezier(0.16, 1, 0.3, 1);  /* snappy ease-out */
}

/* World 2 overrides via CSS inheritance */
.world-2 {
  --anim-dur:  1200ms;
  --anim-ease: cubic-bezier(0.22, 1, 0.36, 1); /* slow, cinematic */
}


/* ---- 1. Standard fade-up ---------------------------------- */

.animate {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity var(--anim-dur) var(--anim-ease),
              transform var(--anim-dur) var(--anim-ease),
              filter var(--anim-dur) var(--anim-ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, filter;
}

.animate.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* World 1 stagger — 100ms between items */
.animate[data-delay="1"] { --delay: 0ms; }
.animate[data-delay="2"] { --delay: 100ms; }
.animate[data-delay="3"] { --delay: 200ms; }
.animate[data-delay="4"] { --delay: 300ms; }
.animate[data-delay="5"] { --delay: 400ms; }
.animate[data-delay="6"] { --delay: 500ms; }

/* World 2 stagger — 300ms between items (breathes slower) */
.world-2 .animate[data-delay="1"] { --delay: 0ms; }
.world-2 .animate[data-delay="2"] { --delay: 300ms; }
.world-2 .animate[data-delay="3"] { --delay: 600ms; }


/* ---- 2. Scale reveal — globe / cinematic entrances -------- */

.anim-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity var(--anim-dur) var(--anim-ease),
              transform var(--anim-dur) var(--anim-ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.anim-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* World 2 globe — rises from below as darkness bleeds in */
.world-2 .anim-scale {
  transform: scale(0.95) translateY(90px);
}

.world-2 .anim-scale.visible {
  transform: none;
}


/* ---- 3. Word reveal — inline spans (slogan + colony tagline) */

.anim-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--anim-dur) var(--anim-ease),
              transform var(--anim-dur) var(--anim-ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.anim-word.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 767px) {
  :root {
    --section-pad-v: 80px;
    --section-pad-h: 5%;
  }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-overlay { display: flex; }
  #main-nav { height: 60px; }
  .hero-wordmark { top: 72px; }

  /* Hero */
  #hero { height: 100svh; }

  .hero-headline {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions .btn-primary {
    padding: 14px 26px;
  }

  /* Slogan — tighter clamp so it doesn't clip at 390px */
  #slogan { padding: 80px var(--section-pad-h); }

  .slogan-line {
    font-size: clamp(2.4rem, 10vw, 4rem);
    line-height: 1.08;
  }

  /* How It Works */
  .how-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  /* Proof */
  #the-proof {
    flex-direction: column;
    gap: 3rem;
  }
  .proof-phone { width: 100%; display: flex; justify-content: center; }
  .phone-frame { width: 200px; height: 400px; }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Who This Is For */
  .who-panel {
    margin-left: 0;
    margin: 5%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  }

  .glass-panel {
    max-width: 100%;
    padding: 32px 28px;
    border-radius: var(--radius-md);
  }

  /* Colony Explorer */
  .colony-container {
    height: calc(100vh - 120px);
    min-height: 480px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 599px) {
  /* Mobile Colony — show iframe, tighter height so wheel fills frame */
  .colony-container { display: block; height: 320px; min-height: 320px; }
  .colony-mobile-list { display: none; }

  /* Colony hero — cover fills full viewport height; image side-crops
     on portrait but fills the screen edge-to-edge. */
  .colony-hero-bg {
    object-fit: cover;
    object-position: center center;
  }

  /* Full-page colony hero on mobile — centred content */
  #colony-opening {
    min-height: 100dvh;
    justify-content: center;
    padding: 6vh 8%;
  }

  .colony-dial {
    width: 52px;
    height: 52px;
    margin-bottom: 28px;
  }

  .colony-heading {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --section-pad-v: 100px;
  }

  .how-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .colony-container { height: calc(100vh - 120px); min-height: 480px; }
  #the-proof { flex-direction: column; gap: 3rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .animate,
  .anim-scale,
  .anim-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  /* GSAP-driven entries — strip inline styles set by JS */
  .hero-headline,
  .hero-sub,
  .hero-actions {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  /* Page-load entrance animations — skip entirely */
  #main-nav,
  .hero-wordmark {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-scroll-indicator,
  .world-arrow,
  .globe-placeholder,
  .colony-dial span {
    animation: none;
    opacity: 1;
  }

  #hero-video {
    display: none;
  }

  .hero-poster-placeholder {
    display: block !important;
  }

  .world-2 {
    transition: none;
  }

  body {
    transition: none;
  }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px var(--section-pad-h) var(--section-pad-v);
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: var(--t-h1);
  color: var(--text-on-light);
  margin-bottom: 0.5rem;
}

.legal-page .legal-meta {
  font-size: var(--t-caption);
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-on-light);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page li {
  font-size: var(--t-body);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--text-on-light);
  text-decoration: underline;
}

/* ============================================================
   ALICE — FRESHTECH AI CHATBOT WIDGET
   Floating bubble (bottom-right) + slide-up panel.
   Brand-matched: black/cream, DM Serif + Inter, no accent colour.
   Mailto fallback while Gemini backend is in training.
   ============================================================ */

.alice-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9000;
  font-family: var(--font-body);
}

/* ---- Floating bubble ----
   Amber (#FFBF00) — high-vis, on-brand, stands out on cream + dark.
   Echoes the amber used as "the moment of colour" on the About page. */
.alice-bubble {
  position: relative;
  height: 58px;
  padding: 0 22px 0 6px;
  border-radius: 999px;
  background: #FFBF00;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 8px 22px rgba(255, 191, 0, 0.42),
    0 4px 10px rgba(0,0,0,0.18),
    0 1px 2px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms ease,
              background 220ms ease;
  animation: alice-bubble-in 700ms cubic-bezier(0.16, 1, 0.3, 1) 1400ms both,
             alice-bubble-glow 2.8s ease-in-out 2400ms infinite;
  border: none;
}

.alice-bubble:hover {
  background: #FFCB2E;
  transform: scale(1.05);
  box-shadow:
    0 12px 32px rgba(255, 191, 0, 0.55),
    0 5px 14px rgba(0,0,0,0.22);
}

.alice-bubble-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #111111;
  color: #FFBF00;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  flex-shrink: 0;
}

.alice-bubble-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1;
  color: #111111;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding-right: 2px;
}

.alice-bubble-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #34D399;
  border: 2px solid var(--bg-light);
  border-radius: 50%;
}

.alice-bubble-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #34D399;
  opacity: 0.5;
  animation: alice-pulse 2s ease-out infinite;
}

@keyframes alice-bubble-in {
  from { opacity: 0; transform: translateY(20px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@keyframes alice-bubble-glow {
  0%, 100% { box-shadow: 0 8px 22px rgba(255, 191, 0, 0.42),
                          0 4px 10px rgba(0,0,0,0.18),
                          0 1px 2px rgba(0,0,0,0.08); }
  50%      { box-shadow: 0 10px 30px rgba(255, 191, 0, 0.60),
                          0 4px 12px rgba(0,0,0,0.20),
                          0 1px 2px rgba(0,0,0,0.08); }
}

@keyframes alice-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0;   }
}

/* World-2 dark theme: amber stays — even more eye-catching on black.
   Border the pulse against the dark bg so it stays visible. */
body.world-2-active .alice-bubble-pulse { border-color: var(--bg-dark); }

/* ---- Panel ---- */
.alice-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 44px);
  max-height: 78vh;
  background: var(--bg-light);
  color: var(--text-on-light);
  border-radius: 16px;
  box-shadow:
    0 24px 60px -12px rgba(0,0,0,0.30),
    0 6px 18px -6px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity 280ms ease,
              transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 320ms;
}

.alice-widget.is-open .alice-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 280ms ease,
              transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0s;
}

/* Panel header */
.alice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--border-light);
  background: #FFFFFF;
}

.alice-header-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111111;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alice-header-mark span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1;
}

.alice-header-text {
  flex: 1;
  min-width: 0;
}

.alice-header-text h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
  color: #111111;
  margin: 0 0 2px;
  font-weight: 400;
}

.alice-status {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.alice-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  flex-shrink: 0;
}

.alice-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(17,17,17,0.06);
  color: #111111;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease;
  flex-shrink: 0;
}

.alice-close:hover { background: rgba(17,17,17,0.12); }

/* Panel body */
.alice-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}

.alice-message {
  background: #FFFFFF;
  padding: 14px 16px;
  border-radius: 14px;
  border-top-left-radius: 4px;
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  max-width: 88%;
  align-self: flex-start;
  animation: alice-bubble-pop 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.alice-message p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-on-light);
  margin: 0;
}

.alice-message p + p { margin-top: 0.65em; }

/* User message — right-aligned, dark, no border */
.alice-message--user {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
  border-radius: 14px;
  border-top-right-radius: 4px;
  align-self: flex-end;
  margin-left: auto;
}

.alice-message--user p { color: #FFFFFF; }

/* Body needs to be a flex column so messages can align L/R */
.alice-body {
  display: flex;
  flex-direction: column;
}

@keyframes alice-bubble-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.alice-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.alice-quick-reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111111;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.alice-quick-reply:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.alice-quick-reply::after {
  content: '→';
  margin-left: 8px;
  opacity: 0.6;
  transition: transform 200ms ease;
}

.alice-quick-reply:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

/* Alice Voice CTA — clickable tel: link.
   Anchored between body and input form, always visible. */
.alice-voice-cta {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: #111111;
  color: #FFFFFF;
  border-radius: 12px;
  margin: 0 14px 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
              background 220ms ease;
}

.alice-voice-cta:hover,
.alice-voice-cta:focus-visible {
  background: #1f1f1f;
  transform: translateY(-1px);
  outline: none;
}

.alice-voice-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.alice-voice-cta strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.alice-voice-cta p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.alice-voice-arrow {
  margin-left: auto;
  align-self: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.alice-voice-cta:hover .alice-voice-arrow {
  transform: translateX(3px);
  color: #FFFFFF;
}

/* Input footer */
.alice-input-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border-light);
  background: #FFFFFF;
}

.alice-input-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #111111;
  background: var(--bg-light);
  outline: none;
  transition: border-color 200ms ease;
}

.alice-input-form input:focus {
  border-color: #111111;
}

.alice-input-form button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111111;
  color: #FFFFFF;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 200ms ease;
  flex-shrink: 0;
}

.alice-input-form button:hover { opacity: 0.85; }
.alice-input-form button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Thank-you state */
.alice-thanks {
  background: #F0FFF4;
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #064E3B;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 12px;
}

.alice-thanks strong { font-weight: 600; }

/* Typing indicator (Gemini fallback in flight) */
.alice-message--typing p {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px 2px;
}
.alice-typing-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94A3B8;
  animation: alice-typing-bob 1.1s ease-in-out infinite both;
}
.alice-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.alice-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes alice-typing-bob {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40%           { opacity: 1;   transform: translateY(-3px); }
}

/* Payment chip — slightly bolder than a regular quick-reply */
.alice-payment-chip {
  background: #FFBF00 !important;
  color: #111111 !important;
  border: none !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.alice-payment-chip:hover { background: #FFCB2E !important; }

/* Mobile — full-width bottom sheet */
@media (max-width: 599px) {
  .alice-widget {
    bottom: 16px;
    right: 16px;
  }

  .alice-bubble {
    height: 52px;
    padding: 0 18px 0 5px;
    gap: 10px;
  }

  .alice-bubble-mark {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .alice-bubble-label {
    font-size: 0.95rem;
  }

  .alice-panel {
    position: fixed;
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: 80vh;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .alice-bubble,
  .alice-panel {
    animation: none !important;
    transition: opacity 200ms ease, visibility 0s !important;
    transform: none !important;
  }
  .alice-bubble-pulse::after {
    animation: none;
    opacity: 0;
  }
}

/* ============================================================
   ALICE WIDGET — face image in the bubble + panel header
   (Alice face stays for the assistant persona; app icon is separate)
   ============================================================ */
.alice-bubble-mark img,
.alice-header-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* ============================================================
   MEET ALICE — homepage feature section (#meet-alice)
   ============================================================ */
.alice-feature {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 64px;
  align-items: center;
}

.alice-feature-portrait {
  position: relative;
}

.alice-feature-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow:
    0 24px 50px -16px rgba(0, 0, 0, 0.22),
    0 6px 16px -8px rgba(0, 0, 0, 0.14);
}

.alice-feature-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #FFFFFF;
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.28);
}

.alice-feature-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  flex-shrink: 0;
}

.alice-feature-copy h2 {
  margin: 14px 0 18px;
}

.alice-feature-lead {
  font-size: var(--t-body-lg);
  line-height: 1.7;
  color: var(--text-on-light);
  margin-bottom: 24px;
}

.alice-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alice-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text-on-light);
}

.alice-feature-tick {
  color: #17A2B8;
  font-weight: 700;
  flex-shrink: 0;
}

.alice-feature-voice {
  font-size: var(--t-body);
  color: rgba(17, 17, 17, 0.62);
  margin-bottom: 28px;
}

.alice-feature-voice strong { color: var(--text-on-light); }

.alice-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.alice-feature-cta {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.alice-feature-proof {
  font-size: 0.85rem;
  color: rgba(17, 17, 17, 0.5);
}

@media (max-width: 900px) {
  .alice-feature {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .alice-feature-portrait img { max-width: 360px; margin: 0 auto; }
}

/* ============================================================
   WHO'S BEHIND IT — founder credibility block (#founder)
   ============================================================ */
.founder {
  max-width: var(--max-width-text);
  margin: 0 auto;
  text-align: center;
}

.founder-mark {
  width: 104px;
  height: 104px;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.28);
}

.founder-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder h2 {
  margin: 12px 0 22px;
}

.founder-body {
  font-size: var(--t-body-lg);
  line-height: 1.8;
  color: var(--text-on-light);
  max-width: 620px;
  margin: 0 auto 28px;
}

.founder-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(17, 17, 17, 0.55);
  margin-bottom: 26px;
}

.founder-trust a {
  color: rgba(17, 17, 17, 0.7);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.founder-trust a:hover { color: var(--text-on-light); }

.founder-dot { color: rgba(17, 17, 17, 0.3); }

.founder-link {
  display: inline-block;
  font-weight: 600;
  font-size: var(--t-body);
  color: var(--text-on-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.3);
  padding-bottom: 2px;
  transition: border-color var(--duration-fast) ease;
}

.founder-link:hover { border-color: var(--text-on-light); }

.founder-sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(17, 17, 17, 0.5);
  margin-top: 22px;
}

/* ============================================================
   PRICING CARD — product logo mark
   (Foundation/Growth on white = navy+teal; Shield featured
   card is #111 dark = teal-tint variant, inlined in markup)
   ============================================================ */
.pricing-logo {
  display: block;
  margin-bottom: 18px;
  line-height: 0;
}

.pricing-logo svg { display: block; }
.pricing-logo img { display: block; width: 60px; height: 60px; object-fit: contain; }

.pricing-logo--alice {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 18px 38px rgba(124, 92, 255, 0.24);
  overflow: hidden;
}

.pricing-logo--alice img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
}

/* ============================================================
   AI SEARCH SHIFT — sourced stat band (#ai-shift, dark)
   ============================================================ */
#ai-shift { padding: var(--section-pad-v) var(--section-pad-h); background: var(--bg-dark); color: var(--text-on-dark); }
.statband { max-width: var(--max-width); margin: 0 auto; }
.statband-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
#ai-shift .section-label { color: #FFBF00; }
.statband-head h2 { font-family: var(--font-display); font-size: var(--t-h2); color: #FFFFFF; margin: 14px 0 16px; line-height: 1.12; }
.statband-head p { color: rgba(255,255,255,0.66); font-size: var(--t-body-lg); line-height: 1.7; margin: 0 auto; }
.statband-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); overflow: hidden; }
.statband-grid .stat { background: var(--bg-dark); padding: 36px 22px; text-align: center; }
.stat-n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: #FFBF00; line-height: 1; }
.stat-l { margin-top: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.statband-src { text-align: center; margin-top: 22px; font-size: 0.8rem; color: rgba(255,255,255,0.38); }
@media (max-width: 860px) { .statband-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .statband-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WHAT AI USES TO DECIDE — authority section (#ai-authority, light)
   ============================================================ */
#ai-authority { padding: var(--section-pad-v) var(--section-pad-h); }
.authority { max-width: var(--max-width); margin: 0 auto; }
.authority-head { max-width: 720px; margin: 0 0 48px; }
.authority-head h2 { font-family: var(--font-display); font-size: var(--t-h2); color: var(--text-on-light); margin: 14px 0 14px; line-height: 1.14; }
.authority-head p { color: rgba(17,17,17,0.6); font-size: var(--t-body-lg); line-height: 1.7; }
.authority-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; }
.authority-grid .pillar { background: #FFFFFF; padding: 32px 28px; }
.pillar h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-on-light); margin-bottom: 16px; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pillar li { position: relative; padding-left: 20px; font-size: 0.95rem; color: rgba(17,17,17,0.66); line-height: 1.5; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #17A2B8; }
.authority-converge { text-align: center; margin-top: 48px; }
.ai-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.ai-chips span { font-size: 0.82rem; font-weight: 600; color: rgba(17,17,17,0.58); border: 1px solid var(--border-light); border-radius: 999px; padding: 8px 16px; }
.authority-line { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--text-on-light); line-height: 1.35; max-width: 720px; margin: 0 auto; }
.authority-line strong { color: #17A2B8; font-weight: 400; }
.authority-cta { margin-top: 56px; text-align: center; background: var(--bg-dark); color: #FFFFFF; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 56px); }
.authority-cta h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: #FFFFFF; margin-bottom: 12px; }
.authority-cta p { color: rgba(255,255,255,0.66); font-size: var(--t-body-lg); max-width: 560px; margin: 0 auto 26px; line-height: 1.6; }
.authority-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.authority-cta-actions .btn-primary { cursor: pointer; border: none; font: inherit; }
@media (max-width: 860px) { .authority-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ANIMATED AI SEARCH HERO — Codex component, embedded (#ai-search-hero)
   ============================================================ */
#ai-search-hero { padding: clamp(36px, 6vh, 80px) var(--section-pad-h); }
.aihero-embed { max-width: 1180px; margin: 0 auto; overflow: hidden; }
.aihero-embed iframe {
  width: 100%;
  height: clamp(460px, 62vw, 740px); /* pre-JS fallback; JS sizes/scales exactly */
  border: 0;
  display: block;
  background: transparent;
  transform-origin: top left;
}
/* Below ~900px the floating composition can't fit responsively, so the sizer JS
   renders the iframe at a fixed 900px design viewport and scales the whole thing
   down uniformly — every query chip + the phone stay visible, just smaller. */

/* ============================================================
   BRAND LOGO MARK — nav + footer lockup (assets/logo-mark.svg)
   ============================================================ */
.nav-wordmark { display: inline-flex; align-items: center; gap: 11px; }
.nav-logo { width: 36px; height: 36px; border-radius: 9px; display: block; flex-shrink: 0; }
.footer-wordmark { display: inline-flex; align-items: center; gap: 10px; }
.foot-logo { width: 30px; height: 30px; border-radius: 8px; display: block; flex-shrink: 0; }
@media (max-width: 600px) { .nav-logo { width: 32px; height: 32px; } }

/* ============================================================
   SECTION RHYTHM — added homepage sections
   world-light is theme-only on this site; vertical padding is
   set per-section. #founder follows the full-bleed faq-bg image.
   The seam itself is dissolved by the #faq::before bottom fade
   (image melts into cream), so this top breath now reads as a
   deliberate palate cleanser before the human moment rather than
   compensation for a hard edge. Mobile keeps a proportional
   breath (was cramped at +24).
   ============================================================ */
#meet-alice {
  padding: var(--section-pad-v) var(--section-pad-h);
}

#founder {
  padding: calc(var(--section-pad-v) + 64px) var(--section-pad-h) var(--section-pad-v);
}

@media (max-width: 700px) {
  #founder {
    padding-top: calc(var(--section-pad-v) + 48px);
  }
}

/* ============================================================
   TYPOGRAPHY CONSISTENCY (2026-06-01)
   Match the Alice App page: Inter bold for headings/slogans/stats;
   DM Serif kept only for the brand wordmark lockup (re-pinned to
   --font-serif above). Placed last so it wins same-specificity ties
   against per-element font-weight:400 left over from the serif era.
   ============================================================ */
h1, h2,
.hero-headline, .slogan-line, .colony-slogan-text {
  font-weight: 800;
}
h3, h4, h5, h6 { font-weight: 700; }
.hero-headline em { font-weight: 800; } /* keep italic emphasis, match headline weight */
.stat-n, .authority-line { font-weight: 800; }
