:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #1b211f;
  --muted: #535d55;
  --line: #cfcfc4;
  --violet: #7041af;
  --lime: #deef9c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #9758e2;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1240px, 90%);
  margin: auto;
}
.top {
  border-bottom: 1px solid var(--line);
}
.nav,
.foot,
.foot > div,
.nav nav,
.actions,
.under,
.monthbar,
.filters,
.licensehead,
.demohead,
.codehead,
.tabs {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav {
  height: 76px;
  justify-content: space-between;
}
.nav nav {
  gap: 32px;
}
.nav a,
.foot a,
.workflow-nav a {
  text-decoration: none;
}
.nav nav a,
.foot a {
  font-size: 14px;
  font-weight: 600;
}
.brand,
.foot .brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.brand span {
  color: var(--violet);
  margin-left: -7px;
}
.brand i {
  display: inline-block;
  width: 27px;
  height: 29px;
  background: #8554c6;
  clip-path: polygon(
    4% 5%,
    65% 5%,
    44% 39%,
    96% 39%,
    35% 100%,
    49% 58%,
    0% 58%
  );
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
  padding: 13px 22px;
  border-radius: 999px;
  line-height: 1.25;
}
.button.dark {
  background: var(--ink);
  color: white;
}
.button.dark:hover {
  background: #414740;
}
.button.outline {
  background: transparent;
  border-color: var(--line);
}
.button.small {
  padding: 11px 16px;
  font-size: 13px;
}
.textlink {
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.kicker,
.mono,
.fine,
.coverhead,
.coverfoot,
.covertext small,
.sampletag,
.licensehead span,
.codehead,
.event small,
.pill {
  font-family: var(--mono);
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.05em;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: #87a84f;
}
.hero {
  background:
    radial-gradient(ellipse at 80% 43%, #e3dce9 0, transparent 44%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  min-height: 575px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 4%;
  padding: 60px 0 50px;
}
.hero h1,
.section h2,
.closing h2,
.pagetitle {
  font-weight: 550;
  letter-spacing: -0.069em;
  line-height: 0.97;
  margin: 0;
}
.hero h1 {
  font-size: clamp(55px, 6.3vw, 96px);
}
h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.061em;
  color: var(--violet);
}
.lede,
.sectionhead > p,
.split > div > p:not(.kicker),
.study p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.lede {
  max-width: 480px;
  margin: 23px 0 26px;
}
.fine,
.mono {
  font-size: 12px;
  color: var(--muted);
}
.fine {
  margin: 14px 0;
}
.hero-art {
  position: relative;
  height: 420px;
  isolation: isolate;
}
.art-disc {
  position: absolute;
  left: 12%;
  top: 4%;
  width: 75%;
  aspect-ratio: 1;
  border: 1px dashed #b4a7c2;
  border-radius: 50%;
  rotate: -12deg;
}
.cover,
.editor-shot,
.swatches i {
  background-color: #3c5b50;
  background-size: cover;
  background-position: center;
}
.alpine {
  background-image:
    linear-gradient(0deg, #101c2bd1, transparent 65%),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=750&q=82");
}
.forest {
  background-image:
    linear-gradient(0deg, #0c2b24c7, transparent 67%),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=700&q=80");
}
.coast {
  background-image:
    linear-gradient(0deg, #251927a6, transparent 68%),
    url("https://images.unsplash.com/photo-1473116763249-2faaef81ccda?auto=format&fit=crop&w=700&q=80");
}
.cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: white;
  text-align: left;
  padding: 15px;
  border-radius: 7px;
}
.coverhead,
.coverfoot {
  font-size: 9px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.coverhead {
  font-weight: 700;
  text-shadow: 0 1px 5px #000;
}
.covertext {
  margin: auto 0 12%;
  max-width: 95%;
}
.covertext small {
  font-size: 9px;
  letter-spacing: 0.09em;
  display: block;
  margin-bottom: 8px;
}
.covertext strong {
  font: italic 44px/0.91 var(--serif);
  letter-spacing: -0.055em;
}
.coverfoot {
  border-top: 1px solid #fff8;
  padding-top: 7px;
}
.hero-art .cover {
  position: absolute;
  top: 10%;
  width: 42%;
  height: 77%;
  border: 5px solid #fff9ed;
  box-shadow: 0 10px 25px #332b3624;
}
.hero-art .front {
  left: 29%;
  top: 5%;
  rotate: 3deg;
  z-index: 3;
}
.hero-art .back-left {
  left: 5%;
  rotate: -14deg;
}
.hero-art .back-right {
  right: 3%;
  rotate: 16deg;
}
.hero-art .front .covertext strong {
  font-size: clamp(43px, 4vw, 66px);
}
.sampletag {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fffcf5;
  font-size: 11px;
  white-space: nowrap;
  padding: 6px 12px;
}
.sampletag .dot {
  margin-right: 5px;
}
.workflow-nav {
  border-block: 1px solid var(--line);
}
.workflow-nav .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.workflow-nav a {
  display: flex;
  justify-content: space-between;
  padding: 20px 18px;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid var(--line);
}
.workflow-nav a:first-child {
  padding-left: 0;
}
.workflow-nav a:last-child {
  border: 0;
}
.workflow-nav span {
  color: var(--violet);
}
.section {
  padding-block: 88px;
}
.sectionhead,
.study,
.split,
.workspace-grid,
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
}
.sectionhead {
  margin-bottom: 34px;
}
.sectionhead > p {
  max-width: 460px;
  justify-self: end;
}
.section h2,
.closing h2 {
  font-size: clamp(44px, 4.6vw, 71px);
}
.section h3 {
  font-size: 25px;
  font-weight: 590;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.examples,
.workcards,
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.example {
  appearance: none;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--ink);
}
.example .cover {
  height: 270px;
  padding: 20px;
}
.example > span {
  display: flex;
  justify-content: space-between;
  padding: 12px 2px;
  border-bottom: 2px solid var(--line);
  font-weight: 600;
}
.example.active > span {
  border-color: var(--violet);
  color: var(--violet);
}
.study {
  border-bottom: 1px solid var(--line);
  margin-top: 38px;
  padding: 18px 0 28px;
}
.study h3,
.study .kicker {
  margin: 6px 0;
}
.study p {
  margin: 7px 0;
}
.make {
  background: #eae6f0;
}
.workcard,
.panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.workcard p,
.facts p,
.installation > p {
  color: var(--muted);
}
.workcard h3 {
  margin: 22px 0 10px;
}
.editor-shot {
  height: 170px;
  display: grid;
  place-items: center;
  padding: 15px;
  border-radius: 6px;
}
.editor-shot span {
  color: white;
  text-shadow: 0 1px 4px #141414;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}
.editor label,
.panel label,
.postform label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 15px 0 5px;
}
input:not([type="hidden"]),
textarea,
select {
  border: 1px solid #a6aba1;
  border-radius: 6px;
  background: #fffefa;
  color: var(--ink);
  width: 100%;
  padding: 10px;
}
.swatches {
  height: 105px;
  display: flex;
  gap: 6px;
}
.swatches i {
  width: 33%;
  border-radius: 5px;
}
.brief {
  background: #272c28;
  color: white;
}
.brief p {
  color: #e0e5db;
}
.brief blockquote,
.agentsection blockquote {
  font: italic 26px/1.25 var(--serif);
  margin: 22px 0;
}
.under {
  justify-content: space-between;
  margin-top: 18px;
}
.agentsection {
  background: #242925;
  color: #f5f3e9;
}
.agentsection em {
  color: #ccaff3;
}
.agentsection .split > div > p:not(.kicker) {
  color: #d1d8d0;
}
.agentsection blockquote {
  color: var(--lime);
}
.installation {
  min-width: 0;
  background: #171c19;
  border-radius: 14px;
  padding: 23px;
  color: #f3f6ed;
}
.installation .tabs {
  gap: 6px;
  margin-bottom: 20px;
}
.tabs button,
.copy {
  border: 1px solid #5c655d;
  color: #dae1d6;
  background: none;
  border-radius: 6px;
  padding: 6px 11px;
  font-size: 13px;
}
.tabs .active {
  background: var(--lime);
  color: #20251f;
  border-color: var(--lime);
}
.codehead {
  font-size: 11px;
  justify-content: space-between;
}
.codehead button {
  font-family: var(--sans);
}
pre {
  font: 12px/1.65 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #dfedcb;
}
.installation > p {
  font-size: 13px;
  color: #c3cabc;
}
.facts > div {
  border-top: 1px solid var(--line);
}
.pricing {
  background: #dfedb4;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 22px;
}
.tiers > div {
  border: 1px solid #adb695;
  border-radius: 7px;
  padding: 10px;
}
.tiers small,
.licensecard > small {
  display: block;
}
.tiers .current {
  background: #2a3127;
  color: white;
}
.licensecard {
  border: 1px solid #9ca68d;
  background: #fffef6;
  border-radius: 15px;
  padding: 32px;
}
.licensehead {
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 18px;
}
.licensehead span {
  font-size: 11px;
}
.price {
  font-size: 70px;
  letter-spacing: -0.065em;
  line-height: 1.05;
  margin: 25px 0 0;
}
.price small {
  font-size: 20px;
  letter-spacing: -0.03em;
  vertical-align: super;
  margin-right: 3px;
}
.licensecard ul {
  padding: 0;
  list-style: none;
}
.licensecard li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.licensecard li:before {
  content: "✓";
  color: var(--violet);
  margin-right: 10px;
}
.licensecard .button {
  width: 100%;
  margin: 12px 0;
}
.licensecard > small {
  text-align: center;
  color: var(--muted);
}
.faq {
  align-items: start;
}
.faq details,
.manage {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary,
.manage summary {
  font-weight: 650;
  cursor: pointer;
}
.closing {
  padding: 55px 0;
  background: #ded3ec;
  text-align: center;
}
.closing .kicker {
  justify-content: center;
}
.closing .button {
  margin-top: 22px;
}
.foot {
  justify-content: space-between;
  padding-block: 28px;
}
.pagetitle {
  font-size: clamp(46px, 6vw, 78px);
}
.workspace-grid {
  gap: 16px;
  align-items: stretch;
  margin: 35px 0;
}
.panel h2,
.monthbar h2,
.postform h2,
.inset h2 {
  font-size: 34px;
  margin: 12px 0;
}
.panel form {
  margin: 16px 0;
}
.pill,
.notice {
  font-size: 13px;
  padding: 7px 12px;
  background: #e0ebc9;
  border-radius: 6px;
}
.notice {
  margin-top: 15px;
}
.inset,
.monthbar {
  margin-top: 45px;
}
.planner .actions {
  margin-top: 18px;
  flex-wrap: wrap;
}
.monthbar,
.manage form {
  justify-content: space-between;
}
.monthbar .actions {
  margin: 0;
}
.filters {
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
}
.filters a {
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
}
.filters .active {
  background: var(--ink);
  color: white;
}
.manage {
  margin: 25px 0;
}
.manage form {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.postform {
  max-width: 680px;
}
.postform .button {
  margin-top: 18px;
}
.postform ol {
  font: 12px var(--mono);
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .hero-grid {
    gap: 0;
    min-height: 465px;
  }
  .hero-art {
    height: 320px;
  }
  .covertext strong {
    font-size: 34px;
  }
  .hero-art .front .covertext strong {
    font-size: 39px;
  }
  .example .cover {
    height: 225px;
  }
  .workcard {
    padding: 15px;
  }
  .section {
    padding-block: 65px;
  }
  .split,
  .sectionhead,
  .faq {
    gap: 5%;
  }
  .actions {
    gap: 11px;
  }
  .workflow-nav a {
    font-size: 12px;
    padding: 14px 8px;
  }

  .foot > div {
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: 91%;
  }
  .nav {
    height: 60px;
  }
  .nav nav {
    display: none;
  }
  .nav .brand {
    font-size: 22px;
  }
  .hero-grid,
  .sectionhead,
  .split,
  .faq,
  .study,
  .workspace-grid,
  .workcards,
  .facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-grid {
    padding: 36px 0 23px;
  }
  .hero h1 {
    font-size: clamp(47px, 12vw, 72px);
  }
  .hero-art {
    height: 300px;
    width: min(100%, 430px);
    margin: auto;
  }
  .hero-art .cover {
    width: 35%;
    height: 84%;
    top: 4%;
  }
  .hero-art .front {
    left: 32%;
    top: 0;
  }
  .hero-art .back-left {
    left: 12%;
  }
  .hero-art .back-right {
    right: 12%;
  }
  .hero-art .covertext strong {
    font-size: 36px;
  }
  .hero-art .coverhead,
  .hero-art .coverfoot {
    font-size: 7px;
  }
  .hero-art .cover {
    padding: 10px;
  }
  .lede,
  .sectionhead > p,
  .split > div > p:not(.kicker) {
    font-size: 16px;
  }
  .lede {
    margin: 16px 0;
  }
  .kicker {
    margin-bottom: 13px;
  }
  .fine {
    font-size: 10px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .hero .button {
    padding: 12px 16px;
  }
  .workflow-nav .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .workflow-nav a {
    padding: 11px 9px;
    border: 0;
  }
  .workflow-nav a:first-child {
    padding-left: 9px;
  }
  .section {
    padding-block: 48px;
  }
  .sectionhead > p {
    justify-self: start;
    margin: 0;
  }
  .sectionhead {
    margin-bottom: 22px;
  }
  .examples {
    gap: 7px;
  }
  .example .cover {
    height: 155px;
    padding: 8px;
  }
  .example .covertext strong {
    font-size: 24px;
  }
  .example .coverhead {
    font-size: 6px;
  }
  .example .covertext small,
  .example .coverfoot {
    display: none;
  }
  .example .covertext {
    margin: auto 0 10%;
  }
  .example > span {
    font-size: 11px;
    align-items: center;
  }
  .study {
    margin-top: 20px;
  }
  .swatches {
    height: 110px;
  }

  .under,
  .foot {
    flex-wrap: wrap;
    gap: 10px;
  }
  .facts {
    gap: 0;
  }
  .facts h3 {
    margin-bottom: 8px;
  }
  .facts p {
    margin-top: 0;
  }
  .licensecard {
    padding: 22px;
  }
  .tiers {
    margin-bottom: 8px;
  }
  .foot > div {
    gap: 12px;
  }
  .foot a {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.maker-note {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}
.maker-note p:last-child {
  max-width: 760px;
  font: italic 26px/1.35 var(--serif);
}

/* The month is an overview. Post details live in the dialog at every size. */
.planner { padding-block: 32px 52px; }
.planner .pagetitle { font-size: clamp(36px, 4vw, 54px); }
.planner .kicker { margin-bottom: 8px; }
.planner-grid {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  padding: 14px;
  color: var(--ink);
}
.period-bar, .period-tools, .view-switch, .date-switch, .day-signals,
.post-dialog header { display: flex; align-items: center; }
.period-bar, .post-dialog header { justify-content: space-between; gap: 12px; }
.period-bar h2, .post-dialog h2 {
  margin: 2px 0;
  font: 650 22px/1.2 var(--sans);
  letter-spacing: -.035em;
}
.period-bar small, .period-day .quiet { font-size: 12px; color: var(--muted); }
.period-tools { gap: 12px; flex-wrap: wrap; }
.view-switch, .date-switch { gap: 2px; }
.view-switch { background: #f1efe8; border-radius: 7px; padding: 2px; }
.view-switch a, .date-switch a, .day-label, .post-dialog header button {
  text-decoration: none; border: 0; color: var(--ink); background: transparent;
  padding: 5px 9px; font-size: 13px; border-radius: 5px;
}
.view-switch [aria-current="page"] { color: white; background: var(--ink); }
.date-switch a:hover, .day-label:hover, .post-dialog header button:hover { background: #ede9f2; }
.planner-grid .filters { margin: 9px 0; gap: 5px; }
.planner-grid .filters a { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; font-size: 12px; }
.account-mark { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--hue) 66% 39%); flex: none; }
.month-cells { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.weekday { text-align: left; background: #efeee6; font: 11px/1.4 var(--mono); padding: 3px 5px; }
.month-day, .month-blank { height: 36px; background: #fffdf8; }
.month-day {
  display: flex; align-items: center; justify-content: space-between; gap: 2px;
  padding: 2px 6px; color: var(--ink); font-size: 13px; border: 0; min-width: 0;
}
.month-day:hover, .month-day:focus-visible { background: #ede8f5; }
.month-day[aria-current="date"] > span:first-child { text-decoration: underline 2px var(--violet); text-underline-offset: 3px; }
.month-blank { background: #f4f1e9; }
.day-signals { gap: 2px; }
.day-signals b { font: 10px var(--mono); }
.period-list { border-top: 1px solid var(--line); }
.period-day { display: grid; grid-template-columns: 66px minmax(0,1fr); align-items: start; border-bottom: 1px solid var(--line); padding: 3px 0; }
.day-label { text-align: left; font-weight: 600; }
.period-posts { min-width: 0; display: grid; gap: 3px; }
.period-day .quiet { padding: 4px 8px; }
.post-line, .post-detail { border: 0; border-left: 3px solid hsl(var(--hue) 66% 39%); background: hsl(var(--hue) 43% 95%); color: var(--ink); }
.post-line { display: grid; grid-template-columns: 43px minmax(0,1fr) auto; gap: 7px; align-items: center; text-align: left; border-radius: 4px; padding: 4px 8px; font-size: 13px; }
.post-line b, .post-line span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.post-line time, .post-line span { font-size: 11px; }
.post-line:hover { background: hsl(var(--hue) 48% 90%); }
.post-dialog { width: min(440px, 92vw); max-height: 78vh; overflow-y: auto; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); }
.post-dialog::backdrop { background: #14192280; }
.post-dialog header button { border: 1px solid var(--line); }
.post-detail { margin-top: 12px; padding: 9px 12px; border-radius: 5px; overflow-wrap: anywhere; }
.post-detail small { font: 11px/1.4 var(--mono); }
.post-detail h3 { margin: 4px 0; font-size: 20px; }
.post-detail p { font-size: 13px; margin: 3px 0; }
.post-detail .account-mark { margin-right: 5px; }
@media (max-width: 650px) {
  .planner-grid { padding: 9px; }
  .period-bar { align-items: flex-start; flex-wrap: wrap; gap: 5px; }
  .period-bar h2, .post-dialog h2 { font-size: 19px; }
  .period-tools { gap: 8px; }
  .month-day { height: 33px; padding: 1px 3px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 1.1; }
  .month-blank { height: 33px; }
  .day-signals .account-mark { width: 4px; height: 4px; }
  .day-signals b { font-size: 8px; }
  .post-line { grid-template-columns: 34px minmax(0,1fr); gap: 0 4px; }
  .post-line span { grid-column: 2; }
}

/* Landing page demonstrations */
.workflow-demo, .library-split {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 6%; align-items: center;
  padding-block: 32px; border-bottom: 1px solid var(--line);
}
.workflow-demo h2, .plan-lab h3 { margin: 0; font-size: clamp(25px, 3vw, 40px); line-height: 1.05; letter-spacing: -.05em; }
.workflow-demo .kicker, .lab-head .kicker, .story-card .kicker { margin-bottom: 9px; }
.workflow-demo [data-pane] { min-height: 3em; margin: 12px 0 0; }
.demo-options, .draft-tray { display: flex; gap: 5px; flex-wrap: wrap; }
.demo-options button, .draft-tray button {
  border: 1px solid #a9b1a5; border-radius: 20px; padding: 5px 11px;
  font-size: 13px; background: transparent; color: inherit;
}
.demo-options [aria-pressed=true], .draft-tray [aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.reference-search, .lab-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.reference-search { margin-bottom: 16px; }
.reference-search label, .comparison label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.reference-search input, .editor select { border-radius: 6px; border: 1px solid var(--line); padding: 6px 9px; background: #fffdf7; color: var(--ink); max-width: 100%; }
.section.research { padding-top: 0; }
.story-cards, .creative-pair, .delivery-grid { display: grid; gap: 14px; }
.story-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.creative-pair, .delivery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.creative-pair { margin-bottom: 16px; }
.story-card, .plan-lab {
  border: 1px solid var(--line); border-radius: 12px; padding: clamp(16px,2vw,27px);
  background: #fffdf7; min-width: 0;
}
.story-card h3, .workcard h3, .library-split h3 { margin: 0 0 13px; font-size: 23px; line-height: 1.13; letter-spacing: -.04em; }
.story-card p:last-child { margin-bottom: 0; color: var(--muted); }
.story-card blockquote { font: italic clamp(21px,2.5vw,32px)/1.15 var(--serif); margin: 18px 0; }
.mini-chart { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font: 12px/1.4 var(--mono); }
.mini-chart i { background: #9a79bc; width: var(--bar); height: 9px; border-radius: 3px; }
.comment-sample { display: grid; gap: 6px; padding: 13px; background: #efeee3; border-radius: 8px; }
.comment-sample span { font: 11px/1.4 var(--mono); color: var(--muted); }
.compare-photo { height: 152px; position: relative; overflow: hidden; border-radius: 7px; margin-bottom: 9px; }
.compare-photo, .compare-photo > div, .pin-picks button { background-size: cover; background-position: center; }
.compare-photo > div { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--reveal,50%)) 0 0); }
.compare-photo::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--reveal,50%); width: 2px; background: white; }
.compare-photo span { position: absolute; bottom: 8px; background: #1b211fe6; color: white; padding: 3px 7px; border-radius: 3px; font: 10px var(--mono); }
.compare-photo span:first-of-type { left: 8px; }
.compare-photo span:last-of-type { right: 8px; }
.comparison label input { flex: 1; min-width: 80px; }
.editor-shot { position: relative; overflow: hidden; }
.editor-shot #overlay { position: absolute; top: var(--position,54%); transform: translateY(-50%); left: 6%; right: 6%; color: var(--ink,#fff); }
.editor-shot { --ink: #fff; }
.editor-shot[data-style=outline] #overlay { text-shadow: -1px -1px #171717,1px -1px #171717,-1px 1px #171717,1px 1px #171717; }
.editor-shot[data-style=shadow] #overlay { text-shadow: 1px 3px 3px #101010; }
.editor-shot[data-style=plain] #overlay { text-shadow: none; }
.editor-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.editor-controls label { margin: 7px 0 0; font-size: 12px; }
.editor-controls input, .editor-controls select { display: block; padding: 2px; }
.editor-controls input[type=color] { width: 46px; height: 29px; }
.editor-controls input[type=range] { width: 90px; }
.workcard .editor-shot + h3, .pin h3 { margin-top: 14px; }
.pin-picks { display: flex; gap: 5px; margin-bottom: 6px; }
.pin-picks button { position: relative; flex: 1; height: 115px; border: 0; border-radius: 5px; }
.pin-picks span { display: none; position: absolute; bottom: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; color: var(--ink); background: var(--lime); font: 14px/20px var(--sans); }
.pin-picks [aria-pressed=true] span { display: block; }
.plan-lab { background: #efede4; }
.board-week { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; margin-top: 12px; }
.board-week button { min-height: 62px; background: #fffdf7; border: 1px dashed #abb2a5; color: var(--ink); border-radius: 5px; display: flex; flex-direction: column; align-items: start; gap: 7px; padding: 6px; text-align: start; }
.board-week b { font: 11px var(--mono); }
.board-week span { font-size: 12px; overflow-wrap: anywhere; line-height: 1.15; }
.board-week .filled { background: #e5dcf3; border: 1px solid #b8a4cc; }
.sr-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.status-track { display: flex; align-items: center; gap: 5px; font: 11px var(--mono); flex-wrap: wrap; }
.status-track span { background: #e8eddf; border-radius: 4px; padding: 4px 7px; }
.agent-install { margin-top: 60px; border-top: 1px solid #515c52; padding-top: 50px; }
.terminal { min-width: 0; border: 1px solid #59655e; background: #111714; border-radius: 14px; overflow: hidden; }
.terminal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #303a33; padding: 12px 18px; color: #faf7eb; }
.terminal-head span, .transcript small { color: #c7d8b7; font: 11px var(--mono); }
.terminal .demo-options { margin: 14px 18px 0; }
.terminal .demo-options button { color: #e6e9e2; border-color: #58685c; }
.terminal .demo-options [aria-pressed=true] { background: var(--lime); color: var(--ink); }
.transcript { padding: 16px 18px; min-height: 205px; }
.transcript small, .transcript code { display: block; }
.transcript p, .transcript code { margin: 4px 0 14px; color: #f7f8ed; overflow-wrap: anywhere; }
.transcript code { color: #ddc7fa; font-size: 13px; }
.library-split { padding: 22px; border: 1px solid var(--line); background: #efeee4; border-radius: 12px; margin-bottom: 20px; }
.library-split pre { color: var(--ink); margin: 0; font: 13px/1.6 var(--mono); overflow-x: auto; }
.closing-posts { display: flex; gap: 8px; width: min(480px,100%); margin: 20px auto; }
.closing-posts .cover { flex: 1; height: 140px; min-width: 0; padding: 8px; }
.closing-posts .covertext strong { font-size: 25px; }
.closing-posts .coverfoot, .closing-posts .covertext small { display: none; }
@media (max-width:750px) {
  .workflow-demo, .library-split, .story-cards, .creative-pair, .delivery-grid { grid-template-columns: 1fr; gap: 12px; }
  .workflow-demo { padding-block: 20px; }
  .workflow-demo [data-pane] { min-height: 0; }
  .board-week { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .board-week button { min-height: 48px; }
  .agent-install { margin-top: 30px; padding-top: 25px; }
  .reference-search label { display: grid; }
  .closing-posts .cover { height: 104px; }
}

.phone-story { display:grid; grid-template-columns: .9fr 1fr; gap: 7%; align-items:center; padding-block: 56px 0; }
.phone-copy { max-width:510px; }
.phone-copy h2 { font-size:clamp(48px,6vw,85px); line-height:.95; letter-spacing:-.07em; margin:0; }
.phone-copy p:not(.kicker) { color:var(--muted); font-size:18px; }
.phone-stage { display:flex; justify-content:center; align-items:flex-start; height:409px; overflow:hidden; background:linear-gradient(160deg,#e7e3da,#ebe4f1); border-radius:21px; padding:24px 12px 0; }
.phone-frame { flex:none; width:min(340px,100%); border:3px solid #282c27; border-radius:39px; padding:5px; background:linear-gradient(115deg,#bcbdb8,#262923 18%,#d8d9cf 80%,#242623); box-shadow:0 15px 25px #252e2525; }
.phone-screen { background:#fcfbf7; border:2px solid #171915; border-radius:31px; min-height:425px; padding:13px 18px 23px; }
.phone-camera { display:block; margin:0 auto 15px; background:#171915; border-radius:15px; width:61px; height:15px; }
.phone-screen [data-pane]>small { display:block; text-align:center; color:var(--muted); font:11px var(--mono); margin-bottom:15px; }
.phone-screen p { font-size:14px; line-height:1.35; }
.phone-screen b { display:block; font-size:15px; }
.bubble { margin-left:12%; border-radius:15px 15px 3px 15px; padding:10px 13px; background:#e9e7e0; }
.micro-strip { margin-block:10px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.micro-strip .remix-slide { aspect-ratio:2/3; border-radius:7px; }
.micro-strip strong,.micro-strip small { display:block; margin-block:4px; font:600 11px var(--sans); }
.micro-strip .remix-slide span { font-size:9px; }
.micro-strip .deck-snack span { font-size:9px; }
.phone-screen .phone-note { color:var(--muted); font:10px/1.3 var(--mono); }
.remix-shelf { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,2.2vw,32px); }
.remix-card { min-width:0; padding:clamp(10px,1.5vw,18px); border:1px solid var(--line); border-radius:15px; background:#fffdf8; }
.remix-card>header { display:flex; justify-content:space-between; align-items:center; gap:5px; margin-bottom:8px; font:12px var(--mono); }
.remix-card>header small { color:var(--muted); font-size:10px; }
.remix-slide { aspect-ratio:4/5; position:relative; isolation:isolate; overflow:hidden; border-radius:9px; background:#ebe7df; }
.remix-slide img { width:100%; height:100%; display:block; object-fit:cover; }
.remix-slide span { position:absolute; left:8%; right:8%; bottom:9%; color:white; font:italic clamp(24px,3vw,42px)/1.02 var(--serif); letter-spacing:-.045em; text-wrap:balance; text-shadow:0 1px 5px #171915; }
.deck-paper::after,.deck-city::after { content:""; position:absolute; inset:40% 0 0; background:linear-gradient(transparent,#1016118c); z-index:0; }
.remix-slide span { z-index:1; }
.deck-snack { background:#fff; border:1px solid #eae6df; }
.deck-snack img { width:77%; height:64%; margin:26% auto 0; object-fit:cover; }
.deck-snack span { left:6%; right:6%; top:5%; bottom:auto; color:#24231e; text-shadow:none; text-align:center; font:600 clamp(18px,2.1vw,29px)/1.06 var(--serif); }
.deck-paper span { font-style:normal; }
.deck-nav { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:7px; }
.deck-nav button { border:1px solid var(--line); background:transparent; color:var(--ink); border-radius:50%; width:33px; height:33px; font-size:17px; }
.deck-nav output { font:11px var(--mono); }
.remix-card h3 { margin:13px 0 5px; }
.remix-card>p,.original-receipt details { margin:4px 0 10px; font-size:14px; color:var(--muted); }
.original-receipt { border-top:1px solid var(--line); padding-top:9px; display:grid; gap:3px; }
.original-receipt strong { font-size:16px; color:#305433; }
.original-receipt a { font:12px var(--mono); }
.original-receipt details { margin:0; }
.original-receipt summary { cursor:pointer; }
.license-message { padding:22px 0 42px; text-align:center; max-width:760px; }
.license-message p { margin:6px auto; font-size:clamp(19px,2.5vw,30px); letter-spacing:-.035em; line-height:1.2; }
.license-message strong { color:var(--violet); }
.license-message a { font-size:14px; white-space:nowrap; }
#reference-recipes { margin-bottom:15px; }
.ranked-decks>div,.delivery-receipt>div { display:flex; align-items:center; gap:9px; margin-bottom:8px; }
.ranked-decks img,.delivery-receipt img { width:39px; height:48px; object-fit:cover; border-radius:5px; }
.ranked-decks span { flex:1; font-size:13px; }
.ranked-decks i { display:block; width:var(--bar); min-width:5px; background:#689263; border-radius:5px; height:5px; margin-top:3px; }
.ranked-decks b { font:12px var(--mono); }
.reader-questions p { display:flex; align-items:center; gap:9px; margin:6px 0; border-radius:9px; background:#f0eee5; padding:7px; font-size:13px; }
.reader-questions i { font:12px/24px var(--mono); background:#e1d6e8; border-radius:50%; text-align:center; flex:none; width:24px; height:24px; }
.delivery-receipt { margin-top:12px; padding:12px; border:1px solid var(--line); border-radius:10px; }
.delivery-receipt small { display:block; color:var(--muted); font-size:11px; }
.delivery-receipt ol,.run-steps { padding:0; list-style:none; }
.delivery-receipt li { margin:5px 0; font-size:14px; }
.run-steps { border-left:1px solid #59685d; padding-left:11px; }
.run-steps li { margin:8px 0; }
.run-steps code { display:inline-block; margin:0; background:#293c30; color:#cfedc2; padding:2px 6px; border-radius:4px; }
.run-steps span { display:block; font-size:13px; margin-top:3px; }
.terminal .bubble { color:var(--ink); background:#e6e9de; margin-left:8%; }
@media(max-width:700px){
 .phone-story { grid-template-columns:1fr; gap:18px; padding-top:30px; }
 .phone-stage { height:355px; padding-top:15px; }
 .phone-copy h2 { font-size:48px; }
 .phone-copy .demo-options { gap:4px; }
 .remix-shelf { display:flex; overflow-x:auto; scroll-snap-type:x proximity; padding:0 0 10px; align-items:flex-start; }
 .remix-card { flex:0 0 min(81%,310px); scroll-snap-align:start; }
 .remix-library .sectionhead { gap:12px; }
 .remix-card h3 { font-size:22px; }
 .remix-slide span { font-size:27px; }
 .deck-snack span { font-size:22px; }
 .micro-strip .remix-slide span { font-size:9px; }
}

.hero-art .hero-remix { padding:0; }
.hero-remix .remix-slide { border-radius:0; width:100%; height:100%; }
.hero-remix .remix-slide span { font-size:clamp(19px,2.8vw,42px); }
.hero-remix .deck-snack span { font-size:clamp(15px,2vw,28px); }
.closing-posts .remix-slide { flex:1; min-width:0; }
.closing-posts .remix-slide span { font-size:clamp(13px,1.8vw,22px); }

.format-strip, .next-week { display:flex; gap:6px; align-items:center; margin:7px 0 11px; }
.format-strip span, .next-week span { flex:1; border-radius:5px; background:#e8e5dd; padding:6px; font:11px var(--sans); }
.format-strip i { font-style:normal; }
.next-week span { padding:4px; font-size:9px; }
.compare-city { background-image:url("examples/city-3.webp"); }
.compare-city>div { background-image:url("examples/city-1.webp"); }
.draft-tray button { display:inline-flex; align-items:center; gap:6px; }
.draft-tray img { width:21px; height:27px; object-fit:cover; border-radius:3px; }
.deck-reader [data-slide] { touch-action:pan-y; }

.workspace-grid:has(.agent-setup) { align-items: start; }
#agent-access { min-width: 0; scroll-margin-top: 80px; }
.agent-setup { --snippet-bg: #f4f4ee; --setup-line: #c5cabe; --setup-accent: var(--ink); margin-top: 22px; }
.installation .agent-setup { --snippet-bg: #222a24; --setup-line: #546055; --setup-accent: #e2edcf; margin: 0; }
#license-setup, #license-actions, #license-offer { scroll-margin-top: 80px; }
.agent-setup .tabs { gap: 6px; margin-bottom: 0; }
#agent-access .tabs button, #agent-access .access-copy { color: var(--ink); border-color: #989e90; }
#agent-access .tabs button.active { background: var(--ink); color: white; border-color: var(--ink); }
.setup-option { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--setup-line); }
.setup-option h3 { margin: 0; font-size: 18px; }
.setup-option p { margin: 7px 0 10px; font-size: 14px; line-height: 1.45; }
.setup-snippet { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: var(--snippet-bg); }
.setup-option .setup-preview { margin: 0 0 8px; font-size: 13px; overflow-wrap: anywhere; }
.setup-preview code { font: 12px/1.5 var(--mono); }
.setup-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.setup-unlock, .setup-reveal { font: 600 13px var(--sans); color: var(--setup-accent); text-decoration: underline; }
.setup-reveal { background: none; border: 0; padding: 5px 2px; }
.setup-key { font-family: var(--mono); }
.workcard.pin details { margin: 12px 0; }
.workcard.pin summary { cursor: pointer; }
.workcard.pin pre { padding: 10px; background: #171c19; border-radius: 6px; }
.workcard.pin .copy { color: var(--ink); }

.license-key-row { display: flex; gap: 8px; align-items: center; }
.license-key-row .copy { flex: none; }
.example-prompts ul { margin: 0; padding: 0; list-style: none; }
.example-prompts li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.example-prompts .access-copy { color: var(--ink); }
.lifetime-auth { max-width: 460px; margin: auto; }
.lifetime-auth h1 { margin: 0 0 24px; font-size: clamp(32px, 6vw, 48px); }
.lifetime-auth input { margin-bottom: 12px; }
.lifetime-auth .g-recaptcha { margin: 6px 0 16px; max-width: 100%; overflow-x: auto; }

.library-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto; gap: 14px; align-items: end; margin: 24px 0; }
.library-filters label { display: grid; gap: 5px; min-width: 0; font-size: 14px; }
.library-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.reference-card { padding: 0; min-width: 0; overflow: hidden; }
.library-picture { display: block; aspect-ratio: 4 / 5; background: #1c221c; }
.library-picture img { display: block; width: 100%; height: 100%; object-fit: contain; }
.library-card-body { padding: 14px 16px; overflow-wrap: anywhere; }
.library-format { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; font-size: 12px; }
.library-niches { font-size: 12px; color: var(--muted); }
.library-card-body details { font-size: 14px; }
.library-card-body summary { cursor: pointer; }
.library-card-body details p { white-space: pre-wrap; }
.library-pagination { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
@media (max-width: 850px) {
  .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .library-filters, .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-filters label:first-child { grid-column: 1 / -1; }
  .library-card-body { padding: 10px; }
}
