:root {
  color-scheme: dark;
  --bg: #081018;
  --panel: rgba(255, 250, 240, 0.06);
  --panel-strong: rgba(255, 250, 240, 0.1);
  --text: #fffaf0;
  --muted: rgba(255, 250, 240, 0.76);
  --soft: rgba(255, 250, 240, 0.6);
  --line: rgba(255, 250, 240, 0.16);
  --coral: #ef6a4f;
  --mint: #48cfae;
  --gold: #f4c96a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(239, 106, 79, 0.24), transparent 28rem),
    radial-gradient(circle at 84% 16%, rgba(72, 207, 174, 0.18), transparent 28rem),
    linear-gradient(135deg, #17131f, #0c1521 42%, #171b14);
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  padding: 0.6rem 0.8rem;
  background: var(--text);
  color: #111822;
  border-radius: 6px;
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding: 24px 0 12px;
}

.top-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.brand-link {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  padding: 58px 0 36px;
  border-bottom: 1px solid var(--line);
}

.context-label {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--text);
  color: #111822;
  border-color: var(--text);
}

.button.secondary {
  background: rgba(255, 250, 240, 0.06);
}

.hero-note {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-note strong {
  display: block;
  margin-bottom: 0.7rem;
}

.hero-note ul,
.check-list {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-note li,
.check-list li {
  margin: 0.45rem 0;
  color: var(--muted);
  line-height: 1.5;
}

.content-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.content-section h2 {
  margin: 0 0 1rem;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.content-section p {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.prompt-grid,
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.prompt-card,
.related-card {
  min-height: 76px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.prompt-card {
  color: var(--muted);
  line-height: 1.55;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
}

.related-card span {
  font-weight: 800;
}

.related-card small {
  color: var(--soft);
  line-height: 1.45;
}

.step-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  padding: 28px 0 54px;
}

@media (min-width: 720px) {
  h1 {
    font-size: 4.75rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 320px;
    padding-top: 76px;
  }

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

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