* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html { background: var(--surface); color: var(--ink); }
body { margin: 0; min-height: 100vh; background: var(--surface); letter-spacing: 0; }
button, input { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.topbar { min-height: 72px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--surface); font-size: 11px; font-weight: 800; }
.brand strong { font-size: 16px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.status i { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
main { width: min(1180px, 90vw); margin: 0 auto; }
.intro { padding: clamp(54px, 9vh, 104px) 0 40px; max-width: 900px; }
.category, .panel-label, .beta > div > span { color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
h1 { margin: 16px 0 20px; max-width: 860px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(43px, 6.4vw, 82px); line-height: .98; font-weight: 500; letter-spacing: 0; }
.intro > p { margin: 0; max-width: 690px; font-size: clamp(17px, 2vw, 22px); line-height: 1.55; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.workspace { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: #fff; box-shadow: 14px 14px 0 color-mix(in srgb, var(--secondary) 66%, transparent); }
.run-panel, .result-panel { min-width: 0; padding: clamp(28px, 4vw, 52px); }
.run-panel { display: flex; flex-direction: column; justify-content: center; min-height: 410px; border-right: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.run-panel label { margin: 36px 0 10px; font-size: 14px; font-weight: 750; }
.input-row { display: grid; grid-template-columns: 1fr auto; min-width: 0; }
input { min-width: 0; width: 100%; height: 54px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 0; outline: none; background: #fff; color: var(--ink); }
input:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
button { min-height: 54px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }
button:hover { background: var(--accent); border-color: var(--accent); }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--secondary) 72%, white); outline-offset: 2px; }
.privacy { margin: 12px 0 0; color: color-mix(in srgb, var(--ink) 58%, transparent); font-size: 12px; }
.sample-strip { margin-top: 48px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--ink) 13%, transparent); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.sample-link { min-height: auto; padding: 0; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sample-link:hover { background: transparent; color: var(--ink); }
.result-panel { position: relative; overflow: hidden; min-height: 410px; background: var(--ink); color: white; }
.result-top { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; text-transform: uppercase; color: color-mix(in srgb, white 62%, transparent); }
.result-top b { color: var(--secondary); }
.result-panel.running { animation: pulse-panel .55s ease; }
@keyframes pulse-panel { 0% { opacity: .65; transform: translateY(4px); } 100% { opacity: 1; transform: translateY(0); } }
.beta { margin: clamp(70px, 10vw, 120px) 0 72px; padding: 34px 0; display: grid; grid-template-columns: 1fr minmax(320px, .8fr); gap: 18px 50px; border-top: 2px solid var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.beta h2 { margin: 8px 0 0; max-width: 570px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.07; font-weight: 500; }
.beta form { align-self: center; display: grid; grid-template-columns: 1fr auto; }
.beta > p { grid-column: 2; margin: -6px 0 0; font-size: 12px; color: color-mix(in srgb, var(--ink) 58%, transparent); }
footer { width: min(1180px, 90vw); margin: 0 auto; padding: 0 0 36px; display: flex; justify-content: space-between; font-size: 13px; }
footer a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Clearcut: editorial conversion memo */
body[data-product="roast"] .workspace { box-shadow: 14px 14px 0 #f4c95d; }
.result-roast { background: #201b17; }
.roast-grade { margin: 42px 0 28px; display: flex; align-items: flex-end; gap: 18px; }
.roast-grade strong { font: 500 clamp(52px, 6vw, 76px)/.9 Georgia, serif; }
.roast-grade span { color: #bcb3aa; font-size: 12px; line-height: 1.5; }
.roast-list { list-style: none; padding: 0; margin: 0; }
.roast-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid #49413a; font-size: 14px; }
.roast-list li span { color: #ff6a51; font: 700 11px/1.4 ui-monospace, monospace; }
.result-roast > p { color: #bcb3aa; font-size: 12px; }

/* StoreSignal: diagnostic seal */
body[data-product="trustcheck"] h1 { font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 760; max-width: 780px; }
body[data-product="trustcheck"] .workspace { border-radius: 8px; box-shadow: 0 18px 50px rgba(16, 61, 51, .12); overflow: hidden; }
.result-trust { background: #e2f3ec; color: #153e34; }
.result-trust .result-top { color: #3c6d61; }
.trust-layout { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center; }
.trust-seal { aspect-ratio: 1; border: 2px solid #167a67; border-radius: 50%; display: grid; place-content: center; text-align: center; outline: 1px dashed #79ae9f; outline-offset: -10px; }
.trust-seal small, .trust-seal span { font-size: 10px; text-transform: uppercase; }
.trust-seal strong { font-size: 62px; line-height: 1; }
.trust-checks { display: grid; gap: 9px; }
.trust-checks div { padding: 11px 12px; background: white; border: 1px solid #b6d7ce; font-size: 13px; }
.trust-checks i { display: inline-grid; width: 22px; height: 22px; margin-right: 8px; place-items: center; background: #167a67; color: white; border-radius: 50%; font-style: normal; }
.trust-checks div:nth-child(3) i { background: #ef8354; }
.result-trust > p { margin-top: 22px; color: #52736b; font-size: 12px; }

/* Ratepage: creator-facing profile */
body[data-product="ratecard"] { background: #fff7fb; }
body[data-product="ratecard"] h1 { font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 800; }
body[data-product="ratecard"] .workspace { grid-template-columns: .82fr 1.18fr; box-shadow: -14px 14px 0 #f3b61f; }
.result-ratecard { background: #fce0eb; color: #351a27; }
.creator-head { display: flex; align-items: center; gap: 13px; }
.creator-head > b { margin-left: auto; color: #c13d73; text-transform: uppercase; font-size: 11px; }
.creator-head small, .creator-head strong { display: block; }
.creator-head small { font-size: 10px; text-transform: uppercase; color: #7e5367; }
.creator-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #c13d73; color: white; font-weight: 800; }
.package-list { margin: 28px 0 20px; border-top: 1px solid #cfa4b6; }
.package-list > div { padding: 15px 0; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; border-bottom: 1px solid #cfa4b6; }
.package-list span { color: #c13d73; font-size: 11px; }
.package-list p { margin: 0; font-weight: 750; }
.package-list small { display: block; margin-top: 3px; color: #81586a; font-weight: 400; }
.package-list strong { font-size: 19px; }
.visual-button { width: 100%; background: #c13d73; border-color: #c13d73; }

/* Launchframe: art-directed composition canvas */
body[data-product="mockup"] { background: #f1f3ff; }
body[data-product="mockup"] h1 { font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 850; max-width: 760px; }
body[data-product="mockup"] .workspace { grid-template-columns: 380px 1fr; box-shadow: none; border: 0; gap: 16px; background: transparent; }
body[data-product="mockup"] .run-panel { background: white; border: 1px solid #cad0ed; }
.result-mockup { padding: 28px; background: #18203f; }
.mockup-stage { position: relative; height: 275px; margin-top: 24px; overflow: hidden; background: #566fe7; }
.mockup-card { position: absolute; box-shadow: 0 20px 35px rgba(15, 20, 45, .24); }
.card-a { left: 6%; top: 18%; width: 38%; height: 66%; padding: 20px; background: #ff7a59; transform: rotate(-7deg); }
.card-a i { display: block; width: 24px; height: 24px; margin-bottom: 35px; background: #18203f; }
.card-a b, .card-a small { display: block; color: #18203f; }
.card-a b { font-size: 20px; }
.card-b { right: 8%; top: 10%; width: 48%; height: 74%; padding: 12px; background: white; transform: rotate(5deg); }
.mini-browser { height: 100%; padding: 9px; background: #eef0ff; color: #18203f; }
.mini-browser > span { display: inline-block; width: 6px; height: 6px; background: #ff7a59; border-radius: 50%; }
.mini-browser p { margin: 42px 8px 0; font-size: 18px; }
.card-c { right: 3%; bottom: 4%; width: 25%; height: 24%; display: grid; place-items: center; background: #f5c94d; color: #18203f; font-size: 28px; font-weight: 900; transform: rotate(-3deg); }
.format-row { display: flex; justify-content: space-between; margin-top: 14px; color: #aeb8eb; font: 10px ui-monospace, monospace; }

/* Pagewatch: monitoring console */
body[data-product="watch"] { background: #eef6f8; }
body[data-product="watch"] .intro { max-width: 700px; }
body[data-product="watch"] h1 { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(38px, 5.6vw, 68px); }
body[data-product="watch"] .workspace { box-shadow: 10px 10px 0 #1177a8; }
.result-watch { background: #0c2027; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.watch-bar { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid #2c4a54; color: #9eb1b6; font-size: 11px; }
.watch-bar i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: #45d5a4; border-radius: 50%; }
.watch-bar b { color: #45d5a4; }
.watch-chart { margin: 24px 0; display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: end; }
.price small, .price strong, .price em { display: block; }
.price small { color: #809aa3; font-size: 10px; }
.price strong { margin: 7px 0; font-size: 42px; }
.price em { color: #ff7a6a; font-size: 11px; }
.chart-bars { height: 100px; display: flex; align-items: end; gap: 6px; border-bottom: 1px solid #385761; }
.chart-bars i { flex: 1; height: 36%; background: #276477; }
.chart-bars i:nth-child(2) { height: 44%; }.chart-bars i:nth-child(3) { height: 38%; }.chart-bars i:nth-child(4) { height: 52%; }.chart-bars i:nth-child(5) { height: 48%; }.chart-bars i:nth-child(6) { height: 55%; }.chart-bars i:nth-child(7) { height: 82%; background: #e65f5c; }.chart-bars i:nth-child(8) { height: 84%; background: #e65f5c; }
.change-log > div { display: grid; grid-template-columns: 50px 1fr; padding: 9px 0; border-top: 1px solid #29444d; font-size: 11px; }
.change-log time { color: #6e8a93; }.change-log p { margin: 0; }.change-log del { color: #8ba0a7; }.change-log ins { color: #45d5a4; text-decoration: none; }

/* SignalThread: discussion feed */
body[data-product="painfinder"] .workspace { grid-template-columns: 410px 1fr; box-shadow: none; gap: 20px; background: transparent; border: 0; }
body[data-product="painfinder"] .run-panel { background: #fff; border: 1px solid #d9cdee; border-radius: 8px; }
.result-pain { padding: 24px; background: #f7f3ff; color: #261a3b; border: 1px solid #d9cdee; border-radius: 8px; }
.result-pain .result-top { color: #725f8f; }
.thread-feed { display: grid; gap: 10px; margin-top: 20px; }
.thread-feed > div { padding: 14px 16px; background: white; border: 1px solid #ddd3ed; border-radius: 6px; }
.thread-feed header, .thread-feed footer { display: flex; justify-content: space-between; font-size: 10px; }
.thread-feed header span { color: #75698a; }.thread-feed p { margin: 10px 0 14px; font-size: 14px; line-height: 1.35; }.thread-feed footer i { padding: 4px 6px; background: #eee5ff; color: #6b4bb8; border-radius: 3px; font-style: normal; }.thread-feed footer span { color: #877b98; }

/* Joinline: social counter widget */
body[data-product="waitlist"] { background: #fff4e7; }
body[data-product="waitlist"] h1 { max-width: 720px; font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 900; }
body[data-product="waitlist"] .workspace { grid-template-columns: 1fr .85fr; border: 0; box-shadow: 14px 14px 0 #2a9d8f; }
.result-waitlist { background: #d55624; color: #fff8ef; }
.counter-label { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; }
.counter-label b { color: #f6d46b; }
.join-count { display: flex; align-items: center; gap: 18px; margin: 38px 0 24px; }
.join-count strong { font-size: 78px; line-height: .9; }.join-count span { font-size: 13px; line-height: 1.5; }.join-count b { color: #ffe06e; }
.avatar-line { display: flex; margin-bottom: 34px; }
.avatar-line i { width: 38px; height: 38px; display: grid; place-items: center; margin-right: -7px; border: 2px solid #d55624; border-radius: 50%; background: #fff7ec; color: #7a2d13; font-size: 10px; font-style: normal; font-weight: 800; }
.embed-code { padding: 13px; overflow: hidden; background: #923718; color: #ffd7c8; font: 10px ui-monospace, monospace; white-space: nowrap; }
.embed-code span { color: #ffe06e; }.result-waitlist > p { font-size: 11px; }

/* Plainterms: annotated document */
body[data-product="termsplain"] { background: #f0f4ed; }
body[data-product="termsplain"] .workspace { grid-template-columns: .9fr 1.1fr; box-shadow: none; }
.result-terms { padding: 28px; background: #dfe8da; color: #223027; }
.document-head { display: flex; justify-content: space-between; color: #5a6c5e; font-size: 10px; text-transform: uppercase; }
.document-head b { color: #3f6b53; }
.document-page { position: relative; margin-top: 16px; min-height: 310px; padding: 24px 30px; background: #fffdf8; box-shadow: 0 10px 30px rgba(33, 54, 40, .1); }
.document-page p { margin: 0 0 9px; }.document-page p:nth-of-type(2) { margin-top: 23px; }.document-page sup { margin-right: 9px; color: #8ba08e; }.legal-line { width: 72%; height: 5px; margin: 7px 0; background: #dde3dc; }.legal-line.wide { width: 94%; }
.document-page mark { display: inline-block; margin-top: 7px; padding: 4px 6px; background: #cde7d3; color: #284632; font-size: 11px; }.document-page mark.amber { background: #f1dfac; }.document-page aside { position: absolute; right: -14px; bottom: 18px; padding: 9px 11px; background: #3f6b53; color: white; font-size: 10px; }

/* Proofslide: visual comparison */
body[data-product="beforeslider"] .workspace { grid-template-columns: 360px 1fr; box-shadow: 12px 12px 0 #e15d44; }
.result-slider { padding: 26px; background: #143338; }
.compare-scene { position: relative; height: 285px; margin-top: 20px; overflow: hidden; background: #c9b59e; }
.scene-before, .scene-after { position: absolute; inset: 0; overflow: hidden; }
.scene-before { width: 50%; background: #9e8b78; }.scene-after { left: 50%; background: #e4ddd2; }
.scene-before span, .scene-after span { position: absolute; top: 12px; padding: 5px 8px; background: rgba(0,0,0,.66); color: white; font-size: 10px; }.scene-before span { left: 12px; }.scene-after span { right: 12px; }
.compare-scene i { position: absolute; bottom: 0; background: #6b513e; }.scene-before i:nth-of-type(1), .scene-after i:nth-of-type(1) { left: 12%; width: 62%; height: 45%; }.scene-before i:nth-of-type(2), .scene-after i:nth-of-type(2) { right: 3%; width: 28%; height: 70%; }.scene-before i:nth-of-type(3), .scene-after i:nth-of-type(3) { left: 25%; bottom: 46%; width: 28%; height: 7%; }.scene-after i { background: #f8f6f0; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: white; transform: translateX(-50%); }.compare-handle b { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; display: grid; place-items: center; transform: translate(-50%, -50%); background: white; color: #143338; border-radius: 50%; }
.embed-meta { display: flex; justify-content: space-between; margin-top: 13px; color: #94b0b4; font-size: 10px; text-transform: uppercase; }

/* Daymark: public challenge board */
body[data-product="challenge"] { background: #fff2eb; }
body[data-product="challenge"] h1 { max-width: 760px; }
body[data-product="challenge"] .workspace { grid-template-columns: .85fr 1.15fr; box-shadow: -14px 14px 0 #3a7d73; }
.result-challenge { background: #fffdf9; color: #31201a; }
.challenge-head { display: flex; justify-content: space-between; align-items: start; }.challenge-head small, .challenge-head strong { display: block; }.challenge-head small { color: #8d6b5f; text-transform: uppercase; font-size: 10px; }.challenge-head strong { margin-top: 5px; font: 500 46px Georgia, serif; }.challenge-head > b { color: #bd3f32; font-size: 11px; text-transform: uppercase; }
.progress-track { height: 8px; margin: 22px 0; background: #eadbd2; }.progress-track i { display: block; width: 27%; height: 100%; background: #bd3f32; }
.day-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }.day-grid span { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #decac0; color: #9e8377; font-size: 10px; }.day-grid span.done { background: #3a7d73; border-color: #3a7d73; color: white; }.day-grid span.today { border: 2px solid #bd3f32; color: #bd3f32; font-weight: 800; }
.latest-proof { margin-top: 24px; display: grid; grid-template-columns: 85px 1fr; padding-top: 15px; border-top: 1px solid #decac0; }.latest-proof > span { color: #9e8377; font-size: 10px; text-transform: uppercase; }.latest-proof p { margin: 0; }.latest-proof small { display: block; margin-top: 5px; color: #8d766c; font-weight: 400; }

@media (max-width: 800px) {
  .topbar { padding: 0 5vw; }
  main { width: 90vw; }
  .intro { padding-top: 48px; }
  h1 { font-size: clamp(42px, 13vw, 66px); }
  .workspace { grid-template-columns: 1fr; box-shadow: 8px 8px 0 color-mix(in srgb, var(--secondary) 66%, transparent); }
  body[data-product] .workspace { grid-template-columns: 1fr; }
  body[data-product="mockup"] .workspace, body[data-product="painfinder"] .workspace { gap: 10px; }
  .run-panel { min-height: auto; border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
  .input-row, .beta form { grid-template-columns: 1fr; gap: 8px; }
  .sample-strip { margin-top: 32px; }
  .beta { grid-template-columns: 1fr; }
  .beta > p { grid-column: 1; }
  footer { padding-top: 8px; }
  .trust-layout { grid-template-columns: 145px 1fr; gap: 14px; }
  .trust-seal strong { font-size: 44px; }
  .mockup-stage { height: 240px; }
  .format-row { gap: 8px; flex-wrap: wrap; }
  .watch-chart { grid-template-columns: 100px 1fr; }
  .join-count strong { font-size: 64px; }
  .document-page { padding: 20px; }
  .compare-scene { height: 245px; }
}

@media (max-width: 430px) {
  .result-panel { min-height: 360px; }
  .trust-layout { grid-template-columns: 1fr; }
  .trust-seal { width: 150px; margin: 0 auto; }
  .package-list > div { grid-template-columns: 24px 1fr auto; }
  .mockup-stage { height: 220px; }
  .card-a { width: 45%; }.card-b { width: 52%; }
  .watch-chart { grid-template-columns: 1fr; }
  .chart-bars { height: 72px; }
  .join-count { align-items: flex-end; }.join-count strong { font-size: 58px; }
  .embed-code { font-size: 9px; }
  .day-grid { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; }
}
