:root {
  --ink: #101410;
  --forest: #193226;
  --moss: #516c51;
  --paper: #f1eee7;
  --sand: #d6c5a8;
  --cream: #faf8f2;
  --orange: #e08a58;
  --lime: #c8d98a;
  --line: rgba(16, 20, 16, 0.18);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); overflow-x: hidden; }
body, a { color: var(--ink); }
a { text-underline-offset: 0.24em; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 20; top: 1rem; left: 1rem; padding: 0.7rem 1rem; background: var(--cream); transform: translateY(-180%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }
.scroll-meter { position: fixed; z-index: 10; inset: 0 0 auto; height: 3px; background: rgba(250, 248, 242, 0.22); }
.scroll-meter span { display: block; width: 100%; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 1.7rem clamp(1.2rem, 4vw, 4rem); color: var(--cream); mix-blend-mode: difference; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; }
.brand-mark { display: grid; width: 1.7rem; height: 1.7rem; padding: 0.24rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.brand-mark img { width: 100%; height: 100%; filter: brightness(0) invert(1); }
.wordmark { color: inherit; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-decoration: none; }
.wordmark span { color: var(--orange); margin-left: 0.16em; }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); font-size: 0.78rem; letter-spacing: 0.05em; }
.site-header nav a { color: inherit; text-decoration: none; }

.hero { position: relative; min-height: 300vh; color: var(--cream); background: var(--forest); }
.hero-pin { position: sticky; top: 0; min-height: 100svh; display: grid; grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.1fr); align-items: center; gap: 2rem; padding: 8rem clamp(1.2rem, 7vw, 8rem) 4rem; overflow: hidden; background: var(--forest); isolation: isolate; }
.hero-pin::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -20vw; top: -16vw; border-radius: 50%; background: radial-gradient(circle, rgba(224, 138, 88, 0.45), transparent 68%); pointer-events: none; animation: halo-drift 12s ease-in-out infinite alternate; }
.hero-pin::after { content: "LaoDee"; position: absolute; z-index: -1; right: -0.08em; bottom: -0.16em; color: rgba(250, 248, 242, 0.06); font-size: clamp(8rem, 25vw, 27rem); font-weight: 800; letter-spacing: -0.09em; line-height: 0.8; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 40rem; }
.eyebrow { margin: 0 0 1rem; color: var(--moss); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; line-height: 1.3; text-transform: uppercase; }
.hero .eyebrow { color: #dcb998; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -0.065em; line-height: 0.95; }
h1 { max-width: 8.4ch; margin-bottom: 1.6rem; font-size: clamp(3.8rem, 7.5vw, 8rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(3rem, 7vw, 7rem); }
h2 em { color: var(--orange); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lede { max-width: 27rem; margin-bottom: 2rem; color: rgba(250, 248, 242, 0.78); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.5; }
.button { display: inline-flex; gap: 2rem; align-items: center; min-height: 3.25rem; padding: 0 1.2rem; font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.button-light { color: var(--ink); background: var(--cream); }
.button span, .text-link span { color: var(--orange); font-size: 1.2rem; }
.hero-route { position: relative; display: grid; gap: 0.42rem; max-width: 17rem; margin-top: 2.8rem; padding-left: 1.4rem; color: rgba(250, 248, 242, 0.44); font-size: 0.65rem; letter-spacing: 0.13em; line-height: 1.3; text-transform: uppercase; }
.route-line { position: absolute; top: 0.1rem; bottom: 0.15rem; left: 0.25rem; width: 1px; background: linear-gradient(var(--orange), rgba(250, 248, 242, 0.15)); }
.route-line::after { content: ""; position: absolute; top: calc(var(--route-position, 0) * 50%); left: -0.18rem; width: 0.42rem; height: 0.42rem; border: 1px solid var(--lime); border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 0.25rem rgba(200, 217, 138, 0.12); transition: top 420ms ease; }
.route-step { transition: color 260ms ease, transform 260ms ease; }
.route-step.is-active { color: var(--cream); transform: translateX(0.35rem); }
.hero-stage { position: relative; z-index: 1; width: min(100%, 39rem); min-height: min(76vh, 49rem); justify-self: end; }
.device { position: absolute; width: min(48%, 18rem); overflow: hidden; border: 0.6rem solid #141915; border-radius: 2.4rem; background: #141915; box-shadow: 1.4rem 2rem 4rem rgba(0, 0, 0, 0.3); transition: transform 180ms linear; }
.device img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.device-back { top: 8%; left: 8%; transform: rotate(-8deg); opacity: 0.75; }
.device-front { top: 19%; right: 9%; transform: rotate(5deg); }
.stage-coordinate { position: absolute; right: 0; bottom: 9%; display: grid; grid-template-columns: auto auto; gap: 0.25rem 0.5rem; align-items: center; color: rgba(250, 248, 242, 0.72); font-size: 0.62rem; letter-spacing: 0.11em; text-align: right; text-transform: uppercase; animation: stage-float 5s ease-in-out infinite; }
.stage-coordinate strong { grid-column: 2; color: var(--lime); font-size: 0.58rem; font-weight: 500; }
.live-dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0.25rem rgba(200, 217, 138, 0.12); }
.stage-badge { position: absolute; top: 16%; right: 3%; display: flex; gap: 0.7rem; align-items: center; padding: 0.6rem 0.75rem; color: var(--ink); background: var(--lime); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transform: rotate(4deg); box-shadow: 0 0.7rem 1.5rem rgba(0, 0, 0, 0.2); }
.stage-badge span { color: var(--forest); font-size: 1rem; }
.hero-beats { position: absolute; z-index: 2; bottom: 6.5rem; left: 50%; width: min(22rem, 32vw); min-height: 8rem; transform: translateX(-50%); }
.hero-beat { position: absolute; inset: 0; display: grid; align-content: start; gap: 0.45rem; opacity: 0; transform: translateY(1.2rem); transition: opacity 420ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1); }
.hero-beat.is-active { opacity: 1; transform: none; }
.hero-beat > span { color: var(--lime); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-beat strong { max-width: 15rem; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.hero-beat p { max-width: 19rem; margin: 0; color: rgba(250, 248, 242, 0.64); font-size: 0.82rem; line-height: 1.45; }
.hero-pin[data-hero-state="1"] .device-back { opacity: 0.42; transform: rotate(-4deg) scale(0.92); }
.hero-pin[data-hero-state="1"] .device-front { transform: rotate(2deg) translateY(-1rem) scale(1.06); }
.hero-pin[data-hero-state="1"] .stage-badge { background: var(--orange); }
.hero-pin[data-hero-state="2"] .device-back { opacity: 0.28; transform: rotate(1deg) translateX(-1.4rem) scale(0.86); }
.hero-pin[data-hero-state="2"] .device-front { transform: rotate(-2deg) translateY(-1.6rem) scale(1.1); }
.hero-pin[data-hero-state="2"] .stage-badge { background: var(--cream); }
.hero-pin[data-hero-state="2"] .live-dot { background: var(--orange); }
.scroll-cue { position: absolute; z-index: 1; bottom: 2rem; left: clamp(1.2rem, 7vw, 8rem); display: flex; gap: 0.6rem; align-items: center; color: rgba(250, 248, 242, 0.68); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.scroll-cue span { display: inline-block; width: 2rem; height: 1px; background: var(--orange); }
.scroll-cue { animation: cue-pulse 2.6s ease-in-out infinite; }

.ticker { overflow: hidden; color: var(--cream); background: var(--ink); }
.ticker-track { display: flex; width: max-content; gap: clamp(1.3rem, 3vw, 3rem); align-items: center; padding: 1.1rem 0; animation: ticker-run 28s linear infinite; }
.ticker-track span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; white-space: nowrap; }
.ticker-track b { color: var(--orange); font-size: 1rem; font-weight: 400; }

.section { position: relative; padding: clamp(6rem, 13vw, 13rem) clamp(1.2rem, 7vw, 8rem); }
.section-index { position: absolute; top: 2.2rem; left: clamp(1.2rem, 7vw, 8rem); color: var(--moss); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.section-index span { margin: 0 0.5rem; color: var(--orange); }
.intro { display: grid; grid-template-columns: minmax(8rem, 0.6fr) minmax(0, 1.4fr); min-height: 75vh; align-items: center; background: var(--paper); }
.intro-copy { max-width: 54rem; }
.intro-copy h2, .feature-intro h2, .stack-copy h2 { max-width: 9ch; }
.intro-copy p:last-child, .stack-copy > p { max-width: 35rem; color: var(--moss); font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.55; }

.full-bleed { position: relative; min-height: min(88vh, 62rem); overflow: hidden; }
.scene-image { position: absolute; inset: 0; background-position: 72% center; background-repeat: no-repeat; background-size: min(33rem, 47vw) auto; background-color: var(--forest); transform: scale(1.02); }
.scene-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--forest) 0%, rgba(25, 50, 38, 0.84) 38%, rgba(25, 50, 38, 0.08) 78%), linear-gradient(0deg, rgba(16, 20, 16, 0.46), transparent 55%); }
.scene-image-rice { background-image: url("/landing/assets/vayroa-home-android.webp"); background-position: 72% 34%; filter: saturate(0.84); }
.scene-image-river { background-image: url("/landing/assets/vayroa-discover-ios.webp"); background-position: 28% 44%; filter: saturate(0.84); }
.scene-caption { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; width: min(34rem, 80%); height: 100%; min-height: min(88vh, 62rem); padding: clamp(1.2rem, 7vw, 8rem); color: var(--cream); }
.scene-caption .eyebrow { color: #dcb998; }
.scene-caption h2 { margin-bottom: 0; font-size: clamp(3.5rem, 8vw, 8rem); }
.scene-caption-right { margin-left: auto; align-items: flex-end; text-align: right; }
.scene-caption-right .eyebrow { align-self: flex-end; }

.feature-section { background: var(--cream); }
.feature-intro { margin-left: min(23%, 16rem); margin-bottom: clamp(3rem, 8vw, 7rem); }
.feature-intro-copy { max-width: 35rem; margin: 0; color: var(--moss); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.55; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 78rem; margin-left: min(8%, 6rem); }
.feature-card { position: relative; min-height: 35rem; padding: 1.5rem; overflow: hidden; }
.feature-card { transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms ease; }
.feature-card::after { content: ""; position: absolute; inset: auto -20% -35% 25%; height: 60%; border-radius: 50%; background: radial-gradient(circle, rgba(224, 138, 88, 0.25), transparent 68%); pointer-events: none; }
.feature-card-dark { color: var(--cream); background: var(--forest); }
.feature-card-sand { background: var(--sand); }
.feature-card-ink { color: var(--cream); background: var(--ink); }
.feature-number { margin-bottom: 4rem; color: var(--orange); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; }
.feature-card h3 { max-width: 8ch; margin-bottom: 1rem; font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 500; letter-spacing: -0.06em; line-height: 0.95; }
.feature-card p { position: relative; z-index: 1; max-width: 18rem; color: inherit; opacity: 0.72; line-height: 1.5; }
.mini-screen { position: absolute; right: -2rem; bottom: -5rem; width: 65%; overflow: hidden; border: 0.35rem solid #161c17; border-radius: 1.4rem; transform: rotate(-7deg); box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.26); }
.mini-screen img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.mini-screen-home { right: -1rem; transform: rotate(8deg); }
.feature-mark { position: absolute; right: 1.5rem; bottom: 1rem; color: var(--orange); font-size: 8rem; font-weight: 200; line-height: 0.7; }

.stack-section { background: var(--paper); }
.stack-layout { display: grid; grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; max-width: 78rem; margin: 2rem auto 0; }
.stack-copy { position: sticky; top: 8rem; max-width: 28rem; padding-top: 10vh; }
.text-link { display: inline-flex; gap: 1.5rem; align-items: center; margin-top: 1rem; color: var(--ink); font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.screen-stack { display: grid; gap: 20vh; padding: 10vh 3vw 20vh; }
.stack-screen { position: sticky; top: 13vh; width: min(100%, 27rem); margin: 0 auto; }
.stack-screen img { width: 100%; max-height: 72vh; object-fit: cover; object-position: top; border: 0.55rem solid #151a16; border-radius: 2.2rem; box-shadow: 1.3rem 1.8rem 3.4rem rgba(25, 50, 38, 0.22); }
.stack-screen-two { transform: translateY(2rem) rotate(3deg); }
.stack-screen figcaption { margin-top: 0.8rem; color: var(--moss); font-size: 0.7rem; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }

.download { padding-top: clamp(7rem, 14vw, 14rem); padding-bottom: clamp(7rem, 14vw, 14rem); background: var(--forest); }
.download-panel { max-width: 62rem; margin: auto; color: var(--cream); }
.download-panel .eyebrow { color: #dcb998; }
.download-panel h2 { max-width: 10ch; }
.download-panel > p:not(.eyebrow):not(.download-note) { max-width: 34rem; color: rgba(250, 248, 242, 0.72); font-size: 1.1rem; line-height: 1.5; }
.store-links { display: grid; grid-template-columns: repeat(2, minmax(0, 18rem)); gap: 0.8rem; margin-top: 2.5rem; }
.store-link { display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: center; min-height: 5.3rem; padding: 0.9rem 1rem; color: var(--ink); background: var(--cream); text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.store-link:hover { background: #fff; }
.store-icon { font-size: 2rem; line-height: 1; }
.play-icon { display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--orange); font-size: 1.15rem; }
.store-link small, .store-link strong { display: block; }
.store-link small { color: var(--moss); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.store-link strong { font-size: 1rem; }
.store-arrow { color: var(--orange); font-size: 1.2rem; }
.download-note { margin: 1.2rem 0 0; color: rgba(250, 248, 242, 0.5); font-size: 0.72rem; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.2rem, 7vw, 8rem); color: var(--cream); background: var(--ink); font-size: 0.75rem; }
.site-footer p { margin: 0; color: rgba(250, 248, 242, 0.6); }
.site-footer > a:last-child { color: #dcb998; }

@keyframes halo-drift { from { transform: translate3d(-2%, -1%, 0) scale(0.96); } to { transform: translate3d(4%, 4%, 0) scale(1.04); } }
@keyframes stage-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.45rem); } }
@keyframes cue-pulse { 0%, 100% { opacity: 0.56; } 50% { opacity: 1; } }
@keyframes ticker-run { to { transform: translateX(-50%); } }

html.js [data-reveal] { opacity: 0; transform: translateY(2rem); filter: blur(0.375rem); transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1), filter 720ms cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--reveal-delay, 0ms); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

@media (hover: hover) and (pointer: fine) {
  .store-link { transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease; }
  .store-link:hover { transform: translateY(-4px); }
  .feature-card:hover { transform: translateY(-0.55rem) rotate(-0.4deg); box-shadow: 0 1.5rem 3rem rgba(25, 50, 38, 0.14); }
}

@media (max-width: 800px) {
  .site-header nav { gap: 1rem; }
  .hero { min-height: 270vh; }
  .hero-pin { grid-template-columns: 1fr; min-height: 100svh; padding-top: 8rem; padding-bottom: 7rem; align-content: start; }
  .hero-copy { align-self: start; }
  .hero-stage { width: min(100%, 28rem); min-height: 52vh; justify-self: center; }
  .device { width: min(47%, 13.5rem); border-width: 0.45rem; border-radius: 1.8rem; }
  .device-back { top: 0; left: 10%; }
  .device-front { top: 9%; right: 8%; }
  .stage-coordinate { right: 0.5rem; bottom: 0; }
  .stage-badge { top: 6%; right: 0; }
  .hero-route { margin-top: 2rem; }
  .hero-beats { right: 1.2rem; bottom: 5.5rem; left: 1.2rem; width: auto; min-height: 6.5rem; transform: none; }
  .hero-beat p { max-width: 22rem; }
  .scene-image { inset: 22% 0 0; background-size: auto 84%; background-position: 75% center; }
  .scene-image::after { background: linear-gradient(180deg, var(--forest) 0%, rgba(25, 50, 38, 0.14) 68%), linear-gradient(0deg, rgba(16, 20, 16, 0.55), transparent 65%); }
  .intro { grid-template-columns: 1fr; min-height: auto; }
  .section-index { position: static; margin-bottom: 4rem; }
  .feature-intro { margin-left: 0; }
  .feature-intro-copy { margin-top: -1.5rem; margin-bottom: 2.5rem; }
  .feature-grid { grid-template-columns: 1fr; margin-left: 0; }
  .feature-card { min-height: 28rem; }
  .stack-layout { grid-template-columns: 1fr; }
  .stack-copy { position: static; padding-top: 0; }
  .screen-stack { gap: 12vh; padding: 3vh 0 10vh; }
  .stack-screen { position: relative; top: auto; width: min(84%, 22rem); }
  .store-links { grid-template-columns: 1fr; max-width: 22rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .ticker-track { animation: none; }
}
