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

input, textarea, button, select {
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

html { font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #0a0a0a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01' on, 'cv01' on;
  letter-spacing: -0.011em;
}

/* — Nav — */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-contact {
  font-size: 0.78rem;
  font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  border: 1px solid #0a0a0a;
  border-radius: 0;
  padding: 8px 20px;
  transition: all 0.15s;
  -webkit-appearance: none;
}

.nav-contact:hover {
  background: #0a0a0a;
  color: #fff;
}

/* — Hero — */
.hero {
  padding: 100px 48px 80px;
  border-bottom: 1px solid #e0e0e0;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}

h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-right p {
  font-size: 1rem;
  color: #666;
  line-height: 1.65;
  max-width: 340px;
}

/* — Capabilities band — */
.band {
  background: #0a0a0a;
  color: #fff;
  padding: 72px 48px;
}

.band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.band-item {
  padding: 36px 32px;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.band-num {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.band-title {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.band-desc {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* — Stats — */
.stats {
  padding: 56px 48px;
  border-bottom: 1px solid #e0e0e0;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat + .stat {
  padding-left: 32px;
  border-left: 1px solid #e0e0e0;
}

.stat-value {
  font-family: 'Instrument Serif', serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.01em;
}

/* — CTA / Chat — */
.cta {
  padding: 80px 48px 64px;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-line {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
}

.chat-container {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  border: 1px solid #ccc;
  background: #fafafa;
  transition: border-color 0.15s;
}

.chat-container:focus-within {
  border-color: #0a0a0a;
  background: #fff;
}

.chat-fields {
  display: contents;
}

.chat-email {
  grid-column: 1 / -1;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
  background: transparent;
  color: #0a0a0a;
  padding: 12px 16px 10px;
}

.chat-email::placeholder {
  color: #aaa;
}

.chat-input {
  grid-row: 2;
  grid-column: 1;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  resize: none;
  background: transparent;
  color: #0a0a0a;
  min-height: 24px;
  max-height: 200px;
  padding: 14px 16px;
}

.chat-input::placeholder {
  color: #aaa;
}

.chat-send {
  grid-row: 2;
  grid-column: 2;
  width: 48px;
  border: none;
  background: #0a0a0a;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}

.chat-send:hover {
  opacity: 0.7;
}

.chat-confirm {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.chat-confirm.visible {
  opacity: 1;
}

/* — Footer — */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.75rem;
  color: #999;
}

footer a {
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* — Mobile toggle — */
.mobile-toggle {
  display: none;
  width: 100%;
  padding: 14px 24px;
  background: none;
  border: none;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  cursor: pointer;
  text-align: left;
  position: relative;
}

.mobile-toggle::after {
  content: '↓';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
}

.mobile-toggle.open::after {
  transform: translateY(-50%) rotate(180deg);
}

/* — Mobile — */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }

  .hero {
    padding: 36px 24px 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  h1 { font-size: 2.2rem; }

  .hero-right p {
    font-size: 0.92rem;
  }

  .mobile-toggle {
    display: block;
  }

  .collapsible {
    overflow: hidden;
    max-height: 2000px;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
  }

  .collapsible.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
  }

  .band { padding: 32px 24px; }

  .band-inner {
    grid-template-columns: 1fr;
  }

  .stats { padding: 28px 24px; }

  .stat-value { font-size: 1.8rem; }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat + .stat {
    padding-left: 0;
    border-left: none;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .cta {
    padding: 32px 24px 24px;
  }

  .cta-line {
    font-size: 1.25rem;
    margin-bottom: 14px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    text-align: center;
  }
}
