/* =============================================================
   PTBoard Modern UI - inspired by mobile app design system
   Design tokens sourced from reference/new-UI-style.json
   ============================================================= */

:root {
    --ptb-sky: #2DBEF9;
    --ptb-sky-dark: #109edb;
    --ptb-sky-soft: #E3F4FD;
    --ptb-navy: #1D2B36;
    --ptb-white: #FFFFFF;
    --ptb-bg: #F8F9FA;
    --ptb-card: #FFFFFF;
    --ptb-success: #4BCB6A;
    --ptb-amber: #FFB100;
    --ptb-coral: #FF5E5E;
    --ptb-purple: #7B61FF;
    --ptb-gray: #5C6770;
    --ptb-gray-soft: #7A8590;
    --ptb-text: #3B4451;
    --ptb-heading: #1D2B36;
    --ptb-border: #E6EAEE;

    --radius-card: 16px;
    --radius-button: 24px;
    --radius-input: 12px;
    --radius-tag: 8px;

    --shadow-soft: 0px 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0px 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0px 12px 32px rgba(45, 190, 249, 0.18);

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "San Francisco",
                  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--ptb-bg);
    color: var(--ptb-text);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ptb-sky-dark); text-decoration: none; }
a:hover { color: var(--ptb-sky-dark); text-decoration: underline; }

/* Keyboard focus ring — visible outline for sighted keyboard users */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--ptb-sky);
    outline-offset: 2px;
    border-radius: 4px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-sans);
    color: var(--ptb-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 16px 0;
}
h1 { font-size: 44px; letter-spacing: -0.03em; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; font-weight: 600; }

p { margin: 0 0 16px 0; }

img { max-width: 100%; height: auto; display: block; }

.ptb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.ptb-narrow { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.ptb-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ptb-border);
}
.ptb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.ptb-logo {
    display: flex;
    align-items: center;
}
.ptb-logo img { width: 160px; height: auto; display: block; }

.ptb-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.ptb-nav a {
    color: var(--ptb-heading);
    font-size: 16px;
    font-weight: 500;
    transition: color 150ms ease;
}
.ptb-nav a:hover { color: var(--ptb-sky); }

.ptb-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- Google Translate widget (top nav) ----------
   Tames the markup Google injects so it sits cleanly next to the
   action buttons. Hidden on small screens to keep the header tidy. */
.ptb-translate {
    display: flex;
    align-items: center;
    min-height: 32px;
}
.ptb-translate .goog-te-gadget {
    font-family: var(--font-sans) !important;
    font-size: 0 !important;            /* hides "Powered by " text node */
    color: var(--ptb-gray) !important;
    line-height: 1 !important;
}
.ptb-translate .goog-te-gadget > span,
.ptb-translate .goog-logo-link,
.ptb-translate .goog-logo-link-holder { display: none !important; }   /* hides "Google" link */
.ptb-translate .goog-te-gadget-simple {
    background: var(--ptb-white) !important;
    border: 1px solid var(--ptb-border) !important;
    border-radius: var(--radius-input) !important;
    padding: 6px 28px 6px 12px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    color: var(--ptb-heading) !important;
    cursor: pointer;
    position: relative;
    text-decoration: none !important;
}
.ptb-translate .goog-te-gadget-simple:hover {
    border-color: var(--ptb-sky) !important;
}
.ptb-translate .goog-te-gadget-simple::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--ptb-gray);
    border-bottom: 2px solid var(--ptb-gray);
    transform: translateY(-75%) rotate(45deg);
    pointer-events: none;
}
.ptb-translate .goog-te-gadget-simple .goog-te-menu-value {
    color: var(--ptb-heading) !important;
    font-weight: 500;
    text-decoration: none !important;
}
.ptb-translate .goog-te-gadget-simple .goog-te-menu-value span { color: inherit !important; }
.ptb-translate .goog-te-gadget-simple img,
.ptb-translate .goog-te-gadget-simple .goog-te-menu-value img { display: none !important; }
.ptb-translate .goog-te-gadget-icon { display: none !important; }

/* When translation is active, Google injects a fixed banner-frame at
   top:0 (height ~40px) and offsets the body via inline style. The
   sticky .ptb-header is anchored to the viewport, so without this it
   sits underneath the banner and the menu becomes unclickable. Push
   the sticky header down by the banner height while translated. */
body.translated-ltr .ptb-header,
body.translated-rtl .ptb-header { top: 40px; }
@media (max-width: 900px) {
    .ptb-translate { display: none; }
}

/* ---------- Auth-state visibility toggles for top nav ----------
   Default state = unauthed: show .js-f-school + .js-u-authed,
   hide .js-s-school + .js-authed. Adding `is-authed` to <body>
   (via /hgs/js/ptb-modern-auth.js) flips the visibility.
   `a.` prefix raises specificity above .btn so display:none wins. */
a.js-s-school,
a.js-authed { display: none; }

body.is-authed a.js-f-school,
body.is-authed a.js-u-authed { display: none; }

body.is-authed a.js-s-school,
body.is-authed a.js-authed { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    min-height: 44px;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-button);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 180ms ease;
    white-space: nowrap;
    line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--ptb-sky);
    color: var(--ptb-white);
    box-shadow: 0 4px 14px rgba(45, 190, 249, 0.35);
}
.btn-primary:hover {
    background: var(--ptb-sky-dark);
    color: var(--ptb-white);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(45, 190, 249, 0.4);
}
.btn-ghost {
    background: transparent;
    color: var(--ptb-heading);
    border-color: var(--ptb-border);
}
.btn-ghost:hover {
    background: var(--ptb-white);
    border-color: var(--ptb-sky);
    color: var(--ptb-sky);
}
.btn-dark {
    background: var(--ptb-navy);
    color: var(--ptb-white);
}
.btn-dark:hover { background: #0d1820; color: var(--ptb-white); }
.btn-lg { padding: 16px 32px; font-size: 17px; min-height: 52px; }
.btn-sm { padding: 10px 18px; font-size: 15px; min-height: 44px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(45, 190, 249, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 20%, rgba(123, 97, 255, 0.10), transparent 60%),
        linear-gradient(180deg, #F8FBFF 0%, #F8F9FA 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: var(--ptb-white);
    border: 1px solid var(--ptb-border);
    color: var(--ptb-sky-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}
.hero-eyebrow::before {
    content: "";
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--ptb-success);
}
.hero h1 {
    font-size: 52px;
    line-height: 1.08;
}
.hero h1 .accent {
    background: linear-gradient(90deg, #2DBEF9 0%, #7B61FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 20px;
    line-height: 1.6;
    color: var(--ptb-text);
    max-width: 560px;
    margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
    margin-top: 28px;
    display: flex; align-items: center; gap: 16px;
    color: var(--ptb-gray); font-size: 15px;
}
.hero-trust .dot {
    width: 4px; height: 4px; border-radius: 50%; background: var(--ptb-gray);
}

.hero-visual {
    position: relative;
}
.hero-card-stack {
    position: relative;
    background: var(--ptb-card);
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
    padding: 24px;
    border: 1px solid var(--ptb-border);
}
.hero-card-head {
    font-size: 14px; color: var(--ptb-gray); margin-bottom: 6px;
}
.hero-card-welcome {
    font-size: 24px; font-weight: 800; color: var(--ptb-heading);
    margin-bottom: 18px;
}
.hero-card-welcome .badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    background: var(--ptb-success);
    color: var(--ptb-white);
    font-size: 13px; font-weight: 700;
    padding: 4px 12px; border-radius: 999px;
}
.hero-tile {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: var(--ptb-white);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    margin-bottom: 10px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.hero-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.hero-tile .ico {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
}
.hero-tile .label { font-weight: 600; color: var(--ptb-heading); flex: 1; }
.hero-tile .caret { color: var(--ptb-gray); font-size: 20px; }

.ico-teal   { background: #1FB6A8; }
.ico-sky    { background: var(--ptb-sky); }
.ico-amber  { background: var(--ptb-amber); }
.ico-navy   { background: #3C4C8D; }
.ico-coral  { background: #F56C4E; }
.ico-purple { background: var(--ptb-purple); }

.floating-ping {
    position: absolute;
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow-medium);
    font-size: 14px;
    color: var(--ptb-heading);
    font-weight: 600;
    display: flex; align-items: center; gap: 10px;
}
.floating-ping .ping-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--ptb-success);
    box-shadow: 0 0 0 4px rgba(75, 203, 106, 0.18);
}
.ping-top    { top: -16px;   left: -28px; }
.ping-bottom { bottom: -18px; right: -24px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-bg { background: var(--ptb-white); }
.section-bg-soft { background: var(--ptb-bg); }
.section-bg-sky {
    background: linear-gradient(180deg, var(--ptb-sky-soft) 0%, var(--ptb-bg) 100%);
}
.section-dark {
    background: var(--ptb-navy);
    color: #B8C3CC;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--ptb-white); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .kicker {
    display: inline-block;
    color: var(--ptb-sky-dark);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.section-head p {
    color: var(--ptb-text);
    font-size: 18px;
    line-height: 1.6;
}

/* ---------- Feature Grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: #CDE8F7;
}
.feature-card .ico {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p { font-size: 16px; line-height: 1.6; color: var(--ptb-text); margin: 0; }
.feature-card .link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px;
    color: var(--ptb-sky-dark);
    font-weight: 600;
    font-size: 15px;
}

/* ---------- Alternating Feature Rows ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
}
.feature-row.reverse .feature-row-visual { order: 2; }
.feature-row h2 { font-size: 34px; }
.feature-row ul.check-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}
.feature-row ul.check-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--ptb-text);
}
.feature-row ul.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--ptb-success) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center;
}
.feature-row-visual {
    background: var(--ptb-white);
    border: 1px solid var(--ptb-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}
.fr-subtitle {
    color: var(--ptb-sky-dark);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

/* ---------- Testimonial ---------- */
.testi-card {
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-soft);
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}
.testi-card::before {
    content: "\201C";
    position: absolute;
    top: -22px; left: 28px;
    font-family: Georgia, serif;
    font-size: 110px;
    line-height: 1;
    color: var(--ptb-sky);
    opacity: 0.22;
}
.testi-quote {
    font-size: 19px;
    color: var(--ptb-heading);
    font-weight: 500;
    line-height: 1.65;
}
.testi-author {
    display: flex; align-items: center; gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ptb-border);
}
.testi-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ptb-sky), var(--ptb-purple));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
}
.testi-meta .name { font-weight: 700; color: var(--ptb-heading); font-size: 16px; }
.testi-meta .role { color: var(--ptb-gray); font-size: 14px; }

.testi-controls {
    display: flex; justify-content: center; align-items: center; gap: 14px;
    margin-top: 20px;
}
.testi-nav {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ptb-border);
    background: var(--ptb-card);
    color: var(--ptb-heading);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 180ms ease;
    display: flex; align-items: center; justify-content: center;
}
.testi-nav:hover {
    background: var(--ptb-sky);
    color: var(--ptb-white);
    border-color: var(--ptb-sky);
    box-shadow: 0 6px 14px rgba(45, 190, 249, 0.35);
}
.testi-counter {
    color: var(--ptb-gray);
    font-size: 14px;
    font-weight: 600;
    min-width: 56px; text-align: center;
}
.testi-counter .js-testi-index { color: var(--ptb-heading); }

/* ---------- Webinar Promo ---------- */
.webinar-promo {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, #F4FBFF 0%, #FFFFFF 60%);
    border: 1px solid var(--ptb-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}
.webinar-promo h2 { font-size: 30px; margin-bottom: 10px; }
.webinar-promo p { font-size: 17px; line-height: 1.6; margin-bottom: 20px; max-width: 520px; }
.webinar-promo-visual { display: flex; flex-direction: column; gap: 10px; }
.webinar-tile {
    display: flex; align-items: center; gap: 14px;
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    padding: 14px 16px;
    box-shadow: var(--shadow-soft);
}
.webinar-tile .ico {
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.webinar-tile .label { font-weight: 700; color: var(--ptb-heading); font-size: 16px; }
.webinar-tile .meta  { font-size: 14px; color: var(--ptb-gray); margin-top: 2px; }

@media (max-width: 960px) {
    .webinar-promo { grid-template-columns: 1fr; padding: 28px; }
}

/* ---------- CTA Band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #2DBEF9 0%, #7B61FF 100%);
    border-radius: 28px;
    padding: 56px 48px;
    color: var(--ptb-white);
    text-align: center;
    margin: 24px auto;
}
.cta-band h2 { color: var(--ptb-white); font-size: 36px; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.95); font-size: 18px; line-height: 1.55; max-width: 660px; margin: 0 auto 24px; }
.cta-band .btn-primary {
    background: var(--ptb-white);
    color: var(--ptb-sky-dark);
}
.cta-band .btn-primary:hover { background: #F0F9FF; color: var(--ptb-sky-dark); }
.cta-band::before, .cta-band::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
    opacity: 0.15;
    background: radial-gradient(circle, #fff 0%, transparent 60%);
}
.cta-band::before { width: 360px; height: 360px; top: -160px; left: -120px; }
.cta-band::after  { width: 420px; height: 420px; bottom: -220px; right: -120px; }

/* ---------- Brand / Award Strip ---------- */
.brand-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid var(--ptb-border);
    border-bottom: 1px solid var(--ptb-border);
    margin-top: 56px;
}
.brand-strip .brand-item {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    text-align: center;
}
.brand-strip img { max-height: 56px; width: auto; }
.brand-strip .caption { color: var(--ptb-gray); font-size: 14px; max-width: 280px; }

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}
.price-card {
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: 20px;
    padding: 36px 30px;
    position: relative;
    display: flex; flex-direction: column;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.price-card.featured {
    border-color: var(--ptb-sky);
    box-shadow: 0 16px 36px rgba(45, 190, 249, 0.16);
    transform: translateY(-6px);
}
.price-card .plan-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ptb-gray);
}
.price-card.featured .plan-label { color: var(--ptb-sky-dark); }
.price-card h3 { margin-top: 8px; font-size: 24px; }
.price-card .plan-scope { color: var(--ptb-gray); font-size: 14px; margin-top: 4px; }
.price-card .plan-price {
    font-size: 44px;
    font-weight: 800;
    color: var(--ptb-heading);
    margin: 20px 0 2px;
    letter-spacing: -0.02em;
}
.price-card .plan-price .per { font-size: 16px; color: var(--ptb-gray); font-weight: 500; }
.price-card .trial-note { color: var(--ptb-text); font-size: 14px; margin-bottom: 20px; }
.price-card .ribbon {
    position: absolute;
    top: -12px; right: 24px;
    background: var(--ptb-sky);
    color: #fff;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 14px rgba(45, 190, 249, 0.35);
}
.price-features {
    list-style: none;
    padding: 0; margin: 16px 0 24px;
    border-top: 1px solid var(--ptb-border);
    padding-top: 16px;
}
.price-features li {
    position: relative;
    padding: 10px 0 10px 30px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ptb-text);
}
.price-features li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(45, 190, 249, 0.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232DBEF9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center;
}
.price-card .btn { width: 100%; margin-top: auto; }

.fine-print { font-size: 14px; color: var(--ptb-gray); line-height: 1.55; margin-top: 20px; }
.fine-print sup { color: var(--ptb-coral); }

/* ---------- Simple FAQ / Info lists ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    margin-bottom: 12px;
}
.faq-item h4 { margin: 0 0 8px; font-size: 18px; color: var(--ptb-heading); }
.faq-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ptb-text); }

/* ---------- Values / Mission cards ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.value-card {
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    padding: 28px;
    text-align: left;
    box-shadow: var(--shadow-soft);
}
.value-card .ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
    margin-bottom: 12px;
}
.value-card h4 { font-size: 19px; margin-bottom: 8px; }
.value-card p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--ptb-text); }

/* ---------- Footer ---------- */
.ptb-footer {
    background: var(--ptb-navy);
    color: #B8C3CC;
    padding: 56px 0 24px;
    margin-top: 64px;
}
.ptb-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ptb-footer h5 {
    color: var(--ptb-white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
}
.ptb-footer a { color: #CFD6DC; font-size: 15px; display: block; padding: 6px 0; }
.ptb-footer a:hover { color: var(--ptb-sky); text-decoration: underline; }
.ptb-footer .brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; color: var(--ptb-white); font-size: 20px;
    margin-bottom: 12px;
}
.ptb-footer .tagline { font-size: 15px; line-height: 1.55; max-width: 320px; color: #ADB7BF; }
.ptb-footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    padding-top: 18px;
    color: #8B969F;
    font-size: 14px;
}

/* ---------- Media ---------- */
@media (max-width: 960px) {
    .hero-grid, .feature-row, .feature-grid, .pricing-grid, .values-grid, .ptb-footer-grid, .brand-strip {
        grid-template-columns: 1fr;
    }
    .hero { padding: 64px 0 72px; }
    .hero h1 { font-size: 36px; }
    h2 { font-size: 26px; }
    .feature-row.reverse .feature-row-visual { order: 0; }
    .ptb-nav { display: none; }
    .cta-band { padding: 40px 24px; }
    .section { padding: 56px 0; }
}

/* Tiny inline svg icons baked inline via ::before use content pattern */
.icon-bell::before,
.icon-users::before,
.icon-pay::before,
.icon-grad::before,
.icon-dir::before,
.icon-photo::before,
.icon-cal::before,
.icon-chat::before,
.icon-chart::before,
.icon-mail::before,
.icon-pin::before,
.icon-clock::before {
    content: "";
    display: inline-block;
    width: 22px; height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.icon-bell::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M18 16v-5a6 6 0 10-12 0v5l-2 2h16z'/><path d='M10 20a2 2 0 004 0'/></svg>"); }
.icon-users::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3.5'/><path d='M2.5 20c.5-3.5 3.2-5.5 6.5-5.5s6 2 6.5 5.5'/><circle cx='17' cy='9' r='2.8'/><path d='M15 14.5c2.8 0 5 1.6 5.5 4.5'/></svg>"); }
.icon-pay::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='6' width='19' height='13' rx='2'/><path d='M2.5 10h19'/><path d='M6 15h3'/></svg>"); }
.icon-grad::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 9l10-5 10 5-10 5z'/><path d='M6 11v5c0 1.6 3 3 6 3s6-1.4 6-3v-5'/></svg>"); }
.icon-dir::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h13a3 3 0 013 3v13H7a3 3 0 01-3-3V4z'/><path d='M8 8h8M8 12h8M8 16h5'/></svg>"); }
.icon-photo::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><circle cx='12' cy='12' r='3.5'/></svg>"); }
.icon-cal::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='2'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>"); }
.icon-chat::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a8 8 0 11-3.3-6.5L21 4l-1 3.5A7.9 7.9 0 0121 12z'/></svg>"); }
.icon-chart::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 20V10M10 20V4M16 20v-8M22 20H2'/></svg>"); }
.icon-mail::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3 7l9 7 9-7'/></svg>"); }
.icon-pin::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s7-7.6 7-13a7 7 0 10-14 0c0 5.4 7 13 7 13z'/><circle cx='12' cy='9' r='2.5'/></svg>"); }
.icon-clock::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>"); }

/* ---------- Webinar CMS dynamic content ----------
   Backend-generated webinar listings (GET /school/content?cid=home101)
   should emit markup using these classes so the dynamic body matches
   the modern design system. Drop the .webinar-cms block inside the
   existing .js-webnar / .feature-row-visual card on webinar.html. */

.webinar-cms { color: var(--ptb-text); }

.webinar-cms__intro {
    text-align: center;
    padding: 4px 0 22px;
    border-bottom: 1px solid var(--ptb-border);
    margin-bottom: 24px;
}
.webinar-cms__title {
    font-size: 26px;
    font-weight: 800;
    color: var(--ptb-heading);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.webinar-cms__lede {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ptb-text);
    max-width: 600px;
    margin: 0 auto;
}

.webinar-cms__category { margin-top: 32px; }
.webinar-cms__category:first-of-type { margin-top: 0; }

.webinar-cms__cat-head {
    text-align: center;
    margin-bottom: 16px;
}
.webinar-cms__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--ptb-sky-soft);
    color: var(--ptb-sky-dark);
    margin-bottom: 8px;
}
.webinar-cms__cat-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ptb-heading);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.webinar-cms__cat-desc {
    font-size: 15px;
    color: var(--ptb-gray);
    line-height: 1.55;
    max-width: 540px;
    margin: 0 auto;
}

.webinar-cms__category.is-workshop .webinar-cms__eyebrow {
    background: rgba(255, 177, 0, 0.18);
    color: #8F5F00;
}
.webinar-cms__category.is-office .webinar-cms__eyebrow {
    background: rgba(123, 97, 255, 0.15);
    color: #5547B8;
}

.webinar-cms__sessions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}

.webinar-cms__session {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    background: var(--ptb-bg);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    padding: 14px 18px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.webinar-cms__session:hover {
    border-color: var(--ptb-sky);
    box-shadow: var(--shadow-soft);
}
.webinar-cms__session-meta { min-width: 0; }
.webinar-cms__session-date {
    font-size: 16px;
    font-weight: 700;
    color: var(--ptb-heading);
    margin: 0 0 2px;
}
.webinar-cms__session-time {
    font-size: 14px;
    color: var(--ptb-gray);
    margin: 0;
}

.webinar-cms__session-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    min-height: 40px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-button);
    background: var(--ptb-sky);
    color: var(--ptb-white);
    text-decoration: none;
    white-space: nowrap;
    transition: all 180ms ease;
}
.webinar-cms__session-cta:hover {
    background: var(--ptb-sky-dark);
    color: var(--ptb-white);
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(45, 190, 249, 0.30);
}
.webinar-cms__category.is-workshop .webinar-cms__session-cta {
    background: var(--ptb-amber);
    color: var(--ptb-heading);
}
.webinar-cms__category.is-workshop .webinar-cms__session-cta:hover {
    background: #E69F00;
    box-shadow: 0 6px 14px rgba(255, 177, 0, 0.30);
}
.webinar-cms__category.is-office .webinar-cms__session-cta {
    background: var(--ptb-purple);
    color: var(--ptb-white);
}
.webinar-cms__category.is-office .webinar-cms__session-cta:hover {
    background: #6549E6;
    box-shadow: 0 6px 14px rgba(123, 97, 255, 0.30);
}

.webinar-cms__primary-cta {
    text-align: center;
    margin-top: 14px;
}

.webinar-cms__footnote {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--ptb-border);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ptb-gray);
    text-align: center;
}
.webinar-cms__footnote a { color: var(--ptb-sky-dark); font-weight: 600; }

@media (max-width: 600px) {
    .webinar-cms__session { grid-template-columns: 1fr; }
    .webinar-cms__session-cta { width: 100%; }
}

/* sub-hero headline for non-index pages */
.page-hero {
    padding: 96px 0 64px;
    background:
        radial-gradient(900px 400px at 90% 10%, rgba(45, 190, 249, 0.18), transparent 55%),
        linear-gradient(180deg, #F4FAFF 0%, var(--ptb-bg) 100%);
    text-align: center;
}
.page-hero h1 { font-size: 48px; margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: var(--ptb-text); max-width: 640px; margin: 0 auto; }

/* ---------- Setup steps / numbered cards ---------- */
.setup-callout {
    display: flex;
    gap: 16px;
    background: #FFF8E5;
    border: 1px solid #F4E0A6;
    border-radius: var(--radius-card);
    padding: 20px 22px;
    margin: 0 auto 36px;
    max-width: 820px;
    align-items: flex-start;
}
.setup-callout .ico {
    width: 36px; height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ptb-amber);
    color: #fff;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    line-height: 1;
}
.setup-callout strong { color: var(--ptb-heading); }
.setup-callout p { margin: 0; color: var(--ptb-text); font-size: 15px; line-height: 1.55; }

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 820px;
    margin: 0 auto;
}
.step-card {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 22px;
    align-items: center;
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.step-card .step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2DBEF9 0%, #7B61FF 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800;
    box-shadow: 0 6px 16px rgba(45, 190, 249, 0.3);
}
.step-card .step-body h3 {
    font-size: 19px;
    margin: 0 0 4px;
}
.step-card .step-body p {
    margin: 0;
    color: var(--ptb-text);
    font-size: 15px;
    line-height: 1.55;
}
.step-card .step-body p a { font-weight: 600; }
.step-card .btn { white-space: nowrap; }

@media (max-width: 700px) {
    .step-card {
        grid-template-columns: 56px 1fr;
        gap: 16px;
        padding: 20px;
    }
    .step-card .step-num { width: 48px; height: 48px; font-size: 19px; }
    .step-card .btn { grid-column: 1 / -1; justify-content: center; }
    .setup-callout { flex-direction: column; gap: 10px; }
}

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
    margin-top: 48px;
}
.contact-info-card,
.contact-form-card {
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 32px;
}
.contact-info-card h3 {
    font-size: 20px;
    margin: 0 0 18px;
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 0 24px;
}
.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.contact-info-item .ico {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 18px;
}
.contact-info-item .label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ptb-gray);
    font-weight: 600;
    margin-bottom: 2px;
}
.contact-info-item .value {
    color: var(--ptb-heading);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}
.contact-info-item .value a { color: var(--ptb-sky-dark); }
.contact-info-item .sub {
    color: var(--ptb-gray);
    font-size: 14px;
    margin-top: 2px;
}
.contact-hours {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--ptb-border);
    font-size: 14px;
    color: var(--ptb-gray);
}
.contact-hours strong { color: var(--ptb-heading); display: block; margin-bottom: 4px; font-size: 15px; }

.contact-form-card h3 {
    font-size: 22px;
    margin: 0 0 6px;
}
.contact-form-card .form-lede {
    color: var(--ptb-gray);
    font-size: 15px;
    margin: 0 0 24px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid .form-field-full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ptb-heading);
    letter-spacing: 0.01em;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--ptb-heading);
    background: var(--ptb-white);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-input);
    transition: border-color 150ms ease, box-shadow 150ms ease;
    line-height: 1.5;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A4ADB6; }
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--ptb-sky);
    box-shadow: 0 0 0 4px rgba(45, 190, 249, 0.15);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-actions {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.form-actions .btn[disabled],
.form-actions .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.form-status { font-size: 14px; min-height: 20px; }
.form-status.is-error { color: var(--ptb-coral); }
.form-status.is-success { color: var(--ptb-success); }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-info-card, .contact-form-card { padding: 24px; }
    .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Legal/long-form prose (Terms, Privacy) ---------- */
.legal-prose {
    background: var(--ptb-card);
    border: 1px solid var(--ptb-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 40px 48px;
    margin: 48px auto 0;
}
.legal-prose h2 {
    font-size: 22px;
    margin: 36px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--ptb-sky);
    color: var(--ptb-heading);
    line-height: 1.3;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--ptb-heading);
}
.legal-prose p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ptb-text);
    margin: 0 0 14px;
}
.legal-prose ul, .legal-prose ol {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ptb-text);
    padding-left: 22px;
    margin: 0 0 14px;
}
.legal-prose li { margin-bottom: 8px; }
.legal-prose a { color: var(--ptb-sky-dark); font-weight: 500; }
.legal-prose a:hover { text-decoration: underline; }
.legal-prose .legal-numbered {
    margin-left: 14px;
    padding-left: 0;
    list-style: none;
    counter-reset: legal-counter;
}
.legal-prose .legal-numbered li {
    counter-increment: legal-counter;
    position: relative;
    padding-left: 28px;
}
.legal-prose .legal-numbered li::before {
    content: counter(legal-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--ptb-sky-dark);
}
.legal-prose .legal-uppercase p {
    text-transform: none;
    /* preserve original ALL CAPS content; this just allows custom spacing if needed */
}
@media (max-width: 720px) {
    .legal-prose { padding: 28px 22px; border-radius: 12px; }
    .legal-prose h2 { font-size: 20px; }
}
