/* The page a signed-out visitor sees at slopmonkey.app: one statement, one button, one example, the prices. */
body.landing { overflow-x: hidden; font-size: 15px; }
.lp-hero { display: grid; place-items: center; min-height: calc(100svh - 76px); padding: 0 24px 72px; text-align: center; }
.lp-hero h1 { margin: 0; font-size: clamp(44px, 8.6vw, 112px); font-weight: 600; letter-spacing: -0.05em; line-height: .98; }
.lp-hero .said { display: block; color: var(--faint); }
/* The phrase a chatbot reaches for, struck out. Its line keeps one height; a long phrase is set smaller to fit (landing.js). */
.lp-hero .slop-line { display: flex; align-items: center; justify-content: center; height: 1.02em; }
.lp-hero .slop { position: relative; display: inline-block; white-space: nowrap; transition: opacity .2s; }
.lp-hero .slop::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .07em; border-radius: 1em; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.3, .8, .25, 1); }
.lp-hero .slop.cut::after { transform: scaleX(1); }
.lp-hero .slop.out { opacity: 0; }
.lp-hero .slop.out::after { transition: none; }
.lp-lead { margin: 30px auto; max-width: 500px; color: var(--muted); font-size: 19px; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-wrap: balance; }
.lp-under { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.lp-error { margin: 10px 0 0; color: var(--danger); font-size: 14px; }

/* The one action: sign in with Google and start. */
.lp-cta { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px 0 8px; border: 0; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 16px; font-weight: 500; white-space: nowrap; -webkit-font-smoothing: antialiased; transition: opacity .12s, transform .12s; }
.lp-cta .g { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #fff; }
.lp-cta svg { width: 17px; height: 17px; }
.lp-cta:hover { opacity: .9; }
.lp-cta:active { transform: scale(.98); }
.lp-cta:focus-visible { outline-offset: 3px; border-radius: 12px; }

.lp-proof { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto 96px; padding: 0 24px; }
.lp-proof > div { padding: 6px 40px 6px 0; }
.lp-proof > div + div { padding: 6px 0 6px 40px; border-left: 1px solid var(--border); }
.lp-proof .lab { display: block; margin-bottom: 12px; color: var(--faint); font-size: 13px; }
.lp-proof p { margin: 0; font-size: 18px; line-height: 1.62; }
.lp-proof .ai { color: var(--muted); }
.lp-proof mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 1px 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Small grey headings over each quiet section. */
.lp-faq h2, .lp-prices h2 { margin: 0 0 22px; color: var(--muted); font-size: 15px; font-weight: 500; text-align: center; }
/* How it works, as one line that does what it says (landing.js plays it when it is scrolled to). A text cursor
   pastes "Paste." whole, types a chatbot's word and strikes it out the way the headline does, types "Humanize."
   in its place at a person's uneven pace, and "Copy." arrives selected. Without the script it is just the line. */
.lp-how { margin: 0 auto 96px; padding: 12px 20px; }
.lp-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .26em; margin: 0; font-size: clamp(38px, 7.4vw, 92px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.08; }
.lp-line > span { position: relative; display: inline-grid; white-space: nowrap; isolation: isolate; }
.lp-line > span > span { grid-area: 1 / 1; justify-self: start; }
.lp-line .rest { color: transparent; }
.lp-line .lp-caret { position: relative; display: inline-block; width: 0; height: .84em; vertical-align: -.08em; }
.lp-line .lp-caret::after { content: ""; position: absolute; left: .02em; top: 0; bottom: 0; width: .055em; border-radius: 1em; background: var(--accent); animation: lp-blink 1s steps(1) infinite; }
.lp-line .old { position: relative; color: var(--faint); transition: opacity .25s; }
.lp-line .old::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .07em; border-radius: 1em; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.3, .8, .25, 1); }
.lp-line .old.cut::after { transform: scaleX(1); }
.lp-line .old.out { opacity: 0; }
.lp-line > span::before { content: ""; position: absolute; z-index: -1; inset: 14% -2% 8%; border-radius: .08em; background: color-mix(in srgb, #4d8dff 26%, var(--bg)); opacity: 0; }
.lp-line > span.sel::before { opacity: 1; animation: lp-unselect .5s ease 1.6s forwards; }
@keyframes lp-blink { 50% { opacity: 0; } }
@keyframes lp-unselect { to { opacity: 0; } }
.lp-faq { max-width: 680px; margin: 96px auto 0; padding: 0 24px; }
.lp-faq details { border-top: 1px solid var(--border); }
.lp-faq details:last-of-type { border-bottom: 1px solid var(--border); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; flex: none; color: var(--faint); font-size: 20px; font-weight: 400; line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { margin: -4px 2px 18px; max-width: 600px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.lp-prices { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.lp-prices .row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-prices .row > div { padding: 22px 20px; }
.lp-prices .row > div + div { border-left: 1px solid var(--hair); }
.lp-prices b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.lp-prices b small { color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.lp-prices span { display: block; margin-top: 4px; font-weight: 500; }
.lp-prices i { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; font-style: normal; }

.lp-again { padding: 96px 24px 0; text-align: center; }
.lp-again h2 { margin: 0 0 22px; font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.04em; }
.lp-foot { display: flex; justify-content: center; gap: 18px; padding: 48px 24px 40px; color: var(--faint); font-size: 13px; }
.lp-foot a { text-decoration: none; }
.lp-foot a:hover { color: var(--text); }

@media (max-width: 760px) {
  .lp-hero { min-height: calc(100svh - 62px); padding: 0 20px 56px; }
  .lp-lead { margin: 22px auto 26px; font-size: 17px; }
  .lp-proof { grid-template-columns: 1fr; margin-bottom: 64px; }
  .lp-proof > div, .lp-proof > div + div { padding: 0; border: 0; }
  .lp-proof > div + div { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border); }
  .lp-proof p { font-size: 16.5px; }
  .lp-prices .row { grid-template-columns: 1fr 1fr; }
  .lp-prices .row > div { padding: 18px 14px; }
  .lp-prices .row > div:nth-child(3) { border-left: 0; }
  .lp-prices .row > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .lp-prices b { font-size: 26px; }
  .lp-how { margin-bottom: 64px; }
  .lp-faq { margin-top: 64px; }
  .lp-again { padding-top: 64px; }
  body.landing #theme { position: static; }
}

/* ── how the page moves (landing.js sets the numbers as you scroll) ──
   The opening falls behind and fades as you leave it. A line of the phrases chatbots love slides across under it.
   Each part below comes up the last little way and to full strength as it reaches the screen, following the
   scroll exactly: nothing plays on a timer and nothing blurs. */
.lp-hero > div { transform: translateY(calc(var(--sy, 0) * .3px)); opacity: calc(1 - var(--sy, 0) / 560); will-change: transform; }
.lp-tape { overflow: hidden; margin-bottom: 84px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); white-space: nowrap; color: var(--faint); font-size: clamp(28px, 4.6vw, 54px); font-weight: 600; letter-spacing: -0.045em; }
.lp-tape div { display: inline-block; transform: translateX(calc(var(--sy, 0) * -.4px)) skewX(calc(var(--vel, 0) * -.5deg)); will-change: transform; }
.lp-tape p { margin: 0 0 12px 28px; color: var(--faint); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.lp-tape img { height: .8em; width: auto; margin-right: 1.15em; vertical-align: middle; filter: grayscale(1) contrast(.6) brightness(1.15); opacity: .62; }
:root[data-theme="dark"] .lp-tape img { filter: grayscale(1) invert(1) contrast(.6); opacity: .6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lp-tape img { filter: grayscale(1) invert(1) contrast(.6); opacity: .6; } }
.lp-tape img:first-child { margin-left: 130px; }
/* On a touch screen the row is doubled and drifts by itself (landing.js); no script moves it. */
.lp-tape div.lp-marquee { transform: none; animation: lp-marquee 38s linear infinite; }
.lp-tape .lp-marquee img:first-child { margin-left: 0; }
@keyframes lp-marquee { to { transform: translate3d(-50%, 0, 0); } }
.lp-tape .lg-columbia, .lp-tape .lg-toronto { height: .7em; }
.lp-tape .lg-mit { height: .64em; }
.lp-move { opacity: calc(.3 + var(--r, 1) * .7); transform: translateY(calc((1 - var(--r, 1)) * 20px)); }
/* On a touch screen a part rises once as it arrives, by a transition, so nothing has to keep up with the finger (landing.js). */
.lp-rise { opacity: .3; transform: translateY(20px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.lp-rise.in { opacity: 1; transform: none; }
@media (max-width: 760px) { .lp-tape { margin-bottom: 56px; padding: 18px 0; } .lp-tape p { margin-left: 20px; } .lp-tape img:first-child { margin-left: 110px; } }
@media (prefers-reduced-motion: reduce) {
  .lp-hero .slop, .lp-hero .slop::after { transition: none; }
  .lp-hero > div, .lp-move, .lp-rise { transform: none !important; opacity: 1 !important; }
  .lp-tape div.lp-marquee { animation: none; } /* the logos still slide (landing.js) */
}

/* ── the About page (about.html): one statement in the opening's voice, three short paragraphs, one button ── */
.ab { padding: 9vh 24px 40px; text-align: center; }
.ab h1 { margin: 0 auto; max-width: 12ch; font-size: clamp(46px, 8.4vw, 108px); font-weight: 600; letter-spacing: -0.05em; line-height: .98; }
.ab h1 span { display: block; color: var(--faint); }
.ab-body { max-width: 560px; margin: 64px auto 44px; color: var(--muted); font-size: 19px; line-height: 1.6; text-align: left; }
.ab-body p { margin: 0 0 22px; }
.ab-body p:first-child, .ab-body b { color: var(--text); }
.ab-body b { font-weight: 500; }
.ab .lp-cta { padding: 0 22px; text-decoration: none; }
@media (max-width: 760px) { .ab { padding-top: 44px; } .ab-body { margin: 44px auto 36px; font-size: 17.5px; } }
