:root {
  color-scheme: dark;
  --bg: #091119;
  --panel: #101b25;
  --panel-2: #132330;
  --text: #f4f7fb;
  --muted: #a9bac8;
  --line: rgba(166, 193, 216, .22);
  --blue: #4fa6ff;
  --green: #67d6a0;
  --gold: #f3c75d;
  --rose: #f07b93;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(14, 32, 45, .78), rgba(9, 17, 25, 1) 560px),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.fw-black {
  font-weight: 900;
}

.site-navbar {
  background: rgba(9, 17, 25, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #041015;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 900;
}

.navbar .nav-link {
  color: rgba(244, 247, 251, .72);
  font-weight: 700;
}

.navbar .nav-link:hover,
.site-footer a:hover {
  color: #fff;
}

.hero-section {
  padding: clamp(64px, 9vw, 118px) 0 clamp(54px, 7vw, 88px);
}

.eyebrow,
.product-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-lede,
.section-copy,
.app-card p,
.feature-panel p,
.summary-panel p {
  color: var(--muted);
}

.section-title {
  max-width: 920px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
}

.section-copy {
  max-width: 880px;
  font-size: 1.08rem;
}

.summary-panel,
.app-card,
.feature-panel,
.history-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(19, 35, 48, .96), rgba(13, 24, 34, .96));
  box-shadow: 0 20px 54px rgba(0, 0, 0, .2);
}

.summary-panel {
  padding: 24px;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row span {
  color: var(--muted);
  font-weight: 700;
}

.summary-row strong {
  color: #fff;
  font-size: 1.2rem;
}

.summary-panel p {
  margin: 18px 0 0;
}

.section-pad {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section-soft {
  background: rgba(11, 22, 32, .72);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-card,
.feature-panel {
  padding: 22px;
}

.app-card h3,
.feature-panel h2 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.app-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(166, 193, 216, .2);
  border-radius: 8px;
  color: #d7e9f7;
  background: rgba(255, 255, 255, .045);
  font-size: .84rem;
  font-weight: 700;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #031018;
  background: var(--green);
  font-weight: 900;
}

.history-preview {
  padding: 12px;
}

.history-preview div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.history-preview div:last-child {
  border-bottom: 0;
}

.history-preview span {
  color: var(--muted);
  font-weight: 700;
}

.history-preview strong {
  color: #fff;
}

.btn {
  border-radius: 8px;
  font-weight: 800;
}

.btn-primary {
  color: #06131a;
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover {
  color: #06131a;
  background: #79bbff;
  border-color: #79bbff;
}

.text-bg-success {
  color: #06131a !important;
  background-color: var(--green) !important;
}

.text-bg-warning {
  color: #1a1302 !important;
  background-color: var(--gold) !important;
}

.site-footer {
  padding: 26px 0;
  color: var(--muted);
  background: rgba(7, 13, 20, .96);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: #dceeff;
  font-weight: 700;
}

.generator-shell {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(280px, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.generator-form-preview,
.generator-output-preview {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.generator-form-preview label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 800;
}

.generator-form-preview textarea,
.generator-form-preview select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  background: #091119;
}

.generator-output-preview {
  display: grid;
  min-height: 320px;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(79, 166, 255, .12), rgba(103, 214, 160, .12)),
    var(--panel);
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2.45rem;
  }

  .generator-shell {
    grid-template-columns: 1fr;
  }

  .app-card,
  .feature-panel,
  .summary-panel {
    padding: 18px;
  }
}
