:root {
  --ink: #17120f;
  --ink-soft: #4d4038;
  --paper: #eee3dd;
  --paper-strong: #f7f0eb;
  --surface: #17120f;
  --surface-soft: #231b17;
  --muted: #776b62;
  --line: rgba(23, 18, 15, 0.16);
  --gold: #d3a57e;
  --gold-dark: #9f744f;
  --teal: #d3a57e;
  --teal-soft: #e5d6cd;
  --shadow: 0 24px 70px rgba(23, 18, 15, 0.18);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(211, 165, 126, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(23, 18, 15, 0.08), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 18, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 18, 15, 0.035) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.34;
  content: "";
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 10px 6vw;
  border-bottom: 1px solid rgba(23, 18, 15, 0.12);
  background: rgba(238, 227, 221, 0.86);
  backdrop-filter: blur(18px);
}

.home-page .site-header {
  grid-template-columns: 1fr auto;
}

.home-page .brand-mark {
  display: none;
}

.home-page .main-nav {
  justify-content: flex-start;
}

.home-page .header-actions {
  justify-self: end;
  width: max-content;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-actions[hidden],
.member-header[hidden] {
  display: none;
}

.member-header {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  max-width: min(360px, 40vw);
  border: 1px solid rgba(23, 18, 15, 0.14);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12)),
    rgba(247, 240, 235, 0.76);
  box-shadow: 0 14px 34px rgba(23, 18, 15, 0.1);
}

.member-avatar-button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(211, 165, 126, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(240, 229, 223, 0.64), transparent 52%),
    linear-gradient(145deg, #17120f, #3d2e25);
  color: #f0e5df;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 0 1px rgba(240, 229, 223, 0.08);
}

.member-avatar-button::after {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  height: 14px;
  place-items: center;
  background: rgba(23, 18, 15, 0.72);
  color: #f0e5df;
  font-size: 0.58rem;
  line-height: 1;
  opacity: 0;
  transition: opacity 180ms ease;
  content: "Editar";
}

.member-avatar-button:hover::after,
.member-avatar-button:focus-visible::after {
  opacity: 1;
}

.member-avatar-button.is-loading::after {
  opacity: 1;
  content: "...";
}

.member-avatar-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-email-link {
  min-width: 0;
  max-width: 270px;
  margin-left: 10px;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-email-link:hover {
  color: var(--gold-dark);
}

.brand-mark img {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(23, 18, 15, 0.72);
  font-size: 0.95rem;
}

.main-nav a,
.text-link,
.site-footer a,
.auth-return {
  position: relative;
  font-weight: 700;
}

.main-nav a:hover,
.text-link:hover,
.site-footer a:hover,
.auth-return:hover {
  color: var(--gold-dark);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.header-action,
.primary-button {
  background: var(--ink);
  color: #f0e5df;
  box-shadow: 0 16px 34px rgba(23, 18, 15, 0.16);
}

.secondary-button {
  background: rgba(23, 18, 15, 0.035);
  color: var(--ink);
  border-color: var(--line);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.header-action:hover,
.primary-button:hover {
  box-shadow: 0 20px 42px rgba(23, 18, 15, 0.24);
}

.header-action-secondary {
  background: rgba(240, 229, 223, 0.42);
  color: var(--ink);
  border-color: rgba(23, 18, 15, 0.16);
  box-shadow: none;
}

.header-action-secondary:hover {
  background: rgba(211, 165, 126, 0.16);
  box-shadow: 0 14px 30px rgba(23, 18, 15, 0.12);
}

.full-width {
  width: 100%;
}

.hero-section {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(72px, 10svh, 116px) 6vw;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1c1511;
}

.hero-section::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(23, 18, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 18, 15, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.48;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 72%);
  content: "";
}

.hero-section::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 112px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(23, 18, 15, 0.1));
  content: "";
}

.hero-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
}

.hero-image-layer::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(238, 227, 221, 0.72) 0%, rgba(238, 227, 221, 0.46) 27%, rgba(238, 227, 221, 0.16) 48%, rgba(23, 18, 15, 0.48) 100%),
    linear-gradient(180deg, rgba(23, 18, 15, 0.28), rgba(238, 227, 221, 0.14) 42%, rgba(23, 18, 15, 0.42));
  content: "";
}

.hero-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.86) contrast(1.03);
}

.hero-copy,
.band-content,
.section-heading,
.plans-copy {
  max-width: 780px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(760px, 92vw);
  align-self: center;
  justify-self: center;
  padding-top: 0;
  text-align: center;
  animation: heroReveal 760ms ease-out both;
}

.hero-brand-logo {
  width: min(620px, 82vw);
  margin: 0 auto;
  image-rendering: auto;
  filter: none;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
}

.hero-copy h1 {
  max-width: 540px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.1vw, 4.2rem);
  font-weight: 700;
}

.hero-lead {
  max-width: 480px;
  margin-bottom: 0;
  color: rgba(23, 18, 15, 0.72);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: heroReveal 920ms 120ms ease-out both;
}

.product-window {
  position: relative;
  width: min(100%, 640px);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(23, 18, 15, 0.16);
  border-radius: var(--radius);
  background: rgba(23, 18, 15, 0.88);
  box-shadow: var(--shadow);
  animation: studioFloat 7s ease-in-out infinite;
}

.product-window::before {
  position: absolute;
  inset: -45% auto -45% -70%;
  z-index: 1;
  width: 45%;
  transform: rotate(12deg);
  background: linear-gradient(90deg, transparent, rgba(240, 229, 223, 0.16), transparent);
  animation: windowSheen 6s ease-in-out infinite;
  content: "";
}

.product-window > * {
  position: relative;
  z-index: 2;
}

.window-topbar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(240, 229, 223, 0.12);
}

.window-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.75;
}

.studio-preview {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 22px;
  padding: 26px;
}

.preview-panel,
.preview-grid,
.preview-lines {
  border-radius: var(--radius);
}

.preview-panel {
  min-height: 304px;
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(211, 165, 126, 0.34), rgba(240, 229, 223, 0.12)),
    #17120f;
  color: #f0e5df;
  transform: translateZ(0);
}

.preview-panel p {
  color: var(--gold);
  font-weight: 900;
}

.preview-panel strong {
  display: block;
  margin: 48px 0 18px;
  font-size: 2rem;
  line-height: 1.1;
}

.preview-panel small {
  color: rgba(240, 229, 223, 0.76);
}

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

.preview-tile {
  min-height: 112px;
  border: 1px solid rgba(240, 229, 223, 0.14);
  border-radius: var(--radius);
  animation: tilePulse 6s ease-in-out infinite;
}

.preview-tile:nth-child(2) {
  animation-delay: 900ms;
}

.preview-tile:nth-child(3) {
  animation-delay: 1500ms;
}

.preview-tile:nth-child(4) {
  animation-delay: 2300ms;
}

.preview-tile.gold {
  background: linear-gradient(150deg, #d3a57e, #f0e5df);
}

.preview-tile.teal {
  background: linear-gradient(150deg, #17120f, #4d4038);
}

.preview-tile.ink {
  background: linear-gradient(150deg, #17120f, #2b211c);
}

.preview-tile.soft {
  background: linear-gradient(150deg, #d9c8bd, #cdbbae);
}

.preview-lines {
  grid-column: 2;
  display: grid;
  gap: 12px;
  align-content: start;
  margin-top: -72px;
  padding: 18px;
  background: rgba(240, 229, 223, 0.08);
}

.preview-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(240, 229, 223, 0.22);
  transform-origin: left;
  animation: lineBreath 4.8s ease-in-out infinite;
}

.preview-lines span:nth-child(2) {
  width: 76%;
}

.preview-lines span:nth-child(3) {
  width: 54%;
  background: rgba(211, 165, 126, 0.58);
}

.brand-story-section,
.pressure-section,
.legacy-method-section,
.studio-section,
.comparison-section,
.ecosystem-section {
  padding: 96px 6vw;
}

.brand-story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 52px;
  align-items: center;
  background:
    radial-gradient(circle at 8% 16%, rgba(211, 165, 126, 0.16), transparent 28rem),
    var(--paper);
}

.story-copy {
  max-width: 600px;
}

.story-copy h2,
.pressure-heading h2,
.legacy-method-section .section-heading h2,
.studio-copy-panel h2,
.comparison-copy h2,
.ecosystem-section .section-heading h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: 1.02;
}

.story-copy p,
.pressure-heading p,
.studio-copy-panel p,
.comparison-copy p,
.ecosystem-section .section-heading p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.story-media,
.studio-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(23, 18, 15, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.story-media img,
.studio-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
}

.story-media::after,
.studio-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 46%, rgba(23, 18, 15, 0.44) 100%),
    linear-gradient(90deg, rgba(23, 18, 15, 0.22), transparent 42%);
  content: "";
}

.pressure-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1.24fr);
  gap: 44px;
  align-items: end;
  border-top: 1px solid rgba(23, 18, 15, 0.12);
  border-bottom: 1px solid rgba(23, 18, 15, 0.12);
  background:
    radial-gradient(circle at 86% 22%, rgba(211, 165, 126, 0.22), transparent 30rem),
    linear-gradient(135deg, #17120f, #231b17);
  color: #f0e5df;
}

.pressure-heading h2,
.pressure-heading p,
.pressure-section .section-kicker {
  color: #f0e5df;
}

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

.market-proof-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(240, 229, 223, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(211, 165, 126, 0.22), rgba(240, 229, 223, 0.04)),
    rgba(240, 229, 223, 0.06);
}

.market-proof-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 0.9;
}

.market-proof-grid span,
.source-line {
  color: rgba(240, 229, 223, 0.72);
}

.source-line {
  grid-column: 2;
  margin: 14px 0 0;
  font-size: 0.82rem;
}

.source-line a {
  color: var(--gold);
  font-weight: 800;
}

.legacy-method-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(23, 18, 15, 0.06), transparent 30rem),
    linear-gradient(180deg, #eee3dd, #e3d5cc);
}

.method-grid,
.comparison-grid,
.ecosystem-grid {
  display: grid;
  gap: 18px;
}

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

.method-grid article,
.comparison-grid article,
.ecosystem-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12)),
    var(--paper-strong);
  box-shadow: 0 18px 42px rgba(23, 18, 15, 0.08);
}

.method-grid article {
  min-height: 260px;
  padding: 28px;
}

.method-grid span,
.ecosystem-grid span,
.comparison-grid span {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-grid h3,
.ecosystem-grid h3 {
  margin: 42px 0 12px;
  font-size: 1.6rem;
}

.method-grid p,
.comparison-grid p,
.ecosystem-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(420px, 1.18fr) minmax(0, 0.82fr);
  gap: 48px;
  align-items: center;
  background: var(--paper);
}

.studio-copy-panel {
  max-width: 560px;
}

.studio-benefits {
  display: grid;
  gap: 10px;
  margin: 26px 0 10px;
}

.studio-benefits span {
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(23, 18, 15, 0.14);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(247, 240, 235, 0.66);
  color: var(--ink);
  font-weight: 800;
}

.comparison-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 44px;
  align-items: center;
  background:
    radial-gradient(circle at 80% 18%, rgba(211, 165, 126, 0.18), transparent 26rem),
    #e5d8cf;
}

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

.comparison-grid article {
  min-height: 300px;
  padding: 28px;
}

.comparison-grid .is-manual {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    #d9c8bd;
}

.comparison-grid .is-system {
  border-color: rgba(211, 165, 126, 0.42);
  background:
    linear-gradient(150deg, rgba(211, 165, 126, 0.26), rgba(247, 240, 235, 0.7)),
    var(--paper-strong);
}

.comparison-grid span {
  display: block;
  margin-bottom: 72px;
}

.comparison-grid p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.ecosystem-section {
  background: var(--paper);
}

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

.ecosystem-grid article {
  min-height: 250px;
  padding: 26px;
}

.ecosystem-grid .is-active {
  background:
    linear-gradient(145deg, rgba(23, 18, 15, 0.94), rgba(35, 27, 23, 0.92)),
    #17120f;
}

.ecosystem-grid .is-active h3,
.ecosystem-grid .is-active p {
  color: #f0e5df;
}

.intro-band,
.feature-section,
.how-section,
.solutions-section,
.plans-section {
  padding: 88px 6vw;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 42px;
  align-items: center;
  border-top: 1px solid rgba(23, 18, 15, 0.12);
  border-bottom: 1px solid rgba(23, 18, 15, 0.12);
  background:
    linear-gradient(135deg, #17120f, #231b17);
  color: #f0e5df;
}

.intro-band h2,
.intro-band p {
  color: #f0e5df;
}

.intro-band h2,
.section-heading h2,
.plans-copy h2 {
  margin-bottom: 18px;
  font-size: 2.6rem;
}

.intro-band p,
.section-heading p,
.plans-copy p,
.showcase-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-band .section-kicker,
.intro-band p {
  color: rgba(240, 229, 223, 0.78);
}

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

.brand-pillars span {
  display: grid;
  min-height: 132px;
  place-items: end start;
  border: 1px solid rgba(240, 229, 223, 0.14);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(211, 165, 126, 0.22), rgba(240, 229, 223, 0.04)),
    rgba(240, 229, 223, 0.05);
  color: #f0e5df;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-section,
.solutions-section {
  background: var(--paper);
}

.section-heading {
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.studio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 20px;
}

.showcase-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(23, 18, 15, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
}

.showcase-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 46%, rgba(23, 18, 15, 0.72) 100%),
    linear-gradient(90deg, rgba(23, 18, 15, 0.18), transparent 42%);
  content: "";
}

.media-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: #f0e5df;
}

.media-caption strong {
  color: #f0e5df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.media-caption span {
  max-width: 250px;
  color: rgba(240, 229, 223, 0.75);
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: right;
}

.showcase-copy h3 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-dark);
}

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

.process-stack article,
.flow-grid article,
.solution-grid article,
.studio-overview article,
.auth-card,
.brand-profile,
.campaign-builder,
.generated-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12)),
    var(--paper-strong);
  box-shadow: 0 18px 42px rgba(23, 18, 15, 0.08);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.process-stack article:hover,
.flow-grid article:hover,
.solution-grid article:hover,
.studio-overview article:hover,
.brand-profile:hover,
.campaign-builder:hover,
.generated-card:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 165, 126, 0.42);
  box-shadow: 0 24px 58px rgba(23, 18, 15, 0.14);
}

.process-stack article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 24px;
}

.process-stack span,
.flow-grid span,
.studio-overview span,
.generated-card span {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-stack strong {
  font-size: 1.1rem;
}

.process-stack p {
  margin-bottom: 0;
  color: var(--muted);
}

.how-section {
  border-top: 1px solid rgba(23, 18, 15, 0.1);
  border-bottom: 1px solid rgba(23, 18, 15, 0.1);
  background:
    radial-gradient(circle at 14% 30%, rgba(23, 18, 15, 0.06), transparent 30rem),
    linear-gradient(180deg, #e5d8cf, #d9c8bd);
}

.flow-grid,
.solution-grid,
.studio-overview,
.generated-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-grid article,
.solution-grid article {
  padding: 26px;
}

.flow-grid h3,
.solution-grid h3 {
  margin: 16px 0 12px;
  font-size: 1.35rem;
}

.flow-grid p,
.solution-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.plans-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
  border-top: 1px solid rgba(23, 18, 15, 0.12);
  background:
    radial-gradient(circle at 84% 18%, rgba(211, 165, 126, 0.2), transparent 28rem),
    radial-gradient(circle at 12% 86%, rgba(238, 227, 221, 0.08), transparent 24rem),
    linear-gradient(135deg, #17120f, #2b211c 54%, #17120f);
}

.interest-form,
.stacked-form {
  display: grid;
  gap: 12px;
}

label {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff8f3;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(211, 165, 126, 0.18);
}

.interest-form {
  padding: 28px;
  border: 1px solid rgba(240, 229, 223, 0.16);
  border-radius: var(--radius);
  background: rgba(240, 229, 223, 0.08);
}

.plans-section h2,
.plans-section label {
  color: #f0e5df;
}

.plans-section .section-kicker {
  color: var(--gold);
}

.plans-section p {
  color: rgba(240, 229, 223, 0.76);
}

.plans-section .primary-button,
.auth-card .primary-button {
  background: var(--gold);
  color: var(--ink);
}

.plans-copy {
  display: grid;
  max-width: 840px;
  gap: 16px;
}

.plans-copy h2 {
  max-width: 720px;
}

.plans-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.plans-note span {
  border: 1px solid rgba(240, 229, 223, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(240, 229, 223, 0.08);
  color: rgba(240, 229, 223, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
}

.billing-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 360px);
  margin-top: 6px;
  border: 1px solid rgba(240, 229, 223, 0.16);
  border-radius: var(--radius);
  padding: 5px;
  background: rgba(240, 229, 223, 0.075);
}

.billing-toggle button {
  min-height: 42px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: rgba(240, 229, 223, 0.7);
  font-size: 0.9rem;
  font-weight: 900;
}

.billing-toggle button.is-active {
  background: rgba(211, 165, 126, 0.2);
  color: #f0e5df;
  box-shadow: inset 0 0 0 1px rgba(211, 165, 126, 0.18);
}

.billing-toggle span {
  color: #e4bf94;
  font-size: 0.78rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 22px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(240, 229, 223, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 248, 243, 0.12), rgba(255, 248, 243, 0.055)),
    rgba(240, 229, 223, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.pricing-card-featured {
  border-color: rgba(211, 165, 126, 0.38);
  background:
    linear-gradient(180deg, rgba(211, 165, 126, 0.16), rgba(255, 248, 243, 0.06)),
    rgba(240, 229, 223, 0.085);
  box-shadow:
    inset 0 1px 0 rgba(211, 165, 126, 0.22),
    0 30px 76px rgba(0, 0, 0, 0.22);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(211, 165, 126, 0.26);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(211, 165, 126, 0.13);
  color: #e4bf94;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card-header {
  display: grid;
  gap: 10px;
  padding-right: 22px;
}

.pricing-card-header span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card-featured .pricing-card-header span {
  color: #e4bf94;
}

.pricing-card h3 {
  margin: 0;
  color: #f0e5df;
  font-size: 1.38rem;
  line-height: 1.12;
}

.pricing-card-featured h3 {
  color: #f0e5df;
}

.pricing-card p {
  margin: 0;
  color: rgba(240, 229, 223, 0.68);
  font-size: 0.96rem;
}

.pricing-card-featured p {
  color: rgba(240, 229, 223, 0.7);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 4px;
}

.pricing-price strong {
  color: #f0e5df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.pricing-card-featured .pricing-price strong {
  color: #f0e5df;
}

.pricing-price span {
  color: rgba(240, 229, 223, 0.62);
  font-weight: 850;
}

.pricing-card-featured .pricing-price span {
  color: rgba(240, 229, 223, 0.62);
}

.pricing-billing-note,
.pricing-year-total {
  margin: -10px 0 0;
  color: rgba(240, 229, 223, 0.58);
  font-size: 0.84rem;
  line-height: 1.45;
}

.pricing-year-total {
  margin-top: -16px;
  color: rgba(228, 191, 148, 0.78);
}

.pricing-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
  color: rgba(240, 229, 223, 0.78);
  font-weight: 700;
}

.pricing-card-featured li {
  color: rgba(240, 229, 223, 0.8);
}

.pricing-card li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(240, 229, 223, 0.2);
  border-radius: var(--radius);
  padding: 0 18px;
  background: rgba(240, 229, 223, 0.08);
  color: #f0e5df;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.plan-button:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 165, 126, 0.46);
  background: rgba(211, 165, 126, 0.16);
}

.plan-button-primary {
  border-color: rgba(211, 165, 126, 0.38);
  background: rgba(211, 165, 126, 0.18);
  color: #f0e5df;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6vw;
  border-top: 1px solid rgba(23, 18, 15, 0.12);
  background: #17120f;
  color: rgba(240, 229, 223, 0.72);
}

.site-footer img {
  width: 126px;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.site-footer a {
  color: var(--gold);
}

.auth-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 24%, rgba(211, 165, 126, 0.2), transparent 28rem),
    radial-gradient(circle at 10% 88%, rgba(23, 18, 15, 0.08), transparent 32rem),
    var(--paper);
}

.register-page {
  background:
    radial-gradient(circle at 82% 18%, rgba(211, 165, 126, 0.2), transparent 30rem),
    radial-gradient(circle at 8% 82%, rgba(23, 18, 15, 0.1), transparent 34rem),
    linear-gradient(135deg, #eadfd8, #d9c8bd);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 54px;
  align-items: center;
  min-height: 100svh;
  padding: 52px 6vw;
}

.register-shell {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
}

.auth-brand-panel {
  max-width: 680px;
  color: var(--ink);
}

.auth-logo {
  display: inline-flex;
  margin-bottom: 58px;
}

.auth-logo img {
  width: 210px;
  max-height: 172px;
  object-fit: contain;
}

.auth-brand-panel h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 3.2rem;
}

.auth-brand-panel p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.auth-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.auth-highlights article {
  min-height: 176px;
  padding: 20px;
  border: 1px solid rgba(23, 18, 15, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 248, 243, 0.38);
  box-shadow: 0 18px 42px rgba(23, 18, 15, 0.08);
}

.auth-highlights span {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.auth-highlights strong {
  display: block;
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 1.02rem;
}

.auth-highlights p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-card {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(240, 229, 223, 0.05), rgba(240, 229, 223, 0.02)),
    #17120f;
}

.register-card {
  padding: 28px;
}

.auth-card h2 {
  margin-bottom: 8px;
  color: #f0e5df;
  font-size: 1.8rem;
}

.auth-card p {
  color: rgba(240, 229, 223, 0.72);
}

.auth-message {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(211, 165, 126, 0.3);
  border-radius: var(--radius);
  background: rgba(211, 165, 126, 0.12);
  color: #f0e5df;
  font-size: 0.94rem;
}

.auth-message[data-type="success"] {
  border-color: rgba(216, 196, 166, 0.46);
  background: rgba(240, 229, 223, 0.1);
}

.auth-message[data-type="info"] {
  border-color: rgba(240, 229, 223, 0.2);
  background: rgba(240, 229, 223, 0.08);
}

.auth-card label {
  color: rgba(240, 229, 223, 0.86);
}

.is-hidden,
.auth-verification-panel[hidden] {
  display: none !important;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 108px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(211, 165, 126, 0.76);
  border-radius: calc(var(--radius) - 3px);
  background: linear-gradient(180deg, #e4bf94, #d3a57e);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(23, 18, 15, 0.22);
  transform: translateY(-50%);
}

.password-toggle:hover {
  border-color: rgba(240, 229, 223, 0.74);
  background: linear-gradient(180deg, #f0cfaa, #d3a57e);
  box-shadow: 0 10px 22px rgba(23, 18, 15, 0.28);
}

.password-toggle[aria-pressed="true"] {
  border-color: rgba(240, 229, 223, 0.3);
  background: rgba(240, 229, 223, 0.13);
  color: #f0e5df;
}

.forgot-password-link {
  justify-self: end;
  margin-top: -2px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

.auth-note-panel {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(240, 229, 223, 0.13);
  border-radius: var(--radius);
  background: rgba(240, 229, 223, 0.06);
}

.auth-note-panel strong {
  color: #f0e5df;
  font-size: 0.9rem;
}

.auth-note-panel span {
  color: rgba(240, 229, 223, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-verification-panel {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(240, 229, 223, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(211, 165, 126, 0.14), rgba(240, 229, 223, 0.04)),
    rgba(240, 229, 223, 0.04);
}

.verification-heading {
  display: grid;
  gap: 9px;
}

.verification-pill {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(211, 165, 126, 0.3);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verification-heading h3 {
  color: #f0e5df;
  font-size: 1.28rem;
}

.verification-heading p {
  margin: 0;
  font-size: 0.95rem;
}

.verification-heading strong {
  color: #f0e5df;
  font-weight: 800;
}

.verification-code-input {
  text-align: center;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.verification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.auth-secondary-action {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(240, 229, 223, 0.16);
  border-radius: var(--radius);
  background: rgba(240, 229, 223, 0.06);
  color: #f0e5df;
  font-weight: 800;
}

.auth-secondary-action:hover {
  border-color: rgba(211, 165, 126, 0.44);
  background: rgba(211, 165, 126, 0.13);
}

.auth-return {
  display: inline-flex;
  margin-top: 20px;
  color: var(--gold);
}

.auth-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.auth-card-footer .auth-return {
  margin-top: 0;
}

.studio-page {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 8%, rgba(211, 165, 126, 0.16), transparent 30rem),
    radial-gradient(circle at 18% 84%, rgba(23, 18, 15, 0.06), transparent 28rem),
    var(--paper);
}

.studio-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100svh;
  overflow: hidden;
  padding: 24px;
  border-right: 1px solid rgba(23, 18, 15, 0.18);
  background:
    linear-gradient(180deg, rgba(35, 27, 23, 0.96), rgba(23, 18, 15, 0.98)),
    #17120f;
  color: #f0e5df;
}

.studio-brand img {
  width: 82px;
  margin: 0 auto 38px;
}

.studio-brand {
  flex: 0 0 auto;
}

.studio-nav {
  display: grid;
  gap: 8px;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(211, 165, 126, 0.42) rgba(240, 229, 223, 0.08);
  scrollbar-gutter: stable;
}

.studio-nav::-webkit-scrollbar {
  width: 6px;
}

.studio-nav::-webkit-scrollbar-track {
  background: rgba(240, 229, 223, 0.08);
  border-radius: 999px;
}

.studio-nav::-webkit-scrollbar-thumb {
  background: rgba(211, 165, 126, 0.42);
  border-radius: 999px;
}

.studio-nav a,
.studio-nav-toggle,
.studio-exit {
  min-height: 44px;
  border-radius: var(--radius);
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: rgba(240, 229, 223, 0.72);
  font-weight: 800;
  text-align: left;
}

.studio-nav a[hidden] {
  display: none;
}

.studio-nav a:hover,
.studio-nav a.is-active,
.studio-nav-toggle:hover,
.studio-nav-toggle[aria-expanded="true"] {
  background: rgba(211, 165, 126, 0.18);
  color: #f0e5df;
}

.studio-nav-group {
  display: grid;
  gap: 6px;
}

.studio-nav-toggle {
  position: relative;
  width: 100%;
}

.studio-nav-toggle::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
  content: "";
}

.studio-nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
}

.studio-nav-submenu {
  display: grid;
  gap: 4px;
  padding-left: 10px;
}

.studio-nav-submenu[hidden] {
  display: none;
}

.studio-nav-submenu a {
  min-height: 38px;
  padding-left: 14px;
  border-left: 1px solid rgba(240, 229, 223, 0.14);
  color: rgba(240, 229, 223, 0.64);
  font-size: 0.9rem;
}

.studio-exit {
  flex: 0 0 auto;
  margin-top: auto;
  border: 1px solid rgba(240, 229, 223, 0.16);
}

.studio-main {
  min-width: 0;
  padding: 34px;
}

.studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.studio-account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.studio-member-header {
  max-width: min(360px, 34vw);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.14)),
    rgba(247, 240, 235, 0.8);
}

.studio-topbar h1 {
  margin-bottom: 0;
  font-size: 2.2rem;
}

.studio-account-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.studio-notice,
.admin-status {
  margin: 0 0 20px;
  padding: 13px 14px;
  border: 1px solid rgba(211, 165, 126, 0.28);
  border-radius: var(--radius);
  background: rgba(211, 165, 126, 0.12);
  color: var(--ink-soft);
  font-weight: 700;
}

.admin-status[data-type="success"] {
  border-color: rgba(95, 126, 88, 0.28);
  background: rgba(95, 126, 88, 0.1);
}

.admin-status[data-type="error"] {
  border-color: rgba(145, 54, 41, 0.28);
  background: rgba(145, 54, 41, 0.1);
}

.studio-overview {
  margin-bottom: 24px;
}

.studio-overview article {
  padding: 22px;
}

.studio-overview strong {
  display: block;
  margin: 10px 0;
  font-size: 2rem;
  line-height: 1;
}

.studio-overview p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.studio-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 22px;
  align-items: start;
}

.studio-page-section[hidden] {
  display: none;
}

.studio-page-section {
  display: grid;
  gap: 24px;
}

.studio-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 24px;
  align-items: end;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 18, 15, 0.94), rgba(35, 27, 23, 0.9)),
    #17120f;
  box-shadow: var(--shadow);
}

.studio-hero-panel h2,
.studio-hero-panel p {
  color: #f0e5df;
}

.studio-hero-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.studio-hero-panel p {
  max-width: 680px;
  margin-bottom: 0;
  opacity: 0.74;
}

.plan-chip {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 18px;
  border: 1px solid rgba(240, 229, 223, 0.14);
  border-radius: var(--radius);
  background: rgba(240, 229, 223, 0.08);
  color: #f0e5df;
}

.plan-chip span,
.library-card span,
.usage-list span,
.mini-library-list span,
.plan-details-grid span,
.social-grid span {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-chip strong {
  color: #f0e5df;
  font-size: 1.35rem;
  line-height: 1.1;
}

.studio-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 22px;
  align-items: start;
}

.studio-panel,
.schedule-form,
.settings-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12)),
    var(--paper-strong);
  box-shadow: 0 18px 42px rgba(23, 18, 15, 0.08);
}

.library-preview-panel {
  grid-column: 1 / -1;
}

.usage-list,
.quick-actions,
.mini-library-list,
.schedule-list,
.settings-grid,
.social-grid,
.plan-details-grid,
.settings-toggle-list {
  display: grid;
  gap: 12px;
}

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

.usage-list article,
.mini-library-list article,
.schedule-list article,
.social-grid article,
.plan-details-grid article,
.library-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(23, 18, 15, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 248, 243, 0.56);
}

.usage-list strong,
.plan-details-grid strong,
.social-grid strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

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

.quick-actions button {
  min-height: 48px;
  border: 1px solid rgba(23, 18, 15, 0.14);
  border-radius: var(--radius);
  background: rgba(23, 18, 15, 0.045);
  color: var(--ink);
  font-weight: 850;
}

.quick-actions button:hover {
  border-color: rgba(211, 165, 126, 0.46);
  background: rgba(211, 165, 126, 0.14);
}

.single-column {
  grid-template-columns: minmax(0, 1fr);
}

.creation-form,
.inline-results {
  max-width: 980px;
}

.inline-results {
  padding-top: 4px;
}

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

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

.library-card strong {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.2;
}

.library-card p,
.library-card small,
.mini-library-list span,
.schedule-list span {
  margin: 0;
  color: var(--muted);
}

.empty-state {
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(23, 18, 15, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 248, 243, 0.42);
  color: var(--muted);
  font-weight: 700;
}

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

.settings-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

.settings-grid label:last-child {
  grid-column: 1 / -1;
}

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

.social-grid article {
  align-content: start;
}

.account-settings-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.settings-toggle-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 18, 15, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 248, 243, 0.52);
  color: var(--ink-soft);
  font-weight: 780;
}

.brand-profile,
.campaign-builder {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.panel-heading h2 {
  margin-bottom: 4px;
  font-size: 1.55rem;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 18, 15, 0.06);
}

.segmented-control label {
  position: relative;
  min-width: 0;
}

.segmented-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
}

.segmented-control input:checked + span {
  background: linear-gradient(135deg, rgba(211, 165, 126, 0.34), rgba(255, 255, 255, 0.52));
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(23, 18, 15, 0.1);
}

.results-section {
  padding-top: 36px;
}

.results-section .section-heading {
  margin-bottom: 24px;
}

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

.generated-card {
  overflow: hidden;
}

.generated-card.reveal-target {
  transition-delay: 0ms;
}

.generated-media {
  display: grid;
  min-height: 210px;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(211, 165, 126, 0.74), rgba(23, 18, 15, 0.86)),
    #17120f;
  color: #f0e5df;
}

.generated-media.video {
  min-height: 260px;
  background:
    linear-gradient(145deg, rgba(23, 18, 15, 0.92), rgba(211, 165, 126, 0.46)),
    #17120f;
}

.generated-media strong {
  display: block;
  max-width: 240px;
  text-align: center;
  font-size: 1.35rem;
  line-height: 1.18;
}

.reveal-target {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.auth-page .reveal-target {
  opacity: 1;
  transform: none;
}

.reveal-target:nth-child(2),
.flow-grid article:nth-child(2),
.solution-grid article:nth-child(2),
.generated-grid article:nth-child(2) {
  transition-delay: 90ms;
}

.reveal-target:nth-child(3),
.flow-grid article:nth-child(3),
.solution-grid article:nth-child(3),
.generated-grid article:nth-child(3) {
  transition-delay: 160ms;
}

.solution-grid article:nth-child(4),
.generated-grid article:nth-child(4) {
  transition-delay: 230ms;
}

.generated-grid article:nth-child(5) {
  transition-delay: 300ms;
}

.generated-grid article:nth-child(6) {
  transition-delay: 370ms;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes studioFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes windowSheen {
  0%,
  42% {
    left: -70%;
  }

  72%,
  100% {
    left: 128%;
  }
}

@keyframes tilePulse {
  0%,
  100% {
    filter: saturate(0.92) brightness(0.94);
  }

  50% {
    filter: saturate(1.08) brightness(1.06);
  }
}

@keyframes lineBreath {
  0%,
  100% {
    transform: scaleX(0.92);
    opacity: 0.72;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

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

  .reveal-target {
    opacity: 1;
    transform: none;
  }
}

.generated-copy {
  padding: 20px;
}

.generated-copy h3 {
  margin: 12px 0 10px;
  font-size: 1.12rem;
}

.generated-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.admin-main {
  padding-bottom: 56px;
}

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

.admin-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.admin-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12)),
    var(--paper-strong);
  box-shadow: 0 18px 42px rgba(23, 18, 15, 0.08);
}

.admin-wide {
  grid-row: span 2;
}

.admin-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-panel-heading h2,
.admin-panel h2 {
  margin: 0;
  font-size: 1.55rem;
}

.admin-action-list {
  display: grid;
  gap: 10px;
}

.admin-action-list span {
  display: block;
  border: 1px solid rgba(23, 18, 15, 0.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 248, 243, 0.52);
  color: var(--ink-soft);
  font-weight: 750;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(23, 18, 15, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 248, 243, 0.56);
}

.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(23, 18, 15, 0.1);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--ink-soft);
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td strong {
  color: var(--ink);
  line-height: 1.2;
}

.admin-table td span {
  margin-top: 3px;
  font-size: 0.88rem;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-empty-cell {
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

.status-badge {
  display: inline-flex;
  width: max-content;
  margin: 0;
  border: 1px solid rgba(23, 18, 15, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(23, 18, 15, 0.06);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-table .status-badge {
  display: inline-flex;
  margin-top: 0;
}

.status-active,
.status-trialing {
  border-color: rgba(79, 120, 73, 0.24);
  background: rgba(79, 120, 73, 0.12);
  color: #3f6538;
}

.status-pending,
.status-past_due {
  border-color: rgba(159, 116, 79, 0.26);
  background: rgba(211, 165, 126, 0.16);
  color: var(--gold-dark);
}

.status-canceled,
.status-expired {
  border-color: rgba(145, 54, 41, 0.24);
  background: rgba(145, 54, 41, 0.1);
  color: #75382e;
}

.status-internal {
  border-color: rgba(23, 18, 15, 0.18);
  background: rgba(23, 18, 15, 0.08);
  color: var(--ink);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero-section,
  .brand-story-section,
  .pressure-section,
  .studio-section,
  .comparison-section,
  .studio-showcase,
  .intro-band,
  .process-stack,
  .plans-section,
  .auth-shell,
  .studio-workspace {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: calc(100svh - 72px);
  }

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

  .market-proof-grid,
  .method-grid,
  .comparison-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .source-line {
    grid-column: 1;
  }

  .studio-copy-panel,
  .story-copy {
    max-width: 100%;
  }

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

  .admin-overview,
  .admin-content-grid,
  .studio-hero-panel,
  .studio-dashboard-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .library-grid,
  .compact-results,
  .social-grid,
  .plan-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    gap: 14px;
    padding: 12px 18px;
  }

  .brand-mark img {
    height: 44px;
  }

  .header-action {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .header-actions {
    gap: 8px;
  }

  .member-header {
    max-width: min(68vw, 330px);
    padding-right: 10px;
  }

  .member-avatar-button {
    width: 40px;
    height: 40px;
  }

  .member-email-link {
    max-width: calc(68vw - 68px);
    font-size: 0.84rem;
  }

  .hero-section,
  .brand-story-section,
  .pressure-section,
  .legacy-method-section,
  .studio-section,
  .comparison-section,
  .ecosystem-section,
  .intro-band,
  .feature-section,
  .how-section,
  .solutions-section,
  .plans-section {
    padding: 56px 20px;
  }

  .hero-section {
    min-height: calc(100svh - 68px);
    padding: 78px 20px 70px;
  }

  .hero-brand-logo {
    width: min(500px, 88vw);
    margin: 0 auto;
  }

  .hero-copy h1,
  .auth-brand-panel h1 {
    font-size: 2.45rem;
  }

  .intro-band h2,
  .section-heading h2,
  .plans-copy h2 {
    font-size: 2rem;
  }

  .hero-lead {
    max-width: 360px;
    font-size: 1rem;
  }

  .plans-note {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-card {
    padding: 22px;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-badge {
    position: static;
    width: max-content;
  }

  .story-copy h2,
  .pressure-heading h2,
  .legacy-method-section .section-heading h2,
  .studio-copy-panel h2,
  .comparison-copy h2,
  .ecosystem-section .section-heading h2 {
    font-size: 2.25rem;
  }

  .story-media,
  .studio-visual,
  .story-media img,
  .studio-visual img {
    min-height: 310px;
  }

  .market-proof-grid article,
  .method-grid article,
  .comparison-grid article,
  .ecosystem-grid article {
    min-height: auto;
    padding: 22px;
  }

  .market-proof-grid strong {
    font-size: 3.1rem;
  }

  .method-grid h3,
  .ecosystem-grid h3 {
    margin-top: 28px;
  }

  .comparison-grid span {
    margin-bottom: 36px;
  }

  .product-window {
    min-height: auto;
  }

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

  .preview-panel {
    min-height: 240px;
  }

  .preview-lines {
    grid-column: 1;
    margin-top: 0;
  }

  .flow-grid,
  .solution-grid,
  .studio-overview,
  .generated-grid,
  .brand-pillars,
  .process-stack {
    grid-template-columns: 1fr;
  }

  .brand-pillars span {
    min-height: 74px;
  }

  .showcase-media,
  .showcase-media img {
    min-height: 300px;
  }

  .media-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .media-caption span {
    max-width: 100%;
    text-align: left;
  }

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

  .auth-shell {
    padding: 32px 20px;
  }

  .auth-logo {
    margin-bottom: 34px;
  }

  .auth-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .studio-sidebar {
    position: static;
    height: auto;
  }

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

  .studio-nav-group,
  .studio-nav-submenu {
    grid-column: 1 / -1;
  }

  .studio-exit {
    margin-top: 16px;
  }

  .studio-main {
    padding: 24px 18px;
  }

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

  .studio-account-actions {
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
  }

  .studio-member-header {
    max-width: 100%;
  }

  .admin-panel-heading {
    flex-direction: column;
  }

  .usage-list,
  .quick-actions,
  .library-grid,
  .compact-results,
  .settings-grid,
  .social-grid,
  .plan-details-grid {
    grid-template-columns: 1fr;
  }

  .studio-hero-panel,
  .studio-panel,
  .schedule-form,
  .settings-form {
    padding: 22px;
  }
}
