:root {
  --paper: #e9e0d2;
  --sheet: #f7f1e6;
  --ink: #1c1612;
  --muted: #5e5348;
  --line: #d4c4b0;
  --thread: #9a3328;
  --thread-deep: #7c241c;
  --gold: #e6c9a2;
  --bronze: #8a6840;
  --clay: #f3e4d4;
  --danger: #7a2418;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, serif;
  --inscript: "Cinzel", "Palatino Linotype", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "DM Mono", "Cascadia Mono", ui-monospace, monospace;
  --shadow: 6px 6px 0 var(--thread);
  --content: 1120px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 22px;
  border-right: 1px solid rgba(138, 104, 64, 0.45);
  pointer-events: none;
  z-index: 30;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
.when {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

a {
  color: inherit;
}

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

::selection {
  background: #efd2c6;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--sheet);
  padding: 10px 14px;
  border-radius: 2px;
  z-index: 40;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow,
.kicker,
.mini,
.slip-label,
.step-no,
.nav-links a {
  font-family: var(--inscript);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.workspace-top,
.draft-top,
.compare p span,
.panel li span,
.day-list time {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--thread);
  transform: scaleX(0);
  transform-origin: left;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.site-footer strong {
  font-family: var(--inscript);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.meander {
  height: 18px;
  background-color: rgba(138, 104, 64, 0.08);
  animation: thread 16s linear infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='18' viewBox='0 0 72 18'%3E%3Cpath d='M0 15H14V3H8V11H20V3H34V15H48V3H42V11H54V3H68V15H72' fill='none' stroke='%238a6840' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 72px 18px;
}

.mark {
  width: 28px;
  height: 28px;
}

.mark path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 1.1s 0.25s ease forwards;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  text-decoration: none;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--thread);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--sheet);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 3px 3px 0 var(--thread);
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.15s ease,
    box-shadow 0.15s ease, background-color 0.15s ease;
}

.button:hover {
  background: #2a221c;
  translate: -1px -1px;
  box-shadow: 4px 4px 0 var(--thread);
}

.button:active {
  translate: 1px 1px;
  box-shadow: none;
}

.button.small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.95rem;
}

.button.full {
  width: 100%;
}

.hero {
  padding: 48px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 56px;
  align-items: end;
}

.eyebrow {
  color: var(--muted);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(3.15rem, 6.4vw, 5.35rem);
  line-height: 0.9;
  font-weight: 500;
}

h1 em {
  font-style: italic;
  font-weight: 500;
}

h1 .line {
  display: block;
  overflow: hidden;
  padding: 0 0.12em 0.08em 0;
  margin-bottom: -0.08em;
}

h1 .line > span {
  display: inline-block;
  animation: line-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1 .line:nth-child(1) > span { animation-delay: 0.12s; }
h1 .line:nth-child(2) > span { animation-delay: 0.26s; }

.lede {
  max-width: 38rem;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.15rem;
}

.slip,
.invoice,
.panel,
.question {
  background: var(--sheet);
}

.slip {
  margin-top: 32px;
  max-width: 460px;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.slip-label {
  font-family: var(--inscript);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.fields {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span,
.when-label {
  font-size: 0.92rem;
  font-weight: 550;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  border-radius: 2px;
  border: 1px solid #cbbba6;
  background: #fffaf3;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 0 14px;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 23px, calc(100% - 12px) 23px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.slip .button.full {
  margin-top: 14px;
}

.header-inner .button {
  flex-shrink: 0;
}

.fine {
  margin-top: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status {
  display: none;
  margin: 12px 0 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.field input:focus-visible,
.field select:focus-visible {
  outline-color: var(--thread);
  border-color: var(--thread);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--danger);
  box-shadow: inset 3px 0 0 var(--danger);
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.slip[data-state="error"] .form-status {
  display: block;
  color: var(--danger);
  font-weight: 550;
  animation: shake 0.4s ease;
}

.slip[data-state="done"] .fields,
.slip[data-state="done"] .button.full,
.slip[data-state="done"] .fine {
  display: none;
}

.slip[data-state="done"] .form-status {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  animation: rise 0.55s ease;
}

.reset {
  display: none;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.slip[data-state="done"] .reset {
  display: inline;
}

.workspace {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 30px 70px rgba(28, 25, 21, 0.08);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.workspace-top,
.draft-top,
.days,
.draft-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.workspace-top {
  color: var(--muted);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -5px -8px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: none;
  color: var(--ink);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.live:hover {
  border-color: var(--line);
}

.workspace.is-paused .live {
  color: var(--muted);
}

.workspace.is-paused .live i {
  background: #a2968a;
  animation: none;
}

.workspace.is-paused .plan-list,
.workspace.is-paused .draft p {
  opacity: 0.5;
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f7d4a;
  box-shadow: 0 0 0 0 rgba(47, 125, 74, 0.6);
  animation: pulse 2.2s infinite;
}

.workspace h2 {
  margin: 18px 0 12px;
  font-size: 2rem;
}

.days {
  position: relative;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.days-indicator {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 2px;
  background: var(--thread);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.4s cubic-bezier(0.3, 1.3, 0.4, 1), width 0.3s ease;
  pointer-events: none;
}

.days button {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease;
}

.days button:hover {
  border-color: var(--thread);
  transform: translateY(-1px);
}

.days button:focus-visible {
  outline: 2px solid var(--thread);
  outline-offset: 2px;
}

.days button[aria-selected="true"] {
  background: var(--thread);
  color: var(--sheet);
  border-color: var(--thread);
}

.days:has(.days-indicator) button[aria-selected="true"] {
  background: transparent;
  transform: none;
}

.days button.is-now::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  background: var(--thread);
  transform: rotate(45deg);
}

.days button.is-now[aria-selected="true"]::after {
  background: var(--sheet);
}

.plan-list,
.draft p {
  transition: opacity 0.25s ease;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.plan-list li:has(.plan-item) {
  display: block;
}

.plan-list li.is-entering {
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.plan-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
}

.plan-item strong {
  display: block;
  transition: color 0.2s ease;
}

.plan-item:hover strong,
.plan-item[aria-expanded="true"] strong {
  color: var(--thread);
}

.plan-note {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 2px;
}

.plan-source {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 10px;
  border-left: 2px solid var(--thread);
  color: var(--bronze);
  font-size: 0.86rem;
  line-height: 1.4;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
}

.plan-item[aria-expanded="true"] .plan-source {
  max-height: 6em;
  opacity: 1;
  margin-top: 8px;
}

.plan-meta .count {
  display: inline-block;
  min-width: 1.2em;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tag {
  margin-top: 2px;
  border-radius: 2px;
  padding: 4px 8px;
  background: var(--clay);
  font-size: 0.75rem;
  font-weight: 600;
}

.tag.hold {
  background: #e4eee6;
}

.plan-list p,
.draft p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 2px;
}

.draft {
  margin-top: 14px;
  background: var(--ink);
  color: #f6f1e7;
  border-radius: 4px;
  padding: 16px;
}

.draft-top span:first-child {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.draft-top span:last-child {
  font-variant-numeric: tabular-nums;
}

.draft p {
  color: #ddd6c8;
  margin: 10px 0 14px;
  min-height: 4.5em;
}

.draft p.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--gold);
  animation: blink 0.8s steps(1) infinite;
}

.draft p[contenteditable] {
  color: #fffaf3;
  outline: 1px dashed rgba(230, 201, 162, 0.7);
  outline-offset: 6px;
}

.draft {
  transition: box-shadow 0.3s ease;
}

.workspace[data-draft-state="approved"] .draft {
  box-shadow: inset 3px 0 0 var(--gold);
}

.workspace[data-draft-state="approved"] [data-draft-status] {
  color: #b9d7bf;
}

.draft.is-stamped {
  animation: stamp 0.5s ease;
}

.draft-actions button {
  border: 1px solid rgba(246, 241, 231, 0.3);
  border-radius: 2px;
  padding: 6px 12px;
  background: transparent;
  color: #f6f1e7;
  font-size: 0.82rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.draft-actions button:first-child {
  background: var(--sheet);
  color: var(--ink);
  border-color: var(--sheet);
}

.draft-actions button:hover:not(:disabled) {
  border-color: var(--gold);
}

.draft-actions button:first-child:hover:not(:disabled) {
  background: var(--gold);
}

.draft-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.draft-actions button:focus-visible,
.draft p:focus-visible {
  outline-color: var(--gold);
}

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

.section-intro {
  max-width: 40rem;
  margin-bottom: 36px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--thread);
  transform-origin: left;
  transition: transform 0.8s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.js .reveal:not(.is-in) .kicker::before {
  transform: scaleX(0);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-intro .lede {
  margin-top: 16px;
  font-size: 1.08rem;
}

.compare {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.compare-head,
.compare article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.compare-head {
  padding: 12px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.compare article p:last-child {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  transition: color 0.25s ease, translate 0.25s ease;
}

.compare article p:first-child {
  text-decoration: line-through;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.compare article:hover p:first-child {
  color: var(--muted);
  text-decoration-color: var(--thread);
}

.compare article:hover p:last-child {
  color: var(--thread);
  translate: 4px 0;
}

.compare p span {
  display: none;
  color: var(--muted);
  margin-bottom: 6px;
}

.product-grid,
.steps,
.questions {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: 1fr 1fr;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
}

.panel.dark {
  background: var(--ink);
  color: #f6f1e7;
  border-color: var(--ink);
}

.panel h3 {
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}

.panel .mini {
  color: var(--muted);
}

.panel.dark .mini {
  color: var(--gold);
}

.panel ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
}

.panel li span {
  color: var(--muted);
}

.panel.dark li span {
  color: var(--gold);
}

.trust {
  margin-top: 18px;
  max-width: 46rem;
  color: var(--muted);
}

.day-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.day-list::before,
.day-list::after {
  content: "";
  position: absolute;
  left: 5px;
  top: var(--line-top, 35px);
  height: var(--line-height, 0px);
  width: 1px;
  background: var(--line);
}

.day-list::after {
  background: var(--thread);
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
}

.day-list li {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 22px 0 22px 32px;
  border-top: 1px solid var(--line);
}

.day-list li::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 30px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--bronze);
  background: var(--paper);
  transform: rotate(45deg);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.day-list li.is-active::before {
  background: var(--thread);
  border-color: var(--thread);
  transform: rotate(45deg) scale(1.2);
}

.day-list time {
  color: var(--muted);
  padding-top: 6px;
  transition: color 0.3s ease;
}

.day-list li.is-active time {
  color: var(--thread);
}

.day-list h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.day-list p {
  margin-top: 4px;
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
}

.step {
  padding-right: 18px;
}

.step-no {
  color: var(--muted);
}

.step h3 {
  margin: 8px 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.step p {
  color: var(--muted);
}

.invoice {
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.invoice-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1.6fr;
  gap: 18px;
  padding: 26px 28px;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background-color 0.25s ease;
}

.invoice-row:not(.due):hover {
  background: #fbf6ee;
}

.invoice-row:first-child {
  border-top: 0;
}

.invoice-row dt {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.when {
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.invoice-row dd {
  margin: 0;
}

.invoice-row .detail {
  color: var(--muted);
}

.invoice-row.due {
  background: var(--clay);
  box-shadow: inset 3px 0 0 var(--thread);
}

.invoice-row ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.questions {
  gap: 10px;
}

.question {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 18px;
}

.question {
  transition: border-color 0.25s ease;
}

.question:hover,
.question[open] {
  border-color: var(--bronze);
}

.question summary {
  cursor: pointer;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
}

.question summary::-webkit-details-marker {
  display: none;
}

.question summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  color: var(--thread);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.question[open]:not(.is-closing) summary::after {
  transform: rotate(45deg);
}

.question p {
  color: var(--muted);
  padding-bottom: 16px;
  max-width: 46rem;
}

.waitlist-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.waitlist-grid .slip {
  margin-top: 0;
  max-width: none;
}

.pair {
  grid-template-columns: 1fr 1fr;
}

.site-footer {
  border-top: 1px solid var(--ink);
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-note {
  color: var(--muted);
  margin-top: 6px;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(47, 125, 74, 0);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .product-grid,
  .steps,
  .waitlist-grid,
  .invoice-row,
  .pair {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .workspace {
    order: 2;
  }

  .nav-links {
    display: none;
  }

  .invoice-row .when {
    font-size: 1.6rem;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--content), calc(100% - 32px));
  }

  body::before {
    display: none;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .compare-head {
    display: none;
  }

  .compare article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .compare p span {
    display: block;
  }

  .day-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .section {
    padding: 64px 0;
  }
}

.hero-copy > * {
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }

.hero-copy > h1 {
  animation: none;
}

.workspace {
  animation: rise 0.95s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

html.has-cursor,
html.has-cursor * {
  cursor: none !important;
}

html.has-cursor :is(input, textarea, [contenteditable]) {
  cursor: text !important;
}

html.has-cursor select {
  cursor: default !important;
}

.cursor {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.cursor-ring,
.cursor-dot {
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.2s ease;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid var(--thread);
  border-radius: 50%;
  transition: opacity 0.2s ease, border-radius 0.25s ease, background-color 0.25s ease, scale 0.15s ease;
}

.cursor-dot::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--thread);
  transition: scale 0.2s ease;
}

.cursor[data-mode="link"] .cursor-ring {
  background: rgba(154, 51, 40, 0.08);
}

.cursor[data-mode="snap"] .cursor-ring {
  border-radius: 3px;
  background: rgba(154, 51, 40, 0.05);
}

.cursor[data-mode="snap"] .cursor-dot::before {
  scale: 0.6;
}

.cursor.is-down .cursor-ring {
  scale: 0.9;
}

.cursor.is-hidden > *,
.cursor[data-mode="text"] > * {
  opacity: 0;
}

.cursor-label {
  position: absolute;
  left: 14px;
  top: 12px;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--sheet);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--thread);
  opacity: 0;
  translate: -4px 0;
  transition: opacity 0.2s ease, translate 0.2s ease;
}

.cursor.has-label .cursor-label {
  opacity: 1;
  translate: 0 0;
}

.cursor-ripple {
  position: fixed;
  z-index: 99;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 1px solid var(--thread);
  border-radius: 50%;
  pointer-events: none;
  animation: ripple 0.6s ease-out forwards;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

html.js .reveal .compare article,
html.js .reveal .day-list li,
html.js .reveal .panel,
html.js .reveal .step,
html.js .reveal .question {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js .reveal.is-in .compare article,
html.js .reveal.is-in .day-list li,
html.js .reveal.is-in .panel,
html.js .reveal.is-in .step,
html.js .reveal.is-in .question {
  opacity: 1;
  transform: none;
}

html.js .reveal.is-in .compare article:nth-child(2),
html.js .reveal.is-in .day-list li:nth-child(2),
html.js .reveal.is-in .panel:nth-child(2),
html.js .reveal.is-in .step:nth-child(2),
html.js .reveal.is-in .question:nth-child(2) {
  transition-delay: 0.08s;
}

html.js .reveal.is-in .compare article:nth-child(3),
html.js .reveal.is-in .day-list li:nth-child(3),
html.js .reveal.is-in .step:nth-child(3),
html.js .reveal.is-in .question:nth-child(3) {
  transition-delay: 0.16s;
}

html.js .reveal.is-in .question:nth-child(4) { transition-delay: 0.24s; }
html.js .reveal.is-in .question:nth-child(5) { transition-delay: 0.32s; }

.panel {
  transition: transform 0.35s ease;
}

.panel:hover,
html.js .reveal.is-in .panel:hover {
  transform: translateY(-4px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes line-up {
  from {
    transform: translateY(105%);
  }
  to {
    transform: none;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes stamp {
  0% { transform: none; }
  35% { transform: scale(0.985); }
  100% { transform: none; }
}

@keyframes ripple {
  to {
    transform: scale(5);
    opacity: 0;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes thread {
  from {
    background-position: 0 center;
  }
  to {
    background-position: 72px center;
  }
}

@keyframes shake {
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .button:hover,
  .button:active,
  .compare article:hover p:last-child {
    translate: none;
  }

  .workspace {
    transform: none;
  }
}
