
.threadplot-landing {
  --tp-plum: #27173e;
  --tp-berry: #78235a;
  --tp-violet: #5433a4;
  --tp-orchid: #f0e6f5;
  --tp-cream: #fff9ef;
  --tp-sage: #e3ede1;
  --tp-ink: #2b2037;
  --tp-cut: clamp(19px, 3.1vw, 56px);
  --tp-shell: min(1280px, calc(100% - 72px));
  background: #fbf9f7;
  color: var(--tp-ink);
}

.threadplot-landing > main { width: 100%; }
.tp-shell { width: var(--tp-shell); margin-inline: auto; }
.tp-editor-shell { width: min(1370px, calc(100% - 72px)); padding-block: clamp(28px, 5vw, 69px) 42px; }
.tp-editor-shell .project-bar { margin-bottom: 9px; }
.tp-skip {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 3;
  padding: 8px 13px;
  border-radius: 5px;
  background: #fff;
  transform: translateY(-150%);
}
.tp-skip:focus { transform: translateY(0); }

.tp-hero, .tp-proof, .tp-pricing, .tp-close { position: relative; isolation: isolate; }
.tp-hero::before, .tp-proof::before, .tp-pricing::before, .tp-close::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.tp-hero::before {
  background: linear-gradient(121deg, #f7ebf4 13%, #fcf2e7 65%, #e7ecdf);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tp-cut)), 0 100%);
}
.tp-hero .intro {
  padding-block: clamp(54px, 7.8vw, 119px) clamp(75px, 9.2vw, 140px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(24px, 6vw, 95px);
}
.tp-hero h1 {
  font-size: clamp(44px, 5.25vw, 79px);
  line-height: .99;
  color: var(--tp-plum);
  text-wrap: balance;
}
.tp-hero h1 em { color: var(--tp-berry); font-style: normal; }
.tp-hero .intro-copy > p { max-width: 45ch; font-size: clamp(16px, 1.55vw, 21px); margin-top: 19px; color: #55475f; }
.tp-hero-actions { display: flex; align-items: center; gap: 12px 17px; flex-wrap: wrap; margin-top: 26px; }
.tp-action, .tp-sample-link, .tp-proof-link { font-weight: 700; }
.tp-action {
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--tp-violet);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 3px 0 #352067;
}
.tp-action:hover { background: #472690; }
.tp-sample-link { color: #6b245a; text-underline-offset: 4px; }
.tp-hero-notes { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 24px 0 0; padding: 0; list-style: none; color: #44374e; font-size: 13px; }
.tp-hero-notes li { position: relative; padding-inline-start: 14px; }
.tp-hero-notes li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 7px; border-radius: 50%; width: 6px; height: 6px; background: #556f51; }

.tp-hero .intro-example {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(7, minmax(0, 1fr)) auto;
  width: min(100%, 480px);
  aspect-ratio: 1.16;
  gap: 0;
  justify-self: center;
}
.tp-hero .intro-example-panel { border-radius: 14px; border: 1px solid #bc9fb35c; box-shadow: 0 12px 32px #44243f21; }
.tp-hero .intro-example-panel img { height: 100%; width: 100%; object-fit: cover; }
.tp-hero .intro-example-panel span { position: absolute; z-index: 1; top: 8px; bottom: auto; left: 8px; border-radius: 5px; padding: 5px 8px; color: #392846; }
.tp-hero .tp-source { grid-column: 1 / 7; grid-row: 1 / 6; }
.tp-hero .tp-result { grid-column: 4 / 11; grid-row: 2 / 8; z-index: 1; border: 5px solid #fffaef; box-shadow: 0 18px 38px #44243f43; }
.tp-hero .intro-example figcaption { display: flex; flex-wrap: wrap; gap: 0 9px; grid-column: 2 / 11; grid-row: 8; padding-top: 9px; color: #55475f; font-size: 12px; }
.tp-hero .intro-example figcaption strong { color: var(--tp-plum); }

.tp-proof { padding-block: calc(var(--tp-cut) + clamp(35px, 5.2vw, 72px)) calc(var(--tp-cut) + clamp(34px, 5.2vw, 72px)); color: #fff7ee; }
.tp-proof::before {
  background: #2d1b42;
  background-image: radial-gradient(ellipse at 68% 48%, #492a54, #2d1b42 72%);
  clip-path: polygon(0 0, 100% var(--tp-cut), 100% 100%, 0 calc(100% - var(--tp-cut)));
}
.tp-proof-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: clamp(23px, 7vw, 110px); }
.tp-proof h2, .tp-how h2, .tp-print h2, .tp-pricing h2, .tp-close h2 {
  font: 600 clamp(31px, 4.1vw, 53px)/1.08 Georgia, serif;
  letter-spacing: -.043em;
  text-wrap: balance;
}
.tp-proof-copy > p { color: #ebd8ec; max-width: 48ch; margin-top: 14px; font-size: clamp(15px, 1.4vw, 18px); }
.tp-proof-specs { display: flex; flex-wrap: wrap; margin: 22px 0; gap: 12px 24px; }
.tp-proof-specs > div { padding-inline-start: 10px; border-inline-start: 2px solid #ecb9d2; }
.tp-proof-specs dt { font-weight: 750; font-size: clamp(20px, 2vw, 26px); color: #ffd0e1; }
.tp-proof-specs dd { margin: 2px 0 0; color: #ebd8ec; font-size: 13px; }
.tp-proof-link { color: #ffd0e1; text-underline-offset: 4px; }
.tp-proof-image {
  width: min(100%, 405px);
  margin: 0;
  justify-self: center;
  padding: 8px;
  background: #f7ecdc;
  border-radius: 12px;
  box-shadow: 0 15px 26px #160d2059;
}
.tp-proof-image img { display: block; width: 100%; height: auto; border-radius: 6px; }
.tp-proof-image figcaption { padding: 8px 5px 3px; font-size: 13px; color: #382743; }

.tp-how, .tp-print { border: 0; padding-block: clamp(38px, 6vw, 84px); }
.tp-how h2, .tp-print h2, .tp-pricing h2, .tp-close h2 { color: var(--tp-plum); }
.tp-how .tp-steps { list-style: none; padding: 0; margin: 23px 0 0; counter-reset: tp-step; gap: 12px; }
.tp-steps li { padding: clamp(15px,2.1vw,25px); counter-increment: tp-step; border: 1px solid #e6d9dc; border-top: 3px solid #a673a2; border-radius: 10px; background: #fff; }
.tp-steps li:nth-child(2) { border-top-color: #6f8c6b; }
.tp-steps li:nth-child(3) { border-top-color: #ad6a59; }
.tp-steps li::before { content: counter(tp-step); font-weight: 800; color: #663a7f; display: inline-block; margin-bottom: 8px; }
.tp-how h3, .tp-print h3, .tp-pricing h3 { font-size: 17px; }
.tp-how p, .tp-print p { font-size: 14px; }
.tp-intent-answer { max-width: 70ch; margin-top: 12px; }
.tp-compare table { width: 100%; max-width: 850px; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.tp-compare :is(th,td) { padding: 11px 9px; text-align: start; vertical-align: top; border-bottom: 1px solid #d9cdd9; overflow-wrap: anywhere; }
.tp-compare th:first-child { width: 30%; }
.tp-compare thead { background: #f3e8f1; color: var(--tp-plum); }
.tp-print { background: #edf2e9; }
.tp-print .tp-print-points { gap: 13px 28px; margin-top: 21px; }
.tp-print-points > div { padding-block-start: 12px; border-block-start: 1px solid #bdcdb9; }

.tp-pricing { padding-block: calc(var(--tp-cut) + 35px) calc(var(--tp-cut) + 40px); }
.tp-pricing::before { background: #f2e8f4; clip-path: polygon(0 var(--tp-cut), 100% 0, 100% calc(100% - var(--tp-cut)), 0 100%); }
.tp-price-layout { display: grid; grid-template-columns: minmax(0,1.03fr) repeat(2,minmax(0,1fr)); align-items: stretch; gap: 16px; }
.tp-price-layout > div { background: #fff; padding: 19px; border: 1px solid #e7dbe9; border-radius: 11px; }
.tp-price-layout > div:last-child { border-color: #b590c0; background: #fff8fc; }
.tp-price-layout p { margin-top: 6px; color: #54445d; }
.tp-price-layout a { display: inline-block; margin-top: 9px; font-weight: 650; }

.tp-close { padding-block: calc(var(--tp-cut) + 26px) 37px; }
.tp-close::before { background: #f6eadc; clip-path: polygon(0 0, 100% var(--tp-cut), 100% 100%, 0 100%); }
.tp-close > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px; }

@media (max-width: 880px) {
  .tp-hero .intro { gap: 24px; }
  .tp-price-layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tp-price-layout h2 { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .threadplot-landing { --tp-shell: calc(100% - 32px); }
  .tp-editor-shell { width: calc(100% - 24px); padding-block: 28px 31px; }
  .tp-hero .intro { grid-template-columns: minmax(0,1fr); }
  .tp-hero .intro-example { justify-self: start; width: min(100%, 340px); }
  .tp-hero .intro-copy > p { margin-top: 13px; }
  .tp-hero-actions { margin-top: 18px; }
  .tp-hero-notes { margin-top: 15px; }
  .tp-proof-layout { grid-template-columns: minmax(0,1fr); }
  .tp-proof-image { justify-self: start; width: min(100%, 300px); }
}
@media (max-width: 520px) {
  .threadplot-landing .top-inner { flex-wrap: wrap; gap: 5px 10px; padding-block: 9px; }
  .threadplot-landing .top nav { gap: 7px 13px; flex-wrap: wrap; }
  .threadplot-landing .top nav a { font-size: 13px; }
  .tp-price-layout { grid-template-columns: minmax(0,1fr); }
  .tp-hero .intro { padding-block: 36px 57px; }
  .tp-hero h1 { font-size: clamp(38px,10vw,51px); }
}
@media (prefers-reduced-motion: no-preference) {
  .tp-hero .tp-result { animation: tp-artwork-in 720ms 120ms cubic-bezier(.18,.76,.28,1) both; }
  @keyframes tp-artwork-in {
    from { opacity: .74; transform: translate(7px,14px) rotate(1.4deg); }
    to { opacity: 1; transform: none; }
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tp-proof-image, .tp-price-layout > div {
      animation: tp-band-in linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 25%;
    }
  }
}
@keyframes tp-band-in {
  from { opacity: .76; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

