:root {
  --paper: #f6f1e7;
  --paper-deep: #efe8d8;
  --ink: #1c1b19;
  --ink-soft: #55524c;
  --accent: #2f6fdb;
  --card: #fffdf8;
  --line: rgba(28, 27, 25, 0.12);
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

header.hero {
  text-align: center;
  padding: 88px 0 56px;
}

.hero img.appicon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(28, 27, 25, 0.18);
}

.hero h1 {
  font-size: 56px;
  letter-spacing: -0.02em;
  margin-top: 24px;
  line-height: 1.1;
}

.hero p.tagline {
  font-size: 22px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 16px auto 0;
}

.cta {
  display: inline-block;
  margin-top: 32px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(28, 27, 25, 0.25);
}

.cta .small { display: block; font-size: 12px; font-weight: 400; opacity: 0.75; }

.price-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-soft);
}

section { padding: 48px 0; }

section h2 {
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.shots img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 36px rgba(28, 27, 25, 0.12);
}

@media (max-width: 640px) {
  .hero h1 { font-size: 40px; }
  .shots { grid-template-columns: 1fr; }
}

.prose p { margin-bottom: 14px; max-width: 680px; }
.prose ul { margin: 0 0 14px 24px; max-width: 680px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }

.contact-card {
  background: var(--paper-deep);
  border-radius: 16px;
  padding: 28px;
  max-width: 560px;
}

.contact-card a { color: var(--accent); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 32px 0 48px;
  color: var(--ink-soft);
  font-size: 14px;
}

footer a { color: var(--ink-soft); }
footer .links { margin-bottom: 8px; }
footer .links a { margin-right: 20px; }

.back { display: inline-block; margin: 32px 0 0; color: var(--accent); text-decoration: none; }
.updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }

/* --- 1.1 additions --- */

.hero-next { margin-top: 28px; font-size: 15px; }
.hero-next a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.hero-next a:hover { color: var(--ink); border-color: var(--ink-soft); }
.hero-next .arrow { display: inline-block; margin-left: 4px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 28px;
}

section.next {
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 0 0 28px;
}
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.steps strong { display: block; font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--ink-soft); font-size: 15px; }

table.files {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
table.files th, table.files td {
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
table.files tr:first-child th, table.files tr:first-child td { border-top: 0; }
table.files th { width: 30%; white-space: nowrap; font-weight: 600; }
table.files td { color: var(--ink-soft); }
table.files a { color: var(--accent); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--paper-deep);
  padding: 2px 6px;
  border-radius: 6px;
}
.tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 1px 7px;
  vertical-align: middle;
}

@media (max-width: 640px) {
  table.files, table.files tbody, table.files tr, table.files th, table.files td { display: block; width: auto; }
  table.files th { padding-bottom: 4px; white-space: normal; }
  table.files td { padding-top: 0; border-top: 0; }
  table.files tr { border-top: 1px solid var(--line); }
  table.files tr:first-child { border-top: 0; }
}

/* vocabulary page */
table.vocab { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-size: 15px; }
table.vocab th, table.vocab td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
table.vocab th { font-weight: 600; white-space: nowrap; }
table.vocab td { color: var(--ink-soft); }
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  overflow-x: auto;
  margin-bottom: 24px;
  max-width: 680px;
}
pre code { background: none; padding: 0; font-size: inherit; }
table.vocab thead th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 640px) { table.vocab th { white-space: normal; } }

/* pillars: the 1.1 pitch */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 8px 0 40px;
}
.pillar {
  border-left: 3px solid var(--ink);
  padding-left: 18px;
}
.pillar h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.pillar p { color: var(--ink-soft); font-size: 15px; }
h3.sub { font-size: 20px; margin: 0 0 16px; letter-spacing: -0.01em; }
section.next .features { margin-top: 8px; }
.scenes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0 0 40px;
}
.scene {
  background: var(--paper-deep);
  border-radius: 16px;
  padding: 22px 24px;
}
.scene h4 { font-size: 17px; margin-bottom: 6px; }
.scene p { color: var(--ink-soft); font-size: 15px; }

/* beta sign-up */
.hero-beta { margin-top: 14px; }
.cta.secondary {
  margin-top: 0;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 10px 22px;
  font-size: 15px;
}
.cta.secondary:hover { box-shadow: 0 4px 14px rgba(28, 27, 25, 0.15); }
section.beta {
  background: var(--paper-deep);
  border-radius: 20px;
  padding: 40px 32px;
  margin: 8px 0;
}
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.signup input[type=email], .signup select {
  flex: 1 1 200px;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  min-width: 0;
}
.signup select { flex: 0 1 130px; }
.signup input:focus, .signup select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.signup button {
  flex: 0 0 auto;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}
.signup button:hover { box-shadow: 0 6px 20px rgba(28, 27, 25, 0.25); }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; left: -9999px; }
.fine { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.fine a { color: var(--ink-soft); }
@media (max-width: 640px) { section.beta { padding: 28px 20px; } .signup button { flex: 1 1 100%; } }
.beta-notes { margin: 20px 0 0 20px; max-width: 640px; color: var(--ink-soft); font-size: 15px; }
.beta-notes li { margin-bottom: 6px; }
.beta-notes a { color: var(--accent); }
section.beta .cta { margin-top: 4px; }
.sub-tagline { font-size: 16px; color: var(--ink-soft); max-width: 520px; margin: 12px auto 0; }
.price-note a { color: var(--ink-soft); }
.price-note a:hover { color: var(--ink); }
section.next.first { border-top: 0; padding-top: 40px; }
section.next.first + section.beta { margin-bottom: 24px; }
