/* Trang nội dung: Giới thiệu / Liên hệ / Quy chế / Đối tác + trang lỗi, đăng nhập (tiền tố .pg-) */

/* ---------- Hero ---------- */
.pg-hero .t-hero-body { padding-bottom: 64px; }
.pg-hero.pg-up-room .t-hero-body { padding-bottom: 104px; }
.pg-hero.center .t-hero-body { text-align: center; }
.pg-hero.center .t-crumb, .pg-hero.center .pg-tags, .pg-hero.center .pg-acts { justify-content: center; }
.pg-hero.center .t-lead { margin-left: auto; margin-right: auto; }
.pg-h1 .sub { font-size: .7em; }
.pg-h1 { margin-top: 14px !important; font-size: clamp(40px, 5.4vw, 64px) !important; text-transform: uppercase; overflow-wrap: anywhere; }
.pg-lead { max-width: 660px !important; font-size: 16px !important; }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pg-tags span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: var(--t-hero-text); }
.pg-tags span b { color: #fff; font-weight: 700; }
.pg-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pg-acts .t-btn { box-sizing: border-box; }
.pg-btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); color: #fff !important; }
.pg-btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.pg-trophy { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: rgba(245, 165, 36, .16); border: 1px solid rgba(245, 165, 36, .35); color: var(--t-gold); }
.pg-trophy svg { width: 30px; height: 30px; }

/* ---------- Thân trang ---------- */
.pg-body { max-width: 1184px; margin: 0 auto; padding: 36px clamp(20px, 4vw, 48px) 80px; box-sizing: border-box; display: flex; flex-direction: column; gap: 32px; }
.pg-body.narrow { max-width: 960px; }
.pg-up { margin-top: -72px; position: relative; z-index: 2; }
.pg-body > * { min-width: 0; }
.pg-sec-h { text-align: center; margin: 12px 0 2px; }
.pg-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--t-teal); }
.pg-sec-h h2 { margin: 6px 0 0; font-family: var(--t-display); font-weight: 700; font-size: 38px; line-height: 1.05; color: var(--t-navy); text-transform: uppercase; }
.pg-sec-h p { margin: 8px auto 0; max-width: 620px; font-size: 15px; line-height: 1.6; color: var(--t-muted); }

.pg-card { background: #fff; border-radius: 22px; box-shadow: var(--t-shadow); padding: 28px; min-width: 0; box-sizing: border-box; }
.pg-card > h3 { margin: 16px 0 8px; font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--t-navy); }
.pg-card > p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--t-text-2); }
.pg-card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pg-card-h h2 { margin: 0; font-family: var(--t-display); font-weight: 700; font-size: 28px; line-height: 1.05; color: var(--t-navy); }
.pg-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.pg-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--t-mint-bg); color: var(--t-teal); }
.pg-ic svg { width: 22px; height: 22px; }
.pg-ic.b { background: #dcecf3; color: var(--t-navy-2); }
.pg-ic.g { background: var(--t-gold-bg); color: var(--t-gold-text); }
.pg-ic.n { background: #e3e9f3; color: var(--t-navy); }
.pg-ic.sm { width: 40px; height: 40px; border-radius: 12px; }
.pg-ic.sm svg { width: 19px; height: 19px; }

/* ---------- Giới thiệu: dòng thời gian ---------- */
.pg-tl { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding-top: 22px; }
.pg-tl::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--t-mint), var(--t-teal), var(--t-navy-2)); }
.pg-tl-it { position: relative; background: var(--t-soft); border-radius: 18px; padding: 18px 20px; min-width: 0; }
.pg-tl-it::before { content: ''; position: absolute; left: 20px; top: -22px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--t-teal); box-sizing: border-box; }
.pg-tl-y { display: inline-block; font-family: var(--t-display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--t-teal); }
.pg-tl-t { margin: 6px 0 4px; font-weight: 700; font-size: 16px; color: var(--t-navy); }
.pg-tl-d { margin: 0; font-size: 14px; line-height: 1.6; color: var(--t-text-2); }

/* ---------- Giới thiệu: Ban điều hành ---------- */
.pg-av { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; margin: 0 auto; background: var(--t-grad) center/cover; color: #fff; font-family: var(--t-display); font-weight: 700; font-size: 32px; box-shadow: 0 0 0 3px #fff, 0 8px 20px rgba(19, 48, 90, .14); }
.pg-av.lg { width: 128px; height: 128px; font-size: 48px; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--t-mint), 0 14px 30px rgba(23, 152, 122, .25); }
.pg-lead-mem { text-align: center; margin-bottom: 12px; }
.pg-lead-mem b { display: block; margin-top: 16px; font-family: var(--t-display); font-size: 28px; line-height: 1.05; color: var(--t-navy); }
.pg-role { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--t-mint-bg); color: var(--t-teal); }
.pg-role.vice { background: #dcecf3; color: var(--t-navy-2); }
.pg-role.media { background: #fde6e1; color: #c0503c; }
.pg-role.advisor { background: var(--t-gold-bg); color: var(--t-gold-text); }
.pg-group-t { display: flex; align-items: center; gap: 14px; margin: 26px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--t-muted); }
.pg-group-t::before, .pg-group-t::after { content: ''; flex: 1; height: 1px; background: var(--t-line); }
.pg-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pg-mem { width: 200px; box-sizing: border-box; padding: 20px 12px 18px; border-radius: 18px; background: var(--t-soft); text-align: center; min-width: 0; }
.pg-mem b { display: block; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--t-navy); overflow-wrap: anywhere; }
.pg-founder { margin: 30px 0 0; text-align: center; font-size: 14px; color: var(--t-muted); }
.pg-founder b { color: var(--t-navy); }

/* ---------- Nội dung soạn tay (admin) ---------- */
.pg-prose { font-size: 15px; line-height: 1.75; color: #24405f; overflow-wrap: break-word; }
.pg-prose h1, .pg-prose h2 { margin: 0 0 12px; font-family: var(--t-display); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--t-navy); }
.pg-prose h3, .pg-prose h4 { margin: 18px 0 6px; font-family: var(--t-font) !important; font-weight: 700; font-size: 16px; color: var(--t-navy); }
.pg-prose p { margin: 8px 0; }
.pg-prose ul, .pg-prose ol { margin: 8px 0; padding-left: 22px; }
.pg-prose ul { list-style: disc; }
.pg-prose ol { list-style: decimal; }
.pg-prose li { margin: 5px 0; }
.pg-prose li::marker { color: var(--t-teal); }
.pg-prose a { color: var(--t-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pg-prose strong { color: var(--t-navy); }
.pg-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.pg-prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.pg-prose th { background: var(--t-soft); padding: 11px 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--t-muted); border-bottom: 1px solid var(--t-line); white-space: nowrap; }
.pg-prose td { padding: 10px 12px; border-bottom: 1px solid var(--t-line); vertical-align: middle; }
.pg-prose td[rowspan] { background: #f8fbfb; font-family: var(--t-display); font-size: 20px; color: var(--t-navy); border-right: 1px solid var(--t-line); }
.pg-prose tr:last-child td { border-bottom: none; }
.pg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--t-line); }
.pg-scroll table { min-width: 560px; }
/* Khối trong nội dung Quy chế (soạn bằng lớp Tailwind) → thẻ trắng cùng kiểu */
.pg-rules { display: flex; flex-direction: column; gap: 20px; }
.pg-rules > div { background: #fff !important; border: none !important; border-radius: 22px !important; box-shadow: var(--t-shadow) !important; padding: clamp(20px, 3.5vw, 36px) !important; min-width: 0; }
.pg-rules > div > :first-child { margin-top: 0; }
.pg-rules > p:empty { display: none; }
.pg-rules .overflow-x-auto { border-radius: 14px !important; border: 1px solid var(--t-line) !important; }
.pg-rules [class*="text-emerald"], .pg-rules [class*="text-teal"] { color: var(--t-teal) !important; }
.pg-rules [class*="bg-blue-50"], .pg-rules [class*="bg-emerald-50"] { background: #eef8f4 !important; border: 1px solid #bfe3d6 !important; color: var(--t-navy) !important; border-radius: 14px !important; }
.pg-rules [class*="text-slate-900"] { color: var(--t-navy) !important; }

.pg-ask { display: flex; align-items: center; gap: 18px; }
.pg-ask > div:not(.pg-ic) { flex: 1; min-width: 0; }
.pg-ask b { display: block; font-family: var(--t-display); font-size: 24px; line-height: 1.1; color: var(--t-navy); }
.pg-ask span { font-size: 14px; color: var(--t-muted); }

/* ---------- Liên hệ ---------- */
.pg-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.pg-info { display: flex; flex-direction: column; gap: 12px; }
.pg-info-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 16px; background: var(--t-soft); min-width: 0; }
.pg-info-row > div { min-width: 0; }
.pg-info-row small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-muted); }
.pg-info-row p, .pg-info-row a { margin: 3px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--t-navy); overflow-wrap: anywhere; }
.pg-map { margin-top: 16px; border-radius: 16px; overflow: hidden; }
.pg-map iframe { display: block; width: 100%; height: 280px; border: 0; }
.pg-form { display: flex; flex-direction: column; gap: 16px; }
.pg-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pg-f { min-width: 0; }
.pg-f label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--t-navy); }
.pg-f label i { font-style: normal; color: var(--t-red); }
.pg-in { display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #dbe6ea; background: #fbfdfd; font-size: 15px; color: var(--t-navy); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.pg-in::placeholder { color: var(--t-muted-2); }
.pg-in:focus { border-color: var(--t-teal); background: #fff; box-shadow: 0 0 0 4px rgba(23, 152, 122, .12); }
.pg-in.bad { border-color: var(--t-red); }
textarea.pg-in { min-height: 150px; resize: vertical; line-height: 1.6; }
.pg-ferr { margin-top: 5px; font-size: 12.5px; color: var(--t-red); }
.pg-errbox { padding: 12px 16px; border-radius: 14px; background: #fdecec; color: #a32b2b; border: 1px solid #f3c4c4; font-size: 14px; margin-bottom: 16px; }
.pg-errbox ul { margin: 0; padding-left: 18px; list-style: disc; }
.pg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pg-send { width: 100%; min-height: 52px; font-size: 16px; }
.pg-send svg { width: 18px; height: 18px; }

/* ---------- Đối tác ---------- */
.pg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pg-stat { text-align: center; padding: 24px 16px; }
.pg-stat .pg-ic { margin: 0 auto; }
.pg-stat b { display: block; margin-top: 14px; font-family: var(--t-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--t-navy); }
.pg-stat span { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--t-muted); }
.pg-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.pg-logo { width: 184px; height: 104px; box-sizing: border-box; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--t-shadow); display: flex; align-items: center; justify-content: center; transition: transform .2s, box-shadow .2s; }
a.pg-logo:hover { transform: translateY(-3px); box-shadow: var(--t-shadow-lg); }
.pg-logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.pg-logo:hover img { filter: none; opacity: 1; }
.pg-logo span { font-family: var(--t-display); font-weight: 700; font-size: 22px; color: var(--t-navy); text-align: center; overflow-wrap: anywhere; }
.pg-pkgs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pg-pkg { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; }
.pg-pkg.hot { box-shadow: 0 0 0 2px var(--t-gold), var(--t-shadow-lg); }
.pg-pkg-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; background: var(--t-gold); color: #fff; box-shadow: 0 6px 14px rgba(245, 165, 36, .35); }
.pg-pkg-h { display: flex; align-items: center; gap: 12px; }
.pg-pkg-h > div { min-width: 0; }
.pg-pkg-h b { display: block; font-family: var(--t-display); font-size: 24px; line-height: 1.05; color: var(--t-navy); }
.pg-pkg-h small { font-size: 12.5px; color: var(--t-muted); }
.pg-pkg-p { margin: 18px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--t-line); font-family: var(--t-display); font-weight: 700; font-size: 30px; line-height: 1; color: var(--t-navy); }
.pg-pkg ul { flex: 1; margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pg-pkg li { display: flex; gap: 9px; font-size: 14px; line-height: 1.45; color: var(--t-text-2); }
.pg-pkg li svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--t-teal); }
.pg-pkg .t-btn { width: 100%; }
.pg-cta { position: relative; overflow: hidden; border-radius: 28px; background: var(--t-dark); color: #fff; text-align: center; padding: 56px 24px; }
.pg-cta-bg { position: absolute; inset: 0; background: url('/images/ui/cta-bg.webp') center/cover no-repeat; opacity: .3; }
.pg-cta-sh { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(23, 152, 122, .6) 0%, rgba(14, 42, 60, 0) 65%), linear-gradient(180deg, rgba(14, 42, 60, .55), rgba(14, 42, 60, .9)); }
.pg-cta > div:last-child { position: relative; }
.pg-cta h2 { margin: 0; font-family: var(--t-display); font-weight: 700; font-size: 44px; line-height: 1.02; text-transform: uppercase; color: #fff; }
.pg-cta p { margin: 12px auto 0; max-width: 620px; font-size: 15px; line-height: 1.6; color: var(--t-hero-text); }
.pg-cta .pg-acts { justify-content: center; }
.pg-cta .pg-acts .t-btn { max-width: 100%; }
.pg-cta .pg-acts .t-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Di động ---------- */
@media (max-width: 860px) {
    .pg-hero .t-hero-body { padding-bottom: 36px; }
    .pg-hero.pg-up-room .t-hero-body { padding-bottom: 72px; }
    .pg-h1 { font-size: 40px !important; }
    .pg-lead { font-size: 14px !important; }
    .pg-acts .t-btn { flex: 1 1 100%; }
    .pg-body { padding: 20px 16px 48px; gap: 22px; }
    .pg-up { margin-top: -52px; }
    .pg-sec-h h2 { font-size: 30px; }
    .pg-sec-h p { font-size: 14px; }
    .pg-card { padding: 20px; border-radius: 18px; }
    .pg-card > h3 { font-size: 22px; margin-top: 12px; }
    .pg-card > p { font-size: 14px; }
    .pg-card-h h2 { font-size: 24px; }
    .pg-grid3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pg-grid3 > .pg-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; }
    .pg-grid3 > .pg-card > .pg-ic { grid-row: span 2; }
    .pg-grid3 > .pg-card > h3 { margin: 2px 0 4px; }
    .pg-tl { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 26px; gap: 12px; }
    .pg-tl::before { left: 7px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--t-mint), var(--t-teal), var(--t-navy-2)); }
    .pg-tl-it { padding: 14px 16px; }
    .pg-tl-it::before { left: -26px; top: 18px; }
    .pg-av { width: 64px; height: 64px; font-size: 26px; }
    .pg-av.lg { width: 104px; height: 104px; font-size: 40px; }
    .pg-team { gap: 10px; }
    .pg-mem { width: calc(50% - 5px); padding: 16px 8px 14px; }
    .pg-mem b { font-size: 14px; }
    .pg-group-t { margin: 20px 0 12px; }
    .pg-prose { font-size: 14.5px; }
    .pg-prose h1, .pg-prose h2 { font-size: 24px; }
    .pg-ask { flex-direction: column; text-align: center; }
    .pg-ask .t-btn { width: 100%; }
    .pg-contact { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .pg-row2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .pg-in { font-size: 16px; }
    .pg-map iframe { height: 220px; }
    .pg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pg-stat { padding: 18px 10px; }
    .pg-stat b { font-size: 34px; margin-top: 10px; }
    .pg-stat span { font-size: 13px; }
    .pg-logos { gap: 10px; }
    .pg-logo { width: calc(50% - 5px); height: 88px; padding: 14px; }
    .pg-pkgs { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .pg-cta { border-radius: 22px; padding: 40px 18px; }
    .pg-cta h2 { font-size: 32px; }
    .pg-cta p { font-size: 14px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
    .pg-pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
}

/* ==========================================================================
   Trang độc lập: lỗi 404/500/503, đăng nhập, chuyển hướng app (không dùng layout)
   ========================================================================== */
body.pg-solo { min-height: 100vh; background: var(--t-dark); color: #fff; }
.pg-dark { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 20px; box-sizing: border-box; overflow: hidden; text-align: center; }
.pg-dark-bg { position: absolute; inset: 0; background: url('/images/ui/cta-bg.webp') center 40%/cover no-repeat; opacity: .28; }
.pg-dark-sh { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 115%, rgba(23, 152, 122, .6) 0%, rgba(14, 42, 60, 0) 62%), linear-gradient(180deg, rgba(14, 42, 60, .62) 0%, rgba(14, 42, 60, .94) 100%); }
.pg-dark-in { position: relative; width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; }
.pg-solo .t-logo img { height: 72px; }
.pg-num { margin: 22px 0 4px; font-family: var(--t-display); font-style: italic; font-weight: 800; font-size: clamp(110px, 24vw, 180px); line-height: .9; letter-spacing: -.01em; background: var(--t-grad) center/cover; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 10px; }
.pg-dark h1 { margin: 6px 0 0; font-family: var(--t-display); font-weight: 700; font-size: 42px; line-height: 1.02; text-transform: uppercase; color: #fff; }
.pg-dark p.pg-sub { margin: 14px 0 0; max-width: 460px; font-size: 15px; line-height: 1.65; color: var(--t-hero-text); }
.pg-dark .pg-acts { justify-content: center; margin-top: 28px; }
.pg-dark .t-btn svg { width: 18px; height: 18px; }
.pg-dark-foot { position: relative; margin-top: 36px; font-size: 12px; color: var(--t-hero-muted); }
.pg-dark-foot a { color: var(--t-hero-text); text-decoration: underline; text-underline-offset: 2px; }

/* Chuyển hướng app Strava */
.pg-go .pg-dark-in { max-width: 380px; }
.pg-go .t-btn { width: 100%; box-sizing: border-box; }
.pg-go .pg-acts { flex-direction: column; gap: 10px; width: 100%; }
.pg-go-main { min-height: 56px !important; font-size: 17px !important; background: var(--t-strava); color: #fff !important; box-shadow: 0 8px 22px rgba(252, 76, 2, .35); }
.pg-go-main:hover { background: #e34402; }
.pg-go-main svg { width: 22px !important; height: 22px !important; }
.pg-go small { display: block; margin-top: 20px; font-size: 12.5px; color: var(--t-hero-muted); }
.pg-go small a { color: var(--t-hero-text); text-decoration: underline; text-underline-offset: 2px; }

/* Đăng nhập */
.pg-login { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--t-bg); color: var(--t-navy); }
.pg-login-side { position: relative; overflow: hidden; background: var(--t-dark); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 36px clamp(28px, 5vw, 72px) 40px; box-sizing: border-box; }
.pg-login-side > :not(.pg-dark-bg):not(.pg-dark-sh) { position: relative; }
.pg-login-side h1 { margin: 0; font-family: var(--t-display); font-weight: 700; font-size: clamp(44px, 4.6vw, 68px); line-height: .95; text-transform: uppercase; color: #fff; }
.pg-login-side p { margin: 16px 0 0; max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--t-hero-text); }
.pg-perks { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.pg-perks div { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--t-hero-text); }
.pg-perks span { width: 36px; height: 36px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(78, 227, 154, .14); border: 1px solid rgba(78, 227, 154, .3); color: var(--t-mint); }
.pg-perks svg { width: 18px; height: 18px; }
.pg-login-side small { font-size: 12px; color: var(--t-hero-muted); }
.pg-login-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; box-sizing: border-box; }
.pg-login-card { width: 100%; max-width: 440px; background: #fff; border-radius: 26px; box-shadow: var(--t-shadow-lg); padding: 40px 36px; box-sizing: border-box; }
.pg-login-card h2 { margin: 8px 0 0; font-family: var(--t-display); font-weight: 700; font-size: 40px; line-height: 1; text-transform: uppercase; color: var(--t-navy); }
.pg-login-card > p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--t-text-2); }
.pg-login-card .pg-errbox { margin: 20px 0 0; }
.pg-strava-box { margin-top: 24px; padding: 18px; border-radius: 18px; background: var(--t-soft); }
.pg-strava-box p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--t-text-2); text-align: center; }
.pg-strava-btn { width: 100%; box-sizing: border-box; justify-content: center; min-height: 56px; font-size: 17px; border-radius: 16px; }
.pg-strava-btn svg { width: 22px; height: 22px; }
.pg-terms { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--t-muted); text-align: center; }
.pg-terms a { color: var(--t-teal); font-weight: 600; }
.pg-terms a:hover { text-decoration: underline; }
.pg-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--t-navy-2); }
.pg-back:hover { color: var(--t-teal); }
.pg-back svg { width: 16px; height: 16px; }
.pg-login-m { display: none; }

@media (max-width: 860px) {
    .pg-solo .t-logo img { height: 56px; }
    .pg-dark h1 { font-size: 32px; }
    .pg-dark p.pg-sub { font-size: 14px; }
    .pg-dark .pg-acts { width: 100%; flex-direction: column; }
    .pg-dark .pg-acts .t-btn { width: 100%; }
    .pg-login { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .pg-login-side { padding: 22px 20px 72px; }
    .pg-login-side .pg-perks, .pg-login-side small { display: none; }
    .pg-login-side h1 { font-size: 36px; margin-top: 22px; }
    .pg-login-side p { display: none; }
    .pg-login-main { align-items: flex-start; padding: 0 16px 32px; margin-top: -52px; position: relative; }
    .pg-login-card { padding: 26px 20px; border-radius: 22px; }
    .pg-login-card h2 { font-size: 32px; }
    .pg-login-card > p { font-size: 14px; }
}
