/*
 * The spicy landing pages (/spicy-ai-video-generator, /spicy-ai-image-generator).
 * Same visual language as /spicy-drop (src/components/StandalonePresetPage.css,
 * "standalone-preset-page--spicy"): near-black cinema frame, Barlow Condensed
 * uppercase titles, the red #ff5352 accent, corner-bracket cards, the red
 * action bar and the gnome mascot. Owner, Zack, 2026-11-10.
 */
:root {
  --sd-accent: #ff5352;
  --sd-ink: #f9f5f1;
  --sd-muted: #aaa3a4;
  --sd-frame: #141316;
  --sd-card: #1c191e;
  --sd-card-hover: #211b21;
  --sd-line: #302c31;
  --sd-border: #333036;
  --sd-card-border: #554148;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #0b0a0c;
  color: var(--sd-ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--sd-accent);
  outline-offset: 4px;
}

.sd-page {
  padding: clamp(18px, 4vw, 42px) 16px 56px;
}

.sd-frame {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 26px 32px 36px;
  border: 1px solid var(--sd-border);
  border-radius: 16px;
  background: var(--sd-frame);
  overflow: clip;
}

/* Top bar: "← wurt.app" and the red edition tag, as on /spicy-drop. */
.sd-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 27px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--sd-line);
}

.sd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.sd-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sd-edition {
  color: var(--sd-accent);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Hero */
.sd-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
}

.sd-intro {
  position: relative;
  min-width: 0;
  padding-right: 110px;
}

.sd-kicker {
  margin: 0 0 12px;
  color: var(--sd-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.sd-title {
  margin: 0;
  color: var(--sd-ink);
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(52px, 7vw, 75px);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: .9;
  text-transform: uppercase;
}

.sd-title span { color: var(--sd-accent); }

.sd-lead {
  margin: 18px 0 0;
  color: var(--sd-ink);
  font-size: 17px;
  line-height: 1.55;
}

.sd-sub {
  margin: 10px 0 0;
  color: var(--sd-muted);
  font-size: 15px;
}

.sd-accent-line {
  width: 42px;
  height: 3px;
  margin-top: 25px;
  background: var(--sd-accent);
}

.sd-mascot {
  position: absolute;
  top: 34px;
  right: 0;
  width: 96px;
  height: auto;
}

/* The corner-bracket card and the red action bar from /spicy-drop. */
.sd-workflow {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.sd-bracket {
  position: relative;
  border: 1px solid var(--sd-card-border);
  border-radius: 10px;
  background: var(--sd-card);
}

.sd-bracket::before,
.sd-bracket::after {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: var(--sd-accent);
  border-style: solid;
  opacity: .85;
  pointer-events: none;
}

.sd-bracket::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.sd-bracket::after { right: 10px; bottom: 10px; border-width: 0 1px 1px 0; }

.sd-start {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 34px 28px;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.sd-start:hover {
  border-color: var(--sd-accent);
  background: var(--sd-card-hover);
}

.sd-symbol {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid #523038;
  border-radius: 50%;
  background: #2b2026;
  color: var(--sd-accent);
}

.sd-symbol svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.sd-start-label {
  font-size: 20px;
  font-weight: 700;
}

.sd-start-hint {
  max-width: 300px;
  color: var(--sd-muted);
  font-size: 15px;
}

.sd-action {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--sd-accent);
  color: #191114;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: filter .15s ease;
}

.sd-action:hover { filter: brightness(1.08); }

.sd-action small {
  font-size: 15px;
  font-weight: 600;
}


/* Sections */
.sd-section {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--sd-line);
}

.sd-section .sd-kicker { color: var(--sd-accent); }

.sd-h2 {
  margin: 0 0 18px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(34px, 4.6vw, 46px);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
}

.sd-section p {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--sd-muted);
}

.sd-section strong { color: var(--sd-ink); }

.sd-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.sd-way { padding: 26px 22px 24px; }

.sd-num {
  display: block;
  margin-bottom: 6px;
  color: var(--sd-accent);
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.sd-way h3 {
  margin: 0 0 8px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.sd-section .sd-way p {
  margin: 0;
  font-size: 15px;
}

.sd-steps {
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sd-step;
}

.sd-steps li {
  position: relative;
  margin: 0 0 16px;
  padding-left: 54px;
  color: var(--sd-muted);
  counter-increment: sd-step;
}

.sd-steps li::before {
  content: counter(sd-step, decimal-leading-zero);
  position: absolute;
  top: -2px;
  left: 0;
  color: var(--sd-accent);
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.sd-table-wrap {
  max-width: 100%;
  margin: 4px 0 16px;
  overflow-x: auto;
}

.sd-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}

.sd-table th {
  padding: 0 14px 10px 0;
  border-bottom: 1px solid var(--sd-accent);
  color: var(--sd-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
}

.sd-table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--sd-line);
  color: var(--sd-muted);
  vertical-align: top;
}

.sd-table td:first-child {
  color: var(--sd-ink);
  font-weight: 700;
  white-space: nowrap;
}

.sd-list {
  max-width: 720px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.sd-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
  color: var(--sd-muted);
}

.sd-list li::before {
  content: '';
  position: absolute;
  top: .7em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--sd-accent);
}

.sd-prompts {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 6px 0 16px;
}

.sd-prompt {
  padding: 18px 22px;
  color: var(--sd-ink);
  font-size: 16px;
  line-height: 1.55;
}

.sd-prompt-tag {
  display: block;
  margin-bottom: 6px;
  color: var(--sd-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sd-faq h3 {
  margin: 22px 0 6px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.sd-faq h3:first-of-type { margin-top: 4px; }

.sd-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  gap: 24px;
}

.sd-final .sd-h2 { margin: 0; }

.sd-final .sd-h2 span { color: var(--sd-accent); }

.sd-foot {
  width: min(100%, 1040px);
  margin: 18px auto 0;
  color: #6f686a;
  font-size: 13px;
  text-align: center;
}

.sd-foot a { color: var(--sd-muted); }

@media (max-width: 760px) {
  .sd-frame { padding: 22px 18px 28px; }
  .sd-hero,
  .sd-final { grid-template-columns: minmax(0, 1fr); }
  .sd-intro { padding-right: 96px; }
  .sd-mascot { top: 26px; width: 84px; }
  .sd-ways { grid-template-columns: minmax(0, 1fr); }
  .sd-start { min-height: 220px; }
}

@media (max-width: 380px) {
  .sd-intro { padding-right: 78px; }
  .sd-mascot { width: 70px; }
  .sd-title { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .sd-start,
  .sd-action { transition: none; }
}
