/* Bringly company site. Plain static CSS: no build step, no third-party
   fonts or scripts, so the privacy policy's "no tracking" claim stays true. */

:root {
  --orange: #ea580c;
  --orange-soft: #fb923c;
  --orange-tint: #fff4eb;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --line: #e7e5e4;
  --bg: #fffdfb;
  --card: #ffffff;
  --dark: #292524;
  --radius: 16px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; display: block; }

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: #c2410c; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- Header ---------------------------------------------------------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.logo {
  font-weight: 800; font-size: 1.6rem; color: var(--orange);
  text-decoration: none; letter-spacing: -0.02em;
}
.logo:hover { color: var(--orange); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--orange); }

/* ---- Hero ------------------------------------------------------------ */

.hero {
  color: #fff;
  background: #3f3a3a url("/assets/images/hero.jpg") center / cover no-repeat;
  background-blend-mode: multiply;
  padding: 96px 0 104px;
  text-align: center;
}
.hero p.lead { font-size: 1.2rem; max-width: 620px; margin: 0 auto 28px; color: #fde7d6; }
.hero .tag {
  display: inline-block; font-weight: 700; color: var(--orange-soft);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 12px;
}

.page-hero {
  background: var(--dark); color: #fff; padding: 56px 0 48px;
}
.page-hero p { color: #e7e5e4; max-width: 680px; margin: 0; font-size: 1.1rem; }
.page-hero .tag {
  display: inline-block; font-weight: 700; color: var(--orange-soft);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 8px;
}

.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
}
.badge small { color: var(--orange-soft); font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; }

.btn {
  display: inline-block; background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 22px; border-radius: 999px;
}
.btn:hover { background: #c2410c; color: #fff; }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { background: var(--orange-tint); color: var(--ink); }

/* ---- Sections -------------------------------------------------------- */

section { padding: 72px 0; }
section.alt { background: var(--orange-tint); }
.section-intro { max-width: 640px; color: var(--ink-soft); margin-bottom: 36px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.card .num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 12px;
}

.photo-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.photo-row figcaption { font-weight: 700; margin-top: 8px; text-align: center; }

.cta-band {
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.cta-band .card { display: flex; flex-direction: column; align-items: flex-start; }
.cta-band .card .btn { margin-top: auto; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg);
}

/* ---- Long-form (legal, support) ------------------------------------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: 0.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose .updated { color: var(--ink-soft); font-size: 0.95rem; }

.toc {
  background: var(--orange-tint); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0 8px;
}
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 240px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: #faf7f5; font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.notice {
  border-left: 4px solid var(--orange); background: var(--orange-tint);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 0 0 1.2em;
}

details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 28px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--orange); font-weight: 400;
}
details.faq[open] summary::after { content: "\2212"; }
details.faq > div { padding-bottom: 16px; color: var(--ink-soft); }
details.faq > div p:last-child { margin-bottom: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }

/* ---- Footer ---------------------------------------------------------- */

.site-footer { background: var(--dark); color: #d6d3d1; padding: 56px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #f5f5f4; text-decoration: none; }
.site-footer a:hover { color: var(--orange-soft); text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-grid h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #a8a29e; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand .logo { color: var(--orange-soft); }
.footer-brand p { margin-top: 8px; color: #a8a29e; }
.legal-line {
  border-top: 1px solid #44403c; margin-top: 36px; padding-top: 20px; color: #a8a29e; font-size: 0.85rem;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .hero { padding: 64px 0 72px; }
  .site-header { position: static; }
  .nav { gap: 2px 14px; }
}

/* Replace inline style attributes, so the Content-Security-Policy can forbid inline styles. */
.prose h2.no-top-margin { margin-top: 0; }
.btn-row { margin-top: 28px; }
.page-hero p a.link-soft { color: var(--orange-soft); }
