/* ── Doodloo legal site — clean, calm, white (Ontime-style) ─────────────────── */
:root {
  --bg: #F1F2F5;
  --card: #FFFFFF;
  --line: #E7E9EF;
  --text: #15171E;
  --dim: #545B67;
  --faint: #868D99;
  --accent: #FF6A1A;
  --accent-ink: #C24E0A;
  --accent-soft: #FFF0E6;
  --green: #0B7A55;
  --green-soft: #E7F7F0;
  --grad: linear-gradient(120deg, #FF8A4C 0%, #FF6A1A 48%, #F79AC0 100%);
  --shadow: 0 18px 46px -22px rgba(20, 23, 30, .28);
  --shadow-sm: 0 8px 24px -14px rgba(20, 23, 30, .28);
  --radius: 18px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 242, 245, .82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: -0.03em; }
.logo:hover { text-decoration: none; }
.logo img { width: 28px; height: 28px; border-radius: 9px; display: block; box-shadow: var(--shadow-sm); }
nav ul { display: flex; gap: 6px; list-style: none; margin: 0 0 0 auto; padding: 0; align-items: center; }
nav ul a { color: var(--dim); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
nav ul a:hover { color: var(--text); background: #fff; text-decoration: none; }
nav ul a.active { color: var(--accent-ink); }
nav .nav-cta { background: var(--text); color: #fff; padding: 9px 15px; border-radius: 11px; font-weight: 700; font-size: 14px; }
nav .nav-cta:hover { background: #000; text-decoration: none; }
@media (max-width: 620px) { nav ul li.hide-sm { display: none; } }

/* ── Content pages (privacy / terms / home) ──────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 22px 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700;
  color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.eyebrow .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,26,.18); }
.doc .eyebrow { margin-bottom: 6px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 820; margin: 14px 0 6px; }
.doc .updated { color: var(--faint); font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.doc h2 { font-size: 21px; font-weight: 800; margin: 40px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-size: 17px; font-weight: 800; margin: 24px 0 8px; }
.doc p, .doc li { color: #2B2F39; font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .lede { color: var(--dim); font-size: 18px; max-width: none; }

/* Callout / note box */
.callout { background: var(--accent-soft); border: 1px solid #F6D3C6; border-radius: 16px; padding: 20px 22px; margin: 30px 0; color: #6A3A28; }
.callout strong { display: block; color: var(--accent-ink); margin-bottom: 4px; }
.callout p:last-child { margin-bottom: 0; }

/* "Short version" summary list */
.summary { list-style: none; padding: 0; margin: 6px 0 8px; display: grid; gap: 10px; }
.summary li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--text); }
.summary li svg { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Provider grid */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.tile b { display: block; margin-bottom: 4px; }
.tile span { color: var(--dim); font-size: 15px; }

/* Home big links */
.big-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
@media (max-width: 560px) { .big-links { grid-template-columns: 1fr; } }
.big-links a { text-decoration: none; color: var(--text); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: block;
  transition: transform .15s ease, box-shadow .2s ease; }
.big-links a:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.big-links a b { font-size: 18px; }
.big-links a span { display: block; color: var(--dim); font-size: 14px; margin-top: 4px; }

/* FAQ (accordion) */
.faq { margin: 8px 0 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 20px 30px 20px 0; list-style: none; position: relative; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: absolute; right: 2px; top: 23px; width: 13px; height: 13px; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .28s ease, opacity .28s ease; }
.faq summary .plus::before { left: 0; top: 5.5px; width: 13px; height: 2px; }
.faq summary .plus::after  { left: 5.5px; top: 0; width: 2px; height: 13px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq .faq-a { padding: 0 0 20px; color: var(--dim); font-size: 16px; max-width: 68ch; }
.faq .faq-a p { margin: 0; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 22px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
footer .brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -0.03em; }
footer .brand img { width: 22px; height: 22px; border-radius: 7px; display: block; }
footer .links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
footer .links a { color: var(--dim); font-weight: 600; font-size: 15px; }
footer .copy { width: 100%; color: var(--faint); font-size: 13px; margin: 10px 0 0; }
