/* Ascent landing page (lp.ascendise.com) and its confirmation page.
   Loaded after styles.css and site.css, which the deploy copies in from the main site,
   so colours, fonts, buttons, cards, FAQ and footer all match ascendise.com. */

/* ---------- Hero picture: the community as an app window ---------- */
.lp .app { aspect-ratio: auto; display: flex; flex-direction: column; min-height: 500px; }
.app-top { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--hair); }
.app-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(240, 238, 230, .14); }
.app-top i:first-child { background: rgba(217, 119, 87, .7); }
.app-top span { margin-left: 10px; font: 600 12.5px/1 "Inter", sans-serif; color: var(--dim); letter-spacing: .02em; }
.app-body { flex: 1; display: grid; grid-template-columns: 44% 1fr; min-height: 0; }
.app-side { padding: 16px 12px 18px 14px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 5px; background: rgba(0, 0, 0, .14); }
.app-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.app-brand svg { width: 26px; height: 26px; }
.app-brand b { font: 700 15px/1 var(--head); }
.app-side small { font-size: 10.5px; letter-spacing: .04em; color: var(--dim); margin-top: 8px; white-space: nowrap; }
.app-side span { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-side span.on { background: rgba(217, 119, 87, .14); color: var(--text); }
.app-side .dot { flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--clay); transform: rotate(45deg); opacity: .8; }
.app-main { padding: 16px 16px 92px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.app-post { padding: 14px; border-radius: 14px; background: rgba(240, 238, 230, .04); border: 1px solid var(--hair); display: grid; gap: 10px; }
.ap-head { display: flex; align-items: center; gap: 10px; }
.ap-av { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(145deg, var(--clay), var(--clay-deep)); flex: none; }
.ap-head b { display: block; font: 700 13.5px/1.1 var(--head); }
.ap-head small { font-size: 11px; color: var(--clay-2); }
.ap-line { height: 7px; border-radius: 4px; background: rgba(240, 238, 230, .12); }
.ap-line.s { width: 62%; }
.app-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.app-steps li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; color: var(--dim); border: 1px solid transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-steps i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 10.5px/1 "Inter", sans-serif; font-style: normal; border: 1px solid var(--line-2); color: var(--muted); }
.app-steps .done { color: var(--muted); }
.app-steps .done i { background: rgba(143, 191, 138, .16); border-color: rgba(143, 191, 138, .5); color: var(--ok); }
.app-steps .now { color: var(--text); background: rgba(217, 119, 87, .1); border-color: rgba(217, 119, 87, .35); animation: stepGlow 3.2s ease-in-out infinite; }
.app-steps .now i { background: var(--clay); border-color: var(--clay); color: #1a1918; }
@keyframes stepGlow { 50% { box-shadow: 0 0 0 4px rgba(217, 119, 87, .08), 0 10px 30px -12px rgba(217, 119, 87, .6); } }
.app-bar { margin-top: auto; display: grid; gap: 7px; }
.app-bar .track { height: 6px; border-radius: 6px; background: rgba(240, 238, 230, .08); overflow: hidden; }
.app-bar .fill { height: 100%; width: 38%; border-radius: inherit; background: linear-gradient(90deg, var(--clay), var(--sand)); animation: barGrow 2.4s .6s cubic-bezier(.3, .7, .2, 1) both; transform-origin: 0 50%; }
@keyframes barGrow { from { transform: scaleX(0); } }
.app-bar small { font-size: 11px; color: var(--dim); }
.app-toast { position: absolute; right: 16px; bottom: 18px; display: flex; align-items: center; gap: 11px; padding: 11px 15px 11px 11px; border-radius: 16px; background: rgba(43, 42, 40, .92); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(10px); animation: toastIn 7s 1.4s ease-in-out infinite both; }
.app-toast .ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, var(--sand), var(--clay)); flex: none; }
.app-toast .ico svg { width: 18px; height: 18px; }
.app-toast b { display: block; font-size: 12.5px; }
.app-toast small { font-size: 11.5px; color: var(--muted); }
@keyframes toastIn { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 10%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 520px) {
  .lp .app { min-height: 380px; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-toast { left: 16px; right: 16px; }
}

/* ---------- Growth operating in 3 cards ---------- */
.gx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1140px; margin: 0 auto; }
.gx-card { position: relative; padding: 34px 30px 32px; border-radius: 28px; display: grid; align-content: start; gap: 14px; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.gx-card:hover { transform: translateY(-6px); border-color: rgba(217, 119, 87, .4); }
.gx-card.hot { background: linear-gradient(160deg, rgba(217, 119, 87, .18), rgba(43, 42, 40, .72) 62%); border-color: rgba(217, 119, 87, .3); }
.gx-n { position: absolute; right: 28px; top: 26px; font: 700 13px/1 var(--head); letter-spacing: .1em; color: var(--dim); }
.gx-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 8px; background: linear-gradient(160deg, #3a3834, #232220); border: 1px solid var(--line-2); box-shadow: 0 14px 30px -16px rgba(217, 119, 87, .6); }
.gx-ic svg { width: 38px; height: 38px; }
.gx-card h3 { font-size: 24px; }
.gx-card p { color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) { .gx { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- What's inside: the five spaces ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 18px; max-width: 1140px; margin: 0 auto; }
.app-card { padding: 30px 28px 28px; border-radius: 28px; display: grid; align-content: start; gap: 12px; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.app-card:hover { transform: translateY(-5px); border-color: rgba(217, 119, 87, .4); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 40px 70px -40px rgba(217, 119, 87, .45); }
.app-card.feat { grid-row: span 2; background: linear-gradient(160deg, rgba(217, 119, 87, .2), rgba(43, 42, 40, .72) 58%); border-color: rgba(217, 119, 87, .32); padding: 36px 34px; }
.ac-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ac-cat { font-size: 12.5px; color: var(--dim); white-space: nowrap; }
.app-card h3 { font-size: 23px; }
.app-card.feat h3 { font-size: clamp(28px, 3vw, 36px); }
.app-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.ac-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: ch; }
.ac-list li { counter-increment: ch; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px solid var(--hair); font-size: 15px; color: var(--muted); }
.ac-list li::before { content: counter(ch, decimal-leading-zero); font: 700 12px/1 var(--head); color: var(--clay-2); letter-spacing: .06em; }

/* App icon: warm dark tile, orange glow, two tone glyph (matches the Whop app icons) */
.ic { position: relative; width: 60px; height: 60px; flex: none; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(90% 90% at 30% 20%, #45413b, #262523 70%); border: 1px solid rgba(240, 238, 230, .14); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 16px 34px -14px rgba(217, 119, 87, .7); overflow: hidden; }
.ic::before { content: ""; position: absolute; inset: auto -30% -50% -30%; height: 80%; background: radial-gradient(closest-side, rgba(217, 119, 87, .45), transparent); }
.ic svg { position: relative; width: 38px; height: 38px; }
.ic-lg { width: 76px; height: 76px; border-radius: 22px; }
.ic-lg svg { width: 48px; height: 48px; }
@media (max-width: 900px) {
  .apps { grid-template-columns: 1fr 1fr; }
  .app-card.feat { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 600px) {
  .apps { grid-template-columns: 1fr; }
  .app-card.feat { grid-column: auto; padding: 30px 24px; }
  .app-card { padding: 26px 22px; }
}

/* ---------- The Roadmap: seven steps on a line that fills as you scroll ---------- */
.rm { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; position: relative; }
.rm::before, .rm::after { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; border-radius: 2px; background: var(--line-2); }
.rm::after { bottom: auto; height: 0; background: linear-gradient(var(--clay), var(--sand)); transition: height 2.2s cubic-bezier(.3, .7, .2, 1) .3s; }
.rm.in::after { height: calc(100% - 64px); }
.rm li { position: relative; z-index: 1; display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; padding-bottom: 18px; opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.2s + var(--n) * .18s); }
.rm li:last-child { padding-bottom: 0; }
.rm.in li { opacity: 1; transform: none; }
.rm li > i { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font: 700 24px/1 var(--head); font-style: normal; color: var(--sand); background: linear-gradient(160deg, #3a3834, #232220); border: 1px solid var(--line-2); box-shadow: 0 14px 30px -18px rgba(217, 119, 87, .7); }
.rm li:last-child > i { background: linear-gradient(160deg, var(--clay), var(--clay-deep)); color: #1a1918; border-color: var(--clay); }
.rm li > div { padding: 18px 22px 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--hair); display: grid; gap: 6px; transition: border-color .3s, transform .4s var(--ease); }
.rm li:hover > div { border-color: rgba(217, 119, 87, .35); transform: translateX(4px); }
.rm-k { font: 600 11.5px/1 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-2); }
.rm b { font: 700 21px/1.25 var(--head); }
.rm li > div > span:last-child { color: var(--muted); font-size: 16px; line-height: 1.55; }
@media (max-width: 600px) {
  .rm::before, .rm::after { left: 23px; }
  .rm li { grid-template-columns: 48px 1fr; column-gap: 14px; }
  .rm li > i { width: 48px; height: 48px; border-radius: 15px; font-size: 19px; }
  .rm li > div { padding: 16px 18px; }
  .rm b { font-size: 19px; }
}
.no-motion .rm li, .no-motion .rm::after { transition: none; }
@media (prefers-reduced-motion: reduce) { .rm li, .rm::after { transition: none; } }

/* ---------- Not for you list (crosses) ---------- */
.xs { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.xs li { position: relative; padding-left: 32px; color: var(--muted); line-height: 1.5; }
.xs li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(240, 238, 230, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%23a29e92' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* ---------- Founder ---------- */
.lp #founder { padding-top: 0; }
.fdr { max-width: 860px; margin: 0 auto; padding: clamp(30px, 4vw, 48px); border-radius: 30px; display: grid; grid-template-columns: auto 1fr; gap: 10px 30px; align-items: center; }
.fdr-mark svg { width: 72px; height: 72px; filter: drop-shadow(0 16px 30px rgba(217, 119, 87, .4)); }
.fdr blockquote { margin: 0; }
.fdr blockquote p { font: 500 clamp(19px, 2vw, 23px)/1.5 var(--head); letter-spacing: -.01em; }
.fdr figcaption { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; color: var(--muted); font-size: 15px; }
.fdr figcaption b { font-size: 16px; }
.fdr figcaption a { color: var(--clay-2); }
@media (max-width: 600px) { .fdr { grid-template-columns: 1fr; text-align: center; } .fdr-mark svg { margin: 0 auto; } .fdr figcaption { grid-column: auto; justify-content: center; } }

/* ---------- Confirmation page ---------- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }
.lp .ty { padding: clamp(40px, 6vw, 80px) 0 20px; }
.lp .ty h1 { max-width: 13em; margin-inline: auto; }
.lp .ty .lead { max-width: 560px; }
.go { max-width: 720px; margin: 40px auto 0; padding: clamp(26px, 4vw, 40px); border-radius: 30px; text-align: center; display: grid; gap: 16px; justify-items: center; background: linear-gradient(160deg, rgba(217, 119, 87, .2), rgba(43, 42, 40, .75) 60%); border-color: rgba(217, 119, 87, .34); }
.go-top { display: flex; align-items: center; gap: 14px; text-align: left; }
.go-top b { display: block; font: 700 21px/1.2 var(--head); }
.go-top small { color: var(--muted); font-size: 15px; }
.go .btn { padding: 18px 30px; font-size: 17px; }
.go-note { color: var(--dim); font-size: 14px; }
@media (max-width: 600px) { .go .btn { width: 100%; } }
.lp .ty-flow .callflow b { font-size: 20px; }
.lp .ty-duo .prep label { font-size: 15.5px; }
.tip { max-width: 1000px; margin: 22px auto 0; padding: 22px 26px; border-radius: 22px; display: flex; gap: 16px; align-items: center; border: 1px dashed rgba(217, 119, 87, .35); background: rgba(217, 119, 87, .05); color: var(--muted); }
.tip svg { width: 26px; height: 26px; flex: none; color: var(--clay-2); }
.tip b { color: var(--text); }
.prep-done { color: var(--ok); font-size: 14px; min-height: 1.4em; }
.lp-404 { font-size: clamp(36px, 6vw, 60px); margin-bottom: 18px; }

/* ---------- Phones: more room, fewer boxes, centred (laptop unchanged) ---------- */
@media (max-width: 600px) {
  /* Not for you list: centred as a block, crosses stay with their lines */
  .split .xs { display: inline-grid; text-align: left; }
  /* Growth operating cards: centred */
  .gx { gap: 14px; }
  .gx-card { justify-items: center; text-align: center; }
  /* The five spaces: icon, label and words centred */
  .app-card, .app-card.feat { justify-items: center; text-align: center; }
  .ac-top { flex-direction: column; gap: 10px; }
  /* Playbook chapters: rows with thin lines instead of stacked pills */
  .ac-list { gap: 0; width: 100%; }
  .ac-list li { padding: 12px 2px; border: 0; border-top: 1px solid var(--hair); border-radius: 0; background: none; justify-content: center; }
  /* Roadmap: each step centred under its number, no box around it */
  .rm { gap: 34px; }
  .rm::before, .rm::after { display: none; }
  .rm li { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 14px; padding-bottom: 0; }
  .rm li > div { padding: 0; background: none; border: 0; border-radius: 0; gap: 6px; justify-items: center; }
  .rm li:hover > div { transform: none; }
}
