:root {
  --bg: #120f0c;
  --panel: rgba(31, 25, 21, 0.8);
  --line: rgba(224, 190, 150, 0.18);
  --text: #f8f1e8;
  --muted: #cdbba9;
  --accent: #d1a46b;
  --accent-strong: #f07c4a;
  --accent-soft: #ffdfbf;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(240, 124, 74, 0.24), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(209, 164, 107, 0.17), transparent 20%),
    linear-gradient(180deg, #0e0b09 0%, #17110d 45%, #0e0a08 100%);
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

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

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

.site-shell::before {
  width: 360px;
  height: 360px;
  top: 10%;
  right: -120px;
  background: rgba(240, 124, 74, 0.18);
}

.site-shell::after {
  width: 260px;
  height: 260px;
  bottom: 12%;
  left: -80px;
  background: rgba(209, 164, 107, 0.14);
}

.site-container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(10, 8, 7, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255, 223, 191, 0.15);
  background:
    linear-gradient(145deg, rgba(240, 124, 74, 0.3), rgba(209, 164, 107, 0.1)),
    radial-gradient(circle at center, rgba(248, 241, 232, 0.08), transparent 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 2px solid transparent;
}

.brand-mark::before {
  border-top-color: var(--accent);
  border-left-color: var(--accent);
}

.brand-mark::after {
  inset: 22px 11px 11px 22px;
  border-top-color: var(--accent-soft);
  border-right-color: var(--accent-soft);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-copy strong,
.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a {
  padding: 0.85rem 1rem;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 223, 191, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 4px;
  background: var(--text);
}

.hero-section,
.feature-section,
.generator-section,
.faq-section {
  padding: 4rem 0;
}

.hero-layout,
.generator-layout,
.faq-layout,
.feature-grid,
.results-grid,
.field-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-kicker,
.section-heading span,
.results-head span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 124, 74, 0.24);
  background: rgba(240, 124, 74, 0.08);
  color: var(--accent-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-copy h1,
.section-heading h2,
.results-head h3,
.fallback-copy h1,
.hero-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.95;
}

.hero-copy h1 {
  margin-top: 1.2rem;
  max-width: 11ch;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
}

.hero-copy p,
.feature-card p,
.results-head p,
.design-copy p,
.faq-list p,
.fallback-copy p,
.site-footer p,
.form-note,
.hero-card ul {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #170f0a;
  box-shadow: 0 18px 40px rgba(240, 124, 74, 0.22);
}

.button-secondary {
  border-color: rgba(255, 223, 191, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.button-wide {
  width: 100%;
}

.hero-metrics {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-metrics article,
.feature-card,
.generator-panel,
.results-panel,
.faq-list article,
.fallback-copy,
.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(42, 31, 26, 0.82), rgba(19, 15, 12, 0.9));
  box-shadow: var(--shadow);
}

.hero-metrics article,
.feature-card,
.faq-list article,
.design-card,
.generator-panel,
.results-panel,
.fallback-copy,
.hero-card {
  border-radius: var(--radius-lg);
}

.hero-metrics article,
.feature-card,
.faq-list article,
.fallback-copy,
.hero-card,
.generator-panel,
.results-panel {
  padding: 1.5rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-soft);
}

.hero-art {
  position: relative;
  min-height: 620px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
}

.orb-one {
  inset: 1% auto auto 8%;
  width: 220px;
  height: 220px;
  background: rgba(240, 124, 74, 0.22);
}

.orb-two {
  inset: auto 6% 8% auto;
  width: 180px;
  height: 180px;
  background: rgba(209, 164, 107, 0.18);
}

.hero-card {
  position: absolute;
  overflow: hidden;
}

.hero-card span,
.hero-card li {
  color: var(--accent-soft);
}

.hero-card h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.hero-card-main {
  inset: 4% 16% 18% 0;
}

.hero-card-side {
  inset: auto 0 0 22%;
  max-width: 340px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

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

.section-heading h2,
.results-head h3,
.fallback-copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

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

.feature-card strong {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(240, 124, 74, 0.12);
  color: var(--accent-soft);
}

.generator-layout,
.faq-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.prompt-form {
  display: grid;
  gap: 1rem;
}

.prompt-form label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: var(--accent-soft);
}

.prompt-form textarea,
.prompt-form select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 223, 191, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 1rem 1.05rem;
  outline: none;
}

.prompt-form textarea {
  resize: vertical;
  min-height: 220px;
}

.prompt-form textarea:focus,
.prompt-form select:focus {
  border-color: rgba(240, 124, 74, 0.46);
  box-shadow: 0 0 0 3px rgba(240, 124, 74, 0.14);
}

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

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.quick-tags button {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 223, 191, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
}

.quick-tags button:hover,
.quick-tags button:focus-visible {
  color: var(--text);
  border-color: rgba(240, 124, 74, 0.35);
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.results-head h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

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

.design-card {
  overflow: hidden;
  border: 1px solid rgba(255, 223, 191, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.design-card img,
.placeholder-art {
  aspect-ratio: 2 / 3;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
}

.design-card img {
  object-fit: cover;
}

.design-copy {
  padding: 1rem;
}

.placeholder-art.one {
  background-image:
    radial-gradient(circle at 50% 24%, rgba(240, 124, 74, 0.24), transparent 18%),
    linear-gradient(180deg, transparent 24%, rgba(255, 223, 191, 0.14) 24%, rgba(255, 223, 191, 0.14) 26%, transparent 26%),
    radial-gradient(circle at center, transparent 22%, rgba(255, 223, 191, 0.09) 22%, rgba(255, 223, 191, 0.09) 24%, transparent 24%);
}

.placeholder-art.two {
  background-image:
    radial-gradient(circle at center, rgba(240, 124, 74, 0.2), transparent 14%),
    radial-gradient(circle at center, transparent 26%, rgba(255, 223, 191, 0.1) 26%, rgba(255, 223, 191, 0.1) 28%, transparent 28%),
    linear-gradient(90deg, transparent 48%, rgba(255, 223, 191, 0.12) 48%, rgba(255, 223, 191, 0.12) 52%, transparent 52%);
}

.placeholder-art.three {
  background-image:
    linear-gradient(45deg, transparent 36%, rgba(255, 223, 191, 0.1) 36%, rgba(255, 223, 191, 0.1) 38%, transparent 38%),
    linear-gradient(-45deg, transparent 36%, rgba(255, 223, 191, 0.1) 36%, rgba(255, 223, 191, 0.1) 38%, transparent 38%),
    radial-gradient(circle at center, rgba(240, 124, 74, 0.2), transparent 15%);
}

.design-card.is-loading {
  animation: pulse 1.2s ease-in-out infinite;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid rgba(255, 223, 191, 0.08);
  padding-top: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.fallback-page {
  padding: 4rem 0;
}

.fallback-copy {
  max-width: 780px;
}

.fallback-copy span,
.status-success {
  color: #f4d2a8;
}

.status-error {
  color: #ff9d8e;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .hero-layout,
  .generator-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid;
    place-content: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 223, 191, 0.1);
    background: rgba(15, 11, 9, 0.95);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero-copy h1,
  .section-heading h2,
  .results-head h3,
  .fallback-copy h1 {
    line-height: 1;
  }

  .hero-metrics,
  .feature-grid,
  .results-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-main {
    inset: 0 0 auto 0;
  }

  .hero-card-side {
    inset: auto 0 0 0;
    max-width: none;
  }

  .hero-art {
    min-height: 540px;
  }

  .results-head,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
