/* PandaBooks landing page only. The sign-up, billing and help pages keep using site.css alone. */
:root { --deep:#1b1d23; --teal:#0b0c0f; --amber:#fef3e2; --amber-ink:#0b0c0f; --cream:#fef3e2; }

.landing { overflow-x: clip; }
.landing .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.landing h1, .landing h2, .landing h3 { letter-spacing: -.02em; }

/* ---------- hero ---------- */
.l-hero { position: relative; color: #fff; background: radial-gradient(1200px 520px at 85% -10%, rgba(254,243,226,.14), transparent 60%), linear-gradient(160deg, var(--teal) 0%, var(--deep) 100%); }
.l-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding-top: 64px; padding-bottom: 84px; }
.l-hero .eyebrow { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.l-hero h1 { color: #fff !important; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; font-weight: 800; margin: 0 0 18px; text-align: left; }
.l-hero h1 em { font-style: normal; color: var(--amber); }
.l-hero p.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: rgba(255,255,255,.88); max-width: 560px; margin: 0 0 28px; text-align: left; }
.l-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none !important; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.l-btn:hover { transform: translateY(-2px); }
.l-btn.primary { background: var(--amber); color: var(--amber-ink) !important; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.l-btn.ghost { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.55); }
.l-btn.ghost:hover { background: rgba(255,255,255,.16); }
.l-btn svg { width: 20px; height: 20px; flex: none; }

.l-hero .l-ask { margin: 16px 0 0; font-size: 15.5px; color: rgba(255,255,255,.82); }
.l-hero .l-ask a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.l-art { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; }
.l-art .disc { position: absolute; inset: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 30px 70px rgba(0,0,0,.35), 0 0 0 10px rgba(254,243,226,.95); }
.l-art picture, .l-art img.panda { position: absolute; left: 50%; top: 52%; width: 78%; transform: translate(-50%, -50%); height: auto; }
.l-chip { position: absolute; background: #fff; color: #14202b; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; box-shadow: 0 14px 30px rgba(0,0,0,.28); white-space: nowrap; }
.l-chip i { width: 26px; height: 26px; border-radius: 8px; background: var(--teal); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 15px; }
.l-chip.c1 { left: -22px; top: 12%; animation: l-float 6s ease-in-out infinite; }
.l-chip.c2 { right: -18px; top: 44%; animation: l-float 6s ease-in-out -2s infinite; }
.l-chip.c3 { left: 2%; bottom: 6%; animation: l-float 6s ease-in-out -4s infinite; }
@keyframes l-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .l-chip { animation: none !important; } .l-btn { transition: none; } }

.l-wave { display: block; width: 100%; height: 46px; margin-top: -45px; position: relative; }
.l-wave path { fill: var(--bg); }

/* ---------- proof strip ---------- */
.l-strip { margin-top: -6px; }
.l-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 6px; padding-bottom: 8px; }
.l-strip .wrap > div { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.l-strip i { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.l-strip svg { width: 22px; height: 22px; }

/* ---------- sections ---------- */
.l-sec { padding: 64px 0 20px; }
.l-sec .kicker { text-align: center; color: var(--brand); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.l-sec h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; font-weight: 800; }
.l-sec .sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 34px; }

.l-feat { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.l-feat article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.l-feat article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,12,15,.12); border-color: var(--brand); }
.l-feat .ic { width: 54px; height: 54px; border-radius: 15px; background: var(--amber); color: var(--amber-ink); display: grid; place-items: center; margin-bottom: 16px; }
.l-feat .ic svg { width: 28px; height: 28px; }
.l-feat h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; }
.l-feat p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.55; }

/* ---------- plans (v2): drawn by plans.js ---------- */
.landing #plans { padding-top: 72px; padding-bottom: 8px; }
.landing .seg { box-shadow: 0 1px 0 var(--line); margin-bottom: 30px; }
.landing .seg button { font-weight: 600; padding: 9px 22px; }
.landing .seg button.on { background: var(--teal); color: #fff; }
.landing .plans { display: grid; gap: 18px; align-items: stretch; justify-content: center; margin: 6px auto 0; padding-top: 16px; }
.landing .plans.n1 { grid-template-columns: minmax(280px, 400px); }
.landing .plans.n2 { grid-template-columns: repeat(2, minmax(260px, 380px)); }
.landing .plans.n3 { grid-template-columns: repeat(3, minmax(250px, 1fr)); }
.landing .plans.n4 { grid-template-columns: repeat(4, minmax(220px, 1fr)); }

.landing .plan { position: relative; display: flex; flex-direction: column; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px 26px; transition: transform .18s ease, box-shadow .18s ease; }
.landing .plan:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(11,12,15,.14); }
.landing .plan h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: .01em; }
.landing .plan .per { color: var(--muted); font-size: 14.5px; min-height: 42px; margin: 4px 0 14px; line-height: 1.4; }
.landing .plan .price { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.landing .plan .price small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.landing .plan .note { min-height: 22px; margin: 6px 0 16px; font-size: 14px; color: var(--muted); }
.landing .plan .note b { color: var(--brand); font-weight: 800; }
.landing .plan .btn { min-height: 50px; border-radius: 12px; font-weight: 800; font-size: 16px; }
.landing .plan .btn:not(.ghost) { background: var(--amber); border-color: var(--amber); color: var(--amber-ink) !important; box-shadow: 0 8px 20px rgba(11,12,15,.18); }
.landing .plan .btn.ghost { border: 2px solid var(--teal); color: var(--teal) !important; background: transparent; }
.landing .plan .btn.ghost:hover { background: var(--brand-soft); }

.landing .plan .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 16px; }
.landing .plan .stats div { background: var(--brand-soft); border-radius: 12px; padding: 10px 6px; text-align: center; line-height: 1.15; }
.landing .plan .stats b { display: block; font-size: 19px; font-weight: 800; color: var(--ink); }
.landing .plan .stats span { font-size: 12px; color: var(--muted); font-weight: 600; }

.landing .plan ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.landing .plan li { position: relative; padding-left: 28px; margin: 10px 0; font-size: 15.5px; line-height: 1.4; }
.landing .plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* the popular plan: deep teal, a little taller, amber ribbon */
.landing .plan.hot { background: linear-gradient(165deg, var(--teal), var(--deep)); color: #fff; border: 0; transform: scale(1.04); box-shadow: 0 28px 60px rgba(11,12,15,.45); z-index: 1; }
.landing .plan.hot:hover { transform: scale(1.04) translateY(-4px); }
.landing .plan.hot h3, .landing .plan.hot .price { color: #fff; }
.landing .plan.hot .per, .landing .plan.hot .note, .landing .plan.hot .price small { color: rgba(255,255,255,.80); }
.landing .plan.hot .note b { color: var(--amber); }
.landing .plan.hot .stats div { background: rgba(255,255,255,.12); }
.landing .plan.hot .stats b { color: #fff; } .landing .plan.hot .stats span { color: rgba(255,255,255,.78); }
.landing .plan.hot li::before { background-color: rgba(255,255,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fbbf24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E"); }
.landing .plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber); color: var(--amber-ink); font-size: 13px; font-weight: 800; padding: 5px 16px; margin: 0; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(0,0,0,.2); }

/* free-trial banner above the plans */
.landing .l-trial { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; max-width: 1080px; margin: 0 auto 30px; padding: 22px 28px; border-radius: 20px; background: var(--warn-soft); border: 2px solid var(--amber); box-shadow: 0 14px 34px rgba(251,191,36,.18); }
.landing .l-trial .txt { display: flex; flex-direction: column; gap: 4px; min-width: 240px; flex: 1; }
.landing .l-trial .free { align-self: flex-start; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; padding: 3px 10px; border-radius: 999px; }
.landing .l-trial b { font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.landing .l-trial span:last-child { color: var(--muted); font-size: 16px; }
.landing .l-trial .btn { min-height: 52px; padding: 0 28px; border-radius: 12px; font-weight: 800; font-size: 17px; background: var(--amber); border-color: var(--amber); color: var(--amber-ink) !important; box-shadow: 0 8px 20px rgba(11,12,15,.18); }
@media (max-width: 640px) { .landing .l-trial { padding: 20px; } .landing .l-trial .btn { width: 100%; } }

/* the "talk to us" card: dotted outline, no price */
.landing .plan.custom { background: transparent; border: 2px dashed var(--line); }
.landing .plan.custom .price { font-size: 30px; padding-top: 8px; }
.landing .plan ul.solo { margin-top: 18px; }

@media (max-width: 1020px) { .landing .plans.n4, .landing .plans.n3 { grid-template-columns: repeat(2, minmax(240px, 1fr)); } }
@media (max-width: 640px) {
	.landing .plans.n4, .landing .plans.n3, .landing .plans.n2 { grid-template-columns: 1fr; }
	.landing .plan.hot, .landing .plan.hot:hover { transform: none; }
	.landing .plan .per { min-height: 0; }
}

/* ---------- community band ---------- */
.l-community { margin: 56px 0 10px; }
.l-community .box { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--warn-soft); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; }
.l-community .mini { width: 92px; height: 92px; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.14), 0 0 0 5px var(--amber); display: grid; place-items: center; }
.l-community .mini img { width: 74%; height: auto; }
.l-community h3 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.l-community p { margin: 0; color: var(--muted); font-size: 17px; }
.l-btn.wa { background: #1faa59; color: #fff !important; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
	.l-hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 70px; gap: 30px; }
	.l-hero .eyebrow, .l-hero h1, .l-hero p.lead { text-align: left; }
	.l-art { width: min(78vw, 340px); order: -1; margin: 0 auto; }
	.l-chip.c1 { left: -8px; } .l-chip.c2 { right: -8px; }
	.l-strip .wrap { grid-template-columns: 1fr; }
	.l-community .box { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; }
	.l-sec { padding-top: 48px; }
}
@media (max-width: 420px) { .l-btn { width: 100%; } .l-chip { font-size: 13px; padding: 8px 11px; } }

/* header logo badge (site.css carries the sizing for the shared header) */

/* explainer video */
.l-video{padding:56px 0 8px}
.l-video .vbox{max-width:880px;margin:26px auto 0;border-radius:22px;overflow:hidden;box-shadow:0 22px 50px rgba(11,12,15,.25);background:#0b0c0f;aspect-ratio:16/9}
.l-video video{display:block;width:100%;height:100%;object-fit:cover;background:#0b0c0f}

/* "Does this sound like your shop?": plain statements of the problem, no icons */
.l-pain .l-feat { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.l-pain .l-feat article { border-left: 4px solid var(--amber); }
.l-pain .l-feat article:hover { transform: none; box-shadow: none; border-color: var(--line); border-left-color: var(--amber); }
.l-pain h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.l-pain p { margin: 0; color: var(--muted); }

/* Panda look: cream buttons need an edge on white cards */
.landing .plan .btn:not(.ghost) { border: 2px solid #0b0c0f; }
.landing .plan.hot .btn:not(.ghost) { border-color: #fef3e2; }
.l-feat .ic { box-shadow: inset 0 0 0 1px rgba(11,12,15,.12); }
