/* Legal pages share the introduction, navigation and cards used on Help and Install. */
.legal-page .information-page{display:grid;gap:24px;padding-block:24px 40px}
.legal-page .legal-intro{padding:28px;border:1px solid #28536a;border-top:5px solid #071f2e;border-radius:20px;background:#102f42;color:white}
.legal-page .legal-intro .eyebrow{margin:0 0 10px;font-size:1rem;font-weight:750;color:#a8eedb}
.legal-page .legal-intro h1{margin:0 0 16px;color:white}
.legal-page .legal-intro .lead{max-width:85ch;margin:0;color:#d5e5eb}
.legal-page .legal-intro .small{margin:16px 0 0;color:#d5e5eb}
.legal-page .information-page>.notice{margin:0;padding:18px 24px;border-radius:14px}
.legal-page .information-page>.notice strong,.legal-page .information-page>.notice p{font-size:1rem}
.legal-page .information-page>.notice p{margin:6px 0 0}
.legal-page .legal-layout{display:grid;gap:24px;min-width:0}
.legal-page .page-index{margin:0;padding:16px 20px;border:1px solid var(--line);border-radius:16px;background:var(--panel);gap:10px;align-items:stretch}
.legal-page .page-index strong{width:100%;margin:0}
.legal-page .page-index a{display:inline-flex;align-items:center;padding:10px 14px;border-radius:9px;background:var(--tint);font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.legal-page .page-index a:hover{color:var(--ink);box-shadow:inset 0 0 0 1px var(--accent)}
.legal-page .legal-sections{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin:0;min-width:0;align-items:stretch}
.legal-page .legal-sections>.info-section,.legal-page .legal-sections>.info-section:last-child:nth-child(odd){display:block;grid-column:auto;min-width:0;padding:26px;scroll-margin-top:24px;background:var(--legal-bg);border:1px solid var(--legal-line);border-top:5px solid var(--legal-accent);border-radius:20px}
.legal-page .info-section{--legal-bg:#def2ef;--legal-line:#b9d9d4;--legal-accent:var(--card-top-teal)}
.legal-page #access-plans,.legal-page #information-required-before-checkout,.legal-page #google-play-purchases{--legal-bg:#e4effb;--legal-line:#c0d3e7;--legal-accent:var(--card-top-blue)}
.legal-page #weekly-and-monthly-subscriptions,.legal-page #what-lifetime-access-means{--legal-bg:#ebe9f9;--legal-line:#cfc8ea;--legal-accent:var(--card-top-purple)}
.legal-page [id="14-day-first-purchase-refund-offer"],.legal-page #refund-processing,.legal-page #cancellation-form{--legal-bg:#e0f1e9;--legal-line:#bad8ca;--legal-accent:var(--card-top-green)}
.legal-page #technical-problems-and-incorrect-charges,.legal-page #service-changes{--legal-bg:#fff0dd;--legal-line:#e6cda8;--legal-accent:var(--card-top-orange)}
.legal-page #image-licences-and-reuse{--legal-bg:#fff3d6;--legal-line:#e9d5a4;--legal-accent:var(--card-top-gold)}
.legal-page .info-section p,.legal-page .info-section li{max-width:none;overflow-wrap:anywhere}
.legal-page .info-section .notice{margin-block:16px}
.legal-page .info-section .notice+.notice{margin-top:0}
.legal-page .access-table-wrap{margin-block:20px;overflow:visible}
.legal-page .access-table{table-layout:fixed}
.legal-page .access-table caption{caption-side:top;text-align:left;line-height:1.4;background:var(--panel);border-radius:10px 10px 0 0}
.legal-page .access-table th,.legal-page .access-table td{vertical-align:top;padding:14px 16px;overflow-wrap:anywhere}
.legal-page .access-table th:first-child{width:22%}
.legal-page .access-table th:nth-child(2){width:23%}
.legal-page blockquote{margin:20px 0;padding:20px;border-left:4px solid var(--accent);border-radius:0 12px 12px 0;background:var(--panel)}
:root[data-theme=dark] .legal-page .info-section{--legal-bg:#193e40;--legal-line:#4b7b79}
:root[data-theme=dark] .legal-page #access-plans,:root[data-theme=dark] .legal-page #information-required-before-checkout,:root[data-theme=dark] .legal-page #google-play-purchases{--legal-bg:#203e59;--legal-line:#527794}
:root[data-theme=dark] .legal-page #weekly-and-monthly-subscriptions,:root[data-theme=dark] .legal-page #what-lifetime-access-means{--legal-bg:#302f4a;--legal-line:#625b83}
:root[data-theme=dark] .legal-page [id="14-day-first-purchase-refund-offer"],:root[data-theme=dark] .legal-page #refund-processing,:root[data-theme=dark] .legal-page #cancellation-form{--legal-bg:#22463e;--legal-line:#537f71}
:root[data-theme=dark] .legal-page #technical-problems-and-incorrect-charges,:root[data-theme=dark] .legal-page #service-changes{--legal-bg:#513d28;--legal-line:#8c6b44}
:root[data-theme=dark] .legal-page #image-licences-and-reuse{--legal-bg:#403a26;--legal-line:#796b46}
@media(min-width:1000px){.legal-page .legal-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.legal-page .legal-sections>#cancellation-form{grid-column:1/-1}.legal-page .cancellation-template{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.legal-page .cancellation-template>div{min-width:0}.legal-page .cancellation-template ul{margin-top:0}}
@media(max-width:767px){.legal-page .information-page,.legal-page .legal-layout,.legal-page .legal-sections{gap:20px}.legal-page .legal-intro,.legal-page .legal-sections>.info-section,.legal-page .legal-sections>.info-section:last-child:nth-child(odd){padding:22px 18px}.legal-page .information-page>.notice{padding:16px 18px}.legal-page .page-index{padding:16px;gap:8px}.legal-page .page-index a{font-size:1rem}}
@media(max-width:599px){.legal-page .access-table th,.legal-page .access-table td{padding:12px 8px}.legal-page .access-table caption{padding:16px 12px;font-size:1.25rem}.legal-page blockquote{padding:16px}}

/* Privacy sections use the shared website palette. */
.privacy-page #what-stays-on-your-device,.privacy-page #support-and-service-providers{--legal-bg:#e4effb;--legal-line:#c0d3e7;--legal-accent:var(--card-top-blue)}
.privacy-page #sign-in-and-purchases,.privacy-page #international-processing{--legal-bg:#ebe9f9;--legal-line:#cfc8ea;--legal-accent:var(--card-top-purple)}
.privacy-page #why-we-use-information,.privacy-page #your-choices-and-requests{--legal-bg:#fff0dd;--legal-line:#e6cda8;--legal-accent:var(--card-top-orange)}
.privacy-page #optional-analytics{--legal-bg:#e0f1e9;--legal-line:#bad8ca;--legal-accent:var(--card-top-green)}
.privacy-page #how-long-we-keep-information{--legal-bg:#fff3d6;--legal-line:#e9d5a4;--legal-accent:var(--card-top-gold)}
.privacy-page .privacy-subsection{margin-top:24px;scroll-margin-top:24px}
.privacy-page .privacy-subsection h3{margin:0 0 16px}
:root[data-theme=dark] .privacy-page #what-stays-on-your-device,:root[data-theme=dark] .privacy-page #support-and-service-providers{--legal-bg:#203e59;--legal-line:#527794}
:root[data-theme=dark] .privacy-page #sign-in-and-purchases,:root[data-theme=dark] .privacy-page #international-processing{--legal-bg:#302f4a;--legal-line:#625b83}
:root[data-theme=dark] .privacy-page #why-we-use-information,:root[data-theme=dark] .privacy-page #your-choices-and-requests{--legal-bg:#513d28;--legal-line:#8c6b44}
:root[data-theme=dark] .privacy-page #optional-analytics{--legal-bg:#22463e;--legal-line:#537f71}
:root[data-theme=dark] .privacy-page #how-long-we-keep-information{--legal-bg:#403a26;--legal-line:#796b46}

@media print{.legal-page .information-page,.legal-page .legal-layout{display:block}.legal-page .legal-intro{padding:0;background:white;border:0}.legal-page .legal-intro h1,.legal-page .legal-intro p{color:black}.legal-page .page-index{display:none}.legal-page .legal-sections{display:block}.legal-page .legal-sections>.info-section{break-inside:auto;background:white;border-color:#bbb}.legal-page blockquote,.legal-page .access-table caption{background:white}}

/* On phones, keep each plan name and price together above its billing interval. */
@media(max-width:599px){.legal-page .access-table,.legal-page .access-table caption,.legal-page .access-table tbody{display:block;width:100%}.legal-page .access-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.legal-page .access-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;border-top:1px solid var(--line)}.legal-page .access-table td{border:0}.legal-page .access-table td:first-child,.legal-page .access-table td:nth-child(2){padding:12px 12px 0;font-weight:750}.legal-page .access-table td:nth-child(2){text-align:right;white-space:nowrap}.legal-page .access-table td:nth-child(3){grid-column:1/-1;padding:6px 12px 14px}}
