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

:root {
  --green:       #669966;
  --green-dark:  #4f7a4f;
  --green-light: #e8f0e8;
  --text:        #1a1a1a;
  --muted:       #666;
  --border:      #d4e0d4;
  --white:       #ffffff;
  --bg:          #f5f7f5;
  --dark:        #1a2a1a;
}

html, body {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow: hidden;
}

#deck {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.slide.active { opacity: 1; pointer-events: auto; }

.slide-bg-white { background: var(--white); }
.slide-bg-light { background: var(--bg); }
.slide-bg-dark  { background: var(--dark); }

.logo-bar {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 10;
}
.logo-bar img { height: 32px; width: auto; }

.slide-counter {
  position: absolute;
  bottom: 1.4rem;
  right: 2rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.15);
  z-index: 10;
}
.slide-bg-dark .slide-counter { color: rgba(255,255,255,0.2); }

#dots {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 100;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--green); transform: scale(1.4); }

#nav-prev, #nav-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  color: var(--green-dark);
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
#nav-prev { left: 1.25rem; }
#nav-next { right: 1.25rem; }
#nav-prev:hover, #nav-next:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 5rem 3.5rem;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.slide-content.left { align-items: flex-start; }
.slide-content.split {
  flex-direction: row;
  align-items: center;
  gap: 4rem;
}
.split-text { flex: 1; }
.split-visual { flex: 1.2; }

.eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow-white { color: rgba(255,255,255,0.4); }

.divider {
  width: 36px; height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 1.1rem 0;
  flex-shrink: 0;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
h1 span { color: var(--green); }

h2 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h2.white { color: var(--white); }

.lede {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-top: 1rem;
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1.1rem;
}

.cover-meta {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2.5rem;
}

.layers {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 700px;
  margin-top: 2rem;
}
.layer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 2rem;
  border: 1px solid var(--border);
  background: var(--white);
}
.layer:first-child { border-radius: 10px 10px 0 0; border-bottom: none; }
.layer:last-child  { border-radius: 0 0 10px 10px; }
.layer-pct {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  width: 5rem;
  flex-shrink: 0;
}
.layer-body h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.layer-body p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.layer-tag {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}
.tag-built { background: var(--green); color: var(--white); }
.tag-daily { background: var(--green-light); color: var(--green-dark); border: 1px solid var(--border); }

.workflow-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
  margin-top: 2rem;
}
.wf-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
  background: var(--white);
}
.wf-card.dim { opacity: 0.35; }
.wf-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.wf-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.wf-card p  { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }
.wf-stat {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

.screenshot-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.screenshot-wrap img { width: 100%; display: block; }

.talk-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 660px;
}
.talk-list li { display: flex; gap: 1rem; align-items: flex-start; }
.talk-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1px solid var(--border);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.talk-text { font-size: 0.95rem; color: var(--text); line-height: 1.6; font-weight: 600; }
.talk-sub  { font-size: 0.82rem; color: var(--muted); font-weight: 400; margin-top: 0.2rem; line-height: 1.5; }
