/* =====================================================================
   AdsDrop — Legal pages (scoped to .legal). Loaded only on the three
   legal pages. Same language as the landings: white sections, black +
   orange brand, the site's own bordered cards. Reading-first layout with
   a sticky table of contents on wide screens.
   ===================================================================== */

.legal { display: block; }
.legal .container { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* ---- Hero -------------------------------------------------------- */
.legal-hero {
    position: relative;
    padding: 128px 0 40px;
    background:
        radial-gradient(900px 380px at 85% -10%, rgba(255, 90, 36, .08), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
    border-bottom: 1px solid #eef0f3;
}
.legal-hero::before {
    content: "";
    position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--secondary-color, #FF5A24), #ff8a4d);
}
/* The theme styles bare <nav> as a space-between flex row; both navs here opt out. */
.legal-crumbs { font-size: 13px; color: #8a8f98; margin-bottom: 18px; display: flex; justify-content: flex-start; gap: 8px; align-items: center; flex-wrap: wrap; }
.legal-crumbs a { color: #8a8f98; text-decoration: none; }
.legal-crumbs a:hover { color: var(--secondary-color, #FF5A24); }
.legal-crumbs span[aria-hidden] { opacity: .6; }

.legal-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.legal-badge {
    display: inline-block;
    background: rgba(255, 90, 36, .12);
    color: var(--secondary-color, #FF5A24);
    font-weight: 800; font-size: 13px;
    padding: 6px 14px; border-radius: 999px;
    margin-bottom: 14px;
}
.legal-hero h1 {
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.25; margin: 0 0 10px;
    color: var(--dark-color, #1a1a1a); font-weight: 800;
}
.legal-meta { display: flex; gap: 10px; flex-wrap: wrap; color: #6f757f; font-size: 14px; margin: 0; }
.legal-meta time { font-variant-numeric: tabular-nums; }

.legal-hero-actions { display: flex; gap: 10px; align-items: center; }
.legal-lang, .legal-print {
    font: inherit; font-size: 14px; font-weight: 700;
    padding: 9px 16px; border-radius: 999px; cursor: pointer;
    border: 1px solid #e3e6ea; background: #fff; color: var(--dark-color, #1a1a1a);
    text-decoration: none; transition: border-color .2s, color .2s;
}
.legal-lang:hover, .legal-print:hover { border-color: var(--secondary-color, #FF5A24); color: var(--secondary-color, #FF5A24); }

/* ---- Body: TOC + content ------------------------------------------ */
.legal-body { padding: 44px 0 80px; background: #fff; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }

.legal-toc-inner { position: sticky; top: 110px; }
.legal-toc-title { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #8a8f98; margin: 0 0 10px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid #eef0f3; }
.legal-toc li a {
    display: block; padding: 7px 14px; font-size: 14px; line-height: 1.5;
    color: #55585f; text-decoration: none;
    border-inline-start: 2px solid transparent; margin-inline-start: -2px;
    transition: color .2s, border-color .2s;
}
.legal-toc li a:hover { color: var(--secondary-color, #FF5A24); border-color: var(--secondary-color, #FF5A24); }

.legal-content { max-width: 780px; }
.legal-intro {
    font-size: 17px; line-height: 1.9; color: #3b3e45;
    padding: 18px 22px; margin: 0 0 32px;
    background: #fafbfc; border: 1px solid #eef0f3; border-radius: 14px;
    border-inline-start: 4px solid var(--secondary-color, #FF5A24);
}
.legal-section { padding: 6px 0 26px; scroll-margin-top: 110px; }
.legal-section + .legal-section { border-top: 1px solid #f0f2f5; padding-top: 26px; }
.legal-section h2 { font-size: 20px; margin: 0 0 12px; color: var(--dark-color, #1a1a1a); font-weight: 800; }
.legal-section p, .legal-section li { font-size: 16px; line-height: 1.9; color: #4a4a4a; }
.legal-section p { margin: 0 0 12px; }
.legal-section ul { margin: 0 0 12px; padding-inline-start: 22px; }
.legal-section li { margin-bottom: 6px; }
.legal-section li::marker { color: var(--secondary-color, #FF5A24); }

/* ---- Contact + sibling policies ---------------------------------- */
.legal-contact {
    margin-top: 28px; padding: 20px 22px;
    background: var(--dark-color, #1a1a1a); color: #fff; border-radius: 14px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.legal-contact p { margin: 0; font-weight: 700; }
.legal-contact-links { display: flex; gap: 10px; flex-wrap: wrap; }
.legal-contact-links a {
    color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
    padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25);
    transition: background .2s, border-color .2s;
}
.legal-contact-links a:hover { background: var(--secondary-color, #FF5A24); border-color: var(--secondary-color, #FF5A24); }

.legal-siblings { display: block; margin-top: 36px; }
.legal-siblings-title { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #8a8f98; margin: 0 0 12px; }
.legal-siblings-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.legal-sibling {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border: 1px solid #e8e8e8; border-radius: 14px;
    background: #fff; color: var(--dark-color, #1a1a1a); text-decoration: none; font-weight: 700;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.legal-sibling:hover { border-color: var(--secondary-color, #FF5A24); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 24, 31, .08); }
.legal-sibling-ic { font-size: 20px; }
.legal-sibling-t { flex: 1; }
.legal-sibling-arrow { color: var(--secondary-color, #FF5A24); }

/* ---- Responsive ---------------------------------------------------- */
@media (max-width: 900px) {
    .legal-grid { grid-template-columns: 1fr; gap: 28px; }
    .legal-toc-inner { position: static; }
    .legal-toc ol { border: 0; display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 16px; background: #fafbfc; border-radius: 14px; }
    .legal-toc li a { border: 0; margin: 0; padding: 6px 0; }
}
@media (max-width: 600px) {
    .legal .container { padding-inline: 16px; }
    .legal-hero { padding: 104px 0 28px; }
    .legal-section p, .legal-section li { font-size: 15px; }
    .legal-intro { font-size: 15.5px; padding: 14px 16px; }
    .legal-contact { padding: 16px; }
}

/* ---- Print --------------------------------------------------------- */
@media print {
    .legal-hero { padding-top: 24px; background: none; border: 0; }
    .legal-hero::before, .legal-hero-actions, .legal-toc, .legal-siblings, .legal-contact,
    .floating-buttons, header, footer { display: none !important; }
    .legal-grid { grid-template-columns: 1fr; }
    .legal-section { break-inside: avoid; }
}

/* ---- «Get the app» page (reuses the legal hero/body shells) --------- */
.appget-hero-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.appget-hero-text { max-width: 640px; }
.appget-lead { font-size: 17px; line-height: 1.8; color: #55585f; margin: 0 0 22px !important; display: block; }
.appget-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.appget-store { display: inline-flex; align-items: center; gap: 10px; }
.appget-hero-icon img { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 18px 44px rgba(20, 24, 31, .14); }
.appget-yours { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--secondary-color, #FF5A24); margin: 0 0 12px; }
.appget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.appget-card { border: 1px solid #e8e8e8; border-radius: 16px; padding: 20px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.appget-card.is-yours { border-color: var(--secondary-color, #FF5A24); box-shadow: 0 0 0 4px rgba(255, 90, 36, .08); }
.appget-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.appget-card-head h2 { font-size: 18px; margin: 0; color: var(--dark-color, #1a1a1a); font-weight: 800; }
.appget-card-head small { color: #8a8f98; font-size: 12.5px; }
.appget-ic { width: 46px; height: 46px; border-radius: 12px; background: #fff3ee; color: var(--secondary-color, #FF5A24); display: grid; place-items: center; flex: none; }
.appget-card-cta { display: inline-block; margin-bottom: 12px; }
.appget-steps { margin: 0; padding-inline-start: 20px; }
.appget-steps li { font-size: 14.5px; line-height: 1.7; color: #4a4a4a; margin-bottom: 4px; }
.appget-steps li::marker { color: var(--secondary-color, #FF5A24); font-weight: 800; }
.appget-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 32px; }
.appget-feat { background: #fafbfc; border: 1px solid #eef0f3; border-radius: 14px; padding: 18px; }
.appget-feat-ic { font-size: 22px; display: block; margin-bottom: 8px; }
.appget-feat b { display: block; color: var(--dark-color, #1a1a1a); margin-bottom: 4px; }
.appget-feat p { margin: 0; color: #55585f; font-size: 14px; line-height: 1.7; }
@media (max-width: 600px) { .appget-hero-icon { display: none; } .appget-hero-row { gap: 16px; } }
.appget-store-sub{margin:8px 0 0;font-size:13px;color:var(--muted,#6f757f)}
.appget-ctas .appget-store{display:inline-flex;align-items:center;gap:8px}
