:root {
  color-scheme: dark;
  --bg: #06111f;
  --bg-2: #09182b;
  --panel: #112033;
  --panel-2: #0c1728;
  --border: #22344f;
  --text: #f8fafc;
  --muted: #9fb0c9;
  --soft: #d7e2f2;
  --accent: #00d084;
  --accent-2: #18c7ff;
  --warning: #f7b733;
  --danger: #fb7185;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 208, 132, 0.16), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(24, 199, 255, 0.13), transparent 26%),
    linear-gradient(180deg, var(--bg), #030812 78%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(6, 17, 31, 0.78);
  border-bottom: 1px solid rgba(34, 52, 79, 0.75);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 54px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 21px;
  font-weight: 850;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  color: #03101d;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.logo-brand img {
  display: block;
  height: auto;
  max-height: 48px;
  max-width: 218px;
  width: auto;
}

.logo-brand {
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  padding: 8px 12px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  padding: 10px 14px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}

main {
  overflow: hidden;
}

.builder-hero {
  align-items: stretch;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  margin: 0 auto;
  max-width: 1240px;
  min-height: calc(100vh - 74px);
  padding: clamp(36px, 6vw, 82px) clamp(18px, 4vw, 54px) 46px;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-lede,
.section-heading p,
.page p,
.feature-card p,
.workflow-list,
.site-footer p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  max-width: 600px;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.hero-metrics strong {
  color: var(--accent);
  display: block;
  font-size: 32px;
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 750;
  margin-top: 7px;
}

.trust-row span,
.live-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 750;
  padding: 9px 12px;
}

.builder-card,
.results-panel,
.feature-card,
.page-card {
  background: linear-gradient(180deg, rgba(17, 32, 51, 0.96), rgba(11, 22, 39, 0.96));
  border: 1px solid rgba(82, 112, 153, 0.36);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.builder-card {
  align-self: center;
  padding: clamp(22px, 3vw, 34px);
}

.card-title {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-title h2 {
  font-size: 28px;
  margin-bottom: 0;
}

.field-grid {
  display: grid;
  gap: 16px;
}

label {
  color: var(--soft);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--accent-2) 50%),
    linear-gradient(135deg, var(--accent-2) 50%, transparent 50%),
    linear-gradient(180deg, #0b1628, #081323);
  background-position:
    calc(100% - 18px) calc(50% - 4px),
    calc(100% - 12px) calc(50% - 4px),
    0 0;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  min-height: 52px;
  outline: none;
  padding: 0 42px 0 15px;
}

select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.12);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #5eead4);
  color: #03101d;
}

.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.button.full {
  margin-top: 18px;
  width: 100%;
}

.result-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.78fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 40px clamp(18px, 4vw, 54px) 72px;
}

.proof-section {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1240px;
  padding: 10px clamp(18px, 4vw, 54px) 50px;
}

.proof-card {
  background: rgba(17, 32, 51, 0.78);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.proof-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

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

.artifact-section {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.62fr);
  margin: 0 auto;
  max-width: 1240px;
  padding: 22px clamp(18px, 4vw, 54px) 76px;
}

.artifact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.artifact-preview {
  background: linear-gradient(180deg, rgba(17, 32, 51, 0.96), rgba(3, 10, 18, 0.96));
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.artifact-toolbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  padding: 14px 16px;
}

.artifact-toolbar span {
  background: var(--danger);
  border-radius: 50%;
  height: 11px;
  width: 11px;
}

.artifact-toolbar span:nth-child(2) {
  background: var(--warning);
}

.artifact-toolbar span:nth-child(3) {
  background: var(--accent);
}

.artifact-toolbar strong {
  margin-left: 8px;
}

.artifact-lines {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.artifact-lines p {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  margin: 0;
  padding: 14px;
}

.artifact-lines b {
  color: var(--text);
}

.differentiator-section {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 clamp(18px, 4vw, 54px) 76px;
}

.differentiator-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.differentiator-grid article {
  background:
    linear-gradient(180deg, rgba(17, 32, 51, 0.88), rgba(5, 14, 25, 0.94));
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 22px;
  padding: 24px;
}

.differentiator-grid span {
  align-items: center;
  background: rgba(0, 208, 132, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 14px;
  color: var(--accent);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.differentiator-grid h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.differentiator-grid p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.stack-visual {
  background:
    linear-gradient(180deg, rgba(12, 23, 40, 0.92), rgba(4, 11, 20, 0.98));
  border: 1px solid var(--border);
  border-radius: 24px;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

canvas {
  display: block;
  height: 100%;
  min-height: 420px;
  width: 100%;
}

.visual-overlay {
  align-items: center;
  background: rgba(3, 10, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  bottom: 18px;
  display: flex;
  gap: 12px;
  left: 18px;
  padding: 14px 16px;
  position: absolute;
  right: 18px;
}

.visual-overlay span {
  color: var(--muted);
}

.results-panel {
  padding: clamp(22px, 3vw, 32px);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.narrow {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}

.recommendations {
  display: grid;
  gap: 14px;
}

.rec-card {
  background: rgba(4, 12, 22, 0.58);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.rec-card h3 {
  align-items: center;
  display: flex;
  font-size: 18px;
  gap: 9px;
  margin-bottom: 10px;
}

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

.rec-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.feature-section,
.workflow-section,
.page {
  margin: 0 auto;
  max-width: 1240px;
  padding: 34px clamp(18px, 4vw, 54px) 78px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
}

.feature-card span {
  color: var(--accent-2);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.feature-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.topic-map-section {
  margin: 0 auto;
  max-width: 1240px;
  padding: 14px clamp(18px, 4vw, 54px) 68px;
}

.map-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.map-node {
  align-items: center;
  background: rgba(17, 32, 51, 0.82);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--soft);
  display: flex;
  font-size: 18px;
  font-weight: 900;
  justify-content: center;
  min-height: 96px;
  padding: 18px;
  text-align: center;
}

.primary-node {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.28), rgba(24, 199, 255, 0.18));
  border-color: rgba(94, 234, 212, 0.5);
  color: var(--text);
  grid-column: span 3;
  min-height: 120px;
}

.workflow-list {
  background: rgba(17, 32, 51, 0.78);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: grid;
  gap: 8px;
  list-style-position: inside;
  margin: 28px auto 0;
  max-width: 900px;
  padding: 24px;
}

.workflow-list li {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 16px;
}

.contact-cta {
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.14), rgba(24, 199, 255, 0.11));
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 26px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto 78px;
  max-width: 1120px;
  padding: 28px;
}

.contact-cta p {
  color: var(--muted);
  max-width: 720px;
}

.faq-section {
  margin: 0 auto;
  max-width: 1240px;
  padding: 6px clamp(18px, 4vw, 54px) 76px;
}

.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.faq-grid article {
  background: rgba(17, 32, 51, 0.78);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.faq-grid h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.faq-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.faq-grid a {
  color: var(--accent-2);
  font-weight: 800;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 54px);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 750;
}

.footer-brand {
  margin-bottom: 8px;
}

.page {
  min-height: calc(100vh - 180px);
}

.page h1 {
  max-width: 840px;
}

.page > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 820px;
}

.page-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.page-card {
  padding: 24px;
}

.page-card h2 {
  font-size: 24px;
}

.topic-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 330px;
  margin-top: 30px;
}

.topic-list {
  display: grid;
  gap: 14px;
}

.topic-list a,
.internal-link-list a {
  color: var(--accent-2);
  font-weight: 800;
}

.internal-link-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-page {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.62fr);
}

.contact-form {
  background: linear-gradient(180deg, rgba(17, 32, 51, 0.96), rgba(11, 22, 39, 0.96));
  border: 1px solid rgba(82, 112, 153, 0.36);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 26px;
}

input,
textarea {
  background: linear-gradient(180deg, #0b1628, #081323);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  min-height: 52px;
  outline: none;
  padding: 13px 15px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.12);
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.form-note a {
  color: var(--accent-2);
  font-weight: 800;
}

.legal-page .page-card {
  margin-top: 16px;
}

@media (max-width: 980px) {
  .builder-hero,
  .result-shell,
  .feature-grid,
  .page-grid,
  .proof-section,
  .artifact-section,
  .differentiator-grid,
  .topic-layout,
  .contact-page,
  .map-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .builder-hero {
    min-height: auto;
  }

  .contact-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-node {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }

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

  .builder-card,
  .results-panel,
  .feature-card {
    border-radius: 18px;
  }
}
