/* Majesty V2 — public site design system (landing + inner pages). Loaded by header.php. */

/* ============ LANDING — editorial sections ============ */
.lp-sec { padding: 96px 20px; background: #ffffff; }
.lp-sec-cream { background: #F7F3ED; }
@media (max-width: 767px) { .lp-sec { padding: 64px 18px; } }
.lp-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #B27B50; margin: 0 0 14px; }
.lp-eyebrow-gold { color: #E2B07A; }
.lp-h2 { font-size: 42px; line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; color: #211811; margin: 0; max-width: 680px; }
@media (max-width: 1023px) { .lp-h2 { font-size: 34px; } }
@media (max-width: 639px) { .lp-h2 { font-size: 28px; } }
.lp-body { font-size: 16.5px; line-height: 1.7; color: #81756B; margin: 18px 0 0; max-width: 560px; }
.lp-inline { color: #875334; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.lp-head-note { margin: 0; max-width: 400px; }
.lp-head-center { justify-content: center; text-align: center; }
.lp-head-center .lp-h2 { margin: 0 auto; }
@media (max-width: 767px) { .lp-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; } .lp-head-center { align-items: center; } }

.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.lp-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 14px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .2s ease, background .2s ease, filter .2s ease, box-shadow .2s ease; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn svg { transition: transform .2s ease; }
.lp-btn:hover svg { transform: translateX(3px); }
.lp-btn-dark { background: #65391F; color: #fff; box-shadow: 0 14px 30px rgba(61,36,22,0.22); }
.lp-btn-dark:hover { background: #3D2416; }
.lp-btn-gold { background: linear-gradient(135deg, #E2B07A, #B27B50); color: #2B190F; font-weight: 700; box-shadow: 0 14px 34px rgba(178,123,80,0.35); }
.lp-btn-gold:hover { filter: brightness(1.06); }
.lp-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.lp-btn-ghost:hover { background: rgba(255,255,255,0.08); }
.lp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #211811; text-decoration: none; }
.lp-link:hover { color: #875334; }

/* Intro */
.lp-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.lp-intro-media { margin: 0; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; }
.lp-intro-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.lp-intro-media:hover img { transform: scale(1.04); }
.lp-intro-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(43,25,15,0.35)); }
@media (max-width: 1023px) { .lp-intro { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Markets */
.lp-markets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lp-market { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: #fff; overflow: hidden; text-decoration: none; color: #211811; box-shadow: 0 1px 2px rgba(43,25,15,0.04), 0 14px 34px rgba(43,25,15,0.06); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.lp-market:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(43,25,15,0.14); }
.lp-market-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #3D2416; }
.lp-market-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.lp-market:hover .lp-market-img img { transform: scale(1.07); }
.lp-market-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,25,15,0) 50%, rgba(43,25,15,0.45)); }
.lp-market-n { position: absolute; top: 18px; left: 20px; z-index: 1; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.lp-market h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 22px 24px 8px; }
.lp-market p { font-size: 15px; line-height: 1.6; color: #81756B; margin: 0 24px 26px; }
.lp-market-go { position: absolute; top: 16px; right: 16px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.92); color: #65391F; transition: all .3s ease; }
.lp-market:hover .lp-market-go { background: #65391F; color: #fff; transform: rotate(45deg); }
@media (max-width: 1023px) { .lp-markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .lp-markets { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* How it works */
.lp-how { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.lp-how-media, .lp-platform-media { margin: 0; border-radius: 28px; overflow: hidden; }
.lp-how-media { aspect-ratio: 4 / 5; }
.lp-how-media img, .lp-platform-media img { width: 100%; height: 100%; object-fit: cover; }
.lp-platform-media { aspect-ratio: 16 / 9; margin-bottom: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
@media (max-width: 1023px) { .lp-how { grid-template-columns: minmax(0, 1fr); gap: 36px; } .lp-how-media { aspect-ratio: 16 / 10; } }

/* Steps */
.lp-steps { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.lp-steps li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-bottom: 30px; }
.lp-steps li:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 58px; bottom: 4px; width: 1px; background: repeating-linear-gradient(180deg, #D9BFA3 0 6px, transparent 6px 12px); }
.lp-steps li > span { grid-row: 1 / 3; display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; border: 1px solid #E6DACB; color: #65391F; font-size: 18px; font-weight: 700; box-shadow: 0 10px 24px rgba(43,25,15,0.06); }
.lp-steps li:first-child > span { background: #65391F; border-color: #65391F; color: #fff; }
.lp-steps h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 6px; color: #211811; }
.lp-steps p { font-size: 15px; line-height: 1.6; color: #81756B; margin: 0; max-width: 460px; }

/* Platform (dark) */
.lp-dark { background: radial-gradient(90% 120% at 100% 0%, rgba(226,176,122,0.16), transparent 55%), linear-gradient(150deg, #3D2416 0%, #2B190F 55%, #1E110A 100%); }
.lp-dark .lp-h2 { color: #fff; }
.lp-dark .lp-body { color: rgba(255,255,255,0.65); }
.lp-dark .lp-btn { margin-top: 34px; }
.lp-platform { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.lp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-feature { padding: 30px 28px; border-top: 1px solid rgba(231,195,156,0.16); }
.lp-feature:nth-child(odd) { border-right: 1px solid rgba(231,195,156,0.16); }
.lp-feature:nth-child(-n+2) { border-top: 0; }
.lp-feature h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 8px; letter-spacing: -0.01em; }
.lp-feature p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 0; }
@media (max-width: 1023px) { .lp-platform { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 639px) { .lp-features { grid-template-columns: minmax(0, 1fr); } .lp-feature { padding: 22px 0; border-right: 0 !important; border-top: 1px solid rgba(231,195,156,0.16) !important; } .lp-feature:first-child { border-top: 0 !important; } }

/* Timeline */
.lp-timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.lp-timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, #875334, #E2B07A 70%, rgba(226,176,122,0.2)); }
.lp-tl { position: relative; padding-top: 40px; }
.lp-tl::before { content: ''; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #875334; }
.lp-tl-y { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: #65391F; font-variant-numeric: tabular-nums; }
.lp-tl h3 { font-size: 16px; font-weight: 700; margin: 8px 0 6px; color: #211811; }
.lp-tl p { font-size: 14px; line-height: 1.6; color: #81756B; margin: 0; }
@media (max-width: 1023px) {
    .lp-timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 30px; }
    .lp-timeline::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, #875334, #E2B07A 70%, rgba(226,176,122,0.2)); }
    .lp-tl { padding-top: 0; }
    .lp-tl::before { left: -30px; top: 8px; }
}

/* Mission */
.lp-mission { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.lp-quote { font-size: 27px; line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; color: #211811; margin: 0; padding-left: 24px; border-left: 3px solid #B27B50; }
@media (max-width: 767px) { .lp-mission { grid-template-columns: minmax(0, 1fr); gap: 40px; } .lp-quote { font-size: 21px; } }

/* Voices */
.lp-arrows { display: flex; gap: 8px; }
.lp-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #E6DACB; background: #fff; color: #211811; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s ease; }
.lp-arrow:hover { background: #65391F; border-color: #65391F; color: #fff; }
.lp-voices { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.lp-voices::-webkit-scrollbar { display: none; }
.lp-voice { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px; border-radius: 24px; background: #F7F3ED; transition: background .3s ease; }
.lp-voice:hover { background: #F3E6D8; }
.lp-voice blockquote { margin: 0; font-size: 17.5px; line-height: 1.6; color: #211811; font-weight: 500; }
.lp-voice figcaption { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #81756B; }
.lp-voice figcaption b { display: block; color: #211811; font-size: 14.5px; }
.lp-voice-av { width: 42px; height: 42px; border-radius: 50%; background: #65391F; color: #F0C995; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
@media (max-width: 1023px) { .lp-voices { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 639px) { .lp-voices { grid-auto-columns: 86%; gap: 14px; } .lp-voice { padding: 24px; } }

/* FAQ */
.lp-faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
@media (max-width: 1023px) { .lp-faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.lp-faq .faq-item { border-bottom: 1px solid #E6DACB; background: transparent; border-radius: 0; box-shadow: none; border-left: 0; border-right: 0; border-top: 0; }
.lp-faq .faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; }
.lp-faq .faq-q { font-size: 17.5px; font-weight: 600; color: #211811; letter-spacing: -0.01em; }
.lp-faq .faq-icon { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #E6DACB; display: flex; align-items: center; justify-content: center; color: #875334; flex-shrink: 0; transition: transform .3s ease, background .3s ease; }
.lp-faq .faq-icon svg { width: 16px; height: 16px; }
.lp-faq .faq-item.open .faq-icon { transform: rotate(45deg); background: #65391F; border-color: #65391F; color: #fff; }
.lp-faq .faq-panel { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.7,.2,1); }
.lp-faq .faq-item.open .faq-panel { max-height: 420px; }
.lp-faq .faq-a { font-size: 15.5px; line-height: 1.7; color: #81756B; margin: 0; padding: 0 56px 24px 0; }

/* CTA */
.lp-cta-sec { padding-top: 0; }
.lp-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 64px; border-radius: 32px; color: #fff;
    background: radial-gradient(80% 140% at 0% 0%, rgba(226,176,122,0.25), transparent 55%), linear-gradient(135deg, #5A3520 0%, #3D2416 55%, #2E1B10 100%); box-shadow: 0 30px 60px rgba(43,25,15,0.22); }
.lp-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--cta-img) center / cover no-repeat; opacity: 0.22; mix-blend-mode: luminosity; }
.lp-cta .lp-h2 { color: #fff; max-width: 560px; }
.lp-cta .lp-body { color: rgba(255,255,255,0.65); }
.lp-cta .lp-actions { margin-top: 0; }
@media (max-width: 767px) { .lp-cta { padding: 36px 24px; border-radius: 24px; } }

/* Scroll reveal */
.lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.lp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-reveal { opacity: 1; transform: none; transition: none; } }

/* ============ INNER PAGES — image breadcrumb banner ============ */
.pg-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #2B190F; }
.pg-banner-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: pgBannerIn 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pgBannerIn { from { transform: scale(1.12); } }
.pg-banner::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(70% 120% at 0% 100%, rgba(135,83,52,0.45), transparent 60%), linear-gradient(100deg, rgba(23,14,9,0.94) 0%, rgba(43,25,15,0.78) 48%, rgba(23,14,9,0.4) 100%); }
.pg-banner-inner { min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 20px 64px; }
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.68); margin: 0 0 22px; padding: 0; list-style: none; }
.pg-crumbs a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color .15s ease; }
.pg-crumbs a:hover { color: #F0C995; }
.pg-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.pg-crumbs li + li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #B27B50; }
.pg-crumbs [aria-current] { color: #F0C995; font-weight: 600; }
.pg-banner h1 { font-size: 54px; line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; margin: 0; max-width: 820px; }
.pg-banner p.pg-lede { font-size: 17.5px; line-height: 1.65; color: rgba(255,255,255,0.72); margin: 18px 0 0; max-width: 640px; }
.pg-banner-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #E2B07A; margin: 0 0 12px; }
@media (max-width: 1023px) { .pg-banner h1 { font-size: 42px; } .pg-banner-inner { min-height: 330px; padding: 100px 20px 52px; } }
@media (max-width: 639px) { .pg-banner h1 { font-size: 32px; } .pg-banner p.pg-lede { font-size: 15.5px; } .pg-banner-inner { min-height: 280px; padding: 80px 18px 40px; } }
@media (prefers-reduced-motion: reduce) { .pg-banner-img { animation: none; } }

/* ============ INNER PAGES — building blocks ============ */
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.pg-split.rev > :first-child { order: 2; }
.pg-media { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; background: #3D2416; box-shadow: 0 24px 50px rgba(43,25,15,0.12); }
.pg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pg-media:hover img { transform: scale(1.04); }
@media (max-width: 1023px) { .pg-split { grid-template-columns: minmax(0, 1fr); gap: 36px; } .pg-split.rev > :first-child { order: 0; } .pg-media { aspect-ratio: 16 / 10; } }

.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid #E6DACB; border-left: 1px solid #E6DACB; }
.pg-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-cell { padding: 34px 30px 36px; border-right: 1px solid #E6DACB; border-bottom: 1px solid #E6DACB; background: transparent; transition: background .3s ease; }
.pg-cell:hover { background: #fff; }
.lp-sec:not(.lp-sec-cream) .pg-cell:hover { background: #F7F3ED; }
.pg-cell-n { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: #B27B50; font-variant-numeric: tabular-nums; margin-bottom: 22px; }
.pg-cell h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; color: #211811; margin: 0 0 8px; }
.pg-cell p { font-size: 15px; line-height: 1.65; color: #81756B; margin: 0; }
@media (max-width: 1023px) { .pg-grid, .pg-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .pg-grid, .pg-grid.cols-2, .pg-grid.cols-4 { grid-template-columns: minmax(0, 1fr); } .pg-cell { padding: 26px 22px; } }

.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-steps li { position: relative; padding: 30px 28px; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(43,25,15,0.04), 0 14px 34px rgba(43,25,15,0.06); }
.pg-steps li > span { display: inline-flex; width: 44px; height: 44px; border-radius: 14px; align-items: center; justify-content: center; background: #65391F; color: #F0C995; font-weight: 700; margin-bottom: 18px; }
.pg-steps h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: #211811; }
.pg-steps p { font-size: 15px; line-height: 1.6; color: #81756B; margin: 0; }
@media (max-width: 767px) { .pg-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* Live listing table */
.pg-table { border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(43,25,15,0.04), 0 14px 34px rgba(43,25,15,0.06); }
.pg-trow { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid #F1EAE1; font-size: 15px; color: #211811; }
.pg-trow:first-child { border-top: 0; }
.pg-trow.head { background: #F7F3ED; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #81756B; padding-top: 12px; padding-bottom: 12px; }
.pg-trow .r { text-align: right; }
.pg-tname { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pg-tname b { display: block; font-weight: 600; }
.pg-tname small { display: block; font-size: 12.5px; color: #81756B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-tlogo { width: 38px; height: 38px; border-radius: 11px; background: #F6EEE5; color: #65391F; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.pg-tlogo img { width: 100%; height: 100%; object-fit: cover; }
.pg-tchg { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.pg-tchg.up { color: #15803D; } .pg-tchg.down { color: #B91C1C; }
.pg-tprice { font-weight: 600; font-variant-numeric: tabular-nums; }
.pg-table-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; background: #F7F3ED; font-size: 13px; color: #81756B; flex-wrap: wrap; }
@media (max-width: 639px) { .pg-trow { padding: 14px 16px; grid-template-columns: minmax(0, 1fr) auto auto; } .pg-table-foot { padding: 14px 16px; } }

/* Legal / long-form prose */
.pg-legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.pg-toc { position: sticky; top: 100px; padding: 22px; border-radius: 20px; background: #F7F3ED; }
.pg-toc p { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #B27B50; margin: 0 0 12px; }
.pg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; display: flex; flex-direction: column; gap: 2px; }
.pg-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: #5E5045; text-decoration: none; line-height: 1.4; }
.pg-toc a::before { counter-increment: t; content: counter(t, decimal-leading-zero); font-size: 12px; font-weight: 600; color: #B27B50; padding-top: 1px; }
.pg-toc a:hover { background: #fff; color: #211811; }
.pg-prose { max-width: 760px; color: #5E5045; font-size: 16px; line-height: 1.8; }
.pg-prose h2 { font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: #211811; margin: 48px 0 12px; scroll-margin-top: 100px; }
.pg-prose h2:first-child { margin-top: 0; }
.pg-prose h3 { font-size: 18px; font-weight: 700; color: #211811; margin: 28px 0 8px; }
.pg-prose p { margin: 0 0 16px; }
.pg-prose ul, .pg-prose ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.pg-prose li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.pg-prose li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #B27B50; }
.pg-prose a { color: #875334; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pg-prose strong { color: #211811; }
.pg-updated svg { flex-shrink: 0; color: #B27B50; }
.pg-updated { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #81756B; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #EEE6DC; width: 100%; }
@media (max-width: 1023px) { .pg-legal { grid-template-columns: minmax(0, 1fr); gap: 28px; } .pg-toc { position: static; } }

/* Contact */
.pg-contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.pg-channels { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.pg-channel { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(43,25,15,0.04), 0 10px 24px rgba(43,25,15,0.05); text-decoration: none; color: inherit; transition: transform .2s ease; }
a.pg-channel:hover { transform: translateY(-2px); }
.pg-channel-ico { width: 46px; height: 46px; border-radius: 14px; background: #65391F; color: #F0C995; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pg-channel-ico svg { width: 20px; height: 20px; }
.pg-channel div b { display: block; font-size: 15.5px; color: #211811; }
.pg-channel div span { display: block; font-size: 14px; color: #81756B; margin-top: 2px; overflow-wrap: anywhere; }
.pg-form { padding: 36px; border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(43,25,15,0.04), 0 24px 50px rgba(43,25,15,0.08); }
.pg-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pg-field { display: flex; flex-direction: column; gap: 7px; }
.pg-field.full { grid-column: 1 / -1; }
.pg-field label { font-size: 13px; font-weight: 600; color: #211811; }
.pg-input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid #E6DACB; background: #FBF8F4; color: #211811; font-size: 15px; outline: none; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
textarea.pg-input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
select.pg-input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2381756B' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.pg-input:focus { border-color: #B27B50; background: #fff; box-shadow: 0 0 0 4px rgba(178,123,80,0.14); }
.pg-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; margin-bottom: 18px; }
.pg-alert.ok { background: #E8F5EC; color: #15803D; } .pg-alert.err { background: #FBEAEA; color: #B91C1C; }
@media (max-width: 1023px) { .pg-contact { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 639px) { .pg-form { padding: 22px; border-radius: 22px; } .pg-form-grid { grid-template-columns: minmax(0, 1fr); } }
