/* SAKA.AI — OnePager | mobile-first */

:root {
  --ink: #10151c;
  --panel: #161e27;
  --line: #29343f;
  --paper: #eee9df;
  --paper-dim: #9aa4ad;
  --copper: #c9884d;
  --copper-dim: #8a5c30;
  --slate: #7c97ab;
  --measure: 640px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "IBM Plex Serif", Georgia, serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.sheet {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 18px 48px;
}

/* header — stacked on mobile */
header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-bottom: 18px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.wordmark span { color: var(--copper); }

.tagline {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12.5px;
  color: var(--paper-dim);
}

h1 {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.28;
  max-width: 16ch;
  margin: 0 0 16px;
  color: var(--paper);
}

.lede {
  font-size: 16.5px;
  max-width: var(--measure);
  color: #cdd4da;
  margin: 0 0 32px;
}

/* hero flow graphic — stacked on mobile, row on larger screens */
.flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 40px;
  font-family: "IBM Plex Sans", sans-serif;
}
.flow .node {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.flow .dot {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  background: var(--panel);
}
.flow .dot svg { width: 15px; height: 15px; }
.flow .label {
  font-size: 13px;
  color: var(--paper-dim);
  line-height: 1.3;
}
.flow .segment { display: none; }

section { max-width: var(--measure); margin-bottom: 36px; }

h2 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 12px;
}

p { margin: 0 0 12px; color: #d7dce0; }
p:last-child { margin-bottom: 0; }

.stat {
  font-family: "IBM Plex Sans", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 36px;
}
.stat strong { font-size: 24px; color: var(--copper); font-weight: 600; }
.stat span { font-size: 13px; color: var(--paper-dim); }

ul.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
ul.points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #d7dce0;
}
ul.points .icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin-top: 1px;
}
ul.points .icon svg { width: 12px; height: 12px; }
ul.points p { margin: 0; padding-top: 1px; font-size: 15px; }

.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
  margin-left: 14px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 24px 26px;
}
.steps li:last-child { padding-bottom: 2px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -14px;
  top: -2px;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--copper-dim);
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
}
.steps h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  margin: 0 0 4px;
}
.steps p { font-size: 14.5px; color: #b9c1c8; margin: 0; }

.closing { font-size: 16px; color: #cdd4da; }

footer {
  max-width: var(--measure);
  padding-top: 22px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  color: var(--paper-dim);
}
footer strong { color: var(--copper); font-weight: 600; }

.contact {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--copper-dim);
  padding-bottom: 1px;
  width: fit-content;
}
.contact a:hover { border-bottom-color: var(--copper); color: var(--copper); }

/* ---------- larger screens ---------- */
@media (min-width: 600px) {
  .sheet { padding: 64px 28px 64px; }

  header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    padding-bottom: 20px;
    margin-bottom: 48px;
  }
  .wordmark { font-size: 22px; }
  .tagline { font-size: 13px; }

  h1 { font-size: 38px; margin-bottom: 18px; }
  .lede { font-size: 18px; margin-bottom: 40px; }

  .flow {
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin-bottom: 52px;
  }
  .flow .node {
    flex-direction: column;
    width: 108px;
    text-align: center;
    gap: 10px;
  }
  .flow .dot { width: 34px; height: 34px; }
  .flow .dot svg { width: 16px; height: 16px; }
  .flow .segment {
    display: block;
    flex: 1 1 auto;
    height: 1px;
    background: var(--line);
    min-width: 16px;
    margin-top: -32px;
  }

  section { margin-bottom: 44px; }
  h2 { font-size: 15px; margin-bottom: 14px; }

  .stat {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 44px;
  }
  .stat strong { font-size: 26px; }
  .stat span { font-size: 13.5px; }

  ul.points p { font-size: 16px; }
  ul.points .icon { width: 26px; height: 26px; }
  ul.points .icon svg { width: 13px; height: 13px; }

  .steps { margin-left: 15px; }
  .steps li { padding-bottom: 28px; padding-left: 30px; }
  .steps li::before { left: -15px; width: 30px; height: 30px; font-size: 13px; }
  .steps h3 { font-size: 15.5px; }
  .steps p { font-size: 15px; }

  .closing { font-size: 17px; }

  .contact { flex-direction: row; gap: 20px; margin-top: 10px; }
}
