:root {
  --bg: #14061e;
  --bg-deep: #240c34;
  --surface: rgba(34, 11, 53, 0.5);
  --surface-strong: rgba(49, 16, 72, 0.78);
  --surface-crisp: rgba(82, 28, 116, 0.38);
  --line: rgba(255, 186, 136, 0.14);
  --line-strong: rgba(255, 146, 110, 0.3);
  --text: #fff3ea;
  --muted: #f5c7bd;
  --muted-soft: #f3a8b5;
  --accent: #ff5e7a;
  --accent-strong: #ff9458;
  --highlight: #ffcf5a;
  --shadow: 0 32px 90px rgba(8, 2, 21, 0.42);
  --shadow-soft: 0 18px 38px rgba(8, 2, 21, 0.26);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 114, 92, 0.24), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(255, 96, 170, 0.22), transparent 26%),
    radial-gradient(circle at 58% 78%, rgba(255, 208, 91, 0.16), transparent 20%),
    linear-gradient(145deg, #12051d 0%, #2c0d42 42%, #5c154f 72%, #ff6d57 100%);
  color: var(--text);
  font-family: "Gill Sans", "Avenir Next", "Segoe UI", sans-serif;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.ambient-left {
  top: -8rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(255, 92, 140, 0.4), transparent 62%);
}

.ambient-right {
  right: -10rem;
  bottom: 2rem;
  background: radial-gradient(circle, rgba(255, 196, 88, 0.34), transparent 60%);
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 5vw 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.6rem 0.45rem 0.45rem;
  border: 1px solid rgba(255, 196, 146, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(62, 19, 88, 0.64), rgba(30, 9, 49, 0.52));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #ff4f8f, #ffb04f);
  color: #230818;
  box-shadow: var(--shadow);
}

.brand-text,
.eyebrow,
.site-nav {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 196, 146, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(62, 19, 88, 0.54), rgba(28, 9, 47, 0.42));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

main {
  padding: 1.5rem 5vw 6rem;
}

.hero,
.feature-band,
.workflow-section,
.security-section,
.cta-section,
.hero-divider {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 3rem;
  align-items: start;
  min-height: calc(100vh - 6.5rem);
  padding: 1.25rem 0 5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.hero-kicker-line {
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--highlight), transparent);
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3.8rem, 7vw, 7.2rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.1;
}

.hero-text,
.feature-card p,
.workflow-step p,
.security-copy p,
.security-item p,
.cta-section,
.hero-note p,
.cta-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 34rem;
  margin: 1.8rem 0 0;
  font-size: 1.12rem;
}

.hero-note {
  display: grid;
  gap: 0.35rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-note-label,
.feature-tag,
.window-label,
.hero-aside-label {
  color: var(--muted-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-note p,
.cta-text {
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #ff4f8f, #ffb04f);
  color: #2b0820;
  box-shadow: var(--shadow);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 30px 70px rgba(255, 92, 140, 0.28);
}

.button-secondary {
  border-color: rgba(255, 191, 145, 0.22);
  background: rgba(49, 16, 72, 0.4);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 191, 145, 0.42);
  box-shadow: var(--shadow-soft);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li,
.feature-card,
.workflow-step,
.security-item,
.panel-window,
.cta-section {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  border-radius: 1.4rem;
  padding: 1.15rem;
}

.hero-metrics strong,
.card-label,
.security-title {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.hero-metrics span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.5;
}

.panel-window {
  position: relative;
  border-radius: 2.25rem;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 178, 120, 0.16), rgba(255, 101, 135, 0.08)),
    var(--surface);
}

.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.window-dots {
  display: flex;
  gap: 0.45rem;
}

.window-top span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 204, 150, 0.4);
}

.wave-card,
.transcript-card {
  border-radius: 1.5rem;
}

.wave-card {
  position: relative;
  min-height: 16rem;
  padding: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 88, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(255, 94, 122, 0.2), rgba(255, 94, 122, 0.04)),
    linear-gradient(135deg, rgba(86, 29, 121, 0.72), rgba(37, 11, 57, 0.92));
}

.wave-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wave-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 214, 143, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 146, 110, 0.12) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.waveform {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.45rem;
  height: 8rem;
}

.waveform span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #ffcf5a, #ff5e7a 58%, #a83cff);
  animation: pulse 2.2s ease-in-out infinite;
  transform-origin: bottom;
  box-shadow: 0 0 18px rgba(255, 118, 127, 0.26);
}

.waveform span:nth-child(1) { height: 30%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 65%; animation-delay: 0.15s; }
.waveform span:nth-child(3) { height: 48%; animation-delay: 0.3s; }
.waveform span:nth-child(4) { height: 88%; animation-delay: 0.45s; }
.waveform span:nth-child(5) { height: 42%; animation-delay: 0.6s; }
.waveform span:nth-child(6) { height: 74%; animation-delay: 0.75s; }
.waveform span:nth-child(7) { height: 57%; animation-delay: 0.9s; }
.waveform span:nth-child(8) { height: 82%; animation-delay: 1.05s; }
.waveform span:nth-child(9) { height: 50%; animation-delay: 1.2s; }
.waveform span:nth-child(10) { height: 71%; animation-delay: 1.35s; }
.waveform span:nth-child(11) { height: 36%; animation-delay: 1.5s; }
.waveform span:nth-child(12) { height: 61%; animation-delay: 1.65s; }

.transcript-card {
  margin-top: 1rem;
  padding: 1.25rem 1.25rem;
  background: linear-gradient(180deg, rgba(255, 186, 120, 0.16), var(--surface-strong));
  box-shadow: inset 0 1px 0 rgba(255, 214, 168, 0.28);
}

.transcript-card p {
  margin: 0.45rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.55;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.status-pill {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(58, 19, 84, 0.54);
  color: var(--text);
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-cue-text {
  color: var(--muted-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.scroll-cue-arrow {
  display: inline-grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.46);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  animation: floatCue 2.8s ease-in-out infinite;
  opacity: 0.82;
}

.scroll-cue-arrow span {
  width: 1rem;
  height: 1rem;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg) translate(-1px, -1px);
}

.hero-aside {
  max-width: 24rem;
  margin-left: auto;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255, 191, 145, 0.22);
}

.hero-aside p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-divider {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-divider span {
  width: min(100%, 10rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 126, 0.3), transparent);
}

.feature-band,
.workflow-section,
.security-section,
.cta-section {
  margin-top: 2.5rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.feature-grid,
.workflow-grid,
.security-stack {
  display: grid;
  gap: 1rem;
}

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

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

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.feature-card,
.workflow-step,
.security-item,
.cta-section {
  border-radius: 1.65rem;
  padding: 1.55rem;
}

.feature-card,
.workflow-step,
.security-item {
  position: relative;
}

.feature-card::before,
.workflow-step::before,
.security-item::before,
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 35%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-card p,
.workflow-step p,
.security-item p,
.security-copy p {
  margin: 0.75rem 0 0;
}

.feature-tag {
  display: inline-block;
  margin-bottom: 1rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cta-section {
  display: grid;
  gap: 1rem;
  justify-items: start;
  margin-bottom: 2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 88, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 249, 241, 0.78));
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(0.82);
    opacity: 0.88;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes floatCue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 980px) {
  .hero,
  .security-section,
  .feature-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1rem;
    min-height: auto;
    padding-bottom: 4rem;
  }

  h1,
  h2 {
    max-width: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .scroll-cue {
    bottom: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-kicker {
    gap: 0.7rem;
  }

  .hero-kicker-line {
    width: 2.5rem;
  }

  .button {
    width: 100%;
  }

  .ambient {
    width: 22rem;
    height: 22rem;
  }

  .site-nav,
  .brand {
    width: 100%;
    justify-content: center;
  }

  .window-top,
  .wave-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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