:root{
  --max-width:760px;
  --site-max:1100px;
  --bg1:#ffffff;
  --bg2:#f5f5ee;
  --orange:#ff631f;
  --text:#0f1720;
  --muted:#6f6f6f;
  --border:#e6e6e6;
}

/* reset / base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--text);
  background:var(--bg1);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  font-size:17px;
}
a{color:inherit; text-decoration:none}

/* containers */
.inner{max-width:var(--site-max);margin:0 auto;padding:0 28px}
.container{max-width:var(--max-width);margin:0 auto;padding:0 24px}

/* header */
.site-header{
  background:var(--bg2);
  position:sticky;
  top:0;
  z-index:60;
  border-bottom:1px solid var(--border);
}
.header-row{
  height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.logo-img{height:36px;width:auto;display:block}
.brand-name{font-weight:600;font-size:15px;color:var(--orange);}
.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  font-size:15px;
  color:var(--muted);
  padding:8px;
  font-weight:600;
}
.nav a:hover{color:var(--orange)}

/* hero */
.hero{
  padding:80px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  text-align:left;
}
.hero-left{
  flex:1;
  max-width:520px;
}
.hero-right{
  flex:1;
  display:flex;
  justify-content:flex-end;
}
.hero-illustration{
  max-width:420px;
  width:100%;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  display:block;
}

/* hero text */
h1{
  font-size:44px;
  font-weight:800;
  margin:0 0 18px 0;
  line-height:1.02;
}
.lead{
  color:var(--muted);
  font-size:16px;
  margin:0 0 18px;
  max-width:700px;
}
.hero-actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:12px;
}

/* buttons */
.button{
  padding:12px 18px;
  border-radius:8px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,0,0,0.04);
}
.button.primary{
  background:var(--orange);
  color:#fff;
  border:0;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}
.button.secondary{
  background:transparent;
  border:0;
  color:var(--muted);
}

/* stat pill */
.stat-pill{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.06);
  background:#fff;
  font-weight:700;
  color:var(--text);
  font-size:14px;
}

/* backed strip */
.backed-hero{
  padding:44px 0;
  background:var(--bg2);
}
.backed-hero .container{
  max-width:1000px;
  margin:0 auto;
  text-align:center;
}
.backed-label{
  font-size:26px;
  font-weight:700;
  color:#111827;
  margin-bottom:18px;
}

/* logo grid - white cards, NOT grayscale */
.logos-row{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px,1fr));
  gap:20px;
  align-items:center;
  justify-items:center;
}
.logos-row img{
  background:#ffffff;
  padding:14px 18px;
  border-radius:8px;
  height:36px;
  width:auto;
  object-fit:contain;
  display:block;
  box-shadow:0 6px 18px rgba(15,23,32,0.04);
  opacity:1;
  filter:none;
  transition:transform .18s ease, box-shadow .18s ease;
}
.logos-row img:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(15,23,32,0.06);
}

/* content sections */
section{
  padding:56px 0;
  border-bottom:1px solid var(--border);
}
h2,h3{
  font-size:24px;
  margin:0 0 12px 0;
}
p{
  margin:0 0 18px 0;
  max-width:760px;
}
ul{margin:0 0 18px 24px}

/* YC width */
main section > .container,
.apply-section .container{
  max-width:620px !important;
  margin:0 auto;
  padding:0 20px;
}
section p, section ul, section .stories{
  max-width:620px;
}

/* cards */
.card-row{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:24px;
}
.card{
  flex:1 1 260px;
  background:#fff;
  padding:18px;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,0.04);
}

/* list of stories */
.stories{list-style:none;padding:0;margin:0}
.stories li{margin-bottom:10px}

/* apply section */
.apply-section .contact-line{
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
}

/* footer */
footer{padding:28px 0}
.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.muted{color:var(--muted)}

/* modal */
.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(10,11,13,0.5);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
  padding:20px;
}
.modal{
  background:#fff;
  width:100%;
  max-width:520px;
  border-radius:12px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
}
.modal h4{margin:0 0 8px 0}
.modal-note{margin:6px 0 12px 0;color:var(--muted)}
.input{
  width:100%;
  padding:10px;
  border:1px solid #e5e7eb;
  border-radius:8px;
  margin-top:8px;
}

/* mobile sticky button */
.mobile-sticky{
  display:none;
  position:fixed;
  left:0;
  right:0;
  bottom:14px;
  z-index:999;
  justify-content:center;
  padding:0 20px;
  pointer-events:none;
}
.mobile-sticky .button.primary{
  width:100%;
  height:52px;
  pointer-events:auto;
}

/* alternating bg */
main > section:nth-of-type(odd){ background:#ffffff; }
main > section:nth-of-type(even){ background:#f5f5ee; }

/* orange text */
.text-orange{color:var(--orange);}

/* mobile responsiveness */
@media(max-width:900px){
  .inner{padding:0 18px}
  .hero{
    flex-direction:column;
    text-align:left;
    padding:28px 0;
    gap:24px;
  }
  .hero-right{
    justify-content:flex-start;
    text-align:left;
    width:100%;
  }
  h1{font-size:30px}
  .logo-img{height:32px}
  .header-row{height:64px}
  .logos-row img{height:28px}
  .modal{padding:16px}
  .hero-illustration{max-width:100%;height:auto}
  .mobile-sticky{display:flex}
}
