/* Inter, self-hosted (SIL Open Font License 1.1 — see assets/fonts/OFL.txt).
   Five static weights, latin + latin-ext subsets, matching what Google Fonts
   served before this replaced that CDN link. font-display: swap avoids a
   render block; text shows in a fallback font until each weight loads. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/inter-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/inter-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Shared by every page. Anything Tailwind utilities cannot express cleanly lives here. */
:root {
  --brand: #6B57E6;
  --gradient: linear-gradient(90deg, #FD71AF, #7B68EE, #49CCF9);
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* The ClickUp-style gradient. Budget: wordmark mark, one hero phrase, header and footer hairlines. */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rule-gradient { background: var(--gradient); }

/* Soft colour wash behind the hero instead of imagery. */
.hero-wash {
  background:
    radial-gradient(40% 55% at 12% 15%, rgba(253, 113, 175, 0.16), transparent 70%),
    radial-gradient(45% 60% at 60% 0%, rgba(123, 104, 238, 0.16), transparent 70%),
    radial-gradient(40% 55% at 96% 70%, rgba(73, 204, 249, 0.16), transparent 70%);
}

/* Disclosures (nav menus and the services FAQ) are <details>/<summary>, so they
   work with no JS and on the keyboard. The marker is suppressed for all of them,
   not just [data-menu]: each one draws its own chevron, and older WebKit renders
   ::-webkit-details-marker as a real element that would sit beside it. */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[data-menu][open] > summary .chev { transform: rotate(180deg); }

/* Print. The site is read on paper more than a screen-first design admits: a
   client prints the services page for a partner, a reader prints the terms.
   Drop the chrome, keep the content, and show where links go. */
@media print {
  header, footer nav, .hero-wash, .rule-gradient, button[data-copy],
  a[href="#main"], details[data-menu] { display: none !important; }
  /* The filled and ghost pill buttons: useless on paper. */
  a.bg-brand, a.rounded-full.border-brand-line { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .bg-brand-soft, .bg-paper, .bg-white { background: #fff !important; }
  .shadow-sm, .shadow-md, .shadow-lg { box-shadow: none !important; }
  .text-muted { color: #333 !important; }
  /* Gradient text is painted through a transparent fill; with backgrounds
     dropped by the printer it would vanish entirely. */
  .text-gradient { background: none !important; color: #000 !important; -webkit-text-fill-color: #000; }
  article, li, details, .rounded-2xl, .rounded-3xl { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  /* Every disclosure draws its own chevron svg; the FAQ ones carry no .chev class. */
  details > summary svg { display: none !important; }
  /* Show destinations for links in the body. In-page anchors and mailto
     links are already self-explanatory, so only http and site paths. */
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
  main a[href^="/"]::after { content: " (www.intelergise.com" attr(href) ")"; font-size: 0.85em; color: #555; }
  @page { margin: 2cm; }
}
