@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --bg:#fef7fe;
  --surface:#f8f2f9;
  --surface-2:#f2ecf3;
  --surface-3:#e6e1e8;
  --primary:#212455;
  --primary-2:#3f4275;
  --accent:#5663AD;
  --green:#B0D365;
  --green-dark:#516e03;
  --text:#1d1b20;
  --muted:#46464f;
  --line:#ddd7df;
  --danger:#ba1a1a;
  --radius-sm:12px;
  --radius-md:16px;
  --radius-lg:24px;
  --radius-xl:32px;
  --pill:999px;
  --shadow-soft:0 16px 36px rgba(33,36,85,.07);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Work Sans",system-ui,sans-serif;
}

body{
  min-height:100vh;
}

h1,h2,h3,h4,h5,h6,.brand,.button,.nav-links a,.hero-kicker,.footer{
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;
}

a{
  color:var(--accent);
  text-decoration:none;
}

a:hover{
  text-decoration:none;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(254,247,254,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(33,36,85,.06);
}

.navbar{
  max-width:1180px;
  margin:0 auto;
  padding:18px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--primary);
  font-weight:800;
  font-size:1.1rem;
}

.brand-badge{
  width:40px;
  height:40px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.brand-badge img{
  max-width:60%;
  max-height:60%;
  object-fit:contain;
  display:block;
}

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

.nav-links a{
  color:var(--primary);
  padding:12px 16px;
  border-radius:var(--pill);
  font-weight:700;
  transition:all .18s ease;
}

.nav-links a:hover{
  background:#ece7ee;
  transform:translateY(-1px);
}

.nav-links a.active{
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#fff;
}

main{
  max-width:1180px;
  margin:0 auto;
  padding:34px 28px 56px;
}

.hero,.page-hero{
  background:var(--surface);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-soft);
  padding:42px 34px;
  margin-bottom:26px;
}

.hero{
  text-align:center;
}

.hero img{
  display:block;
  width:min(100%, 430px);
  margin:0 auto 20px;
}

.hero-kicker{
  margin:0 0 10px;
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.hero h1,.page-hero h1{
  margin:0 0 12px;
  color:var(--primary);
  font-size:clamp(2rem,4vw,3.3rem);
  line-height:1.06;
}

.hero p,.page-hero p{
  max-width:760px;
  margin:0 auto;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.75;
}

.page-hero p{
  margin:0;
  max-width:800px;
}

.button-row{
  margin-top:24px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 20px;
  border-radius:var(--pill);
  font-weight:800;
  transition:transform .15s ease, filter .15s ease;
}

.button:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.button.primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#fff;
}

.button.secondary{
  background:#ece7ee;
  color:var(--primary);
}

.section-title{
  margin:0 0 14px;
  color:var(--primary);
  font-size:1.7rem;
}

.grid,.team-grid,.tutorial-list,.screenshot-grid{
  display:grid;
  gap:18px;
}

.grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

/* TOP = 4 cards in a clean 2x2 layout */
.team-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.screenshot-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.card,.person-card,.tutorial-step,.screenshot-card{
  background:var(--surface);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.card.highlight,.person-card.highlight,.screenshot-card.highlight{
  background:linear-gradient(180deg,#f8f2f9 0%, #eef2fb 100%);
}

.card h3,.person-card h3,.tutorial-step h3,.screenshot-card h3{
  margin:0 0 10px;
  color:var(--primary);
  font-size:1.3rem;
}

.card p,.person-card p,.tutorial-step p,.screenshot-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.link{
  display:inline-flex;
  margin-top:14px;
  font-weight:800;
}

.person-card small,.screenshot-label{
  display:inline-flex;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:700;
  background:rgba(176,211,101,.2);
  color:var(--green-dark);
}

.tutorial-list{
  grid-template-columns:1fr;
}

.tutorial-step{
  display:grid;
  grid-template-columns:74px 1fr;
  align-items:start;
  gap:18px;
}

.step-num{
  width:58px;
  height:58px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#fff;
  font-size:1.3rem;
  font-weight:800;
}

.screenshot-preview{
  width:100%;
  min-height:220px;
  border-radius:20px;
  border:2px dashed var(--line);
  background:linear-gradient(180deg,#fff 0%, #f2ecf3 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:var(--muted);
  padding:18px;
  margin:12px 0 14px;
}

.callout{
  margin-top:16px;
  padding:15px 17px;
  border-radius:18px;
  background:#fff;
  border-left:5px solid var(--green);
  color:var(--text);
}

/* Centered sections for Our Goal and Team Member Five */
.center-section{
  display:flex;
  justify-content:center;
  margin-top:20px;
}

.center-section .person-card{
  width:100%;
}

/* Our Goal = centered and wider */
.goal-card{
  max-width:1040px;
}

/* Team Member 5 = centered and same size as top cards */
.member-five-card{
  max-width:calc((1180px - 28px - 28px - 18px) / 2);
}

.footer{
  max-width:1180px;
  margin:0 auto;
  padding:0 28px 34px;
  color:var(--muted);
  font-size:.88rem;
}

@media (max-width: 980px){
  .grid,.team-grid,.screenshot-grid{
    grid-template-columns:1fr 1fr;
  }

  .goal-card,
  .member-five-card{
    max-width:none;
  }
}

@media (max-width: 760px){
  .navbar{
    padding:16px 18px;
    align-items:flex-start;
    flex-direction:column;
  }

  main{
    padding:24px 18px 44px;
  }

  .hero,.page-hero{
    padding:28px 20px;
  }

  .grid,.team-grid,.screenshot-grid{
    grid-template-columns:1fr;
  }

  .tutorial-step{
    grid-template-columns:1fr;
  }

  .step-num{
    width:52px;
    height:52px;
  }

  .footer{
    padding:0 18px 28px;
  }

  .goal-card,
  .member-five-card{
    max-width:none;
  }
}

/* layout for image + text */
.person-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* profile image */
.person-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%; /* circle */
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--surface-3);
}

/* text container */
.person-info {
  display: flex;
  flex-direction: column;
}

.card-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto 12px; /* centers it */
}
