/* Product pages in the current www.ethyai.app design (src/products/render.mjs): the site's Webflow template, its black
 * hero and white sections with grey corner marks, Geist and PP Supply Mono, the magenta gradient. The site's own
 * classes draw the shells, the tags (.subheading), the headings (h2 64px Geist, h3 mono capitals) and the buttons;
 * this sheet only lays out what sits inside. Tokens mirror the site's :root. */

:root {
  --pp-ink: #060606;
  --pp-ink-70: #060606b3;
  --pp-ink-50: #06060680;
  --pp-line: #0606061a;
  --pp-tint: #f8f6f9;
  --pp-pink: #f350f7;
  --pp-pink-deep: #bd23c2;
  --pp-pink-bg: #f592f91a;
  --pp-pink-line: #f592f94d;
  --pp-grad: linear-gradient(45deg, #ab00ce, #f350f7);
  --pp-night: #0d0d0f;
  --pp-night-line: #ffffff1f;
  --pp-white: #ffffff;
  --pp-white-70: #ffffffb3;
  --pp-white-50: #ffffff80;
  --pp-sans: Geist, sans-serif;
  --pp-mono: Ppsupplymono, Arial, sans-serif;
  --pp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body.pp { overflow-x: clip; }
.pp-ic { width: 15px; height: 15px; flex: none; }

/* ─── the hero: the actions under the sentence, a real screen where the cover was ─── */
.pp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; width: 100%; padding: 8px 0 0; }
.pp-link { color: var(--pp-white); font: 400 14px/1 var(--pp-mono); text-transform: uppercase; letter-spacing: -0.02em; text-decoration: underline; text-decoration-color: var(--pp-white-50); text-underline-offset: 6px; transition: text-decoration-color 0.2s; }
.pp-link:hover { text-decoration-color: var(--pp-pink); }
.pp-note { flex-basis: 100%; margin: 0; color: var(--pp-white-50); font: 400 14px/1.4 var(--pp-sans); }
/* the hero's box: the page's question typed into Ethy's input, as on the blog's articles; it opens the app with it */
.wf-asker { display: grid; gap: 28px; width: 100%; padding: 28px 28px 24px; border-radius: 18px; background: var(--pp-night); border: 1px solid var(--pp-night-line); color: var(--pp-white); text-decoration: none; transition: border-color 0.3s, transform 0.4s var(--pp-ease); }
.wf-asker:hover { border-color: #f350f773; transform: translateY(-2px); }
.wf-asker:focus-visible { outline: 2px solid var(--pp-pink); outline-offset: 4px; }
.wf-asker__bar { display: flex; align-items: center; gap: 10px; font: 400 15px/1 var(--pp-sans); }
.wf-asker__bar img { width: 28px; height: 28px; border-radius: 50%; }
.wf-asker__bar b { font-weight: 500; }
.wf-asker__bar .gradient-text { margin-left: auto; font: 400 12px/1 var(--pp-mono); text-transform: uppercase; }
.wf-asker__q { font: 400 clamp(24px, 3vw, 40px)/1.2 var(--pp-sans); letter-spacing: -0.03em; color: var(--pp-white); text-wrap: balance; }
.wf-asker__caret { display: inline-block; width: 3px; height: 1em; margin-left: 4px; vertical-align: -0.12em; background: var(--pp-pink); animation: pp-caret 0.9s steps(1) infinite; }
.wf-asker__go { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.wf-asker__note { font: 400 14px/1.4 var(--pp-sans); color: var(--pp-white-50); }
.wf-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px; border-radius: 6px; background: var(--pp-white); color: var(--pp-ink); font: 400 14px/1 var(--pp-mono); text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.wf-asker:hover .wf-btn { background: var(--pp-pink); color: var(--pp-white); }
.wf-ic { width: 15px; height: 15px; flex: none; }
@keyframes pp-caret { 50% { opacity: 0; } }
.pp .primary-btn:focus-visible, .pp-link:focus-visible { outline: 2px solid var(--pp-pink); outline-offset: 4px; }

/* ─── the sections ─── */
.pp-wrap { display: flex; flex-direction: column; gap: 56px; }
.pp-sec--tint { background: var(--pp-tint); }
.pp-head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 820px; }
.pp-head h2 { text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.pp-lede { max-width: 640px; color: var(--pp-ink-70); font: 400 19px/1.45 var(--pp-sans); letter-spacing: -0.012em; }
.pp-sec--dark .pp-lede { color: var(--pp-white-70); }
.pp-aside { color: var(--pp-ink-50); font: 400 15px/1.5 var(--pp-sans); max-width: 760px; }
.pp-aside a { color: var(--pp-pink-deep); text-decoration: underline; text-underline-offset: 3px; }
.pp-aside a:focus-visible { outline: 2px solid var(--pp-pink); outline-offset: 3px; border-radius: 2px; }
.pp-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* what it is: the question and its answer side by side, then the features, then the founder-confirmed figures */
.pp-answer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; }
.pp-answer__body { display: flex; flex-direction: column; gap: 16px; }
.pp-answer__p { color: var(--pp-ink); font: 400 22px/1.45 var(--pp-sans); letter-spacing: -0.02em; }
.pp-answer__body p:not(.pp-answer__p) { color: var(--pp-ink-70); font-size: 17px; line-height: 1.55; }
.pp-h2-sm { margin-bottom: -24px; font-size: 44px; letter-spacing: -1.6px; text-wrap: balance; overflow-wrap: break-word; }
.pp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--pp-line); }
.pp-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 8px 0; }
.pp-card + .pp-card { padding-left: 28px; border-left: 1px solid var(--pp-line); }
.pp-card h3 { font-size: 17px; line-height: 1.25; }
.pp-card p { color: var(--pp-ink-70); font-size: 16px; line-height: 1.5; }
.pp-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 28px 32px; border-radius: 14px; background: var(--pp-night); color: var(--pp-white); }
.pp-proof div { display: flex; flex-direction: column; gap: 6px; }
.pp-proof dt { font: 400 44px/1 var(--pp-sans); letter-spacing: -0.04em; }
.pp-proof dd { margin: 0; color: var(--pp-white-50); font: 400 13px/1.3 var(--pp-mono); text-transform: uppercase; }

/* how it works: three steps side by side */
.pp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pp-night-line); }
.pp-step { display: flex; flex-direction: column; gap: 16px; padding: 36px 32px 8px 0; }
.pp-step + .pp-step { padding-left: 32px; border-left: 1px solid var(--pp-night-line); }
.pp-step__n { width: fit-content; background: var(--pp-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font: 400 14px/1 var(--pp-mono); }
.pp-step h3 { font-size: 20px; line-height: 1.25; }
.pp-step p { color: var(--pp-white-70); font-size: 17px; line-height: 1.55; }

/* ask Ethy: questions that open the app with them */
.pp-asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pp-ask { display: flex; flex-direction: column; gap: 20px; padding: 22px 24px; border-radius: 16px; background: var(--pp-night); border: 1px solid var(--pp-night-line); color: var(--pp-white); text-decoration: none; transition: border-color 0.3s, transform 0.4s var(--pp-ease); }
.pp-ask:hover { border-color: #f350f773; transform: translateY(-2px); }
.pp-ask:focus-visible { outline: 2px solid var(--pp-pink); outline-offset: 4px; }
.pp-ask__bar { display: flex; align-items: center; gap: 10px; font: 400 14px/1 var(--pp-sans); }
.pp-ask__bar img { width: 24px; height: 24px; border-radius: 50%; }
.pp-ask__bar b { font-weight: 500; }
.pp-ask__q { flex: 1; font: 400 21px/1.3 var(--pp-sans); letter-spacing: -0.02em; text-wrap: pretty; }
.pp-ask__go { display: inline-flex; align-items: center; gap: 10px; color: var(--pp-white-70); font: 400 13px/1 var(--pp-mono); text-transform: uppercase; transition: color 0.2s; }
.pp-ask:hover .pp-ask__go { color: var(--pp-pink); }

/* the comparison */
.pp-table-wrap { overflow-x: auto; border: 1px solid var(--pp-line); border-radius: 14px; }
.pp-table-wrap:focus-visible { outline: 2px solid var(--pp-pink); outline-offset: 3px; }
.pp-table { width: 100%; min-width: 720px; border-collapse: collapse; font: 400 16px/1.45 var(--pp-sans); color: var(--pp-ink-70); }
.pp-table th, .pp-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pp-line); }
.pp-table tbody tr:last-child th, .pp-table tbody tr:last-child td { border-bottom: 0; }
.pp-table thead th { color: var(--pp-ink-50); font: 400 13px/1.2 var(--pp-mono); text-transform: uppercase; }
.pp-table tbody th { width: 20%; color: var(--pp-ink); font-weight: 500; }
.pp-table td.pp-table__us { width: 30%; }
.pp-table .pp-table__us { background: var(--pp-pink-bg); color: var(--pp-ink); }
.pp-table thead .pp-table__us { color: var(--pp-pink-deep); }

/* questions */
.pp-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
.pp-faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; position: sticky; top: 120px; }
.pp-faq__list { border-top: 1px solid var(--pp-line); }
.pp-faq__list details { border-bottom: 1px solid var(--pp-line); }
.pp-faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--pp-ink); font: 400 20px/1.35 var(--pp-sans); letter-spacing: -0.02em; }
.pp-faq__list summary::-webkit-details-marker { display: none; }
.pp-faq__list summary:focus-visible { outline: 2px solid var(--pp-pink); outline-offset: 2px; border-radius: 4px; }
.pp-faq__mark { position: relative; width: 14px; height: 14px; flex: none; }
.pp-faq__mark::before, .pp-faq__mark::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--pp-ink); transition: transform 0.25s var(--pp-ease); }
.pp-faq__mark::after { transform: rotate(90deg); }
.pp-faq__list details[open] .pp-faq__mark::after { transform: rotate(0deg); }
.pp-faq__list details p { max-width: 720px; padding: 0 0 24px; color: var(--pp-ink-70); font-size: 17px; line-height: 1.6; }
.pp-risk { color: var(--pp-ink-50); font: 400 13px/1.5 var(--pp-sans); max-width: 900px; }
/* the site clips its sections, which would stop the sticky questions heading; clip draws the same */
.page-section:has(.pp-faq) { overflow: clip !important; }

@media (max-width: 991px) {
  .pp-answer, .pp-faq { grid-template-columns: minmax(0, 1fr); }
  .pp-steps { grid-template-columns: minmax(0, 1fr); }
  .pp-step, .pp-step + .pp-step { padding: 28px 0 4px; border-left: 0; }
  .pp-step + .pp-step { border-top: 1px solid var(--pp-night-line); }
  .pp-h2-sm { font-size: 34px; letter-spacing: -1.1px; }
  .pp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-card:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pp-card:nth-child(n + 3) { border-top: 1px solid var(--pp-line); }
  .pp-faq__head { position: static; }
  .pp-asks { grid-template-columns: minmax(0, 1fr); }
  .pp-wrap { gap: 44px; }
}
@media (max-width: 767px) {
  .pp-proof { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pp-proof dt { font-size: 36px; }
  .pp-answer__p { font-size: 19px; }
}
@media (max-width: 479px) {
  .pp-cards { grid-template-columns: minmax(0, 1fr); }
  .pp-card, .pp-card + .pp-card { padding: 22px 0 6px; border-left: 0; }
  .pp-card + .pp-card { border-top: 1px solid var(--pp-line); }
  .pp-h2-sm { font-size: 26px; letter-spacing: -0.78px; margin-bottom: -12px; }
  .wf-asker { gap: 22px; padding: 20px 18px 18px; border-radius: 14px; }
  .wf-asker__bar .gradient-text { display: none; }
  .wf-asker__go { flex-direction: column-reverse; align-items: stretch; }
  .wf-btn { justify-content: center; }
  .pp-lede { font-size: 16px; }
  .pp-ask__q { font-size: 18px; }
  .pp-faq__list summary { font-size: 17px; }
  .pp-wrap { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-ask, .pp-faq__mark::before, .pp-faq__mark::after, .pp-link, .wf-asker, .wf-btn { transition: none; }
  .pp-ask:hover, .wf-asker:hover { transform: none; }
  .wf-asker__caret { animation: none; }
}
