/* Pink Cow Partner Portal. Built to OpexIT.Services Interim GTM Visual Guidelines v1.1:
   Pink Cow programme material is light-led (Off-White ground), a 6px Dark Pink band at the top,
   Lato only, Dark Pink for headings and accents, no flow lines, no pink on black.
   Fonts are self-hosted: the web user has a per-UID egress deny, and a font CDN would also
   learn who is signed in. No script, no analytics. */
@font-face { font-family: "Lato"; src: url("fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ground: #f7f8fa;      /* Off-White */
  --white: #fff;
  --ink: #0e1117;         /* Dark Grey: all text on light */
  --charcoal: #2c2c31;
  --pink: #781e3c;        /* Dark Pink */
  --teal: #0a4d69;        /* Dark Teal: links and focus on light */
  --hair: #ced4da;        /* Neutral Light */
  --wrap: 1040px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 "Lato", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.band { height: 6px; background: var(--pink); }

.top { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.lockup { width: 353px; max-width: 100%; }
.top nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--pink); text-decoration: underline; }
.top nav .signout { color: var(--charcoal); font-weight: 400; }

.hero { padding: 48px 0 24px; max-width: 760px; }
.eyebrow { margin: 0 0 12px; font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
h1 { margin: 0 0 16px; font-weight: 700; font-size: clamp(30px, 5vw, 48px); line-height: 1.15; }
h2 { margin: 0 0 8px; font-weight: 700; font-size: clamp(26px, 3.5vw, 36px); line-height: 1.25; color: var(--pink); }
h3 { margin: 40px 0 4px; font-weight: 700; font-size: 22px; line-height: 1.3; }
.stop { color: var(--pink); }
.lead { font-weight: 300; font-size: 20px; line-height: 1.45; margin: 0 0 16px; }
section { padding: 48px 0 8px; }
section + section { border-top: 1px solid var(--hair); }
.section-note { display: inline-block; margin: 0 0 16px; padding: 6px 14px; background: var(--white); border-left: 6px solid var(--pink); font-weight: 700; font-size: 15px; }
.group-lead { margin: 0 0 16px; color: var(--charcoal); }

ul.docs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
ul.docs-compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.doc { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; background: var(--white); border: 1px solid var(--hair); border-radius: 6px; color: var(--ink); text-decoration: none; }
a.doc:hover { border-color: var(--pink); }
a.doc:hover .doc-title { color: var(--pink); text-decoration: underline; }
.doc-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.doc-blurb { color: var(--charcoal); font-size: 15px; line-height: 1.45; }
.doc-meta { margin-top: auto; padding-top: 8px; color: var(--charcoal); font-size: 13px; }
.doc-pending { background: transparent; border-style: dashed; }
.doc-pending .doc-title { color: var(--charcoal); }

.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin-top: 64px; padding-top: 24px; padding-bottom: 48px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--charcoal); }
.foot p { margin: 0; max-width: 640px; }
.opexit { width: 150px; }
@media (max-width: 560px) { .hero { padding-top: 24px; } .lead { font-size: 18px; } }

/* Landing page buttons (apex site shares this stylesheet). The filled
   button is Dark Teal with white text, the action colour on light grounds. */
.button { display: inline-block; padding: 12px 24px; background: var(--teal); color: var(--white); font-weight: 700; text-decoration: none; border: 2px solid var(--teal); border-radius: 4px; }
.button:hover { background: var(--ink); border-color: var(--ink); }
.button-quiet { background: transparent; color: var(--teal); }
.button-quiet:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
