/* BuildBotsBetter — dark navy / charcoal, gold, cyan glow */
:root {
  --bg: #070b14;
  --bg-elev: #0e1524;
  --bg-card: #121a2c;
  --navy: #0b1220;
  --charcoal: #161d2e;
  --yellow: #ffd700;
  --yellow-dim: #c9a800;
  --cyan: #3de7ff;
  --cyan-dim: #1aa8bf;
  --white: #f5f7fb;
  --muted: #9aa6bd;
  --border: rgba(61, 231, 255, 0.18);
  --glow: 0 0 24px rgba(61, 231, 255, 0.35);
  --radius: 16px;
  --font: "Outfit", system-ui, -apple-system, Segoe UI, sans-serif;
  --display: "Orbitron", var(--font);
  --max: 1100px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(61, 231, 255, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(255, 215, 0, 0.08), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--yellow);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.section-lead {
  color: var(--muted);
  margin: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
  box-shadow: var(--glow);
}

.logo-text {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.site-nav a.nav-cta[aria-current="page"],
.site-nav a.nav-cta.is-active {
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.35), inset 0 0 0 2px rgba(11, 18, 32, 0.35);
  filter: brightness(1.02);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), #ffe566);
  color: #15120a !important;
  font-weight: 700 !important;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
}

.nav-cta:hover {
  filter: brightness(1.05);
  color: #000 !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elev);
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 0;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.35) 0%, rgba(7, 11, 20, 0.55) 40%, rgba(7, 11, 20, 0.95) 100%),
    linear-gradient(90deg, rgba(7, 11, 20, 0.75) 0%, rgba(7, 11, 20, 0.2) 55%, rgba(7, 11, 20, 0.55) 100%);
}

.hero-content {
  padding: clamp(5rem, 12vw, 7rem) 0 3.5rem;
}

.tagline {
  margin: 0 0 1rem;
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 34rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #ffe566);
  color: #15120a;
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.35);
}

.btn-primary:hover {
  color: #000;
  filter: brightness(1.04);
}

.btn-ghost {
  background: rgba(61, 231, 255, 0.08);
  border-color: var(--border);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow);
  color: var(--white);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-copy p {
  color: var(--muted);
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.pill-list li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(61, 231, 255, 0.06);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.about-portrait {
  margin: 0;
  text-align: center;
}

.about-portrait img {
  width: min(100%, 360px);
  margin-inline: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--glow), 0 20px 50px rgba(0, 0, 0, 0.45);
  background: var(--charcoal);
}

.about-portrait figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Services */
.services {
  background: linear-gradient(180deg, transparent, rgba(18, 26, 44, 0.55), transparent);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.12);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(61, 231, 255, 0.1);
  color: var(--cyan);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Pricing */
.pricing-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--glow);
}

.price-card {
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 215, 0, 0.12), rgba(61, 231, 255, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
}

.price-amount {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  margin: 0 0 0.35rem;
  color: var(--yellow);
  line-height: 1;
}

.price-amount .currency {
  font-size: 0.55em;
  vertical-align: super;
  margin-right: 0.05em;
}

.price-amount .unit {
  font-size: 0.35em;
  color: var(--muted);
  margin-left: 0.2em;
  letter-spacing: 0.04em;
}

.price-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

/* Interest form */
.interest-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.interest-intro p {
  color: var(--muted);
}

.interest-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.req { color: var(--yellow); }
.optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(154, 166, 189, 0.35);
  background: var(--navy);
  color: var(--white);
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(61, 231, 255, 0.2);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cyan);
  min-height: 1.4em;
}

.form-status.error {
  color: #ff8f8f;
}

.form-status.ok {
  color: #7dffb0;
}

.form-footnote {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: #05080f;
}

.footer-inner {
  display: grid;
  gap: 0.85rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand strong {
  font-family: var(--display);
  letter-spacing: 0.04em;
}

.footer-brand span,
.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 880px) {
  .about-grid,
  .pricing-panel,
  .interest-panel,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(7, 11, 20, 0.97);
    border-bottom: 1px solid var(--border);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .header-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.hp-input{position:absolute;left:-9999px;height:0;width:0;opacity:0;overflow:hidden}


.resource-list{margin:0.75rem 0 0;padding-left:1.15rem;color:var(--muted, #a8b3c7)}
.resource-list li{margin:0.35rem 0}
.resource-list a{color:var(--cyan, #5ce1ff)}
.resource-list:empty{display:none}

.resources-subhead{margin:2.75rem 0 1rem;font-family:Orbitron,sans-serif;font-size:1.15rem;letter-spacing:0.04em;color:#5ce1ff}
.yt-embed-grid{display:grid;gap:1rem;margin-top:1rem}
@media (min-width:720px){.yt-embed-grid{grid-template-columns:1fr 1fr}}
.yt-embed-slot{position:relative;aspect-ratio:16/9;border:1px dashed rgba(92,225,255,0.35);border-radius:12px;background:rgba(11,18,32,0.65);display:flex;align-items:center;justify-content:center;overflow:hidden}
.yt-embed-slot iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.yt-placeholder{margin:0;padding:1rem;text-align:center;color:#8a97ad;font-size:0.95rem}

/* Resources hub + technique stubs */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card > p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.resource-block {
  margin-bottom: 0.5rem;
}

.resource-list--rich,
.resource-list--yt {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.resource-list--rich:empty,
.resource-list--yt:empty {
  display: none;
}

.resource-list--rich li,
.resource-list--yt li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 0;
}

.resource-list--rich li:hover,
.resource-list--yt li:hover {
  border-color: rgba(255, 215, 0, 0.35);
}

.resource-list--rich a,
.resource-list--yt a {
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
}

.resource-list--rich a:hover,
.resource-list--yt a:hover {
  color: var(--yellow);
}

.resource-hook,
.resource-meta,
.yt-link-slot {
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-title-plain {
  font-weight: 600;
  color: var(--white);
}

.draft-badge {
  display: inline-block;
  width: fit-content;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 215, 0, 0.14);
  color: var(--yellow);
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.draft-badge.tbd {
  background: rgba(61, 231, 255, 0.1);
  color: var(--cyan);
  border-color: rgba(61, 231, 255, 0.35);
}

.technique-page .technique-wrap {
  max-width: 42rem;
}

.technique-hook {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.publish-note,
.tbd-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.tbd-banner {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(61, 231, 255, 0.35);
  background: rgba(61, 231, 255, 0.06);
}

.technique-list {
  margin: 0 0 1.75rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.technique-list li {
  margin: 0.4rem 0;
}

.technique-checklist {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(18, 26, 44, 0.7);
}

.technique-checklist h2 {
  font-size: 1.05rem;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.technique-checklist ol,
.technique-checklist ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.technique-checklist li {
  margin: 0.35rem 0;
}

.draft-block {
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--yellow);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 215, 0, 0.06);
}

.draft-label {
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.draft-body {
  margin: 0;
  color: var(--white);
  line-height: 1.7;
  font-size: 1rem;
}

.draft-body code {
  font-size: 0.92em;
  color: var(--cyan);
  background: rgba(61, 231, 255, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.back-link {
  margin: 2rem 0 0;
}

.back-link a {
  font-weight: 600;
  text-decoration: none;
}

.resources-page .resources-subhead {
  margin-top: 2.5rem;
}

.resources-page #start-here .resources-subhead {
  margin-top: 1.5rem;
}
