:root {
  color-scheme: dark;
  --ink: #0d0b0a;
  --ink-soft: #15110f;
  --charcoal: #1d1916;
  --charcoal-2: #29231f;
  --ivory: #f3ead8;
  --stone: #b7aa99;
  --stone-dim: #817569;
  --line: rgba(243, 234, 216, 0.13);
  --glass: rgba(243, 234, 216, 0.055);
  --glow: rgba(226, 184, 110, 0.22);
  --red: #b74235;
  --orange: #d9864b;
  --yellow: #e6c95a;
  --green: #79a85d;
  --moss: #49673c;
  --blue: #4d5b92;
  --violet: #745071;
  --serif: "Iowan Old Style", "New York", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", monospace;
  --max: 1180px;
}

html[lang="zh-Hans"] {
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Iowan Old Style", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  --mono: "SFMono-Regular", "SF Mono", "PingFang SC", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(214, 128, 80, 0.12), transparent 42rem),
    linear-gradient(180deg, #0d0b0a 0%, #14100e 45%, #0b0a09 100%);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 22%, transparent 0 42%, rgba(0, 0, 0, 0.42) 82%),
    radial-gradient(ellipse at 50% 115%, rgba(0, 0, 0, 0.64), transparent 44%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-150%);
  background: var(--ivory);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: 100%;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
  padding: 1rem max(1rem, calc((100vw - var(--max)) / 2));
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.wordmark,
.header-cta,
.button,
.language-toggle,
.site-nav a,
.legal-links a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ivory);
}

.wordmark-mark {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background:
    conic-gradient(from 20deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--violet), var(--red));
  box-shadow: 0 0 24px rgba(230, 201, 90, 0.18);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.2rem;
  color: var(--stone);
  font-size: 0.83rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, rgba(243, 234, 216, 0.72), transparent);
  box-shadow: 0 0 18px rgba(230, 201, 90, 0.16);
  transition: transform 260ms ease;
}

.site-nav a:hover,
.legal-links a:hover {
  color: var(--ivory);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ivory);
  font-size: 0.82rem;
  padding: 0.56rem 0.82rem;
  background: rgba(243, 234, 216, 0.05);
  white-space: nowrap;
}

.language-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 2.55rem;
  min-height: 2.35rem;
  border: 1px solid rgba(243, 234, 216, 0.16);
  border-radius: 999px;
  color: var(--stone);
  background: rgba(243, 234, 216, 0.035);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.language-toggle:hover {
  border-color: rgba(243, 234, 216, 0.3);
  color: var(--ivory);
  background: rgba(243, 234, 216, 0.075);
  transform: translateY(-1px);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.section-grid,
.content-section {
  width: 100%;
  margin: 0 auto;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
}

.section-grid {
  display: grid;
  gap: clamp(2.2rem, 6vw, 5rem);
}

.content-section {
  padding-top: clamp(4.5rem, 10vw, 8rem);
  padding-bottom: clamp(4.5rem, 10vw, 8rem);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 4.5rem);
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 6rem);
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  align-items: start;
  overflow: clip;
  contain: paint;
}

.hero > * {
  min-width: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 234, 216, 0.18), transparent);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-atmosphere {
  position: absolute;
  inset: -18% 0 -12%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.pigment-blob,
.ambient-ribbon {
  position: absolute;
  display: block;
  will-change: transform, opacity;
}

.pigment-blob {
  width: clamp(18rem, 34vw, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.26;
  filter: blur(58px) saturate(0.82);
  mix-blend-mode: screen;
}

.pigment-blob-red {
  left: 45%;
  top: 25%;
  background: radial-gradient(circle, rgba(183, 66, 53, 0.82), rgba(217, 134, 75, 0.22) 42%, transparent 70%);
  animation: pigmentDriftOne 22s ease-in-out infinite alternate;
}

.pigment-blob-gold {
  left: 22%;
  top: 48%;
  width: clamp(16rem, 26vw, 27rem);
  background: radial-gradient(circle, rgba(230, 201, 90, 0.58), rgba(121, 168, 93, 0.18) 48%, transparent 72%);
  animation: pigmentDriftTwo 26s ease-in-out infinite alternate;
}

.pigment-blob-violet {
  right: 0;
  top: 32%;
  width: clamp(17rem, 28vw, 29rem);
  background: radial-gradient(circle, rgba(77, 91, 146, 0.62), rgba(116, 80, 113, 0.24) 50%, transparent 74%);
  animation: pigmentDriftThree 28s ease-in-out infinite alternate;
}

.ambient-ribbon {
  width: min(88vw, 64rem);
  height: 6.5rem;
  border-radius: 999px;
  opacity: 0.18;
  filter: blur(20px) saturate(0.78);
  background:
    linear-gradient(90deg,
      transparent,
      rgba(183, 66, 53, 0.55),
      rgba(230, 201, 90, 0.46),
      rgba(121, 168, 93, 0.38),
      rgba(77, 91, 146, 0.45),
      transparent);
}

.ambient-ribbon-one {
  left: 3%;
  top: 18%;
  transform: rotate(-11deg);
  animation: ribbonFloatOne 24s ease-in-out infinite alternate;
}

.ambient-ribbon-two {
  right: -15%;
  top: 56%;
  opacity: 0.13;
  transform: rotate(8deg);
  animation: ribbonFloatTwo 27s ease-in-out infinite alternate;
}

.ambient-ribbon-three {
  left: 21%;
  bottom: 9%;
  width: min(66vw, 48rem);
  opacity: 0.11;
  transform: rotate(-4deg);
  animation: ribbonFloatThree 32s ease-in-out infinite alternate;
}

.hero-story-ribbon {
  position: absolute;
  left: max(1rem, calc((100% - var(--max)) / 2));
  top: clamp(7rem, 18vh, 12rem);
  z-index: 1;
  width: min(72vw, 48rem);
  height: 3rem;
  pointer-events: none;
}

.story-dot,
.story-line {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  transform: translateY(-50%);
}

.story-dot {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: #e6c95a;
  box-shadow: 0 0 24px rgba(230, 201, 90, 0.38);
}

.story-line {
  width: 100%;
  height: 1rem;
  border-radius: 999px;
  transform-origin: left center;
  background:
    linear-gradient(90deg,
      rgba(183, 66, 53, 0.8),
      rgba(217, 134, 75, 0.78),
      rgba(230, 201, 90, 0.74),
      rgba(121, 168, 93, 0.62),
      rgba(77, 91, 146, 0.58),
      rgba(116, 80, 113, 0));
  filter: blur(8px) saturate(0.8);
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}

.eyebrow,
.step-label,
.quiet-stats dt,
.site-footer,
.poster-card footer,
.poster-card p {
  font-family: var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--stone-dim);
  font-size: 0.72rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-size: clamp(3.05rem, 6.4vw, 5rem);
}

html[lang="zh-Hans"] h1 {
  max-width: 7.6em;
  font-size: clamp(3.2rem, 6vw, 5.25rem);
  line-height: 1.04;
}

h2 {
  max-width: 12ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.7rem, 8vw, 6.4rem);
}

html[lang="zh-Hans"] h2 {
  max-width: 6.8em;
  font-size: clamp(2.55rem, 7.2vw, 5.8rem);
  line-height: 1.06;
}

h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
}

html[lang="zh-Hans"] h3 {
  line-height: 1.22;
}

.hero-subhead,
.section-heading p,
.feature-copy p,
.privacy-panel p,
.final-panel p {
  max-width: 38rem;
  color: var(--stone);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

html[lang="zh-Hans"] .hero-subhead,
html[lang="zh-Hans"] .section-heading p,
html[lang="zh-Hans"] .feature-copy p,
html[lang="zh-Hans"] .privacy-panel p,
html[lang="zh-Hans"] .final-panel p {
  line-height: 1.82;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 999px;
  padding: 0.82rem 1.15rem;
  cursor: pointer;
  white-space: nowrap;
  will-change: transform, box-shadow;
}

.button-primary {
  border: 1px solid rgba(243, 234, 216, 0.58);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 16px 50px rgba(243, 234, 216, 0.12);
}

.button-primary:hover {
  box-shadow:
    0 18px 55px rgba(243, 234, 216, 0.16),
    0 0 30px rgba(230, 201, 90, 0.14);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(243, 234, 216, 0.04);
  color: var(--ivory);
}

.button-secondary:hover,
.header-cta:hover {
  border-color: rgba(243, 234, 216, 0.28);
  background: rgba(243, 234, 216, 0.075);
  box-shadow: 0 0 34px rgba(230, 201, 90, 0.08);
}

.hero-visual,
.spectrum-visual,
.eat-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 38rem;
}

.hero-visual {
  min-height: 43rem;
  perspective: 1100px;
}

.spectral-ribbon {
  position: absolute;
  pointer-events: none;
}

.hero-stream {
  left: 50%;
  top: 44%;
  width: min(92vw, 56rem);
  height: 13rem;
  transform: translate(-50%, -50%) rotate(-9deg);
  filter: blur(0.2px);
  opacity: 0.78;
}

.hero-stream span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(115, 48, 57, 0) 0%,
      rgba(183, 66, 53, 0.54) 10%,
      rgba(217, 134, 75, 0.58) 24%,
      rgba(230, 201, 90, 0.5) 38%,
      rgba(121, 168, 93, 0.46) 52%,
      rgba(73, 103, 60, 0.46) 64%,
      rgba(77, 91, 146, 0.52) 78%,
      rgba(116, 80, 113, 0.48) 90%,
      rgba(116, 80, 113, 0) 100%);
  filter: blur(22px) saturate(0.86);
  animation: ribbonDrift 16s ease-in-out infinite alternate;
}

.hero-kicker,
.hero-line,
.hero-subhead,
.hero .cta-row {
  will-change: transform, opacity, filter;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line span {
  display: block;
  white-space: nowrap;
}

.plate-sequence {
  position: absolute;
  left: 4%;
  top: 14%;
  width: 12rem;
  aspect-ratio: 1;
  opacity: 0.72;
}

.blank-plate,
.plate-pigment {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.blank-plate {
  background:
    radial-gradient(circle at 48% 48%, rgba(243, 234, 216, 0.12), rgba(243, 234, 216, 0.04) 54%, transparent 56%),
    radial-gradient(circle, transparent 62%, rgba(243, 234, 216, 0.16) 63%, transparent 67%);
  animation: plateSettle 2.2s ease both;
}

.plate-pigment {
  inset: 14%;
  background:
    conic-gradient(from 70deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--violet), var(--red));
  filter: blur(18px) saturate(0.76);
  opacity: 0;
  animation: pigmentBloom 4.8s ease 0.65s both;
}

.phone {
  --phone-frame: 0.84rem;
  --phone-radius: 3.18rem;
  --phone-screen-radius: 2.38rem;
  position: relative;
  margin: 0;
  width: min(78vw, 21rem);
  border: 1px solid rgba(243, 234, 216, 0.18);
  border-radius: var(--phone-radius);
  padding: var(--phone-frame);
  background:
    linear-gradient(145deg, rgba(243, 234, 216, 0.22), rgba(243, 234, 216, 0.055) 30%, rgba(0, 0, 0, 0.62) 72%),
    #100d0c;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.58),
    0 0 80px rgba(217, 134, 75, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    inset 0 -18px 38px rgba(0, 0, 0, 0.38);
  transform-style: preserve-3d;
  will-change: transform;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0.28rem;
  border-radius: calc(var(--phone-radius) - 0.28rem);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.phone::after {
  content: "";
  position: absolute;
  inset: var(--phone-frame);
  z-index: 3;
  border-radius: var(--phone-screen-radius);
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 0 0 0 2px rgba(0, 0, 0, 0.18),
    inset 0 0 42px rgba(243, 234, 216, 0.035);
}

.phone img,
.phone-screen img {
  width: 100%;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--phone-screen-radius);
  background:
    radial-gradient(circle at 50% 18%, rgba(243, 234, 216, 0.08), transparent 30%),
    #070605;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: var(--phone-screen-radius);
  background:
    radial-gradient(circle at 52% 14%, rgba(243, 234, 216, 0.08), transparent 32%),
    linear-gradient(180deg, #17100d, #080706 70%);
  transform: translateZ(18px);
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: -20% -55%;
  pointer-events: none;
  background:
    linear-gradient(105deg,
      transparent 0 32%,
      rgba(243, 234, 216, 0.08) 39%,
      rgba(230, 201, 90, 0.08) 44%,
      rgba(77, 91, 146, 0.07) 49%,
      transparent 58% 100%);
  mix-blend-mode: screen;
  transform: translateX(-34%);
  animation: screenShimmer 7.5s ease-in-out 1.2s infinite;
}

.phone-screen-glow {
  position: absolute;
  inset: 12% -18% 22%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(230, 201, 90, 0.2), transparent 58%),
    radial-gradient(circle at 68% 58%, rgba(77, 91, 146, 0.18), transparent 50%);
  filter: blur(34px);
  opacity: 0.7;
}

.phone-reflection {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -4.6rem;
  z-index: -2;
  height: 5.6rem;
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(230, 201, 90, 0.18), rgba(183, 66, 53, 0.1) 42%, transparent 72%);
  filter: blur(22px);
  transform: rotate(-5deg);
  opacity: 0.72;
}

.phone-speaker {
  position: absolute;
  top: calc(var(--phone-frame) + 0.44rem);
  left: 50%;
  z-index: 5;
  width: 4.3rem;
  height: 0.28rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(10, 8, 7, 0.72);
}

.phone-hero {
  z-index: 3;
  transform:
    translate3d(0, calc(var(--parallax-y, 0) + var(--float-y, 0px) + var(--intro-y, 0px)), 0)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    rotateZ(1.5deg);
  transition: transform 360ms ease-out;
}

.phone-feature {
  width: min(72vw, 18.5rem);
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  top: calc(100svh - 9rem);
  bottom: auto;
  z-index: 4;
  display: inline-grid;
  justify-items: center;
  gap: 0.65rem;
  transform: translate(-50%, var(--cue-y, 0px));
  color: var(--stone-dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 2.6rem;
  overflow: hidden;
  background: rgba(243, 234, 216, 0.16);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -42%;
  width: 1px;
  height: 42%;
  background: rgba(243, 234, 216, 0.72);
  animation: scrollLine 2.4s ease-in-out infinite;
}

.concept {
  padding-top: clamp(5rem, 10vw, 8rem);
}

.section-heading {
  display: grid;
  gap: 0.4rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading h2 {
  max-width: 13ch;
}

.analysis-showcase {
  position: relative;
  display: grid;
  gap: clamp(1.4rem, 5vw, 3rem);
  align-items: center;
  min-height: 38rem;
}

.analysis-showcase::before {
  content: "";
  position: absolute;
  inset: 12% -8% 0;
  z-index: -1;
  background:
    radial-gradient(circle at 32% 38%, rgba(183, 66, 53, 0.16), transparent 18rem),
    radial-gradient(circle at 70% 56%, rgba(77, 91, 146, 0.16), transparent 20rem);
  filter: blur(10px);
}

.phone-analysis {
  width: min(72vw, 18.8rem);
  justify-self: center;
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(-1.5deg);
}

.ingredient-analysis-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 4vw, 1.35rem) clamp(1rem, 4vw, 1.35rem);
  background:
    linear-gradient(155deg, rgba(243, 234, 216, 0.08), transparent 46%),
    rgba(243, 234, 216, 0.035);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.3);
}

.ingredient-analysis-card h3 {
  max-width: 12rem;
  margin-bottom: 0.75rem;
}

.ingredient-analysis-card p {
  max-width: 24rem;
  margin-bottom: 1.35rem;
  color: var(--stone);
}

.ingredient-list {
  display: grid;
  gap: 0.2rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.ingredient-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 2.45rem;
  border-top: 1px solid rgba(243, 234, 216, 0.09);
  color: var(--stone);
}

.ingredient-list li:first-child {
  border-top: 0;
}

.ingredient-list span {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c), transparent 58%);
}

.ingredient-list strong {
  color: var(--ivory);
  font-weight: 500;
}

.ingredient-list em {
  color: var(--stone-dim);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-style: normal;
}

.trace-sequence {
  display: grid;
  gap: 1rem;
}

.trace-card {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 234, 216, 0.035);
  padding: 1rem;
}

.trace-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(243, 234, 216, 0.08), transparent 42%);
  pointer-events: none;
}

.trace-card img {
  width: 100%;
  height: 14rem;
  margin-top: 2.4rem;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.9) contrast(0.94);
}

.meal-photo-visual {
  position: relative;
  width: 100%;
  height: 14rem;
  margin-top: 2.4rem;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(243, 234, 216, 0.16), transparent 38%),
    radial-gradient(circle at 52% 50%, rgba(243, 234, 216, 0.16), transparent 34%),
    linear-gradient(180deg, #201915, #0d0b0a);
}

.meal-photo-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.18;
}

.plate-study {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9.6rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(238, 226, 205, 0.16) 0 38%, transparent 39%),
    radial-gradient(circle, transparent 0 59%, rgba(238, 226, 205, 0.32) 60% 62%, rgba(238, 226, 205, 0.05) 63% 72%, transparent 73%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.food-shape {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  filter: saturate(0.86) blur(0.2px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16);
}

.food-shape.tomato {
  left: 35%;
  top: 42%;
  width: 4rem;
  height: 2.3rem;
  background: #b74235;
  transform: rotate(-18deg);
}

.food-shape.citrus {
  left: 49%;
  top: 35%;
  width: 3.4rem;
  height: 2.5rem;
  background: #d9864b;
  transform: rotate(20deg);
}

.food-shape.greens {
  left: 45%;
  top: 52%;
  width: 4.8rem;
  height: 2.7rem;
  background: #79a85d;
  transform: rotate(-4deg);
}

.food-shape.violet {
  left: 56%;
  top: 50%;
  width: 3rem;
  height: 2.1rem;
  background: #745071;
  transform: rotate(24deg);
}

.step-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  color: var(--stone-dim);
  font-size: 0.66rem;
}

.extract-card,
.archive-card {
  display: grid;
  align-content: center;
  gap: 2rem;
}

.color-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 2.4rem;
}

.color-swatches i {
  min-height: 4.7rem;
  border-radius: 6px;
  background: var(--c);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
  opacity: 0.88;
}

.analysis-ribbon {
  display: flex;
  width: 100%;
  min-height: 1.35rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.analysis-ribbon span {
  flex: 0 0 var(--w);
  background: var(--c);
}

.mini-archive {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.mini-archive span,
.poster-ribbons span {
  height: 1.3rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      #753138 0 13%,
      #c56d3b 13% 28%,
      #d9bf54 28% 45%,
      #6f9b58 45% 63%,
      #4a613b 63% 75%,
      #4f5b8a 75% 88%,
      #72506e 88% 100%);
  filter: saturate(0.86);
}

.mini-archive span:nth-child(2),
.poster-ribbons span:nth-child(4) {
  background:
    linear-gradient(90deg,
      #51342f 0 18%,
      #a57631 18% 35%,
      #b7883c 35% 54%,
      #4f7442 54% 70%,
      #49346c 70% 100%);
}

.mini-archive span:nth-child(3),
.poster-ribbons span:nth-child(7) {
  background:
    linear-gradient(90deg,
      #8b3b2d 0 19%,
      #f28b52 19% 36%,
      #e5d7bc 36% 51%,
      #536d44 51% 70%,
      #262237 70% 100%);
}

.feature-section {
  padding-top: clamp(4.5rem, 10vw, 8rem);
  padding-bottom: clamp(4.5rem, 10vw, 8rem);
  align-items: center;
  border-top: 1px solid rgba(243, 234, 216, 0.08);
}

.feature-copy {
  align-self: center;
}

.quiet-stats {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.quiet-stats div {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.quiet-stats dt {
  color: var(--stone-dim);
  font-size: 0.62rem;
}

.quiet-stats dd {
  margin: 0.2rem 0 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.spectrum-panel {
  position: absolute;
  right: 0;
  bottom: 2.7rem;
  width: min(46vw, 18rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(16, 13, 11, 0.72);
  backdrop-filter: blur(16px);
}

.score-ring {
  display: grid;
  place-items: center;
  width: 6.4rem;
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink) 54%, transparent 55%),
    conic-gradient(var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--violet), rgba(255,255,255,0.12));
}

.score-ring span {
  font-family: var(--serif);
  font-size: 2.1rem;
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.25rem;
}

.atlas-grid i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.atlas-grid i:nth-child(8n+1) { background: #b74235; }
.atlas-grid i:nth-child(8n+2) { background: #d9864b; }
.atlas-grid i:nth-child(8n+3) { background: #e6c95a; }
.atlas-grid i:nth-child(8n+4) { background: #79a85d; }
.atlas-grid i:nth-child(8n+5) { background: #49673c; }
.atlas-grid i:nth-child(8n+6) { background: #8f7b63; }
.atlas-grid i:nth-child(8n+7) { background: #4d5b92; }
.atlas-grid i:nth-child(8n+8) { background: #745071; }
.atlas-grid i:nth-child(3n) { opacity: 0.34; }
.atlas-grid i:nth-child(5n) { opacity: 0.58; }

.ingredient-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.ingredient-stack span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  color: var(--stone);
  font-size: 0.86rem;
}

.ingredient-stack span::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c), transparent 55%);
}

.eat-visual .phone {
  justify-self: end;
}

.dish-card {
  position: absolute;
  left: max(0rem, calc(50% - 12rem));
  bottom: clamp(2.4rem, 7vw, 4rem);
  width: min(64vw, 21rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.9rem 1rem 1rem;
  background: rgba(16, 13, 11, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.dish-card h3 {
  max-width: 14rem;
  margin-bottom: 1rem;
}

.share-section {
  border-top: 1px solid rgba(243, 234, 216, 0.08);
}

.poster-grid {
  display: grid;
  gap: 1rem;
}

.poster-card {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 234, 216, 0.04);
  padding: 1rem;
}

.poster-card p {
  position: relative;
  z-index: 2;
  color: var(--stone);
  font-size: 0.65rem;
}

.poster-card img {
  position: absolute;
  inset: 3rem 1rem 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 4rem);
  object-fit: cover;
  border-radius: 6px;
}

.poster-ribbons {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 5rem;
  display: grid;
  gap: 0.58rem;
}

.poster-card footer {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--stone-dim);
  font-size: 0.62rem;
}

.poster-archive {
  background:
    linear-gradient(180deg, rgba(243, 234, 216, 0.06), transparent 40%),
    #100d0b;
}

.poster-spectrum img,
.poster-year img {
  filter: saturate(0.9) contrast(0.94);
}

.privacy-section {
  border-top: 1px solid rgba(243, 234, 216, 0.08);
}

.privacy-panel,
.app-store-panel,
.final-panel {
  max-width: 52rem;
}

.privacy-panel h2,
.app-store-panel h2,
.final-panel h2 {
  max-width: 14ch;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.legal-links a {
  border-bottom: 1px solid rgba(243, 234, 216, 0.28);
  color: var(--stone);
}

.app-store-section {
  border-top: 1px solid rgba(243, 234, 216, 0.08);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.app-store-panel {
  max-width: 64rem;
}

.compliance-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.compliance-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background:
    linear-gradient(150deg, rgba(243, 234, 216, 0.07), transparent 52%),
    rgba(243, 234, 216, 0.03);
}

.compliance-grid span {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--stone-dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
}

.compliance-grid h3 {
  margin-bottom: 0.65rem;
}

.compliance-grid p {
  margin-bottom: 0;
  color: var(--stone);
}

.final-cta {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.final-panel {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 5vw, 3rem);
}

.final-panel::after {
  content: "";
  display: block;
  width: 100%;
  height: 1.35rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      #733039,
      #c06932,
      #ebd85a,
      #68a85b,
      #4a6937,
      #4c5a91,
      #775170);
  filter: saturate(0.85) blur(0.15px);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--stone-dim);
  font-size: 0.62rem;
}

.site-footer div {
  display: grid;
  gap: 0.25rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--stone);
}

.site-footer nav a {
  border-bottom: 1px solid rgba(243, 234, 216, 0.24);
}

.site-footer strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  min-height: 100svh;
}

.legal-main {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.legal-main h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 10vw, 7rem);
}

html[lang="zh-Hans"] .legal-main h1 {
  max-width: none;
  font-size: clamp(3.2rem, 9.5vw, 6.2rem);
}

.legal-main h2 {
  margin-top: 2.3rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.legal-main p,
.legal-main li {
  color: var(--stone);
}

.legal-main a {
  border-bottom: 1px solid var(--line);
}

@keyframes ribbonDrift {
  0% {
    transform: translateX(-4%) scaleX(0.92);
    opacity: 0.58;
  }
  100% {
    transform: translateX(4%) scaleX(1.04);
    opacity: 0.82;
  }
}

@keyframes plateSettle {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pigmentBloom {
  0% {
    opacity: 0;
    transform: scale(0.38);
  }
  38% {
    opacity: 0.62;
    transform: scale(0.78);
  }
  100% {
    opacity: 0.34;
    transform: translate(46vw, 16vh) scaleX(4.8) scaleY(0.46) rotate(-7deg);
  }
}

@keyframes pigmentDriftOne {
  0% {
    transform: translate3d(-5%, -3%, 0) scale(0.92);
  }
  100% {
    transform: translate3d(8%, 5%, 0) scale(1.08);
  }
}

@keyframes pigmentDriftTwo {
  0% {
    transform: translate3d(6%, 4%, 0) scale(1);
  }
  100% {
    transform: translate3d(-7%, -5%, 0) scale(1.12);
  }
}

@keyframes pigmentDriftThree {
  0% {
    transform: translate3d(5%, -5%, 0) scale(0.96);
  }
  100% {
    transform: translate3d(-8%, 7%, 0) scale(1.08);
  }
}

@keyframes ribbonFloatOne {
  0% {
    transform: translate3d(-4%, 0, 0) rotate(-11deg) scaleX(0.96);
  }
  100% {
    transform: translate3d(5%, 14%, 0) rotate(-8deg) scaleX(1.04);
  }
}

@keyframes ribbonFloatTwo {
  0% {
    transform: translate3d(3%, 0, 0) rotate(8deg) scaleX(0.98);
  }
  100% {
    transform: translate3d(-6%, -10%, 0) rotate(5deg) scaleX(1.05);
  }
}

@keyframes ribbonFloatThree {
  0% {
    transform: translate3d(-2%, 0, 0) rotate(-4deg) scaleX(0.98);
  }
  100% {
    transform: translate3d(8%, -8%, 0) rotate(-7deg) scaleX(1.06);
  }
}

@keyframes screenShimmer {
  0%, 58% {
    transform: translateX(-34%);
    opacity: 0;
  }
  72% {
    opacity: 1;
  }
  100% {
    transform: translateX(34%);
    opacity: 0;
  }
}

@keyframes scrollLine {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    transform: translateY(340%);
    opacity: 0;
  }
}

@media (min-width: 720px) {
  .site-nav {
    display: flex;
  }

  .site-footer {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }

  .trace-sequence,
  .poster-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .section-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .hero-copy {
    padding-top: 2rem;
  }

  .analysis-showcase {
    grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1fr);
  }

  .phone-analysis {
    justify-self: end;
  }

  .ingredient-analysis-card {
    max-width: 31rem;
  }

  .spectrum-section,
  .eat-section {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }

  .spectrum-section .feature-copy,
  .eat-section .feature-copy {
    order: 2;
  }

  .spectrum-section .spectrum-visual,
  .eat-section .eat-visual {
    order: 1;
  }
}

@media (max-width: 719px) {
  .site-header {
    padding-inline: 0.75rem;
    gap: 0.65rem;
  }

  .header-cta {
    min-height: 2.35rem;
    padding-inline: 0.7rem;
    font-size: 0.76rem;
  }

  .language-toggle {
    min-width: 2.32rem;
    min-height: 2.28rem;
    font-size: 0.62rem;
  }

  .wordmark {
    gap: 0.46rem;
    font-size: 1rem;
  }

  .wordmark-mark {
    width: 0.95rem;
    height: 0.95rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 5.6rem;
  }

  html[lang="zh-Hans"] h1 {
    max-width: 5.8em;
    font-size: clamp(3rem, 13.2vw, 3.85rem);
  }

  html[lang="zh-Hans"] h2 {
    max-width: 6.2em;
    font-size: clamp(2.42rem, 12vw, 3.7rem);
  }

  .hero-visual,
  .spectrum-visual,
  .eat-visual {
    min-height: 34rem;
  }

  .eat-section {
    gap: 1.35rem;
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .eat-section .feature-copy {
    position: relative;
    z-index: 2;
  }

  .eat-section .feature-copy p {
    margin-bottom: 0;
  }

  .eat-section .ingredient-stack {
    margin-top: 1.15rem;
  }

  .eat-visual {
    z-index: 1;
    min-height: 25rem;
    margin-top: -2.35rem;
    place-items: start end;
    overflow: visible;
  }

  .eat-visual .phone-feature {
    width: min(64vw, 15.75rem);
  }

  .hero-story-ribbon {
    top: 8rem;
    width: 82vw;
    opacity: 0.62;
  }

  .scroll-cue {
    top: auto;
    bottom: 1.2rem;
  }

  .pigment-blob {
    filter: blur(44px) saturate(0.82);
    opacity: 0.2;
  }

  .ambient-ribbon {
    height: 5rem;
    opacity: 0.1;
  }

  .plate-sequence {
    width: 8rem;
    left: 0;
  }

  .spectrum-panel,
  .dish-card {
    width: min(72vw, 18rem);
  }

  .spectrum-panel {
    bottom: 0.6rem;
  }

  .dish-card {
    left: 0;
    bottom: 0.6rem;
  }

  .poster-card {
    min-height: 29.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .story-line,
  .story-dot {
    display: none;
  }

  .phone-screen::after,
  .scroll-cue i::after {
    animation: none;
  }
}
