:root {
  --purple: #742FF6;
  --purple-2: #5A1BD4;
  --purple-3: #9461F8;
  --purple-soft: #F3EEFF;
  --purple-glow: rgba(116, 47, 246, 0.18);

  --coral: #FF5C8A;
  --coral-soft: #FFE3EC;
  --cyan: #22D3EE;
  --cyan-soft: #DCF7FB;
  --amber: #FFC857;

  --ink: #0E0E12;
  --ink-2: #3F3F4A;
  --ink-3: #6E6E7A;
  --ink-4: #A6A6B0;

  --white: #FFFFFF;
  --bg: #FBFAFD;
  --bg-2: #F5F2FA;
  --border: #E8E5EE;
  --border-2: #DCD7E6;

  --shadow-sm: 0 1px 2px rgba(20, 10, 40, 0.04), 0 1px 3px rgba(20, 10, 40, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(35, 15, 70, 0.12), 0 2px 6px rgba(35, 15, 70, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(50, 20, 100, 0.18), 0 8px 20px -8px rgba(50, 20, 100, 0.10);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1180px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

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

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

a:hover {
  color: var(--purple-2);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(232, 229, 238, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand img {
  height: 28px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.site-nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--purple-soft);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 88px;
  isolation: isolate;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero::after {
  /* faint grid texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 14, 18, 0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 14, 18, 0.030) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
  mix-blend-mode: multiply;
}

.blob-purple {
  width: 620px;
  height: 620px;
  top: -180px;
  right: -100px;
  background: radial-gradient(closest-side, rgba(116, 47, 246, 0.58), transparent 70%);
  animation: drift-a 16s ease-in-out infinite alternate;
}

.blob-coral {
  width: 480px;
  height: 480px;
  top: 60px;
  right: 200px;
  background: radial-gradient(closest-side, rgba(255, 92, 138, 0.55), transparent 70%);
  animation: drift-b 19s ease-in-out infinite alternate;
}

.blob-cyan {
  width: 420px;
  height: 420px;
  top: 220px;
  left: -120px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.50), transparent 70%);
  animation: drift-c 22s ease-in-out infinite alternate;
}

.blob-amber {
  width: 320px;
  height: 320px;
  bottom: -100px;
  left: 28%;
  background: radial-gradient(closest-side, rgba(255, 200, 87, 0.50), transparent 70%);
  animation: drift-d 25s ease-in-out infinite alternate;
}

@keyframes drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  33%  { transform: translate3d(-110px, 70px, 0) scale(1.10) rotate(8deg); }
  66%  { transform: translate3d(-40px, 150px, 0) scale(1.05) rotate(-4deg); }
  100% { transform: translate3d(60px, 90px, 0) scale(1.18) rotate(6deg); }
}

@keyframes drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  25%  { transform: translate3d(120px, -50px, 0) scale(1.12) rotate(-6deg); }
  60%  { transform: translate3d(-60px, -90px, 0) scale(1.05) rotate(10deg); }
  100% { transform: translate3d(140px, 40px, 0) scale(1.20) rotate(-3deg); }
}

@keyframes drift-c {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  30%  { transform: translate3d(140px, 80px, 0) scale(1.18) rotate(5deg); }
  65%  { transform: translate3d(60px, -70px, 0) scale(1.08) rotate(-7deg); }
  100% { transform: translate3d(180px, 110px, 0) scale(1.22) rotate(4deg); }
}

@keyframes drift-d {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  35%  { transform: translate3d(-90px, -120px, 0) scale(1.15) rotate(-8deg); }
  70%  { transform: translate3d(80px, -60px, 0) scale(1.05) rotate(6deg); }
  100% { transform: translate3d(-130px, -180px, 0) scale(1.25) rotate(-5deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 22px;
  max-width: 14ch;
}

.hero-title em {
  position: relative;
  font-style: italic;
  font-weight: 800;
  color: var(--purple);
  background-image: linear-gradient(
    100deg,
    #742FF6 0%,
    #C84BD5 22%,
    #FF5C8A 42%,
    #FF8A5C 60%,
    #22D3EE 80%,
    #742FF6 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  display: inline-block;
  animation: hue-shift 9s ease-in-out infinite alternate;
}

@keyframes hue-shift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}


.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.005em;
  transition: transform 120ms var(--ease), box-shadow 200ms var(--ease),
              background 160ms var(--ease), color 160ms var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset,
              0 6px 18px -6px rgba(116, 47, 246, 0.55);
}

.btn-primary:hover {
  background: var(--purple-2);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset,
              0 10px 26px -8px rgba(116, 47, 246, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 6px 18px -10px var(--purple-glow);
}

/* ---------------- Products ---------------- */

.products {
  position: relative;
  padding: 88px 0 112px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 14px;
}

.section-lede {
  color: var(--ink-2);
  font-size: 17px;
  margin-top: 14px;
  max-width: 52ch;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease),
              border-color 240ms var(--ease);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}

/* Browser-frame screenshot */
.browser-frame {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.browser-frame:hover {
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(to bottom, #FAFAFC, #F1EFF5);
  border-bottom: 1px solid var(--border);
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #DDD8E5;
  display: inline-block;
}

.dots i:nth-child(1) { background: #FF6058; }
.dots i:nth-child(2) { background: #FFBD2D; }
.dots i:nth-child(3) { background: #28C942; }

.url-pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0 28px 0 4px;
  letter-spacing: 0.01em;
}

.browser-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.product-body {
  padding: 4px 10px 10px;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.product-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: var(--purple);
  margin-top: 4px;
}

.product-desc {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: 12px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.product-actions .btn {
  padding: 10px 16px;
  font-size: 14.5px;
}

/* ---------------- Inner page (privacy etc.) ---------------- */

.hero.hero-sm {
  padding: 92px 0 64px;
}

.hero.hero-sm .hero-title {
  font-size: clamp(36px, 5vw, 60px);
  margin-top: 18px;
}

.hero.hero-sm .lede {
  margin-top: 20px;
}

.page-meta {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.page-body {
  padding: 80px 0 88px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.prose {
  max-width: 70ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.72;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 56px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 36px;
}

.prose ul {
  margin-top: 14px;
  padding-left: 22px;
}

.prose ul li + li {
  margin-top: 10px;
}

.prose ul li::marker {
  color: var(--purple);
}

.prose a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: rgba(116, 47, 246, 0.35);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color 160ms var(--ease), color 160ms var(--ease);
}

.prose a:hover {
  color: var(--purple-2);
  text-decoration-color: var(--purple-2);
}

.prose code {
  background: var(--purple-soft);
  color: var(--purple-2);
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prose strong {
  color: var(--ink);
}

/* ---------------- Product policy cards ---------------- */

.policy-products {
  position: relative;
  padding: 96px 0 112px;
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.policy-products::before {
  content: '';
  position: absolute;
  inset: -10% -5% auto auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(closest-side, rgba(116, 47, 246, 0.10), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.policy-products .section-head,
.policy-products .policy-card-grid {
  position: relative;
  z-index: 1;
}

.policy-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.policy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 36px 32px 32px;
  border-radius: var(--radius-lg);
  color: var(--white);
  text-decoration: none !important;
  overflow: hidden;
  isolation: isolate;
  min-height: 260px;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
  box-shadow: 0 16px 36px -16px rgba(20, 10, 50, 0.25);
}

.policy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
}

.policy-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(0, 0, 0, 0.18), transparent 70%);
  pointer-events: none;
}

.policy-card--gyn::before {
  background: linear-gradient(135deg, #4F2BE8 0%, #742FF6 45%, #22D3EE 100%);
}

.policy-card--hc::before {
  background: linear-gradient(135deg, #742FF6 0%, #C84BD5 45%, #FF5C8A 100%);
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px -16px rgba(20, 10, 50, 0.35);
}

.policy-card-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.policy-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(32px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  margin-top: 6px;
}

.policy-card-desc {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
  line-height: 1.55;
  margin-top: 10px;
  max-width: 32ch;
}

.policy-card-cta {
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--white);
  letter-spacing: 0.005em;
}

.policy-card-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 200ms var(--ease);
}

.policy-card:hover .policy-card-cta svg {
  transform: translateX(4px);
}

@media (max-width: 520px) {
  .policy-card {
    padding: 28px 24px;
    min-height: 220px;
  }
}

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

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 40px 0;
  font-size: 14.5px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 32px;
  align-items: center;
}

.foot-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.foot-nav {
  display: flex;
  gap: 16px;
}

.foot-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.foot-nav a:hover {
  color: var(--purple-3);
}

.foot-mark {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.foot-tag {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 42ch;
  line-height: 1.55;
}

.foot-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.foot-email {
  display: inline-block;
  margin-top: 6px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.foot-email:hover {
  color: var(--purple-3);
}

.foot-copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
  .hero {
    padding: 64px 0 56px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 24px;
  }

  .foot-copy {
    text-align: left;
  }

  .foot-meta {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .header-inner {
    height: 64px;
  }

  .brand img {
    height: 24px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .product-card {
    padding: 14px;
  }

  .url-pill {
    margin: 0 12px 0 2px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
