/* Fonts are self-hosted (SIL Open Font License) so visitors' browsers never call Google. Both are variable fonts. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Dark-only on purpose: the brand is a night-sky purple, there is no light VYOM.
   Shape rule: interactive elements are full pills, everything else is square. */
:root {
  --bg: #07060F;
  --bg-raised: #0E0B1C;
  --text: #F4F2FA;
  --muted: #8E89A3;
  --lavender: #AE99D6;
  --accent: #8B5CF6;
  --button: #6D3AE8;
  --line: rgba(174, 153, 214, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  /* z-index scale: content 1, header 10, grain 20 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* Film grain: one fixed layer, never on scrolling containers. */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 20;
  pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* Pill CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--button);
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.cta:hover { background: #7A4AF0; transform: translateY(-2px); }
.cta:active { transform: translateY(1px) scale(0.98); }
.cta:focus-visible, .redact:focus-visible, .connect a:focus-visible, footer a:focus-visible { outline: 2px solid var(--lavender); outline-offset: 4px; }
.cta .arrow { transition: transform 0.4s var(--ease); }
.cta:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 0 140px;
}
.aurora {
  position: absolute;
  z-index: -1;
  width: 90vmax;
  height: 90vmax;
  border-radius: 50%;
  pointer-events: none;
}
.aurora.one {
  top: -50vmax; left: -30vmax;
  background: radial-gradient(closest-side, rgba(109, 58, 232, 0.30), transparent);
}
.aurora.two {
  bottom: -55vmax; right: -35vmax;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent);
}
.wave {
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: clamp(200px, 44vw, 620px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
  mask-image: linear-gradient(to top, #000 55%, transparent);
}
.wave.left { left: 0; }
.wave.right { right: 0; }

.hero-copy { text-align: center; padding-inline: 20px; }
.hero h1 { margin: 0 auto; width: clamp(250px, 62vw, 600px); }
/* "Presented by" stacked over the Synaptix logo, centred under VYOM. */
.presenter {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 22px 0 0;
}
.presenter span {
  padding-left: 0.32em; /* balances the trailing letter-spacing so the label centres */
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lavender);
}
.presenter img { width: clamp(150px, 24vw, 220px); }
.tagline {
  margin: 36px 0 0;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero .sub {
  margin: 14px auto 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
}
.hero .cta { margin-top: 36px; }

/* Connect: Instagram, WhatsApp community, email as round icon links under the hero button.
   50px circles so they are easy to hit with a thumb. */
.connect {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.connect a {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}
/* Brand colours on purpose: people spot the real Instagram and WhatsApp marks faster. */
.connect .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.connect .wa { background: #25d366; }
.connect .mail { background: var(--button); }
.connect a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.connect a:active { transform: scale(0.96); }
.connect svg { width: 24px; height: 24px; }

/* Marquee: the one kinetic strip on the page */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-raised);
}
.marquee-track { display: flex; width: max-content; }
.marquee-track span {
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-right: 0.6em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--lavender);
}
.marquee-track span:nth-child(3n + 2) { color: var(--text); -webkit-text-stroke: 0; }
.marquee-track .star { color: var(--accent); -webkit-text-stroke: 0; padding-right: 0.6em; }

/* What we can tell you */
.intel { padding: 120px 0 100px; }
.intel .wrap { display: grid; gap: 48px; }
.intel h2, .how h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.intel h2 em { font-style: normal; color: var(--lavender); }
.fields { display: grid; gap: 0; border-top: 1px solid var(--line); }
.field {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
}
.field + .field { border-top: 1px solid var(--line); }
.field dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field dd { margin: 0; font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; }
.redact {
  appearance: none;
  border: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, rgba(174, 153, 214, 0.20) 0 6px, rgba(174, 153, 214, 0.10) 6px 12px);
  color: var(--lavender);
  font: 500 15px/1.6 var(--mono);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.4s var(--ease);
}
.redact[data-open] {
  background: transparent;
  padding-inline: 0;
  color: var(--text);
  font: 500 clamp(19px, 2.2vw, 24px)/1.4 var(--display);
  letter-spacing: 0;
  cursor: default;
}

/* How it works */
.how { padding: 100px 0 120px; border-top: 1px solid var(--line); }
.moves { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 56px; counter-reset: none; }
.move h3 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--lavender);
}
.move p { margin: 12px 0 0; max-width: 46ch; color: var(--muted); font-size: 18px; }

/* Closing */
.last {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 140px 0 120px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.last .aurora.one { top: auto; bottom: -60vmax; left: 50%; translate: -50% 0; }
.last h2 {
  margin: 0;
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.last .cta { margin-top: 44px; }
.last p { margin: 18px 0 0; color: var(--muted); font-size: 15px; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer .contact { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--lavender); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* Phone register button: docks to the thumb zone once the hero's button scrolls away,
   and steps aside again when the closing button is on screen. */
.dock { display: none; }

@media (max-width: 699px) {
  .intel { padding: 76px 0 64px; }
  .intel .wrap { gap: 36px; }
  .field { grid-template-columns: 96px 1fr; padding: 18px 0; }
  .redact { padding: 8px 14px; }
  .how { padding: 72px 0 80px; }
  .moves { margin-top: 40px; gap: 40px; }
  .move p { font-size: 17px; }
  .last { padding: 96px 0 104px; }

  .dock {
    display: block;
    position: fixed;
    left: 16px; right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 10;
    visibility: hidden;
    transform: translateY(160%);
    transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .dock.show { visibility: visible; transform: none; transition-delay: 0s; }
  .dock .cta { width: 100%; justify-content: center; box-shadow: 0 12px 32px rgba(7, 6, 15, 0.7); }
}

/* Desktop: dossier splits into headline + fields */
@media (min-width: 900px) {
  .intel .wrap { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .intel h2 { position: sticky; top: 48px; }
  .field { grid-template-columns: 160px 1fr; padding: 28px 0; }
  .moves { grid-template-columns: 1fr; padding-left: 28%; }
}

/* Motion: everything below is ambient or reveal-on-arrival, and all of it switches off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  body::after { animation: grain 0.9s steps(3) infinite; }
  @keyframes grain {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-4%, 3%); }
    66% { transform: translate(3%, -5%); }
    100% { transform: translate(-2%, 2%); }
  }

  .aurora.one { animation: drift 18s ease-in-out infinite alternate; }
  .aurora.two { animation: drift 22s ease-in-out infinite alternate-reverse; }
  @keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.08); } }

  .hero h1 img { animation: surface 1.8s var(--ease) both; }
  @keyframes surface {
    from { opacity: 0; filter: blur(14px); transform: scale(1.04); }
    to { opacity: 1; filter: blur(0); transform: none; }
  }
  .hero .presenter, .hero .tagline, .hero .sub, .hero .cta, .hero .connect { animation: rise 1s var(--ease) both; }
  .hero .connect { animation-delay: 1.15s; }
  .hero .presenter { animation-delay: 0.5s; }
  .hero .tagline { animation-delay: 0.7s; }
  .hero .sub { animation-delay: 0.85s; }
  .hero .cta { animation-delay: 1s; }
  .wave { animation: rise 1.6s var(--ease) 0.4s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  .marquee-track { animation: slide 32s linear infinite; }
  @keyframes slide { to { transform: translateX(-50%); } }

  [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  [data-reveal].in { opacity: 1; transform: none; }
}
