/* SISgate HR — brand follows sisgatepro.com: Libre Baskerville headings, Almarai body, logo red and grey. */
:root {
  --red: #FF3131;          /* logo red: fills, marks, rules */
  --red-ink: #C8161D;      /* text, links, buttons: 5.9:1 on white */
  --red-ink-hover: #A81117;
  --red-tint: #FFF1F1;
  --grey: #A6A6A6;         /* logo grey */
  --ink: #17191D;
  --ink-2: #3A3F45;
  --muted: #5E646B;        /* 5.9:1 on white, 5.5:1 on --panel */
  --line: #E4E6E9;
  --panel: #F6F7F8;
  --bg: #FFFFFF;
  --radius: 10px;
  --radius-lg: 16px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Almarai", "Segoe UI", Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red-ink); }
a:hover { color: var(--red-ink-hover); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); margin-bottom: .75em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  padding: 15px 24px; border-radius: var(--radius); border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red-ink); color: #fff; }
.btn-primary:hover { background: var(--red-ink-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand-name { font-family: var(--sans); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-name b { color: var(--red-ink); font-weight: 800; }
.brand-by { display: block; font-size: .72rem; color: var(--muted); font-weight: 400; letter-spacing: .02em; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--red-ink); }
.nav .btn { padding: 11px 18px; color: #fff; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--panel) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--red-ink); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: baseline; }
.hero-points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: translateY(-2px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-grid > * { min-width: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero { padding-top: 48px; } }
@media (max-width: 520px) { .wrap { padding: 0 16px; } .ask { padding: 20px; } .ask-field img { display: none; } section { padding: 64px 0; } }

/* Ask box */
.ask { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 20px 50px -24px rgba(23,25,29,.5); }
.ask h2 { font-size: 1.5rem; color: #fff; margin-bottom: .3em; }
.ask p { color: #C9CDD2; font-size: .98rem; }
.ask-field { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: var(--radius); padding: 8px 8px 8px 8px; margin: 16px 0 14px; }
.ask-field img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.ask-field input { flex: 1; min-width: 0; border: 0; font: 1rem var(--sans); color: var(--ink); padding: 10px 4px; background: transparent; }
.ask-field input:focus { outline: none; }
.ask-field:focus-within { box-shadow: 0 0 0 3px var(--red); }
.ask-field .btn { padding: 12px 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: .88rem var(--sans); color: #E6E8EB; background: transparent; border: 1px solid #4A4F57; border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.chip:hover { border-color: #fff; color: #fff; }
.ask-result { margin-top: 18px; background: #23262B; border-radius: var(--radius); padding: 18px; display: none; }
.ask-result.show { display: block; }
.ask-result h3 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1rem; margin-bottom: .4em; }
.ask-result p { margin-bottom: .8em; }
.ask-result ul { margin: 0 0 1em; padding-left: 1.1em; color: #E6E8EB; }
.ask-result .btn-ghost { background: transparent; color: #fff; border-color: #5A6069; }
.ask-result .row { display: flex; flex-wrap: wrap; gap: 10px; }
.ask-note { font-size: .8rem; color: #9DA3AA; margin: 14px 0 0; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 46em; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--panel); }

/* Pain strip */
.pains { padding: 36px 0; border-bottom: 1px solid var(--line); }
.pains .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pain { font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; }
.pain span { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .pains .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pains .wrap { grid-template-columns: 1fr; } }

/* Packs */
.packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pack { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.pack-num { font-family: var(--serif); color: var(--red); font-size: 1rem; margin-bottom: 6px; }
.pack h3 { font-size: 1.35rem; }
.pack > p { color: var(--muted); }
.pack ul { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.pack li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.pack li:last-child { border-bottom: 0; }
.tag { font-size: .75rem; font-weight: 700; color: var(--red-ink); background: var(--red-tint); border-radius: 999px; padding: 3px 9px; white-space: nowrap; align-self: center; }
.tag-grey { color: var(--ink-2); background: var(--panel); }
.packs-foot { margin-top: 28px; color: var(--muted); }
@media (max-width: 860px) { .packs { grid-template-columns: 1fr; } }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.why-item h3 { font-size: 1.25rem; }
.why-item .rule { width: 40px; height: 3px; background: var(--red); margin-bottom: 18px; }
.why-item p { color: var(--ink-2); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--red-ink); }
.price .who { font-weight: 700; font-size: 1.05rem; }
.price .amount { font-family: var(--serif); font-size: 2.6rem; margin: 14px 0 0; line-height: 1; }
.price .amount small { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.price .per { color: var(--muted); font-size: .9rem; margin: 6px 0 20px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price li { padding: 7px 0 7px 26px; position: relative; font-size: .96rem; }
.price li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--red-ink); border-bottom: 2px solid var(--red-ink); transform: rotate(-45deg); }
.calc { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.calc label { font-size: .9rem; color: var(--muted); }
.calc input { width: 92px; font: 1rem var(--sans); padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; }
.terms-line { margin-top: 28px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: .95rem; }
.terms-line strong { color: var(--ink); }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* Compare */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--panel); }
.compare tbody th { font-weight: 700; width: 28%; }
.compare td.us { color: var(--ink); font-weight: 700; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .compare th, .compare td { padding: 12px; font-size: .92rem; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 16px; }
.person h3 { margin-bottom: .1em; }
.person .role { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); margin-bottom: .7em; }
.person p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; max-width: 460px; } }

/* Updates */
.updates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.update { border-top: 3px solid var(--red); padding-top: 18px; }
.update time { font-size: .85rem; color: var(--muted); }
.update h3 { font-size: 1.1rem; margin: .4em 0; }
.update p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .updates { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--red-ink); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* Closing CTA */
.closing { background: var(--ink); color: #fff; text-align: center; }
.closing h2 { color: #fff; }
.closing p { color: #C9CDD2; max-width: 36em; margin: 0 auto 28px; font-size: 1.1rem; }
.closing .btn-ghost { background: transparent; color: #fff; border-color: #5A6069; }

/* Enquiry dialog */
dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(560px, calc(100% - 32px)); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
dialog::backdrop { background: rgba(23,25,29,.55); }
.dlg { padding: 28px; }
.dlg h2 { font-size: 1.5rem; }
.dlg label { display: block; font-size: .9rem; font-weight: 700; margin: 14px 0 6px; }
.dlg input, .dlg textarea, .dlg select { width: 100%; font: 1rem var(--sans); padding: 11px 12px; border: 1px solid #C9CDD2; border-radius: 8px; color: var(--ink); background: #fff; }
.dlg textarea { min-height: 110px; resize: vertical; }
.dlg .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dlg .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.dlg .small { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.dlg .status { margin-top: 14px; font-size: .95rem; }
@media (max-width: 520px) { .dlg .row2 { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0F1114; color: #B8BDC3; padding: 56px 0 40px; font-size: .92rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-family: var(--sans); font-weight: 700; font-size: .95rem; color: #fff; margin-bottom: .8em; }
.site-footer p { margin-bottom: .5em; }
.disclaimer { border-top: 1px solid #2A2E34; margin-top: 36px; padding-top: 20px; font-size: .82rem; color: #8E949B; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Simple content pages (terms, privacy) */
.doc { max-width: 760px; padding: 64px 24px 96px; margin: 0 auto; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc li { margin-bottom: .5em; }

/* Review edition: keep the SISgate palette and type; give content priority. */
.review-banner { background:#fff1f1; border-bottom:1px solid #efc6c6; color:#6f171b; font-size:.85rem; padding:10px 0; }
.review-banner .wrap { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 20px; }
.hero { background:#f6f7f8; }
.hero h1 em { color:inherit; }
.eyebrow { text-transform:none; letter-spacing:0; }
.pack { scroll-margin-top:100px; }
.pack:target { border-color:var(--red-ink); box-shadow:0 0 0 2px var(--red-tint); }
section { scroll-margin-top:70px; }
.price .amount { overflow-wrap:anywhere; }
.ask-note { color:#c9cdd2; }
@media(max-width:520px) { .site-header .wrap { gap:10px; } .nav .btn { padding:10px 12px; } .pack li { flex-wrap:wrap; } .compare { display:block; overflow-x:auto; } .hero { padding-top:36px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none!important; } }
