:root {
  --bg: #f4f6f3;
  --ink: #16211c;
  --muted: #5d6b64;
  --panel: #ffffff;
  --line: #d9e2dc;
  --accent: #0f766e;
  --blue: #2f5f98;
  --warn: #b45309;
  --danger: #b42318;
  --shadow: 0 22px 60px rgba(22, 33, 28, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.09), transparent 28%),
    linear-gradient(315deg, rgba(47, 95, 152, 0.09), transparent 30%),
    var(--bg);
  font-family:
    Inter, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", system-ui, sans-serif;
}

.deck {
  display: grid;
  gap: 26px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.slide {
  min-height: min(720px, calc(100vh - 64px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 58px);
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

p,
li {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 42px;
}

.hero-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 10px;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.paper,
.clear-card {
  position: absolute;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.paper {
  inset: 12px 52px 72px 0;
  padding: 34px;
}

.paper span {
  display: block;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #c6d1ca;
}

.paper span:nth-child(1) {
  width: 88%;
}

.paper span:nth-child(2) {
  width: 74%;
}

.paper span:nth-child(3) {
  width: 94%;
}

.paper strong {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fdeceb;
  color: var(--danger);
  font-size: 3rem;
}

.clear-card {
  right: 0;
  bottom: 16px;
  display: grid;
  gap: 10px;
  width: 220px;
  padding: 18px;
}

.clear-card b {
  color: var(--danger);
}

.clear-card span {
  border-left: 4px solid var(--warn);
  padding: 8px 10px;
  border-radius: 0 8px 8px 0;
  background: #fff7e8;
  font-weight: 800;
}

.problem {
  display: grid;
  align-content: center;
  gap: 30px;
}

.problem-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article,
.feature-list article,
.roadmap p {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 20px;
}

.problem-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e8f5eb;
  color: var(--accent);
  font-weight: 900;
}

.solution {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: 46px;
}

.flow {
  display: grid;
  gap: 14px;
}

.flow div {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.flow span {
  justify-self: center;
  width: 4px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
}

.features,
.demo,
.future {
  display: grid;
  align-content: center;
}

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

.demo ol {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.demo li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 18px;
  color: var(--ink);
  font-weight: 800;
}

.demo li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: white;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.roadmap p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .deck {
    width: min(100% - 20px, 1120px);
    padding: 18px 0;
  }

  .slide {
    min-height: auto;
    padding: 24px;
  }

  .hero,
  .solution,
  .problem-grid,
  .feature-list,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }
}
