/* Promptwerk storefront — dark, sharp, conversion-focused */

:root {
  --bg: #0b0f14;
  --bg-alt: #111820;
  --surface: #161e29;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eef6;
  --muted: #9aa8b8;
  --faint: #6b7a8c;
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.14);
  --accent-text: #042f2e;
  --danger: #f87171;
  --ok: #34d399;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1080px;
  --narrow: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(94, 234, 212, 0.12), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(99, 102, 241, 0.1), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

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

a:hover {
  text-decoration: underline;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.center {
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
  padding: 0.9rem 1.2rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.25), 0 12px 30px rgba(94, 234, 212, 0.18);
}

.btn-primary:hover {
  background: #7ff5e0;
  color: var(--accent-text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-visual,
.preview-visual {
  margin: 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(94, 234, 212, 0.06);
}

.hero-visual img,
.preview-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.hero-visual {
  max-width: 100%;
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: start;
}

.preview-visual {
  max-width: 420px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 38rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.trust-line {
  margin: 0;
  color: var(--faint);
  font-size: 0.9rem;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%), var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.price {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-note {
  color: var(--faint);
  font-size: 0.9rem;
}

.card-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.card-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.55rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.98rem;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.card-foot {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(17, 24, 32, 0.65);
  border-block: 1px solid var(--border);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.benefit-grid,
.include-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.benefit,
.include {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.benefit p,
.include p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.include-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.include-cta {
  margin-top: 2rem;
  text-align: center;
}

/* Who */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.checklist.yes li::before {
  content: "✓";
  color: var(--ok);
  background: rgba(52, 211, 153, 0.12);
}

.checklist.no li::before {
  content: "–";
  color: var(--danger);
  background: rgba(248, 113, 113, 0.12);
}

/* FAQ */
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 0.65rem;
  padding: 0.15rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 0;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Final CTA */
.cta-final {
  padding-bottom: 5rem;
}

.cta-final .lede {
  margin-inline: auto;
}

.cta-final .btn {
  margin: 0.25rem 0 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0 2.75rem;
  color: var(--faint);
  font-size: 0.92rem;
}

.footer-inner .logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-inner p {
  margin: 0.25rem 0;
  max-width: 36rem;
}

.fine {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Success page */
.success-main {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  padding: 3rem 0;
}

.success-card {
  width: min(100% - 2.5rem, 560px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(52, 211, 153, 0.14);
  color: var(--ok);
  font-size: 1.5rem;
  font-weight: 700;
}

.success-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.success-card p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.success-card .steps {
  text-align: left;
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.success-card .steps ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.success-card .steps li {
  margin: 0.35rem 0;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .who-grid,
  .benefit-grid,
  .include-grid,
  .preview-layout {
    grid-template-columns: 1fr;
  }

  .preview-visual {
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(11, 15, 20, 0.97);
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav .btn {
    margin-top: 0.75rem;
    width: 100%;
  }

  .hero {
    padding-top: 2.75rem;
  }
}

.soft-hook {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted, #9aa4b2);
  max-width: 36rem;
}

.preview-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text, #e8eef6);
  line-height: 1.55;
}
.preview-steps li { margin: 0.55rem 0; }
.preview-steps code {
  font-size: 0.9em;
  background: rgba(255,255,255,0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
