:root {
  color-scheme: dark;
  --bg: #08090d;
  --panel: #10131a;
  --panel-soft: #151923;
  --panel-strong: #1b202c;
  --text: #f6f7fb;
  --muted: #a2aabc;
  --faint: #70798d;
  --line: rgba(255, 255, 255, 0.1);
  --red: #ff365e;
  --yellow: #ffc247;
  --cyan: #49d5ff;
  --green: #68e59b;
  --purple: #bc8cff;
  --blue: #6aa4ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #08090d 0%, #0f1117 48%, #08090d 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(140deg, rgba(73, 213, 255, 0.07), transparent 34%, rgba(255, 54, 94, 0.06) 72%, transparent);
  background-size:
    80px 80px,
    80px 80px,
    100% 100%;
  opacity: 0.34;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  margin: 12px auto 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 12px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(13, 15, 21, 0.78);
  backdrop-filter: blur(16px);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-brand,
.site-nav,
.marketing-actions,
.hero-metrics,
.preview-header {
  display: flex;
  align-items: center;
}

.site-brand {
  gap: 10px;
  color: var(--text);
  font-weight: 950;
  white-space: nowrap;
}

.mini-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, var(--red), #ff824f 54%, var(--yellow));
  box-shadow: 0 12px 28px rgba(255, 54, 94, 0.22);
}

.mini-mark span {
  display: block;
  border-radius: 999px;
  background: #ffffff;
}

.mini-mark span:nth-child(1) {
  height: 36%;
}

.mini-mark span:nth-child(2) {
  height: 64%;
}

.mini-mark span:nth-child(3) {
  height: 100%;
}

.site-nav {
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.site-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: 0;
}

.marketing-hero,
.website-section,
.product-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.marketing-hero {
  min-height: calc(100vh - 76px);
  padding: 48px 0 70px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.marketing-copy h1 {
  max-width: 780px;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.91;
}

.marketing-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #c8d0df;
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 650;
}

.marketing-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 950;
  transition:
    border-color 180ms ease,
    filter 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.primary-link {
  color: #0b0c10;
  background: linear-gradient(110deg, var(--yellow), #ff8f3d 34%, var(--red));
  box-shadow: 0 18px 38px rgba(255, 54, 94, 0.24);
}

.secondary-link {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.primary-link:hover,
.primary-link:focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  outline: 0;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  border-color: rgba(73, 213, 255, 0.38);
  background: rgba(255, 255, 255, 0.075);
}

.hero-metrics {
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 0;
}

.hero-metrics div {
  min-width: 140px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
    rgba(255, 255, 255, 0.032);
}

.hero-metrics dt {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 950;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 800;
}

.website-preview {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.1), transparent 38%),
    linear-gradient(310deg, rgba(255, 54, 94, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.preview-header {
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.preview-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.preview-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.preview-list article {
  padding: 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.preview-list span,
.feature-grid span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--red);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-weight: 950;
}

.preview-list p {
  margin-bottom: 0;
  color: #e2e7f2;
  line-height: 1.55;
  font-weight: 700;
}

.website-section,
.product-section {
  padding: 76px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
}

.section-heading > p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.feature-grid,
.trust-grid,
.public-pricing,
.example-grid,
.faq-grid,
.pricing-conversion-strip {
  display: grid;
  gap: 16px;
}

.lead-capture-bridge {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 10px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(255, 194, 71, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(128deg, rgba(255, 194, 71, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(73, 213, 255, 0.1), transparent 46%),
    var(--panel-soft);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.lead-capture-bridge h2 {
  max-width: 820px;
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  line-height: 1.05;
}

.lead-capture-bridge p:not(.eyebrow) {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 750;
}

.lead-capture-bridge .primary-link {
  white-space: nowrap;
}

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

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

.feature-grid article,
.trust-grid article,
.example-grid article,
.public-plan-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)), var(--panel-soft);
}

.feature-grid article {
  padding: 18px;
}

.trust-grid article {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.07), transparent 42%),
    linear-gradient(320deg, rgba(255, 54, 94, 0.08), transparent 48%),
    var(--panel-soft);
}

.trust-grid article:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(255, 194, 71, 0.08), transparent 42%),
    linear-gradient(320deg, rgba(73, 213, 255, 0.055), transparent 48%),
    var(--panel-soft);
}

.feature-grid h3 {
  margin: 16px 0 10px;
  font-size: 1.1rem;
}

.trust-grid h3 {
  margin: 14px 0 10px;
  font-size: 1.08rem;
}

.feature-grid p,
.trust-grid p,
.example-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.trust-grid span {
  width: auto;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #0b0c10;
  background: linear-gradient(135deg, var(--yellow), #ff8b66);
  font-size: 0.72rem;
  font-weight: 950;
}

.paid-beta-banner {
  margin-bottom: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(255, 194, 71, 0.32);
  border-radius: 10px;
  background:
    linear-gradient(128deg, rgba(255, 194, 71, 0.14), transparent 40%),
    linear-gradient(315deg, rgba(255, 54, 94, 0.14), transparent 48%),
    var(--panel-soft);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.paid-beta-banner h3 {
  margin: 4px 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.paid-beta-banner p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 750;
}

.paid-beta-banner .primary-link {
  white-space: nowrap;
}

.pricing-conversion-strip {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 18px;
}

.pricing-conversion-strip article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.042);
}

.pricing-conversion-strip strong,
.pricing-conversion-strip span {
  display: block;
}

.pricing-conversion-strip strong {
  color: var(--text);
  font-size: 1rem;
}

.pricing-conversion-strip span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
  font-weight: 750;
}

.pricing-note {
  margin: 14px 0 0;
  color: var(--faint);
  line-height: 1.5;
  font-size: 0.92rem;
  font-weight: 800;
}

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

.beta-reassurance article {
  padding: 14px;
  border: 1px solid rgba(104, 229, 155, 0.18);
  border-radius: 10px;
  background: rgba(104, 229, 155, 0.055);
}

.beta-reassurance strong,
.beta-reassurance span {
  display: block;
}

.beta-reassurance strong {
  color: var(--green);
  font-size: 0.92rem;
}

.beta-reassurance span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.86rem;
  font-weight: 750;
}

.upgrade-guidance {
  margin-top: 14px;
  padding: 16px 18px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 10px;
  background: rgba(255, 209, 102, 0.07);
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
  font-weight: 800;
}

.upgrade-guidance strong {
  color: var(--yellow);
}

.agency-sprint-section {
  border-color: rgba(104, 229, 155, 0.2);
  background:
    linear-gradient(135deg, rgba(104, 229, 155, 0.08), transparent 45%),
    var(--panel);
}

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

.agency-sprint-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.agency-sprint-grid h3 {
  margin: 0 0 8px;
}

.agency-sprint-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 750;
}

.agency-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.public-pricing {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: stretch;
}

.public-plan-card {
  min-height: 252px;
  padding: 22px;
  display: grid;
  gap: 11px;
  grid-template-rows: auto auto auto auto 1fr auto;
  color: var(--text);
  text-align: left;
  align-content: start;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.public-plan-card:hover,
.public-plan-card:focus-visible {
  border-color: rgba(73, 213, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.026)),
    var(--panel-soft);
  transform: translateY(-2px);
  outline: 0;
}

.public-plan-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.public-plan-card strong {
  font-size: 2.45rem;
  line-height: 1;
}

.public-plan-card small,
.public-plan-card em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.public-plan-card .beta-plan-note {
  color: var(--yellow);
}

.public-plan-card i {
  width: max-content;
  max-width: 100%;
  align-self: end;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0b0c10;
  background: linear-gradient(135deg, var(--yellow), #ff8b66);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
}

.public-plan-card.preferred-plan i {
  padding: 10px 14px;
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 14px 28px rgba(255, 54, 94, 0.28),
    0 0 0 2px rgba(255, 54, 94, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.public-plan-card.preferred-plan:hover i,
.public-plan-card.preferred-plan:focus-visible i {
  transform: translateY(-5px) scale(1.06);
  box-shadow:
    0 20px 36px rgba(255, 54, 94, 0.38),
    0 0 0 2px rgba(255, 54, 94, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.preferred-plan {
  position: relative;
  border-color: rgba(255, 54, 94, 0.78);
  background:
    linear-gradient(128deg, rgba(255, 194, 71, 0.1), transparent 45%),
    linear-gradient(135deg, rgba(255, 54, 94, 0.18), rgba(73, 213, 255, 0.06)),
    var(--panel-soft);
  box-shadow:
    0 24px 64px rgba(255, 54, 94, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.public-plan-card.preferred-plan:hover,
.public-plan-card.preferred-plan:focus-visible {
  border-color: rgba(255, 54, 94, 0.9);
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 194, 71, 0.16), transparent 42%),
    linear-gradient(128deg, rgba(255, 194, 71, 0.12), transparent 45%),
    linear-gradient(135deg, rgba(255, 54, 94, 0.22), rgba(255, 54, 94, 0.08)),
    var(--panel-soft);
  box-shadow:
    0 28px 72px rgba(255, 54, 94, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.preferred-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 34%,
    rgba(255, 255, 255, 0.16) 48%,
    transparent 62%,
    transparent 100%
  );
  background-size: 230% 100%;
  opacity: 0.58;
  pointer-events: none;
  animation: membershipSheen 2600ms ease-in-out infinite;
}

.preferred-plan > * {
  position: relative;
  z-index: 1;
}

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

.example-grid article,
.faq-grid article {
  padding: 22px;
}

.demo-pack-grid article {
  min-height: 190px;
}

.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 194, 71, 0.065), transparent 44%),
    var(--panel-soft);
}

.faq-grid h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.no-guarantee-disclaimer {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 194, 71, 0.26);
  border-radius: 8px;
  color: #e5e9f4;
  background: rgba(255, 194, 71, 0.07);
  line-height: 1.55;
  font-weight: 850;
}

.example-label {
  margin-bottom: 14px;
  color: var(--red) !important;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.example-grid h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.product-section .app-shell {
  width: 100%;
  padding: 0 0 24px;
}

.site-footer {
  padding: 32px 0 44px;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 1.2fr;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 800;
}

.site-footer p {
  margin-bottom: 0;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 7px 9px;
  border-radius: 8px;
  color: #c4cede;
  font-weight: 900;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.footer-links a:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  margin-left: 12px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: 0;
}

.legal-main {
  width: min(920px, calc(100% - 32px));
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 70px 0;
}

.legal-card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.08), transparent 42%),
    linear-gradient(310deg, rgba(255, 54, 94, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.legal-card h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.legal-card p,
.legal-card li {
  color: #c6cedc;
  line-height: 1.7;
  font-weight: 700;
}

.legal-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.legal-updated {
  color: var(--faint) !important;
  font-size: 0.9rem;
}

.legal-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-portal-button {
  width: auto;
  margin-top: 10px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.legal-portal-button:disabled {
  cursor: wait;
  filter: saturate(0.8);
  opacity: 0.72;
  transform: none;
}

.legal-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.legal-status.error {
  color: #ff8aa0;
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.hero-panel,
.results-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)), var(--panel);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.hero-panel {
  position: sticky;
  top: 24px;
  container-type: inline-size;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 28px;
}

.hero-panel::-webkit-scrollbar {
  width: 8px;
}

.hero-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.hero-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.results-panel {
  min-height: 680px;
  padding: 24px;
}

.brand-row,
.results-header,
.card-heading,
.action-row {
  display: flex;
  align-items: center;
}

.brand-row {
  gap: 16px;
  margin-bottom: 34px;
}

.brand-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 12px;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(145deg, #ff365e 0%, #ff694b 48%, #ffc247 100%),
    #ff365e;
  box-shadow:
    0 18px 36px rgba(255, 54, 94, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.brand-icon {
  width: 50px;
  height: 50px;
  z-index: 1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(11, 12, 16, 0.22));
}

.icon-panel {
  fill: rgba(11, 12, 16, 0.12);
  stroke: rgba(255, 255, 255, 0.66);
  stroke-width: 2;
}

.icon-baseline {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2.4;
}

.icon-bar {
  fill: #ffffff;
  filter: drop-shadow(0 2px 3px rgba(11, 12, 16, 0.22));
}

.icon-bar-1 {
  opacity: 0.82;
}

.icon-bar-2 {
  opacity: 0.9;
}

.icon-bar-3 {
  opacity: 1;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

@container (max-width: 390px) {
  .hero-panel h1 {
    font-size: 3.25rem;
  }
}

h2 {
  margin-bottom: 0;
  font-size: 1.65rem;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.generator-form {
  display: grid;
  gap: 16px;
}

.generator-form > label,
.settings-grid label,
.auth-grid label,
.optional-fields label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.generator-form > label span {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 700;
}

.optional-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.optional-fields input {
  margin-top: 7px;
  padding: 11px 12px;
  font-size: 0.88rem;
}

.generation-ux-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(73, 213, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.07), transparent 44%),
    rgba(255, 255, 255, 0.028);
}

.generation-ux-panel div {
  min-width: 0;
}

.generation-ux-panel strong,
.generation-ux-panel span {
  display: block;
}

.generation-ux-panel strong {
  margin-bottom: 5px;
  color: #edf4ff;
  font-size: 0.82rem;
  font-weight: 950;
}

.generation-ux-panel span {
  color: var(--faint);
  font-size: 0.76rem;
  line-height: 1.38;
  font-weight: 750;
}

.account-panel {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.08), rgba(255, 54, 94, 0.05)),
    rgba(255, 255, 255, 0.028);
}

.panel-kicker {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-copy {
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 700;
}

.auth-grid {
  display: grid;
  gap: 12px;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.auth-actions .ghost-button {
  min-width: 120px;
}

.dev-code-hint,
.config-notice {
  margin: 10px 0 0;
  color: #ffd79a;
  font-size: 0.84rem;
  font-weight: 800;
}

.config-notice {
  color: #ffb3c1;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-row strong,
.account-row span {
  display: block;
}

.account-row strong {
  max-width: 230px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.account-row span {
  margin-top: 5px;
  color: var(--green);
  font-weight: 900;
}

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

.ghost-link {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.ghost-link:hover,
.ghost-link:focus-visible {
  border-color: rgba(73, 213, 255, 0.55);
  outline: 0;
}

.marketing-preference {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.marketing-preference label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 800;
}

.marketing-preference input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.preference-status {
  min-height: 18px;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.preference-status.error {
  color: #ffb3c1;
}

textarea,
input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-radius: 8px;
  outline: 0;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

textarea {
  min-height: 140px;
  margin-top: 10px;
  padding: 16px;
  resize: vertical;
  line-height: 1.5;
}

input {
  margin-top: 8px;
  padding: 13px 14px;
}

textarea:focus,
input:focus {
  border-color: rgba(73, 213, 255, 0.7);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(73, 213, 255, 0.09);
}

::placeholder {
  color: #687184;
}

.settings-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.settings-panel summary {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.settings-grid {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.action-row {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.primary-button,
.ghost-button {
  min-height: 46px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-button {
  min-width: 225px;
  padding: 0 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #0b0c10;
  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 36%,
      rgba(255, 255, 255, 0.24) 48%,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(110deg, var(--yellow) 0%, #ff8f3d 32%, var(--red) 66%, #ff3f7f 100%);
  background-size: 220% 100%, 160% 100%;
  box-shadow: 0 16px 34px rgba(255, 54, 94, 0.24);
  animation:
    buttonPulse 2600ms ease-in-out infinite,
    gradientShift 3600ms ease-in-out infinite;
}

.primary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.16) 18%,
      transparent 34%,
      transparent 52%,
      rgba(255, 255, 255, 0.18) 66%,
      transparent 82%,
      transparent 100%
    );
  background-size: 260% 100%;
  opacity: 0.75;
  animation: buttonShimmer 2600ms ease-in-out infinite;
  pointer-events: none;
}

.button-label {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #0b0c10 0%, #0b0c10 30%, #4b2d26 46%, #0b0c10 62%, #0b0c10 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: labelShimmer 2600ms ease-in-out infinite;
}

.primary-button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  animation-play-state: paused;
}

.primary-button:disabled::before,
.primary-button:disabled .button-label {
  animation-play-state: paused;
}

.ghost-button {
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.spinner {
  width: 16px;
  height: 16px;
  display: none;
  border-radius: 999px;
  border: 2px solid rgba(11, 12, 16, 0.35);
  border-top-color: #0b0c10;
  animation: spin 800ms linear infinite;
}

.primary-button.is-loading .spinner {
  display: inline-block;
}

.status-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.status-message.error {
  color: #ff8aa0;
}

.status-message.success {
  color: var(--green);
}

.results-header {
  position: relative;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.results-header::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--cyan));
  opacity: 0.9;
}

.results-header > div:not(.results-mark) {
  min-width: 0;
  flex: 1;
}

.results-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 9px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(255, 54, 94, 0.95), rgba(255, 194, 71, 0.82));
  box-shadow: 0 16px 34px rgba(255, 54, 94, 0.22);
}

.results-mark span {
  display: block;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(11, 12, 16, 0.2);
}

.results-mark span:nth-child(1) {
  height: 38%;
}

.results-mark span:nth-child(2) {
  height: 64%;
}

.results-mark span:nth-child(3) {
  height: 100%;
}

.results-header h2 {
  font-size: 2rem;
  line-height: 1;
}

.results-header .eyebrow {
  margin-bottom: 6px;
}

.results-header .ghost-button {
  position: relative;
  z-index: 1;
  margin-left: auto;
}

.empty-state {
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  color: var(--muted);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.empty-state::before {
  content: "";
  position: absolute;
  width: min(300px, 72%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(73, 213, 255, 0.11), transparent 62%),
    radial-gradient(circle at 30% 70%, rgba(255, 54, 94, 0.14), transparent 56%);
  filter: blur(4px);
  opacity: 0.85;
}

.empty-state p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-bottom: 0;
  line-height: 1.6;
  color: #b9c8e6;
  font-weight: 600;
}

.sample-preview {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 18px;
  border: 1px solid rgba(73, 213, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.08), rgba(255, 54, 94, 0.08)),
    rgba(255, 255, 255, 0.045);
  text-align: left;
}

.sample-preview h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.sample-preview ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.sample-preview li {
  color: #dce2ef;
  line-height: 1.45;
  font-weight: 700;
}

.pack-options-panel {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: start;
  padding-top: 18px;
  position: relative;
}

.pack-options-panel::before {
  content: "";
  position: absolute;
  width: min(420px, 72%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(73, 213, 255, 0.09), transparent 62%),
    radial-gradient(circle at 30% 70%, rgba(255, 54, 94, 0.12), transparent 56%);
  filter: blur(4px);
  opacity: 0.9;
}

.pack-options {
  width: min(520px, 100%);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}

.pack-option {
  min-width: 0;
  min-height: 128px;
  width: 100%;
  padding: 15px;
  position: relative;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: visible;
  align-content: start;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.pack-option:hover,
.pack-option:focus-visible {
  border-color: rgba(73, 213, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
  outline: 0;
}

.pack-option span,
.pack-option small,
.pack-option em,
.pack-option i {
  color: var(--muted);
  font-weight: 800;
}

.pack-option span {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.pack-option strong {
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
}

.pack-option small {
  font-size: 0.78rem;
  line-height: 1.3;
}

.pack-option em,
.pack-option i {
  margin-top: 2px;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.25;
}

.featured-pack {
  border-color: rgba(255, 54, 94, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 54, 94, 0.16), rgba(255, 194, 71, 0.07)),
    rgba(255, 255, 255, 0.055);
  animation: featuredPulse 1500ms ease-in-out infinite;
}

.membership-pack {
  min-height: auto;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "badge price"
    "name price"
    "details price"
    "value cta";
  align-items: center;
  column-gap: 18px;
  row-gap: 8px;
  padding: 16px 18px;
  border-color: rgba(255, 54, 94, 0.82);
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 194, 71, 0.16), transparent 44%),
    linear-gradient(135deg, rgba(255, 54, 94, 0.2), rgba(73, 213, 255, 0.07)),
    rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.membership-pack:hover,
.membership-pack:focus-visible {
  border-color: rgba(255, 54, 94, 0.9);
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 194, 71, 0.18), transparent 44%),
    linear-gradient(135deg, rgba(255, 54, 94, 0.24), rgba(255, 54, 94, 0.09)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    0 24px 58px rgba(255, 54, 94, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.membership-pack .pack-badge {
  grid-area: badge;
}

.membership-pack span {
  grid-area: name;
}

.membership-pack strong {
  grid-area: price;
  justify-self: end;
  font-size: 1.72rem;
  white-space: nowrap;
}

.membership-pack small {
  grid-area: details;
  max-width: 28ch;
}

.membership-pack em {
  grid-area: value;
  color: #ffd8e0;
  font-size: 0.78rem;
}

.membership-pack i {
  grid-area: cta;
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0b0c10;
  background: linear-gradient(135deg, var(--yellow), #ff8b66);
  font-size: 0.72rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(255, 54, 94, 0.22);
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.membership-pack:hover i,
.membership-pack:focus-visible i {
  box-shadow:
    0 14px 30px rgba(255, 54, 94, 0.34),
    0 0 0 2px rgba(255, 54, 94, 0.58);
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.pack-badge {
  width: max-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 999px;
  color: #0b0c10;
  background: linear-gradient(135deg, var(--yellow), #ff9d5b);
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.featured-pack::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 54, 94, 0.62);
  border-radius: 8px;
  opacity: 0.55;
  pointer-events: none;
  animation: featuredPulseRing 1300ms ease-out infinite;
}

.membership-pack::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 34%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 62%,
    transparent 100%
  );
  background-size: 230% 100%;
  opacity: 0.8;
  pointer-events: none;
  animation: membershipSheen 2200ms ease-in-out infinite;
}

@keyframes featuredPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 54, 94, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  50% {
    box-shadow:
      0 0 24px rgba(255, 54, 94, 0.22),
      inset 0 0 0 1px rgba(255, 54, 94, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

@keyframes featuredPulseRing {
  0% {
    opacity: 0.45;
  }

  45% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.45;
  }
}

@keyframes membershipSheen {
  0% {
    background-position: 150% 0;
  }

  58%,
  100% {
    background-position: -70% 0;
  }
}

.buy-screen,
.checkout-screen {
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
}

.back-button {
  justify-self: start;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 800;
}

.back-button:hover,
.back-button:focus-visible {
  color: var(--text);
  outline: 0;
}

.buy-card {
  width: min(420px, 100%);
  padding: 24px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 54, 94, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 54, 94, 0.16), rgba(73, 213, 255, 0.08)),
    var(--panel-soft);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.buy-card h3 {
  font-size: 1.8rem;
}

.buy-card strong {
  color: var(--text);
  font-size: 3rem;
  line-height: 1;
}

.buy-card p:last-of-type {
  color: var(--muted);
  font-weight: 800;
}

.buy-button {
  width: 100%;
  margin-top: 8px;
}

.checkout-card {
  width: min(460px, 100%);
  padding: 24px;
  display: grid;
  gap: 20px;
  border: 1px solid rgba(73, 213, 255, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.12), rgba(255, 54, 94, 0.1)),
    var(--panel-soft);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.checkout-card h3 {
  margin-bottom: 0;
  font-size: 2rem;
}

.checkout-summary {
  display: grid;
  gap: 10px;
}

.checkout-summary div {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.checkout-summary span {
  color: var(--muted);
  font-weight: 800;
}

.checkout-summary strong {
  color: var(--text);
  font-size: 1.3rem;
}

.checkout-confidence {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(40, 214, 141, 0.28);
  border-radius: 8px;
  background: rgba(40, 214, 141, 0.08);
}

.checkout-confidence span {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.checkout-confidence span::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
}

.checkout-button {
  width: 100%;
}

.checkout-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.checkout-status.error {
  color: #ff8aa0;
}

.checkout-status.success {
  color: var(--green);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 20px;
}

.output-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)), var(--panel-soft);
}

.seo-results-grid {
  align-items: start;
}

.best-title-card {
  --accent: var(--yellow);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 194, 71, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(255, 54, 94, 0.13), rgba(73, 213, 255, 0.055)),
    var(--panel-soft);
}

.seo-summary-card {
  --accent: var(--cyan);
}

.description-card {
  --accent: var(--green);
}

.tags-card {
  --accent: var(--purple);
}

.final-card {
  --accent: var(--red);
}

.wide-card {
  grid-column: 1 / -1;
}

.accent-red {
  --accent: var(--red);
}

.accent-yellow {
  --accent: var(--yellow);
}

.accent-cyan {
  --accent: var(--cyan);
}

.accent-green {
  --accent: var(--green);
}

.accent-purple {
  --accent: var(--purple);
}

.accent-blue {
  --accent: var(--blue);
}

.card-heading {
  gap: 12px;
  margin-bottom: 14px;
}

.card-heading > div {
  min-width: 0;
  flex: 1;
}

.card-heading .copy-button {
  margin-left: auto;
}

.card-heading span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-weight: 900;
}

.card-subtitle {
  margin: 5px 0 0;
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 800;
}

.copy-button {
  min-height: 34px;
  padding: 0 11px;
  flex: 0 0 auto;
  border: 1px solid rgba(73, 213, 255, 0.28);
  border-radius: 8px;
  color: #071015;
  background: linear-gradient(135deg, var(--yellow), #ff8b66);
  font-size: 0.76rem;
  font-weight: 950;
  transition:
    filter 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 54, 94, 0.22);
  outline: 0;
}

.copy-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.best-title-output {
  margin: 4px 0 16px;
  color: var(--text) !important;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08 !important;
  font-weight: 950;
}

.credits-strip {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(73, 213, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.credits-strip span {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.credits-strip strong {
  color: var(--green);
  font-size: 0.9rem;
}

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

.seo-summary-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.seo-summary-grid div:first-child,
.seo-summary-grid div:nth-child(2) {
  grid-column: span 1;
}

.seo-summary-grid span,
.recommendation-stack span {
  display: block;
  margin-bottom: 7px;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.seo-summary-grid strong {
  color: var(--text);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.seo-summary-grid p {
  margin: 0;
  color: #dce2ef;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: normal;
}

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

.title-test-card,
.thumbnail-card,
.recommendation-stack div {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.032);
}

.title-test-card {
  display: grid;
  gap: 11px;
}

.title-test-card.variant-a {
  border-color: rgba(73, 213, 255, 0.26);
}

.title-test-card.variant-b {
  border-color: rgba(255, 54, 94, 0.28);
}

.title-test-card.variant-c {
  border-color: rgba(255, 194, 71, 0.28);
}

.title-test-header,
.thumbnail-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.title-test-header span,
.thumbnail-card-heading span {
  width: auto;
  height: auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #0b0c10;
  background: linear-gradient(135deg, var(--yellow), #ff8b66);
  font-size: 0.66rem;
  line-height: 1;
  text-transform: uppercase;
}

.title-test-card h4,
.thumbnail-card h4,
.description-card h4,
.tag-sections h4 {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.28;
}

.title-test-card p,
.thumbnail-card p,
.thumbnail-card small,
.recommendation-stack p {
  margin: 0;
  color: #dce2ef;
  line-height: 1.5;
}

.thumbnail-card small {
  color: var(--muted);
  font-weight: 750;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.keyword-row span {
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid rgba(73, 213, 255, 0.22);
  border-radius: 999px;
  color: #cceeff;
  background: rgba(73, 213, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.compact-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.compact-list li::marker {
  color: var(--accent);
  font-weight: 950;
}

.description-hook {
  margin-bottom: 14px !important;
  padding: 12px 14px;
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  background: rgba(255, 194, 71, 0.08);
  color: #fff2d2 !important;
  font-weight: 850;
}

.description-card .description-text {
  column-count: 1;
  margin-bottom: 16px;
}

.description-card h4 {
  margin: 16px 0 9px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

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

.tag-sections section {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.tag-sections h4 {
  margin-bottom: 10px;
}

.all-tags-output {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(188, 140, 255, 0.22);
  border-radius: 8px;
  color: #d8ccff !important;
  background: rgba(188, 140, 255, 0.08);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.thumbnail-concepts-grid,
.thumbnail-text-list,
.recommendation-stack {
  display: grid;
  gap: 12px;
}

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

.thumbnail-card {
  display: grid;
  gap: 10px;
}

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

.thumbnail-text-item {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 194, 71, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 194, 71, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.032);
}

.thumbnail-text-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.thumbnail-text-heading strong {
  min-width: 0;
  color: #fff2d2;
  font-size: 1.05rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.thumbnail-text-item p,
.thumbnail-text-item small {
  margin: 0;
  color: #dce2ef;
  line-height: 1.5;
}

.thumbnail-text-item small {
  color: var(--muted);
  font-weight: 750;
}

.hook-list li {
  color: #f2f5fb;
  font-weight: 750;
}

.output-card p,
.output-card li {
  color: #dce2ef;
  line-height: 1.58;
}

.output-card p {
  margin-bottom: 0;
  white-space: pre-wrap;
}

.title-list,
.shorts-list {
  margin: 0;
  padding-left: 22px;
}

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

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

.title-list li::marker {
  color: var(--red);
  font-weight: 900;
}

.shorts-list li::marker {
  color: var(--blue);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hashtag-list .tag-pill {
  border-color: rgba(73, 213, 255, 0.3);
  color: #d5f7ff;
  background: rgba(73, 213, 255, 0.1);
}

.keyword-idea-grid,
.hook-breakdown,
.safety-warning-stack {
  display: grid;
  gap: 12px;
}

.keyword-idea-grid {
  grid-template-columns: 1fr;
}

.keyword-idea-grid section,
.hook-breakdown div,
.safety-status,
.safety-warning-item {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.keyword-idea-grid h4,
.hook-breakdown span,
.safety-warning-item span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hook-breakdown p,
.safety-warning-item p,
.safety-status p,
.pinned-comment-output {
  margin: 0;
}

.hook-breakdown div:first-child {
  border-color: rgba(63, 227, 148, 0.24);
  background: rgba(63, 227, 148, 0.07);
}

.hook-breakdown div:first-child p,
.pinned-comment-output {
  color: #f2f5fb !important;
  font-weight: 850;
}

.safety-status {
  border-color: rgba(63, 227, 148, 0.28);
  background: rgba(63, 227, 148, 0.07);
}

.safety-status.has-warning {
  border-color: rgba(255, 54, 94, 0.34);
  background: rgba(255, 54, 94, 0.09);
}

.safety-status strong {
  display: block;
  margin-bottom: 8px;
  color: #f2f5fb;
  font-size: 1rem;
}

.tag-pill {
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(188, 140, 255, 0.26);
  border-radius: 999px;
  color: #efe6ff;
  background: rgba(188, 140, 255, 0.1);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.description-text {
  column-count: 2;
  column-gap: 24px;
}

.hook-line {
  font-size: 1.18rem;
  font-weight: 900;
}

.history-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(73, 213, 255, 0.08), rgba(188, 140, 255, 0.08));
}

.history-heading {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.history-heading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.history-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(73, 213, 255, 0.35);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.history-empty {
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.14);
}

.history-empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.history-empty p {
  margin: 0;
}

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

.history-item {
  width: 100%;
  padding: 13px 14px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.history-item:hover,
.history-item:focus-visible {
  border-color: rgba(73, 213, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
  outline: 0;
}

.history-item strong {
  overflow-wrap: anywhere;
}

.history-item span {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 800;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(255, 54, 94, 0.24);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 22px 44px rgba(255, 54, 94, 0.34);
    transform: translateY(-1px);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%, 0% 50%;
  }

  50% {
    background-position: 140% 50%, 100% 50%;
  }
}

@keyframes buttonShimmer {
  0% {
    background-position: 160% 0, 0% 0;
  }

  100% {
    background-position: -80% 0;
  }
}

@keyframes labelShimmer {
  0% {
    background-position: 140% 0;
  }

  62%,
  100% {
    background-position: -80% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-button,
  .primary-button::before,
  .button-label,
  .featured-pack,
  .featured-pack::after,
  .spinner {
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    top: auto;
  }

  .marketing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .public-pricing,
  .pricing-conversion-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paid-beta-banner,
  .agency-sprint-grid {
    grid-template-columns: 1fr;
  }

  .lead-capture-bridge {
    grid-template-columns: 1fr;
  }

  .lead-capture-bridge .primary-link {
    width: max-content;
  }

  .public-plan-card {
    min-height: 232px;
    padding: 18px;
  }

  .public-plan-card strong {
    font-size: 2rem;
  }

  .public-plan-card i {
    width: 100%;
    text-align: center;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .results-panel {
    min-height: auto;
  }

  .empty-state {
    min-height: 360px;
  }

  .title-test-grid,
  .tag-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
  }

  .marketing-hero,
  .website-section,
  .product-section,
  .site-footer,
  .lead-capture-bridge {
    width: min(100% - 24px, 1180px);
  }

  .marketing-hero {
    padding: 28px 0 52px;
  }

  .marketing-copy h1 {
    font-size: 3rem;
  }

  .marketing-actions,
  .hero-metrics {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link,
  .lead-capture-bridge .primary-link,
  .paid-beta-banner .primary-link {
    width: 100%;
  }

  .website-preview,
  .feature-grid article,
  .example-grid article,
  .public-plan-card {
    padding: 18px;
  }

  .feature-grid,
  .trust-grid,
  .public-pricing,
  .pricing-conversion-strip,
  .beta-reassurance,
  .generation-ux-panel,
  .example-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .public-plan-card {
    min-height: auto;
  }

  .app-shell {
    width: min(100% - 24px, 1180px);
    padding: 24px 0;
  }

  .hero-panel,
  .results-panel {
    padding: 18px;
  }

  .brand-row {
    align-items: flex-start;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .seo-summary-grid,
  .thumbnail-concepts-grid {
    grid-template-columns: 1fr;
  }

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

  .description-text {
    column-count: 1;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .pack-options {
    grid-template-columns: 1fr;
  }

  .action-row,
  .results-header,
  .account-row {
    align-items: stretch;
    flex-direction: column;
  }
}

.free-tool-panel {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(73, 213, 255, 0.08), transparent 42%),
    var(--panel-soft);
}

.free-tool-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.free-tool-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.free-tool-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.free-tool-output {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #e8edf8;
  background: rgba(0, 0, 0, 0.2);
}

.free-tool-output ul {
  margin: 0;
  padding-left: 20px;
}

.free-tool-output li + li {
  margin-top: 8px;
}

.free-tool-upgrade {
  margin-top: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 194, 71, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 194, 71, 0.13), rgba(255, 54, 94, 0.07)),
    rgba(255, 255, 255, 0.04);
}

.free-tool-upgrade strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.free-tool-upgrade p {
  margin: 6px 0 0;
  color: #c8d0df;
  line-height: 1.55;
  font-weight: 700;
}

.free-tool-upgrade .primary-link {
  flex: 0 0 auto;
}

.tool-disclaimer {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 700;
}

.free-tool-related {
  margin-top: 24px;
}

.free-tool-related h2 {
  font-size: 1.2rem;
}

.free-tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.free-tool-links a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.86rem;
  font-weight: 900;
}

@media (max-width: 640px) {
  .free-tool-form {
    grid-template-columns: 1fr;
  }

  .free-tool-upgrade {
    align-items: stretch;
    flex-direction: column;
  }
}
