:root {
  --primary: #e41672;
  --primary-bright: #ff2f88;
  --primary-soft: rgba(228, 22, 114, 0.12);
  --background: #09080b;
  --surface: #121116;
  --surface-raised: #18161d;
  --border: #2a2730;
  --border-subtle: #201e25;
  --text: #f7f3f6;
  --text-secondary: #b5adb5;
  --text-muted: #7f7780;
  --nav-height: 88px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(228, 22, 114, 0.10), transparent 28rem),
    radial-gradient(circle at 10% 45%, rgba(121, 32, 79, 0.07), transparent 26rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: min(100%, 1344px);
  margin-inline: auto;
  padding-inline: 32px;
}

/* Navigation */
.nav {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding-inline: max(32px, calc((100vw - 1344px) / 2 + 32px));
  border-bottom: 1px solid rgba(255,255,255,0.055);
  background: rgba(9, 8, 11, 0.78);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(18px);
}
.nav-left a { display: block; }
.nav .logo { width: auto; height: 74px; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-right a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 550;
  line-height: 48px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.nav-right a:hover { color: var(--text); }
.nav-right .btn-creator,
.nav-right .btn-primary {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 11px;
  background: var(--primary);
  box-shadow: 0 9px 26px rgba(228,22,114,0.18);
  color: #fff;
  line-height: 48px;
}
.nav-right .btn-creator:hover,
.nav-right .btn-primary:hover { background: var(--primary-bright); color: #fff; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

/* Shared buttons */
.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: 0 10px 26px rgba(228,22,114,0.17);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover,
.btn-primary:hover {
  background: var(--primary-bright);
  box-shadow: 0 12px 30px rgba(228,22,114,0.24);
  transform: translateY(-1px);
}
.link-muted { color: var(--text-secondary); text-decoration: none; }
.link-muted:hover { color: var(--text); }

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
  min-height: calc(100vh - var(--nav-height) - 170px);
  padding-block: clamp(68px, 8vw, 112px) 62px;
}
.hero-left { max-width: 580px; }
.hero h1,
.narrow > h1,
.page-hero h1,
.form-hero h1 {
  margin: 0;
  text-wrap: balance;
  color: var(--text);
  font-size: clamp(48px, 5.1vw, 74px);
  font-weight: 720;
  letter-spacing: -0.052em;
  line-height: 0.99;
}
.hero h1 .brand {
  display: inline-block;
  margin-top: 8px;
  background: linear-gradient(115deg, #ff3e91 4%, #d8176c 76%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero p.lead,
.page-hero .lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
}
.inline-form {
  display: flex;
  max-width: 500px;
  margin-top: 32px;
}
.inline-form input[type="email"] {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 11px 0 0 11px;
  outline: none;
  background: rgba(18,17,22,0.94);
  color: var(--text);
  font-size: 15px;
}
.inline-form input::placeholder { color: var(--text-muted); }
.inline-form input:focus { border-color: rgba(228,22,114,0.8); box-shadow: 0 0 0 3px rgba(228,22,114,0.10); }
.inline-form button { min-width: 160px; min-height: 54px; border-radius: 0 11px 11px 0; }
.microcopy { margin: 12px 0 0; color: var(--text-muted); font-size: 13px; }
.mini-success {
  max-width: 500px;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid rgba(228,22,114,0.28);
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.mini-success strong { color: var(--text); }

/* Product preview */
.hero-right { min-width: 0; }
.preview {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid #302b34;
  border-radius: 22px;
  background: #0e0d11;
  box-shadow: 0 36px 90px rgba(0,0,0,0.46), 0 0 70px rgba(228,22,114,0.08);
}
.preview::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255,255,255,0.035);
  content: "";
  pointer-events: none;
}
.preview-top {
  display: flex;
  align-items: center;
  height: 62px;
  padding-inline: 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.012);
}
.tabs { display: flex; align-items: center; gap: 24px; }
.tab { color: var(--text-muted); font-size: 13px; font-weight: 650; }
.tab.active { position: relative; color: #ff398b; }
.tab.active::after {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  content: "";
}
.preview-body { position: relative; min-height: 448px; padding: 16px; }
.posts-container { overflow: hidden; }
.preview .subtle-fade { opacity: 0.56; filter: saturate(0.75); }
.post {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--surface);
}
.avatar { flex: 0 0 39px; width: 39px; height: 39px; border-radius: 50%; object-fit: cover; }
.post-body { flex: 1; min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 7px; }
.username { color: var(--text); font-size: 13px; font-weight: 700; }
.meta { color: var(--text-muted); font-size: 12px; }
.caption { margin-top: 7px; color: #ddd7dc; font-size: 13px; line-height: 1.4; }
.audio-row { display: flex; align-items: center; gap: 11px; margin-top: 11px; }
.play-btn {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
}
.wave { position: relative; flex: 1; height: 32px; overflow: hidden; border-radius: 8px; background: #302d34; }
.wave::after {
  position: absolute;
  inset: 8px 10px;
  background: repeating-linear-gradient(90deg, #817982 0 2px, transparent 2px 6px);
  content: "";
  opacity: 0.7;
}
.wave .bar { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 30%; background: rgba(228,22,114,0.32); animation: wave-shift 3.4s linear infinite; }
@keyframes wave-shift { from { transform: translateX(-105%); } to { transform: translateX(440%); } }
.duration { color: var(--text-muted); font-size: 11px; }
.post-actions { display: flex; gap: 17px; margin-top: 9px; color: var(--text-muted); font-size: 11px; }

.locked-overlay {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(360px, calc(100% - 40px));
  padding: 30px;
  border: 1px solid rgba(228,22,114,0.38);
  border-radius: 18px;
  background: rgba(19,17,22,0.93);
  box-shadow: 0 28px 64px rgba(0,0,0,0.55), 0 0 42px rgba(228,22,114,0.08);
  backdrop-filter: blur(16px);
  transform: translate(-50%, -50%);
}
.lock-ct { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lock-circle,
.founder-strip .icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(228,22,114,0.28);
  border-radius: 14px;
  background: var(--primary-soft);
  color: #ff3e91;
  font-size: 14px;
}
.locked-overlay h3 { margin: 14px 0 0; font-size: 21px; letter-spacing: -0.025em; }
.locked-overlay p { margin: 10px 0 19px; color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.locked-overlay .btn { width: 100%; }

/* Founder callout and footer */
.founder-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin: 4px 0 74px;
  padding: 25px 28px;
  border: 1px solid rgba(228,22,114,0.22);
  border-radius: 18px;
  background: linear-gradient(105deg, rgba(228,22,114,0.10), rgba(18,17,22,0.94) 48%);
}
.founder-strip .left { display: flex; align-items: center; gap: 17px; }
.founder-strip .icon { flex: 0 0 50px; border-radius: 50%; }
.founder-strip h3 { margin: 0 0 5px; font-size: 19px; letter-spacing: -0.02em; }
.founder-strip p { max-width: 770px; margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.founder-strip .btn { flex: 0 0 auto; }
.site-footer { padding: 26px 0 34px; border-top: 1px solid var(--border-subtle); color: var(--text-muted); }
.site-footer .container { padding-inline: 0; }
.site-footer .row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.site-footer .center { font-size: 12px; }
.site-footer .right { text-align: right; }
.site-footer a { color: var(--text-muted); font-size: 12px; text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Interior pages */
.narrow { max-width: 920px; padding-top: clamp(72px, 8vw, 112px); padding-bottom: 100px; }
.narrow > h1,
.page-hero h1,
.form-hero h1 { max-width: 820px; font-size: clamp(43px, 6vw, 68px); }
.narrow > p:not(.label),
.form-hero p {
  max-width: 720px;
  margin: 23px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.72;
}
.label {
  margin: 0 0 16px;
  color: #ff3e91;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
}
.narrow > .btn-primary { margin-top: 30px; }
.narrow section:not(.page-hero):not(.form-hero) { margin-top: 78px; }
.narrow section h2 { margin: 0 0 16px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.035em; line-height: 1.15; }
.narrow section > p { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 1.75; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(26,23,30,0.98), rgba(17,16,20,0.98));
  box-shadow: 0 18px 50px rgba(0,0,0,0.14);
}
.grid .card { min-height: 190px; padding: 25px; }
.card h3 { margin: 0 0 11px; font-size: 18px; letter-spacing: -0.018em; }
.card p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.65; }
.benefits { display: grid; gap: 10px; padding: 0; list-style: none; }
.benefits li {
  position: relative;
  padding: 18px 20px 18px 48px;
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  background: rgba(18,17,22,0.78);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}
.benefits li::before { position: absolute; top: 18px; left: 20px; color: var(--primary-bright); content: "✓"; font-weight: 800; }
.benefits strong { display: block; margin-bottom: 4px; color: var(--text); }
.closing {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(228,22,114,0.24);
  border-radius: 20px;
  background: linear-gradient(125deg, rgba(228,22,114,0.11), rgba(18,17,22,0.96) 55%);
}
.closing h2 { max-width: 650px; }
.closing .btn-primary { margin-top: 14px; }
.closing .link-muted { display: inline-block; margin-left: 18px; font-size: 14px; }

/* Forms */
.form-card { margin-top: 42px !important; padding: clamp(24px, 5vw, 42px); }
.form-card form { display: grid; gap: 25px; }
.form-card form > label,
.form-card form > div > label {
  display: grid;
  gap: 9px;
  color: #ded8dd;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.form-card input:not([type="checkbox"]):not([type="radio"]),
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: #0d0c10;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  resize: vertical;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-card select { min-height: 190px; }
.form-card textarea { min-height: 112px; line-height: 1.55; }
.form-card input::placeholder,
.form-card textarea::placeholder { color: #69616a; }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus { border-color: rgba(228,22,114,0.8); box-shadow: 0 0 0 3px rgba(228,22,114,0.10); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.checkbox-grid label,
.radio-row label {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: rgba(13,12,16,0.72);
  color: var(--text-secondary) !important;
  cursor: pointer;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.form-card input[type="checkbox"],
.form-card input[type="radio"] { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.radio-row label { min-width: 110px; }
.form-actions { padding-top: 4px; }
.form-actions .btn-primary { min-width: 190px; }
.btn:disabled,
.btn-primary:disabled,
.inline-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
.field-error,
.form-error {
  color: #ff7196;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
.field-error { display: block; margin-top: 1px; }
.form-error {
  margin: -4px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,74,122,0.25);
  border-radius: 9px;
  background: rgba(255,74,122,0.08);
}
.inline-form .field-error {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
}
.inline-form { position: relative; }
.inline-form input[aria-invalid="true"],
.form-card input[aria-invalid="true"],
.form-card textarea[aria-invalid="true"] {
  border-color: #dc466d;
  box-shadow: 0 0 0 3px rgba(220,70,109,0.10);
}
.success { padding: 14px 4px; }
.success h2 { margin-bottom: 12px !important; }
.success p { margin-bottom: 22px !important; }
[hidden] { display: none !important; }

/* Legal pages */
.legal-page {
  width: min(100%, 980px);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: 110px;
}
.legal-hero {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--border);
}
.legal-kicker {
  margin: 0 0 14px;
  color: var(--primary-bright);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.legal-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 70px);
  font-weight: 720;
  letter-spacing: -0.052em;
  line-height: 1;
}
.legal-hero p:last-child {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}
.legal-content { counter-reset: legal-section; }
.legal-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-section h2 {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  align-self: start;
  margin: 0;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.legal-copy p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}
.legal-copy p:last-child { margin-bottom: 0; }
.legal-copy ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 20px;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}
.legal-copy li::marker { color: var(--primary-bright); }
.legal-copy a { color: #ff67a7; text-underline-offset: 3px; }
.legal-footer {
  width: min(100%, 980px);
  margin-inline: auto;
  padding-inline: 32px;
}

/* Focus and responsive behavior */
:focus-visible { outline: 3px solid rgba(255,47,136,0.32); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr); gap: 40px; }
  .hero h1 { font-size: clamp(45px, 6vw, 60px); }
  .nav-right { gap: 18px; }
  .nav-right a { font-size: 14px; }
  .founder-strip { align-items: flex-start; }
}

@media (max-width: 760px) {
  :root { --nav-height: 76px; }
  .container { padding-inline: 18px; }
  .nav { padding-inline: 18px; }
  .nav .logo { height: 62px; }
  .nav-toggle { display: grid; width: 46px; height: 46px; place-items: center; }
  .nav-right {
    position: fixed;
    top: calc(var(--nav-height) + 10px);
    right: 14px;
    left: 14px;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(18,17,22,0.98);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }
  body.nav-open .nav-right { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-right a { min-height: 46px; padding-inline: 12px; border-radius: 9px; line-height: 46px; }
  .nav-right a:hover { background: rgba(255,255,255,0.04); }
  .nav-right .btn-primary,
  .nav-right .btn-creator { margin-top: 4px; text-align: center; }

  .hero { grid-template-columns: 1fr; gap: 44px; min-height: auto; padding-block: 64px 48px; }
  .hero-left { max-width: 620px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 61px); }
  .hero p.lead { font-size: 16px; line-height: 1.65; }
  .preview { min-height: 495px; }
  .preview-body { min-height: 433px; }
  .founder-strip { flex-direction: column; gap: 22px; margin-bottom: 54px; padding: 23px; }
  .founder-strip .btn { width: 100%; }
  .site-footer .container { padding-inline: 0; }

  .narrow { padding-top: 64px; padding-bottom: 76px; }
  .narrow > h1,
  .page-hero h1,
  .form-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .narrow > p:not(.label),
  .form-hero p { font-size: 16px; }
  .narrow section:not(.page-hero):not(.form-hero) { margin-top: 58px; }
  .grid { grid-template-columns: 1fr; }
  .grid .card { min-height: 0; }
  .closing .link-muted { display: block; margin: 19px 0 0; }
  .form-card { padding: 24px 18px; }
  .legal-page { padding-top: 58px; padding-bottom: 80px; }
  .legal-section { grid-template-columns: 1fr; gap: 15px; padding: 32px 0; }
  .legal-section h2 { position: static; font-size: 20px; }
  .legal-hero { padding-bottom: 34px; }
  .legal-hero p:last-child { font-size: 16px; }
  .legal-footer { padding-inline: 18px; }
}

@media (max-width: 480px) {
  .inline-form { flex-direction: column; gap: 10px; }
  .inline-form input[type="email"] { border: 1px solid var(--border); border-radius: 10px; }
  .inline-form button { width: 100%; border-radius: 10px; }
  .preview { min-height: 455px; }
  .preview-body { min-height: 393px; padding: 10px; }
  .post { padding: 12px; }
  .locked-overlay { width: calc(100% - 28px); padding: 24px 20px; }
  .founder-strip .left { align-items: flex-start; }
  .founder-strip .icon { width: 42px; height: 42px; flex-basis: 42px; }
  .site-footer .row { grid-template-columns: 1fr auto; }
  .site-footer .center { display: none; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .radio-row { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
