/* Outline and tasks, drawn as the cards themselves. */
.deck-stage {
  position: relative;
  width: 100%;
  padding: 8px 0 4px 52px;
}

.deck-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(20, 30, 40, 0.06);
}

.deck-rail-main {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 28px;
}

.deck-rail-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #9b9b9b;
}

.deck-rail-btn.is-open {
  color: #3d3d3d;
  background: rgba(0, 0, 0, 0.07);
}

.deck-rail-rule {
  height: 1px;
  margin: 2px 5px;
  background: rgba(0, 0, 0, 0.1);
}

.deck-card {
  width: 286px;
  padding: 0 8px 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.03), 0 16px 40px rgba(20, 30, 40, 0.12);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: #222;
}

.deck-card { position: relative; z-index: 1; }

.deck-outline { width: min(300px, 100%); }

.deck-pair {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -144px 0 0 auto;
  width: max-content;
  max-width: 100%;
}

.deck-tasks {
  width: min(286px, 100%);
  margin: 0;
}

.deck-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  margin: 0 -8px 6px;
  padding: 0 8px 0 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.deck-mode {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(100, 115, 130, 0.12);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #222;
}

.deck-mode svg { color: #9b9b9b; }

.deck-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9b9b9b;
  opacity: 0.7;
}

.deck-row,
.deck-group,
.deck-task {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 5px;
}

.deck-chev {
  flex: none;
  margin-top: 4px;
  color: #9b9b9b;
}

.deck-chev.is-shut { transform: rotate(-90deg); }

.deck-child {
  padding-left: 28px;
  color: #5c5c5c;
}

.deck-row.is-current {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  font-weight: 600;
}

.deck-group {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9b9b9b;
}

.deck-box {
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 2px;
  border: 1.5px solid #3d3d3d;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3d3d3d;
}

.deck-task.is-done span:last-child {
  text-decoration: line-through;
  opacity: 0.55;
}

.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: var(--page);
  margin: 88px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.promises h2 { font-size: 1.7rem; margin-bottom: 10px; }

.promises p:last-child {
  margin: 0;
  color: var(--ink-soft);
  max-width: 28ch;
}

.num {
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

.story {
  width: var(--page);
  margin: 96px auto 0;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.spread {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) 1.28fr;
  gap: 48px;
  align-items: center;
}

.spread.reverse { grid-template-columns: 1.28fr minmax(220px, 0.72fr); }

.spread.reverse .copy { order: 2; }

.spread .copy p:last-child {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
}

.more {
  width: min(980px, calc(100% - 48px));
  margin: 158px auto 0;
}

.more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: dense;
  gap: 30px 56px;
}

.more-list li {
  display: grid;
  grid-column: 1;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
}

.more-list li:has(.pro),
.more-list li.more-right { grid-column: 2; }

.more-list svg {
  margin-top: 3px;
  color: var(--ink-faint);
}

.more-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}

.more-list strong {
  color: var(--ink);
  font-weight: 650;
}

.pro {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.prices {
  width: var(--page);
  margin: 168px auto 0;
  text-align: center;
}

.prices > h2 { margin-bottom: 40px; }

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: left;
  max-width: 820px;
  margin: 0 auto;
}

.price-grid h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 650;
}

.price-grid ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.price-grid li { padding: 6px 0; }

.price-grid > article {
  padding: 32px 32px 28px;
}

.price-license {
  border: 1.5px solid var(--ink);
  border-radius: 20px;
}

.price-license .btn { margin-top: 22px; }

.panel {
  width: var(--page);
  margin: 156px auto 0;
  padding-top: 8px;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: 48px;
  align-items: start;
}

.downloads {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.downloads a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.downloads a:hover { background: rgba(28, 25, 21, 0.03); }

.dl-name { font-weight: 600; }

.dl-meta {
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

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

.price-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.price {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.price-points {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.price-points li { padding: 4px 0; }

.fine, .already {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.fine { margin: 16px 0 0; }

.buy { align-items: start; }

.already {
  grid-column: 1 / -1;
  margin: 40px 0 0;
}

.faq { margin-top: 144px; padding-bottom: 72px; }

.faq h2 { margin-bottom: 8px; }

.faq dl { margin: 28px 0 0; }

.faq dl > div {
  display: grid;
  grid-template-columns: minmax(160px, 16rem) 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq dt { font-weight: 600; }

.faq dd { margin: 0; color: var(--ink-soft); }

.prose { padding: 72px 0 48px; max-width: 720px; }

.prose.prose-with-outline {
  max-width: min(1080px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 720px) 200px;
  column-gap: 56px;
  align-items: start;
  justify-content: center;
}

.prose-copy { min-width: 0; }

.prose h2,
.prose h3,
.prose h4 { scroll-margin-top: 96px; }

.outline {
  position: sticky;
  top: 96px;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.prose .outline p {
  margin: 0 0 12px;
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prose .outline ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prose .outline li { margin: 0; }

.prose .outline a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
}

.prose .outline a:hover { color: var(--ink); }

.prose .outline-sub a {
  padding-left: 12px;
  color: var(--ink-faint);
}

.prose h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); max-width: 14em; }

.prose h2 {
  margin-top: 40px;
  font-size: 1.7rem;
}

.prose p { color: var(--ink-soft); font-family: var(--serif); font-size: 1.15rem; }

.blog-cta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.prose .blog-cta p {
  margin: 0 0 22px;
  font-style: italic;
}

.prose .blog-cta a.btn-primary { color: #f7f4ee; }

.prose a { color: var(--ink); }

.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.2em; }

.prose li { margin: 0.3em 0; }

.prose img {
  display: block;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.prose pre {
  overflow-x: auto;
  padding: 14px 16px;
  background: #f6f6f6;
  border-radius: 8px;
}

.prose pre code { font-size: 0.88rem; }

.md-sample {
  position: relative;
  margin: 28px 0 36px;
}

.prose .md-note {
  user-select: none;
  padding: 28px 28px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
}

.prose .md-note h1,
.prose .md-note h2,
.prose .md-note h3,
.prose .md-note h4,
.prose .md-note h5,
.prose .md-note h6 {
  margin: 1.4em 0 0.45em;
  max-width: none;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.prose .md-note h1 { margin-top: 0; font-size: 1.7em; }
.prose .md-note h2 { font-size: 1.35em; }
.prose .md-note h3 { font-size: 1.15em; font-weight: 500; }

.prose .md-note p,
.prose .md-note li {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.prose .md-note table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  font-size: 0.94em;
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
}

.prose .md-note th,
.prose .md-note td {
  border: 1px solid #e4e0d8;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.prose .md-note th {
  font-weight: 600;
  background: #f6f3ee;
}

.prose .md-note .md-token {
  padding: 0 0.15em;
  border-radius: 4px;
  background: #f6f3ee;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}

.prose .md-note .md-figure {
  display: grid;
  place-items: center;
  min-height: 9rem;
  margin: 0 0 1em;
  border-radius: 8px;
  background: #f6f3ee;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.md-source[hidden] { display: none !important; }

.md-copy {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 12px;
  background: #fff;
  color: var(--ink);
  font: 600 0.82rem/1.2 var(--sans);
  cursor: pointer;
}

.md-copy:hover { background: #f6f6f6; }

.blog-list { list-style: none; margin: 32px 0 0; padding: 0; }

.blog-list > li { border-top: 1px solid var(--line); }

.blog-list a { display: block; padding: 20px 0; text-decoration: none; }

.blog-list h2 { margin: 6px 0 0; font-size: 1.55rem; }

.blog-list p { margin: 8px 0 0; }

.blog-updates > li { padding: 22px 0 8px; }

.blog-updates h2 a { display: inline; padding: 0; text-decoration: none; }

.blog-updates .update-body { margin-top: 12px; }

.blog-updates .update-body ul { list-style: disc; margin: 0; }

.blog-meta {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 16px;
  width: var(--page);
  margin: 48px auto 0;
  padding: 22px 0 max(36px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.foot p { margin: 0; }

.foot-id {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.foot-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.foot-copy { font-size: 0.86rem; }

.foot-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
}

.foot nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
}

.foot nav p {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot a { color: var(--ink-soft); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  :root {
    --page: min(1120px, calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }

  .hero { padding-top: 72px; }

  .top {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .promises,
  .spread,
  .spread.reverse,
  .panel,
  .price-grid,
  .faq dl > div {
    grid-template-columns: 1fr;
  }

  .voices { margin-top: 96px; }

  .voices {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 72px max(16px, env(safe-area-inset-right, 0px)) 72px max(16px, env(safe-area-inset-left, 0px));
  }

  .voices-copy { text-align: center; }

  .voices-copy p { margin-inline: auto; }

  .voices-nav { align-items: center; }

  .voices-stage {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: 28px 16px 32px;
    border-radius: 16px 0 16px 0;
  }

  .voices-pane { width: 100%; }

  .voices h2 { max-width: none; margin-inline: auto; white-space: normal; }

  .row,
  .row-flip {
    grid-template-columns: 1fr;
    gap: 28px;
    width: var(--page);
    margin-top: 96px;
  }

  .row-flip .copy { order: 0; }

  .copy { text-align: center; }

  .copy ul { display: inline-block; text-align: left; }

  .art { padding: 24px 16px 28px; }

  .more, .compare-block { width: var(--page); }

  .more { margin-top: 104px; }

  .more-list { grid-template-columns: 1fr; gap: 22px; }

  .more-list li,
  .more-list li:has(.pro),
  .more-list li.more-right { grid-column: auto; }

  .spread.reverse .copy { order: 0; }

  .deck-pair { margin-top: -96px; margin-left: 12px; }

  .story { gap: 64px; margin-top: 64px; }

  .prices { margin-top: 152px; }

  .panel, .faq { margin-top: 104px; }

  .compare-block { margin-top: 48px; }

  .already { grid-column: auto; }

  .price-grid > article { padding: 24px 20px 22px; }

  .voices-nav label { min-width: 0; max-width: 100%; }
}

