:root {
  color-scheme: dark;
  --bg: #07080d;
  --panel: #10131b;
  --panel-strong: #151821;
  --line: #262b38;
  --text: #f8fafc;
  --muted: #aab4c4;
  --subtle: #697180;
  --blue: #71d9ff;
  --green: #b6f36c;
  --gold: #f7c86b;
  --violet: #a594fc;
  --danger: #ff7a90;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(113, 217, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(182, 243, 108, 0.11), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 56px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 42px;
  width: 42px;
}

.brand span {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-links a,
.button {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 12px;
  text-decoration: none;
}

.nav-links a:hover,
.button:hover {
  border-color: var(--blue);
  color: var(--text);
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  margin-bottom: 36px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  color: var(--text);
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 14px 0 18px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #071015;
}

.studio-card {
  background: linear-gradient(145deg, rgba(21, 24, 33, 0.92), rgba(16, 19, 27, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 16px;
}

.preview-top {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.preview-icon {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: #071015;
  display: flex;
  font-size: 20px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.preview-title {
  font-size: 16px;
  font-weight: 900;
}

.preview-subtitle {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.preview-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.preview-stat strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.preview-stat span {
  color: var(--subtle);
  display: block;
  font-size: 10px;
  font-weight: 900;
  margin-top: 5px;
  text-transform: uppercase;
}

.preview-prompt {
  background: #07080d;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  min-height: 116px;
  padding: 14px;
}

.preview-generate {
  align-items: center;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 8px;
  color: #071015;
  display: flex;
  font-weight: 900;
  justify-content: center;
  margin-top: 14px;
  min-height: 48px;
}

.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0;
}

.card,
.doc {
  background: rgba(16, 19, 27, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card {
  padding: 18px;
}

.card h2,
.card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

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

.doc {
  margin: 0 auto 36px;
  max-width: 860px;
  padding: clamp(18px, 4vw, 42px);
}

.doc h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.doc h2 {
  border-top: 1px solid var(--line);
  font-size: 22px;
  margin: 34px 0 12px;
  padding-top: 24px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc ul {
  padding-left: 22px;
}

.meta {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.notice {
  background: rgba(113, 217, 255, 0.08);
  border: 1px solid rgba(113, 217, 255, 0.28);
  border-radius: 8px;
  color: var(--muted);
  margin: 22px 0;
  padding: 14px;
}

.support-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.support-item {
  background: #07080d;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.support-item strong {
  color: var(--text);
  display: block;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--subtle);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
  justify-content: space-between;
  padding: 22px 0 8px;
}

@media (max-width: 800px) {
  .site-shell {
    padding: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
