/* SQL Wizard sub-pages (Help, Privacy, Terms, Contact) in the Coral design, on top of site.css and theme-coral.css.
   Coral: page #fdf4ec, navy #0a2563, orange #c4470a / #f68645, mint #36bfa1, cyan #0da3b9. */

body.sub { background: #fdf4ec; }
.sub .wrap { width: min(100% - 2 * var(--gut), 1240px); }
.sub main { display: block; }

/* the head of every page: a band in the cyan, title, lead */
.legal-hero, .help-hero { background: #0da3b9; color: #ffffff; padding: 72px 0 64px; }
.legal-hero-in, .help-hero-in { display: grid; gap: 18px; justify-items: start; }
.legal-hero h1, .help-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.035em; color: #ffffff; }
.legal-hero .lead, .help-hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 62ch; color: #ffffff; }
.legal-hero .pill { background: #ffffff; border-color: #ffffff; color: #0a2563; display: inline-flex; gap: 8px; }
.legal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-chips > * { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: #0a2563; color: #ffffff; font-size: 14px; text-decoration: none; }
.legal-chips a:hover { background: #36bfa1; }
.legal-switch { display: flex; gap: 6px; padding: 4px; border-radius: 99px; background: #ffffff; margin-top: 6px; }
.legal-switch a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 99px; text-decoration: none; color: #0a2563; font-weight: 500; font-size: 15px; }
.legal-switch a.on { background: #36bfa1; color: #ffffff; }
.legal-switch a:not(.on):hover { color: #c4470a; }

/* breadcrumbs and the Help search */
.help-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.help-crumbs a, .help-crumbs span { color: #ffffff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.help-crumbs a:hover { text-decoration: underline; }
.help-search { position: relative; width: min(100%, 640px); margin-top: 8px; }
.help-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #56638f; font-size: 18px; }
.help-search input { width: 100%; height: 56px; padding: 0 20px 0 50px; border-radius: 16px; border: 0; background: #ffffff; color: #0a2563; font: 400 17px/1 "IBM Plex Sans", sans-serif; box-shadow: 0 18px 40px -20px #064b56; }
.help-search input:focus { outline: 3px solid #0a2563; outline-offset: 2px; }
.help-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); background: #ffffff; border-radius: 16px; padding: 8px; box-shadow: 0 30px 60px -24px #0a2563; max-height: 60vh; overflow: auto; }
.help-results a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: #0a2563; }
.help-results a span { font-size: 13.5px; color: #56638f; }
.help-results a:hover, .help-results a.on { background: #fde0cc; }
.help-results p { padding: 12px 14px; color: #56638f; margin: 0; }

/* blocks */
.sub .block { padding: 72px 0; }
.sub .block.alt { background: #fde0cc; }
.sub .block h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; }
.sub .block .sub { color: #2b3f78; margin: 8px 0 28px; }

/* privacy: at a glance */
.legal-glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.legal-glance li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 18px; background: #ffffff; }
.legal-glance li i { font-size: 24px; color: #c4470a; }
.legal-glance li b { font-size: 18px; color: #0a2563; }
.legal-glance li span { color: #2b3f78; font-size: 15.5px; }
@media (max-width: 1000px) { .legal-glance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .legal-glance { grid-template-columns: 1fr; } }

/* the legal text with its contents beside it */
.legal-layout, .help-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc, .help-nav { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding: 20px; border-radius: 18px; background: #ffffff; box-shadow: 0 0 0 1px #efd6c4; }
.legal-toc b { display: block; margin-bottom: 10px; color: #0a2563; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: #2b3f78; font-size: 15px; }
.legal-toc a span { color: #c4470a; font-weight: 600; }
.legal-toc a:hover { background: #fde0cc; color: #0a2563; }
.legal-sections { display: grid; gap: 14px; }
.legal-sec { background: #ffffff; border-radius: 18px; padding: 28px 32px; box-shadow: 0 0 0 1px #efd6c4; scroll-margin-top: 96px; }
.legal-sec h2 { display: flex; gap: 12px; align-items: baseline; font-size: 24px !important; margin-bottom: 12px; }
.legal-sec h2 span { color: #ffffff; background: #36bfa1; border-radius: 8px; padding: 2px 9px; font-size: 16px; }
.legal-sec p, .legal-sec li { color: #2b3f78; line-height: 1.65; }
.legal-sec p + p, .legal-sec ul, .legal-sec ol { margin-top: 10px; }
.legal-sec a, .help-text a { color: #c4470a; }

/* help: the areas beside the articles */
.help-nav { display: grid; gap: 2px; align-content: start; }
.help-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #0a2563; text-decoration: none; font-size: 15px; }
.help-nav a i { color: #0da3b9; }
.help-nav a em { margin-left: auto; font-style: normal; font-size: 12.5px; color: #56638f; background: #fdf4ec; border-radius: 99px; padding: 1px 8px; }
.help-nav a:hover { background: #fde0cc; }
.help-nav a.on { background: #0a2563; color: #ffffff; }
.help-nav a.on i, .help-nav a.on em { color: #ffffff; } .help-nav a.on em { background: #1a3a82; }
.help-nav ul { list-style: none; margin: 2px 0 8px 14px; padding: 0 0 0 12px; border-left: 2px solid #efd6c4; display: grid; gap: 1px; }
.help-nav ul a { font-size: 14px; padding: 5px 8px; color: #2b3f78; }
.help-nav-home { font-weight: 600; }
.help-main { display: grid; gap: 16px; min-width: 0; }
.help-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.help-toc a { padding: 7px 14px; border-radius: 99px; background: #ffffff; color: #0a2563; text-decoration: none; font-size: 14.5px; box-shadow: 0 0 0 1px #efd6c4; }
.help-toc a:hover { background: #36bfa1; color: #ffffff; box-shadow: none; }
.help-art { background: #ffffff; border-radius: 18px; padding: 28px 32px; box-shadow: 0 0 0 1px #efd6c4; scroll-margin-top: 96px; }
.help-art h2 { font-size: 24px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.help-art-guide { box-shadow: 0 0 0 2px #36bfa1; }
.help-badge { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 99px; background: #36bfa1; color: #ffffff; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.help-anchor { opacity: 0; color: #0da3b9; font-size: 20px; text-decoration: none; transition: opacity .2s; }
.help-art:hover .help-anchor, .help-anchor:focus { opacity: 1; }
.help-text p, .help-steps li, .help-list li { color: #2b3f78; line-height: 1.65; }
.help-text p + p { margin-top: 10px; }
.help-steps, .help-list { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.help-steps li::marker { color: #c4470a; font-weight: 700; }
.help-note { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #c9efe5; color: #0a2563; }
.help-note i { color: #1d8a72; font-size: 18px; }
.help-open { margin-top: 18px; height: 42px; font-size: 15px; }
.hm-path { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 1px 8px; border-radius: 6px; background: #fde0cc; color: #0a2563; font-weight: 500; font-size: .95em; white-space: nowrap; }
.hm-path i { font-size: .75em; color: #c4470a; }
.hm-cmd, .hm-ip { font-family: "IBM Plex Mono", monospace; font-size: .9em; padding: 1px 6px; border-radius: 6px; background: #0a2563; color: #ffffff; word-break: break-word; }
.hm-ip { background: #36bfa1; }
kbd { font-family: "IBM Plex Mono", monospace; font-size: 13px; padding: 2px 7px; border-radius: 6px; background: #ffffff; border: 1px solid #c9cfe3; border-bottom-width: 2px; color: #0a2563; }
.help-table { overflow-x: auto; background: #ffffff; border-radius: 18px; box-shadow: 0 0 0 1px #efd6c4; }
.help-keys { width: 100%; border-collapse: collapse; font-size: 15px; }
.help-keys th { text-align: left; padding: 14px 16px; color: #0a2563; border-bottom: 1px solid #efd6c4; }
.help-keys td { padding: 10px 16px; border-top: 1px solid #f6e6da; color: #2b3f78; vertical-align: top; }
.help-keys-group td { background: #fdf4ec; color: #c4470a; font-weight: 600; padding-top: 16px; }

/* help home: the area cards and the guides */
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.help-card { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 18px; background: #ffffff; text-decoration: none; color: #0a2563; box-shadow: 0 0 0 1px #efd6c4; transition: transform .3s var(--ease), box-shadow .3s; }
.help-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px #36bfa1, 0 18px 30px -20px #0a2563; }
.help-card i { font-size: 26px; color: #0da3b9; }
.help-card:nth-child(3n+2) i { color: #c4470a; } .help-card:nth-child(3n) i { color: #36bfa1; }
.help-card b { font-size: 19px; }
.help-card span { color: #2b3f78; font-size: 15px; }
.help-card em { font-style: normal; font-size: 13.5px; color: #56638f; margin-top: 4px; }
.help-sub { display: flex; gap: 10px; align-items: center; font-size: 24px !important; margin-top: 28px; }
.help-sub i { color: #36bfa1; }
.help-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.help-guide { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #0a2563; color: #ffffff; text-decoration: none; }
.help-guide:hover { background: #1a3a82; }
.help-guide i:first-child { color: #36bfa1; font-size: 20px; }
.help-guide i:last-child { margin-left: auto; }
@media (max-width: 1100px) { .help-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .legal-layout, .help-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc, .help-nav { position: static; max-height: none; }
  .help-nav ul { display: none; }
  .help-cards, .help-guides { grid-template-columns: 1fr; }
  .legal-sec, .help-art { padding: 22px; }
}

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: 20px; background: #ffffff; text-decoration: none; color: #0a2563; box-shadow: 0 0 0 1px #efd6c4; transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px #36bfa1, 0 18px 30px -20px #0a2563; }
.contact-card i { font-size: 30px; color: #0da3b9; }
.contact-card b { font-size: 20px; }
.contact-card span { color: #2b3f78; font-size: 15.5px; }
.contact-card em { font-style: normal; color: #c4470a; font-weight: 600; margin-top: 6px; }
.contact-card--mail { background: #0a2563; color: #ffffff; box-shadow: none; }
.contact-card--mail i { color: #36bfa1; } .contact-card--mail span { color: #c6d0ee; } .contact-card--mail em { color: #9fedcd; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

/* the close on every page: the homepage's navy */
.final { background: #0a2563; color: #ffffff; padding: 88px 0; text-align: center; }
.final-in { display: grid; justify-items: center; gap: 16px; }
.final h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.035em; color: #ffffff; }
.final p { color: #c6d0ee; font-size: 18px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.final .btn--white { background: #ffffff; color: #0a2563; }
.btn i { font-size: 1em; }

/* phones: the homepage's held-section rules do not apply here; headings stay in place */
@media (max-width: 900px) { .legal-hero, .help-hero { padding: 48px 0 44px; } }
.legal-glance.trust { align-items: stretch; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .legal-glance.trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .legal-glance.trust { grid-template-columns: 1fr; } }

/* ===== owner's changes ===== */
/* the Help on the homepage's Questions colour */
body.sub--help { background: #cdeef3; }
.sub--help .help-body { background: #cdeef3; }
.sub--help .help-nav, .sub--help .help-art, .sub--help .help-card, .sub--help .help-table, .sub--help .help-toc a { box-shadow: 0 0 0 1px #a9dde6; }
.sub--help .help-nav ul { border-left-color: #a9dde6; }
.sub--help .help-nav a:hover, .sub--help .help-results a:hover { background: #e3f6f9; }
.sub--help .help-nav a em { background: #e3f6f9; }
.sub--help .help-art-guide { box-shadow: 0 0 0 2px #36bfa1; }
.sub--help .help-toc a { background: #ffffff; }
.sub--help .help-note { background: #ffffff; box-shadow: inset 4px 0 0 #36bfa1; }
.sub--help .help-nav a.on em { background: #1a3a82; color: #ffffff; }
/* the guides get room above and below */
.help-sub { margin-top: 56px; margin-bottom: 20px; }
.help-guides { margin-bottom: 40px; }
/* the article chips at the top of a Help area: readable on hover */
.sub--help .help-toc a:hover { background: #36bfa1; color: #ffffff; box-shadow: none; }
/* the selected Help area keeps its navy on hover */
.help-nav a.on:hover, .sub--help .help-nav a.on:hover { background: #0a2563; color: #ffffff; }

/* Privacy and Terms: the same light cyan as the Help */
body.sub--legal { background: #cdeef3; }
.sub--legal .legal-body { background: #cdeef3; }
.sub--legal .legal-toc, .sub--legal .legal-sec { box-shadow: 0 0 0 1px #a9dde6; }
.sub--legal .legal-toc a:hover { background: #e3f6f9; }
/* "At a glance" on the navy */
.sub .legal-glance-block, .sub .block.alt.legal-glance-block { background: #0a2563; color: #ffffff; }
.legal-glance-block h2 { color: #ffffff; }
.legal-glance-block .sub { color: #c6d0ee; }
.legal-glance-block .legal-glance li { background: #1a3a82; box-shadow: none; }
.legal-glance-block .legal-glance li i { color: #36bfa1; }
.legal-glance-block .legal-glance li b { color: #ffffff; }
.legal-glance-block .legal-glance li span { color: #c6d0ee; }
.sub .legal-glance-block .sub { color: #c6d0ee; }
/* the contents numbers look like the numbers in the text: white on mint */
.legal-toc a { align-items: start; }
.legal-toc a span { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: #36bfa1; color: #ffffff; font-size: 13px; font-weight: 600; }
/* contact: the Help line under the four addresses */
.contact-help { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 22px 26px; border-radius: 20px; background: #c9efe5; color: #0a2563; }
.contact-help > i { font-size: 28px; color: #1d8a72; }
.contact-help p { flex: 1; color: #0a2563; }
@media (max-width: 700px) { .contact-help { flex-direction: column; align-items: start; } }
.contact-card em { word-break: break-all; }
/* the search results may hang below the top area */
.help-hero { overflow: visible; position: relative; z-index: 6; }

/* Contact on the Help's light cyan, its parts adapted like the Help's */
.sub .contact-body { background: #cdeef3; }
.contact-body .contact-card { box-shadow: 0 0 0 1px #a9dde6; }
.contact-body .contact-card:hover { box-shadow: 0 0 0 2px #36bfa1, 0 18px 30px -20px #0a2563; }
.contact-body .contact-card--mail { box-shadow: none; }
.contact-body .contact-card i { color: #0b8a9e; }
.contact-body .contact-card--mail i { color: #36bfa1; }
.contact-body .contact-help { background: #ffffff; box-shadow: inset 4px 0 0 #36bfa1, 0 0 0 1px #a9dde6; }
.contact-body .contact-help > i { color: #1d8a72; }
.contact-body .btn--white { border-color: #a9dde6; }
.contact-body .btn--white:hover { border-color: #36bfa1; color: #146b58; }
