/* Strata – website. No external fonts, scripts or trackers; everything is served from this folder. */
:root {
  --ink: #0b0710;
  --night: #140c22;
  --plum: #2a1450;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f1ff;
  --muted: rgba(246, 241, 255, 0.68);
  --gold: #ffc46b;
  --pink: #ff4fa8;
  --cyan: #4ce6f2;
  --teal: #2e9c8e;
  --cream: #f4ead5;
  --radius: 28px;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--round); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Background lights */
#bokeh { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.sky {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(255, 79, 168, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(76, 230, 242, 0.12), transparent 60%),
    radial-gradient(1000px 800px at 50% 120%, rgba(255, 196, 107, 0.14), transparent 60%),
    linear-gradient(180deg, #1a0e33 0%, var(--ink) 55%, #07050a 100%);
}

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(11, 7, 16, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); background: rgba(11, 7, 16, 0.78); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 21px var(--round); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--text); }
.nav .lang { color: var(--muted); font-size: 14px; text-decoration: none; border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }
.badge img { height: 44px; width: auto; }
.nav .badge img { height: 38px; }
@media (max-width: 820px) { .nav nav { display: none; } .nav .lang { margin-left: auto; } }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 13px var(--round); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow .mark { width: 14px; height: 24px; border-radius: 4px; overflow: hidden; display: grid; grid-template-rows: repeat(4, 1fr); }
.mark i:nth-child(1) { background: var(--cream); } .mark i:nth-child(2) { background: #ff8a3c; }
.mark i:nth-child(3) { background: #e8406a; } .mark i:nth-child(4) { background: var(--teal); }
.hero h1 { font-size: clamp(48px, 7.2vw, 96px); font-weight: 900; margin: 18px 0 20px; }
.shine {
  background: linear-gradient(100deg, var(--gold) 0%, #ff8a3c 25%, var(--pink) 50%, var(--cyan) 75%, var(--gold) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 9s linear infinite;
}
@keyframes shine { to { background-position: 300% 0; } }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.cta small { color: var(--muted); font-size: 14px; }
.stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.stats div { font: 800 34px var(--round); }
.stats span { display: block; font: 600 13px var(--sans); color: var(--muted); letter-spacing: .04em; }

/* Phone */
.stage { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 640px; }
.phone {
  position: relative; width: min(330px, 78vw); aspect-ratio: 600 / 1304;
  border-radius: 54px; padding: 11px;
  background: linear-gradient(135deg, #4a4a54, #18181e 45%, #3a3a44);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 0 120px -30px var(--pink);
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}
.phone video, .phone img.screen { width: 100%; height: 100%; object-fit: cover; border-radius: 44px; background: #000; }
.phone::after {
  content: ""; position: absolute; top: 22px; left: 50%; width: 31%; height: 28px; transform: translateX(-50%);
  background: #000; border-radius: 20px;
}
.float { position: absolute; width: 58px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5)); animation: bob 6s ease-in-out infinite; }
.float.a { left: 2%; top: 18%; animation-delay: -1s; }
.float.b { right: 0; top: 52%; width: 70px; animation-delay: -3s; }
.float.c { left: 8%; bottom: 8%; width: 46px; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-18px) rotate(4deg); } }

/* Drawn glass (used for floating glasses and the mini puzzle) */
.glass {
  position: relative; width: 100%; aspect-ratio: 0.42;
  border: 3px solid rgba(255, 255, 255, 0.55); border-top: none;
  border-radius: 0 0 16px 16px;
  display: flex; flex-direction: column-reverse; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.06));
}
.glass::before {
  content: ""; position: absolute; left: 14%; top: 6%; bottom: 8%; width: 9%;
  background: rgba(255, 255, 255, 0.22); border-radius: 9px; z-index: 2;
}
.layer { flex: 0 0 25%; transition: flex-basis .45s cubic-bezier(.2, .8, .2, 1), background .45s; }
.float .layer { animation: fill 7s ease-in-out infinite; transform-origin: bottom; }
@keyframes fill { 0%, 100% { filter: saturate(1); } 50% { filter: saturate(1.35) brightness(1.08); } }

/* Sections */
section { padding: 110px 0; position: relative; }
.kicker { font: 800 13px var(--round); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.title { font-size: clamp(36px, 5vw, 64px); font-weight: 900; margin: 14px 0 18px; }
.intro { color: var(--muted); font-size: 19px; max-width: 40em; }
.center { text-align: center; }
.center .intro { margin-inline: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* Physics / mini puzzle */
.physics .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rules { display: grid; gap: 16px; margin-top: 28px; }
.rule { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.rule b { font-family: var(--round); font-size: 18px; display: block; }
.rule p { color: var(--muted); font-size: 15px; }
.rule .dot { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #0b0710; }
.puzzle {
  padding: 34px 30px 30px; border-radius: 36px; text-align: center;
  background: linear-gradient(160deg, rgba(42, 20, 80, 0.9), rgba(11, 7, 16, 0.9));
  border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(255, 79, 168, 0.4);
}
.order { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); text-align: left; }
.order .glass { width: 26px; border-width: 2px; border-radius: 0 0 8px 8px; }
.order small { color: var(--gold); font: 800 11px var(--round); letter-spacing: .14em; text-transform: uppercase; display: block; }
.order strong { font: 800 18px var(--round); }
.shelf { display: flex; justify-content: center; gap: clamp(18px, 5vw, 44px); margin: 36px 0 22px; min-height: 230px; align-items: flex-end; }
.shelf button { all: unset; cursor: pointer; width: clamp(64px, 12vw, 86px); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.shelf button:focus-visible .glass { outline: 3px solid var(--gold); outline-offset: 6px; }
.shelf button.up { transform: translateY(-26px); }
.shelf button.pour { transform: translate(var(--dx, 0px), -70px) rotate(var(--tilt, 50deg)); transition-duration: .5s; }
.shelf button.deny { animation: deny .35s; }
@keyframes deny { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.status { min-height: 26px; color: var(--muted); font-weight: 600; }
.status.win { color: var(--gold); font: 800 22px var(--round); }
.legend { display: flex; justify-content: center; gap: 18px; color: var(--muted); font-size: 13px; margin-top: 14px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-left: 6px; vertical-align: -1px; }
.again { margin-top: 14px; background: none; border: 1px solid var(--line); color: var(--text); padding: 8px 16px; border-radius: 99px; font: 700 14px var(--sans); cursor: pointer; }

/* World tour */
.tour-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px max(20px, calc((100vw - 1180px) / 2)) 40px;
  scrollbar-width: none; cursor: grab;
}
.tour-track::-webkit-scrollbar { display: none; }
.tour-track.drag { cursor: grabbing; scroll-snap-type: none; }
.bar-card {
  flex: 0 0 min(300px, 72vw); scroll-snap-align: center; border-radius: 30px; overflow: hidden; position: relative;
  background: #000; border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.bar-card:hover { transform: translateY(-10px) rotate(-1deg); }
.bar-card img { width: 100%; aspect-ratio: 0.72; object-fit: cover; object-position: top; user-select: none; -webkit-user-drag: none; }
.bar-card div { position: absolute; inset: auto 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.92)); }
.bar-card b { font: 800 22px var(--round); display: block; }
.bar-card span { color: var(--muted); font-size: 14px; }
.bar-card em { position: absolute; top: 14px; left: 14px; font: 800 12px var(--round); font-style: normal; background: rgba(0, 0, 0, 0.55); padding: 5px 10px; border-radius: 99px; color: var(--gold); }

/* Tools */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.tool { padding: 30px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .4s, background .4s; }
.tool:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.09); }
.tool svg { width: 64px; height: 64px; margin-bottom: 18px; overflow: visible; }
.tool h3 { font-size: 23px; margin-bottom: 8px; }
.tool p { color: var(--muted); font-size: 15px; }
.tool small { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 700; font-size: 13px; }
.sip { animation: sip 2.4s ease-in-out infinite; }
@keyframes sip { 50% { transform: translateY(-6px); } }
.drop { animation: drop 1.8s ease-in infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
.melt { animation: melt 3s ease-in-out infinite; transform-origin: center bottom; }
@keyframes melt { 50% { transform: scale(.88); opacity: .7; } }
.shake { animation: shake 1.2s ease-in-out infinite; transform-origin: 32px 50px; }
@keyframes shake { 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }

/* Screens fan */
.fan { position: relative; height: 620px; margin-top: 40px; }
.fan img {
  position: absolute; left: 50%; top: 0; width: 260px; border-radius: 26px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  transform: translateX(-50%) rotate(0deg); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.fan.in img { transform: translateX(calc(-50% + var(--x) * 100%)) translateY(var(--y)) rotate(var(--r)); }

/* Collect */
.collect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.feature { padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .big { font: 900 54px var(--round); color: var(--gold); }
.feature h3 { font-size: 22px; margin: 6px 0 8px; }
.feature p { color: var(--muted); }

.marquee { overflow: hidden; margin-top: 60px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee div { display: flex; gap: 14px; width: max-content; animation: slide 70s linear infinite; }
.marquee.reverse div { animation-direction: reverse; animation-duration: 85s; }
.marquee span { padding: 10px 18px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font: 700 15px var(--round); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Fair */
.fair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }
.plan { padding: 38px; border-radius: 34px; background: var(--card); border: 1px solid var(--line); }
.plan.full { background: linear-gradient(150deg, rgba(255, 196, 107, 0.16), rgba(255, 79, 168, 0.12)); border-color: rgba(255, 196, 107, 0.5); }
.plan h3 { font-size: 28px; }
.plan .price { font: 900 46px var(--round); margin: 12px 0 4px; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li::before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 10px; }
.promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.promises span { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; }

/* Support */
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 20px 0; font: 700 18px var(--round); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Final CTA */
.final { text-align: center; padding: 120px 0 140px; }
.final img.icon { width: 120px; height: 120px; border-radius: 27px; margin: 0 auto 28px; box-shadow: 0 30px 80px -20px var(--pink); animation: bob 6s ease-in-out infinite; }
.final .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer span { margin-left: auto; }

/* Legal pages */
.legal { padding: 60px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 10px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; }
.legal p, .legal li, .legal address { color: var(--muted); font-style: normal; }
.legal .card { padding: 22px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.legal .card.lead { color: var(--text); margin-top: 24px; }
.legal code { background: rgba(255, 255, 255, 0.08); padding: 1px 6px; border-radius: 6px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .physics .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .stage { min-height: 560px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .collect-grid, .fair-grid { grid-template-columns: 1fr; }
  .fan { height: 520px; }
  .fan img { width: 200px; }
}
@media (max-width: 560px) {
  section { padding: 80px 0; }
  .tools-grid { grid-template-columns: 1fr; }
  .fan { height: 430px; }
  .fan img { width: 160px; }
  .stats { gap: 22px; }
  footer span { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
