/* Never pan sideways on phones */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* /unwrapped — the page people land on to start a Wrap. Tokens from /w/unwrapped.css. */
.lp { background: var(--cream); }
.lp-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.lp-wrap--narrow { max-width: 560px; }
.lp code { font-family: var(--mono); font-size: .85em; background: rgba(127,127,127,.14); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }

.lp-top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: max(10px, env(safe-area-inset-top)) 20px 10px; background: var(--ink); color: var(--cream); }
.lp-logo { color: inherit; font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.lp-top__link { min-height: 44px; display: inline-flex; align-items: center; color: inherit; font-weight: 700; font-size: 15px; text-underline-offset: 4px; }

/* Hero */
.lp-hero { background: var(--ink); color: var(--cream); padding: 28px 0 64px; overflow: hidden; }
.lp-hero .mono { color: inherit; opacity: .7; }
.lp-hero__grid { display: grid; gap: 44px; align-items: center; }
.lp-title { margin: 14px 0 0; font-weight: 800; font-size: clamp(42px, 13.2vw, 112px); line-height: .86; letter-spacing: -.045em; }
.lp-title .serif { font-size: .6em; letter-spacing: 0; }
.lp-lede { margin: 22px 0 0; max-width: 34em; font-size: 19px; opacity: .88; }
.lp-price { margin-top: 26px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.07); max-width: 460px; }
.lp-price b { font-weight: 800; font-size: 34px; color: var(--gold); letter-spacing: -.02em; white-space: nowrap; }
.lp-price span { font-size: 15px; line-height: 1.35; opacity: .85; }
.lp-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-cta .btn--light { min-height: 54px; font-size: 18px; }

/* Phone peek: three stacked story cards */
.lp-phone { position: relative; height: 460px; max-width: 360px; width: 100%; margin: 0 auto; }
.lp-phone__card { position: absolute; width: 230px; height: 410px; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); padding: 22px 18px; display: flex; flex-direction: column; }
.lp-phone__card img { width: 100%; object-fit: cover; display: block; }
.lp-phone__card--back { left: 0; top: 30px; transform: rotate(-9deg); padding: 0; background: var(--ink-2); }
.lp-phone__card--back img { height: 100%; }
.lp-phone__card--mid { right: 0; top: 0; transform: rotate(7deg); background: var(--ink-2); color: var(--cream); gap: 2px; }
.lp-phone__card--mid .mono { font-size: 8px; color: inherit; opacity: .7; letter-spacing: .16em; }
.lp-phone__card--mid .serif { margin: 8px 0 0; font-size: 22px; line-height: 1; }
.lp-phone__card--mid b { font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -.02em; }
.lp-phone__card--mid img { margin-top: 14px; flex: 1; min-height: 0; border-radius: 14px; }
.lp-phone__card--front { left: 50%; top: 46px; margin-left: -115px; background: var(--red); color: #fff7f2; justify-content: center; animation: lp-float 6s ease-in-out infinite; }
.lp-phone__card--front .serif { margin: 0; font-size: 30px; line-height: 1; }
.lp-phone__card--front b { font-weight: 800; font-size: 34px; line-height: .9; letter-spacing: -.04em; }
.lp-phone__card--front b.red { font-size: 66px; color: var(--ink); }
.lp-phone__card--front .gold { margin-top: 10px; font-size: 22px; color: var(--gold); }
.lp-segs { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 3px; }
.lp-segs i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); }
.lp-segs i:first-child { background: #fff; }
@keyframes lp-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

/* Sections */
.lp-section { padding: 64px 0; }
.lp-section--ink { background: var(--ink); color: var(--cream); }
.lp-section--ink .mono { color: inherit; opacity: .7; }
.lp-h2 { margin: 10px 0 28px; font-weight: 800; font-size: clamp(32px, 8.5vw, 52px); line-height: .98; letter-spacing: -.03em; }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.lp-steps span { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: .14em; }
.lp-steps b { display: block; margin-top: 8px; font-size: 22px; letter-spacing: -.01em; }
.lp-steps p { margin: 8px 0 0; color: var(--muted); }

.lp-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(243,237,228,.18); }
.lp-chapters li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(243,237,228,.18); }
.lp-chapters b { font-size: 22px; letter-spacing: -.01em; }
.lp-chapters span { font-family: var(--serif); font-style: italic; font-size: 20px; opacity: .8; }
.lp-note { margin: 24px 0 0; display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 15px; }

/* Start form */
.lp-start { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 60px; }
.lp-start form { display: flex; flex-direction: column; gap: 18px; }
.lp-modes { display: grid; gap: 10px; }
.lp-mode { position: relative; display: block; cursor: pointer; }
.lp-mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-mode__box { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px 52px; border: 2px solid var(--line); border-radius: 16px; background: #fff; position: relative; transition: border-color .15s, box-shadow .15s; }
.lp-mode__box::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted); background: #fff; }
.lp-mode__box b { font-size: 19px; }
.lp-mode__box span { color: var(--muted); font-size: 15px; }
.lp-mode input:checked + .lp-mode__box { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.lp-mode input:checked + .lp-mode__box::before { border-color: var(--red); background: radial-gradient(circle, var(--red) 0 45%, #fff 50%); }
.lp-mode input:focus-visible + .lp-mode__box { outline: 3px solid var(--gold); outline-offset: 3px; }
.lp-pay { width: 100%; }
.lp-fine { margin: -6px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.lp-fine--test { color: var(--red); font-weight: 700; }
.lp-resume { margin: 0 0 20px; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: var(--cream); }
.lp-resume p { margin: 0; font-weight: 700; }
.lp-resume .linkbtn { color: inherit; opacity: .75; padding: 0; margin-top: 6px; }

/* FAQ */
.lp-faq { display: grid; gap: 10px; margin-top: 16px; }
.lp-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.lp-faq summary { min-height: 56px; display: flex; align-items: center; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; margin-left: auto; padding-left: 12px; font-size: 22px; color: var(--red); }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq p { margin: 0 0 18px; color: var(--muted); }

.lp-foot { display: flex; justify-content: space-between; align-items: center; padding: 24px 20px max(24px, env(safe-area-inset-bottom)); background: var(--ink); color: var(--cream); }
.lp-foot .mono { color: inherit; opacity: .6; }

@media (min-width: 860px) {
  .lp-hero { padding: 56px 0 84px; }
  .lp-hero__grid { grid-template-columns: 1.15fr .85fr; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-chapters { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (prefers-reduced-motion: reduce) { .lp-phone__card--front { animation: none; } }
