:root {
  --navy: #0b132b;
  --blue: #2563eb;
  --purple: #7c3aed;
  --orange: #ff8a00;
  --studio-ink: #1f1712;
  --studio-brown: #9c632f;
  --studio-brown-dark: #70451f;
  --studio-cream: #f6efe6;
  --studio-cream-2: #eadbca;
  --studio-line: rgba(116, 79, 45, 0.22);
  --white: #ffffff;
  --soft: #eef6ff;
  --line: #d9e6fb;
  --text: #18223d;
  --muted: #64708b;
  --shadow: 0 22px 60px rgba(11, 19, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 55%, #f8fbff 100%);
}

html {
  scroll-behavior: smooth;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(14px);
}

body:has(.landing-redesign.active) {
  background:
    radial-gradient(circle at 78% 8%, rgba(112, 69, 31, 0.3), transparent 26rem),
    linear-gradient(135deg, #fbf7f1 0%, #eee0d1 48%, #f8f1e8 100%);
}

body:has(.landing-redesign.active) .site-header {
  width: min(1160px, calc(100% - 40px));
  padding: 24px 0 12px;
}

body:has(.landing-redesign.active) .brand-button {
  display: flex;
  align-items: center;
}

body:has(.landing-redesign.active) .brand-button small {
  display: none;
}

body:has(.landing-redesign.active) .brand-image {
  width: 184px;
  filter: saturate(0.65) sepia(0.35) hue-rotate(350deg);
}

body:has(.landing-redesign.active) .top-actions {
  gap: 28px;
}

body:has(.landing-redesign.active) .header-link {
  color: var(--studio-ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

body:has(.landing-redesign.active) .ghost-button {
  min-width: 104px;
  color: white;
  background: linear-gradient(135deg, #b77436, #9c632f);
  border-color: rgba(112, 69, 31, 0.24);
  box-shadow: 0 12px 28px rgba(112, 69, 31, 0.18);
}

.brand-button,
.text-button {
  border: 0;
  background: transparent;
  color: inherit;
}

.brand-button {
  display: grid;
  gap: 2px;
  padding: 0;
  text-align: left;
}

.brand-image {
  display: block;
  width: 176px;
  height: auto;
}

.compact-brand-image {
  width: 154px;
}

.brand-logo {
  position: relative;
  display: inline-block;
  width: 178px;
  padding-top: 28px;
}

.brand-logo img {
  position: absolute;
  left: 63px;
  top: -6px;
  width: 52px;
  height: auto;
  pointer-events: none;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.brand-i,
.brand-a {
  background: linear-gradient(180deg, var(--orange), #ec4899 52%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-i {
  margin-left: 3px;
  margin-right: 8px;
}

.brand-a {
  margin-right: 1px;
}

.compact-logo {
  width: 154px;
  padding-top: 24px;
}

.compact-logo img {
  left: 55px;
  width: 46px;
}

.compact-logo .brand-word {
  font-size: 1.72rem;
}

.brand-mark {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.brand-mark span {
  background: linear-gradient(180deg, var(--orange), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-button small,
.member-brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.authenticated-user .top-actions .ghost-button[data-view="login"] {
  display: none;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--purple) 72%, var(--blue));
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28);
}

.secondary-button {
  color: var(--navy);
  background: var(--white);
  border-color: #b9cdf5;
}

.ghost-button {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(37, 99, 235, 0.18);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.large {
  min-height: 52px;
  padding-inline: 24px;
}

.full {
  width: 100%;
}

.view {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.view.active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
  min-height: 560px;
}

.hero-copy h1,
.auth-card h1,
.pricing-card h1,
.section-heading h1,
.section-heading h2,
.panel-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5.2vw, 4.8rem);
  line-height: 1.04;
}

.hero-text {
  max-width: 650px;
  color: #34405c;
  font-size: 1.08rem;
  line-height: 1.72;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quick-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.quick-stats span,
.unlock-list span,
.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 0.86rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius);
  background: #0b132b;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 19, 43, 0.72));
}

.hero-media-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: white;
}

.hero-media-caption strong {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 1.25rem;
}

.hero-media-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.hero-cover-image,
.panel-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-band {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-heading h2,
.section-heading h1 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.14;
}

.content-band h2 {
  margin: 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.65rem, 2.55vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.16;
}

.section-heading p,
.content-band p,
.feature-card p,
.auth-card p,
.pricing-card p,
.panel-hero p,
.prompt-card p,
.gpt-card p,
.locked-card p,
.account-card p,
.tip-card p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kit-includes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.prompt-card,
.gpt-card,
.locked-card,
.account-card,
.tip-card,
.pricing-card,
.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.08);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
}

.feature-card h3,
.prompt-card h3,
.gpt-card h3,
.locked-card h2,
.account-card h3,
.tip-card h3 {
  margin: 0;
  color: var(--navy);
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.unlock-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.identity-band {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 22rem),
    rgba(255, 255, 255, 0.82);
}

.identity-grid,
.club-pillars {
  display: grid;
  gap: 14px;
}

.identity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.identity-grid article {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.identity-grid span,
.pri-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.solution-band {
  background:
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.14), transparent 22rem),
    linear-gradient(135deg, #ffffff, #f6fbff);
}

.free-kit-band {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 0, 0.12), transparent 20rem),
    linear-gradient(135deg, #ffffff, #f6fbff);
}

.method-steps {
  display: grid;
  gap: 12px;
}

.method-steps span {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--navy);
  background: white;
  font-weight: 900;
}

.method-steps span::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple), var(--blue));
}

.epc-band {
  background:
    linear-gradient(135deg, rgba(11, 19, 43, 0.98), rgba(11, 19, 43, 0.92)),
    var(--navy);
}

.epc-band .eyebrow,
.epc-band h2,
.epc-band p {
  color: white;
}

.epc-band .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.epc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.epc-grid article {
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.epc-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--purple), var(--blue));
  font-weight: 900;
}

.epc-grid h3 {
  margin: 0;
  color: white;
  font-size: 1.35rem;
}

.epc-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.pri-band {
  background:
    linear-gradient(135deg, rgba(11, 19, 43, 0.96), rgba(37, 99, 235, 0.88)),
    var(--navy);
}

.pri-band .eyebrow,
.pri-band h2,
.pri-band p {
  color: white;
}

.pri-band p {
  color: rgba(255, 255, 255, 0.78);
}

.pri-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
}

.pri-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 36%;
}

.pri-card span,
.pri-card h3,
.pri-card p {
  margin-left: 28px;
  margin-right: 28px;
}

.pri-card span {
  margin-top: 24px;
  color: #ffbe6b;
}

.pri-card h3 {
  margin: 0;
  margin-left: 28px;
  margin-right: 28px;
  color: white;
  font-size: 1.6rem;
}

.pri-card p {
  margin-bottom: 28px;
}

.club-band {
  background:
    radial-gradient(circle at center right, rgba(255, 138, 0, 0.14), transparent 20rem),
    rgba(255, 255, 255, 0.86);
}

.club-pillars {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.club-pillars span {
  display: grid;
  place-items: center;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--navy);
  background: white;
  font-weight: 900;
  text-align: center;
}

.custom-specialists-band {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 0, 0.16), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f2f8ff);
}

.custom-specialists-list {
  display: grid;
  gap: 12px;
}

.custom-specialists-list span {
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.success-card {
  text-align: center;
}

.success-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--blue));
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.24);
}

.custom-specialists-list span::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple), var(--blue));
}

.custom-audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.07);
}

.custom-audience-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.custom-audience-card p {
  color: var(--muted);
  line-height: 1.65;
}

.final-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 0, 0.58), transparent 22rem),
    linear-gradient(135deg, var(--navy), var(--purple) 58%, var(--blue));
}

.final-cta-band h2,
.final-cta-band p,
.final-cta-band .eyebrow {
  color: white;
}

.final-cta-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
}

.final-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.whatsapp-button {
  margin-top: 10px;
}

.contact-line {
  color: var(--muted);
  font-weight: 700;
}

.contact-line a,
.contact-email {
  color: var(--blue);
  font-weight: 900;
  word-break: break-word;
}

.home-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 32px 0 4px;
  border-top: 1px solid var(--line);
}

.home-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-decoration: none;
}

.footer-link strong {
  color: var(--navy);
  text-align: right;
}

.landing-redesign {
  width: min(1160px, calc(100% - 40px));
  padding: 8px 0 64px;
  color: var(--studio-ink);
}

.landing-redesign h1,
.landing-redesign h2 {
  margin: 0;
  color: var(--studio-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.landing-redesign h1 {
  max-width: 520px;
  font-size: clamp(4.2rem, 7.5vw, 5.9rem);
  line-height: 0.86;
}

.landing-redesign h2 {
  font-size: clamp(2.4rem, 4vw, 3.65rem);
  line-height: 0.95;
}

.landing-redesign h3 {
  margin: 0;
  color: var(--studio-ink);
  font-size: 1rem;
  font-weight: 900;
}

.landing-redesign p {
  color: #3b3028;
  line-height: 1.65;
}

.studio-kicker {
  margin: 0 0 18px;
  color: var(--studio-brown);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.studio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 24px;
  align-items: center;
  min-height: 560px;
}

.studio-hero::after {
  content: "";
  position: absolute;
  right: -2%;
  bottom: 2%;
  width: min(38vw, 470px);
  aspect-ratio: 1;
  border-right: 2px solid rgba(255, 255, 255, 0.76);
  border-bottom: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.studio-hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 24px;
}

.studio-hero-copy > p:not(.studio-kicker) {
  max-width: 410px;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.studio-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.studio-actions .primary-button,
.studio-outline-button {
  min-width: 190px;
  min-height: 46px;
  border-radius: 8px;
}

.studio-actions .primary-button {
  background: linear-gradient(135deg, #a86d33, #8d5528);
  box-shadow: 0 16px 28px rgba(112, 69, 31, 0.22);
}

.studio-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(112, 69, 31, 0.35);
  color: var(--studio-brown-dark);
  background: rgba(255, 255, 255, 0.34);
  font-weight: 900;
  text-decoration: none;
}

.studio-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.studio-proof p {
  max-width: 300px;
  margin: 0;
  font-size: 0.86rem;
}

.studio-avatars {
  display: flex;
  min-width: 116px;
}

.studio-avatars img {
  width: 42px;
  height: 42px;
  margin-left: -8px;
  border: 2px solid #f4eadf;
  border-radius: 50%;
  object-fit: cover;
}

.studio-avatars img:first-child {
  margin-left: 0;
}

.studio-hero-visual {
  position: relative;
  align-self: end;
  min-height: 540px;
  overflow: hidden;
}

.studio-hero-visual img {
  position: absolute;
  right: -22px;
  bottom: 0;
  z-index: 1;
  width: min(650px, 100%);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
}

.studio-glow-mark {
  position: absolute;
  right: 58px;
  top: 155px;
  z-index: 2;
  color: rgba(255, 244, 222, 0.96);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  text-shadow: 0 0 9px #f2bd72, 0 0 30px #ffd28c;
}

.studio-method {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  margin-top: -2px;
  border: 1px solid rgba(112, 69, 31, 0.12);
  border-radius: 24px;
  padding: 42px 56px 36px;
  background: rgba(255, 252, 247, 0.86);
  box-shadow: 0 28px 80px rgba(112, 69, 31, 0.12);
  backdrop-filter: blur(10px);
}

.studio-method-heading h2 {
  max-width: 310px;
  font-size: clamp(2.65rem, 4.2vw, 3.9rem);
}

.studio-method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px;
}

.studio-method-steps article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
}

.studio-method-steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 68px;
  right: -40px;
  color: var(--studio-brown);
  font-size: 2rem;
}

.studio-method-steps strong {
  color: var(--studio-brown);
  font-size: 1.35rem;
}

.studio-method-steps span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: var(--studio-brown);
  background: linear-gradient(145deg, #fffaf3, #ead7bf);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.9), 0 18px 36px rgba(112, 69, 31, 0.14);
  font-size: 2rem;
}

.studio-method-steps p {
  margin: 0;
  font-size: 0.92rem;
}

.studio-about {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: stretch;
  min-height: 350px;
  margin-top: 28px;
  border-radius: 12px;
  background: #5d412e;
}

.studio-about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61, 41, 27, 0.9), rgba(61, 41, 27, 0.45) 44%, rgba(61, 41, 27, 0.02));
}

.studio-about img {
  grid-column: 2;
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  object-position: center 36%;
}

.studio-about > div {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  padding: 38px 32px;
}

.studio-about h2,
.studio-about p,
.studio-about a,
.studio-about .studio-kicker {
  color: white;
}

.studio-about p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.86);
}

.studio-about a,
.studio-solutions a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.studio-story {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 42px;
  margin-top: 28px;
  border: 1px solid rgba(112, 69, 31, 0.12);
  border-radius: 18px;
  padding: 40px 42px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 22px 62px rgba(112, 69, 31, 0.1);
}

.studio-story h2 {
  max-width: 420px;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
}

.studio-story-text {
  display: grid;
  gap: 14px;
}

.studio-story-text p {
  margin: 0;
  color: var(--studio-muted);
}

.studio-section-row {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 42px;
  align-items: end;
  margin: 34px 4px 20px;
}

.studio-section-row > p {
  max-width: 400px;
  margin: 0;
}

.studio-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.studio-card-grid article {
  min-height: 170px;
  border: 1px solid var(--studio-line);
  border-radius: 10px;
  padding: 22px;
  background: rgba(255, 250, 244, 0.58);
  box-shadow: 0 18px 46px rgba(112, 69, 31, 0.08);
}

.studio-card-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--studio-brown);
  font-size: 1.8rem;
}

.studio-card-grid p {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.studio-solutions {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 38px;
  align-items: center;
  margin-top: 22px;
  border-radius: 10px;
  padding: 30px 34px;
  color: white;
  background:
    radial-gradient(circle at 88% 40%, rgba(255, 222, 169, 0.2), transparent 12rem),
    linear-gradient(135deg, #734d33, #8b5d37 52%, #624024);
}

.studio-solutions h2,
.studio-solutions p,
.studio-solutions .studio-kicker {
  color: white;
}

.studio-solutions h2 {
  max-width: 360px;
}

.studio-solutions p {
  max-width: 450px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
}

.studio-solutions a {
  min-height: 38px;
  border-radius: 7px;
  padding: 0 18px;
  color: var(--studio-brown-dark);
  background: rgba(255, 255, 255, 0.86);
}

.studio-footer {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.7fr 1fr;
  gap: 32px;
  padding: 28px 4px 4px;
}

.studio-footer img {
  width: 150px;
  margin-bottom: 12px;
  filter: saturate(0.65) sepia(0.35) hue-rotate(350deg);
}

.studio-footer p {
  max-width: 220px;
  margin: 0;
  font-size: 0.9rem;
}

.studio-footer nav {
  display: grid;
  align-content: start;
  gap: 7px;
}

.studio-footer strong {
  margin-bottom: 4px;
  color: var(--studio-ink);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.studio-footer a {
  color: #3b3028;
  font-size: 0.9rem;
  text-decoration: none;
}

.studio-copyright {
  grid-column: 1 / -1;
  max-width: none !important;
  padding-top: 10px;
  text-align: center;
}

.footer-nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.footer-nav a,
.footer-nav .text-button {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.auth-view {
  min-height: calc(100vh - 94px);
  display: none;
  place-items: center;
}

.auth-view.active {
  display: grid;
}

.auth-card,
.pricing-card {
  width: min(520px, 100%);
  padding: 34px;
}

.auth-card label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: var(--navy);
  font-weight: 800;
}

.auth-card input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--navy);
  background: #f8fbff;
}

.text-button {
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.5;
}

.checkout-note {
  border: 1px solid #bcd2fb;
  border-radius: var(--radius);
  padding: 14px;
  background: #f3f8ff;
  color: var(--muted);
  line-height: 1.55;
}

.price {
  margin: 24px 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 3rem;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 1rem;
}

.member-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  min-height: calc(100vh - 130px);
}

.sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.member-brand {
  display: grid;
  gap: 6px;
}

.tab-list {
  display: grid;
  gap: 8px;
}

.tab-button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--navy);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.tab-button.active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.tab-button.locked-tab::after {
  content: " Bloqueado";
  float: right;
  color: var(--orange);
  font-size: 0.72rem;
}

.admin-only {
  display: none;
}

.admin-user .admin-only {
  display: block;
}

.subscriber .tab-button.locked-tab::after {
  content: "";
}

.member-content {
  min-width: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.panel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.panel-hero img {
  max-height: 210px;
  border-radius: var(--radius);
  object-position: center 36%;
}

.compact {
  margin-bottom: 16px;
}

.compact h1,
.compact h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.prompt-grid,
.gpt-grid,
.tip-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prompt-card,
.gpt-card,
.tip-card,
.account-card {
  padding: 20px;
}

.prompt-card pre {
  overflow: auto;
  max-height: 190px;
  white-space: pre-wrap;
  color: #33415f;
  font-family: Inter, sans-serif;
  line-height: 1.55;
}

.prompt-actions,
.gpt-card,
.locked-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.free-gpt {
  margin-top: 18px;
  background: linear-gradient(135deg, #ffffff, #f2f8ff);
}

.specialists-note {
  margin: 0 0 18px;
  border: 1px solid #bcd2fb;
  border-radius: var(--radius);
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff, #edf6ff);
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.07);
}

.specialists-note h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.specialists-note p {
  color: var(--muted);
  line-height: 1.65;
}

.welcome-hero {
  min-height: 430px;
}

.welcome-image-card {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(112, 69, 31, 0.14);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.82);
  box-shadow: 0 26px 74px rgba(112, 69, 31, 0.12);
}

.welcome-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.welcome-hero .welcome-signature {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  color: var(--studio-ink);
}

.welcome-signature span,
.welcome-signature small {
  color: rgba(31, 23, 18, 0.66);
  font-size: 0.88rem;
}

.welcome-signature strong {
  color: var(--studio-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.3rem;
  line-height: 0.8;
}

.welcome-paths {
  margin: 0 0 18px;
  border: 1px solid rgba(112, 69, 31, 0.13);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 18px 48px rgba(112, 69, 31, 0.08);
}

.welcome-section-heading {
  margin-bottom: 18px;
  text-align: center;
}

.welcome-section-heading h2 {
  margin: 0;
  color: var(--studio-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1;
}

.welcome-section-heading p {
  margin: 6px 0 0;
  color: rgba(31, 23, 18, 0.62);
}

.journey-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.journey-choice-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 250px;
  border: 1px solid rgba(112, 69, 31, 0.12);
  border-radius: 14px;
  padding: 22px;
  background: rgba(255, 250, 244, 0.66);
}

.journey-choice-card h3 {
  max-width: 280px;
  margin: 0;
  color: var(--studio-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 0.98;
}

.journey-choice-card p {
  margin: 0;
  color: rgba(31, 23, 18, 0.68);
  line-height: 1.55;
}

.journey-choice-card .primary-button {
  align-self: end;
  margin-top: auto;
}

.journey-icon,
.kit-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
}

.journey-choice-card.purple .journey-icon {
  color: #7040a5;
  background: rgba(112, 64, 165, 0.14);
}

.journey-choice-card.purple .primary-button {
  background: linear-gradient(135deg, #7c4bb0, #6b3aa0);
}

.journey-choice-card.brown .journey-icon {
  color: var(--studio-brown);
  background: rgba(156, 99, 47, 0.15);
}

.journey-choice-card.green .journey-icon {
  color: #4f8753;
  background: rgba(79, 135, 83, 0.15);
}

.journey-choice-card.green .primary-button {
  background: linear-gradient(135deg, #5e9b61, #467e4e);
}

.welcome-kit-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(112, 69, 31, 0.13);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 252, 247, 0.82);
  box-shadow: 0 18px 48px rgba(112, 69, 31, 0.08);
}

.welcome-kit-intro {
  display: flex;
  gap: 16px;
  align-items: center;
}

.kit-icon {
  flex: 0 0 auto;
  color: var(--studio-brown);
  background: rgba(156, 99, 47, 0.12);
}

.welcome-kit-intro h2 {
  margin: 0;
  color: var(--studio-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
}

.welcome-kit-intro p {
  margin: 8px 0 0;
  color: rgba(31, 23, 18, 0.66);
  line-height: 1.55;
}

.welcome-kit-pill {
  min-height: 76px;
  border: 1px solid rgba(112, 69, 31, 0.1);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 250, 244, 0.72);
}

.welcome-kit-pill strong,
.welcome-kit-pill span {
  display: block;
}

.welcome-kit-pill strong {
  color: var(--studio-ink);
}

.welcome-kit-pill span {
  margin-top: 4px;
  color: rgba(31, 23, 18, 0.62);
  font-size: 0.9rem;
}

.welcome-quote {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  border-radius: 14px;
  padding: 24px 34px;
  color: white;
  background:
    radial-gradient(circle at 62% 50%, rgba(255, 211, 132, 0.22), transparent 9rem),
    linear-gradient(135deg, #5c3f2b, #7b5435);
}

.welcome-quote p {
  margin: 0;
  color: white;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1;
}

.welcome-quote span {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.project-zero-page {
  display: grid;
  gap: 18px;
}

.project-zero-hero .primary-button {
  width: fit-content;
  margin-top: 10px;
}

.project-zero-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-zero-steps article {
  border: 1px solid rgba(112, 69, 31, 0.14);
  border-radius: 14px;
  padding: 22px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 18px 48px rgba(112, 69, 31, 0.08);
}

.project-zero-steps span {
  color: var(--studio-brown);
  font-weight: 900;
}

.project-zero-steps h3 {
  margin: 8px 0 10px;
  color: var(--studio-ink);
}

.project-zero-steps p {
  margin: 0;
  color: rgba(31, 23, 18, 0.66);
  line-height: 1.6;
}

.locked-card {
  display: grid;
  gap: 18px;
  min-height: 430px;
  padding: 36px;
  place-items: center;
  text-align: center;
}

.lock-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--purple), var(--blue));
  font-size: 2rem;
  font-weight: 900;
}

.locked-card ul {
  display: inline-grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  text-align: left;
}

.gpt-grid {
  margin-top: 20px;
}

.gpt-card {
  align-items: flex-start;
}

.notice-card {
  padding: 24px;
  border: 1px solid #bcd2fb;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #edf6ff);
}

.category-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.library-toolbar {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.07);
}

.library-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 800;
}

.library-search {
  position: relative;
  display: grid;
  gap: 8px;
}

.library-search span {
  color: var(--navy);
  font-weight: 900;
}

.library-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cbdaf4;
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--navy);
  background: #ffffff;
  font-size: 1rem;
  outline: none;
}

.library-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.library-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: #41506d;
  background: white;
  font-weight: 900;
}

.library-filter span {
  color: #8793aa;
  font-weight: 800;
}

.library-filter.active {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.library-filter.active span {
  color: rgba(255, 255, 255, 0.72);
}

.library-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 18px;
}

.library-section-title h2,
.library-section-title p {
  margin: 0;
}

.library-section-title h2 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.library-section-title p {
  color: var(--muted);
  font-weight: 700;
}

.library-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.library-card,
.library-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: white;
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.07);
}

.library-card h3,
.library-empty h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
}

.library-card p,
.library-empty p {
  color: var(--muted);
  line-height: 1.6;
}

.library-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.prompt-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(11, 19, 43, 0.58);
  backdrop-filter: blur(8px);
}

.prompt-modal.open {
  display: grid;
}

.prompt-modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.prompt-modal-card h2 {
  margin: 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.prompt-modal-card p {
  color: var(--muted);
  line-height: 1.65;
}

.prompt-modal-card pre {
  max-height: 340px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: #33415f;
  background: #f8fbff;
  font-family: Inter, sans-serif;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: white;
  font-size: 1.4rem;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  transform: translateY(120%);
  max-width: min(360px, calc(100% - 40px));
  border-radius: var(--radius);
  padding: 14px 18px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease;
}

body:has(.auth-view.active) {
  color: var(--studio-ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 238, 207, 0.86), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(156, 99, 47, 0.2), transparent 27rem),
    linear-gradient(135deg, #fbf7f1 0%, #eee0d1 52%, #f9f2e9 100%);
}

body:has(.auth-view.active) .site-header {
  width: min(1160px, calc(100% - 40px));
  padding: 24px 0 12px;
}

body:has(.auth-view.active) .brand-button small {
  display: none;
}

body:has(.auth-view.active) .brand-image {
  width: 184px;
  filter: saturate(0.65) sepia(0.35) hue-rotate(350deg);
}

body:has(.auth-view.active) .header-link,
body:has(#app-view.active) .header-link {
  display: none;
}

body:has(.auth-view.active) .ghost-button {
  min-width: 104px;
  color: white;
  border-color: rgba(112, 69, 31, 0.24);
  background: linear-gradient(135deg, #b77436, #9c632f);
  box-shadow: 0 12px 28px rgba(112, 69, 31, 0.18);
}

body:has(.auth-view.active) .primary-button {
  color: white;
  background: linear-gradient(135deg, #b77436, #9c632f);
  box-shadow: 0 14px 32px rgba(112, 69, 31, 0.2);
}

body:has(.auth-view.active) .secondary-button,
body:has(.auth-view.active) .text-button {
  color: var(--studio-brown-dark);
}

body:has(.auth-view.active) .secondary-button {
  border-color: rgba(112, 69, 31, 0.22);
  background: rgba(255, 252, 247, 0.74);
}

body:has(.auth-view.active) .auth-view {
  width: min(100% - 40px, 520px);
  padding-top: 42px;
}

body:has(.auth-view.active) .auth-card,
body:has(.auth-view.active) .pricing-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(112, 69, 31, 0.16);
  border-radius: 18px;
  padding: 38px;
  background:
    radial-gradient(circle at top right, rgba(183, 116, 54, 0.15), transparent 16rem),
    rgba(255, 252, 247, 0.82);
  box-shadow: 0 26px 74px rgba(112, 69, 31, 0.13);
}

body:has(.auth-view.active) .auth-card::after,
body:has(.auth-view.active) .pricing-card::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(183, 116, 54, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

body:has(.auth-view.active) .auth-card > *,
body:has(.auth-view.active) .pricing-card > * {
  position: relative;
  z-index: 1;
}

body:has(.auth-view.active) .auth-card h1,
body:has(.auth-view.active) .pricing-card h1 {
  color: var(--studio-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 8vw, 4.4rem);
  font-weight: 700;
  line-height: 0.98;
}

body:has(.auth-view.active) .auth-card p,
body:has(.auth-view.active) .pricing-card p {
  color: rgba(31, 23, 18, 0.68);
}

body:has(.auth-view.active) .eyebrow {
  color: var(--studio-brown);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

body:has(.auth-view.active) .auth-card label {
  color: var(--studio-ink);
}

body:has(.auth-view.active) .auth-card input {
  border-color: rgba(112, 69, 31, 0.16);
  color: var(--studio-ink);
  background: rgba(255, 255, 255, 0.72);
}

body:has(.auth-view.active) .auth-card input:focus {
  border-color: rgba(156, 99, 47, 0.58);
  box-shadow: 0 0 0 4px rgba(183, 116, 54, 0.12);
}

body:has(.auth-view.active) .price {
  color: var(--studio-brown-dark);
}

body:has(.auth-view.active) .pricing-card li {
  color: rgba(31, 23, 18, 0.76);
}

.toast.show {
  transform: translateY(0);
}

body:has(#app-view.active) {
  color: var(--studio-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 238, 207, 0.9), transparent 22rem),
    radial-gradient(circle at 88% 12%, rgba(156, 99, 47, 0.18), transparent 28rem),
    linear-gradient(135deg, #fbf7f1 0%, #eee0d1 52%, #f9f2e9 100%);
}

body:has(#app-view.active) .site-header {
  width: min(1220px, calc(100% - 40px));
  padding: 22px 0 14px;
}

body:has(#app-view.active) .brand-button small {
  color: var(--studio-brown-dark);
}

body:has(#app-view.active) .brand-image {
  filter: saturate(0.65) sepia(0.35) hue-rotate(350deg);
}

body:has(#app-view.active) .header-link {
  color: var(--studio-ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

body:has(#app-view.active) .ghost-button,
body:has(#app-view.active) .secondary-button {
  color: var(--studio-brown-dark);
  border-color: rgba(112, 69, 31, 0.22);
  background: rgba(255, 252, 247, 0.74);
}

body:has(#app-view.active) .primary-button {
  color: white;
  background: linear-gradient(135deg, #b77436, #9c632f);
  box-shadow: 0 14px 32px rgba(112, 69, 31, 0.2);
}

#app-view {
  width: min(1220px, calc(100% - 40px));
}

#app-view .member-layout {
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 24px;
  min-height: calc(100vh - 124px);
}

#app-view .sidebar {
  top: 94px;
  gap: 22px;
  overflow: hidden;
  border: 1px solid rgba(112, 69, 31, 0.16);
  border-radius: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 232, 195, 0.72), transparent 12rem),
    rgba(255, 252, 247, 0.78);
  box-shadow: 0 24px 70px rgba(112, 69, 31, 0.12);
  backdrop-filter: blur(12px);
}

#app-view .member-brand {
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(112, 69, 31, 0.13);
}

#app-view .member-brand small {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(112, 69, 31, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--studio-brown-dark);
  background: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.1em;
}

#app-view .tab-list {
  gap: 7px;
}

#app-view .tab-button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 14px;
  color: rgba(31, 23, 18, 0.76);
  background: transparent;
  font-weight: 900;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

#app-view .tab-button:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.52);
}

#app-view .tab-button.active {
  color: white;
  border-color: rgba(112, 69, 31, 0.18);
  background: linear-gradient(135deg, #7a5033, #b77436);
  box-shadow: 0 14px 34px rgba(112, 69, 31, 0.2);
}

#app-view .tab-button.locked-tab::after {
  content: "Bloqueado";
  float: right;
  border-radius: 999px;
  padding: 3px 8px;
  color: #8b5d37;
  background: rgba(183, 116, 54, 0.12);
  font-size: 0.68rem;
}

#app-view.subscriber .tab-button.locked-tab::after,
.subscriber #app-view .tab-button.locked-tab::after {
  content: "";
  padding: 0;
}

#app-view .member-content {
  min-width: 0;
}

#app-view .panel-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(112, 69, 31, 0.14);
  border-radius: 18px;
  padding: 34px;
  background:
    radial-gradient(circle at 86% 24%, rgba(183, 116, 54, 0.18), transparent 15rem),
    linear-gradient(135deg, rgba(255, 252, 247, 0.94), rgba(239, 222, 202, 0.72));
  box-shadow: 0 26px 74px rgba(112, 69, 31, 0.12);
}

#app-view .panel-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(183, 116, 54, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

#app-view .panel-hero > * {
  position: relative;
  z-index: 1;
}

#app-view .panel-hero h1,
#app-view .section-heading h1,
#app-view .section-heading h2,
#app-view .library-section-title h2,
#app-view .prompt-modal-card h2 {
  color: var(--studio-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

#app-view .panel-hero h1 {
  max-width: 650px;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

#app-view .panel-hero p,
#app-view .section-heading p,
#app-view .specialists-note p,
#app-view .prompt-card p,
#app-view .gpt-card p,
#app-view .locked-card p,
#app-view .account-card p,
#app-view .tip-card p,
#app-view .library-card p,
#app-view .library-empty p,
#app-view .notice-card p {
  color: rgba(31, 23, 18, 0.68);
}

#app-view .eyebrow {
  color: var(--studio-brown);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

#app-view .panel-hero img {
  width: 100%;
  max-height: 240px;
  border: 1px solid rgba(112, 69, 31, 0.14);
  border-radius: 16px;
  background: #f7efe5;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 40px rgba(112, 69, 31, 0.12);
}

#app-view .section-heading.compact {
  max-width: 760px;
  margin: 8px 0 18px;
}

#app-view .section-heading.compact h1,
#app-view .section-heading.compact h2 {
  font-size: clamp(2.25rem, 4vw, 3.35rem);
}

#app-view .prompt-card,
#app-view .gpt-card,
#app-view .tip-card,
#app-view .account-card,
#app-view .locked-card,
#app-view .library-card,
#app-view .library-empty,
#app-view .notice-card,
#app-view .specialists-note,
#app-view .library-toolbar {
  border: 1px solid rgba(112, 69, 31, 0.14);
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 18px 48px rgba(112, 69, 31, 0.09);
}

#app-view .prompt-card,
#app-view .gpt-card,
#app-view .tip-card,
#app-view .account-card,
#app-view .library-card,
#app-view .library-empty {
  padding: 22px;
}

#app-view .prompt-card h3,
#app-view .gpt-card h3,
#app-view .locked-card h2,
#app-view .account-card h3,
#app-view .tip-card h3,
#app-view .library-card h3,
#app-view .library-empty h3,
#app-view .specialists-note h3 {
  color: var(--studio-ink);
}

#app-view .prompt-card pre,
#app-view .prompt-modal-card pre {
  border-color: rgba(112, 69, 31, 0.14);
  color: rgba(31, 23, 18, 0.78);
  background: rgba(255, 255, 255, 0.62);
}

#app-view .specialists-note {
  background:
    radial-gradient(circle at top right, rgba(183, 116, 54, 0.14), transparent 16rem),
    rgba(255, 252, 247, 0.78);
}

#app-view .free-gpt {
  background:
    radial-gradient(circle at right, rgba(183, 116, 54, 0.16), transparent 18rem),
    rgba(255, 252, 247, 0.82);
}

#app-view .locked-card {
  min-height: 410px;
  background:
    radial-gradient(circle at top, rgba(183, 116, 54, 0.15), transparent 18rem),
    rgba(255, 252, 247, 0.84);
}

#app-view .lock-icon {
  color: white;
  background: linear-gradient(135deg, #7a5033, #b77436);
  box-shadow: 0 16px 36px rgba(112, 69, 31, 0.2);
}

#app-view .category-pill,
#app-view .quick-stats span,
#app-view .unlock-list span {
  border-color: rgba(112, 69, 31, 0.16);
  color: var(--studio-brown-dark);
  background: rgba(255, 252, 247, 0.72);
}

#app-view .library-toolbar {
  background: rgba(255, 252, 247, 0.78);
}

#app-view .library-toolbar p,
#app-view .library-section-title p {
  color: rgba(31, 23, 18, 0.62);
}

#app-view .library-search span {
  color: var(--studio-ink);
}

#app-view .library-search input {
  border-color: rgba(112, 69, 31, 0.16);
  color: var(--studio-ink);
  background: rgba(255, 255, 255, 0.72);
}

#app-view .library-search input:focus {
  border-color: rgba(156, 99, 47, 0.58);
  box-shadow: 0 0 0 4px rgba(183, 116, 54, 0.12);
}

#app-view .library-filter {
  border-color: rgba(112, 69, 31, 0.16);
  color: var(--studio-brown-dark);
  background: rgba(255, 252, 247, 0.78);
}

#app-view .library-filter span {
  color: rgba(112, 69, 31, 0.58);
}

#app-view .library-filter.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #7a5033, #b77436);
}

#app-view .library-filter.active span {
  color: rgba(255, 255, 255, 0.75);
}

#app-view .prompt-modal {
  background: rgba(31, 23, 18, 0.48);
}

#app-view .prompt-modal-card {
  border: 1px solid rgba(112, 69, 31, 0.16);
  border-radius: 18px;
  background: #fffaf4;
  box-shadow: 0 26px 80px rgba(31, 23, 18, 0.22);
}

#app-view .journey-choice-card.purple .primary-button {
  background: linear-gradient(135deg, #7c4bb0, #6b3aa0);
}

#app-view .journey-choice-card.green .primary-button {
  background: linear-gradient(135deg, #5e9b61, #467e4e);
}

@media (max-width: 900px) {
  body:has(#app-view.active) .site-header {
    position: static;
    width: min(100% - 28px, 760px);
  }

  #app-view {
    width: min(100% - 24px, 760px);
  }

  #app-view .member-layout,
  #app-view .panel-hero,
  #app-view .prompt-grid,
  #app-view .library-card-grid,
  #app-view .gpt-grid,
  #app-view .tip-grid,
  #app-view .account-grid {
    grid-template-columns: 1fr;
  }

  #app-view .member-layout {
    gap: 18px;
  }

  #app-view .sidebar {
    position: static;
    width: 100%;
  }

  #app-view .tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #app-view .panel-hero {
    padding: 28px;
  }

  #app-view .panel-hero img {
    max-height: 240px;
  }

  #app-view .section-heading.compact h1,
  #app-view .section-heading.compact h2 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  body:has(.landing-redesign.active) .site-header {
    width: min(100% - 28px, 760px);
  }

  body:has(.landing-redesign.active) .top-actions {
    gap: 12px;
  }

  body:has(.landing-redesign.active) .header-link {
    display: none;
  }

  .landing-redesign {
    width: min(100% - 24px, 760px);
  }

  .studio-hero,
  .studio-method,
  .studio-story,
  .studio-section-row,
  .studio-solutions,
  .studio-footer {
    grid-template-columns: 1fr;
  }

  .studio-hero {
    gap: 0;
    min-height: auto;
  }

  .studio-hero-copy {
    padding: 30px 0 0;
  }

  .landing-redesign h1 {
    max-width: 680px;
    font-size: clamp(3.25rem, 14vw, 5.2rem);
  }

  .studio-hero-visual {
    min-height: 440px;
    margin-top: -10px;
  }

  .studio-hero-visual img {
    right: 0;
    width: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .studio-glow-mark {
    right: 30px;
    top: 110px;
  }

  .studio-method {
    padding: 32px;
  }

  .studio-story {
    padding: 32px;
  }

  .studio-method-steps,
  .studio-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-choice-grid,
  .project-zero-steps {
    grid-template-columns: 1fr;
  }

  .welcome-kit-band {
    grid-template-columns: 1fr 1fr;
  }

  .welcome-kit-band .primary-button {
    grid-column: 1 / -1;
  }

  .studio-method-steps {
    gap: 18px;
  }

  .studio-method-steps article:not(:last-child)::after {
    display: none;
  }

  .studio-about {
    grid-template-columns: 1fr;
  }

  .studio-about img {
    grid-column: 1;
    min-height: 460px;
  }

  .studio-about > div {
    align-self: center;
    grid-column: 1;
  }

  .studio-about::after {
    background: linear-gradient(180deg, rgba(61, 41, 27, 0.08), rgba(61, 41, 27, 0.82));
  }

  .hero-grid,
  .split-band,
  .identity-grid,
  .kit-includes,
  .epc-grid,
  .club-pillars,
  .final-cta-band,
  .member-layout,
  .panel-hero,
  .prompt-grid,
  .library-card-grid,
  .gpt-grid,
  .tip-grid,
  .account-grid,
  .feature-grid.three {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-media {
    order: -1;
  }

  .sidebar {
    position: static;
  }

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

  .panel-hero img {
    max-height: 190px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
    line-height: 1.08;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body:has(#app-view.active) .site-header {
    align-items: center;
    flex-direction: row;
  }

  body:has(#app-view.active) .brand-image {
    width: 142px;
  }

  #app-view {
    width: min(100% - 18px, 480px);
    padding-top: 12px;
  }

  #app-view .sidebar {
    padding: 18px;
    border-radius: 16px;
  }

  #app-view .tab-list {
    grid-template-columns: 1fr;
  }

  #app-view .tab-button {
    min-height: 44px;
  }

  #app-view .panel-hero,
  #app-view .locked-card,
  #app-view .notice-card,
  #app-view .specialists-note,
  #app-view .library-toolbar,
  #app-view .prompt-card,
  #app-view .gpt-card,
  #app-view .tip-card,
  #app-view .account-card,
  #app-view .library-card,
  #app-view .library-empty {
    padding: 20px;
  }

  #app-view .panel-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.1rem);
  }

  #app-view .section-heading.compact h1,
  #app-view .section-heading.compact h2,
  #app-view .library-section-title h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  #app-view .library-filters {
    align-items: flex-start;
    flex-direction: column;
  }

  #app-view .library-filter {
    width: fit-content;
    max-width: 100%;
  }

  body:has(.landing-redesign.active) .site-header {
    align-items: center;
    flex-direction: row;
  }

  body:has(.landing-redesign.active) .brand-image {
    width: 142px;
  }

  body:has(.landing-redesign.active) .ghost-button {
    min-width: 84px;
    min-height: 40px;
    padding: 0 14px;
  }

  .landing-redesign {
    width: min(100% - 18px, 480px);
    padding-bottom: 36px;
  }

  .landing-redesign h1 {
    font-size: clamp(3rem, 18vw, 4.15rem);
  }

  .landing-redesign h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .studio-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .studio-actions .primary-button,
  .studio-outline-button {
    width: 100%;
  }

  .studio-proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-hero-visual {
    min-height: 390px;
  }

  .studio-hero::after {
    right: -38%;
    width: 92vw;
  }

  .studio-method,
  .studio-story,
  .studio-solutions {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .studio-method-steps,
  .studio-card-grid {
    grid-template-columns: 1fr;
  }

  .welcome-paths,
  .welcome-kit-band {
    padding: 18px;
  }

  .welcome-kit-band {
    grid-template-columns: 1fr;
  }

  .welcome-kit-intro {
    align-items: flex-start;
  }

  .welcome-quote {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .project-zero-hero .primary-button {
    width: 100%;
  }

  .studio-about {
    min-height: 520px;
  }

  .studio-about img {
    min-height: 520px;
    object-position: center;
  }

  .studio-about > div {
    justify-content: end;
    min-height: 520px;
    padding: 28px 22px;
  }

  .studio-section-row {
    gap: 12px;
    margin-top: 28px;
  }

  .studio-footer {
    gap: 22px;
  }

  .studio-copyright {
    text-align: left;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions,
  .hero-actions,
  .prompt-actions,
  .library-card-actions,
  .gpt-card,
  .locked-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .content-band,
  .auth-card,
  .pricing-card,
  .panel-hero,
  .locked-card {
    padding: 22px;
  }

  .home-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-contact {
    width: 100%;
  }

  .footer-link {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
  }

  .footer-link strong {
    text-align: left;
  }
}
