:root {
    --orange: #f36b21;
    --orange-dark: #d94f0b;
    --orange-soft: #fff0e6;
    --yellow: #f6bd35;
    --yellow-soft: #fff7dc;
    --ink: #22252d;
    --slate: #5e6573;
    --muted: #858b96;
    --line: #e7e5e1;
    --line-strong: #d8d5cf;
    --paper: #ffffff;
    --cream: #fffaf3;
    --cream-deep: #f9f3e9;
    --green: #269263;
    --red: #c83e3e;
    --font: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --container: 1180px;
    --header-height: 72px;
    --radius-sm: 8px;
    --radius: 10px;
    --radius-lg: 12px;
    --shadow-soft: 0 12px 35px rgba(45, 34, 24, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.p-hero-grid > *, .p-menu-demo-grid > *, .p-section-head-left > *, .p-benefits-grid > *,
.p-faq-grid > *, .p-footer-grid > *, .p-auth-layout > *, .p-form-grid > * { min-width: 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.035em; }

.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--orange); border-color: var(--orange); box-shadow: 0 5px 14px rgba(243, 107, 33, .2); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-outline { color: var(--ink); background: #fff; border-color: var(--line-strong); }
.btn-outline:hover { color: var(--orange-dark); border-color: var(--orange); background: var(--orange-soft); }
.btn-ghost { background: transparent; color: var(--slate); }
.btn-ghost:hover { color: var(--orange-dark); background: var(--orange-soft); }
.btn-light { color: var(--orange-dark); background: #fff; border-color: #fff; box-shadow: 0 8px 20px rgba(116, 45, 9, .15); }
.btn-light:hover { background: var(--yellow-soft); }
.btn-lg { min-height: 50px; padding: 13px 23px; font-size: .95rem; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .84rem; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(243, 107, 33, .25); outline-offset: 2px; }

/* Header */
.p-header { height: var(--header-height); position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96); border-bottom: 1px solid rgba(231, 229, 225, .9); }
.p-header.scrolled { box-shadow: 0 7px 24px rgba(38, 30, 23, .06); }
.p-header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.p-brand { width: max-content; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.p-brand:hover { opacity: .92; }
.p-brand-logo { height: 38px; max-height: 38px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.p-brand-mark { width: 38px; height: 38px; position: relative; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 9px; font-size: 1.08rem; overflow: hidden; }
.p-brand-mark > span { position: absolute; width: 20px; height: 5px; right: -5px; bottom: 3px; background: var(--yellow); transform: rotate(-35deg); }
.p-brand-name { font-size: 1.18rem; letter-spacing: -.04em; }
.p-brand-name span { color: var(--orange); }
.p-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.p-nav a { position: relative; padding: 10px 14px; color: var(--slate); font-size: .88rem; font-weight: 600; text-decoration: none; background: transparent; transition: color .18s ease; }
.p-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2.5px; background: var(--orange); border-radius: 2px; opacity: 0; transform: scaleX(0); transform-origin: center; transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s ease; }
.p-nav a:hover { color: var(--orange-dark); background: transparent; }
.p-nav a:hover::after { opacity: .75; transform: scaleX(1); }
.p-nav a.active { color: var(--orange-dark); font-weight: 700; background: transparent; }
.p-nav a.active::after { opacity: 1; transform: scaleX(1); }
.p-header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.p-header-prompt { color: var(--muted); font-size: .78rem; }
.p-hamburger { display: none; justify-self: end; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.p-hamburger span { width: 20px; height: 2px; display: block; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.p-hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.p-hamburger.active span:nth-child(2) { opacity: 0; }
.p-hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.p-mobile-menu { position: absolute; inset: var(--header-height) 0 auto; padding: 12px 0 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(31, 27, 23, .08); }
.p-mobile-menu nav { display: grid; }
.p-mobile-menu nav > a { padding: 12px 8px; color: var(--slate); font-size: .94rem; font-weight: 650; border-bottom: 1px solid #f3f1ed; }
.p-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; }

/* Hero */
.p-hero { padding: 72px 0 76px; background: var(--cream); border-bottom: 1px solid #f1e9dc; overflow: hidden; }
.p-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 68px; }
.p-eyebrow, .p-section-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 17px; color: var(--orange-dark); font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.p-eyebrow { padding: 7px 11px; background: var(--orange-soft); border: 1px solid #ffd9c0; border-radius: 999px; letter-spacing: .025em; text-transform: none; }
.p-hero h1 { max-width: 610px; margin-bottom: 22px; font-size: clamp(2.5rem, 4vw, 4.05rem); font-weight: 800; }
.p-hero h1 em { color: var(--orange); font-style: normal; }
.p-hero-copy > p { max-width: 610px; margin-bottom: 28px; color: var(--slate); font-size: 1.04rem; line-height: 1.8; }
.p-hero-actions { display: flex; gap: 11px; margin-bottom: 23px; flex-wrap: wrap; }
.p-hero-notes { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; color: var(--slate); font-size: .75rem; }
.p-hero-notes span { display: inline-flex; align-items: center; gap: 5px; }
.p-hero-notes i { color: var(--green); }
.p-hero-visual { position: relative; padding: 12px 0 30px 12px; }
.p-hero-custom-image { width: 100%; max-height: 520px; object-fit: cover; border: 1px solid #dedad3; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(63, 43, 27, .13); }
.p-workspace { position: relative; border: 1px solid #dedad3; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 24px 60px rgba(63, 43, 27, .13); overflow: hidden; transform: rotate(1deg); }
.p-workspace-top { height: 62px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.p-workspace-logo { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 7px; }
.p-workspace-top div { display: grid; line-height: 1.2; }
.p-workspace-top strong { font-size: .73rem; }
.p-workspace-top small { color: var(--muted); font-size: .61rem; }
.p-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: var(--green); background: #edf9f3; border-radius: 999px; font-size: .62rem; font-weight: 700; }
.p-live i { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.p-workspace-content { min-height: 355px; display: grid; grid-template-columns: 122px 1fr; }
.p-workspace-content aside { display: flex; flex-direction: column; gap: 5px; padding: 18px 10px; background: #fbfaf8; border-right: 1px solid var(--line); }
.p-workspace-content aside span { display: flex; align-items: center; gap: 7px; padding: 8px; color: var(--muted); border-radius: 6px; font-size: .61rem; font-weight: 650; }
.p-workspace-content aside span.active { color: var(--orange-dark); background: var(--orange-soft); }
.p-workspace-content aside b { margin-left: auto; font-size: .57rem; }
.p-workspace-main { min-width: 0; padding: 21px; }
.p-workspace-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-workspace-title > div { display: grid; }
.p-workspace-title small { color: var(--muted); font-size: .62rem; }
.p-workspace-title strong { font-size: .92rem; }
.p-workspace-title button { padding: 7px 9px; color: #fff; background: var(--orange); border: 0; border-radius: 6px; font-size: .58rem; font-weight: 700; }
.p-workspace-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 19px 0; }
.p-workspace-stats > div { display: flex; align-items: center; gap: 10px; padding: 13px; background: var(--cream); border: 1px solid #f1e9dd; border-radius: 8px; }
.p-workspace-stats i { width: 29px; height: 29px; display: grid; place-items: center; color: var(--orange-dark); background: #fff; border-radius: 6px; }
.p-workspace-stats span { display: grid; }
.p-workspace-stats strong { font-size: .86rem; line-height: 1.1; }
.p-workspace-stats small { color: var(--muted); font-size: .54rem; }
.p-workspace-list { padding-top: 4px; }
.p-workspace-list > span { display: block; margin-bottom: 8px; color: var(--slate); font-size: .62rem; font-weight: 750; }
.p-workspace-list > div { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--line); }
.p-workspace-list img { width: 38px; height: 38px; object-fit: cover; border-radius: 6px; }
.p-workspace-list p { display: grid; margin: 0; }
.p-workspace-list p strong, .p-workspace-list > div > b { font-size: .62rem; }
.p-workspace-list p small { color: var(--muted); font-size: .54rem; }
.p-qr-note { position: absolute; right: -17px; bottom: 0; display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-soft); transform: rotate(-2deg); }
.p-qr-note > i { color: var(--orange); font-size: 1.75rem; }
.p-qr-note span { display: grid; line-height: 1.25; }
.p-qr-note strong { font-size: .69rem; }
.p-qr-note small { color: var(--muted); font-size: .58rem; }

/* Proof strip */
.p-proof { padding: 21px 0; border-bottom: 1px solid var(--line); background: #fff; }
.p-proof .container { display: flex; align-items: center; justify-content: center; gap: 36px; }
.p-proof .container > span { color: var(--muted); font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; }
.p-proof .container > div { display: flex; gap: 31px; }
.p-proof strong { display: inline-flex; align-items: center; gap: 7px; color: var(--slate); font-size: .79rem; }
.p-proof i { color: var(--orange); }

/* Shared section */
.p-menu-demo, .p-steps, .p-features, .p-benefits, .p-joined-tenants, .p-pricing, .p-faq { padding: 94px 0; }
.p-section-head { max-width: 670px; margin: 0 auto 49px; text-align: center; }
.p-section-head h2, .p-menu-demo-copy h2, .p-benefits-copy h2, .p-faq-intro h2 { margin-bottom: 15px; font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
.p-section-head p, .p-menu-demo-copy > p, .p-benefits-copy > p, .p-faq-intro > p { margin-bottom: 0; color: var(--slate); font-size: .95rem; line-height: 1.8; }
.p-section-head-left { max-width: none; display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 50px; text-align: left; }
.p-section-head-left h2 { margin-bottom: 0; }
.p-section-head-action { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; text-align: left; }
.p-section-head-action h2 { max-width: 720px; }
.p-section-head-action p { max-width: 760px; }

/* Customer menu preview */
.p-menu-demo { background: #fff; }
.p-menu-demo-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 78px; }
.p-menu-demo-copy ul { margin: 25px 0; padding: 0; list-style: none; }
.p-menu-demo-copy li { display: flex; gap: 10px; padding: 9px 0; color: var(--slate); font-size: .87rem; }
.p-menu-demo-copy li i { color: var(--green); font-size: 1.1rem; }
.p-menu-demo-copy > a { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dark); font-size: .88rem; font-weight: 750; }
.p-menu-demo-copy > a:hover { gap: 12px; }
.menu-preview { width: 100%; max-width: 720px; min-width: 0; margin-left: auto; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: 0 22px 55px rgba(15, 23, 42, .09); overflow: hidden; }
.menu-preview-storebar { height: 74px; display: grid; place-items: center; background: #fff; border-bottom: 1px solid #e5e7eb; }
.menu-preview-storebar img { max-width: 128px; max-height: 48px; object-fit: contain; }
.menu-preview-storebar strong { color: #1f2937; font-size: .85rem; }
.menu-preview-body { position: relative; padding: 13px 28px 55px; background: linear-gradient(180deg, #fbfdff 0%, #fff 42%); }
.menu-preview-search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; color: #64748b; background: #fff; border: 1px solid #dbe3ef; border-radius: 10px; box-shadow: 0 8px 22px rgba(15, 23, 42, .03); font-size: .76rem; }
.menu-preview-search i { color: #446083; font-size: 1.05rem; }
.menu-preview-tabs { display: flex; gap: 8px; padding: 13px 0 20px; overflow-x: auto; scrollbar-width: none; }
.menu-preview-tabs::-webkit-scrollbar { display: none; }
.menu-preview-tabs span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 17px; color: #64748b; background: #fff; border: 1px solid #dbe3ef; border-radius: 999px; font-size: .7rem; font-weight: 750; white-space: nowrap; box-shadow: 0 9px 20px rgba(15, 23, 42, .04); }
.menu-preview-tabs span.active { color: #fff; background: #1f2937; border-color: #1f2937; box-shadow: 0 9px 18px rgba(15, 23, 42, .16); }
.menu-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; color: #1e293b; }
.menu-preview-heading h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 1rem; }
.menu-preview-heading h3 i { color: var(--orange); font-size: .9rem; }
.menu-preview-heading span { color: #64748b; font-size: .68rem; font-weight: 800; }
.menu-preview-products { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-height: 294px; overflow: hidden; }
.menu-product { min-width: 0; display: grid; grid-template-columns: 136px minmax(0, 1fr); min-height: 134px; background: #fff; border: 1px solid #dbe3ef; border-radius: 10px; overflow: hidden; }
.menu-product-image { position: relative; min-height: 134px; background: #eef2f7; }
.menu-product-image img { width: 100%; height: 100%; object-fit: cover; }
.menu-product-placeholder img { opacity: .78; object-fit: contain; padding: 20px; filter: grayscale(.15); }
.menu-product-copy { min-width: 0; display: grid; align-content: center; padding: 16px 18px; }
.menu-product-badge { width: max-content; margin-bottom: 8px; padding: 5px 9px; color: var(--orange-dark); background: #fff1e8; border-radius: 999px; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.menu-product-copy h3 { margin-bottom: 6px; font-size: .86rem; letter-spacing: 0; }
.menu-product-copy p { min-height: 38px; margin-bottom: 13px; color: #64748b; font-size: .67rem; line-height: 1.55; }
.menu-product-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.menu-product-copy strong { color: #1e293b; font-size: .84rem; }
.menu-product-copy button { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--orange); border: 0; border-radius: 10px; box-shadow: 0 9px 17px rgba(249, 115, 22, .22); font-size: .9rem; }
.menu-preview-cart { position: absolute; left: 50%; bottom: 22px; width: min(520px, calc(100% - 112px)); min-height: 58px; display: grid; grid-template-columns: 42px 1fr auto 28px; align-items: center; gap: 13px; padding: 8px 13px; color: #fff; background: #334155; border-radius: 999px; box-shadow: 0 17px 36px rgba(15, 23, 42, .24); transform: translateX(-50%); font-size: .74rem; }
.menu-preview-cart span:not(.menu-cart-count) { display: grid; gap: 1px; font-weight: 800; }
.menu-preview-cart small { color: #cbd5e1; font-size: .65rem; font-weight: 600; }
.menu-preview-cart strong { white-space: nowrap; }
.menu-preview-cart > i { width: 26px; height: 26px; display: grid; place-items: center; color: #cbd5e1; background: rgba(255, 255, 255, .12); border-radius: 50%; }
.menu-cart-count { width: 42px; height: 42px; display: grid; place-items: center; background: #e11d48; border-radius: 50%; font-weight: 800; }

/* Steps */
.p-steps { background: var(--cream); border-block: 1px solid #f1eadf; }
.p-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.p-steps-grid article { position: relative; min-height: 255px; padding: 29px 37px 0 0; border-right: 1px solid var(--line-strong); }
.p-steps-grid article + article { padding-left: 37px; }
.p-steps-grid article:last-child { border-right: 0; }
.p-steps-grid article > span { color: var(--orange); font-size: .72rem; font-weight: 800; }
.p-steps-grid article > i { width: 45px; height: 45px; display: grid; place-items: center; margin: 29px 0 18px; color: var(--orange-dark); background: var(--orange-soft); border-radius: 10px; font-size: 1.15rem; }
.p-steps-grid h3 { margin-bottom: 10px; font-size: 1.12rem; }
.p-steps-grid p { margin: 0; color: var(--slate); font-size: .83rem; line-height: 1.75; }

/* Features */
.p-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.p-feature-item { min-height: 205px; display: flex; gap: 17px; padding: 29px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-feature-icon { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; color: var(--orange-dark); background: var(--yellow-soft); border-radius: 9px; }
.p-feature-item h3 { margin: 2px 0 9px; font-size: .99rem; }
.p-feature-item p { margin: 0; color: var(--slate); font-size: .8rem; line-height: 1.72; }

/* Benefits */
.p-benefits { background: var(--cream-deep); }
.p-benefits-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: 85px; }
.p-benefits-copy { position: sticky; top: calc(var(--header-height) + 36px); }
.p-channel-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.p-channel-row span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--slate); background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: .7rem; font-weight: 700; }
.p-channel-row i { color: var(--orange); }
.p-benefit-list { border-top: 1px solid var(--line-strong); }
.p-benefit-list > div { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 23px 0; border-bottom: 1px solid var(--line-strong); }
.p-benefit-list > div > span { color: var(--orange); font-size: .66rem; font-weight: 800; }
.p-benefit-list p { display: grid; gap: 5px; margin: 0; color: var(--slate); font-size: .81rem; }
.p-benefit-list strong { color: var(--ink); font-size: .96rem; }

/* Joined tenants */
.p-joined-tenants { background: #faf8f5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.p-tenant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.p-tenant-card { display: flex; flex-direction: column; height: 100%; }
.p-tenant-card-link { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; background: #ffffff; border: 1px solid #ede7df; border-radius: 16px; text-decoration: none; position: relative; overflow: hidden; box-shadow: 0 2px 8px rgba(35, 25, 15, .03); transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), border-color .22s ease, box-shadow .22s cubic-bezier(0.16, 1, 0.3, 1); }
.p-tenant-card-link::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #ea580c, #f59e0b); opacity: 0; transition: opacity .22s ease; }
.p-tenant-card-link:hover { transform: translateY(-4px); border-color: #f7b68f; box-shadow: 0 16px 32px -8px rgba(234, 88, 12, .12), 0 4px 12px rgba(35, 25, 15, .04); }
.p-tenant-card-link:hover::before { opacity: 1; }
.p-tenant-card-top { display: flex; align-items: center; gap: 13px; }
.p-tenant-logo-wrap { flex-shrink: 0; }
.p-tenant-logo { width: 50px; height: 50px; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #ffffff; border: 1px solid #f1ece5; box-shadow: 0 2px 6px rgba(0, 0, 0, .04); transition: transform .2s ease; }
.p-tenant-card-link:hover .p-tenant-logo { transform: scale(1.05); }
.p-tenant-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.p-tenant-initial { color: #ffffff; font-size: 1.3rem; font-weight: 800; line-height: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.p-tenant-main-info { min-width: 0; flex: 1; }
.p-tenant-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p-tenant-name { margin: 0; font-size: 1.02rem; font-weight: 750; color: var(--ink); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .18s ease; }
.p-tenant-card-link:hover .p-tenant-name { color: var(--orange-dark); }
.p-tenant-badge-status { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; background: rgba(22, 163, 74, .08); border: 1px solid rgba(22, 163, 74, .2); border-radius: 999px; color: #15803d; font-size: .65rem; font-weight: 700; }
.p-tenant-status-dot { width: 5px; height: 5px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 2px rgba(34, 197, 94, .25); animation: pStatusPulse 2s infinite; }
@keyframes pStatusPulse { 0% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.8; } }
.p-tenant-handle { display: flex; align-items: center; gap: 4px; margin-top: 3px; color: var(--muted); font-size: .74rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-tenant-handle i { font-size: .85rem; color: #94a3b8; }
.p-tenant-card-body { margin: 14px 0 12px; }
.p-tenant-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.p-tenant-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.p-tenant-tag-menu { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.p-tenant-tag-addr { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.p-tenant-tag-type { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.p-tenant-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid #f4efe8; }
.p-tenant-joined { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .72rem; font-weight: 500; }
.p-tenant-joined i { color: #94a3b8; font-size: .78rem; }
.p-tenant-action { display: inline-flex; align-items: center; gap: 5px; color: var(--orange-dark); font-size: .78rem; font-weight: 750; transition: gap .2s ease; }
.p-tenant-action i { transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1); }
.p-tenant-card-link:hover .p-tenant-action { gap: 8px; }
.p-tenant-card-link:hover .p-tenant-action i { transform: translateX(3px); }
.p-tenant-page-hero { padding: 64px 0 56px; background: var(--cream); border-bottom: 1px solid #f1e9dc; }
.p-tenant-page-hero h1 { max-width: 760px; margin-bottom: 16px; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.p-tenant-page-hero p { max-width: 660px; margin-bottom: 0; color: var(--slate); font-size: .98rem; line-height: 1.8; }
.p-tenant-page-list { padding: 62px 0 82px; background: #fff; }
.p-empty-state { max-width: 520px; margin: 0 auto; padding: 38px 28px; text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.p-empty-state i { width: 50px; height: 50px; display: grid; place-items: center; margin: 0 auto 14px; color: var(--orange-dark); background: var(--orange-soft); border-radius: 12px; font-size: 1.35rem; }
.p-empty-state h2 { margin-bottom: 8px; font-size: 1.25rem; }
.p-empty-state p { margin: 0; color: var(--slate); font-size: .82rem; }

/* Pricing */
.p-pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 12px; }
.p-pricing-card { position: relative; display: flex; flex-direction: column; padding: 27px 22px 23px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); }
.p-pricing-card.featured { border: 2px solid var(--orange); padding: 26px 21px 22px; box-shadow: 0 13px 32px rgba(243, 107, 33, .1); }
.p-pricing-badge { position: absolute; top: -13px; right: 16px; padding: 5px 9px; color: #fff; background: var(--orange); border-radius: 999px; font-size: .6rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.p-pricing-heading { min-height: 80px; }
.p-pricing-heading h3 { margin-bottom: 7px; font-size: 1.05rem; }
.p-pricing-heading p { margin: 0; color: var(--muted); font-size: .72rem; }
.p-pricing-price { display: flex; align-items: baseline; gap: 7px; padding: 15px 0 20px; border-bottom: 1px solid var(--line); }
.p-pricing-price strong { font-size: 1.7rem; letter-spacing: -.045em; }
.p-pricing-price span { color: var(--muted); font-size: .65rem; }
.p-pricing-card ul { flex: 1; display: grid; align-content: start; gap: 10px; margin: 21px 0 25px; padding: 0; list-style: none; }
.p-pricing-card li { display: flex; align-items: flex-start; gap: 7px; color: var(--slate); font-size: .73rem; }
.p-pricing-card li i { color: var(--green); font-size: .9rem; }
.p-pricing-note { margin: 17px 0 0; color: var(--muted); font-size: .69rem; text-align: center; }

/* FAQ */
.p-faq { background: #fbfaf8; border-top: 1px solid var(--line); }
.p-faq-grid { display: grid; grid-template-columns: .67fr 1.33fr; gap: 85px; }
.p-faq-intro { align-self: start; position: sticky; top: calc(var(--header-height) + 36px); }
.p-faq-help { display: block; margin-top: 28px; color: var(--muted); font-size: .75rem; }
.p-faq-help a { color: var(--orange-dark); font-weight: 750; }
.p-faq-list { border-top: 1px solid var(--line-strong); }
.p-faq-item { border-bottom: 1px solid var(--line-strong); }
.p-faq-item h3 { margin: 0; }
.p-faq-question { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 21px 2px; border: 0; background: transparent; font-size: .89rem; font-weight: 700; text-align: left; cursor: pointer; }
.p-faq-question:hover { color: var(--orange-dark); }
.p-faq-question i { width: 29px; height: 29px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 7px; transition: transform .2s ease; }
.p-faq-question[aria-expanded="true"] i { transform: rotate(45deg); color: var(--orange); }
.p-faq-answer { padding: 0 45px 20px 2px; }
.p-faq-answer p { margin: 0; color: var(--slate); font-size: .81rem; line-height: 1.75; }

/* Final CTA */
.p-final-cta { padding: 70px 0; background: #fff; }
.p-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: 42px 48px; color: #fff; background: var(--orange); border-radius: var(--radius-lg); }
.p-final-cta-inner span { font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.p-final-cta-inner h2 { margin: 8px 0 6px; color: #fff; font-size: clamp(1.55rem, 2.5vw, 2.25rem); }
.p-final-cta-inner p { margin: 0; color: rgba(255, 255, 255, .86); font-size: .85rem; }
.p-final-cta-inner .btn { flex: 0 0 auto; }

/* Footer */
.p-footer { padding: 57px 0 20px; background: var(--cream); border-top: 1px solid #eee6da; }
.p-footer-grid { display: grid; grid-template-columns: 2fr .8fr .7fr 1.25fr; gap: 50px; padding-bottom: 39px; }
.p-footer-brand > p { max-width: 370px; margin: 18px 0 14px; color: var(--slate); font-size: .79rem; }
.p-footer-brand .p-brand-logo { height: 36px; max-height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.p-local-note { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-dark); font-size: .65rem; font-weight: 700; }
.p-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.p-footer-col h2 { margin: 8px 0 8px; font-size: .78rem; letter-spacing: .02em; }
.p-footer-col a, .p-footer-col > span { color: var(--slate); font-size: .72rem; }
.p-footer-col a:hover { color: var(--orange-dark); }
.p-footer-contact i { width: 17px; color: var(--orange); }
.p-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: .65rem; }
.p-footer-bottom a { color: inherit; }
.p-footer-bottom a:hover { color: var(--orange-dark); }

/* Authentication */
.p-auth-page { background: #fff; }
.p-auth-main { padding: 64px 0 74px; }
.p-auth-layout { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 76px; max-width: 1050px; }
.p-auth-context > h1, .p-register-context > h1 { max-width: 580px; margin-bottom: 16px; font-size: clamp(2rem, 3.4vw, 3rem); }
.p-auth-context > p, .p-register-context > p { max-width: 560px; margin-bottom: 27px; color: var(--slate); font-size: .88rem; }
.p-auth-form-wrap { padding: 34px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: 0 16px 44px rgba(39, 31, 24, .08); }
.p-auth-form-head { margin-bottom: 25px; }
.p-auth-kicker { color: var(--orange-dark); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.p-auth-form-head h2 { margin: 5px 0 6px; font-size: 1.65rem; }
.p-auth-form-head p { margin: 0; color: var(--muted); font-size: .77rem; }
.p-auth-form { display: grid; gap: 18px; }
.p-field { min-width: 0; display: grid; gap: 7px; }
.p-field label, .p-label-row label { color: var(--ink); font-size: .74rem; font-weight: 700; }
.p-label-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.p-label-row a { color: var(--orange-dark); font-size: .7rem; font-weight: 700; }
.p-field > input, .p-input-wrap input, .p-slug-field input { width: 100%; min-width: 0; height: 47px; padding: 0 13px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); outline: none; font-size: .8rem; }
.p-field input::placeholder { color: #a9a9aa; }
.p-field input:focus, .p-input-wrap input:focus, .p-slug-field:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243, 107, 33, .1); }
.p-input-wrap { position: relative; }
.p-input-wrap > i { position: absolute; top: 50%; left: 13px; color: var(--muted); transform: translateY(-50%); font-size: .88rem; pointer-events: none; }
.p-input-wrap input { padding-left: 39px; padding-right: 44px; }
.p-input-wrap.no-leading-icon input { padding-left: 13px; }
.p-password-toggle { position: absolute; right: 5px; top: 50%; width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; transform: translateY(-50%); cursor: pointer; }
.p-checkbox { display: flex; align-items: flex-start; gap: 9px; color: var(--slate); font-size: .69rem; cursor: pointer; }
.p-checkbox input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--orange); }
.p-terms a { color: var(--orange-dark); font-weight: 700; }
.p-submit { width: 100%; min-height: 48px; margin-top: 1px; }
.p-auth-switch { margin: 22px 0 0; color: var(--slate); font-size: .74rem; text-align: center; }
.p-auth-switch a { color: var(--orange-dark); font-weight: 800; }
.p-auth-safe { margin: 12px 0 0; color: var(--muted); font-size: .64rem; text-align: center; }
.p-alert { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 20px; padding: 11px 12px; border-radius: var(--radius-sm); font-size: .69rem; line-height: 1.55; }
.p-alert > div { display: grid; }
.p-alert-success { color: #246e4e; background: #eef9f3; border: 1px solid #ccebdc; }
.p-alert-error { color: #a83232; background: #fff3f3; border: 1px solid #f2cece; }
.menu-preview-compact { max-width: 525px; margin: 0; box-shadow: 0 14px 36px rgba(45, 34, 24, .08); }
.menu-preview-compact .menu-preview-storebar { height: 58px; }
.menu-preview-compact .menu-preview-storebar img { max-width: 108px; max-height: 38px; }
.menu-preview-compact .menu-preview-body { padding: 11px 14px 18px; }
.menu-preview-compact .menu-preview-search { min-height: 38px; border-radius: 8px; font-size: .62rem; }
.menu-preview-compact .menu-preview-tabs { padding: 10px 0 13px; }
.menu-preview-compact .menu-preview-tabs span { min-height: 28px; padding-inline: 11px; font-size: .55rem; }
.menu-preview-compact .menu-preview-heading { margin-bottom: 10px; }
.menu-preview-compact .menu-preview-heading h3 { font-size: .76rem; }
.menu-preview-compact .menu-preview-heading span { font-size: .56rem; }
.menu-preview-compact .menu-preview-products { grid-template-columns: 1fr 1fr; }
.menu-preview-compact .menu-product { grid-template-columns: 78px 1fr; }
.menu-preview-compact .menu-product-image { min-height: 97px; }
.menu-preview-compact .menu-product-copy { padding: 10px; }
.menu-preview-compact .menu-product-badge { margin-bottom: 5px; padding: 3px 6px; font-size: .46rem; }
.menu-preview-compact .menu-product-copy h3 { font-size: .66rem; }
.menu-preview-compact .menu-product-copy p { min-height: 0; margin-bottom: 8px; font-size: .5rem; }
.menu-preview-compact .menu-product-copy strong { font-size: .6rem; }
.menu-preview-compact .menu-product-copy button { width: 25px; height: 25px; border-radius: 6px; font-size: .65rem; }
.menu-preview-compact .menu-preview-cart { display: none; }
.p-auth-quote { max-width: 525px; position: relative; margin-top: 18px; padding-left: 30px; }
.p-auth-quote > i { position: absolute; left: 0; top: -5px; color: var(--yellow); font-size: 1.35rem; }
.p-auth-quote p { margin-bottom: 4px; color: var(--slate); font-size: .72rem; font-style: italic; }
.p-auth-quote span { color: var(--muted); font-size: .63rem; }

/* Register */
.p-auth-main-register { background: var(--cream); }
.p-auth-layout-register { max-width: 1120px; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 70px; }
.p-register-context { position: sticky; top: calc(var(--header-height) + 35px); padding-top: 34px; }
.p-register-form-wrap { padding: 32px 36px; }
.p-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.p-slug-field { height: 47px; display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.p-slug-field > span { height: 100%; flex: 0 0 auto; display: flex; align-items: center; padding: 0 0 0 12px; color: var(--slate); background: #faf9f7; border-right: 1px solid var(--line); font-size: .7rem; }
.p-slug-field input { height: 45px; border: 0; border-radius: 0; box-shadow: none !important; }
.p-field-help { margin: 0; color: var(--muted); font-size: .61rem; overflow-wrap: anywhere; }
.p-field-help strong { color: var(--orange-dark); font-weight: 700; }
.p-free-plan { margin-top: 27px; padding: 24px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); }
.p-free-plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.p-free-plan-head > span { color: var(--orange-dark); font-size: .84rem; font-weight: 800; }
.p-free-plan-head > strong { font-size: 1.23rem; }
.p-free-plan-head small { color: var(--muted); font-size: .58rem; font-weight: 600; }
.p-free-plan ul { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.p-free-plan li { display: flex; align-items: flex-start; gap: 8px; color: var(--slate); font-size: .7rem; }
.p-free-plan li i { color: var(--green); font-size: .9rem; }
.p-free-plan li strong { color: var(--ink); }
.p-register-steps { display: flex; align-items: center; gap: 7px; margin-top: 24px; color: var(--slate); font-size: .58rem; }
.p-register-steps span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.p-register-steps b { width: 18px; height: 18px; display: grid; place-items: center; color: var(--orange-dark); background: var(--orange-soft); border-radius: 50%; font-size: .52rem; }
.p-register-steps > i { height: 1px; flex: 1; background: var(--line-strong); }
.p-register-note { display: flex; align-items: center; gap: 6px; margin-top: 14px !important; color: var(--muted) !important; font-size: .63rem !important; }

@media (max-width: 1080px) {
    .p-header-inner { grid-template-columns: auto 1fr auto; }
    .p-nav a { padding-inline: 9px; }
    .p-nav a::after { left: 9px; right: 9px; }
    .p-hero-grid { gap: 38px; }
    .p-menu-demo-grid { gap: 45px; }
    .p-pricing-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .p-auth-layout { gap: 44px; }
}

@media (max-width: 900px) {
    :root { --header-height: 66px; }
    .p-nav, .p-header-actions { display: none; }
    .p-hamburger { display: block; }
    .p-header-inner { grid-template-columns: 1fr auto; }
    .p-brand-logo { height: 34px; max-height: 34px; max-width: 150px; }
    .p-hero { padding-top: 58px; }
    .p-hero-grid, .p-menu-demo-grid, .p-benefits-grid { grid-template-columns: minmax(0, 1fr); }
    .p-hero-copy { max-width: 680px; }
    .p-hero-visual { max-width: 650px; width: 100%; margin: 0 auto; }
    .p-proof .container { flex-direction: column; gap: 12px; }
    .p-menu-demo-grid { gap: 42px; }
    .menu-preview { margin: 0 auto; }
    .p-section-head-left, .p-section-head-action { grid-template-columns: 1fr; gap: 13px; }
    .p-section-head-action .btn { width: max-content; }
    .p-features-grid { grid-template-columns: 1fr 1fr; }
    .p-tenant-grid { grid-template-columns: 1fr 1fr; }
    .p-benefits-copy, .p-faq-intro, .p-register-context { position: static; }
    .p-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 37px; }
    .p-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
    .p-footer-contact { grid-column: 2 / 4; }
    .p-auth-layout, .p-auth-layout-register { grid-template-columns: minmax(0, 1fr); max-width: 670px; }
    .p-auth-layout-login { max-width: 540px; }
    .p-auth-context { display: none; }
    .p-register-context { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 0; }
    .p-register-context .p-eyebrow, .p-register-context > h1, .p-register-context > p { grid-column: 1 / -1; }
    .p-register-steps, .p-register-note { grid-column: 1; }
    .p-free-plan { grid-column: 2; grid-row: 2 / span 5; margin: 0; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 28px, var(--container)); }
    .p-brand-name { font-size: 1.05rem; }
    .p-brand-mark { width: 35px; height: 35px; }
    .p-brand-logo { height: 30px; max-height: 30px; max-width: 130px; }
    .p-mobile-actions { grid-template-columns: 1fr; }
    .p-hero { padding: 44px 0 53px; }
    .p-hero-grid { gap: 38px; }
    .p-hero h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
    .p-hero-copy > p { font-size: .92rem; }
    .p-hero-notes { align-items: flex-start; flex-direction: column; gap: 6px; }
    .p-workspace { transform: none; }
    .p-workspace-content { min-height: 305px; grid-template-columns: 1fr; }
    .p-workspace-content aside { display: none; }
    .p-qr-note { right: -5px; }
    .p-proof { padding-block: 17px; }
    .p-proof .container > div { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
    .p-menu-demo, .p-steps, .p-features, .p-benefits, .p-joined-tenants, .p-pricing, .p-faq { padding: 69px 0; }
    .p-section-head { margin-bottom: 35px; }
    .p-section-head h2, .p-menu-demo-copy h2, .p-benefits-copy h2, .p-faq-intro h2 { font-size: 1.85rem; }
    .menu-preview-products { grid-template-columns: 1fr; }
    .menu-product { grid-template-columns: 105px 1fr; }
    .menu-product-image { min-height: 108px; }
    .p-steps-grid { grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
    .p-steps-grid article, .p-steps-grid article + article { min-height: 0; padding: 23px 0 26px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
    .p-steps-grid article > i { margin: 17px 0 13px; }
    .p-features-grid { grid-template-columns: 1fr; }
    .p-feature-item { min-height: 0; padding: 24px 20px; }
    .p-tenant-grid { grid-template-columns: 1fr; }
    .p-section-head-action .btn { width: 100%; }
    .p-tenant-page-hero { padding: 42px 0 44px; }
    .p-tenant-page-list { padding: 44px 0 62px; }
    .p-pricing-grid { grid-template-columns: 1fr; }
    .p-pricing-heading { min-height: 0; }
    .p-final-cta { padding: 49px 0; }
    .p-final-cta-inner { align-items: flex-start; flex-direction: column; padding: 31px 26px; }
    .p-footer-grid { grid-template-columns: 1fr 1fr; }
    .p-footer-brand { grid-column: 1 / -1; }
    .p-footer-contact { grid-column: 1 / -1; }
    .p-footer-bottom { flex-direction: column; gap: 5px; }
    .p-auth-main { padding: 38px 0 52px; }
    .p-auth-form-wrap, .p-register-form-wrap { padding: 27px 22px; }
    .p-register-form-wrap { order: 1; }
    .p-register-context { display: block; }
    .p-register-context { order: 2; }
    .p-free-plan { margin-top: 24px; }
    .p-register-steps { display: none; }
    .p-form-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 430px) {
    .p-hero-actions { display: grid; grid-template-columns: 1fr; }
    .p-hero-actions .btn { width: 100%; }
    .p-workspace-main { padding: 15px; }
    .p-workspace-title button { padding: 7px; }
    .p-workspace-title button i { margin: 0; }
    .p-workspace-stats > div { padding: 10px; }
    .p-workspace-list > div { grid-template-columns: 34px 1fr auto; }
    .p-qr-note { position: relative; width: max-content; right: auto; bottom: auto; margin: -9px 13px 0 auto; }
    .p-menu-demo-grid { gap: 30px; }
    .menu-preview-bar > div { width: 70%; }
    .menu-preview-cover { padding-inline: 13px; }
    .menu-preview-body { padding-inline: 12px; }
    .menu-preview-cart { align-items: flex-start; flex-direction: column; gap: 2px; }
    .p-benefit-list > div { grid-template-columns: 35px 1fr; }
    .p-channel-row { gap: 6px; }
    .p-pricing-card { padding-inline: 20px; }
    .p-footer-grid { gap: 30px 20px; }
    .p-slug-field { display: grid; grid-template-columns: auto 1fr; }
    .p-slug-field > span { padding-left: 9px; font-size: .61rem; }
}

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

/* ============================================================
   ARTICLES & BLOG MODULE STYLES (OsingMenu Platform)
   ============================================================ */

/* Blog Hero */
.p-blog-hero {
    padding: 56px 0 44px;
    background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
    border-bottom: 1px solid #f1e9dc;
    text-align: center;
}
.p-blog-hero-content {
    max-width: 680px;
    margin: 0 auto;
}
.p-blog-hero h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -.035em;
    color: var(--ink);
}
.p-blog-hero h1 em {
    color: var(--orange);
    font-style: normal;
}
.p-blog-hero p {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Blog Filter & Search Bar */
.p-blog-toolbar {
    margin: 32px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.p-blog-search-box {
    display: flex;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.p-blog-search-box input {
    width: 100%;
    height: 48px;
    padding: 10px 48px 10px 18px;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.92rem;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.p-blog-search-box input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(243, 107, 33, 0.15);
}
.p-blog-search-box button {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s ease;
}
.p-blog-search-box button:hover {
    background: var(--orange-dark);
}

/* Category Pills */
.p-category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.p-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--cream);
    border: 1px solid #ebd9c8;
    color: var(--slate);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all .18s ease;
}
.p-category-pill:hover {
    background: var(--orange-soft);
    color: var(--orange-dark);
    border-color: #ffd2b3;
    transform: translateY(-1px);
}
.p-category-pill.active {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    box-shadow: 0 4px 12px rgba(243, 107, 33, 0.25);
}
.p-category-pill .count {
    font-size: 0.74rem;
    opacity: 0.85;
    background: rgba(0,0,0,0.06);
    padding: 2px 6px;
    border-radius: 999px;
}
.p-category-pill.active .count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* Featured Article Card */
.p-featured-article {
    margin: 10px 0 40px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(45, 34, 24, .06);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.p-featured-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(45, 34, 24, .1);
}
.p-featured-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}
.p-featured-img-wrap {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: var(--cream);
}
.p-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.p-featured-article:hover .p-featured-img-wrap img {
    transform: scale(1.03);
}
.p-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}
.p-featured-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.p-featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 12px;
}
.p-featured-meta .cat-badge {
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
}
.p-featured-content h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--ink);
    letter-spacing: -.03em;
}
.p-featured-content h2 a:hover {
    color: var(--orange);
}
.p-featured-content p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 22px;
}
.p-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f3f1ed;
}

/* Article Grid */
.p-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}
.p-article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 34, 24, .08);
    border-color: #ebdcd0;
}
.p-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--cream);
}
.p-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.p-article-card:hover .p-card-thumb img {
    transform: scale(1.04);
}
.p-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--orange-soft) 100%);
    color: var(--orange);
    font-size: 2.2rem;
    opacity: 0.8;
}
.p-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.p-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 10px;
}
.p-card-meta .cat-badge {
    background: var(--cream);
    border: 1px solid #eedfd3;
    color: var(--orange-dark);
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
}
.p-card-title {
    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--ink);
    letter-spacing: -.02em;
}
.p-card-title a:hover {
    color: var(--orange);
}
.p-card-excerpt {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.p-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f3f1ed;
    font-size: 0.82rem;
}
.p-card-author {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.p-card-read-btn {
    color: var(--orange);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.84rem;
    transition: gap .15s ease, color .15s ease;
}
.p-card-read-btn:hover {
    color: var(--orange-dark);
    gap: 8px;
}

/* Article Detail Page */
.p-article-header {
    padding: 44px 0 28px;
    background: var(--cream);
    border-bottom: 1px solid #f1e9dc;
}
.p-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--slate);
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.p-breadcrumb a {
    color: var(--slate);
}
.p-breadcrumb a:hover {
    color: var(--orange-dark);
}
.p-breadcrumb span.sep {
    opacity: 0.4;
}
.p-breadcrumb span.current {
    color: var(--orange-dark);
    font-weight: 600;
}
.p-detail-title {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.035em;
    color: var(--ink);
    margin-bottom: 18px;
    max-width: 880px;
}
.p-detail-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--slate);
    flex-wrap: wrap;
}
.p-detail-meta-bar .cat-badge {
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
}
.p-detail-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Article Content & Reading Layout */
.p-article-body-wrap {
    padding: 44px 0 60px;
}
.p-article-body-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
.p-article-main {
    min-width: 0;
}
.p-article-hero-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid #dedad3;
    box-shadow: 0 16px 40px rgba(45, 34, 24, .08);
    margin-bottom: 34px;
}
.p-article-toc {
    margin: 0 0 34px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(31, 27, 23, .05);
}
.p-article-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 800;
}
.p-article-toc-title i {
    color: var(--orange);
}
.p-article-toc ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}
.p-article-toc li {
    color: var(--orange);
    padding-left: 2px;
}
.p-article-toc li.level-3 {
    margin-left: 14px;
    font-size: .92rem;
}
.p-article-toc a {
    color: var(--slate);
    text-decoration: none;
    line-height: 1.45;
}
.p-article-toc a:hover {
    color: var(--orange-dark);
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-underline-offset: 3px;
}

/* Typography Prose */
.p-prose {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2b2e36;
}
.p-prose p {
    margin: 0 0 18px;
}
.p-prose a {
    color: var(--orange-dark);
    font-weight: 650;
    text-decoration-line: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color .15s ease, text-decoration-color .15s ease, background-color .15s ease;
}
.p-prose a:hover {
    color: var(--orange);
    background: var(--orange-soft);
    text-decoration-color: var(--orange-dark);
}
.p-prose h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 38px;
    margin-bottom: 16px;
    letter-spacing: -.03em;
    color: var(--ink);
    padding-bottom: 8px;
    border-bottom: 1px solid #f1ece4;
}
.p-prose h3 {
    font-size: 1.3rem;
    font-weight: 750;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--ink);
}
.p-prose ul, .p-prose ol {
    margin: 0 0 20px 22px;
    padding: 0;
}
.p-prose li {
    margin-bottom: 7px;
    padding-left: 2px;
}
.p-prose li > p {
    margin: 0;
}
.p-prose li > p + p {
    margin-top: 8px;
}
.p-prose li > ul,
.p-prose li > ol {
    margin-top: 8px;
    margin-bottom: 8px;
}
.p-prose blockquote {
    margin: 28px 0;
    padding: 16px 24px;
    background: var(--cream);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: #4a4f5c;
}
.p-prose img {
    margin: 24px 0;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.p-prose figure {
    margin: 26px 0;
}
.p-prose figure.image img {
    display: block;
    max-width: 100%;
    height: auto;
}
.p-prose figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
}
.p-prose figure.article-embed,
.p-prose figure.media {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0f172a;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}
.p-prose figure.article-embed iframe,
.p-prose figure.media iframe,
.p-prose iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    aspect-ratio: 16 / 9;
    border: 0;
}
.p-inline-related {
    margin: 34px 0;
    padding: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius);
}
.p-inline-related-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #9a3412;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.p-inline-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.p-inline-related-card {
    display: grid;
    gap: 7px;
    padding: 14px;
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    text-decoration: none !important;
}
.p-inline-related-card small {
    color: var(--orange-dark);
    font-size: .72rem;
    font-weight: 800;
}
.p-inline-related-card strong {
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.35;
}
.p-inline-related-card span {
    color: var(--orange-dark);
    font-size: .78rem;
    font-weight: 750;
}
.p-inline-related-card:hover {
    border-color: var(--orange);
    box-shadow: 0 12px 26px rgba(249, 115, 22, .12);
}

/* Share Bar */
.p-share-section {
    margin: 40px 0 32px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.p-share-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.p-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.p-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
}
.p-share-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}
.p-share-wa { background: #25d366; }
.p-share-x  { background: #0f1419; }
.p-share-fb { background: #1877f2; }
.p-share-copy {
    background: var(--cream-deep);
    color: var(--ink);
    border: 1px solid var(--line-strong);
    cursor: pointer;
}
.p-share-copy:hover {
    background: var(--orange-soft);
    border-color: #ffd2b3;
    color: var(--orange-dark);
}

/* Bottom CTA Banner */
.p-article-bottom-cta {
    margin: 48px 0 10px;
    padding: 40px;
    background: linear-gradient(135deg, var(--orange) 0%, #ea580c 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: 0 16px 36px rgba(243, 107, 33, .22);
}
.p-article-bottom-cta h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.p-article-bottom-cta p {
    font-size: 0.98rem;
    opacity: 0.92;
    margin: 0;
    max-width: 540px;
    line-height: 1.6;
}

/* Related Articles */
.p-related-section {
    padding: 48px 0;
    background: var(--cream);
    border-top: 1px solid #f1e9dc;
}
.p-related-header {
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.p-related-header h3 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
    color: var(--ink);
}

/* Responsive Overrides */
@media (max-width: 960px) {
    .p-article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .p-featured-grid {
        grid-template-columns: 1fr;
    }
    .p-featured-img-wrap {
        min-height: 240px;
    }
    .p-article-body-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .p-article-grid {
        grid-template-columns: 1fr;
    }
    .p-article-toc {
        padding: 16px;
    }
    .p-article-toc li.level-3 {
        margin-left: 6px;
    }
    .p-prose figure.article-embed iframe,
    .p-prose figure.media iframe,
    .p-prose iframe {
        min-height: 220px;
    }
    .p-inline-related-grid {
        grid-template-columns: 1fr;
    }
    .p-featured-content {
        padding: 24px;
    }
    .p-article-bottom-cta {
        padding: 28px 20px;
        text-align: center;
        justify-content: center;
    }
    .p-article-bottom-cta .btn {
        width: 100%;
    }
    .p-share-section {
        flex-direction: column;
        align-items: flex-start;
    }
}
