/* Transparent Recovery Solutions — shared styles.
   Most layout lives inline in each page; this file holds the basics. */

:root {
  --ink: #04060a;
  --silver: #e6e9ec;
  --slate: #7c9cad;
  --sage: #9db09a;
  --paper: #eef0ec;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); }
img, svg { max-width: 100%; }

/* Blend the logo's own black background into the page */
img[src="/logo.webp"] {
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 70%, transparent 97%);
  mask-image: radial-gradient(circle at 50% 50%, #000 70%, transparent 97%);
}

a { color: #a9bca6; }
a:hover { color: #dce5da; }
header nav a:hover { color: #f4f6f8 !important; }

summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] summary span[aria-hidden="true"] { transform: rotate(45deg); }
summary span[aria-hidden="true"] { transition: transform 0.2s ease; display: inline-block; }

input, select, textarea, button { font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: transparent !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

section[id] { scroll-margin-top: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--silver); color: var(--ink); padding: 12px 18px; border-radius: 999px;
  font-family: Jost, system-ui, sans-serif; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }

/* Phones: hide the large decorative circles and tighten spacing */
@media (max-width: 760px) {
  svg[aria-hidden="true"][style*="position: absolute"] { display: none; }
  section { padding-top: 80px !important; padding-bottom: 80px !important; padding-left: 22px !important; padding-right: 22px !important; }
  header > div { padding-left: 22px !important; padding-right: 22px !important; }
  header nav { gap: 4px 20px !important; font-size: 12px !important; }
  form { padding: 28px 22px !important; }
  footer div[style*="text-align: right"] { text-align: left !important; }
  /* "Our promise" columns stack cleanly */
  div[style*="border-top: 1px solid #C9CFCA"] > div { padding-left: 0 !important; padding-right: 0 !important; border-right: none !important; border-bottom: 1px solid #C9CFCA; padding-bottom: 28px !important; }
  /* Service strip: drop the dot separators when items stack */
  p > span[style="color: #9DB09A"] { display: none; }
  p:has(> span[style="color: #9DB09A"]) { gap: 10px 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
