/* core.css — base styles for Unfold Therapeutics */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root{
  --brand-100:#0057B8;
  --brand-10:#E6F0FA;
  --grey-90:#27282A;
  --grey-20:#F4F4F6;
  --white:#FFFFFF;
}

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

/* ---------------------------------- */
/* GLOBAL */
body {
  font-family: "Calibri Light", Calibri, Arial, sans-serif;
  color: var(--grey-90);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container{
  width:min(1100px,90%);
  margin-inline:auto;
  padding-block:2rem;
}

/* ---------------------------------- */
/* HEADER & NAV */
.site-header{
  border-bottom:1px solid var(--grey-20);
}

.site-header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Make all text inside header bold */
.site-header,
.site-header a,
.site-header h1,
.site-header h2,
.site-header span {
  font-weight: bold;
}

.logo{
  display:block;
}

.logo img{
  display:block;
  height:60px;
}

.primary-nav ul{
  display:flex;
  gap:1rem;
  list-style:none;
}

.primary-nav a{
  text-decoration:none;
  font-weight:500;
  color:var(--grey-90);
  padding:.5rem .75rem;
  border-radius:.25rem;
}

.primary-nav a.btn{
  background:var(--brand-100);
  color:var(--white);
}

.primary-nav a:hover,
.primary-nav a:focus-visible{
  background:var(--brand-10);
}

/* ---------------------------------- */
/* HERO */
.hero{
  background:url("images/hero-eye.jpg") center/cover no-repeat;
  color:var(--white);
  text-align:center;
  padding-block:6rem 5rem;
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}

.hero .container{
  position:relative; /* lift above overlay */
}

.hero h1{
  font-size:2.5rem;
  margin-bottom:1rem;
}

.hero p{
  max-width:60ch;
  margin-inline:auto;
  margin-bottom:2rem;
  font-size:1.125rem;
}

/* ---------------------------------- */
/* BUTTONS */
.btn{
  display:inline-block;
  background:var(--brand-100);
  color:var(--white);
  padding:.75rem 1.5rem;
  font-weight:600;
  text-decoration:none;
  border-radius:.375rem;
}

.btn:hover,
.btn:focus-visible{
  filter:brightness(1.1);
}

.btn-secondary{
  background:var(--grey-90);
}

/* ---------------------------------- */
/* GRID / CARDS */
.cards{
  display:grid;
  gap:2rem;
}

@media(min-width:600px){
  .cards{
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  }
}

.card{
  background:var(--brand-10);
  padding:1.5rem;
  border-radius:.5rem;
}

.card h2,
.card h3{
  margin-bottom:.5rem;
}

/* Founder-specific tweaks */
.founder{
  background:var(--white);
  border:1px solid var(--grey-20);
  text-align:center;
}

.founder img{
  width:100%;
  height:auto;
  border-top-left-radius:.5rem;
  border-top-right-radius:.5rem;
}

.more-link{
  font-weight:500;
  text-decoration:none;
  color:var(--brand-100);
}

/* FIGURES */
.device-fig{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1rem;
}
.device-fig img{
  width:100%;
  max-width:400px;
  height:auto;
}

/* ---------------------------------- */
/* CTA SECTION */
.cta{
  background:var(--brand-100);
  color:var(--white);
  text-align:center;
  padding-block:3rem;
}

.cta h2{
  margin-bottom:1rem;
}

/* ---------------------------------- */
/* FOOTER */
.site-footer{
  border-top:1px solid var(--grey-20);
}

.site-footer .container{
  text-align:center;
  font-size:.875rem;
}

.site-footer a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px dashed currentColor;
}
