/* ReclipIt site pages (Terms, Privacy, Refunds, Cookies, Security & data, Contact) — ONE shared shell, built from the canonical
   landing's own values (index.html: the light body's three levels, its hairlines and ink, the dark footer band, the logo trim, the
   system type stack). Calm and serious: no dot fields, waves, gradients, screenshots or motion. DRAFT PAGES FOR LAYOUT REVIEW:
   the copy is placeholder and visibly marked; nothing here is a final policy. */
:root {
  --l-bg: #E7ECF2; --l-bg-2: #DCE3EC; --l-card: #FFFFFF; --surface-2: #F4F7FA;   /* the landing's light levels: ground, field, surface */
  --line: #D4DCE6; --line-2: #C7D1DD; --line-3: #B2BFCE;
  --ink: #0A1220; --ink-2: #3E4859; --ink-3: #5B6576;
  --blue: #1E6FEA; --blue-ink: #1858C4;
  --bg-deep: #050E18;                                                       /* the landing's footer band */
  --d-line: rgba(150, 180, 225, .13); --d-line-2: rgba(150, 180, 225, .22);
  --d-text: #eef2f8; --d-text-2: #c3cbd8; --d-text-3: #98a3b6;
  --sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --card-shadow: 0 1px 2px rgba(10,18,32,.04), 0 14px 34px -22px rgba(10,18,32,.22);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--l-bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--l-bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.logo { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.logo img { --lh: 24px; display: block; width: auto; height: calc(var(--lh) * 724 / 530); margin: calc(var(--lh) * -97 / 530) calc(var(--lh) * -185 / 530) calc(var(--lh) * -97 / 530) calc(var(--lh) * -186 / 530); }

/* header: logo + one way back, nothing else */
.sh { border-bottom: 1px solid var(--line); background: var(--l-bg); }
.sh .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.sh-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); text-decoration: none; }
.sh-back:hover { color: var(--ink); }
.sh-back svg { width: 15px; height: 15px; }

/* the draft notice: one quiet line, never a banner */
.draft { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 5px 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 550; color: var(--ink-2); }
.ph { padding: 0 3px; border-radius: 3px; background: #FDF3D7; color: #6B4E00; font-weight: 550; }   /* an inline placeholder that must be replaced before launch */

/* page head */
.ph-head { padding: 56px 0 36px; }
.ph-head h1 { font-size: 40px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.ph-head .lede { margin-top: 12px; max-width: 640px; font-size: 17px; color: var(--ink-2); }
.meta { margin-top: 10px; font-size: 14px; color: var(--ink-3); }

/* ---------- LEGAL DOCUMENT: contents (left, sticky) + one reading column (right) ---------- */
.doc { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; align-items: start; padding-bottom: 96px; }
.toc { position: sticky; top: 28px; font-size: 14px; }
.toc-h { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.toc ol, .toc ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0 5px 12px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.toc ol { border-left: 1px solid var(--line-2); }
.toc .toc-docs { margin-top: 28px; }
.toc .toc-docs a { padding-left: 0; border: 0; margin: 0; }
.toc .toc-docs a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.toc-m { display: none; }

.prose { padding: 40px 48px 44px; border-radius: 16px; background: var(--l-card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.prose section + section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.prose section { scroll-margin-top: 24px; }
.prose h2 { font-size: 22px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.prose h3 { margin-top: 22px; font-size: 16.5px; font-weight: 650; line-height: 1.4; }
.prose p, .prose ul, .prose ol { margin-top: 12px; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--blue-ink); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 650; }

/* ---------- SECURITY & DATA ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sec-card { padding: 28px 30px 30px; border-radius: 16px; background: var(--l-card); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.sec-card .n { display: block; font-size: 13px; font-weight: 650; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sec-card h2 { margin-top: 10px; font-size: 21px; font-weight: 650; letter-spacing: -.015em; }
.sec-card p { margin-top: 10px; color: var(--ink-2); }
.faq { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; padding: 72px 0 96px; }
.faq h2 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.faq .sub { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.qa-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; list-style: none; cursor: pointer; font-size: 16.5px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.qa[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.qa p { padding: 0 2px 20px; max-width: 680px; color: var(--ink-2); }

/* ---------- footer: the landing's dark band, the same three groups ---------- */
.sf { background: var(--bg-deep); color: var(--d-text-2); border-top: 1px solid var(--d-line); padding: 56px 0 40px; }
.sf .logo img { --lh: 27px; }
.sf-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .75fr)) minmax(0, 1fr); gap: 40px; align-items: start; }
.sf-tag { margin-top: 8px; font-size: 14px; color: var(--d-text-3); }
.sf-col { display: grid; gap: 12px; justify-items: start; padding-top: 4px; }
.sf-col a { font-size: 14.5px; color: var(--d-text-2); text-decoration: none; white-space: nowrap; }
.sf-legal a { font-size: 14px; color: var(--d-text-3); }
.sf-col a:hover { color: var(--d-text); }
/* Contact: the landing nav's "Get started" (.btn.btn-primary at 36px), same values */
.sf-act { justify-self: end; }
.sf-contact { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 24px -8px rgba(30,111,234,.32); transition: background .2s, box-shadow .2s, transform .2s; }
.sf-contact:hover { background: #195FD0; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 30px -8px rgba(30,111,234,.55); }
.sf-contact:active { transform: translateY(1px); }
.sf-copy { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 4px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--d-line); font-size: 13px; color: var(--d-text-3); }
.sf-support { margin-left: auto; }   /* the customer-support address */

@media (max-width: 1000px) {
  .doc { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .prose { padding: 32px 32px 36px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 32px 28px; }   /* Contact's column fits its content: it ends on the container edge */
  .sf-grid > div:first-child { grid-column: 1 / -1; }
  .sf-act { justify-self: start; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .ph-head { padding: 36px 0 24px; }
  .ph-head h1 { font-size: 30px; }
  .ph-head .lede { font-size: 16px; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 64px; }
  .toc { display: none; }
  .toc-m { display: block; border-radius: 12px; background: var(--l-card); border: 1px solid var(--line); }
  .toc-m summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: ''; width: 8px; height: 8px; border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); }
  .toc-m[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
  .toc-m ol { list-style: none; margin: 0; padding: 0 16px 12px; display: grid; gap: 2px; }
  .toc-m a { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; font-size: 15px; }
  .prose { padding: 24px 20px 28px; border-radius: 14px; }
  .prose h2 { font-size: 20px; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-card { padding: 22px 20px 24px; }
  .faq { padding: 48px 0 64px; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .sf-act { grid-column: 1 / -1; }
  .sf-support { margin-left: 0; flex-basis: 100%; }
}

[hidden] { display: none !important; }
