:root {
  --navy: #07111f;
  --navy-2: #0b1730;
  --navy-3: #101f3d;
  --blue: #4a90e2;
  --electric: #38bdf8;
  --purple: #a855f7;
  --violet: #8b5cf6;
  --pink: #fb7185;
  --white: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e7ecf4;
  --gradient: linear-gradient(135deg, var(--purple), var(--electric));
  --brand-gradient: linear-gradient(135deg, #38bdf8 0%, #4a90e2 34%, #8b5cf6 72%, #fb7185 100%);
  --shadow: 0 24px 60px rgba(16, 24, 40, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

/* =========================
   Hero shell
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 14px 18px 26px;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 4%, rgba(56, 189, 248, .16), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(56, 189, 248, .25), transparent 31%),
    radial-gradient(circle at 18% 72%, rgba(168, 85, 247, .20), transparent 34%),
    radial-gradient(circle at 62% 42%, rgba(74, 144, 226, .10), transparent 38%),
    linear-gradient(135deg, #050b16, #07111f 48%, #101f3d);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 64% 38%, black 0, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -360px;
  bottom: -430px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(56, 189, 248, .14);
  border-radius: 50%;
  box-shadow:
    0 0 0 82px rgba(56, 189, 248, .045),
    0 0 0 164px rgba(168, 85, 247, .035),
    0 0 0 246px rgba(255, 255, 255, .012),
    0 0 70px rgba(56, 189, 248, .08);
  pointer-events: none;
}

.nav,
.hero-stage {
  position: relative;
  z-index: 1;
}

/* =========================
   Product navigation and logo
========================= */

.nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .074), rgba(255, 255, 255, .03)),
    rgba(5, 13, 28, .76);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .18);
}

.product-nav {
  height: 92px;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-side {
  min-width: 0;
  display: flex;
  align-items: center;
}

.nav-side-left {
  justify-content: flex-start;
}

.nav-side-right {
  justify-content: flex-end;
}

.nav-explore-button {
  min-height: 46px;
  padding: 0 17px 0 19px;
  border: 1px solid rgba(56, 189, 248, .38);
  border-radius: 999px;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, .22), transparent 34%),
    linear-gradient(135deg, rgba(168, 85, 247, .42), rgba(74, 144, 226, .24));
  box-shadow: 0 14px 34px rgba(56, 189, 248, .12);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  font-weight: 900;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.nav-explore-button:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, .72);
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, .32), transparent 34%),
    linear-gradient(135deg, rgba(168, 85, 247, .58), rgba(74, 144, 226, .34));
  box-shadow: 0 18px 42px rgba(56, 189, 248, .18);
}

.nav-explore-button img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  font-weight: 950;
}

.product-nav .brand-lockup {
  grid-column: 2;
  justify-self: center;
}

.product-nav .refined-logo {
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  line-height: .92;
  font-weight: 860;
  letter-spacing: -.058em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.product-nav .wordmark {
  font-size: clamp(2.65rem, 4vw, 3.55rem);
}

.wordmark-echo {
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 16px 34px rgba(0, 0, 0, .18);
}

.wordmark-aural {
  background: var(--brand-gradient);
  background-size: 165% 165%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: echoTextGlow 6.2s ease-in-out infinite;
}

.brand-wave,
.refined-wave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.product-nav .refined-wave {
  width: 92px;
  height: 78px;
  gap: 5px;
}

.refined-wave span {
  width: 6px;
  border-radius: 999px;
  flex: 0 0 auto;
  transform-origin: 50% 50%;
  animation: echoWaveRollRefined 1.45s ease-in-out infinite;
  box-shadow: 0 0 9px rgba(56, 189, 248, .28), 0 0 18px rgba(168, 85, 247, .14);
}

.refined-wave span:nth-child(1) {
  height: 18px;
  background: linear-gradient(180deg, #38bdf8, #4a90e2);
  animation-delay: 0s;
}

.refined-wave span:nth-child(2) {
  height: 38px;
  background: linear-gradient(180deg, #38bdf8, #4a90e2);
  animation-delay: .09s;
}

.refined-wave span:nth-child(3) {
  height: 58px;
  background: linear-gradient(180deg, #60a5fa, #4a90e2 48%, #8b5cf6);
  animation-delay: .18s;
}

.refined-wave span:nth-child(4) {
  height: 76px;
  background: linear-gradient(180deg, #7dd3fc, #4a90e2 38%, #8b5cf6 76%, #a855f7);
  animation-delay: .27s;
}

.refined-wave span:nth-child(5) {
  height: 54px;
  background: linear-gradient(180deg, #a78bfa, #8b5cf6 52%, #c084fc);
  animation-delay: .36s;
}

.refined-wave span:nth-child(6) {
  height: 38px;
  background: linear-gradient(180deg, #c084fc, #a855f7 58%, #fb7185);
  animation-delay: .45s;
}

.refined-wave span:nth-child(7) {
  height: 20px;
  background: linear-gradient(180deg, #d946ef, #fb7185);
  animation-delay: .54s;
}

@keyframes echoWaveRollRefined {
  0% { transform: scaleY(.76); opacity: .72; }
  32% { transform: scaleY(1.12); opacity: 1; }
  64% { transform: scaleY(.88); opacity: .88; }
  100% { transform: scaleY(.76); opacity: .72; }
}

@keyframes echoTextGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* =========================
   Hero layout and background details
========================= */

.hero-stage {
  position: relative;
  width: min(1180px, calc(100vw - 36px));
  min-height: calc(100vh - 118px);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 22px) 0 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: clamp(15px, 2vw, 24px);
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.hero-stage::before {
  width: min(520px, 48vw);
  height: min(520px, 48vw);
  left: -18%;
  top: 16%;
  border: 1px solid rgba(255, 255, 255, .055);
  box-shadow: 0 0 0 58px rgba(56, 189, 248, .018), 0 0 0 116px rgba(168, 85, 247, .014);
  opacity: .9;
}

.hero-stage::after {
  width: min(420px, 40vw);
  height: min(420px, 40vw);
  right: -12%;
  top: 32%;
  border: 1px solid rgba(168, 85, 247, .08);
  box-shadow: 0 0 0 50px rgba(74, 144, 226, .018), 0 0 0 100px rgba(255, 255, 255, .01);
  opacity: .85;
}

.hero-stage > * {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--electric);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.eyebrow.dark {
  color: var(--purple);
}

.hero-waveform-bg {
  position: absolute;
  left: 50%;
  top: 61%;
  width: 100vw;
  height: min(285px, 30vh);
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(4px, .55vw, 10px);
  padding-inline: clamp(10px, 2vw, 34px);
  opacity: .18;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 9%, black 91%, transparent 100%);
}

.hero-waveform-bg span {
  width: clamp(5px, .55vw, 9px);
  height: var(--h);
  min-height: 26px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: var(--gradient);
  box-shadow: 0 0 10px rgba(56, 189, 248, .22), 0 0 18px rgba(168, 85, 247, .14);
  transform-origin: 50% 50%;
  animation: heroBarWave 3.2s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes heroBarWave {
  0% { transform: scaleY(.52); opacity: .34; }
  34% { transform: scaleY(1.1); opacity: .82; }
  68% { transform: scaleY(.78); opacity: .56; }
  100% { transform: scaleY(.52); opacity: .34; }
}

/* =========================
   App launcher
========================= */

.module-launcher,
.hero-copy,
.hero-cta {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  justify-self: center;
}

.module-launcher {
  padding: 9px 12px 8px;
  border: 1px solid rgba(255, 255, 255, .135);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, .11), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(168, 85, 247, .12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .082), rgba(255, 255, 255, .034));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.launcher-heading {
  width: 100%;
  margin: 0 auto 10px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.launcher-kicker {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.refined-launcher-title {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: white;
  font-weight: 900;
  text-align: center;
  line-height: .96;
  letter-spacing: normal;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.launcher-title-wave,
.mini-title-wave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.launcher-title-wave {
  width: 36px;
  height: 32px;
  gap: 3px;
}

.launcher-title-wave span,
.mini-title-wave span {
  border-radius: 999px;
  display: block;
  background: linear-gradient(180deg, #38bdf8 0%, #4a90e2 38%, #8b5cf6 72%, #fb7185 100%);
}

.launcher-title-wave span {
  width: 3.5px;
  box-shadow: 0 0 7px rgba(56, 189, 248, .24), 0 0 12px rgba(168, 85, 247, .12);
}

.launcher-title-wave span:nth-child(1) { height: 13px; }
.launcher-title-wave span:nth-child(2) { height: 22px; }
.launcher-title-wave span:nth-child(3) { height: 31px; }
.launcher-title-wave span:nth-child(4) { height: 22px; }
.launcher-title-wave span:nth-child(5) { height: 13px; }

.launcher-title-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(1.75rem, 2.45vw, 2.7rem);
  line-height: .95;
  letter-spacing: -.025em;
  font-weight: 920;
}

.launcher-title-echo {
  color: rgba(255, 255, 255, .96);
}

.launcher-title-aural {
  background: var(--brand-gradient);
  background-size: 170% 170%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: echoTextGlow 6.2s ease-in-out infinite;
}

.launcher-title-apps {
  padding: 5px 10px 6px;
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, .13), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .032));
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.module-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
  gap: 8px;
}

.module-card {
  position: relative;
  min-width: 0;
  min-height: 126px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 17px;
  color: white;
  background:
    radial-gradient(circle at 82% 10%, rgba(56, 189, 248, .095), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, .062), rgba(255, 255, 255, .034));
  display: grid;
  grid-template-rows: 64px 31px 18px;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 5px;
  transform-origin: center center;
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.module-card-waveform {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 9px;
  opacity: .105;
  transform: scale(1.07);
  transform-origin: center;
  transition: opacity .28s ease, transform .28s ease;
  mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
}

.module-card-waveform span {
  width: clamp(4px, .45vw, 7px);
  height: var(--h);
  min-height: 30px;
  max-height: 112px;
  border-radius: 999px;
  flex: 1 1 0;
  background: var(--brand-gradient);
  box-shadow: 0 0 10px rgba(56, 189, 248, .22), 0 0 18px rgba(168, 85, 247, .16);
  transform-origin: 50% 50%;
  animation: moduleCardWave 2.75s ease-in-out infinite;
  animation-delay: var(--delay);
}

.module-card:hover .module-card-waveform,
.module-card:focus-visible .module-card-waveform {
  opacity: .17;
  transform: scale(1.13);
}

.module-icon,
.module-title-wordmark,
.module-status {
  position: relative;
  z-index: 1;
}

@keyframes moduleCardWave {
  0% { transform: scaleY(.48); opacity: .36; }
  34% { transform: scaleY(1.08); opacity: .78; }
  68% { transform: scaleY(.74); opacity: .56; }
  100% { transform: scaleY(.48); opacity: .36; }
}

.module-card:hover,
.module-card:focus-visible {
  transform: translateY(-7px) scale(1.055);
  z-index: 8;
  border-color: rgba(56, 189, 248, .68);
  background:
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, .22), transparent 40%),
    radial-gradient(circle at 16% 88%, rgba(168, 85, 247, .16), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .045));
  box-shadow: 0 24px 58px rgba(0, 0, 0, .28), 0 0 0 1px rgba(56, 189, 248, .08);
}

.module-card.live {
  border-color: rgba(56, 189, 248, .46);
  background:
    radial-gradient(circle at 82% 10%, rgba(56, 189, 248, .15), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .038));
}

.module-icon {
  grid-row: 1;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 17px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 68% 22%, rgba(56, 189, 248, .24), transparent 38%),
    radial-gradient(circle at 22% 88%, rgba(168, 85, 247, .2), transparent 42%),
    linear-gradient(145deg, rgba(7, 17, 31, .98), rgba(13, 30, 60, .94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), 0 14px 30px rgba(0, 0, 0, .22);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, border-color .28s ease;
}

.module-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255, 255, 255, .2)) drop-shadow(0 0 10px rgba(56, 189, 248, .22));
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

.module-icon.missing-icon::before {
  content: attr(data-fallback);
  color: white;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -.06em;
}

.module-card:hover .module-icon,
.module-card:focus-visible .module-icon {
  transform: scale(1.14);
  border-color: rgba(56, 189, 248, .38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 18px 38px rgba(0, 0, 0, .28), 0 0 18px rgba(56, 189, 248, .12);
}

.module-card:hover .module-icon img,
.module-card:focus-visible .module-icon img {
  transform: scale(1.08);
}

.module-title-wordmark {
  grid-row: 2;
  width: 100%;
  min-height: 31px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform-origin: center center;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), filter .28s ease;
}

.module-card:hover .module-title-wordmark,
.module-card:focus-visible .module-title-wordmark {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, .14));
}

.mini-title-wave {
  display: none;
}

.mini-title-wave span {
  width: 2.5px;
  box-shadow: 0 0 5px rgba(56, 189, 248, .22), 0 0 8px rgba(168, 85, 247, .12);
}

.mini-title-wave span:nth-child(1) { height: 8px; opacity: .9; }
.mini-title-wave span:nth-child(2) { height: 15px; }
.mini-title-wave span:nth-child(3) { height: 23px; }
.mini-title-wave span:nth-child(4) { height: 15px; }
.mini-title-wave span:nth-child(5) { height: 8px; opacity: .9; }

.module-title-wordmark::after {
  display: none;
}

.module-title-text {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 0;
  font-size: clamp(.88rem, .9vw, 1.02rem);
  font-weight: 920;
  line-height: .92;
  letter-spacing: -.055em;
  text-align: center;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.module-title-main,
.module-title-gradient {
  display: block;
  width: 100%;
}

.module-title-main {
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 10px 20px rgba(0, 0, 0, .16);
}

.module-title-gradient {
  background: var(--brand-gradient);
  background-size: 170% 170%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.module-status {
  grid-row: 3;
  width: fit-content;
  margin: 0 auto;
  padding: 3px 6px;
  border-radius: 999px;
  color: #e9d5ff;
  background: rgba(168, 85, 247, .18);
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.live-status {
  color: #bae6fd;
  background: rgba(56, 189, 248, .18);
}

.module-message {
  min-height: 10px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: .8rem;
  font-weight: 780;
  text-align: center;
}

.module-card > h3 {
  display: none;
}

/* =========================
   Hero copy
========================= */

.hero-copy {
  display: grid;
  place-items: center;
  place-content: center;
  text-align: center;
}

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

.hero-brand-line {
  margin-bottom: 18px;
  color: transparent;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: .92rem;
  font-weight: 950;
  letter-spacing: .24em;
  text-align: center;
}

.hero-title {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 26px;
  padding-inline: 16px;
  padding-bottom: .08em;
  display: grid;
  gap: 6px;
  color: white;
  font-size: clamp(3.15rem, 4.85vw, 4.65rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: normal;
  text-align: center;
  font-kerning: normal;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.hero-title-line,
.hero-title-line-second {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: .16em;
  text-align: center;
  line-height: 1.08;
  white-space: nowrap;
}

.hero-title-line-second {
  font-size: .84em;
  color: rgba(255, 255, 255, .96);
}

.hero-title-gradient,
.hero-title-gradient-alt {
  display: inline-block;
  padding-bottom: .08em;
  margin-bottom: -.08em;
  line-height: 1.08;
  overflow: visible;
  background: var(--brand-gradient);
  background-size: 170% 170%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: echoTextGlow 6.2s ease-in-out infinite;
}

.hero-title-gradient-alt {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 14%, #38bdf8 42%, #8b5cf6 76%, #fb7185 100%);
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lede {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.62;
  text-align: center;
}

.trust-line {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .52);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}

/* =========================
   Secondary links and lower section
========================= */

.hero-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-bottom: 6px;
}

.secondary-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  color: rgba(255, 255, 255, .55);
  font-size: .86rem;
  font-weight: 760;
}

.secondary-links a {
  color: rgba(255, 255, 255, .62);
  transition: color .2s ease;
}

.secondary-links a:hover {
  color: white;
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 88px 24px 96px;
}

.method-section {
  background: white;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4vw, 4.3rem);
  line-height: .94;
  letter-spacing: -.065em;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.soft-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: radial-gradient(circle at 82% 14%, rgba(74, 144, 226, .1), transparent 34%), white;
  box-shadow: var(--shadow);
}

.feature-number {
  width: fit-content;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  display: inline-block;
  color: #6d28d9;
  background: #f3e8ff;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.soft-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.42rem;
  letter-spacing: -.045em;
}

.soft-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.site-footer {
  min-height: 44px;
  padding: 8px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: .9rem;
}

.site-footer .brand-lockup {
  gap: 10px;
}

.site-footer .wordmark {
  font-size: 1rem;
  letter-spacing: -.04em;
}

.site-footer .refined-wave {
  width: 38px;
  height: 30px;
  gap: 2px;
}

.site-footer .refined-wave span {
  width: 3px;
  box-shadow: none;
}

.site-footer .refined-wave span:nth-child(1) { height: 8px; }
.site-footer .refined-wave span:nth-child(2) { height: 14px; }
.site-footer .refined-wave span:nth-child(3) { height: 22px; }
.site-footer .refined-wave span:nth-child(4) { height: 28px; }
.site-footer .refined-wave span:nth-child(5) { height: 20px; }
.site-footer .refined-wave span:nth-child(6) { height: 14px; }
.site-footer .refined-wave span:nth-child(7) { height: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Responsive
========================= */

@media (min-width: 1400px) {
  .hero-stage {
    width: min(1180px, calc(100vw - 64px));
  }

  .hero-title {
    font-size: clamp(3.4rem, 4.5vw, 4.65rem);
  }
}

@media (max-width: 1180px) {
  .hero-stage {
    min-height: auto;
  }

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

  .module-card {
    min-height: 132px;
  }

  .hero-copy {
    min-height: 330px;
  }

  .hero-title {
    font-size: clamp(2.9rem, 7vw, 5.25rem);
  }
}

@media (max-width: 900px) {
  .hero-title {
    max-width: 760px;
    font-size: clamp(2.85rem, 8.6vw, 4.75rem);
    line-height: 1;
    gap: 10px;
  }

  .hero-title-line,
  .hero-title-line-second {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 4px;
  }

  .hero-title-line-second {
    font-size: .88em;
  }
}

@media (max-width: 820px) {
  .product-nav {
    height: auto;
    min-height: 82px;
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 28px;
  }

  .product-nav .brand-lockup {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-side-left {
    grid-row: 2;
    justify-content: center;
  }

  .nav-side-right {
    display: none;
  }

  .nav-explore-button {
    min-height: 40px;
    font-size: .82rem;
  }

  .product-nav .refined-logo {
    gap: 14px;
  }

  .product-nav .wordmark {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .product-nav .refined-wave {
    width: 70px;
    height: 58px;
    gap: 4px;
  }

  .product-nav .refined-wave span {
    width: 5px;
  }

  .product-nav .refined-wave span:nth-child(1) { height: 14px; }
  .product-nav .refined-wave span:nth-child(2) { height: 28px; }
  .product-nav .refined-wave span:nth-child(3) { height: 42px; }
  .product-nav .refined-wave span:nth-child(4) { height: 56px; }
  .product-nav .refined-wave span:nth-child(5) { height: 40px; }
  .product-nav .refined-wave span:nth-child(6) { height: 28px; }
  .product-nav .refined-wave span:nth-child(7) { height: 14px; }

  .refined-launcher-title {
    flex-wrap: wrap;
    gap: 8px;
  }

  .launcher-title-wordmark {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .launcher-title-apps {
    font-size: .68rem;
  }

  .module-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    max-width: 420px;
    width: 100%;
    min-height: 132px;
    margin-inline: auto;
    grid-template-rows: 68px 34px 18px;
  }

  .module-card:hover,
  .module-card:focus-visible {
    transform: translateY(-4px) scale(1.025);
  }

  .module-title-wordmark {
    max-width: 300px;
  }

  .module-title-text {
    font-size: 1.05rem;
  }

  .mini-title-wave {
    display: none;
  }

  .section {
    padding: 70px 18px 76px;
  }

  .hero-waveform-bg {
    top: 59%;
    height: 220px;
    gap: 8px;
    opacity: .20;
  }

  .hero-waveform-bg span {
    width: 6px;
    min-height: 22px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding: 10px 12px 22px;
  }

  .hero-stage {
    width: min(100%, calc(100vw - 24px));
    padding-top: 22px;
    gap: 26px;
  }

  .hero-stage::before,
  .hero-stage::after {
    opacity: .45;
  }

  .hero-stage::before {
    left: -45%;
    top: 22%;
  }

  .hero-stage::after {
    right: -45%;
    top: 46%;
  }

  .product-nav .wordmark {
    font-size: 1.65rem;
  }

  .product-nav .refined-wave {
    width: 54px;
    height: 44px;
    gap: 3px;
  }

  .product-nav .refined-wave span {
    width: 4px;
  }

  .product-nav .refined-wave span:nth-child(1) { height: 10px; }
  .product-nav .refined-wave span:nth-child(2) { height: 20px; }
  .product-nav .refined-wave span:nth-child(3) { height: 31px; }
  .product-nav .refined-wave span:nth-child(4) { height: 42px; }
  .product-nav .refined-wave span:nth-child(5) { height: 30px; }
  .product-nav .refined-wave span:nth-child(6) { height: 20px; }
  .product-nav .refined-wave span:nth-child(7) { height: 10px; }

  .launcher-title-wave {
    width: 30px;
    height: 28px;
  }

  .launcher-title-wave span {
    width: 3px;
  }

  .launcher-title-wave span:nth-child(1) { height: 10px; }
  .launcher-title-wave span:nth-child(2) { height: 18px; }
  .launcher-title-wave span:nth-child(3) { height: 26px; }
  .launcher-title-wave span:nth-child(4) { height: 18px; }
  .launcher-title-wave span:nth-child(5) { height: 10px; }

  .hero-copy {
    min-height: auto;
    padding: 14px 0;
  }

  .hero-brand-line {
    font-size: .78rem;
    letter-spacing: .18em;
  }

  .hero-title {
    max-width: 100%;
    padding-inline: 4px;
    font-size: clamp(2.55rem, 11vw, 3.9rem);
    line-height: 1.12;
    gap: 10px;
  }

  .hero-title-line,
  .hero-title-line-second {
    line-height: 1.12;
    gap: .13em;
    row-gap: 2px;
  }

  .hero-title-line-second {
    font-size: .9em;
  }

  .hero-waveform-bg {
    top: 58%;
    height: 170px;
    gap: 6px;
    opacity: .18;
  }

  .hero-waveform-bg span {
    width: 5px;
    min-height: 18px;
  }

  .secondary-links {
    max-width: 260px;
    line-height: 1.7;
  }

  .site-footer {
    width: 100%;
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refined-wave span,
  .wordmark-aural,
  .launcher-title-aural,
  .hero-waveform-bg span,
  .module-card-waveform span,
  .hero-title-gradient,
  .hero-title-gradient-alt {
    animation: none;
  }
}
/* =========================
   TOP NAV CENTRING + RIGHT MODE BUTTONS
========================= */

.product-nav {
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr) !important;
}

.product-nav .brand-lockup {
  grid-column: 2 !important;
  justify-self: center !important;
}

.nav-side-left {
  grid-column: 1 !important;
  justify-content: flex-start !important;
}

.nav-side-right {
  grid-column: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.nav-action-button {
  min-height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
  font-size: .82rem;
}

.nav-action-button:hover {
  transform: translateY(-2px);
}

/* Keep the centre brand visually locked to the middle on wide screens */
@media (min-width: 821px) {
  .product-nav {
    position: relative;
  }

  .product-nav .refined-logo {
    position: relative;
    left: auto;
    transform: none;
  }
}

/* Tablet/mobile: stack cleanly rather than crushing the logo */
@media (max-width: 820px) {
  .product-nav {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 10px !important;
  }

  .product-nav .brand-lockup {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .nav-side-left {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-content: center !important;
  }

  .nav-side-right {
    grid-column: 1 !important;
    grid-row: 3 !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .nav-action-button {
    min-height: 40px;
    font-size: .78rem;
  }
}

@media (max-width: 520px) {
  .nav-side-left,
  .nav-side-right {
    width: 100%;
  }

  .nav-explore-button,
  .nav-action-button {
    justify-content: center;
  }
}

/* =========================
   Home nav action icons
   Bigger, clearer Teacher/Exam Mode icons without changing button styling
========================= */

.nav-action-button img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  opacity: .98;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 6px rgba(255, 255, 255, .18))
    drop-shadow(0 0 12px rgba(56, 189, 248, .26));
  transform-origin: center;
  transition: transform .24s ease, filter .24s ease, opacity .24s ease;
}

.nav-action-button:hover img {
  opacity: 1;
  transform: scale(1.22) translateX(1px);
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 7px rgba(255, 255, 255, .24))
    drop-shadow(0 0 18px rgba(56, 189, 248, .42));
}

@media (prefers-reduced-motion: reduce) {
  .nav-action-button img {
    transition: none;
  }

  .nav-action-button:hover img {
    transform: none;
  }
}
/* =========================================================
   EchoAural App Launch Transition
   Smooth premium transition from landing page into live apps
   ========================================================= */

   .app-launch-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background:
      radial-gradient(circle at 50% 42%, rgba(139, 92, 246, 0.26), transparent 34%),
      radial-gradient(circle at 48% 58%, rgba(56, 189, 248, 0.18), transparent 42%),
      rgba(5, 11, 22, 0.76);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition:
      opacity 420ms ease,
      visibility 420ms ease,
      backdrop-filter 420ms ease,
      -webkit-backdrop-filter 420ms ease;
  }
  
  .app-launch-transition.is-active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  
  .app-launch-panel {
    width: min(360px, calc(100vw - 48px));
    padding: 34px 32px 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
      rgba(7, 17, 31, 0.78);
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-align: center;
    transform: translateY(14px) scale(0.96);
    opacity: 0;
    transition:
      transform 520ms cubic-bezier(.2, .8, .2, 1),
      opacity 420ms ease;
  }
  
  .app-launch-transition.is-active .app-launch-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  
  .app-launch-wave {
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
  }
  
  .app-launch-wave span {
    width: 5px;
    height: var(--h, 50%);
    min-height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #38bdf8 46%, #8b5cf6);
    box-shadow:
      0 0 18px rgba(56, 189, 248, 0.44),
      0 0 28px rgba(139, 92, 246, 0.22);
    animation: appLaunchWave 780ms ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
  }
  
  .app-launch-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
  }
  
  .app-launch-title {
    margin: 8px 0 0;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #ffffff;
  }
  
  .app-launch-title span {
    background: linear-gradient(90deg, #ffffff, #38bdf8 48%, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  body.is-launching-app .hero,
  body.is-launching-app main,
  body.is-launching-app .site-footer {
    transform: scale(0.985);
    opacity: 0.52;
    transition:
      transform 520ms cubic-bezier(.2, .8, .2, 1),
      opacity 420ms ease;
  }
  
  @keyframes appLaunchWave {
    from {
      transform: scaleY(0.58);
      opacity: 0.58;
    }
  
    to {
      transform: scaleY(1);
      opacity: 1;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .app-launch-transition,
    .app-launch-panel,
    body.is-launching-app .hero,
    body.is-launching-app main,
    body.is-launching-app .site-footer {
      transition: none;
    }
  
    .app-launch-wave span {
      animation: none;
    }
  }

/* =========================
   Demo navigation pass
   Scope: homepage navigation only. Keeps app behaviour unchanged.
========================= */

.main-app-nav {
  gap: 10px;
  flex-wrap: wrap;
}

.nav-demo-link {
  min-height: 38px;
  padding-inline: 14px;
  font-size: .78rem;
  border-color: rgba(255, 255, 255, .18);
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, .12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(74, 144, 226, .12));
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.demo-launch-panel {
  width: min(980px, 100%);
  margin: 18px auto 0;
  padding: 16px;
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, .14), transparent 38%),
    radial-gradient(circle at 92% 100%, rgba(168, 85, 247, .12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(260px, 1.45fr);
  gap: 16px;
  align-items: center;
}

.demo-launch-copy {
  text-align: left;
}

.demo-launch-copy h3 {
  margin: 4px 0 6px;
  color: white;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: -.02em;
}

.demo-launch-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: .88rem;
  line-height: 1.45;
}

.demo-launch-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demo-launch-button {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  color: white;
  background: rgba(255, 255, 255, .055);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .84rem;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.demo-launch-button:hover,
.demo-launch-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, .58);
  background: rgba(56, 189, 248, .12);
  box-shadow: 0 14px 30px rgba(56, 189, 248, .12);
}

.demo-launch-button-strong {
  border-color: rgba(56, 189, 248, .42);
  background:
    radial-gradient(circle at 88% 12%, rgba(56, 189, 248, .22), transparent 34%),
    linear-gradient(135deg, rgba(168, 85, 247, .34), rgba(74, 144, 226, .22));
}

.demo-launch-button-soft {
  color: rgba(255, 255, 255, .84);
}

@media (max-width: 1060px) {
  .nav-demo-link {
    display: none;
  }
}

@media (max-width: 760px) {
  .demo-launch-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .demo-launch-copy {
    text-align: center;
  }

  .demo-launch-actions {
    grid-template-columns: 1fr;
  }
}
