@font-face {
  font-family: Hype Display;
  src: url('/assets/HypeMontserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #09080e;
  --surface: #121019;
  --surface-raised: #1b1625;
  --line: #2b2535;
  --line-soft: #211d29;
  --text: #f5f1fb;
  --soft-text: #d6cede;
  --muted: #aaa3b7;
  --subtle: #938ba1;
  --purple: #8b2cff;
  --violet: #c5a3ff;
  --lime: #c7ff28;
  --danger: #ffa6b4;
  --body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display-font: 'Hype Display', var(--body-font);
  --page-width: 1184px;
  --gutter: clamp(20px, 4.2vw, 60px);
  font: 16px/1.55 var(--body-font);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .74; }
svg { display: block; flex: none; width: 20px; height: 20px; }
.ui-icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
img { display: block; max-width: 100%; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
main [id] { scroll-margin-top: 28px; }

.skip-link, .sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 20;
  width: auto;
  height: auto;
  margin: 0;
  clip-path: none;
  border-radius: 8px;
  padding: 10px 15px;
  background: var(--lime);
  color: #131909;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line-soft);
  background: #0c0a12;
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(132px, 1fr) auto minmax(132px, 1fr);
  align-items: center;
  gap: 18px;
  width: min(var(--page-width), calc(100% - 2 * var(--gutter)));
  min-height: 76px;
  margin-inline: auto;
}
.brand { display: inline-grid; justify-self: start; gap: 4px; }
.brand img { width: 102px; height: auto; }
.brand > span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: .29em;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: clamp(7px, 1.7vw, 27px); }
.site-nav > a:not(.dashboard-link), .nav-dropdown > summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  border-radius: 9px;
  padding: 0 8px;
  color: var(--soft-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}
.site-nav > a:not(.dashboard-link):hover, .nav-dropdown > summary:hover,
.nav-dropdown[open] > summary { background: #1c1527; color: var(--text); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary svg { width: 13px; height: 13px; color: var(--subtle); transition: transform 180ms ease; }
.nav-dropdown[open] > summary svg { transform: rotate(180deg); color: var(--violet); }
.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: min(320px, 86vw);
  translate: -50%;
  border: 1px solid #3b2b4e;
  border-radius: 18px;
  padding: 8px;
  background: #15101e;
  box-shadow: 0 20px 54px #030205a8, inset 0 1px #b882ff13;
}
.nav-dropdown[open] > .nav-menu { animation: panel-in 180ms ease-out both; }
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 47px;
  border-radius: 11px;
  padding: 8px 10px;
  transition: background-color 150ms ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: #261936; }
.nav-menu a strong, .nav-menu a small { display: block; }
.nav-menu a strong { font-size: 13px; font-weight: 650; }
.nav-menu a small { margin-top: 1px; color: var(--muted); font-size: 12px; }
.nav-icon {
  display: grid;
  flex: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #4b3167;
  border-radius: 9px;
  background: #241731;
  color: var(--violet);
}
.nav-icon svg { width: 16px; height: 16px; }
.dashboard-link, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #a465ff80;
  border-radius: 100px;
  background: linear-gradient(145deg, #8a35ee, #6d24d4);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 1px #e9cdff25, 0 3px 12px #1a092b55;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, filter 180ms ease;
}
.dashboard-link {
  justify-self: end;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}
.dashboard-link svg, .primary-button svg { width: 16px; height: 16px; }
.dashboard-link:hover, .primary-button:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: #bd91ff;
  filter: brightness(1.09);
  box-shadow: inset 0 1px #e9cdff42, 0 6px 23px #7222b859;
}
.dashboard-link:active, .primary-button:not(:disabled):active { transform: translateY(0); }
.menu-toggle, .mobile-dashboard { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(88px, 12.5vh, 132px) var(--gutter) clamp(52px, 7vh, 80px);
  background: radial-gradient(ellipse 65% 75% at 50% 23%, #241038 0%, #140d20 47%, #09080e 83%);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #c295ff0b 1px, transparent 1px) 50% 0 / 70px 100%,
    linear-gradient(#c295ff0b 1px, transparent 1px) 0 42px / 100% 70px;
  mask-image: radial-gradient(ellipse 67% 68% at 50% 26%, #000 5%, transparent 94%);
  pointer-events: none;
  content: '';
}
.hero-inner { width: min(100%, 1120px); margin-inline: auto; text-align: center; }
.source-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  align-items: stretch;
  gap: 3px;
  max-width: 100%;
  min-height: 49px;
  border: 1px solid #382c46;
  border-radius: 99px;
  padding: 4px;
  background: #14101de8;
  box-shadow: 0 9px 28px #0b071677, inset 0 1px #baa5dc13;
  animation: reveal 430ms ease-out both;
}
.source-tabs [role='tab'] {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}
.source-tabs [role='tab'] svg { width: 16px; height: 16px; }
.source-tabs [role='tab']:hover { background: #21182d; color: var(--text); }
.source-tabs [role='tab'][aria-selected='true'] {
  border-color: #715090;
  background: #342247;
  color: #faf3ff;
  box-shadow: inset 0 1px #ecceff22;
}
.source-tabs [role='tab'][aria-selected='true'] svg { color: var(--violet); }
.hero-title {
  margin: 30px auto 0;
  font-family: var(--display-font);
  font-size: clamp(42px, 6.25vw, 90px);
  font-weight: 900;
  letter-spacing: -.068em;
  line-height: 1.035;
  text-wrap: balance;
  animation: reveal 470ms 35ms ease-out both;
}
.hero-title-line { display: block; }
.hero-title em {
  background: linear-gradient(120deg, #e2c8ff, #b482ff 52%, #a25cf8);
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.hero-tagline {
  margin-top: 22px;
  color: #e2d9eb;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 570;
  letter-spacing: -.027em;
  line-height: 1.33;
  text-wrap: balance;
  animation: reveal 470ms 65ms ease-out both;
}
.hero-description {
  max-width: 630px;
  margin: 11px auto 0;
  color: var(--muted);
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 1.65;
  text-wrap: pretty;
  animation: reveal 470ms 85ms ease-out both;
}
.source-area { width: min(100%, 675px); margin: 28px auto 0; animation: reveal 470ms 115ms ease-out both; }
.source-panel { min-width: 0; }
.source-input-shell, .upload-shell, .ai-shell {
  min-width: 0;
  min-height: 69px;
  border: 1px solid #4c385e;
  background: #161020;
  box-shadow: inset 0 1px #e2c4ff13, 0 13px 36px #05030875;
  transition: border-color 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}
.source-input-shell, .upload-shell, .ai-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 100px;
  padding: 7px 7px 7px 19px;
}
.source-input-shell:hover, .upload-shell:hover, .ai-shell:hover { border-color: #755292; }
.source-input-shell:focus-within, .upload-shell:focus-within, .ai-shell:focus-within, .is-dragging .upload-shell {
  border-color: #b884ff;
  background: #1c1328;
  box-shadow: 0 0 0 4px #9c54ef29, 0 11px 30px #0c0618b0;
}
.input-icon { display: grid; flex: none; place-items: center; color: #b686f6; }
.input-icon svg { width: 22px; height: 22px; }
.source-input-shell input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0;
  padding: 0 3px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}
.source-input-shell input::placeholder { color: #a89cb9; opacity: 1; }
.source-input-shell input:focus-visible { outline: 0; }
.source-input-shell:has([aria-invalid='true']) { border-color: var(--danger); }
.primary-button { flex: none; min-height: 51px; padding: 0 19px; font-size: 14px; }
[aria-busy='true'] .primary-button::after {
  width: 13px;
  height: 13px;
  border: 1.5px solid #ffffff64;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 850ms linear infinite;
  content: '';
}
.source-help { margin: 10px auto 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; text-wrap: balance; }
.source-help a, .hero-note a, .content-section p a, .faq-list a {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: #a372d973;
  text-underline-offset: 3px;
}
.source-help a:hover, .hero-note a:hover, .content-section p a:hover, .faq-list a:hover { color: #ead6ff; text-decoration-color: currentColor; }
.form-message {
  width: fit-content;
  max-width: 100%;
  margin: 9px auto 0;
  color: var(--soft-text);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.form-message:empty { margin: 0; }
.form-error { color: var(--danger); }
.upload-shell { border-style: dashed; }
.source-area progress { display: block; width: 100%; height: 6px; margin-top: 8px; accent-color: var(--violet); }
.ai-copy { flex: 1; min-width: 0; text-align: left; }
.ai-copy strong, .ai-copy small { display: block; }
.ai-copy strong { font-size: 14px; }
.ai-copy small { color: var(--muted); font-size: 12px; }
.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 11px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 13px;
}
.hero-note a { display: inline-flex; align-items: center; gap: 4px; font-weight: 660; }
.hero-note a svg { width: 13px; height: 13px; }
.format-line {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 17px;
  margin: 31px auto 0;
  border-top: 1px solid #3b2b4b;
  padding: 15px 14px 0;
  color: #bbb1c9;
  font-size: 12px;
  font-weight: 650;
}
.format-caption {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--subtle);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15em;
}
.format-caption::before { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); content: ''; }

.content-section, .footer-inner {
  width: min(var(--page-width), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.content-section { padding-block: clamp(52px, 8vw, 96px); }
.content-section + .content-section { border-top: 1px solid var(--line-soft); }
.section-intro { max-width: 690px; margin-bottom: clamp(24px, 4vw, 36px); }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-kicker::before { width: 15px; height: 1px; background: var(--purple); content: ''; }
.section-intro h2 {
  margin-top: 9px;
  font-family: var(--display-font);
  font-size: clamp(27px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -.058em;
  line-height: 1.11;
  text-wrap: balance;
}
.section-intro p { margin-top: 12px; color: var(--muted); text-wrap: pretty; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.feature-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(16px, 2.4vw, 26px);
  background: linear-gradient(155deg, #171221, #100e16 72%);
}
.feature-card h3 { margin-top: 16px; font-size: 16px; line-height: 1.25; }
.feature-card p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.feature-card .nav-icon { width: 40px; height: 40px; border-radius: 12px; }
.feature-card .nav-icon svg { width: 19px; height: 19px; }
.audience-section { margin-top: clamp(34px, 5vw, 58px); }
.audience-section > h3 { margin-bottom: 15px; color: var(--soft-text); font-size: 18px; }
.audience-list, .step-list { margin: 0; padding: 0; list-style: none; }
.audience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--line);
}
.audience-list > * { min-width: 0; padding: 20px 22px; background: #100e16; }
.audience-list strong, .step-list h3 { font-size: 16px; font-weight: 700; }
.audience-list li > span, .step-list p { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 3.8vw, 48px); }
.step-list > li { min-width: 0; border-top: 1px solid #443154; padding-top: 17px; }
.step-number { display: block; margin-bottom: 8px; color: var(--violet); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.plans-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 21px;
  margin-top: clamp(36px, 6vw, 72px);
  border: 1px solid #4b365e;
  border-radius: 22px;
  padding: clamp(23px, 4vw, 40px);
  background: linear-gradient(126deg, #20152c, #120f1b 75%);
}
.plans-card h3 { font-size: 22px; }
.plans-card p { max-width: 65ch; margin-top: 6px; color: var(--muted); }
.faq-list { display: grid; gap: 8px; }
.faq-list details { border: 1px solid var(--line); border-radius: 13px; background: #110e18; }
.faq-list summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 12px; border-radius: 13px; padding: 11px 16px; font-weight: 650; }
.faq-list summary:hover { background: #1c1427; }
.faq-list summary svg { color: var(--violet); }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { padding: 0 16px 14px; color: var(--muted); }
.contact-note { margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-note h3 { font-size: 16px; }
.contact-note p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.site-footer, body > footer { border-top: 1px solid var(--line-soft); background: #0d0b14; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
  min-height: 92px;
  padding-block: 20px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 13px 20px; }
.footer-inner a:hover { color: var(--text); }

@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 930px) {
  .hero { padding-top: 89px; }
}

@media (max-width: 760px) {
  .header-inner { display: flex; justify-content: space-between; min-height: 67px; }
  .brand img { width: 92px; }
  .brand > span { font-size: 8px; }
  .header-inner > .dashboard-link { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0;
    background: var(--surface);
  }
  .menu-toggle:hover, .menu-toggle[aria-expanded='true'] { border-color: #765591; background: var(--surface-raised); }
  .menu-toggle svg { width: 21px; height: 21px; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    max-height: min(74vh, 560px);
    overflow-y: auto;
    border: 1px solid #3b2b4e;
    border-radius: 18px;
    padding: 8px;
    background: #15101e;
    box-shadow: 0 20px 54px #030205a8;
  }
  .site-nav.is-open { display: grid; gap: 3px; animation: panel-in 180ms ease-out both; }
  .site-nav > a:not(.dashboard-link), .nav-dropdown > summary { justify-content: space-between; padding-inline: 12px; }
  .nav-menu { position: static; width: 100%; translate: none; border: 0; padding: 4px; background: #1a1225; box-shadow: none; }
  .mobile-dashboard { display: inline-flex; width: 100%; margin-top: 4px; }
  .hero { padding-top: 67px; }
  .hero-title { margin-top: 26px; font-size: clamp(37px, 8.3vw, 62px); }
  .hero-tagline { margin-top: 18px; }
  .audience-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 490px) {
  .hero { padding-top: 52px; padding-bottom: 42px; }
  .hero-title { font-size: clamp(31px, 8.85vw, 45px); }
  .hero-title-line { display: inline; }
  .source-tabs { gap: 2px; min-height: 45px; padding: 3px; }
  .source-tabs [role='tab'] { gap: 4px; padding: 7px 8px; font-size: 11.5px; }
  .source-tabs [role='tab'] svg { width: 13px; height: 13px; }
  .source-area { margin-top: 23px; }
  .source-input-shell, .upload-shell, .ai-shell { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; border-radius: 20px; padding: 7px; }
  .source-input-shell .input-icon, .upload-shell .input-icon, .ai-shell .input-icon { margin-left: 5px; }
  .source-input-shell input { min-height: 43px; }
  .source-input-shell .primary-button, .upload-shell .primary-button, .ai-shell .primary-button { grid-column: 1 / -1; min-height: 45px; }
  .ai-copy { padding-block: 7px; }
  .hero-note { margin-top: 15px; }
  .format-line { gap: 8px 12px; margin-top: 23px; }
  .feature-grid, .step-list { grid-template-columns: 1fr; }
  .audience-list > * { padding: 14px; }
}

@media (max-width: 350px) {
  .source-tabs [role='tab'] { padding-inline: 7px; }
  .source-tabs [role='tab'] svg { display: none; }
  .audience-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .hero-title em { background: none; color: LinkText; }
  .source-tabs [role='tab'][aria-selected='true'] { border-color: Highlight; }
}
