/* ─────────────────────────────────────────────────────────────
   CoCreate 2026 × Hello Alice — landing page styles
   Mobile-first. OKLCH tokens. Single family (Manrope) with
   committed weight contrast. Alibaba orange is load-bearing.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Surfaces (warm cream base, tinted toward peach/orange) */
  --bg:           oklch(0.985 0.012 60);
  --bg-deep:      oklch(0.94 0.025 50);
  --bg-blush:     oklch(0.91 0.04 45);
  --bg-trust:     oklch(0.965 0.018 50);

  /* Ink (deep aubergine, slightly cool to contrast warm cream) */
  --ink:          oklch(0.20 0.025 300);
  --ink-2:        oklch(0.36 0.025 300);
  --ink-3:        oklch(0.52 0.020 300);
  --ink-rule:     oklch(0.80 0.018 50);

  /* Brand-locked per Alibaba.com Brand Guidelines 2024 (p.9–10).
     Ali Orange #FF6600 (Pantone 1585 C, R:255 G:102 B:000) is the
     core brand color and must not be substituted.
     #FF5000 (Pantone 1655 C) is the brand's supportive orange,
     used here for hover / strong emphasis. */
  --orange:       #FF6600;                /* Ali Orange — core */
  --orange-deep:  #FF5000;                /* Ali Orange — supportive */
  --orange-pop:   oklch(0.72 0.21 42);    /* decorative only (gradients, circles) */
  --orange-soft:  oklch(0.93 0.075 45);   /* tinted background */
  --on-orange:    #FFFFFF;                /* white for text on orange per brand */

  /* Tinted "white" for surfaces on orange */
  --paper:        oklch(0.99 0.008 60);

  /* Type — Montserrat is Alibaba.com brand primary for marketing
     (Brand Guidelines 2024, p.12). Open Sans is the brand-approved
     substitute when Montserrat is unavailable. */
  --font:         'Montserrat', 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-eyebrow:   0.78rem;
  --fs-body:      clamp(1rem, 0.96rem + 0.18vw, 1.12rem);
  --fs-body-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.32rem);
  --fs-h3:        clamp(1.4rem, 1.15rem + 1.1vw, 2.1rem);
  --fs-h2:        clamp(1.8rem, 1.2rem + 2.5vw, 3.2rem);
  --fs-stat:      clamp(2rem, 1.2rem + 3vw, 3.8rem);
  --fs-stat-xl:   clamp(3.2rem, 1.8rem + 6vw, 6.5rem);
  --fs-step:      clamp(3rem, 1.8rem + 5vw, 6rem);

  /* Spacing scale (fluid for rhythm) */
  --s-1: clamp(0.4rem, 0.35rem + 0.2vw, 0.55rem);
  --s-2: clamp(0.65rem, 0.55rem + 0.5vw, 1rem);
  --s-3: clamp(1rem, 0.85rem + 0.8vw, 1.6rem);
  --s-4: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
  --s-5: clamp(2rem, 1.5rem + 2.2vw, 3.5rem);
  --s-6: clamp(2.5rem, 1.7rem + 3vw, 4.5rem);
  --s-7: clamp(3rem, 2rem + 4vw, 5.5rem);
  --s-8: clamp(4rem, 2.5rem + 5vw, 7rem);

  --max-w:        76rem;     /* main column */
  --max-w-narrow: 44rem;     /* prose column */
  --max-w-wide:   90rem;     /* full-bleed-ish */
  --rad-pill:     999px;
  --rad-sm:       14px;
  --rad-md:       22px;

  --shadow-sm: 0 1px 2px oklch(0.20 0.025 300 / 0.06),
               0 4px 14px oklch(0.20 0.025 300 / 0.08);
  --shadow-md: 0 4px 12px oklch(0.20 0.025 300 / 0.10),
               0 22px 44px oklch(0.20 0.025 300 / 0.12);
  --shadow-orange: 0 6px 20px oklch(0.69 0.215 42 / 0.32);
}

/* ─────────────────────────────────────────────────────────────
   Reset / base
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, p, dl, dd, dt, blockquote, figure { margin: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 var(--rad-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; outline: 2px solid var(--orange); }

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ─────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.9em 1.5em;
  border-radius: var(--rad-pill);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.2s ease,
              box-shadow 0.2s ease;
  will-change: transform;
}
.btn-lg {
  padding: 1.05em 1.85em;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
}
.btn-sm { padding: 0.65em 1.1em; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--orange);
  color: var(--on-orange);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-on-orange {
  background: var(--paper);
  color: var(--orange-deep);
}
.btn-on-orange:hover {
  background: oklch(0.97 0.01 60);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.85em 0.2em;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  transition: gap 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-secondary:hover {
  gap: 0.6em;
  color: var(--orange-deep);
  border-color: var(--orange-deep);
}

/* ─────────────────────────────────────────────────────────────
   Nav
   ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: oklch(0.985 0.012 60 / 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid oklch(0.85 0.02 50 / 0.6);
}

/* Co-brand lockup — Partnerships pattern per Alibaba.com Brand
   Guidelines 2024 p.14: two-party cooperation marketing places both
   brand marks inline, separated by an X. Equal visual weight, with
   ≥50% clear space respected by the gap. */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.4vw + 4px, 18px);
  min-width: 0;
}
.lockup-logo {
  height: clamp(26px, 1.1vw + 22px, 34px);
  width: auto;
  flex-shrink: 0;
  display: block;
}
.lockup-x {
  font-weight: 400;
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.15rem);
  color: var(--ink-3);
  line-height: 1;
  user-select: none;
}

.btn-nav {
  /* Slightly smaller in nav */
  padding: 0.7em 1.2em;
}

@media (min-width: 880px) {
  .nav { padding: var(--s-2) var(--s-5); }
  .lockup { font-size: 1rem; }
}

/* ─────────────────────────────────────────────────────────────
   Layout primitives
   ───────────────────────────────────────────────────────────── */
.eyebrow {
  position: relative;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 var(--s-3);
}
/* Section-opener accent rule — a small 64×3 orange bar above every
   eyebrow that introduces a content section, used as a recurring
   visual break between blocks. Hero eyebrow opts out (it sits inside
   the hero's own composition). */
.eyebrow:not(.eyebrow-hero)::before {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--orange);
  margin-bottom: var(--s-3);
  border-radius: 2px;
}
.eyebrow-on-deep { color: var(--orange-deep); }

.block {
  position: relative;
  padding: var(--s-6) var(--s-4);
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 880px) {
  .block { padding: var(--s-7) var(--s-5); }
}

.block-title {
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  max-width: 18ch;
  text-wrap: balance;
}
.block-title-tight { max-width: 22ch; }
.block-title-display {
  font-size: clamp(2.2rem, 1.2rem + 4vw, 4.2rem);
  max-width: 16ch;
}
.block-title-display .ink-mute { color: var(--ink-2); font-weight: 600; }

.prose {
  max-width: 58ch;
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--ink-2);
}
.prose p + p { margin-top: var(--s-4); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose-narrow { max-width: 42ch; }
.prose-lede {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  margin-bottom: var(--s-4);
  max-width: 56ch;
  color: var(--ink);
  font-weight: 500;
}
.prose-lede + .prose { margin-top: 0; }
.prose-coda {
  display: block;
  margin-top: var(--s-4);
  max-width: 50ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-3);
  font-style: italic;
}
/* Auto-lede: when a prose block has multiple paragraphs, the first
   paragraph gets a slight emphasis (darker ink, modestly larger, less
   reading weight than .prose-lede) — kills the wall-of-text feeling
   without touching copy. */
.prose > p:first-child:not(:only-child) {
  font-size: clamp(1.08rem, 0.98rem + 0.4vw, 1.2rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.link {
  color: var(--orange-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.link:hover { color: var(--ink); }

/* Pull quotes */
.pull-quote {
  margin-top: var(--s-6);
  max-width: 30ch;
  font-weight: 700;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
  position: relative;
  padding-left: var(--s-3);
  border-left: 0; /* deliberate: no side-stripe border */
}
.pull-quote-left { margin-inline: 0 auto; }
.pull-quote-right {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}
.pull-quote-center {
  margin-inline: auto;
  text-align: center;
  max-width: 36ch;
}

/* Organic background circles */
.circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.5px);
}

/* ─────────────────────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  padding: var(--s-6) var(--s-4) var(--s-5);
  text-align: center;
  overflow: hidden;
}
@media (min-width: 880px) {
  .hero { padding: var(--s-7) var(--s-5) var(--s-6); }
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* Bottom of the hero background softens into cream — no hard seam. */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}
.hero-bg .circle-a {
  width: clamp(32rem, 70vw, 80rem);
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%,
              oklch(0.93 0.085 45 / 0.85),
              oklch(0.93 0.085 45 / 0) 65%);
  top: -15%;
  left: -15%;
}
.hero-bg .circle-b {
  width: clamp(26rem, 60vw, 70rem);
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 50%,
              oklch(0.91 0.10 35 / 0.7),
              oklch(0.91 0.10 35 / 0) 60%);
  top: 20%;
  right: -20%;
}
.hero-bg .circle-c {
  width: clamp(20rem, 45vw, 50rem);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
              oklch(0.95 0.05 60 / 0.7),
              oklch(0.95 0.05 60 / 0) 60%);
  bottom: -20%;
  left: 18%;
}

.eyebrow-hero {
  color: var(--ink-2);
  margin-bottom: var(--s-4);
}

.eyebrow-hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
}

.eyebrow-logo {
  height: 1.4em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.eyebrow-logo-ha    { height: 1.6em; }
.eyebrow-logo-alibaba { height: 1.1em; }

.eyebrow-x {
  font-weight: 300;
  opacity: 0.5;
  font-size: 0.9em;
}

.eyebrow-label {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-title {
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 auto var(--s-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.2rem, 0.55vw, 0.5rem);
  text-wrap: balance;
}
.hero-line {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.015em;
}
.hero-line-1 {
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem);
}
.hero-line-2 {
  font-size: clamp(1.4rem, 0.95rem + 2.2vw, 2.4rem);
}
.hero-money {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--orange);
  font-weight: 800;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5.2rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: clamp(0.1rem, 0.4vw, 0.35rem);
  font-variant-numeric: tabular-nums;
}
.hero-money-tag {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: clamp(0.35rem, 0.7vw, 0.6rem);
  font-size: clamp(0.78rem, 0.7rem + 0.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.hero-sub {
  max-width: 56ch;
  margin: 0 auto var(--s-5);
  font-size: var(--fs-body-lg);
  color: var(--ink-2);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    gap: var(--s-4);
  }
}

/* Trust bar — its own section. The hero's border-bottom IS the
   visual seam, so the trust strip has no border of its own and
   sits close to the line. */
.trust-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-4) var(--s-4);
}
@media (min-width: 880px) {
  .trust-bar { padding: var(--s-4) var(--s-5); }
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4) var(--s-3);
  text-align: left;
}
@media (min-width: 880px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
}
.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.trust-num {
  font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--orange);
  line-height: 1;
}
.trust-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0;
}
/* Match the stakes stat-grid: subgrid keeps every figure on a shared number
   row + label row so the numbers baseline-align across the strip. */
@media (min-width: 880px) {
  .trust-strip { grid-template-rows: auto auto; }
  .trust-stat {
    grid-row: span 2;
    display: grid;
    grid-template-rows: subgrid;
    gap: 0.25rem;
  }
  .trust-num { align-self: baseline; }
}

/* ─────────────────────────────────────────────────────────────
   Block 1 · Empathy
   ───────────────────────────────────────────────────────────── */
.block-empathy {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 980px) {
  .block-empathy {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: var(--s-6);
    align-items: start;
  }
  .block-empathy .eyebrow { grid-column: 1 / -1; }
  .block-empathy .block-title { grid-column: 1; }
  .block-empathy .prose { grid-column: 1; }
  .block-empathy .pull-quote { grid-column: 2; margin-top: 0; align-self: center; }
}

/* ─────────────────────────────────────────────────────────────
   Block 2 · Reframe — text left, figure right on desktop. The
   single moment in the top three sections that breaks the
   wall-of-text feeling with a photo before the gallery hits.
   ───────────────────────────────────────────────────────────── */
.block-reframe {
  display: grid;
  gap: var(--s-4);
  text-align: left;
}
.block-reframe .block-title { margin-bottom: var(--s-4); }

.reframe-figure {
  margin: 0;
  border-radius: var(--rad-md);
  overflow: hidden;
  background: var(--bg-blush);
  box-shadow: var(--shadow-sm);
  position: relative;
  aspect-ratio: 16 / 10;
}
.reframe-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reframe-caption {
  position: absolute;
  bottom: var(--s-3);
  left: var(--s-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: oklch(0.20 0.025 300 / 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45em 0.7em;
  border-radius: 999px;
}

@media (min-width: 980px) {
  .block-reframe {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: var(--s-6);
    align-items: start;
  }
  .block-reframe .eyebrow { grid-column: 1 / -1; }
  .block-reframe .block-title { grid-column: 1 / -1; }
  .block-reframe .prose { grid-column: 1; }
  .block-reframe .reframe-figure { grid-column: 2; align-self: start; }
}

/* ─────────────────────────────────────────────────────────────
   Block 3 · Stakes
   ───────────────────────────────────────────────────────────── */
.block-stakes {
  background: var(--bg-trust);
  max-width: none;
  padding-inline: var(--s-4);
}
.block-stakes .eyebrow,
.block-stakes .block-title,
.block-stakes .prose,
.block-stakes .stat-grid,
.block-stakes .sub-section,
.block-stakes .winner,
.block-stakes .pull-quote {
  max-width: var(--max-w);
  margin-inline: auto;
}
@media (min-width: 880px) {
  .block-stakes { padding-inline: var(--s-5); }
}

.block-stakes .block-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.block-stakes .block-bg .circle-d {
  width: clamp(20rem, 45vw, 36rem);
  aspect-ratio: 1;
  background: radial-gradient(circle,
              oklch(0.94 0.07 45 / 0.6),
              oklch(0.94 0.07 45 / 0) 65%);
  top: 5%;
  right: -10%;
}
.block-stakes .block-bg .circle-e {
  width: clamp(16rem, 38vw, 28rem);
  aspect-ratio: 1;
  background: radial-gradient(circle,
              oklch(0.92 0.09 40 / 0.5),
              oklch(0.92 0.09 40 / 0) 65%);
  bottom: 0;
  left: -8%;
}
.block-stakes > * { position: relative; z-index: 1; }

/* Stat grid — type-driven, no card chrome */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5) var(--s-4);
  margin: var(--s-5) 0 var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--ink-rule);
}
@media (min-width: 720px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .stat-grid {
    grid-template-columns: repeat(5, auto);
    grid-template-rows: auto auto;
    justify-content: space-between;
  }
}
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.stat-num {
  font-weight: 800;
  font-size: var(--fs-stat);
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: var(--orange);
}
.stat-sup {
  font-size: 0.55em;
  vertical-align: 0.25em;
  margin-left: 0.02em;
  font-weight: 700;
}
.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}
.stat-note {
  color: var(--ink-3);
  font-weight: 400;
}

/* Subgrid lets every figure share one number row and one label row, so the
   numbers sit on a common baseline regardless of font size. Declared after the
   base .stat rule so it wins on source order inside the breakpoint. */
@media (min-width: 1100px) {
  .stat {
    grid-row: span 2;
    display: grid;
    grid-template-rows: subgrid;
    gap: var(--s-2);
  }
  .stat-num { align-self: baseline; }
}

/* Sub-sections inside stakes */
.sub-section {
  margin: var(--s-6) auto var(--s-6);
  max-width: var(--max-w-narrow);
}
.sub-title {
  font-weight: 800;
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--s-3);
  color: var(--ink);
  text-wrap: balance;
}

/* Winner spotlight */
.winner {
  display: grid;
  gap: var(--s-4);
  margin: var(--s-6) auto;
  align-items: center;
}
@media (min-width: 880px) {
  .winner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--s-6);
  }
}

.winner-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--rad-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0;
}
.winner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.winner-caption {
  position: absolute;
  bottom: var(--s-3);
  left: var(--s-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: oklch(0.20 0.025 300 / 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45em 0.7em;
  border-radius: 999px;
}


/* ─────────────────────────────────────────────────────────────
   Block 5 · AccioWork
   ───────────────────────────────────────────────────────────── */
.block-acciowork .btn {
  margin-top: var(--s-5);
}

/* ─────────────────────────────────────────────────────────────
   Block 6 · Hello Alice trust
   ───────────────────────────────────────────────────────────── */
.block-trust {
  position: relative;
}
.trust-grid {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-5);
}
@media (min-width: 980px) {
  .trust-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
    align-items: start;
    gap: var(--s-6);
  }
}
.trust-list-title {
  margin: var(--s-4) 0 var(--s-2);
  font-weight: 700;
  color: var(--ink);
  font-size: var(--fs-body-lg);
}
.trust-list {
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.trust-list li {
  padding-left: 1.8em;
  position: relative;
  font-size: var(--fs-body-lg);
  color: var(--ink-2);
  line-height: 1.55;
}
.trust-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 1em;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.trust-list strong { color: var(--ink); font-weight: 700; }

/* Deadline sticky-note */
.deadline-note {
  background: var(--orange-soft);
  border: 1px solid oklch(0.85 0.10 40);
  padding: var(--s-4);
  border-radius: var(--rad-sm);
  position: relative;
  box-shadow: var(--shadow-sm);
  transform: rotate(1.2deg);
}
@media (min-width: 980px) {
  .deadline-note {
    transform: rotate(2deg);
    position: sticky;
    top: 6rem;
  }
}
.deadline-strong {
  font-weight: 800;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.4rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 var(--s-2);
  letter-spacing: -0.015em;
}
.deadline-date {
  color: var(--orange-deep);
  font-weight: 800;
  font-size: 1.15em;
}
.deadline-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   How it works
   ───────────────────────────────────────────────────────────── */
.how {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-6) var(--s-4) var(--s-4);
}
@media (min-width: 880px) {
  .how { padding: var(--s-7) var(--s-5) var(--s-4); }
}
.how .block-title { margin-bottom: var(--s-5); }

.steps {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-5);
}
@media (min-width: 880px) {
  .steps { gap: var(--s-5); }
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: baseline;
  padding-block: var(--s-3);
  border-top: 1px solid var(--ink-rule);
}
.step:last-child { border-bottom: 1px solid var(--ink-rule); }

@media (min-width: 720px) {
  .step { grid-template-columns: 5.5em 1fr; gap: var(--s-5); padding-block: var(--s-4); }
  /* Stagger the steps left/right for typographic rhythm */
  .step-2 { padding-left: clamp(0px, 3vw, 4rem); }
  .step-3 { padding-left: clamp(0px, 6vw, 8rem); }
}

.step-num {
  font-weight: 800;
  font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.step-body {
  padding-top: 0.2em;
}
.step-title {
  font-weight: 800;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
  letter-spacing: -0.015em;
  margin: 0 0 0.3em;
  color: var(--ink);
}
.step-body p {
  font-size: var(--fs-body-lg);
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 48ch;
}

/* Registration walkthrough video */
.how-video {
  margin-top: var(--s-6);
  max-width: 56rem;
}
.how-video-frame,
.how-video .how-video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--rad-md);
  border: 0;
}
.how-video-player { object-fit: cover; }
.how-video-caption {
  margin-top: var(--s-2);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
}

/* ─────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────── */
.faq {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-6) var(--s-4);
}
@media (min-width: 880px) {
  .faq { padding: var(--s-7) var(--s-5); }
}
.faq-list {
  display: block;
  margin-top: var(--s-5);
  border-top: 1px solid var(--ink-rule);
}
.faq-item {
  border-bottom: 1px solid var(--ink-rule);
}
.faq-item details {
  padding: var(--s-3) 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-2) 0;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
  font-weight: 700;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq-toggle {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.2s ease,
              border-color 0.2s ease;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
  border-radius: 1px;
}
.faq-toggle::before { width: 0.55rem; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 0.55rem; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }

.faq-item details[open] .faq-toggle {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(180deg);
}
.faq-item details[open] .faq-toggle::before,
.faq-item details[open] .faq-toggle::after {
  background: var(--on-orange);
}
.faq-item details[open] .faq-toggle::after { transform: scaleY(0); }

.faq-a {
  padding-top: var(--s-2);
  padding-bottom: var(--s-2);
  max-width: 65ch;
}
.faq-a p {
  font-size: var(--fs-body-lg);
  color: var(--ink-2);
  line-height: 1.6;
}
.faq-a strong { color: var(--ink); }
.faq-a a { color: var(--orange-deep); }

/* Smooth open animation where supported */
@supports (interpolate-size: allow-keywords) {
  html { interpolate-size: allow-keywords; }
  .faq-item details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                content-visibility 0.4s allow-discrete;
  }
  .faq-item details[open]::details-content {
    block-size: auto;
  }
}

/* ─────────────────────────────────────────────────────────────
   Final CTA band (orange drench)
   ───────────────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  background: var(--orange);
  color: var(--on-orange);
  padding: var(--s-7) var(--s-4);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 880px) {
  .final-cta { padding: var(--s-7) var(--s-5); }
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.final-cta-bg .circle-f {
  width: clamp(20rem, 50vw, 40rem);
  aspect-ratio: 1;
  background: radial-gradient(circle,
              oklch(0.78 0.18 38 / 0.5),
              transparent 65%);
  top: -20%;
  left: -10%;
}
.final-cta-bg .circle-g {
  width: clamp(16rem, 40vw, 32rem);
  aspect-ratio: 1;
  background: radial-gradient(circle,
              oklch(0.60 0.22 30 / 0.45),
              transparent 65%);
  bottom: -20%;
  right: -10%;
}
.final-cta-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin: 0 auto var(--s-4);
  text-wrap: balance;
}
.final-cta-sub {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  margin: 0 auto var(--s-5);
  font-weight: 500;
  opacity: 0.95;
}

/* ─────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: oklch(0.85 0.012 50);
  padding: var(--s-6) var(--s-4) var(--s-5);
}
@media (min-width: 880px) {
  .footer { padding: var(--s-7) var(--s-5) var(--s-5); }
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 880px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: var(--s-7);
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
}
.footer-ha-logo {
  height: clamp(24px, 1vw + 20px, 30px);
  width: auto;
  display: block;
}
.footer-tag {
  font-size: 0.95rem;
  max-width: 36ch;
  line-height: 1.55;
  color: oklch(0.80 0.012 50);
}

/* Official Partner badge — brand-prescribed label-format lockup per
   Alibaba.com Brand Guidelines 2024 p.18–19. Two-part block: orange
   host block (Alibaba.com logo, white) + white label block
   ("Official Partner"). Sized to read as endorsement, not as
   primary brand. */
.partner-badge {
  display: inline-flex;
  align-items: stretch;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start;
  background: var(--paper);
  height: clamp(30px, 1.4vw + 24px, 36px);
}
.partner-badge-host {
  background: var(--orange);
  display: flex;
  align-items: center;
  padding: 0 clamp(8px, 0.7rem, 12px);
}
.partner-badge-logo {
  height: clamp(13px, 0.5vw + 11px, 16px);
  width: auto;
  display: block;
}
.partner-badge-label {
  display: flex;
  align-items: center;
  padding: 0 clamp(10px, 0.85rem, 14px);
  font-weight: 600;
  font-size: clamp(0.74rem, 0.68rem + 0.18vw, 0.85rem);
  color: var(--ink);
  white-space: nowrap;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-5); }
}
.footer-col-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: oklch(0.65 0.10 45);
  margin: 0 0 var(--s-2);
}
.footer-list {
  display: grid;
  gap: var(--s-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-link {
  color: oklch(0.88 0.012 50);
  text-decoration: underline;
  text-decoration-color: oklch(0.50 0.020 300);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.footer-link:hover {
  color: var(--paper);
  text-decoration-color: var(--orange);
}
.footer-copy {
  max-width: var(--max-w);
  margin: var(--s-6) auto 0;
  padding-top: var(--s-3);
  border-top: 1px solid oklch(0.30 0.015 300);
  font-size: 0.82rem;
  color: oklch(0.60 0.015 300);
}

/* ─────────────────────────────────────────────────────────────
   Sticky mobile CTA
   ───────────────────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: oklch(0.985 0.012 60 / 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid oklch(0.85 0.02 50 / 0.7);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.sticky-cta[hidden] { display: block; visibility: visible; }
.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta .btn { width: 100%; padding: 0.95em 1.4em; }

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* Bottom padding on mobile so content doesn't sit under the bar */
@media (max-width: 767px) {
  body { padding-bottom: 4.5rem; }
}

/* ─────────────────────────────────────────────────────────────
   Reveal animation (scroll-triggered, JS-added class)
   ───────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Hero entrance — staggered on load */
.hero .eyebrow-hero,
.hero .hero-title .hero-line,
.hero .hero-title .hero-money,
.hero .hero-title .hero-money-tag,
.hero .hero-sub,
.hero .hero-ctas,
.hero .trust-strip {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero .eyebrow-hero      { animation-delay: 0.05s; }
.hero .hero-line-1       { animation-delay: 0.14s; }
.hero .hero-line-2       { animation-delay: 0.22s; }
.hero .hero-money        { animation-delay: 0.34s; }
.hero .hero-money-tag    { animation-delay: 0.46s; }
.hero .hero-sub          { animation-delay: 0.58s; }
.hero .hero-ctas         { animation-delay: 0.70s; }
.hero .trust-strip       { animation-delay: 0.80s; }

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow-hero,
  .hero .hero-title .hero-line,
  .hero .hero-title .hero-money,
  .hero .hero-title .hero-money-tag,
  .hero .hero-sub,
  .hero .hero-ctas,
  .hero .trust-strip {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ─────────────────────────────────────────────────────────────
   Selection
   ───────────────────────────────────────────────────────────── */
::selection {
  background: var(--orange);
  color: var(--on-orange);
}
