:root {
  --background: #000000;
  --foreground: #ffffff;
  --card: #0a0a0a;
  --popover: #0a0a0a;
  --primary: #fbc024;
  --primary-foreground: #000000;
  --secondary: #111111;
  --muted: #111111;
  --muted-foreground: #d4d4d4;
  --border: #262626;
  --input: #262626;
  --ring: #fbc024;
  --accent-soft: rgba(251, 192, 36, 0.18);
  --accent-soft-strong: rgba(251, 192, 36, 0.28);
  --danger: #ff8f8f;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.52);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
  --page-gutter: clamp(32px, 12vw, 260px);
  --font-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", Inter, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --text-base: 0.9375rem;
  --text-lg: 1rem;
  --text-sm: 0.875rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--foreground);
  background:
    radial-gradient(circle at 14% 16%, rgba(251, 192, 36, 0.1), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(251, 192, 36, 0.08), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(251, 192, 36, 0.05), transparent 28%),
    linear-gradient(180deg, #000000 0%, #050505 48%, #000000 100%);
  line-height: 1.65;
}

a {
  color: var(--foreground);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

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

.site-shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--foreground);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(251, 192, 36, 0.2);
  flex: 0 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links,
.nav-subpages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a,
.nav-subpages a {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 999px;
  transition: 0.22s ease;
}

.nav-links a:hover,
.nav-subpages a:hover {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta,
.button,
button.button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd561, var(--primary));
  color: var(--primary-foreground);
  font-weight: 800;
  padding: 12px 18px;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(251, 192, 36, 0.24);
}

.button.alt {
  background: var(--secondary);
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero {
  padding: 0 0 30px;
}

.hero .site-shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--max));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--foreground);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  margin-top: 0;
}

h3 {
  font-size: clamp(0.98rem, 1vw, 1.08rem);
}

.lead {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  max-width: 68ch;
  line-height: 1.6;
}

.hero-copy .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  padding: 42px 0 0;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -3% -18% 8% -18%;
  background:
    radial-gradient(circle at 18% 72%, rgba(0, 183, 255, 0.22), transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(255, 92, 47, 0.28), transparent 24%),
    radial-gradient(circle at 56% 44%, rgba(137, 48, 255, 0.14), transparent 20%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-copy-centered {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy-centered h1 {
  max-width: none;
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 2.55vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy-centered .lead {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.9rem, 0.92vw, 1rem);
  line-height: 1.5;
  font-weight: 600;
}

.micro-note {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.hero-card,
.panel,
.section-card,
.faq-item,
.prompt-card,
.metric-card,
.timeline-card,
.compare-card {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(6, 6, 6, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.generator-card {
  padding: 22px;
}

.generator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.status-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.75rem;
  border: 1px solid var(--accent-soft-strong);
}

.field-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

textarea,
.fake-upload {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--input);
  background: var(--secondary);
  color: var(--foreground);
  padding: 16px 18px;
  font: inherit;
}

textarea {
  min-height: 144px;
  resize: vertical;
}

textarea::placeholder {
  color: var(--muted-foreground);
}

.fake-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  color: var(--muted-foreground);
  margin-top: 16px;
}

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

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.82rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.chip:hover,
.chip.active {
  color: var(--foreground);
  border-color: rgba(251, 192, 36, 0.42);
  background: rgba(251, 192, 36, 0.14);
}

.generator-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.generator-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted-foreground);
}

.hero-console {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 46px auto 0;
  padding: 26px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 78%, rgba(0, 195, 235, 0.18), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(255, 88, 45, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(10, 18, 30, 0.96), rgba(45, 15, 22, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-console-glow {
  position: absolute;
  inset: auto 22% -18px 22%;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 225, 102, 0), rgba(255, 225, 102, 0.92), rgba(255, 225, 102, 0));
  filter: blur(16px);
  opacity: 0.8;
  pointer-events: none;
}

.hero-console-top {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.hero-input-shell {
  min-height: 112px;
  padding: 0 2px 8px;
}

.hero-input-copy {
  min-width: 0;
}

.hero-input-copy textarea {
  min-height: 104px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  font-size: clamp(0.92rem, 0.96vw, 1.08rem);
  line-height: 1.35;
  resize: none;
}

.hero-input-copy textarea:focus {
  outline: none;
}

.hero-input-copy textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.hero-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
}

.toolbar-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.tool-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.tool-pill:hover,
.tool-pill.active {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
}

.hero-submit {
  min-height: 58px;
  margin-left: auto;
  padding: 0 36px;
  background: linear-gradient(135deg, #fff16f 0%, #ffc83d 45%, #ff9f1c 100%);
  color: #140700;
  font-size: 1.02rem;
  font-weight: 800;
  border: 1px solid rgba(255, 243, 157, 0.72);
  box-shadow:
    0 22px 48px rgba(255, 188, 36, 0.46),
    0 0 0 4px rgba(255, 202, 53, 0.08);
}

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

.hero-visual {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -120px 20% auto -80px;
  height: 220px;
  background: radial-gradient(circle, rgba(120, 215, 255, 0.24), transparent 62%);
}

.dashboard {
  position: relative;
  display: grid;
  gap: 16px;
}

.dashboard-top,
.dashboard-strip,
.dashboard-preview {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--secondary);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

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

.mini-card {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(251, 192, 36, 0.08), rgba(255, 255, 255, 0.01));
}

.mini-card strong,
.metric-card strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.dashboard-preview {
  padding: 14px;
}

.preview-screen {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(12, 12, 12, 0.98), rgba(2, 2, 2, 0.98)),
    linear-gradient(45deg, rgba(251, 192, 36, 0.06), transparent 60%);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.preview-screen::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 24px;
  background:
    radial-gradient(circle at 22% 28%, rgba(251, 192, 36, 0.24), transparent 20%),
    radial-gradient(circle at 74% 38%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(251, 192, 36, 0.12), rgba(18, 18, 18, 0.28));
}

.preview-screen::after {
  content: "";
  position: absolute;
  inset: auto 6% 8% 6%;
  height: 28%;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      90deg,
      rgba(251, 192, 36, 0.18) 0 10%,
      rgba(255, 255, 255, 0.03) 10% 20%
    );
}

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted-foreground);
  font-size: 0.88rem;
  line-height: 1.6;
}

.content-grid,
.two-col,
.card-grid,
.video-grid,
.prompt-grid,
.faq-grid,
.footer-grid,
.link-grid {
  display: grid;
  gap: 18px;
}

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

.card-grid.three,
.video-grid,
.prompt-grid,
.faq-grid,
.footer-grid,
.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.section-card,
.metric-card,
.compare-card,
.timeline-card,
.faq-item,
.prompt-card {
  padding: 22px;
}

.feature-demo-card {
  margin-bottom: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(6, 6, 6, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-demo-card > h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  margin-bottom: 12px;
}

.feature-demo-card > p {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.feature-demo-table td {
  width: 33.33%;
}

.feature-demo-table td p {
  margin: 0;
}

.media-cell {
  margin: 0;
}

.feature-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #050505;
}

.media-cell figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.video-card {
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(6, 6, 6, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  border-bottom: 1px solid var(--border);
}

.video-card figcaption {
  padding: 18px 18px 20px;
}

.video-card h3 {
  margin-bottom: 10px;
}

.video-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.prompt-accordion {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.prompt-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 2px 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.prompt-accordion summary::-webkit-details-marker {
  display: none;
}

.prompt-accordion summary::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 255, 255, 0.86);
  border-bottom: 2px solid rgba(255, 255, 255, 0.86);
  transform: rotate(-45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  margin-left: 4px;
}

.prompt-accordion[open] summary::before {
  transform: rotate(45deg);
  border-color: var(--primary);
}

.prompt-accordion-body {
  padding-top: 10px;
}

.prompt-accordion .prompt-box {
  margin-bottom: 0;
}

.section-card p,
.compare-card p,
.timeline-card p,
.prompt-card p,
.faq-item p,
.footer p,
.footer li,
.checklist li {
  font-size: 0.88rem;
  line-height: 1.65;
}

.section-card p:last-child,
.faq-item p:last-child,
.prompt-card p:last-child,
.compare-card p:last-child {
  margin-bottom: 0;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.text-link-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.82rem;
}

.prompt-box {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--secondary);
  padding: 16px;
  margin: 14px 0 16px;
  color: var(--foreground);
  font-size: 0.88rem;
  line-height: 1.6;
}

.prompt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prompt-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(251, 192, 36, 0.12);
  color: var(--primary);
  font-size: 0.75rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.84rem;
  line-height: 1.55;
}

.compare-table th {
  background: var(--secondary);
  font-size: 0.84rem;
  font-weight: 700;
}

.checklist {
  padding-left: 18px;
  color: var(--muted-foreground);
}

.checklist li + li {
  margin-top: 8px;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.faq-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 28px;
}

.faq-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.faq-head p {
  max-width: 760px;
  margin: 0 auto;
}

.faq-accordion {
  width: min(100%, 1380px);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 6px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 0.9vw, 0.95rem);
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-item summary::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-right: 3px solid rgba(255, 255, 255, 0.88);
  border-bottom: 3px solid rgba(255, 255, 255, 0.88);
  transform: rotate(-45deg);
  transition: transform 0.22s ease, border-color 0.22s ease;
  margin-left: 6px;
}

.faq-accordion-item[open] summary {
  color: var(--foreground);
}

.faq-accordion-item[open] summary::before {
  transform: rotate(45deg);
  border-color: var(--primary);
}

.faq-accordion-item summary:hover {
  color: var(--foreground);
}

.faq-accordion-body {
  padding: 0 8px 28px 46px;
}

.faq-accordion-body p {
  max-width: 1120px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.65;
}

.cta-band {
  padding: 28px;
  display: grid;
  gap: 18px;
  align-items: center;
  grid-template-columns: 1fr auto;
}

.mini-generator {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-generator input {
  flex: 1 1 280px;
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(141, 165, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  padding: 0 18px;
  font: inherit;
  font-size: 0.86rem;
}

.disclaimer {
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  background: rgba(251, 192, 36, 0.08);
  border-radius: 14px;
  color: #f8e3a2;
}

.footer {
  padding: 38px 0 52px;
  border-top: 1px solid var(--border);
  margin-top: 26px;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer h3 {
  margin-bottom: 10px;
}

.footer p,
.footer li {
  color: var(--muted-foreground);
  font-size: 0.82rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li + li {
  margin-top: 8px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  color: var(--muted-foreground);
  font-size: 0.8rem;
}

.breadcrumbs a {
  color: var(--foreground);
}

.page-hero {
  padding: 48px 0 20px;
}

.page-hero .hero-card {
  padding: 28px;
}

.page-hero p {
  max-width: 72ch;
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
}

.page-hero-copy h1 {
  max-width: none;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: clamp(1.8rem, 2.55vw, 2.45rem);
}

.page-hero-copy .hero-subtitle {
  max-width: 58ch;
  font-size: 0.9rem;
  line-height: 1.62;
}

.page-hero-copy .hero-subcopy {
  max-width: 54ch;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-media {
  position: relative;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.page-hero-media::before {
  content: "";
  position: absolute;
  inset: auto 10% -20% 10%;
  height: 34%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(251, 192, 36, 0.28), transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}

.page-hero-media video {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  object-fit: cover;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.page-hero-caption {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  line-height: 1.6;
}

.hero-card.hero-card-centered {
  text-align: center;
}

.hero-card.hero-card-centered .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.hero-card.hero-card-centered h1 {
  max-width: none;
  white-space: nowrap;
}

.hero-card.hero-card-centered h1,
.hero-card.hero-card-centered p {
  margin-left: auto;
  margin-right: auto;
}

.hero-card.hero-card-centered .hero-subtitle {
  max-width: 48ch;
  font-size: 0.94rem;
  line-height: 1.65;
}

.hero-card.hero-card-centered .hero-subcopy {
  max-width: 44ch;
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

.hero-card.hero-card-centered.hero-copy-wide .hero-subtitle {
  max-width: 88ch;
}

.hero-card.hero-card-centered.hero-copy-wide .hero-subcopy {
  max-width: 92ch;
}

.hero-card.hero-card-centered .hero-cta-row {
  justify-content: center;
}

.hero-cta-row,
.cluster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.stat-pill {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--secondary);
  border: 1px solid var(--border);
}

code,
.prompt-tag,
.status-badge,
.chip,
.text-link-pill {
  font-family: var(--font-mono);
}

.stat-pill strong {
  display: block;
  margin-bottom: 4px;
}

.topic-cluster {
  padding: 26px;
}

.topic-cluster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.topic-cluster-head p {
  margin: 0;
  color: var(--muted-foreground);
}

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

.cluster-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: 0.86rem;
  transition: 0.2s ease;
}

.cluster-link:hover,
.cluster-link.is-current {
  color: var(--foreground);
  border-color: rgba(251, 192, 36, 0.34);
  background: rgba(251, 192, 36, 0.1);
}

.cluster-link.is-current::after {
  content: "Current";
  color: var(--primary);
  font-size: 0.74rem;
}

.conversion-panel {
  display: grid;
  gap: 18px;
}

.conversion-tool-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(251, 192, 36, 0.08), rgba(255, 255, 255, 0.02)),
    var(--secondary);
}

.conversion-tool-card p {
  margin: 0 0 14px;
}

.conversion-tool-card label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.conversion-tool-card input {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--input);
  background: rgba(255, 255, 255, 0.03);
  color: var(--foreground);
  padding: 0 16px;
  font: inherit;
  margin-bottom: 14px;
}

@media (max-width: 1060px) {
  .hero-grid,
  .page-hero-split,
  .content-grid.two,
  .two-col,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .video-grid,
  .prompt-grid,
  .faq-grid,
  .link-grid,
  .tool-grid,
  .dashboard-strip,
  .stat-row,
  .topic-cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-inner {
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-end;
  }

  .hero .site-shell {
    width: min(calc(100% - 42px), var(--max));
  }

  .hero-copy-centered h1 {
    font-size: clamp(1.8rem, 4vw, 2.35rem);
    white-space: normal;
  }

  .page-hero-copy h1 {
    white-space: normal;
  }

  .hero-card.hero-card-centered h1 {
    white-space: normal;
  }

  .hero-console {
    margin-top: 24px;
  }

  .hero-input-shell {
    min-height: 96px;
  }

  .hero-input-copy textarea {
    font-size: 0.9rem;
  }

  .hero-submit {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 22px), var(--max));
  }

  .hero .site-shell {
    width: min(calc(100% - 22px), var(--max));
  }

  h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero-copy-centered h1 {
    font-size: clamp(1.65rem, 6.8vw, 2rem);
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .hero-copy-centered .lead {
    font-size: 0.84rem;
    line-height: 1.46;
  }

  h2 {
    font-size: clamp(1.2rem, 4.8vw, 1.45rem);
  }

  h3 {
    font-size: clamp(0.9rem, 3.4vw, 1rem);
  }

  .card-grid.three,
  .video-grid,
  .prompt-grid,
  .faq-grid,
  .link-grid,
  .tool-grid,
  .dashboard-strip,
  .stat-row,
  .topic-cluster-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap,
  .nav-links,
  .nav-subpages {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    padding: 14px 0;
  }

  .nav-wrap {
    width: 100%;
  }

  .nav-subpages {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-subpages a {
    flex: 0 0 auto;
    padding: 8px 10px;
  }

  .generator-actions,
  .prompt-actions {
    align-items: stretch;
  }

  .button,
  .nav-cta,
  button.button {
    width: 100%;
  }

  .hero-stage {
    padding-top: 18px;
  }

  .hero-console {
    margin-top: 16px;
    padding: 16px;
    border-radius: 26px;
  }

  .hero-input-shell {
    min-height: auto;
    padding-top: 4px;
  }

  .hero-input-copy textarea {
    min-height: 72px;
    font-size: 0.84rem;
    padding: 0;
  }

  .hero-toolbar {
    align-items: stretch;
  }

  .toolbar-group {
    display: contents;
    width: auto;
  }

  .tool-pill {
    flex: 1 1 auto;
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .hero-submit {
    flex: 1 0 100%;
    width: 100%;
    font-size: 0.96rem;
    min-height: 52px;
  }

  .faq-accordion-item summary {
    gap: 16px;
    padding: 18px 4px;
    font-size: 0.84rem;
  }

  .faq-accordion-body {
    padding: 0 4px 22px 30px;
  }
}
