:root {
  --bg: #050711;
  --bg-soft: #0b1020;
  --panel: rgba(255,255,255,0.09);
  --panel-strong: rgba(255,255,255,0.13);
  --border: rgba(255,255,255,0.14);
  --text: #ffffff;
  --muted: #c8d3ee;
  --blue: #2f6bff;
  --blue-dark: #123fdb;
  --green: #18d93b;
  --orange: #ffb340;
  --red: #ff5d5d;
  --dark-text: #0d1324;
  --shadow: 0 28px 90px rgba(0,0,0,0.35);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 5%, rgba(47,107,255,0.24), transparent 28%),
    radial-gradient(circle at 15% 35%, rgba(24,217,59,0.10), transparent 22%),
    linear-gradient(180deg, #060815, #050711 45%, #03040a);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
  z-index: -2;
}
a { color: inherit; }
code {
  color: #dce6ff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 2px 6px;
}
.background-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  right: -120px;
  top: 120px;
  background: rgba(47,107,255,0.32);
  filter: blur(90px);
  border-radius: 50%;
  z-index: -1;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,7,17,0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo,
.footer-logo {
  color: white;
  text-decoration: none;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.logo span,
.footer-logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: white; }
.nav-cta {
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(47,107,255,0.18);
  border: 1px solid rgba(47,107,255,0.45);
  font-weight: 900;
  white-space: nowrap;
}
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: white;
  font-size: 23px;
  cursor: pointer;
}
.hero { padding: 92px 0 70px; }
.hero-grid,
.generator-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(47,107,255,0.14);
  border: 1px solid rgba(47,107,255,0.4);
  color: #dbe6ff;
  font-weight: 900;
  margin-bottom: 22px;
}
.eyebrow.small { margin-bottom: 12px; font-size: 13px; }
.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(24,217,59,0.7);
  animation: pulse 1.8s infinite;
}
.hero h1,
.generator-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -3px;
}
.hero h1 span,
.generator-hero h1 span {
  color: var(--blue);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-description,
.generator-hero p,
.section-head p,
.info-card p,
.sidebar-note p,
.footer p,
.legal-card p,
.faq-answer,
.split-card p {
  color: var(--muted);
  line-height: 1.65;
}
.hero-description {
  max-width: 660px;
  font-size: 19px;
  margin: 26px 0 0;
  transition: opacity 0.25s ease;
}
.hero-actions,
.form-actions,
.result-buttons,
.generator-switcher {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-size: 15px;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 36px rgba(47,107,255,0.28);
}
.btn-secondary {
  color: white;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
}
.btn-ghost {
  color: white;
  background: transparent;
  border: 1px solid var(--border);
}
.hero-stats {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.stat-card {
  min-width: 126px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat-card strong { display: block; font-size: 28px; }
.stat-card span { color: var(--muted); font-size: 14px; }
.hero-visual { position: relative; min-height: 560px; }
.preview-card,
.info-card,
.sidebar-card,
.sidebar-note,
.form-panel,
.result-panel,
.legal-card,
.split-card {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.preview-card {
  position: relative;
  width: min(430px, 100%);
  margin-left: auto;
  padding: 30px;
  border-radius: 32px;
  transform: rotate(3deg);
  animation: floatCard 5.2s ease-in-out infinite;
}
.preview-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(47,107,255,0.65), transparent 35%, rgba(24,217,59,0.28));
  z-index: -1;
  opacity: 0.6;
}
.preview-header,
.result-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.preview-header strong { display: block; font-size: 18px; }
.preview-header small { display: block; color: var(--muted); margin-top: 4px; }
.preview-status {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(24,217,59,0.15);
  color: #9cffad;
  font-weight: 900;
  font-size: 13px;
}
.preview-progress { display: flex; gap: 11px; margin-bottom: 26px; }
.preview-progress span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--blue);
}
.preview-progress .active { background: var(--green); border-color: var(--green); }
.preview-box {
  padding: 20px;
  border-radius: 22px;
  background: rgba(0,0,0,0.24);
  margin-bottom: 18px;
}
.preview-box small { color: #aeb9d4; display: block; margin-bottom: 8px; }
.preview-box strong { font-size: 24px; display: block; }
.preview-box p { margin-bottom: 0; }
.preview-tags { display: grid; gap: 10px; margin-bottom: 22px; }
.preview-tags span {
  padding: 13px 14px;
  border-radius: 15px;
  background: rgba(47,107,255,0.18);
  border: 1px solid rgba(47,107,255,0.34);
  color: #dfe8ff;
  font-weight: 800;
}
.preview-button {
  min-height: 50px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
}
.floating-widget {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 6px;
  width: 118px;
  height: 118px;
  border-radius: 28px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.24);
  font-size: 34px;
  animation: floatWidget 4.8s ease-in-out infinite;
}
.floating-widget span { font-size: 13px; color: var(--muted); font-weight: 900; }
.widget-one { top: 34px; right: 8px; }
.widget-two { left: 18px; bottom: 130px; animation-delay: 0.7s; }
.widget-three { right: 72px; bottom: 20px; animation-delay: 1.2s; }
.generator-section,
.steps-section,
.faq-section { padding: 78px 0; }
.lead-section { padding: 34px 0 78px; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}
.section-label {
  display: inline-flex;
  margin-bottom: 15px;
}
.section-head h2,
.split-card h2,
.final-cta h2,
.legal-card h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -1.5px;
}
.filter-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.filter-btn,
.switch-btn {
  border: 1px solid rgba(47,107,255,0.35);
  background: rgba(255,255,255,0.075);
  color: #dce5ff;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}
.filter-btn.active,
.switch-btn.active { background: var(--blue-dark); color: white; }
.generator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.generator-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #f4f5f7, #bdc3cf);
  color: var(--dark-text);
  box-shadow: 0 22px 60px rgba(0,0,0,0.26);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.generator-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(47,107,255,0.14);
}
.generator-card:hover { transform: translateY(-8px); box-shadow: 0 30px 76px rgba(47,107,255,0.22); }
.generator-icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  font-size: 30px;
  margin-bottom: 18px;
}
.generator-category {
  position: relative;
  z-index: 2;
  color: var(--blue-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.8px;
  margin: 0 0 8px;
}
.generator-card h3 { position: relative; z-index: 2; font-size: 21px; line-height: 1.15; margin: 0 0 12px; }
.generator-card p { position: relative; z-index: 2; line-height: 1.55; margin: 0 0 20px; }
.card-bottom {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.status {
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  color: #075214;
  background: rgba(24,217,59,0.18);
}
.card-link {
  color: white;
  background: var(--blue-dark);
  text-decoration: none;
  font-weight: 900;
  padding: 10px 13px;
  border-radius: 999px;
}
.benefits-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
}
.benefit-item {
  padding: 30px;
  background: rgba(8,12,28,0.72);
  display: flex;
  gap: 18px;
  border-right: 1px solid rgba(255,255,255,0.09);
}
.benefit-item:last-child { border-right: none; }
.benefit-icon { font-size: 36px; }
.benefit-item h3,
.step-card h3,
.legal-card h2,
.info-card strong { margin: 0 0 8px; }
.benefit-item p { margin: 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  padding: 30px;
  border-radius: 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 22px 70px rgba(0,0,0,0.18);
}
.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-dark);
  font-weight: 900;
  margin-bottom: 18px;
}
.step-card p { color: var(--muted); line-height: 1.6; margin: 0; }
.split-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  border-radius: 30px;
  padding: 34px;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  color: white;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  font-size: 16px;
}
.faq-question span { color: var(--green); font-size: 26px; }
.faq-answer { display: none; padding: 0 20px 20px; }
.faq-item.open .faq-answer { display: block; }
.cta-section { padding: 30px 0 90px; }
.final-cta {
  border-radius: 34px;
  padding: 46px;
  text-align: center;
  background: linear-gradient(135deg, rgba(47,107,255,0.32), rgba(24,217,59,0.08));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
}
.final-cta p { max-width: 640px; margin: 0 auto 26px; color: var(--muted); line-height: 1.65; }
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(2,3,8,0.4);
  padding: 46px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}
.footer h4 { margin: 0 0 14px; }
.footer a { display: block; color: var(--muted); text-decoration: none; margin: 10px 0; font-weight: 700; }
.footer a:hover { color: white; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9ba8c8;
  font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline; }
.generator-hero { padding: 70px 0 36px; }
.info-card,
.sidebar-card,
.sidebar-note { border-radius: 26px; padding: 24px; }
.info-card ol { color: var(--muted); line-height: 1.75; padding-left: 22px; }
.generator-workspace { padding: 26px 0 86px; }
.app-shell {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 22px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
}
.sidebar-card p { margin: 0; color: var(--muted); font-weight: 900; }
.sidebar-card h2 { margin: 8px 0 20px; font-size: 34px; }
.step-list { display: grid; gap: 10px; }
.step-pill {
  min-height: 50px;
  width: 100%;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.065);
  color: var(--muted);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-align: left;
  padding: 0 12px;
}
.step-pill span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(47,107,255,0.25);
  color: white;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.step-pill.active {
  color: white;
  border-color: rgba(47,107,255,0.55);
  background: rgba(47,107,255,0.20);
}
.form-panel,
.result-panel { border-radius: 30px; padding: 30px; }
.panel-head { margin-bottom: 26px; }
.panel-head.compact { margin: 28px 0 18px; }
.panel-head p { margin: 0 0 8px; color: #8facff; font-weight: 900; }
.panel-head h2 { margin: 0 0 8px; font-size: clamp(30px, 5vw, 44px); letter-spacing: -1px; }
.panel-head span { color: var(--muted); line-height: 1.6; }
.dynamic-form { display: grid; gap: 26px; }
.form-section {
  padding: 22px;
  border-radius: 24px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.10);
}
.form-section h3 { margin: 0 0 18px; font-size: 23px; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.field,
.checkbox-card { display: grid; gap: 9px; }
.field.full,
.checkbox-card.full { grid-column: 1 / -1; }
label { color: #dce6ff; font-weight: 900; }
input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 15px;
  background: rgba(255,255,255,0.085);
  color: white;
  padding: 15px 16px;
  font-size: 16px;
  outline: none;
  font-family: Arial, Helvetica, sans-serif;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(47,107,255,0.8);
  box-shadow: 0 0 0 4px rgba(47,107,255,0.16);
}
select option { color: #101425; }
input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.48); }
input[type="range"] { padding: 0; accent-color: var(--blue); }
.field-hint { color: #99a8cc; font-size: 13px; line-height: 1.45; }
.range-line { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.range-value { color: #9cffad; font-weight: 900; }
.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  line-height: 1.55;
}
.checkbox-card input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.checkbox-card a { color: white; font-weight: 900; }
.lead-gate {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(24,217,59,0.08);
  border: 1px solid rgba(24,217,59,0.20);
}
.form-error {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #ffe6e6;
  background: rgba(255,93,93,0.12);
  border: 1px solid rgba(255,93,93,0.28);
  font-weight: 800;
}
.hidden { display: none !important; }
.result-panel { margin-top: 22px; }
.result-head h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); }
.result-head p { color: var(--muted); margin: 0; }
#promptOutput {
  min-height: 520px;
  line-height: 1.62;
  resize: vertical;
}
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 14px 18px;
  border-radius: 16px;
  color: white;
  background: rgba(24,217,59,0.92);
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
  z-index: 80;
  font-weight: 900;
}
.legal-page { padding: 72px 0; }
.legal-card { border-radius: 30px; padding: 38px; max-width: 900px; }
.legal-card h1 { margin-bottom: 24px; }
.legal-card h2 { color: white; margin-top: 30px; }
.legal-card p { margin: 0 0 14px; }
.legal-card a { color: #dce6ff; font-weight: 900; }
.placeholder-warning {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,179,64,0.13);
  border: 1px solid rgba(255,179,64,0.32);
  color: #ffe3b0;
  line-height: 1.55;
  font-weight: 800;
  margin-bottom: 24px;
}
.center-card { text-align: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(24,217,59,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(24,217,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(24,217,59,0); }
}
@keyframes floatCard {
  0%,100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-12px); }
}
@keyframes floatWidget {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 1100px) {
  .generator-grid { grid-template-columns: repeat(2, 1fr); }
  .generator-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero-grid,
  .generator-hero-grid,
  .app-shell,
  .split-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .preview-card { margin: 26px auto 0; transform: none; animation: none; }
  .floating-widget { display: none; }
  .sidebar { position: static; }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .benefits-box,
  .steps-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .benefit-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.09); }
  .benefit-item:last-child { border-bottom: none; }
  .footer-grid { text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { flex-wrap: wrap; }
  .mobile-menu-btn { display: block; order: 3; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
  }
  .nav-links.open,
  .nav-links.open-static { display: flex; }
  .hero { padding: 58px 0 48px; }
  .hero h1,
  .generator-hero h1 { font-size: 42px; letter-spacing: -1.5px; }
  .hero-description { font-size: 17px; }
  .hero-actions .btn,
  .form-actions .btn,
  .result-buttons .btn,
  .result-buttons a { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .stat-card { min-width: 0; text-align: center; padding: 14px 8px; }
  .stat-card strong { font-size: 23px; }
  .generator-section,
  .steps-section,
  .faq-section { padding: 56px 0; }
  .generator-grid,
  .field-grid,
  .step-list { grid-template-columns: 1fr; }
  .generator-card:last-child { grid-column: auto; }
  .form-panel,
  .result-panel,
  .legal-card,
  .final-cta { padding: 22px; border-radius: 24px; }
  .result-head { flex-direction: column; }
  #promptOutput { min-height: 420px; font-size: 14px; }
}
@media (max-width: 460px) {
  .logo { font-size: 20px; }
  .hero h1,
  .generator-hero h1 { font-size: 38px; }
  .hero-stats { grid-template-columns: 1fr; }
  .preview-header,
  .card-bottom { flex-direction: column; }
  .card-link { width: 100%; text-align: center; }
}
