/* Shared by the help library and the service pages (digital-safety-audit.html, help/*.html).
   The same palette, type and footer as the rest of the site, set for reading: one column,
   large body text, and the way out at the top of every page. */

:root { --bg: #f4eee3; --bg-soft: #faf6ec; --bg-page: #ffffff; --bg-deep: #0f2a30; --ink: #1a2a2e; --ink-2: #4a5560; --ink-3: #8a8378; --rule: #e4dccb; --accent: #1f9aa0; --accent-deep: #157278; --accent-soft: #7ec0c4; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 760px) { .wrap { padding: 0 24px; } }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: -0.005em; line-height: 1.1; margin: 0; }
.eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }

/* The safety line and Quick Exit come before the site's own name. */
.safety { background: var(--bg-deep); color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.5; }
.safety .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 56px; max-width: 1320px; margin: 0 auto; }
.safety .quick { flex-shrink: 0; background: #c8102e; color: white; padding: 8px 16px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.safety .quick:hover { background: #a00d25; }
@media (max-width: 760px) { .safety .inner { padding: 10px 24px; } }

nav.top { background: rgba(244,238,227,0.92); border-bottom: 1px solid var(--rule); }
nav.top .inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 56px; max-width: 1320px; margin: 0 auto; }
nav.top .brand { display: flex; align-items: center; text-decoration: none; }
nav.top .brand .brand-h { height: 52px; width: auto; display: block; }
nav.top .brand .brand-i { height: 36px; width: auto; display: none; }
@media (max-width: 500px) { nav.top .brand .brand-h { display: none; } nav.top .brand .brand-i { display: block; } }
nav.top .crumb { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
nav.top .crumb:hover { color: var(--ink); }
@media (max-width: 760px) { nav.top .inner { padding: 8px 24px; } }

.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 64px); max-width: 20ch; margin: 22px 0 26px; }
.page-hero p.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin: 0 0 18px; }
.page-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.page-hero p.note { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin: 18px 0 0; }

article.read { background: var(--bg-page); padding: 24px 0 88px; border-bottom: 1px solid var(--rule); }
article.read .col { max-width: 720px; }
article.read h2 { font-size: clamp(28px, 3vw, 36px); margin: 56px 0 18px; }
article.read p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
article.read p.note { color: var(--ink-2); font-size: 15.5px; }
article.read a { color: var(--accent-deep); text-underline-offset: 3px; }
article.read ul, article.read ol { font-size: 17px; line-height: 1.7; margin: 0 0 16px; padding-left: 0; list-style: none; }
article.read li { padding-inline-start: 28px; position: relative; margin-bottom: 16px; }
article.read ul li::before { content: ''; position: absolute; inset-inline-start: 0; top: 13px; width: 14px; height: 1px; background: var(--accent); }
article.read ol { counter-reset: step; }
article.read ol li { counter-increment: step; }
article.read ol li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; font-weight: 600; color: var(--accent-deep); }
article.read li strong { display: block; font-weight: 600; }
article.read .aside { border-inline-start: 3px solid var(--accent); padding: 4px 0; padding-inline-start: 20px; margin: 40px 0 0; font-style: italic; color: var(--ink); }
article.read .reviewed { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: all .2s; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink-3); }
.btn-ghost:hover { border-color: var(--ink); background: white; }
article.read a.btn-accent { color: white; }
article.read a.btn-ghost { color: var(--ink); }

footer.foot { background: var(--bg-deep); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
footer.foot .wrap { max-width: 1240px; }
footer.foot .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px; }
@media (max-width: 880px) { footer.foot .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { footer.foot .grid { grid-template-columns: 1fr; } }
footer.foot .brand { margin-bottom: 18px; }
footer.foot .brand img { height: 36px; }
footer.foot .tag { font-size: 13px; max-width: 36ch; }
footer.foot h5 { color: white; font-family: 'Inter'; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; }
footer.foot ul { list-style: none; padding: 0; margin: 0; }
footer.foot ul li { margin-bottom: 8px; font-size: 13.5px; }
footer.foot ul li a { text-decoration: none; }
footer.foot ul li a:hover { color: white; }
footer.foot .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: rgba(255,255,255,0.45); }

/* The Joliro page (joliro.html, built in 27 languages): a language menu in place of the crumb,
   a product mark above the heading, a list of the questions the page answers, and subheadings
   inside each part. Logical properties, so Arabic mirrors. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
nav.top .lang select { font: inherit; font-size: 13px; color: var(--ink); background: white; border: 1px solid var(--rule); border-radius: 4px; padding: 7px 10px; max-width: 200px; }
.page-hero .product-logo { height: 34px; width: auto; display: block; }
article.read ul.jump { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 8px; }
article.read ul.jump li { padding: 0; margin: 0; }
article.read ul.jump li::before { display: none; }
article.read ul.jump a { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--ink); background: var(--bg-soft); }
article.read ul.jump a:hover { border-color: var(--accent); color: var(--accent-deep); }
article.read section { scroll-margin-top: 24px; }
article.read section .eyebrow { margin-top: 64px; }
article.read section .eyebrow + h2 { margin-top: 10px; }
article.read h3 { font-family: 'Inter', system-ui, sans-serif; font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
article.read p.ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
article.read p.ctas .note { color: var(--ink-2); font-size: 15px; }

/* Help articles, in sections */
/* The home page's language: alternating white and sand bands, an eyebrow over a serif heading
   with an italic teal phrase, cards three to a row, ruled rows with a bold label, and a dark
   band to close. Used by help/*.html. */
.page-hero h1 em, section.band h2 em, section.band h3 em, .cta-band h2 em { font-style: italic; color: var(--accent); }
/* Cormorant's old style figures make 000 read as ooo and 01 as o1: use lining figures. */
h1, h2, h3, .card .num { font-variant-numeric: lining-nums; }
section.band { padding: 88px 0; background: var(--bg-page); border-top: 1px solid var(--rule); }
section.band.alt { background: var(--bg); }
section.band .head { max-width: 760px; margin-bottom: 40px; }
section.band .eyebrow { margin-bottom: 16px; }
section.band h2 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 18px; }
section.band .head p, section.band p.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0 0 18px; max-width: 56ch; }
section.band p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
section.band a { color: var(--accent-deep); text-underline-offset: 3px; }
section.band .split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }

.cards { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-page); padding: 36px 30px 32px; display: flex; flex-direction: column; gap: 14px; }
.card .num { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent); font-size: 22px; line-height: 1; }
.card .kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.card h3 { font-size: 26px; line-height: 1.15; }
.card p { font-size: 15px; line-height: 1.6; margin: 0; }
/* The way on from each card is a button, not a line of small text. */
.card .more { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.card a.more { align-self: flex-start; }
.card a.more, .card .more a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 1.5px solid var(--accent); border-radius: 4px; background: var(--bg-page); color: var(--accent-deep); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.card a.more:hover, .card .more a:hover, .card a.more:focus-visible, .card .more a:focus-visible { background: var(--accent); border-color: var(--accent); color: white; }
.card a.more.primary { background: var(--accent); color: white; }
.card a.more.primary:hover, .card a.more.primary:focus-visible { background: var(--accent-deep); border-color: var(--accent-deep); }
/* Who can help: the emergency line runs across the top, the four services sit two by two. */
.help-cards .card.urgent { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; padding: 26px 30px; }
.card.urgent { background: var(--bg-deep); color: white; justify-content: center; }
.card.urgent .kicker { color: rgba(255,255,255,0.6); }
.card.urgent h3 { font-size: 40px; color: white; }
.card.urgent h3 a { color: white; text-decoration: none; }
.card.urgent h3 em { color: var(--accent-soft); }

/* A service in each country: the country on the left, what to do on the right. */
.regions { list-style: none; padding: 0; margin: 4px 0 0; }
.regions li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.regions li:first-child { border-top: 0; padding-top: 2px; }
.regions li b { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--ink); padding-top: 3px; }
.regions a { font-weight: 600; }
@media (max-width: 520px) { .regions li { grid-template-columns: 1fr; gap: 2px; } }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 22px; }
.tags li { border: 1px solid var(--rule); background: var(--bg-page); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--ink); }

.note-card { background: var(--bg-soft); border: 1px solid var(--rule); border-inline-start: 3px solid var(--accent); border-radius: 4px; padding: 30px 32px; }
.note-card h3 { font-family: 'Inter', system-ui, sans-serif; font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.note-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.note-card li { position: relative; padding-inline-start: 24px; margin-bottom: 10px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.note-card li::before { content: ''; position: absolute; inset-inline-start: 0; top: 12px; width: 12px; height: 1px; background: var(--accent); }
.note-card p { font-size: 15px; margin: 0; }
.note-card p + p { margin-top: 14px; }
.note-card a.note-link { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--accent-deep); text-underline-offset: 3px; }

.rows { list-style: none; padding: 0; margin: 0 0 28px; }
.rows li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.rows li b { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.rows li.flag { border-top: 2px solid var(--accent); }
.rows li.flag b { color: var(--accent-deep); }

.research { background: var(--bg-page); border: 1px solid var(--rule); border-radius: 4px; padding: 24px 26px; }
.research b { display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.research p { font-size: 15px; margin: 0 0 12px; }
.research a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; text-decoration: none; }

.cta-band { padding: 96px 0; background: var(--bg-deep); color: white; text-align: center; }
.cta-band .eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 22px; }
.cta-band h2 { font-size: clamp(32px, 4vw, 52px); color: white; max-width: 22ch; margin: 0 auto 20px; }
.cta-band h2 em { color: var(--accent-soft); }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 56ch; margin: 0 auto 32px; line-height: 1.6; }
.cta-band .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-band .btn-ghost { color: white; border-color: rgba(255,255,255,0.25); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: white; }

@media (max-width: 900px) {
  section.band { padding: 64px 0; }
  .cards.three, .cards.two, section.band .split { grid-template-columns: 1fr; }
  section.band .split { gap: 28px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
}
