:root {
  --ink: #15110c;
  --muted: #685f52;
  --paper: #f7f0e4;
  --panel: #fffaf0;
  --line: #d7c5a8;
  --accent: #126b5f;
  --accent-2: #d34e24;
  --dark: #1d2b28;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(211, 78, 36, 0.13), transparent 32rem),
    radial-gradient(circle at 90% 10%, rgba(18, 107, 95, 0.14), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(21, 17, 12, 0.12);
  backdrop-filter: blur(18px);
  background: rgba(247, 240, 228, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--dark);
  color: var(--paper);
  border-radius: 0.4rem;
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(19rem, 0.74fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem) 3rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-2);
  font: 700 0.78rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 0.45rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.7rem 1.6rem rgba(21, 17, 12, 0.16);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
}

.button.full {
  width: 100%;
}

.hero-panel,
.generator-form,
.output-panel,
.feature-grid article,
.library-card,
.compare-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 1.3rem 3rem rgba(21, 17, 12, 0.08);
}

.hero-panel {
  padding: 1rem;
  transform: rotate(1.5deg);
}

.panel-top {
  display: flex;
  gap: 0.4rem;
  padding: 0.25rem 0 0.9rem;
}

.panel-top span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--line);
}

.prompt-card {
  min-height: 21rem;
  padding: 1.4rem;
  color: #f2eadb;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.44)),
    repeating-linear-gradient(135deg, #143f38 0 0.7rem, #18312d 0.7rem 1.4rem);
  border-radius: 0.35rem;
}

.prompt-card h2 {
  font-size: clamp(1.8rem, 4vw, 3.8rem);
}

.tag {
  display: inline-flex;
  margin-bottom: 4rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(242, 234, 219, 0.5);
  border-radius: 999px;
  font: 700 0.75rem/1 ui-monospace, Consolas, monospace;
  text-transform: uppercase;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.metric-row div {
  padding: 0.8rem;
  border: 1px solid rgba(21, 17, 12, 0.12);
  border-radius: 0.35rem;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.78rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 1rem 4rem;
}

.trust-strip span {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.7);
}

.tool-section,
.feature-band,
.page-section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading p {
  color: var(--muted);
}

.generator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(18rem, 1fr);
  gap: 1rem;
  align-items: start;
}

.generator-form,
.output-panel {
  padding: clamp(1rem, 3vw, 1.5rem);
}

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #fffdf7;
  color: var(--ink);
  font: 1rem/1.4 ui-sans-serif, system-ui, sans-serif;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.copy-button {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--panel);
  cursor: pointer;
}

pre {
  min-height: 25rem;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  white-space: pre-wrap;
  border-radius: 0.35rem;
  background: #1d2b28;
  color: #f8ead1;
  font: 0.93rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.small-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-band {
  background: rgba(29, 43, 40, 0.06);
}

.feature-grid,
.library-grid,
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article,
.library-card,
.compare-card,
.legal-card {
  padding: 1.2rem;
}

.library-card p,
.compare-card p,
.legal-card p,
.site-footer p {
  color: var(--muted);
}

.library-card pre {
  min-height: 10rem;
  margin-top: 1rem;
  font-size: 0.82rem;
}

.page-hero {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 5rem) 1rem;
}

.page-hero h1 {
  max-width: 13ch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 52rem;
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .generator-grid,
  .feature-grid,
  .library-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    transform: none;
  }

  h1 {
    max-width: 12ch;
  }
}


.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 42rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: rgba(18, 107, 95, 0.08);
}

.disclaimer-line {
  max-width: 42rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.ad-slot {
  margin: 1rem clamp(1rem, 5vw, 5rem) 3rem;
  padding: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 250, 240, 0.66);
  text-align: center;
  color: var(--muted);
}

.ad-slot span {
  display: inline-flex;
  margin-bottom: 0.35rem;
  font: 700 0.75rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}

.ad-slot p {
  margin: 0;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: 1rem;
  align-items: center;
  margin: 0 clamp(1rem, 5vw, 5rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--dark);
  color: var(--paper);
}

.newsletter p {
  color: rgba(247, 240, 228, 0.76);
}

.newsletter form {
  display: flex;
  gap: 0.7rem;
}

.newsletter input {
  border-color: rgba(247, 240, 228, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.newsletter .button.primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--dark);
}

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

.faq-grid article {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 250, 240, 0.8);
}

.faq-grid p {
  color: var(--muted);
}

.legal-card a,
.compare-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 860px) {
  .newsletter,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .newsletter form {
    flex-direction: column;
  }
}

.mini-workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 43rem;
  margin-top: 1.2rem;
}

.mini-workflow div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 1px solid rgba(21, 17, 12, 0.14);
  border-radius: 0.45rem;
  background: rgba(255, 250, 240, 0.68);
}

.mini-workflow strong {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font: 700 0.78rem/1 ui-monospace, Consolas, monospace;
  flex: 0 0 auto;
}

.mini-workflow span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ad-muted {
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.62), rgba(18, 107, 95, 0.05));
}

.library-card {
  position: relative;
}

.library-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.library-card-head h2 {
  margin-bottom: 0.35rem;
}

.copy-mini {
  flex: 0 0 auto;
  padding: 0.45rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #fffdf7;
  color: var(--accent);
  cursor: pointer;
  font: 700 0.78rem/1 ui-monospace, Consolas, monospace;
}

.copy-mini:hover {
  border-color: var(--accent);
}

.prompt-library-page .library-card pre {
  transition: border-color 160ms ease, transform 160ms ease;
}

.prompt-library-page .library-card:hover pre {
  border-color: rgba(18, 107, 95, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .mini-workflow {
    grid-template-columns: 1fr;
  }
}

/* YouMind-inspired polish: cleaner product-studio feel, without copying assets. */
:root {
  --ink: #111111;
  --muted: #6b6b6b;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e7e2d8;
  --accent: #111111;
  --accent-2: #7a5cff;
  --dark: #111111;
}

body {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 42%, #f5f1e9 100%);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  left: 50%;
  width: min(1120px, calc(100% - 2rem));
  margin: 0.75rem auto 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 35px rgba(17, 17, 17, 0.06);
}

.brand-mark {
  border-radius: 999px;
  background: #111111;
}

.nav-links {
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(17, 17, 17, 0.06);
}

.hero {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 2rem;
  padding-top: clamp(4.5rem, 9vw, 8rem);
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

h1 {
  max-width: 12ch;
  font-weight: 760;
  letter-spacing: -0.045em;
}

h2 {
  font-weight: 720;
  letter-spacing: -0.035em;
}

.hero-text,
.disclaimer-line {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
}

.button {
  border-radius: 999px;
  min-height: 3rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.button.primary {
  background: #111111;
  border-color: #111111;
}

.button.secondary {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.12);
}

.mini-workflow {
  width: min(700px, 100%);
}

.hero-panel {
  width: min(860px, 100%);
  transform: none;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
}

.prompt-card {
  min-height: 16rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 18% 20%, rgba(122, 92, 255, 0.42), transparent 26rem),
    radial-gradient(circle at 84% 28%, rgba(20, 184, 166, 0.25), transparent 24rem),
    linear-gradient(135deg, #111111, #242424 52%, #111111);
}

.prompt-card .tag {
  margin-bottom: 2.4rem;
  border-radius: 999px;
}

.metric-row div,
.mini-workflow div,
.generator-form,
.output-panel,
.feature-grid article,
.library-card,
.compare-card,
.legal-card,
.faq-grid article {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 45px rgba(17, 17, 17, 0.05);
}

.trust-strip span {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.tool-section {
  padding-top: 3rem;
}

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

input,
select,
textarea {
  border-radius: 0.8rem;
  background: #ffffff;
}

pre {
  border-radius: 1rem;
  background: #111111;
}

.ad-slot {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.newsletter {
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(122, 92, 255, 0.36), transparent 20rem),
    #111111;
}

.site-footer {
  background: #ffffff;
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 1.2rem;
  }

  .hero {
    text-align: left;
    justify-items: stretch;
  }

  .hero-copy,
  .section-heading {
    justify-items: start;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  h1 {
    max-width: 10ch;
  }
}

.hero-visual-img {
  width: 100%;
  display: block;
  margin-bottom: 0.85rem;
  border-radius: 1.05rem;
  box-shadow: 0 16px 42px rgba(17, 17, 17, 0.16);
}

.page-visual,
.section-visual {
  display: block;
  width: min(760px, 100%);
  margin: 1.5rem auto 0;
  border-radius: 1.2rem;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.10);
}

.visual-section .section-heading {
  margin-bottom: 0;
}

.visual-section .compare-grid {
  margin-top: 1.5rem;
}

/* Final hero balance: lighter first screen, dark only as accent. */
.hero-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.10);
}

.prompt-card {
  min-height: 12rem;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: none;
}

.prompt-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  color: var(--ink);
}

.prompt-card p:not(.tag) {
  color: var(--muted);
}

.prompt-card .tag {
  margin-bottom: 1.5rem;
  color: #ffffff;
  background: #111111;
  border-color: #111111;
}

.hero-visual-img {
  box-shadow: 0 14px 42px rgba(17, 17, 17, 0.08);
}

.metric-row div {
  background: #ffffff;
}

/* Lovart-inspired hero composition: editable sentence + creation stage. */
.lovart-title {
  display: grid;
  gap: 0.14em;
  max-width: 980px;
  font-size: clamp(3.2rem, 8vw, 8.2rem);
  line-height: 0.86;
}

.lovart-title span {
  color: #111111;
  font-weight: 760;
}

.lovart-title strong,
.lovart-title em {
  display: inline-block;
  justify-self: center;
  padding: 0.05em 0.18em 0.12em;
  border: 1px solid rgba(17, 17, 17, 0.10);
  border-radius: 0.22em;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(17, 17, 17, 0.08);
  font-style: normal;
  font-weight: 780;
}

.lovart-title em {
  color: #ffffff;
  background: #111111;
}

.lovart-command {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  width: min(760px, 100%);
  margin-top: 1.15rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(17, 17, 17, 0.10);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.06);
  text-align: left;
}

.lovart-command span {
  color: var(--accent-2);
  font-weight: 800;
}

.lovart-command p {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lovart-stage {
  position: relative;
  padding: 1rem;
}

.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: #ffffff;
}

.stage-toolbar span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stage-toolbar button {
  border: 0;
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: #111111;
  color: #ffffff;
  font-weight: 800;
}

.asset-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.85rem 0;
}

.asset-row article {
  padding: 0.85rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 1rem;
  background: #ffffff;
  text-align: left;
}

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

.asset-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.asset-row strong {
  margin-top: 0.25rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.lovart-stage .prompt-card {
  text-align: left;
}

@media (max-width: 860px) {
  .lovart-title {
    font-size: clamp(3rem, 16vw, 4.8rem);
    max-width: 100%;
  }

  .lovart-title strong,
  .lovart-title em {
    justify-self: start;
  }

  .lovart-command {
    grid-template-columns: 1fr;
    border-radius: 1.1rem;
  }

  .lovart-command p {
    white-space: normal;
  }

  .asset-row {
    grid-template-columns: 1fr;
  }
}

/* Reduce black mass: soft creative SaaS palette. */
.lovart-title em {
  color: #2a1f67;
  background: linear-gradient(135deg, #eee9ff, #dffaf4);
  border-color: rgba(122, 92, 255, 0.20);
}

.stage-toolbar button {
  background: linear-gradient(135deg, #eee9ff, #dffaf4);
  color: #2a1f67;
}

.prompt-card .tag {
  color: #2a1f67;
  background: #eee9ff;
  border-color: rgba(122, 92, 255, 0.20);
}

pre {
  background: #fffdf8;
  color: #211b14;
  border: 1px solid rgba(17, 17, 17, 0.10);
}

.output-panel pre {
  background: linear-gradient(180deg, #fffdf8, #f8f4ec);
}

.newsletter {
  color: #111111;
  background:
    radial-gradient(circle at 18% 18%, rgba(122, 92, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 82% 18%, rgba(20, 184, 166, 0.16), transparent 18rem),
    #ffffff;
}

.newsletter p {
  color: var(--muted);
}

.newsletter input {
  border-color: rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111;
}

.newsletter .button.primary {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.prompt-card {
  background: linear-gradient(180deg, #ffffff, #fbf8f1);
}

.brand-mark,
.button.primary {
  background: #111111;
}
