/* =========================================================
   exeye — design system
   Tokens mirrored from the mobile app (Electric Indigo)
   ========================================================= */

:root {
  --bg: #0e0f14;
  --bg-deep: #08090c;
  --surface: #1a1b23;
  --surface-2: #262833;
  --text: #ecedf2;
  --text-secondary: #8a8fa3;
  --text-muted: #6b7180;
  --accent: #7c5cff;
  --accent-strong: #5b3df5;
  --accent-soft: #9b7bff;
  --accent-deep: #3d1fd6;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --danger: #d9544a;

  --font-display: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 620ms;

  --header-h: 72px;
  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* ---- Utilities ---- */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.text-gradient {
  background: linear-gradient(120deg, #c4b5ff 0%, var(--accent) 45%, #5b3df5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, #9d7bff 0%, var(--accent) 50%, var(--accent-strong) 100%);
  color: white;
  box-shadow: 0 12px 40px rgba(91, 61, 245, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 48px rgba(91, 61, 245, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--ghost {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.08);
}

.btn--disabled {
  cursor: default;
  opacity: 0.92;
  pointer-events: none;
}

.btn__hint {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

/* ---- App Store download button ---- */

.btn--appstore {
  flex-direction: row;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.7rem 1.35rem;
  border-radius: 13px;
  background: #000;
  color: #fff;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn--appstore:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  opacity: 0.92;
}

.btn--appstore svg {
  flex: none;
  width: 22px;
  height: 26px;
}

.btn--appstore .btn__label {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn--appstore .btn__label-top {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.btn--appstore .btn__label-bottom {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- Ambient background + grain ---- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(61, 31, 214, 0.12), transparent 55%),
    var(--bg);
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.ambient__orb--a {
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  top: -8%;
  right: 8%;
  background: radial-gradient(circle, rgba(155, 123, 255, 0.55), transparent 70%);
  animation: drift 18s var(--ease) infinite alternate;
}

.ambient__orb--b {
  width: 36vw;
  height: 36vw;
  max-width: 480px;
  max-height: 480px;
  bottom: 10%;
  left: -8%;
  background: radial-gradient(circle, rgba(91, 61, 245, 0.35), transparent 70%);
  animation: drift 22s var(--ease) infinite alternate-reverse;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: 0.35;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 6%, 0) scale(1.08);
  }
}

/* Film-grain texture — subtle premium tactility over the whole page */
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease),
    backdrop-filter var(--duration) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(14, 15, 20, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--border);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(91, 61, 245, 0.35);
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.nav__link {
  padding: 0.55rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav__cta {
  margin-left: 0.4rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(124, 92, 255, 0.16);
  border: 1px solid rgba(124, 92, 255, 0.35);
  color: var(--accent-soft);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav__cta:hover {
  background: rgba(124, 92, 255, 0.28);
  border-color: rgba(124, 92, 255, 0.55);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--header-h) + 0.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(26, 27, 35, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.mobile-nav__cta {
  margin-top: 0.25rem;
  background: rgba(124, 92, 255, 0.14) !important;
  color: var(--accent-soft) !important;
  text-align: center;
  font-weight: 600 !important;
}

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

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* ---- Hero ---- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100svh - var(--header-h));
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}

.hero__lede {
  max-width: 36rem;
  margin-top: 1.35rem;
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 1rem;
}

.phone-stack {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 0.82;
  margin-inline: auto;
}

@media (max-width: 600px) {
  .phone-stack {
    width: min(100%, 320px);
  }
}

.phone {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #111218;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  will-change: transform;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
}

.phone--back,
.phone--front {
  position: absolute;
  width: 58%;
}

.phone--back {
  top: 10%;
  left: 2%;
  transform: rotate(-8deg);
  opacity: 0.88;
  filter: saturate(0.95) brightness(0.92);
}

.phone--front {
  top: 2%;
  right: 2%;
  width: 62%;
  transform: rotate(4deg);
  z-index: 2;
}

.phone__glow {
  position: absolute;
  inset: auto -20% -25% -20%;
  height: 55%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.45), transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}

/* Floating hero chat bubble */
.hero__chat {
  position: absolute;
  z-index: 4;
  left: max(-4%, -1.5rem);
  bottom: 12%;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 15rem;
  padding: 0.72rem 1rem 0.72rem 0.85rem;
  border-radius: 16px 16px 16px 5px;
  background: rgba(26, 27, 35, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  animation: floatChat 5.5s var(--ease) infinite alternate;
}

.hero__chat-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.8);
}

@keyframes floatChat {
  from {
    transform: translateY(4px);
  }
  to {
    transform: translateY(-8px);
  }
}

@media (max-width: 520px) {
  .hero__chat {
    display: none;
  }
}

/* ---- Generic sections ---- */

.section,
.feature,
.cta,
.showcase,
#how,
#alerts,
#summaries,
#get-exeye,
#use-cases {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}

.section__intro {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section__lede {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 34rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.step {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  background: linear-gradient(180deg, rgba(26, 27, 35, 0.9), rgba(26, 27, 35, 0.55));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.55), transparent 70%);
}

.step__num {
  display: block;
  margin-bottom: 1.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.step h3 {
  margin-bottom: 0.55rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* =========================================================
   Use-case showcase — sticky device, scrolling narrative
   ========================================================= */

.showcase {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) var(--gutter);
}

.showcase__head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.showcase__head .eyebrow {
  justify-content: center;
}

.showcase__head h2 {
  font-size: clamp(2.1rem, 5.6vw, 3.7rem);
}

.showcase__lede {
  margin-top: 1.15rem;
  margin-inline: auto;
  max-width: 32rem;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.showcase__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .showcase__grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }
}

/* Sticky device (desktop) */
.showcase__media {
  display: none;
}

@media (min-width: 900px) {
  .showcase__media {
    display: flex;
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    align-items: center;
    justify-content: center;
  }

  .showcase__media::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 78%;
    height: 52%;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124, 92, 255, 0.42), transparent 68%);
    filter: blur(46px);
  }
}

.device {
  position: relative;
  width: min(332px, 76vw);
  aspect-ratio: 609 / 1200;
}

.device__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transform: scale(0.98);
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.62));
}

.device__screen.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Narrative beats */
.showcase__beats {
  display: grid;
}

.beat {
  padding: 1.75rem 0;
}

.beat__idx {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

.beat__tag {
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.22);
}

.beat__bubble {
  display: inline-block;
  max-width: 27rem;
  margin-bottom: 1.4rem;
  padding: 0.9rem 1.2rem;
  border-radius: 20px 20px 20px 6px;
  background: linear-gradient(160deg, var(--surface-2), #20222c);
  border: 1px solid var(--border);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.beat h3 {
  font-size: clamp(1.55rem, 2.9vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.beat__body {
  max-width: 30rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.beat__phone {
  margin-top: 1.85rem;
  width: min(300px, 82vw);
}

.beat__phone img {
  width: 100%;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.55));
}

@media (min-width: 900px) {
  .beat {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .has-js .beat {
    opacity: 0.32;
    transition: opacity 0.5s var(--ease);
  }

  .has-js .beat.is-active {
    opacity: 1;
  }

  .beat__phone {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beat {
    opacity: 1 !important;
  }
}

/* ---- Feature blocks (text) ---- */

.feature {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .feature--summaries {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .feature--summaries .feature__copy {
    order: 2;
  }

  .feature--summaries .feature__aside {
    order: 1;
  }
}

.feature__copy p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 34rem;
}

.feature__list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.feature__list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  font-size: 0.98rem;
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.55);
}

.feature__note {
  margin-top: 1.35rem !important;
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
  max-width: 32rem;
}

.feature__aside {
  display: flex;
  justify-content: center;
}

.glyph {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(420px 260px at 50% 0%, rgba(124, 92, 255, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(26, 27, 35, 0.9), rgba(8, 9, 12, 0.55));
  overflow: hidden;
}

.glyph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
}

.glyph svg {
  position: relative;
  width: 40%;
  height: 40%;
  color: var(--accent-soft);
  filter: drop-shadow(0 8px 24px rgba(124, 92, 255, 0.5));
}

@media (max-width: 899px) {
  .feature__aside {
    display: none;
  }
}

/* ---- Use-case chips ---- */

.section--use {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.chips {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .chips {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .chips {
    grid-template-columns: repeat(3, 1fr);
  }
}

.chip {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(26, 27, 35, 0.55);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.chip:hover {
  border-color: rgba(124, 92, 255, 0.4);
  background: rgba(124, 92, 255, 0.07);
  transform: translateY(-2px);
}

.chip__kind {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.22);
}

.chip p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

/* ---- CTA ---- */

.cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4rem, 10vw, 7rem);
}

.cta__panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border);
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(124, 92, 255, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(26, 27, 35, 0.9), rgba(8, 9, 12, 0.85));
}

.cta__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 90%);
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cta__icon {
  position: relative;
  margin: 0 auto 1.25rem;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(91, 61, 245, 0.45);
}

.cta__panel h2 {
  margin-bottom: 0.85rem;
}

.cta__panel > p {
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  color: var(--text-secondary);
}

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 3rem var(--gutter) 2rem;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer__brand p {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer__by {
  margin-top: 0.35rem !important;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: flex-start;
}

.footer__links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__copy {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---- Reveals ---- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

.reveal[data-delay="1"] {
  transition-delay: 70ms;
}
.reveal[data-delay="2"] {
  transition-delay: 140ms;
}
.reveal[data-delay="3"] {
  transition-delay: 210ms;
}
.reveal[data-delay="4"] {
  transition-delay: 280ms;
}
.reveal[data-delay="5"] {
  transition-delay: 350ms;
}

/* =========================================================
   Legal / policy pages
   ========================================================= */

body.policy-body {
  background: var(--bg);
}

.policy-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem var(--gutter) 4rem;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.5rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.policy-back:hover {
  color: var(--text);
}

.policy-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.policy-hero img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(91, 61, 245, 0.35);
}

.policy-hero h1 {
  font-size: 1.6rem;
}

.policy-hero p {
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.policy-doc h1 {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.policy-doc .updated {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.policy-doc h2 {
  font-size: 1.05rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.policy-doc p,
.policy-doc li {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.policy-doc ul {
  margin: 0 0 1rem;
  padding: 0;
}

.policy-doc li {
  padding-left: 0.25rem;
  list-style: none;
}

.policy-doc .bold,
.policy-doc strong {
  color: var(--text);
  font-weight: 600;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.policy-links a {
  color: var(--accent-soft);
  font-weight: 500;
  font-size: 0.92rem;
}

.policy-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-doc > h2 {
  margin-bottom: 1rem;
}

.support-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.support-item h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  color: var(--text);
}

.support-item p {
  margin-bottom: 0;
}

.support-contact {
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 5vw, 2.25rem);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(124, 92, 255, 0.2), transparent 62%),
    rgba(26, 27, 35, 0.7);
}

.support-contact .eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent-soft);
}

.support-contact h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 5vw, 2.25rem);
}

.support-contact > p {
  max-width: 34rem;
}

.support-contact .btn {
  margin-top: 0.65rem;
  color: white;
}

.support-contact__email {
  margin: 0.9rem 0 0 !important;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
}

.site-header--simple .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
}

.site-header--simple .nav-toggle {
  display: none;
}

@media (max-width: 520px) {
  .site-header--simple .nav__link {
    padding: 0.45rem 0.55rem;
    font-size: 0.82rem;
  }

  .site-header--simple .nav__cta {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
}
