/* Clean documentation-style landing page (white + crimson) */

:root{
  --bg: #ffffff;
  --panel: #f7f7f9;
  --panel-strong: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #e5e5e5;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);

  --brand: #b11226;          /* Crimson */
  --brand-soft: #f6dadd;     /* Light crimson tint */

  --radius: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

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

body{
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

/* Links */
a{
  color: var(--brand);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

/* ---------- NAV ---------- */
.nav{
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--panel-strong);
}

.nav-inner{
  max-width: 1200px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.nav-left{
  display:flex;
  align-items:center;
  gap: 24px;
  flex-wrap: nowrap;
}

.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}

.logo:hover{ text-decoration:none; }

.logo-mark{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.logo-text{
  white-space: nowrap;
}

.nav-links{
  display:flex;
  gap: 18px;
  font-weight: 600;
}
.nav-links a{
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}
.nav-links a:hover{
  background: var(--panel);
  color: var(--brand);
  text-decoration:none;
}

.nav-cta{
  display:flex;
  align-items:center;
  gap: 12px;
  white-space: nowrap;
}

/* Icon-only button (GitHub) */
.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.icon-btn:hover{
  border-color: var(--brand);
  color: var(--brand);
  text-decoration:none;
}

.icon-btn svg{
  width: 18px;
  height: 18px;
}

/* Icon button with text (Prelim Slides) */
.icon-btn--text{
  padding: 0 14px;
  gap: 8px;
  width: auto;
}

.icon-btn--text span{
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-weight: 700;
  color: var(--text);
}
.btn:hover{
  border-color: var(--brand);
  color: var(--brand);
  text-decoration:none;
}

.btn.primary{
  background: var(--brand);
  color: white;
  border: none;
}
.btn.primary:hover{
  filter: brightness(1.05);
}

.btn.ghost{
  background: transparent;
}

/* ---------- HERO ---------- */
.hero{
  padding: 72px 18px 40px;
}
.hero-inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

h1{
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.subtitle{
  max-width: 70ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions{
  margin-top: 26px;
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- PILL ---------- */
.social-proof{
  margin-top: 22px;
  display:flex;
  justify-content:center;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

/* ---------- FEATURES ---------- */
.feature-grid{
  margin-top: 42px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature{
  text-align:left;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.feature h2{
  font-size: 17px;
  margin-bottom: 8px;
}
.feature p{
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- FOOTER ---------- */
.footer{
  margin-top: 56px;
  color: #777;
  font-size: 13px;
}

/* Make content pages feel like docs pages (same theme) */
.hero-page{
  padding: 44px 18px 40px;
}
.hero-inner-page{
  text-align: left;
}

.section-title{
  margin-top: 28px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* Deliverables layout */
.doc-section{
  margin-top: 18px;
}

.doc-card{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.doc-title{
  font-weight: 800;
  color: var(--text);
}
.doc-meta{
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.doc-block{
  margin-top: 10px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.doc-list{
  padding-left: 18px;
}
.doc-list li{
  margin: 8px 0;
  color: var(--muted);
}

.slide-embed {
  max-width: 900px;
  margin: 1.5rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.slide-embed iframe {
  width: 100%;
  height: 480px;
  border: none;
}

/* ---------- TEAM PAGE ---------- */
.team-grid{
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.team-card{
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.team-avatar{
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
}

.team-img{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: block;
  object-fit: cover;
}

.team-card h3{
  margin-bottom: 4px;
  font-size: 17px;
}

.team-role{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.team-contact a{
  font-size: 14px;
  color: var(--brand);
}

/* ---------- SPRINT TABLES ---------- */
.table-wrap{
  overflow-x: auto;
}
.sprint-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.sprint-table th,
.sprint-table td{
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.sprint-table th{
  font-weight: 700;
  color: var(--text);
  background: var(--panel);
}
.sprint-table tr:last-child td{
  border-bottom: none;
}
.status-badge{
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.status-badge.done{ background: #d4edda; color: #155724; }
.status-badge.in-progress{ background: #fff3cd; color: #856404; }
.status-badge.todo{ background: #e2e3e5; color: #383d41; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px){
  .feature-grid{ grid-template-columns: 1fr; }
}

/* JS-controlled responsive collapsing */
.nav-cta.is-collapsed { display: none; }
.nav-links.is-collapsed { display: none; }