/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — from grayfox-homejersey */
  --teal:        #ACDCD1;
  --teal-deep:   #6aada0;
  --teal-light:  #eaf6f4;
  --sage:        #87B792;
  --sage-light:  #e8f2ea;
  --peach:       #F5C986;
  --peach-light: #fdf6e8;
  --coral:       #F5987C;
  --taupe:       #A48B79;
  --taupe-light: #f2ece8;

  /* Neutrals */
  --charcoal:    #2a2826;
  --charcoal-mid:#3d3a36;
  --charcoal-lt: #544f4a;
  --warm-50:     #faf9f7;
  --warm-100:    #f0ede8;
  --warm-200:    #e3ddd7;
  --gray-400:    #9a9490;
  --gray-600:    #5a5550;
  --white:       #ffffff;
  --green:       #4caf82;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(42,40,38,.07);
  --shadow-md: 0 8px 40px rgba(42,40,38,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section      { padding: 96px 0; }
.section-warm { background: var(--warm-50); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-teal { background: var(--teal-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  font-family: var(--font);
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-primary:hover { background: var(--charcoal-mid); border-color: var(--charcoal-mid); }

.btn-teal {
  background: var(--teal);
  color: var(--charcoal);
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover { background: var(--warm-100); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--warm-100);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .15s;
}
.nav-links a:hover { color: var(--charcoal); }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 20px;
}
.badge-teal  { background: var(--teal-light); color: var(--teal-deep); }
.badge-peach { background: var(--peach-light); color: #b8892a; }
.badge-light { background: rgba(172,220,209,.2); color: var(--teal); }

/* ===== SECTION LABELS ===== */
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-deep);
  margin-bottom: 10px;
}
.section-dark .section-label { color: var(--teal); }

/* ===== HERO ===== */
.hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(172,220,209,.13) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,201,134,.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner { max-width: 760px; position: relative; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: 22px;
  color: var(--white);
}

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

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.68);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.72;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== SECTION TITLES ===== */
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.section-dark h2 { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--gray-400);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.65;
}
.section-dark .section-sub { color: rgba(255,255,255,.55); }

/* ===== WHO WE SERVE ===== */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.serve-card {
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 3px solid var(--teal);
}

.serve-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.serve-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--charcoal-mid);
  border: 1px solid rgba(172,220,209,.12);
  border-radius: var(--radius);
  padding: 32px;
}

.service-number {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card .tagline {
  font-size: 13px;
  font-style: italic;
  color: rgba(172,220,209,.75);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-list { display: flex; flex-direction: column; gap: 6px; }

.service-list li {
  font-size: 13px;
  color: rgba(255,255,255,.42);
  padding-left: 14px;
  position: relative;
}
.service-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-card.featured {
  border-color: var(--teal-deep);
  border-top: 4px solid var(--teal);
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.tag-live   { background: #e8f5ee; color: #2d8a5e; }
.tag-coming { background: var(--peach-light); color: #a07828; }

.product-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.product-card .product-target {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 14px;
}

.product-card > p:not(.product-target) {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }

.product-features li {
  font-size: 14px;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* ===== RESEARCH WAITLIST ===== */
.research-waitlist { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

.research-waitlist input,
.research-waitlist select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--warm-200);
  font-size: 14px;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--warm-50);
  outline: none;
  transition: border-color .15s;
}
.research-waitlist input:focus,
.research-waitlist select:focus { border-color: var(--teal-deep); background: var(--white); }
.research-waitlist input::placeholder { color: var(--gray-400); }

.wl-msg { font-size: 13px; font-weight: 500; min-height: 18px; }
.wl-msg.success { color: #2d8a5e; }
.wl-msg.error   { color: #c0392b; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 { margin-bottom: 18px; }

.about-text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.team-card {
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.team-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.team-card p { font-size: 13px; color: var(--gray-400); line-height: 1.4; }

/* ===== CONTACT ===== */
.contact-section {
  background: var(--charcoal);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}

.contact-section h2 { color: var(--white); margin-bottom: 12px; }
.contact-section > .container > p { color: rgba(255,255,255,.6); font-size: 17px; margin-bottom: 40px; }

.contact-methods {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  background: rgba(172,220,209,.08);
  border: 1px solid rgba(172,220,209,.2);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  min-width: 200px;
  transition: background .15s, border-color .15s;
}
.contact-card:hover { background: rgba(172,220,209,.14); border-color: rgba(172,220,209,.4); }

.contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
}
.contact-value { font-size: 16px; font-weight: 600; color: var(--white); }
.contact-sub   { font-size: 13px; color: rgba(255,255,255,.45); }

/* ===== FOOTER ===== */
.footer {
  background: #1a1816;
  color: rgba(255,255,255,.38);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-wordmark {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: -.01em;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.38); transition: color .15s; }
.footer-links a:hover { color: var(--teal); }

.footer-copy { font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .products-grid { grid-template-columns: 1fr; }
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .nav-links a:not(.btn) { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .contact-methods { flex-direction: column; align-items: center; }
}
