:root {
  --bg-1: #0c1220;
  --bg-2: #090c14;
  --bg-3: #121b33;
  --surface: rgba(14, 18, 27, 0.72);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f7f9fc;
  --muted: #aab3c7;
  --muted-2: #7f8798;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --accent: #4d83ff;
  --accent-2: #f2c94c;
  --accent-3: #dce6ff;
  --accent-soft: rgba(77, 131, 255, 0.18);
  --hero-ring: rgba(255, 215, 76, 0.28);
  --hero-gradient: linear-gradient(135deg, #3c6bff 0%, #93a9ff 45%, #f2c94c 100%);
  --send-gradient: linear-gradient(135deg, #3c6bff 0%, #5f8cff 40%, #f2c94c 100%);
  --body-gradient:
    radial-gradient(1200px 700px at 10% -10%, rgba(77, 131, 255, 0.25), transparent 55%),
    radial-gradient(800px 500px at 90% 0%, rgba(242, 201, 76, 0.14), transparent 50%),
    linear-gradient(180deg, #0f1728 0%, #090c14 100%);
}

body.theme-batman {
  --bg-1: #0c0d10;
  --bg-2: #070809;
  --bg-3: #1a1d22;
  --surface: rgba(12, 13, 16, 0.76);
  --surface-2: rgba(255, 255, 255, 0.045);
  --surface-3: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f7f7f4;
  --muted: #b5b0a2;
  --muted-2: #8f8a7d;
  --accent: #2e3137;
  --accent-2: #f3c94b;
  --accent-3: #f7ebbb;
  --accent-soft: rgba(243, 201, 75, 0.12);
  --hero-ring: rgba(243, 201, 75, 0.22);
  --hero-gradient: linear-gradient(135deg, #15171b 0%, #2d3138 50%, #f3c94b 100%);
  --send-gradient: linear-gradient(135deg, #121418 0%, #2d3138 55%, #f3c94b 100%);
  --body-gradient:
    radial-gradient(1100px 650px at 15% -10%, rgba(243, 201, 75, 0.10), transparent 45%),
    radial-gradient(900px 540px at 100% 0%, rgba(255, 255, 255, 0.04), transparent 35%),
    linear-gradient(180deg, #111317 0%, #070809 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  background: #090c14;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 280ms ease, color 280ms ease;
}

.page-bg {
  position: fixed;
  inset: 0;
  background: var(--body-gradient);
  z-index: -2;
  transition: background 280ms ease;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 20%, #ffffff 0.5px, transparent 0.7px),
    radial-gradient(circle at 80% 35%, #ffffff 0.5px, transparent 0.7px),
    radial-gradient(circle at 30% 80%, #ffffff 0.5px, transparent 0.7px);
  background-size: 24px 24px, 32px 32px, 28px 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  width: min(1200px, calc(100% - 32px));
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hero-gradient);
  box-shadow: 0 0 0 8px var(--accent-soft);
}

.brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.top-switcher {
  position: relative;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.top-switcher-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.top-switcher-btn.active {
  color: #0d1017;
  background: linear-gradient(180deg, #ffffff 0%, #edf2fb 100%);
}

.top-switcher-glow {
  display: none;
}

.app-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 26px auto 48px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero-block {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-copy,
.hero-side-card,
.composer-card,
.profile-card,
.archive-header {
  backdrop-filter: blur(20px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: 34px 34px 30px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-2);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.hero-copy h1,
.archive-header h2 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy p,
.archive-header p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.trust-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.hero-side-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-side-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--hero-ring), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-side-label {
  color: var(--muted-2);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-side-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.hero-side-desc {
  color: var(--muted);
  line-height: 1.7;
}

.hero-side-accent-line {
  width: 82px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--hero-gradient);
}

.composer-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

.hero-selector {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 18px 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card:hover {
  transform: translateY(-2px);
}

.hero-card.active {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 12px 40px var(--accent-soft), var(--shadow);
}

.hero-card-badge {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.hero-card-badge-homelander {
  background: linear-gradient(135deg, #2e66ff 0%, #f2c94c 100%);
  color: #0d1630;
}

.hero-card-badge-batman {
  background: linear-gradient(135deg, #111317 0%, #f3c94b 100%);
  color: #0b0b0b;
}

.hero-card-title {
  font-weight: 700;
  margin-bottom: 3px;
}

.hero-card-subtitle {
  color: var(--muted);
  font-size: 0.93rem;
}

.composer-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.composer-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.composer-window-controls {
  display: inline-flex;
  gap: 8px;
  justify-self: start;
}

.composer-window-controls span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.composer-topbar-title {
  justify-self: center;
  font-weight: 700;
  color: var(--text);
}

.price-chip {
  justify-self: end;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b0d12;
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
}

.composer-toolbar {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.toolbar-btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 12px;
}

.email-form {
  padding: 8px 20px 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.field-label,
.message-label {
  color: var(--muted);
  font-weight: 600;
}

.field-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 16px 0;
  font-size: 1rem;
}

.field-input::placeholder,
#message::placeholder {
  color: #7e8796;
}

.message-wrap {
  padding-top: 18px;
}

.message-label {
  display: block;
  margin-bottom: 12px;
}

#message {
  width: 100%;
  min-height: 320px;
  resize: vertical;
  border: 1px solid var(--border);
  outline: 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
  color: var(--text);
  padding: 22px 22px;
  line-height: 1.75;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.composer-note {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
  max-width: 460px;
}

.send-button {
  flex: 0 0 auto;
  min-width: 198px;
  border: 0;
  border-radius: 18px;
  padding: 16px 20px;
  background: var(--send-gradient);
  color: #0b0e14;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 16px 34px var(--accent-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.send-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px var(--accent-soft);
}

.send-button-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}

.archive-header {
  border-radius: var(--radius-xl);
  padding: 30px 30px 26px;
}

.archive-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.archive-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  color: #0c1018;
  background: linear-gradient(135deg, #ffffff 0%, #edf3ff 100%);
}

.archive-secondary-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-card {
  margin-top: 22px;
  border-radius: 24px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--hero-gradient);
  color: #0d1017;
}

.profile-name {
  font-weight: 800;
  margin-bottom: 4px;
}

.profile-handle {
  color: var(--muted);
}

.insta-embed-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}

@media (max-width: 1100px) {
  .hero-block,
  .composer-layout {
    grid-template-columns: 1fr;
  }

  .hero-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .insta-embed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .top-switcher {
    align-self: stretch;
    justify-content: center;
  }

  .hero-copy,
  .hero-side-card,
  .archive-header,
  .composer-card {
    border-radius: 24px;
  }

  .hero-copy {
    padding: 26px 22px 24px;
  }

  .hero-copy h1,
  .archive-header h2 {
    font-size: 2.5rem;
  }

  .hero-selector {
    grid-template-columns: 1fr;
  }

  .composer-topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .composer-window-controls,
  .price-chip {
    justify-self: center;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 0;
  }

  .field-input {
    padding-top: 8px;
  }

  #message {
    min-height: 240px;
  }

  .composer-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .send-button {
    width: 100%;
  }

  .insta-embed-grid {
    grid-template-columns: 1fr;
  }
}