/*
|--------------------------------------------------------------------------
| HR-Konnect :: tribe-site.css
|--------------------------------------------------------------------------
|
| The public website ONLY. It shares nothing with tribe.css and is never loaded
| alongside it.
|
| Kept apart on purpose. The admin stylesheet is built for dense screens at a
| desk, and every rule in it assumes a signed-in user with a sidebar. A
| marketing page has the opposite job — one column, large type, read on a phone
| in the street — and threading both sets of assumptions through one file is
| how a change to a button in the console quietly breaks the pricing page.
|
| Everything here is mobile first: the base rules describe the phone, and the
| media queries add room as the screen grows. There is no fixed width anywhere,
| no horizontal scrolling at any size, and every tap target clears 44px.
|
| The accent is the console's own orange (--tribe-accent / --tribe-accent-deep in
| tribe.css, mirrored here as --site-coral / --site-coral-dark) rather than a
| separate marketing colour — a visitor who signs up should not land somewhere
| that looks like a different product. Sand for the neutrals and the sea
| tones stay as the Bahamian identity in the illustrations and as a quiet
| secondary accent, not the primary brand colour.
|
*/

/*
|--------------------------------------------------------------------------
| FONTS — self-hosted, no Google Fonts CDN request on the critical path.
|--------------------------------------------------------------------------
|
| Poppins carries body copy; Montserrat is the display face for headings
| and the big numbers in the stats band. Both are SIL OFL, so shipping the
| files ourselves is fine — it also means the marketing site never blocks
| on a third-party font host.
*/
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat.woff2") format("woff2"); }

:root {
    /* Brand accent, unified with the console (tribe.css --tribe-accent*) so the
       marketing site and the product read as one thing, not two. */
    --site-coral:       #D97757;
    --site-coral-dark:  #C26342;
    --site-coral-light: #E8916F;
    --site-coral-soft:  #FBEDE8;
    --site-coral-ring:  rgba(217, 119, 87, 0.18);

    /* Secondary — the water off New Providence. Kept for the illustrations
       and as a quiet decorative accent; no longer the primary brand colour. */
    --site-sea:        #0B4F6C;   /* deep water */
    --site-shallow:    #1D8CA6;   /* the shallows off the cay */
    --site-turquoise:  #34B3C7;
    --site-sand:       #F6F1E7;
    --site-sand-deep:  #EBE2D2;
    --site-ink:        #14232B;
    --site-body:       #40535D;
    --site-muted:      #6D7F88;
    --site-line:       #DCE3E7;
    --site-white:      #FFFFFF;

    --site-radius:     14px;
    --site-radius-lg:  22px;
    --site-shadow:     0 1px 2px rgba(20,35,43,.06), 0 8px 24px rgba(20,35,43,.06);
    --site-shadow-lg:  0 2px 4px rgba(20,35,43,.08), 0 18px 48px rgba(20,35,43,.12);

    --site-max:        1140px;
    --site-gutter:     20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.tribe-site {
    margin: 0;
    background: var(--site-white);
    color: var(--site-body);
    font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
    /* Grows a little with the viewport instead of jumping at breakpoints. */
    font-size: clamp(15.5px, 1.05vw + 13px, 17px);
    line-height: 1.65;
    overflow-x: hidden;
}

.tribe-site h1, .tribe-site h2, .tribe-site h3 {
    color: var(--site-ink);
    font-family: "Montserrat", "Poppins", "Segoe UI", system-ui, sans-serif;
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 800;
    letter-spacing: -.02em;
}
.tribe-site h1 { font-size: clamp(30px, 5.2vw, 52px); }
.tribe-site h2 { font-size: clamp(24px, 3.4vw, 36px); }
.tribe-site h3 { font-size: clamp(17px, 1.6vw, 20px); }
.tribe-site p  { margin: 0 0 1em; }
.tribe-site a  { color: var(--site-coral-dark); text-decoration: none; }
.tribe-site a:hover { text-decoration: underline; }
/* Chrome that behaves like a button or a nav item keeps its own hover
   treatment (background/colour) rather than picking up the text underline. */
.tribe-site .site-btn:hover,
.tribe-site .site-nav a:hover,
.tribe-site .site-menu__panel a:hover,
.tribe-site .site-footer a:hover,
.tribe-site .site-brand:hover {
    text-decoration: none;
}
.tribe-site img, .tribe-site svg { max-width: 100%; height: auto; display: block; }

.site-wrap {
    width: 100%;
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 var(--site-gutter);
}

.site-lead { font-size: clamp(16px, 1.3vw + 12px, 19px); color: var(--site-body); }
.site-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--site-coral-dark);
    margin: 0 0 10px;
}
.site-centre { text-align: center; }
.site-centre .site-lead { margin-left: auto; margin-right: auto; max-width: 60ch; }

/*
|--------------------------------------------------------------------------
| BUTTONS — 44px minimum, because they are tapped with a thumb
|--------------------------------------------------------------------------
*/
.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.site-btn:hover { transform: translateY(-1px); }
/*
 | Prefixed with .tribe-site so these beat the generic `.tribe-site a` colour.
 |
 | Without it a button rendered as an anchor inherits the link blue and the
 | white label on the coral button turns unreadable — an element-plus-class
 | selector outranks a single class however far down the file it sits.
 */
.tribe-site .site-btn--primary { background: var(--site-coral); color: #fff; box-shadow: 0 6px 18px rgba(217,119,87,.28); }
.tribe-site .site-btn--primary:hover { background: var(--site-coral-dark); color: #fff; }
.tribe-site .site-btn--ghost { background: transparent; color: var(--site-ink); border-color: var(--site-line); }
.tribe-site .site-btn--ghost:hover { border-color: var(--site-coral-dark); color: var(--site-coral-dark); }
.tribe-site .site-btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.tribe-site .site-btn--light:hover { background: rgba(255,255,255,.24); color: #fff; }
.site-btn--block { width: 100%; }

/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
|
| The menu is a details/summary disclosure rather than a scripted drawer, so
| it works with JavaScript switched off and needs no state to go wrong.
*/
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--site-line);
}
.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
}
.site-brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-brand img { max-height: 30px; width: auto; }
.site-brand__text { font-weight: 700; color: var(--site-ink); font-size: 18px; }

.site-nav { display: none; }
/* :not(.site-btn) — a button that happens to live in the nav keeps its own
   colours rather than being repainted as a nav link. */
.tribe-site .site-nav a:not(.site-btn) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--site-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 12px;
    border-radius: 8px;
}
.tribe-site .site-nav a:not(.site-btn):hover { color: var(--site-coral-dark); background: var(--site-sand); }
.tribe-site .site-nav a.is-active:not(.site-btn) { color: var(--site-coral-dark); }
.site-nav a svg { width: 15px; height: 15px; flex: none; opacity: .8; }

.site-menu { position: relative; }
.site-menu > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    cursor: pointer;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu__icon { width: 20px; height: 2px; background: var(--site-ink); position: relative; }
.site-menu__icon::before, .site-menu__icon::after {
    content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--site-ink);
}
.site-menu__icon::before { top: -6px; }
.site-menu__icon::after  { top: 6px; }

.site-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(78vw, 260px);
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow-lg);
    padding: 8px;
    display: flex;
    flex-direction: column;
}
.tribe-site .site-menu__panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--site-ink);
    font-weight: 500;
}
.site-menu__panel a:hover { background: var(--site-sand); }
.tribe-site .site-menu__panel a.is-active { color: var(--site-coral-dark); background: var(--site-sand); }
.site-menu__panel a svg { width: 16px; height: 16px; flex: none; opacity: .8; }

/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/
.site-hero {
    position: relative;
    background: linear-gradient(160deg, var(--site-coral-dark) 0%, var(--site-coral) 58%, var(--site-coral-light) 100%);
    color: #fff;
    padding: 56px 0 0;
    overflow: hidden;
}
.site-hero h1 { color: #fff; }
.site-hero p { color: rgba(255,255,255,.9); }
.site-hero__grid { display: grid; gap: 32px; align-items: center; }
.site-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.site-hero__note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.78); }
.site-topics { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }

/* The wave that closes the hero — drawn, not an image, so it stays crisp
   at any width and costs nothing to load. */
.site-wave { display: block; width: 100%; height: auto; margin-bottom: -1px; position: relative; z-index: 1; }

.site-hero__art { position: relative; padding-bottom: 8px; }

/*
|--------------------------------------------------------------------------
| SECTIONS AND CARDS
|--------------------------------------------------------------------------
*/
.site-section { padding: 56px 0; }
.site-section--sand { background: var(--site-sand); }
/* Neutral, not coral — a CTA band needs the primary button to be the one
   spot of colour in it. Coral-on-coral would flatten that contrast. */
.site-section--ink  { background: var(--site-ink); color: rgba(255,255,255,.86); }
.site-section--ink h2, .site-section--ink h3 { color: #fff; }
.site-section__head { margin-bottom: 32px; }

.site-grid { display: grid; gap: 18px; }

.site-card {
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    padding: 24px;
    box-shadow: var(--site-shadow);
}
.site-card h3 { margin-bottom: 8px; }
.site-card p:last-child { margin-bottom: 0; }

.site-card__icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--site-coral-soft);
    color: var(--site-coral-dark);
    margin-bottom: 14px;
}
.site-card__icon svg { width: 24px; height: 24px; }

.site-list { list-style: none; margin: 12px 0 0; padding: 0; }
.site-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 15px;
}
.site-list li::before {
    content: "";
    position: absolute;
    left: 4px; top: .55em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--site-coral);
}

/*
|--------------------------------------------------------------------------
| PRICING
|--------------------------------------------------------------------------
*/
.site-plan {
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--site-shadow);
}
.site-plan--featured {
    border-color: var(--site-coral);
    box-shadow: var(--site-shadow-lg);
    position: relative;
}
.site-plan__tag {
    position: absolute; top: -13px; left: 24px;
    background: var(--site-coral);
    color: #fff;
    font-size: 12px; font-weight: 700;
    padding: 5px 12px; border-radius: 999px;
}
.site-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.site-plan__amount { font-size: 40px; font-weight: 700; color: var(--site-ink); letter-spacing: -.03em; }
.site-plan__unit { font-size: 14px; color: var(--site-muted); }
.site-plan .site-btn { margin-top: auto; }
.site-plan .site-list { margin-bottom: 22px; }

/*
|--------------------------------------------------------------------------
| PRICE CALCULATOR
|--------------------------------------------------------------------------
|
| One number, updated live as the plan or headcount changes. No page reload
| and no request to the server — the three plans' rates are small enough to
| send with the page, so the arithmetic can happen instantly in the browser.
*/
.site-calc {
    background: linear-gradient(135deg, #fff 0%, var(--site-coral-soft) 145%);
    border: 1px solid var(--site-coral-ring);
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow-lg);
    padding: 32px 24px;
}
.site-calc__grid { display: grid; gap: 28px; }
.site-calc__result { text-align: center; }
.site-calc__result .site-btn { margin-top: 22px; }
.site-calc__plans {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}
.site-calc__plan {
    appearance: none;
    border: 1px solid var(--site-line);
    background: var(--site-sand);
    color: var(--site-ink);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.site-calc__plan:hover { border-color: var(--site-coral-dark); }
.site-calc__plan[aria-pressed="true"] {
    background: var(--site-coral);
    border-color: var(--site-coral);
    color: #fff;
}

.site-calc__count {
    text-align: center;
    margin-bottom: 10px;
}
.site-calc__count-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--site-ink);
}
.site-calc__count-label {
    font-size: 14px;
    color: var(--site-muted);
}

/* Range input — cross-browser thumb/track styling needs the vendor-prefixed
   pseudo-elements repeated per engine; there is no shorthand for this. */
.site-calc__slider {
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--site-line);
    outline: none;
    margin: 4px 0 8px;
}
.site-calc__slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--site-coral);
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(20,35,43,.35);
    cursor: pointer;
}
.site-calc__slider::-moz-range-thumb {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--site-coral);
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(20,35,43,.35);
    cursor: pointer;
}
.site-calc__slider::-moz-range-track { background: var(--site-line); height: 6px; border-radius: 999px; }
.site-calc__slider:focus-visible { box-shadow: 0 0 0 3px var(--site-coral-ring); }

.site-calc__scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--site-muted);
    margin-bottom: 24px;
}

.site-calc__total {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--site-line);
}
.site-calc__total-amount { font-size: 44px; font-weight: 700; color: var(--site-ink); letter-spacing: -.03em; }
.site-calc__total-unit { font-size: 14px; color: var(--site-muted); margin-top: 2px; }
.site-calc__note {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--site-coral-dark);
    background: var(--site-coral-soft);
    border-radius: 10px;
    padding: 10px 14px;
}
.site-calc__note[hidden] { display: none; }

/*
|--------------------------------------------------------------------------
| PART JUMP LIST — a compact row of anchor pills above a long index, so
| jumping to a specific Part of the Act doesn't mean scrolling past every
| other one first.
|--------------------------------------------------------------------------
*/
.site-jumplist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tribe-site .site-jumplist a {
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--site-sand);
    color: var(--site-body);
}
.tribe-site .site-jumplist a:hover { background: var(--site-coral-soft); color: var(--site-coral-dark); }

/*
|--------------------------------------------------------------------------
| FAQ ACCORDION — a lighter alternative to a row of cards for short
| question/answer pairs, so it doesn't visually compete with real content
| cards elsewhere on the same page.
|--------------------------------------------------------------------------
*/
.site-faq { border-top: 1px solid var(--site-line); }
.site-faq details { border-bottom: 1px solid var(--site-line); }
.tribe-site .site-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    cursor: pointer;
    font-weight: 600;
    color: var(--site-ink);
}
.site-faq summary::-webkit-details-marker { display: none; }
.site-faq__plus { flex: none; font-size: 20px; line-height: 1; color: var(--site-coral-dark); transition: transform .2s ease; }
.site-faq details[open] .site-faq__plus { transform: rotate(45deg); }
.site-faq__a { margin: -4px 0 18px; padding-right: 28px; font-size: 14.5px; line-height: 1.6; color: var(--site-body); }

/*
|--------------------------------------------------------------------------
| CONTACT LAYOUT — a narrow info column beside a wider form card, rather
| than one column with the form on top. Ported from the same idea on the
| Pinnacle marketing site.
|--------------------------------------------------------------------------
*/
.site-contact-grid { display: grid; gap: 18px; align-items: start; }
.site-contact-info { display: flex; flex-direction: column; gap: 14px; }
.site-contact-form-card {
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow);
    padding: 26px;
}
.site-contact-info .site-card p:last-child { margin-bottom: 0; }
.site-contact-info .site-card__icon { margin-bottom: 10px; }

.site-success { padding: 40px 8px; text-align: center; }
.site-success__icon {
    margin: 0 auto;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #EAF7F0;
    color: #17603C;
}
.site-success__icon svg { width: 26px; height: 26px; }
.site-success h2 { margin-top: 18px; }

/* A verdict — good, bad or warn — shown as an icon-in-a-circle plus a
   heading. Same shape as .site-success above, but with a colour per state
   for the letter-verification page. */
.site-status { text-align: center; padding: 12px 4px 24px; }
.site-status__icon {
    margin: 0 auto;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 800;
}
.site-status--good .site-status__icon { background: #EAF7F0; color: #17603C; }
.site-status--bad  .site-status__icon { background: #FDF0EC; color: #8E2A18; }
.site-status--warn .site-status__icon { background: #FEF3C7; color: #92400E; }
.site-status h2 { margin-top: 16px; }
.site-status > p { max-width: 46ch; margin: 8px auto 0; color: var(--site-body); }
.site-status__note { margin-top: 18px; font-size: 13px; color: var(--site-muted); }

/*
|--------------------------------------------------------------------------
| CONTACT FORM
|--------------------------------------------------------------------------
|
| 16px inputs deliberately: anything smaller makes iOS Safari zoom the page
| when the field is focused, and the visitor is then stranded mid-form.
*/
.site-form { display: grid; gap: 16px; }
.site-field { display: flex; flex-direction: column; gap: 6px; }
.site-field label { font-weight: 600; font-size: 14px; color: var(--site-ink); }
.site-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font: inherit;
    font-size: 16px;
    color: var(--site-ink);
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: 10px;
}
.site-input:focus {
    outline: none;
    border-color: var(--site-coral-dark);
    box-shadow: 0 0 0 3px var(--site-coral-ring);
}
textarea.site-input { min-height: 130px; resize: vertical; }
.site-field__hint { font-size: 13px; color: var(--site-muted); }

.site-flash {
    border-radius: var(--site-radius);
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 15px;
    border: 1px solid;
}
.site-flash--good   { background: #EAF7F0; border-color: #9AD3B4; color: #17603C; }
.site-flash--bad    { background: #FDF0EC; border-color: #E9B5A4; color: #8E2A18; }

/* Spam trap. Hidden from people, reachable by a bot filling every field. */
.site-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/
.site-footer { background: var(--site-ink); color: rgba(255,255,255,.7); padding: 44px 0 28px; }
.site-footer h4 { color: #fff; font-size: 13px; margin: 0 0 12px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer p { font-size: 13px; }
.site-footer a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    padding: 6px 0;
    font-size: 13px;
}
.site-footer a:hover { color: #fff; }
.site-footer a svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.site-footer__grid { display: grid; gap: 28px; }
.site-footer__base {
    margin-top: 28px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.14);
    font-size: 13.5px;
    display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/*
|--------------------------------------------------------------------------
| HERO TEXTURE, MOTION AND THE PRODUCT PREVIEW CARD
|--------------------------------------------------------------------------
|
| Ported concepts from the Pinnacle marketing site, re-themed to HR-Konnect's
| own coral/sea palette rather than copied colour-for-colour: a faint grid
| behind the hero, soft blurred colour fields, a small entrance animation on
| the hero copy, a floating mock of the product itself instead of (or beside)
| the illustration, and a lift-on-hover for cards.
*/
.site-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 35%, transparent 75%);
            mask-image: radial-gradient(ellipse at 30% 20%, #000 35%, transparent 75%);
}
.site-hero__glow {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
}
.site-hero__glow--1 { top: -60px; right: -60px; width: 300px; height: 300px; background: rgba(255,255,255,.16); }
.site-hero__glow--2 { bottom: -40px; left: -40px; width: 220px; height: 220px; background: var(--site-turquoise); opacity: .28; }
.site-hero > .site-wrap { position: relative; z-index: 1; }
.site-hero__grid, .site-hero__art { position: relative; z-index: 1; }

/* Entrance animation on the hero copy — skipped entirely for anyone who has
   asked their OS for less motion. */
@media (prefers-reduced-motion: no-preference) {
    .site-rise { animation: siteRise .7s cubic-bezier(.2,.7,.2,1) both; }
    .site-rise.d1 { animation-delay: .08s; }
    .site-rise.d2 { animation-delay: .16s; }
    .site-rise.d3 { animation-delay: .24s; }
    @keyframes siteRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

    .site-float { animation: siteFloat 7s ease-in-out infinite; }
    @keyframes siteFloat { 50% { transform: translateY(-8px); } }
}

/* A word or phrase picked out inside a heading, without switching colour
   away from the palette — same coral, just a small gradient sweep. */
.site-accent-text {
    background: linear-gradient(90deg, #fff, var(--site-coral-light) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Lift-on-hover, applied to .site-card alongside its existing styles. */
.tribe-site .site-card.lift, .tribe-site a.lift {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tribe-site .site-card.lift:hover, .tribe-site a.lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--site-shadow-lg);
    border-color: var(--site-coral-light);
}

/*
|--------------------------------------------------------------------------
| PRODUCT PREVIEW CARD — a mocked screen of the app itself in the hero,
| in place of a stock photo. Sample data only; never live figures.
|--------------------------------------------------------------------------
*/
.site-preview {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}
.site-preview__shadow {
    position: absolute;
    inset: 0;
    transform: translate(14px, 18px);
    border-radius: var(--site-radius-lg);
    background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(52,179,199,.25));
}
.site-preview__card {
    position: relative;
    background: #fff;
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow-lg);
    padding: 22px;
}
.site-preview__row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.site-preview__tag {
    font-weight: 600;
    color: var(--site-body);
}
.site-preview__pill {
    background: #EAF7F0;
    color: #17603C;
    font-weight: 600;
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 999px;
}
.site-preview__label { margin-top: 16px; font-size: 13px; color: var(--site-muted); }
.site-preview__amount {
    font-family: "Montserrat", "Poppins", sans-serif;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -.02em;
    color: var(--site-ink);
}
.site-preview__bar { margin-top: 12px; height: 8px; border-radius: 999px; background: var(--site-sand-deep); overflow: hidden; }
.site-preview__bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--site-coral), var(--site-turquoise));
}
.site-preview__meta { margin-top: 6px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--site-muted); }
.site-preview__list { margin-top: 14px; border-top: 1px solid var(--site-line); }
.site-preview__item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--site-line);
    font-size: 13px;
    color: var(--site-body);
}
.site-preview__item:last-child { border-bottom: 0; }
.site-preview__item strong { color: var(--site-ink); font-weight: 600; }
.site-preview__note { margin-top: 14px; text-align: center; font-size: 11.5px; color: var(--site-muted); }

.site-preview__badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow-lg);
    padding: 10px 14px;
    z-index: 2;
}
.site-preview__badge-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--site-coral-soft);
    color: var(--site-coral-dark);
    flex: none;
}
.site-preview__badge-icon svg { width: 16px; height: 16px; }
.site-preview__badge-text { font-size: 11.5px; line-height: 1.35; }
.site-preview__badge-text strong { display: block; color: var(--site-ink); font-size: 12.5px; }

/*
|--------------------------------------------------------------------------
| NUMBERED PROCESS — "how it works", with a connecting line on wide screens
|--------------------------------------------------------------------------
*/
.site-steps { position: relative; display: grid; gap: 28px; margin-top: 40px; }
.site-step { position: relative; text-align: center; }
.site-step__num {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 46px; height: 46px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--site-coral);
    color: #fff;
    font-family: "Montserrat", "Poppins", sans-serif;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(217,119,87,.3);
    border: 4px solid #fff;
}
.site-step h3 { margin-top: 16px; }
.site-step p { margin-top: 6px; font-size: 14.5px; }

/*
|--------------------------------------------------------------------------
| STATS BAND — big Montserrat numbers on the dark (.site-section--ink) band
|--------------------------------------------------------------------------
*/
.site-stats { display: grid; gap: 28px; text-align: center; margin-top: 8px; }
.site-stat__num {
    font-family: "Montserrat", "Poppins", sans-serif;
    font-weight: 800;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -.02em;
    color: #fff;
}
.site-stat__unit {
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--site-turquoise);
}
.site-stat__what { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.78); }

/*
|--------------------------------------------------------------------------
| LEGAL PAGES — Terms, Privacy Policy
|--------------------------------------------------------------------------
|
| Same hero as every other marketing page (HeroDecor + wave), then a sticky
| numbered table of contents beside the body text, with a small circular
| badge on every heading — so a long legal document stays navigable without
| leaving the site's own look for a generic template.
*/
.site-legal-layout { max-width: 1080px; margin: 0 auto; padding: 8px 0 0; display: grid; gap: 32px; }

.site-legal-toc {
    position: sticky;
    top: 90px;
    background: var(--site-sand);
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    padding: 18px;
}
.site-legal-toc__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--site-muted);
    margin: 0 0 10px;
}
.tribe-site .site-legal-toc a {
    display: block;
    font-size: 13px;
    color: var(--site-body);
    text-decoration: none;
    padding: 7px 0;
    border-bottom: 1px solid var(--site-line);
}
.site-legal-toc a:last-child { border-bottom: 0; }
.tribe-site .site-legal-toc a:hover { color: var(--site-coral-dark); }

.site-legal-contact {
    margin-top: 14px;
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    padding: 14px 16px;
}
.site-legal-contact p { margin: 0 0 8px; font-size: 12px; color: var(--site-muted); }
.tribe-site .site-legal-contact a { font-size: 12.5px; font-weight: 600; }

.site-legal-callout {
    background: var(--site-coral-soft);
    border: 1px solid var(--site-coral-ring);
    border-radius: var(--site-radius);
    padding: 16px 18px;
    margin-bottom: 28px;
}
.site-legal-callout p { margin: 0; font-size: 13.5px; color: var(--site-coral-dark); }

.site-legal-section {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--site-line);
    scroll-margin-top: 90px;
}
.site-legal-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.site-legal-section h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.site-legal-badge {
    flex: none;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--site-coral);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/*
|--------------------------------------------------------------------------
| FEATURE SHOWCASE — the Features page: a sticky category picker over a
| stack of alternating screenshot-and-copy rows, one per feature area. The
| shape is the one nearly every HR SaaS marketing site converges on
| (Gusto, BambooHR, Rippling, Deel) because long feature lists read better
| broken into named sections you can jump to than as one long scroll.
|--------------------------------------------------------------------------
*/
.site-feature-nav {
    position: sticky;
    top: 66px;
    z-index: 30;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--site-line);
    overflow-x: auto;
    scrollbar-width: none;
}
.site-feature-nav::-webkit-scrollbar { display: none; }
.site-feature-nav__list {
    display: flex;
    gap: 6px;
    padding: 10px var(--site-gutter);
    max-width: var(--site-max);
    margin: 0 auto;
}
.tribe-site .site-feature-nav a {
    flex: none;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--site-body);
    white-space: nowrap;
}
.tribe-site .site-feature-nav a:hover { background: var(--site-sand); }
.tribe-site .site-feature-nav a.is-active { background: var(--site-coral); color: #fff; }

.site-feature-row {
    display: grid;
    gap: 36px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--site-line);
    scroll-margin-top: 120px;
}
.site-feature-row:last-child { border-bottom: 0; }
.site-feature-row__copy .site-card__icon { margin-bottom: 16px; }

/* The mock UI card shared by every category — a sample screen, never live
   data, same convention as the payroll preview in the hero. */
.site-mock {
    position: relative;
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow-lg);
    padding: 22px;
    max-width: 420px;
    margin: 0 auto;
}
.site-mock__title { font-size: 12.5px; font-weight: 600; color: var(--site-muted); margin-bottom: 14px; }
.site-mock__note { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--site-muted); }

/* People & Records — a profile card. */
.site-mock__profile-head { display: flex; align-items: center; gap: 14px; }
.site-mock__avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--site-coral), var(--site-turquoise));
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 16px;
    flex: none;
}
.site-mock__profile-name { font-weight: 700; color: var(--site-ink); font-size: 15px; }
.site-mock__profile-role { font-size: 12.5px; color: var(--site-muted); }
.site-mock__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.site-mock__tag {
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--site-sand);
    color: var(--site-body);
}

/* Leave & Time — a mini month grid. */
.site-mock__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 4px; }
.site-mock__cal span {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    font-size: 10.5px;
    border-radius: 6px;
    background: var(--site-sand);
    color: var(--site-body);
}
.site-mock__cal span.is-leave { background: var(--site-coral); color: #fff; font-weight: 700; }
.site-mock__cal span.is-today { box-shadow: inset 0 0 0 2px var(--site-coral-dark); }
.site-mock__legend { display: flex; gap: 14px; margin-top: 14px; font-size: 11.5px; color: var(--site-muted); }
.site-mock__legend span { display: inline-flex; align-items: center; gap: 6px; }
.site-mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--site-coral); display: inline-block; }

/* Onboarding & Reviews — a checklist. */
.site-mock__task {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--site-line);
    font-size: 13.5px;
    color: var(--site-body);
}
.site-mock__task:last-child { border-bottom: 0; }
.site-mock__check {
    width: 20px; height: 20px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    flex: none;
    background: #EAF7F0;
    color: #17603C;
}
.site-mock__check svg { width: 12px; height: 12px; }
.site-mock__check--todo { background: var(--site-sand); }
.site-mock__task--done { color: var(--site-muted); text-decoration: line-through; }

/* Letters & Requests — a letter with a verification code. */
.site-mock__letterhead { border-bottom: 1px solid var(--site-line); padding-bottom: 14px; margin-bottom: 14px; }
.site-mock__letterhead strong { display: block; color: var(--site-ink); font-size: 14px; }
.site-mock__letterhead span { font-size: 12px; color: var(--site-muted); }
.site-mock__lines { display: flex; flex-direction: column; gap: 7px; }
.site-mock__lines span { display: block; height: 8px; border-radius: 4px; background: var(--site-sand); }
.site-mock__letter-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.site-mock__qr { width: 56px; height: 56px; border-radius: 8px; flex: none; }
.site-mock__verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #17603C;
    background: #EAF7F0;
    padding: 6px 10px;
    border-radius: 999px;
}
.site-mock__verified svg { width: 13px; height: 13px; }

/* Self Service & Security — a notification feed. */
.site-mock__feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--site-line);
}
.site-mock__feed-item:last-child { border-bottom: 0; }
.site-mock__feed-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--site-coral-soft);
    color: var(--site-coral-dark);
}
.site-mock__feed-icon svg { width: 16px; height: 16px; }
.site-mock__feed-text strong { display: block; font-size: 13px; color: var(--site-ink); }
.site-mock__feed-text span { font-size: 11.5px; color: var(--site-muted); }

/*
|--------------------------------------------------------------------------
| CAREERS — vacancy list and vacancy detail
|--------------------------------------------------------------------------
*/
.site-jobcard {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.site-jobcard__title { margin: 0; }
.site-jobcard__title a { color: var(--site-ink); text-decoration: none; }
.site-jobcard__title a:hover { color: var(--site-coral-dark); }
.site-jobcard__meta { font-size: 14px; color: var(--site-muted); }
.site-jobcard__salary { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--site-ink); }
.site-jobcard__closing { font-size: 13px; color: var(--site-muted); }

.site-detail-grid { display: grid; gap: 16px; }
.site-detail-grid dt {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--site-muted);
    margin: 0 0 4px;
}
.site-detail-grid dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--site-ink); }

/*
|--------------------------------------------------------------------------
| WIDER SCREENS
|--------------------------------------------------------------------------
|
| Everything above describes the phone. These add columns as there is room —
| nothing here changes behaviour, only how much sits side by side.
*/
@media (min-width: 640px) {
    .site-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .site-form--split { grid-template-columns: repeat(2, 1fr); }
    .site-form--split .site-field--wide { grid-column: 1 / -1; }
    .site-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    :root { --site-gutter: 28px; }
    .site-section { padding: 76px 0; }
    .site-hero { padding-top: 76px; }
    .site-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
    .site-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .site-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

    .site-steps { grid-template-columns: repeat(4, 1fr); }
    .site-steps::before {
        content: "";
        position: absolute;
        left: 12%; right: 12%; top: 23px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--site-line), transparent);
    }
    .site-stats { grid-template-columns: repeat(4, 1fr); }

    .site-contact-grid { grid-template-columns: 1fr 1.4fr; gap: 24px; }

    .site-jobcard { flex-direction: row; align-items: flex-start; justify-content: space-between; }
    .site-jobcard__side { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

    .site-legal-layout { grid-template-columns: 220px 1fr; align-items: start; }

    .site-feature-row { grid-template-columns: 1fr 1fr; gap: 56px; }
    .site-feature-row--reverse .site-feature-row__art { order: -1; }

    .site-calc__grid { grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; }
    .site-calc__result { border-left: 1px solid var(--site-coral-ring); padding-left: 40px; }
    .site-calc__total { border-top: 0; padding-top: 0; }

    /* The menu button gives way to the full nav. */
    .site-nav { display: flex; align-items: center; gap: 4px; }
    .site-menu { display: none; }
}

@media (min-width: 1100px) {
    .site-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Somebody who has asked for less movement gets less movement. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site-btn, .site-card { transition: none; }
    .site-btn:hover { transform: none; }
    .site-card.lift, a.lift { transition: none; }
    .site-card.lift:hover, a.lift:hover { transform: none; }
}

@media print {
    .site-header, .site-footer, .site-btn { display: none !important; }
}
