:root {
  /* Techy + magic glow — colorful */
  --magic-purple: #8b5cf6;
  --magic-violet: #6b21a8;
  --magic-pink: #ec4899;
  --magic-cyan: #22d3ee;
  --magic-teal: #14b8a6;
  --magic-amber: #f59e0b;
  --accent: #a855f7;
  --accent-dark: #6b21a8;
  --accent-glow: rgba(168, 85, 247, 0.5);
  --accent-soft: rgba(168, 85, 247, 0.12);
  --glow-pink: rgba(236, 72, 153, 0.4);
  --glow-cyan: rgba(34, 211, 238, 0.4);
  --glow-teal: rgba(20, 184, 166, 0.4);
  --neon-green: #00ff88;
  --text-main: #0f0f1a;
  --text-muted: #4a4a6a;
  --border-subtle: rgba(139, 92, 246, 0.2);
  --background: #0c0c14;
  --background-gradient: linear-gradient(165deg, #0c0c14 0%, #1a0a2e 35%, #0f1729 70%, #0c0c14 100%);
  --shadow-soft: 0 12px 40px rgba(107, 33, 168, 0.15);
  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.25);
  --magic-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #22d3ee 100%);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --transition-fast: 150ms ease-out;
  --transition-med: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--magic-gradient);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus {
  top: 0;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.85; filter: brightness(1.1); }
}

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

@keyframes glow-rotate {
  0%, 100% { filter: drop-shadow(0 0 20px var(--glow-cyan)) drop-shadow(0 0 30px var(--glow-pink)); }
  33% { filter: drop-shadow(0 0 25px var(--glow-pink)) drop-shadow(0 0 35px var(--accent-glow)); }
  66% { filter: drop-shadow(0 0 25px var(--accent-glow)) drop-shadow(0 0 35px var(--glow-cyan)); }
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background-gradient);
  background-attachment: fixed;
  color: #e2e8f0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.page {
  padding: 1.2rem 1.2rem 1.5rem;
}

.inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Header */
.site-header {
  padding: 0.85rem 1.2rem 0.25rem;
}
.site-header .inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0;
}

.branding {
  display: flex;
  flex-direction: column;
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  background: var(--magic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--accent-glow);
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.brand-subtitle a {
  color: var(--magic-cyan);
  text-decoration: none;
}
.brand-subtitle a:hover {
  text-decoration: underline;
  color: var(--magic-pink);
}

/* Hero */
.hero .inner {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f0abfc 0%, #a855f7 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: 1.05rem;
  color: #94a3b8;
  margin: 0 0 0.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-support {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0 0 1.25rem;
  opacity: 0.9;
}
.hero-support strong {
  color: #e2e8f0;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

a.btn-primary {
  text-decoration: none;
}

/* Sections */
.section {
  padding: 1.6rem 0;
}

.section-accent {
  margin-top: 0.75rem;
}

.section-accent .inner {
  padding-top: 0.75rem;
  padding-bottom: 0;
}

.section h2 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.section p {
  margin: 0 0 0.75rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* Susan demo — center piece */
.susan-demo-container {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-l);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(15, 15, 26, 0.9) 0%, rgba(26, 10, 46, 0.6) 100%);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  box-shadow: var(--shadow-soft), 0 0 60px rgba(168, 85, 247, 0.08);
  position: relative;
  overflow: hidden;
}

.susan-demo-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.susan-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Susan phrase — animated XXX */
.susan-phrase {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #c4b5fd;
  text-align: center;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2em;
}

.susan-phrase .phrase-static {
  color: #94a3b8;
}

.susan-phrase .phrase-dynamic {
  color: #f0abfc;
  font-weight: 600;
  display: inline-block;
  animation: phrase-glow 2.5s ease-in-out infinite;
}

@keyframes phrase-glow {
  0%, 100% { text-shadow: 0 0 12px var(--glow-pink); opacity: 1; }
  50% { text-shadow: 0 0 20px var(--glow-pink), 0 0 30px var(--accent-glow); opacity: 0.95; }
}

/* Susan unit — stretched circular shape with door */
.susan-unit-wrap {
  position: relative;
  width: 200px;
  height: 140px;
  perspective: 320px;
}

.susan-unit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 120px;
  border-radius: 90px / 60px;
  background: linear-gradient(165deg, #2e1a47 0%, #1e0f33 50%, #0f0a1a 100%);
  border: 2px solid rgba(168, 85, 247, 0.4);
  box-shadow: inset 0 0 30px rgba(168, 85, 247, 0.15),
              0 0 40px rgba(168, 85, 247, 0.2),
              0 0 60px rgba(236, 72, 153, 0.1);
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Door panel: large inner rectangle (wider than oval), slides downward to open */
.susan-door {
  position: absolute;
  left: -50%;
  top: -10%;
  width: 200%;
  height: 120%;
  background: linear-gradient(180deg, #251a3d 0%, #3d2863 100%);
  border-radius: 24px;
  transform: translateY(0%);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.susan-unit-wrap.door-open .susan-door {
  transform: translateY(120%);
}

.susan-interior {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.susan-item {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.susan-unit-wrap.item-visible .susan-item.active {
  opacity: 1;
  transform: scale(1);
}

.susan-item svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(240, 171, 252, 0.6));
}

/* Use cases */
.use-cases {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.use-cases li {
  position: relative;
  padding: 0.6rem 0.75rem 0.6rem 2rem;
  color: #94a3b8;
  background: rgba(30, 20, 50, 0.5);
  border-radius: var(--radius-s);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.use-cases li:hover {
  background: rgba(60, 40, 90, 0.4);
  border-color: var(--magic-purple);
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.use-cases li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magic-gradient);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Newsroom */
.section-newsroom .newsroom-intro {
  margin-bottom: 1rem;
}

.newsroom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsroom-list li {
  padding: 0.85rem 1rem;
  background: rgba(30, 20, 50, 0.5);
  border-radius: var(--radius-m);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.newsroom-list li:hover {
  border-color: var(--magic-purple);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.12);
}

.newsroom-list a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.newsroom-list a:hover {
  color: #f0abfc;
  text-decoration: underline;
}

.newsroom-source {
  font-size: 0.8rem;
  color: var(--magic-cyan);
  opacity: 0.9;
}

/* Mailchimp form */
#mc_embed_signup {
  background: transparent !important;
  clear: left;
  font-family: inherit !important;
  width: 100% !important;
  max-width: 100% !important;
}

#mc_embed_signup h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #e2e8f0;
}

#mc_embed_signup .indicates-required {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

#mc_embed_signup .mc-field-group {
  margin-bottom: 0.75rem;
}

#mc_embed_signup .mc-field-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #e2e8f0;
}

#mc_embed_signup .mc-field-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  outline: none;
  background: rgba(30, 20, 50, 0.6);
  color: #e2e8f0;
  transition: all var(--transition-med);
}

#mc_embed_signup .mc-field-group input:focus {
  border-color: var(--magic-purple);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-glow);
  background: rgba(40, 25, 70, 0.7);
}

#mc_embed_signup .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--magic-gradient);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-med);
  margin-top: 0.75rem;
  box-shadow: 0 4px 20px var(--accent-glow);
}

#mc_embed_signup .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px var(--accent-glow), 0 0 25px var(--glow-pink);
}

#mc_embed_signup .asterisk {
  color: var(--magic-pink);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--magic-gradient);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-med);
  box-shadow: 0 4px 20px var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px var(--accent-glow), 0 0 25px var(--glow-pink);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(107, 33, 168, 0.06) 100%);
}

.site-footer .inner {
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  opacity: 0.9;
}

.site-footer .footer-contact {
  color: var(--magic-cyan);
  text-decoration: none;
}
.site-footer .footer-contact:hover,
.site-footer .footer-contact:focus {
  text-decoration: underline;
  color: var(--magic-pink);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
}

.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;
}

@media (max-width: 720px) {
  .page {
    padding-top: 1rem;
  }
  .section,
  .hero .inner {
    padding-inline: 0.25rem;
  }
  .susan-unit-wrap {
    width: 160px;
    height: 110px;
  }
  .susan-unit {
    width: 144px;
    height: 96px;
    border-radius: 72px / 48px;
  }
  .susan-door {
    border-radius: 20px;
  }
}
