/* Shared styles for Privacy, Terms, and EULA pages */

/* Container — Bootstrap-style breakpoint ladder (capped at 1320px, matches all inner pages) */
.container { width: 100%; max-width: 100%; margin-right: auto; margin-left: auto; padding-right: 1rem; padding-left: 1rem; }
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

body.inner-page {
    background: var(--Royal-Blue-Blue-900, #051A3C);
    color: var(--Base-White, #fcfcfc);
}

/* ── Hero ── */
.pp-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
    text-align: center;
}
.pp-hero .hero-grid {
    -webkit-mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, #000 0%, rgba(0,0,0,.55) 55%, transparent 85%);
            mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, #000 0%, rgba(0,0,0,.55) 55%, transparent 85%);
}
.pp-hero .hero-orbs { overflow: visible; }
.pp-hero .orb-violet { left: -4%; top: 5%; bottom: auto; width: 440px; height: 440px; }
.pp-hero .orb-cyan   { left: 50%; top: 15%; bottom: auto; transform: translateX(-50%); width: 560px; height: 440px; }
.pp-hero .orb-blue   { right: -4%; top: 5%; bottom: auto; width: 440px; height: 440px; }

.pp-hero__glow {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 760px; height: 340px;
    background: radial-gradient(50% 50% at 50% 50%,
        rgba(28,169,201,.25) 0%, rgba(40,99,195,.12) 55%, transparent 100%);
    filter: blur(52px);
    pointer-events: none; z-index: 2;
}
.pp-hero__inner {
    position: relative; z-index: 4;
    max-width: 700px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.pp-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50px;
    background: rgba(255,255,255,0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 500;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: #67d3ff;
}
.pp-hero__eyebrow .het-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--Turquoise-SkyBlue-500, #1ca9c9);
    box-shadow: 0 0 8px rgba(28,169,201,.8);
    flex-shrink: 0;
}
.pp-hero__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 56px;
    line-height: 64px; letter-spacing: -0.8px;
    color: var(--Base-White, #fcfcfc);
    margin: 0;
}
.pp-hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 17px; line-height: 27px;
    color: rgba(252,252,252,0.72);
    max-width: 500px; margin: 0;
}
/* Wider variant for two-line sub-headlines (Privacy Notice page) */
.pp-hero__subtitle--wide { max-width: 660px; text-align: center; }
.pp-hero__meta {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(252,252,252,.45);
    margin: 0;
}

/* Privacy page: the hero credit block — version, registered address, contact.
   Its own 6px gap (against the hero's 20px) so the three lines read as one
   block under the sub-headline rather than three separate statements. */
.pp-hero__metablock {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; text-align: center;
}
/* Body-copy blue (#4075c9) is unreadable on the navy hero. This picks up the
   cyan already in .pp-hero__glow so the links sit inside the hero's palette
   instead of importing the article link colour onto a dark ground. */
.pp-hero__meta-link {
    color: #6fc9e0;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color .15s ease;
}
.pp-hero__meta-link:hover { text-decoration-color: currentColor; }

/* ── Content layout ── */
.pp-content {
    background: var(--Base-White, #fcfcfc);
    padding: 96px 0;
    position: relative;
    /* Note: no overflow:hidden here — it would break position:sticky on .pp-toc */
}
.pp-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(40,99,195,.14) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
}
.pp-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Sticky TOC sidebar ── */
.pp-toc {
    position: sticky;
    top: 140px;
    height: calc(100vh - 180px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #4075c9 transparent;
}
.pp-toc::-webkit-scrollbar { width: 3px; }
.pp-toc::-webkit-scrollbar-track { background: transparent; }
.pp-toc::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4075c9 0%, #1ca9c9 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity .2s ease;
}
.pp-toc:hover::-webkit-scrollbar-thumb { opacity: 1; }
.pp-toc__label {
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--blueGray-400, #94A3B8);
    margin-bottom: 16px;
}
.pp-toc__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.pp-toc__list a {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 400; line-height: 1.5;
    color: #4a5568;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.pp-toc__list a:hover,
.pp-toc__list a.is-active {
    background: var(--Royal-Blue-Blue-50, #e7eef8);
    color: var(--Royal-Blue-Blue-500, #0e48a5);
}
.pp-toc__divider {
    height: 1px;
    background: var(--blueGray-200, #E2E8F0);
    margin: 10px 0;
}

/* ── Article body ── */
.pp-article { max-width: 680px; }

.pp-section {
    margin-bottom: 52px;
    scroll-margin-top: 130px;
}
.pp-section:last-child { margin-bottom: 0; }

.pp-section__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 44px; font-weight: 300; line-height: 54px;
    letter-spacing: -0.6px;
    color: var(--Royal-Blue-Blue-900, #051A3C);
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--blueGray-200, #E2E8F0);
}
.pp-section__num {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--Turquoise-SkyBlue-500, #1ca9c9);
    margin-bottom: 6px;
}
.pp-article p {
    font-family: 'Inter', sans-serif;
    font-size: 15px; line-height: 26px;
    color: #4a5568;
    margin: 0 0 16px;
}
.pp-article p:last-child { margin-bottom: 0; }
.pp-article h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px; line-height: 28px; font-weight: 500;
    letter-spacing: -0.3px;
    color: var(--Royal-Blue-Blue-900, #051A3C);
    margin: 24px 0 8px;
}
.pp-article h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px; line-height: 30px; font-weight: 500;
    letter-spacing: -0.2px;
    color: var(--blueGray-700, #334155);
    margin: 20px 0 6px;
}
.pp-article ul,
.pp-article ol {
    font-family: 'Inter', sans-serif;
    font-size: 15px; line-height: 26px;
    color: #4a5568;
    padding-left: 22px;
    margin: 0 0 16px;
    display: flex; flex-direction: column; gap: 6px;
}
.pp-article ul { list-style-type: disc; }
.pp-article ol { list-style-type: lower-alpha; }
.pp-article a {
    color: var(--Royal-Blue-Blue-400, #4075c9);
    text-decoration: underline;
    text-decoration-color: transparent;
    cursor: pointer;
    transition: text-decoration-color .15s ease;
}
.pp-article a:hover { text-decoration-color: currentColor; }

/* ── Callout boxes ── */
.pp-callout {
    background: var(--Royal-Blue-Blue-50, #e7eef8);
    border-left: 3px solid var(--Royal-Blue-Blue-400, #4075c9);
    border-radius: 0 6px 6px 0;
    padding: 16px 20px;
    margin: 20px 0;
}
.pp-callout p {
    font-size: 14px !important;
    line-height: 22px !important;
    color: var(--Royal-Blue-Blue-700, #0c3b87) !important;
    margin: 0 0 8px !important;
}
.pp-callout p:last-child { margin: 0 !important; }

/* Warning callout (all-caps legal / disclaimer) */
.pp-warning {
    background: var(--Violet-Violet-50, #f0ebf7);
    border-left: 3px solid var(--Violet-Violet-450, #7747b6);
    border-radius: 0 6px 6px 0;
    padding: 16px 20px;
    margin: 16px 0;
}
.pp-warning p {
    font-family: 'Inter', sans-serif;
    font-size: 13px !important; line-height: 21px !important;
    color: var(--Violet-Violet-500, #55298e) !important;
    margin: 0 !important;
}

/* ── Contact card ── */
.pp-contact-card {
    background: var(--Base-White, #fcfcfc);
    border: 1px solid var(--blueGray-200, #E2E8F0);
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 20px;
}
.pp-contact-card p {
    font-size: 14px !important; margin: 0 0 4px !important;
}
.pp-contact-card p strong { color: var(--Royal-Blue-Blue-900, #051A3C); }

/* ── Rights chip grid (Privacy page) ── */
.pp-rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.pp-right-chip {
    display: flex; align-items: flex-start; gap: 10px;
    background: var(--Base-White, #fcfcfc);
    border: 1px solid var(--blueGray-200, #E2E8F0);
    border-radius: 10px;
    padding: 14px 16px;
}
.pp-right-chip__icon {
    width: 20px; height: 20px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--Turquoise-SkyBlue-50, #e8f6fa);
    color: var(--Turquoise-SkyBlue-500, #1ca9c9);
    display: flex; align-items: center; justify-content: center;
}
.pp-right-chip__icon svg { width: 11px; height: 11px; }
.pp-right-chip__text {
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 500; line-height: 1.4;
    color: var(--cool-101828, #101828);
}

/* ── Data table (Privacy page) ── */
.pp-table-wrap { overflow-x: auto; margin: 20px 0; }
.pp-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 20px;
}
.pp-table th {
    background: var(--Royal-Blue-Blue-50, #e7eef8);
    color: var(--Royal-Blue-Blue-900, #051A3C);
    font-weight: 600;
    text-align: left;
    padding: 11px 16px;
    border: 1px solid var(--blueGray-200, #E2E8F0);
}
.pp-table td {
    padding: 10px 16px;
    border: 1px solid var(--blueGray-200, #E2E8F0);
    color: #4a5568;
    vertical-align: top;
}
.pp-table tr:nth-child(even) td { background: var(--blueGray-50, #F8FAFC); }
.pp-table td strong { color: var(--Royal-Blue-Blue-900, #051A3C); }

/* ── Status badge (Privacy page) ── */
.pp-badge {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 50px;
}
.pp-badge--yes { background: var(--Turquoise-SkyBlue-50, #e8f6fa); color: var(--Turquoise-SkyBlue-500, #1ca9c9); }
.pp-badge--no  { background: var(--blueGray-50, #F8FAFC); color: var(--blueGray-400, #94A3B8); }

/* ── Uptime formula box (EULA page) ── */
.pp-formula {
    background: #F1F5F9;
    border: 1px solid var(--blueGray-200, #E2E8F0);
    border-radius: 6px;
    padding: 14px 18px;
    margin: 12px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: var(--Royal-Blue-Blue-500, #0e48a5);
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .pp-hero__title { font-size: 44px; line-height: 54px; }
    .pp-section__title { font-size: 34px; line-height: 44px; }
    .pp-layout { grid-template-columns: 1fr; }
    .pp-toc { position: static; height: auto; margin-bottom: 40px; }
    .pp-toc__list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .pp-toc__list a { font-size: 12px; }
    .pp-rights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .pp-hero { padding: 80px 0 72px; }
    .pp-content { padding: 56px 0; }
}
@media (max-width: 575px) {
    .pp-hero__title { font-size: 34px; line-height: 44px; }
    .pp-section__title { font-size: 26px; line-height: 36px; }
    .pp-content { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pp-toc__list a,
    .pp-article a,
    .pp-hero__meta-link { transition: none; }
}

/* ==== CTA & BUTTON STANDARD (site-wide) ==== */
/* Every action button on the site shares one size: 48px tall, 30px side
   padding, 16px label. The height comes from min-height plus centring,
   not vertical padding, so 0/1/2px borders all land on exactly 48px.
   The header and the mobile nav keep their compact buttons. The same
   block is copied into every page bundle; keep the copies identical. */
body :is(.btn-primary:not(.btn-primary--sm), .btn-demo--lg, .au-btn-demo--lg,
    .btn-ghost, .ab-btn-ghost, .ld-btn-ghost, .ld-btn-outline, .ind-btn-ghost,
    .fi-btn-ghost, .hr-btn-ghost, .mk-btn-ghost, .sl-btn-ghost,
    .hero-btn-outline, .hero-btn-demo, .dm2-ghost-btn, .explore-btn,
    .pr-btn-gradient, .pr-btn-outline, .pr-btn-ghost, .pr-tbl-plan__cta,
    .cs-form__submit, .ct-form__submit, .rd-form__submit, .pt-form__submit,
    .rls-signin, .footer-cta-button):not(.site-header *, header *, .mobile-nav-panel *){
    box-sizing: border-box;
    height: auto;
    min-height: 48px;
    padding: 0 30px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;   /* one weight for every CTA — matches the homepage */
    align-items: center;
    justify-content: center;
}
/* Buttons that were plain blocks need flex so the label centres vertically. */
body :is(.btn-ghost, .pr-btn-gradient, .pr-btn-outline, .pr-btn-ghost, .pr-tbl-plan__cta):not(.site-header *, header *, .mobile-nav-panel *){
    display: flex;
}

/* End-of-page CTA card: one height on every page (460px on desktop, 570px
   on tablet where the copy wraps more), copy centred vertically, width
   follows the container. */
@media (min-width: 768px){
    .mcp-cta-card, .au-cta__card, .di-final-cta__card, .ld-cta__card{
        box-sizing: border-box;
        min-height: 460px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
@media (min-width: 768px) and (max-width: 1023px){
    .mcp-cta-card, .au-cta__card, .di-final-cta__card, .ld-cta__card{ min-height: 570px; }
}

/* Secondary CTA appearance — the geometry above only unified SIZE, which is
   why these still looked different page to page. The gradient border uses the
   padding-box / border-box layer pair so it respects border-radius.
   --cta-surface is the colour the button sits ON; set it (and --cta-ink) on a
   light section so the inner fill and label stay legible there. */
body :is(.btn-demo--lg, .au-btn-demo--lg, .btn-ghost, .ab-btn-ghost, .ld-btn-ghost,
    .ind-btn-ghost, .fi-btn-ghost, .hr-btn-ghost, .mk-btn-ghost, .sl-btn-ghost,
    .hero-btn-outline, .hero-btn-demo, .dm2-ghost-btn):not(.site-header *, header *, .mobile-nav-panel *,
    .au-cta__card *, .di-final-cta__card *, .dm2-res-cta *, .mcp-cta-card *) {
    border: 2px solid transparent;
    border-radius: 6px;
    background:
        linear-gradient(var(--cta-surface, #051A3C), var(--cta-surface, #051A3C)) padding-box,
        var(--Explore-Button, linear-gradient(270deg, #7747b6 0%, #4075c9 50.7%, #1ca9c9 100%)) border-box;
    color: var(--cta-ink, #fcfcfc);
    font-family: 'Inter', sans-serif;
    font-weight: 600;   /* matches the primary — homepage CTA is the source of truth */
    text-decoration: none;
    transition: filter .22s ease, transform .22s cubic-bezier(.22,.61,.36,1);
}
body :is(.btn-demo--lg, .au-btn-demo--lg, .btn-ghost, .ab-btn-ghost, .ld-btn-ghost,
    .ind-btn-ghost, .fi-btn-ghost, .hr-btn-ghost, .mk-btn-ghost, .sl-btn-ghost,
    .hero-btn-outline, .hero-btn-demo, .dm2-ghost-btn):not(.site-header *, header *, .mobile-nav-panel *,
    .au-cta__card *, .di-final-cta__card *, .dm2-res-cta *, .mcp-cta-card *):hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
/* ==== /CTA & BUTTON STANDARD ==== */
