*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection { background: rgba(0, 255, 65, 0.3); color: #00ff41; }
::-moz-selection { background: rgba(0, 255, 65, 0.3); color: #00ff41; }

body {
  background: #0a0a0a;
  color: #33ff33;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Container ─── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Typography ─── */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
h4 { font-size: 1rem; margin-bottom: 0.5rem; color: #66ff66; }
p  { margin-bottom: 1rem; }
a  { color: #66ff66; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #00ff41; }

/* ─── Section base ─── */
section { padding: 80px 0; }

/* ─── Terminal prompt prefix ─── */
.prompt { color: #00ff41; user-select: none; }
.prompt::before { content: "$ "; color: #66ff66; }

/* ─── Separator ─── */
.separator {
  display: block;
  color: #33ff33;
  opacity: 0.4;
  font-size: 0.875rem;
  letter-spacing: 4px;
  text-align: center;
  margin: 2rem 0 0;
  user-select: none;
  overflow: hidden;
  white-space: nowrap;
}

/* ─── Hero ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  position: relative;
}
#hero .hero-inner {
  max-width: 800px;
  width: 100%;
}
#hero h1 {
  font-weight: 700;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}
#hero .cursor {
  animation: blink 1s step-end infinite;
  color: #00ff41;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
#hero .subtitle {
  font-weight: 300;
  font-size: 1.125rem;
  color: #66ff66;
  margin-bottom: 0;
}
#hero .tagline {
  color: #33ff33;
  opacity: 0.6;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}
.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  background: transparent;
  border: 1px solid #33ff33;
  color: #33ff33;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.9375rem;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-cta:hover {
  background: rgba(51, 255, 51, 0.1);
  color: #00ff41;
  border-color: #00ff41;
}
.hero-cta:focus-visible {
  outline: 2px solid #00ff41;
  outline-offset: 2px;
}

/* ─── Bottleneck ─── */
#bottleneck p {
  color: #d4ffd4;
  opacity: 0.9;
}
#bottleneck p em {
  color: #00ff41;
  font-style: normal;
  font-weight: 500;
}

/* ─── Offerings (two ways) ─── */
#offerings .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card {
  background: #111111;
  border: 1px solid rgba(51, 255, 51, 0.2);
  border-radius: 6px;
  padding: 32px;
}
.card h3 {
  color: #00ff41;
  margin-bottom: 1rem;
}
.card h3 .num {
  color: #66ff66;
  opacity: 0.5;
  margin-right: 6px;
}
.card p {
  color: #d4ffd4;
  font-size: 0.9375rem;
  opacity: 0.85;
}

/* ─── Founder ─── */
#founder .grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}
.founder-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid #33ff33;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.founder-avatar svg {
  width: 70px;
  height: 70px;
}
#founder .info h2 { margin-bottom: 0.5rem; }
#founder .info .name-line {
  color: #66ff66;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}
#founder .info .name-line a { margin-left: 0.5rem; }
#founder .info p {
  color: #d4ffd4;
  opacity: 0.85;
  font-size: 0.9375rem;
}
#founder .creds {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: #33ff33;
  opacity: 0.7;
}

/* ─── Fit check ─── */
#fit .desc {
  color: #d4ffd4;
  opacity: 0.85;
  margin-bottom: 2rem;
}
#fit .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
#fit .col {
  background: #111111;
  border: 1px solid rgba(51, 255, 51, 0.2);
  border-radius: 6px;
  padding: 28px 32px;
}
#fit .col.fit h3 { color: #00ff41; }
#fit .col.no-fit h3 { color: #ff3333; }
#fit .col ul {
  list-style: none;
  padding: 0;
}
#fit .col ul li {
  color: #d4ffd4;
  opacity: 0.85;
  font-size: 0.9375rem;
  padding: 6px 0;
}
#fit .col ul li::before {
  content: "▸ ";
  color: #66ff66;
}
#fit .col.no-fit ul li::before {
  content: "▸ ";
  color: #ff5555;
}

/* ─── Contact ─── */
#contact .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
#contact .info-col p {
  color: #d4ffd4;
  opacity: 0.85;
  font-size: 0.9375rem;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#contact-form label {
  font-size: 0.8125rem;
  color: #66ff66;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#contact-form label .req {
  color: #ff3333;
}
#contact-form input,
#contact-form select,
#contact-form textarea {
  background: #111111;
  border: 1px solid rgba(51, 255, 51, 0.25);
  border-radius: 4px;
  color: #33ff33;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.9375rem;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  border-color: #00ff41;
  box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.2);
}
#contact-form textarea {
  resize: vertical;
  min-height: 80px;
}
#contact-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%2333ff33' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
#contact-form select option {
  background: #111111;
  color: #33ff33;
}

/* ─── Checkboxes ─── */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 4px;
}
.cb-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: #33ff33;
  cursor: pointer;
  padding-left: 22px;
  min-height: 18px;
  user-select: none;
}
/* hide native checkbox visually — keep it functional */
.cb-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cb-box {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1px solid rgba(51, 255, 51, 0.4);
  border-radius: 2px;
  background: transparent;
  flex-shrink: 0;
  pointer-events: none;
  transition: background 0.15s, border-color 0.15s;
}
.cb-label input[type="checkbox"]:checked + .cb-box {
  background: #00ff41;
  border-color: #00ff41;
}
.cb-label input[type="checkbox"]:checked + .cb-box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #0a0a0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cb-label input[type="checkbox"]:focus-visible + .cb-box {
  outline: 2px solid #00ff41;
  outline-offset: 2px;
}

/* ─── Validation ─── */
.field-error {
  font-size: 0.75rem;
  color: #ff3333;
  display: none;
  padding-top: 2px;
}
.field-error.visible {
  display: block;
}
.field-error::before {
  content: "✗ ";
}

input.error, select.error, textarea.error {
  border-color: #ff3333 !important;
  box-shadow: 0 0 0 1px rgba(255, 51, 51, 0.2) !important;
}

/* ─── Submit button ─── */
.btn-submit {
  background: transparent;
  border: 1px solid #33ff33;
  color: #33ff33;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
  margin-top: 4px;
}
.btn-submit:hover {
  background: rgba(51, 255, 51, 0.1);
  color: #00ff41;
  border-color: #00ff41;
}
.btn-submit:focus-visible {
  outline: 2px solid #00ff41;
  outline-offset: 2px;
}

/* ─── Success message ─── */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.success-overlay.active {
  display: flex;
}
.success-box {
  background: #111111;
  border: 1px solid #33ff33;
  border-radius: 6px;
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}
.success-box .ascii {
  color: #00ff41;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  white-space: pre;
}
.success-box h3 {
  color: #00ff41;
  margin-bottom: 0.75rem;
}
.success-box p {
  color: #d4ffd4;
  opacity: 0.85;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.success-box .btn-close {
  background: transparent;
  border: 1px solid rgba(51, 255, 51, 0.4);
  color: #33ff33;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.875rem;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.success-box .btn-close:hover {
  background: rgba(51, 255, 51, 0.1);
  border-color: #33ff33;
}

/* ─── Footer ─── */
#footer {
  padding: 32px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: #33ff33;
  opacity: 0.4;
}

/* ─── Noscript ─── */
noscript {
  display: block;
  background: #1a1a1a;
  border: 1px solid rgba(51, 255, 51, 0.3);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: #ffcc00;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  section { padding: 60px 0; }

  #offerings .grid,
  #founder .grid,
  #fit .grid,
  #contact .grid {
    grid-template-columns: 1fr;
  }

  #founder .grid {
    gap: 24px;
  }
  .founder-avatar {
    width: 100px;
    height: 100px;
  }
  .founder-avatar svg {
    width: 50px;
    height: 50px;
  }

  #hero h1 {
    font-size: 2rem;
  }

  .card, #fit .col {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.125rem; }
  section { padding: 40px 0; }
  .container { padding: 0 16px; }

  #hero h1 { font-size: 1.5rem; }

  .card, #fit .col {
    padding: 20px;
  }

  #contact .grid {
    gap: 24px;
  }

  .success-box {
    padding: 32px 24px;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
  }
}
