/* SloppedIn landing page, following the Murmur page system. */

:root {
    --bg: #171614;
    --surface: #f4f1ea;
    --surface-soft: #efebe3;
    --text: #2b2924;
    --text-secondary: #6d675f;
    --accent: #807465;
    --accent-strong: #5e5448;
    --border: #d4cec3;
    --border-light: #e6e1d7;
    --font-display: "Newsreader", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.5s;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.frame { --frame-padding-x: clamp(1.5rem, 5vw, 4rem); width: 100%; max-width: 860px; background: var(--surface); padding: clamp(4rem, 5vw, 6rem) var(--frame-padding-x); animation: frame-in var(--duration) var(--ease-out) both; }
@keyframes frame-in { from { opacity: 0; transform: translateY(12px); } }
.topbar, .hero, .screenshot, .approach, .site-footer { animation: item-in var(--duration) var(--ease-out) both; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.topbar__brand { color: var(--text-secondary); font-size: 1.1rem; font-weight: 500; letter-spacing: .03em; }
@keyframes item-in { from { opacity: 0; transform: translateY(8px); } }
.hero { animation-delay: .08s; }
.hero h1, .section-heading h2, .screenshot__heading, .approach h2, .cta__quote { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--text); letter-spacing: -.015em; }
.hero h1 { max-width: 17ch; font-size: clamp(2.5rem, 5.5vw, 3.75rem); line-height: .98; text-wrap: balance; }
.full-width { width: calc(100% + (2 * var(--frame-padding-x))); margin-left: calc(-1 * var(--frame-padding-x)); }
.hero h1.full-width { max-width: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .85rem 1.2rem; border: 1px solid var(--border); color: var(--text); font-size: .92rem; font-weight: 500; text-decoration: none; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out); }
.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.button--primary { border-color: var(--text); background: transparent; }
.button--primary:hover, .button--primary:focus-visible, .button--secondary:hover, .button--secondary:focus-visible { background: var(--surface-soft); border-color: var(--text); }
.divider { border: none; border-top: 1px solid var(--border); margin: clamp(2.5rem, 8vw, 4rem) 0; }
.screenshot { animation-delay: .14s; }
.screenshot__heading { margin-bottom: 2rem; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.08; }
.post-demo { position: relative; overflow: hidden; border: 1px solid #d7dadd; border-radius: .8rem; background: #fff; box-shadow: 0 1rem 2.5rem rgba(43, 41, 36, .08); }
.linkedin-post { color: #1d2226; background: #fff; font-family: Arial, Helvetica, sans-serif; transition: filter .35s var(--ease-out), opacity .35s var(--ease-out); }
.post-demo:not(.post-demo--revealed) .linkedin-post { filter: blur(22px); opacity: .2; }
.linkedin-post__header { display: flex; align-items: flex-start; gap: .8rem; padding: 1.15rem 1.25rem .35rem; }
.company-mark { display: grid; flex: 0 0 auto; width: 3.8rem; height: 3.8rem; place-items: center; border-radius: .35rem; background: #191919; }
.company-mark span { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border: 3px double #fff8b7; border-radius: 50%; color: #fff8b7; font-size: .67rem; font-weight: 700; }
.linkedin-post__identity { display: grid; line-height: 1.18; }
.linkedin-post__identity strong { font-size: 1.12rem; }
.linkedin-post__identity > span { color: #666; font-size: .84rem; }
.verified { display: inline-grid; width: 1.1rem; height: 1.1rem; place-items: center; border-radius: 50%; background: #5d6670; color: #fff; font-size: .7rem; vertical-align: .1rem; }
.linkedin-post__menu { margin-left: auto; color: #444; font-size: 1.1rem; font-weight: 700; letter-spacing: .1em; }
.linkedin-post__copy { margin: .65rem 1.25rem 1rem; font-size: 1rem; line-height: 1.35; }
.ad-creative { position: relative; min-height: 330px; overflow: hidden; padding: 3rem 2.2rem 2.8rem; background: #1c1c1c; color: #fff; }
.ad-creative::before { content: ""; position: absolute; inset: 0 auto 0 0; width: .38rem; margin: 5.8rem 0 5.8rem 2rem; background: linear-gradient(#b600ff, #046cff); }
.ad-creative__copy { position: relative; z-index: 1; display: grid; gap: 1.2rem; max-width: 70%; }
.ad-creative__tag { width: fit-content; padding: .45rem 1.4rem; border-radius: 999px; background: #12e2d0; color: #0f2523; font-size: .83rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ad-creative__copy strong { font-size: clamp(1.75rem, 5vw, 2.9rem); line-height: .95; letter-spacing: .015em; text-transform: uppercase; }
.ad-creative__copy > span:last-child { color: #d3d3d3; font-size: clamp(.9rem, 2.5vw, 1.35rem); letter-spacing: .04em; text-transform: capitalize; }
.ad-creative__book { position: absolute; top: 1rem; right: -1.7rem; display: grid; width: 10rem; height: 13rem; place-items: center; padding: 1rem; transform: rotate(-17deg) skewY(3deg); background: linear-gradient(145deg, #151329 10%, #6627a0 48%, #e34390 70%, #142c70); box-shadow: -1rem 1.4rem 1.8rem rgba(0, 0, 0, .55); }
.ad-creative__book span { font-size: .85rem; font-weight: 800; line-height: 1.05; text-transform: uppercase; transform: skewY(-3deg); }
.ad-creative__download { position: absolute; bottom: 1.6rem; left: 2.2rem; color: #12e2d0; font-size: 1rem; }
.ad-creative__brand { position: absolute; right: 1.6rem; bottom: 1.5rem; display: flex; align-items: center; gap: .45rem; font-size: 1.1rem; font-weight: 700; }
.ad-creative__brand i { display: grid; width: 1.7rem; height: 1.7rem; place-items: center; border: 2px solid #fff; border-radius: 50%; font-size: .5rem; font-style: normal; }
.linkedin-post__details { display: grid; gap: .1rem; padding: .85rem 1.25rem; background: #eaf2f9; }
.linkedin-post__details strong { font-size: 1rem; }
.linkedin-post__details span { color: #666; font-size: .85rem; }
.linkedin-post__download { padding: 1rem; color: #0967c2; font-size: 1.05rem; text-align: center; }
.linkedin-post__engagement { display: flex; justify-content: space-between; padding: .75rem 1.25rem; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; color: #666; font-size: .82rem; }
.linkedin-post__engagement span:first-child { color: #0a66c2; }
.linkedin-post__actions { display: grid; grid-template-columns: repeat(4, 1fr); padding: .75rem 1rem; color: #444; }
.linkedin-post__actions span { display: grid; gap: .1rem; place-items: center; font-size: 1rem; }
.linkedin-post__actions b { font-size: .76rem; }
.sloppedin-cover { position: absolute; inset: 0; display: grid; place-items: end center; padding: clamp(1.5rem, 6vw, 4rem); background: rgba(244, 241, 234, .88); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transition: background-color .35s var(--ease-out), backdrop-filter .35s var(--ease-out), -webkit-backdrop-filter .35s var(--ease-out); }
.sloppedin-cover__card { display: grid; width: min(100%, 34rem); place-items: center; gap: 1rem; padding: clamp(2rem, 6vw, 3.3rem); border: 1px solid rgba(255, 255, 255, .9); border-radius: 1.4rem; background: rgba(255, 255, 255, .88); box-shadow: 0 1rem 2.5rem rgba(43, 41, 36, .16); text-align: center; }
.sloppedin-cover__card > strong { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 500; line-height: 1; }
.sloppedin-cover__card > span { padding: .35rem 1rem; border-radius: 999px; background: #faead2; color: #8b5100; font-size: .92rem; font-weight: 700; }
.sloppedin-cover__button { min-height: 44px; padding: .8rem 1.4rem; border: 0; border-radius: 999px; background: #28231d; color: #fff; cursor: pointer; font: inherit; font-weight: 700; }
.sloppedin-cover__button:hover, .sloppedin-cover__button:focus-visible { background: #443b32; }
.sloppedin-cover__button:focus-visible { outline: 2px solid #8b5100; outline-offset: 3px; }
.post-demo--revealed .sloppedin-cover { pointer-events: none; background: transparent; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
.post-demo--revealed .sloppedin-cover__card { position: absolute; right: .75rem; bottom: .75rem; width: auto; padding: 0; border: 0; background: transparent; box-shadow: none; }
.post-demo--revealed .sloppedin-cover__card > strong, .post-demo--revealed .sloppedin-cover__card > span { display: none; }
.post-demo--revealed .sloppedin-cover__button { pointer-events: auto; min-height: 36px; padding: .55rem .9rem; border: 1px solid #d4cec3; border-radius: 0; background: rgba(244, 241, 234, .94); color: var(--text); font-size: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.problem { animation-delay: .18s; }
.section-pull { max-width: 42rem; margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2.8vw, 1.5rem); line-height: 1.45; color: var(--text); }
.approach { animation-delay: .22s; }
.approach h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.08; }
.approach h2 { max-width: 16ch; }
.site-footer { animation-delay: .38s; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.site-footer small { color: var(--text-secondary); font-size: .8rem; letter-spacing: .03em; }
.site-footer__link { color: var(--text-secondary); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-footer__link:hover, .site-footer__link:focus-visible { color: var(--text); text-decoration: underline; text-underline-offset: .25rem; }
@media (max-width: 540px) { .frame { --frame-padding-x: 1.35rem; } .topbar { align-items: flex-start; flex-direction: column; margin-bottom: 2.5rem; } .hero__actions { align-items: stretch; flex-direction: column; } .button { width: 100%; } .linkedin-post__copy { font-size: .87rem; } .company-mark { width: 3rem; height: 3rem; } .company-mark span { width: 2.2rem; height: 2.2rem; } .ad-creative { min-height: 285px; padding: 2rem 1.35rem; } .ad-creative::before { margin-left: 1.15rem; } .ad-creative__copy { max-width: 82%; gap: .9rem; } .ad-creative__book { opacity: .62; right: -4rem; } .ad-creative__download { left: 1.35rem; } .ad-creative__brand { display: none; } .linkedin-post__engagement span:last-child { display: none; } .sloppedin-cover { padding: 1rem; } .sloppedin-cover__card { padding: 2rem 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
