/* The Assist Lab — theassistlab.ai
   Palette drawn from logo: charcoal, crimson red, off-white */
:root {
  --charcoal: #2b2c2e;
  --charcoal-dark: #1c1d1f;
  --red: #c1121f;
  --red-dark: #9d0f1a;
  --offwhite: #f5f3ef;
  --gray: #6b6c6e;
  --line: #e2dfd8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--offwhite);
  line-height: 1.6;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header {
  background: var(--charcoal-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { height: 52px; width: 52px; }

.brand-name {
  color: var(--offwhite);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-name span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  color: var(--offwhite);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.15s;
}

.btn:hover { background: var(--red-dark); }

.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--offwhite);
  color: var(--offwhite) !important;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(28,29,31,0.93), rgba(28,29,31,0.97)),
    repeating-linear-gradient(90deg, transparent 0 120px, rgba(193,18,31,0.3) 120px 122px);
  background-color: var(--charcoal-dark);
  color: var(--offwhite);
  text-align: center;
  padding: 80px 24px 90px;
}

.hero img.hero-logo { height: 170px; width: 170px; margin: 0 auto 28px; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 850px;
  margin: 0 auto 20px;
}

.hero h1 em { color: var(--red); font-style: normal; }

.hero p.sub {
  font-size: 1.2rem;
  color: #cfcdc7;
  max-width: 700px;
  margin: 0 auto 36px;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }

.section-dark { background: var(--charcoal); color: var(--offwhite); }

.kicker {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1.2; margin-bottom: 18px; }

.lead { font-size: 1.1rem; max-width: 780px; }

.section-dark .lead { color: #cfcdc7; }

/* Problem: two-column compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
}

.compare-card {
  border-radius: 10px;
  padding: 32px;
}

.compare-card.them { background: var(--charcoal-dark); border-top: 4px solid var(--gray); }
.compare-card.you  { background: var(--charcoal-dark); border-top: 4px solid var(--red); }

.compare-card h3 { font-size: 1.15rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-card.them h3 { color: #b9b7b1; }
.compare-card.you  h3 { color: #e0404c; }

.compare-card ul { list-style: none; }

.compare-card li {
  padding: 9px 0 9px 28px;
  position: relative;
  color: #e6e4de;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.compare-card li:last-child { border-bottom: none; }

.compare-card.them li::before { content: "\2713"; color: #8a8b8d; position: absolute; left: 0; font-weight: 700; }
.compare-card.you  li::before  { content: "\2717"; color: #e0404c; position: absolute; left: 0; font-weight: 700; }

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(28,29,31,0.06);
}

.card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--charcoal-dark); }

.card p { color: var(--gray); font-size: 0.95rem; }

.card .icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--charcoal-dark);
  color: var(--offwhite);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* Service intro rows */
.service-head { max-width: 800px; margin-bottom: 8px; }

.service-num {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  width: 40px; height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

/* Demo video */
.video-wrap { max-width: 900px; margin: 48px auto 0; }

.video-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  background: #000;
}

/* CTA band */
.cta-band {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}

.cta-band h2 { margin-bottom: 14px; }

.cta-band p { font-size: 1.1rem; margin-bottom: 28px; opacity: 0.95; max-width: 700px; margin-left: auto; margin-right: auto; }

.cta-band .btn { background: var(--charcoal-dark); }
.cta-band .btn:hover { background: #000; }

/* ---------- Contact page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.contact-info h3 { margin: 22px 0 6px; font-size: 1.05rem; }
.contact-info p { color: var(--gray); }

form.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(28,29,31,0.07);
}

.form-row { margin-bottom: 18px; }

label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; }

input, select, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c9c6bf;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--offwhite);
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--red);
  border-color: var(--red);
}

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

.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 14px; }

/* ---------- Footer ---------- */
footer {
  background: var(--charcoal-dark);
  color: #b9b7b1;
  padding: 40px 24px;
  font-size: 0.9rem;
  border-top: 3px solid var(--red);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

footer a { color: var(--offwhite); text-decoration: none; font-weight: 600; }
footer a:hover { color: #e0404c; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .compare, .contact-wrap { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .brand-name { font-size: 1rem; }
  .hero img.hero-logo { height: 130px; width: 130px; }
}
