/* Drippy Link marketing: neon liquid shell (product-owned surface) */

:root {
  --color-bg-deep: #07060f;
  --color-bg-mid: #0e0c18;
  --color-surface: rgba(22, 18, 38, 0.65);
  --color-border: rgba(168, 130, 255, 0.22);
  --color-text: #e8e4f2;
  --color-muted: #9a92b0;
  --color-cyan: #3cf0ff;
  --color-magenta: #ff4dce;
  --color-violet: #a78bfa;
  --color-glow-cyan: rgba(60, 240, 255, 0.35);
  --color-glow-magenta: rgba(255, 77, 206, 0.28);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --shadow-glass: 0 0 0 1px var(--color-border),
    0 24px 48px rgba(0, 0, 0, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: radial-gradient(120% 80% at 50% -20%, #1a1530 0%, var(--color-bg-deep) 55%);
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Ambient blobs */
.blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  transform: translate3d(0, 0, 0);
}

.blob-a {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle at 30% 30%, var(--color-magenta), transparent 70%);
  animation: float-a 22s var(--ease-out) infinite alternate;
}

.blob-b {
  width: min(480px, 85vw);
  height: min(480px, 85vw);
  bottom: 5%;
  left: -15%;
  background: radial-gradient(circle at 60% 40%, var(--color-cyan), transparent 65%);
  animation: float-b 26s var(--ease-out) infinite alternate;
}

.blob-c {
  width: min(360px, 70vw);
  height: min(360px, 70vw);
  top: 42%;
  left: 35%;
  background: radial-gradient(circle at 50% 50%, var(--color-violet), transparent 72%);
  opacity: 0.28;
  animation: float-c 18s var(--ease-out) infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .blob-a,
  .blob-b,
  .blob-c {
    animation: none;
    opacity: 0.35;
  }
}

@keyframes float-a {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 6%) scale(1.05);
  }
}

@keyframes float-b {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(8%, -4%) scale(1.08);
  }
}

@keyframes float-c {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-6%, 8%);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-block: 0.95rem 1.05rem;
  background: linear-gradient(
    to bottom,
    rgba(7, 6, 15, 0.92) 0%,
    rgba(7, 6, 15, 0.75) 70%,
    transparent 100%
  );
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  letter-spacing: -0.02em;
}

.logo__img {
  height: 2.35rem;
  width: auto;
  max-width: min(42vw, 10.5rem);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo__img {
    height: 2.55rem;
    max-width: 11.5rem;
  }
}

.logo--footer {
  pointer-events: none;
}

.logo--footer .logo__img {
  height: 1.85rem;
  max-width: 8.5rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--color-text);
}

.nav__cta {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .nav__cta {
    display: inline-flex;
  }
}

.nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% + 0.5rem);
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(14, 12, 24, 0.95);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-glass);
  flex-direction: column;
  gap: 0.75rem;
}

/* Author `display:flex` overrides the UA `hidden` rule — keep panel off until opened */
.nav-panel[hidden] {
  display: none !important;
}

.nav-panel:not([hidden]) {
  display: flex;
}

@media (min-width: 768px) {
  .nav-panel {
    display: none !important;
  }
}

.nav-panel a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
}

.nav-panel a:hover {
  background: rgba(167, 139, 250, 0.12);
}

.nav-panel .btn {
  margin-top: 0.25rem;
  justify-content: center;
}

/* Hero */
.hero {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-violet);
  margin: 0 0 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero__title-accent {
  display: block;
  background: linear-gradient(105deg, var(--color-cyan), var(--color-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px var(--color-glow-magenta);
}

.hero__lede {
  color: var(--color-muted);
  margin: 0 0 1.75rem;
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-magenta));
  box-shadow: 0 0 8px var(--color-glow-cyan);
}

/* Glass card */
.hero__visual {
  display: flex;
  justify-content: center;
}

.glass-card {
  width: min(100%, 380px);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-glass), 0 0 60px rgba(60, 240, 255, 0.08);
  backdrop-filter: blur(16px);
}

@media (prefers-reduced-motion: no-preference) {
  .glass-card--tilt {
    animation: card-drift 12s ease-in-out infinite;
  }
}

@keyframes card-drift {
  0%,
  100% {
    transform: perspective(800px) rotateY(-4deg) rotateX(3deg);
  }
  50% {
    transform: perspective(800px) rotateY(4deg) rotateX(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-card--tilt {
    animation: none;
  }
}

.glass-card__row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 400px) {
  .glass-card__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.glass-card__divider {
  height: 1px;
  margin: 1.15rem 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 139, 250, 0.35),
    transparent
  );
}

.glass-card__note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.mono {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace;
  font-size: 0.8125rem;
  color: var(--color-cyan);
  word-break: break-all;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill--cyan {
  background: rgba(60, 240, 255, 0.15);
  color: var(--color-cyan);
  border: 1px solid rgba(60, 240, 255, 0.35);
}

.pill--magenta {
  background: rgba(255, 77, 206, 0.12);
  color: var(--color-magenta);
  border: 1px solid rgba(255, 77, 206, 0.35);
}

/* Sections */
.section {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--tight .section__intro {
  margin-bottom: 2rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section__intro {
  color: var(--color-muted);
  max-width: 62ch;
  margin: 0 0 2rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
}

.card--gel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.card__body {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.card__body strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps__item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 130, 255, 0.15);
}

.steps__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-violet));
  color: var(--color-bg-deep);
}

.steps__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.steps__item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

/* URL demo */
.url-demo {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .url-demo {
    grid-template-columns: repeat(2, 1fr);
  }
}

.url-demo__block {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(60, 240, 255, 0.06), rgba(255, 77, 206, 0.04));
  border: 1px solid var(--color-border);
}

.url-demo__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.65rem;
}

.url-demo__copy {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(7, 6, 15, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.url-demo__copy:hover {
  border-color: rgba(60, 240, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(60, 240, 255, 0.15);
}

.url-demo__copy code {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.8125rem;
  color: var(--color-cyan);
  word-break: break-all;
}

.url-demo__hint {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-violet);
}

.url-demo__copy.is-copied .url-demo__hint {
  color: var(--color-cyan);
}

/* Audience */
.section--audience {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(167, 139, 250, 0.06) 40%,
    transparent
  );
}

.audience {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chips-sprite {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.audience__text {
  margin-bottom: 0;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips--dense {
  gap: 0.4rem;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
}

.chips--dense li {
  padding: 0.32rem 0.72rem;
  font-size: 0.8125rem;
  gap: 0.38rem;
}

.chips--dense .chips__icon {
  width: 1.05rem;
  height: 1.05rem;
}

.chips__icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  opacity: 0.92;
}

.chips__icon--fill path {
  fill: currentColor;
}

.chips__icon--stroke {
  overflow: visible;
}

/* CTA */
.section--cta {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.cta-panel {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(
    135deg,
    rgba(60, 240, 255, 0.1) 0%,
    rgba(255, 77, 206, 0.08) 50%,
    rgba(167, 139, 250, 0.1) 100%
  );
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-glass);
  text-align: center;
}

.cta-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.cta-panel__text {
  color: var(--color-muted);
  max-width: 52ch;
  margin: 0 auto 1.5rem;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto 0.75rem;
}

.cta-form--stack {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  max-width: 28rem;
  gap: 1rem;
}

.cta-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.cta-form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
}

.cta-form__hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.cta-form__error {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #ff8a9d;
}

.cta-form__input[aria-invalid="true"] {
  border-color: rgba(255, 138, 157, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 138, 157, 0.22);
}

.cta-form__submit {
  align-self: center;
  margin-top: 0.15rem;
}

.cta-form__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: rgba(7, 6, 15, 0.75);
  color: var(--color-text);
  font: inherit;
}

/* Row layout: 200px basis is width. In --stack (column field), basis became height → huge boxes. */
.cta-form--stack .cta-form__input {
  flex: none;
  width: 100%;
}

.cta-form__input::placeholder {
  color: var(--color-muted);
}

.cta-form__input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cta-form__feedback {
  max-width: 42ch;
  margin: 0.35rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.cta-form__feedback.is-success {
  color: var(--color-cyan);
}

.cta-form__feedback.is-error {
  color: #ff8a9d;
}

.cta-panel__fine {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn--primary {
  color: var(--color-bg-deep);
  background: linear-gradient(120deg, var(--color-cyan), #7af8ff);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 24px var(--color-glow-cyan);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 32px var(--color-glow-cyan), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--ghost {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(167, 139, 250, 0.4);
}

/* Footer */
.site-footer {
  padding-block: 2rem 2.5rem;
  border-top: 1px solid rgba(168, 130, 255, 0.12);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.site-footer__tag {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}
