/* ==========================================================================
   Nav360 HR pages (/hr, /hr/pricing, /hr/security, /hr/demo)

   These pages keep Nav360 HR's own layouts, but every colour and typeface
   comes from the site: the tokens and font faces in styles.css, which is
   loaded first. The few tints below are the same tokens mixed for the dark
   band and the soft panels, defined once here.
   ========================================================================== */

.hr {
  --hr-tint: #E8F1FA;        /* --stamp on white, soft */
  --hr-tint-ok: #E3F3EC;     /* --ok on white, soft */
  --hr-tint-late: #FBEAE8;   /* --coral on white, soft */
  --hr-band: #1F3A63;        /* a panel on --ink */
  --hr-on-ink: #C9D4E3;      /* body text on --ink */
  --hr-on-ink-accent: #9CC3EA;
  background: #FFFFFF;
}

/* ---- Header ------------------------------------------------------------- */
.hr-header,
.hr-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
}
.hr-header .product-switch {
  background: var(--paper);
  border-color: transparent;
}
.hr-header .product-switch a[aria-current="page"] {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.hr-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: auto;
}
.hr-nav a {
  font-size: 15px;
  color: var(--ink-2);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.hr-nav a:hover {
  color: var(--ink);
}
.hr-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--stamp);
}
.hr-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hr-signin {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.hr-only-narrow {
  display: none;
}

/* ---- Buttons ------------------------------------------------------------ */
.hr-btn {
  height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.hr-btn:active {
  transform: scale(0.98);
}
.hr-btn--primary {
  background: var(--stamp);
  color: #FFFFFF;
}
.hr-btn--primary:hover {
  background: var(--stamp-hover);
  color: #FFFFFF;
}
.hr-btn--ghost {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.hr-btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.hr-btn--light {
  background: #FFFFFF;
  color: var(--ink);
}
.hr-btn--light:hover {
  background: var(--paper);
  color: var(--ink);
}
.hr-btn--md {
  height: 46px;
}
.hr-btn--sm {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 15px;
}
.hr-btn--block {
  width: 100%;
}

/* ---- Layout and type ---------------------------------------------------- */
.hr-main {
  padding-top: 76px;
}
.hr-section--paper {
  background: var(--paper);
}
.hr-section--ink {
  background: var(--ink);
}
.hr-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 32px;
}
.hr-wrap--hero {
  padding: 72px 32px 88px;
}
.hr-wrap--tight {
  padding: 28px 32px;
}
.hr-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hr-h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hr-h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
}
.hr-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
}
.hr-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 680px;
}
.hr-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.hr-head--center {
  align-items: center;
  text-align: center;
}
.hr-pill {
  align-self: flex-start;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hr-tint);
  color: var(--stamp-hover);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}
.hr-eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stamp);
}
.hr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hr-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.hr-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Home: hero --------------------------------------------------------- */
.hr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.hr-ticks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
}
.hr-ticks li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-3);
}
.hr-hero-visual {
  position: relative;
  height: 480px;
}
.hr-rota {
  position: absolute;
  left: 0;
  top: 30px;
  width: min(520px, 86%);
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(18, 41, 75, 0.16);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hr-rota-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.hr-rota-head .hr-pill {
  align-self: center;
  font-size: 12px;
}
.hr-rota-row {
  display: grid;
  grid-template-columns: 90px repeat(5, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.hr-rota-row i {
  height: 26px;
  border-radius: 6px;
  background: var(--hr-tint);
}
.hr-rota-row i.off { background: var(--rule-light); }
.hr-rota-row i.ok { background: var(--hr-tint-ok); }
.hr-rota-row i.late { background: var(--hr-tint-late); }
.hr-rota-row i.gap { background: #FFFFFF; }
.hr-rota-note {
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  background: var(--ink);
  color: #FFFFFF;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
}
.hr-rota-note svg {
  flex-shrink: 0;
}
.hr-phone {
  position: absolute;
  right: 0;
  top: 0;
  width: 230px;
  height: 440px;
  border-radius: 34px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 30px 60px rgba(18, 41, 75, 0.25);
}
.hr-phone-screen {
  height: 100%;
  border-radius: 26px;
  background: var(--paper);
  padding: 30px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.hr-clokd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.hr-clokd span {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--stamp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hr-zone {
  font-size: 12px;
  color: var(--ok-text);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hr-tint-ok);
}
.hr-clock-btn {
  margin-top: 26px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--stamp);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 20px;
  box-shadow: 0 0 0 10px rgba(30, 111, 191, 0.14);
}
.hr-clock-btn small {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 400;
}
.hr-phone-note {
  margin-top: auto;
  font-size: 11px;
  color: var(--ink-3);
}

/* ---- Home: trust strip, cards, band ------------------------------------- */
.hr-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
  flex-wrap: wrap;
  list-style: none;
}
.hr-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.hr-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hr-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: #FFFFFF;
  scroll-margin-top: 100px;
}
.hr-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.hr-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--hr-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hr-section--ink .hr-eyebrow {
  color: var(--hr-on-ink-accent);
}
.hr-section--ink .hr-h2 {
  color: #FFFFFF;
}
.hr-section--ink .hr-sub {
  color: var(--hr-on-ink);
  max-width: none;
}
.hr-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hr-stat {
  padding: 22px;
  border-radius: 16px;
  background: var(--hr-band);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--hr-on-ink);
}
.hr-stat strong {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 600;
  color: #FFFFFF;
}
.hr-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 56px;
  list-style: none;
}
.hr-points--single {
  grid-template-columns: 1fr;
  gap: 16px;
}
.hr-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hr-dot {
  margin-top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok-text);
  flex-shrink: 0;
}
.hr-dot--stamp { background: var(--stamp); }
.hr-dot--muted { background: var(--ink-3); }
.hr-points b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.hr-points span span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---- Plans -------------------------------------------------------------- */
.hr-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.hr-plan {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hr-plan--popular {
  border: 2px solid var(--stamp);
}
.hr-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hr-plan-top .hr-pill {
  align-self: center;
  font-size: 12px;
}
.hr-plan-price {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 600;
}
.hr-plan-unit {
  font-size: 13px;
  color: var(--ink-3);
}
.hr-plan-total {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 14px;
}
.hr-plan-tag {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.hr-plan hr {
  border: 0;
  height: 1px;
  background: var(--rule);
}
.hr-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hr-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.hr-plan-features svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.hr-center {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 600;
}
.hr-vat {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---- Pricing: calculator ------------------------------------------------ */
.hr-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--paper);
}
.hr-calc-label {
  font-size: 16px;
  font-weight: 600;
}
.hr-calc-step {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hr-calc-step button {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--rule-strong);
  background: #FFFFFF;
  font-size: 22px;
  line-height: 1;
}
.hr-calc-step button:hover,
.hr-presets button:hover {
  border-color: var(--ink);
}
.hr-calc-count {
  width: 96px;
  height: 44px;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.hr-calc-count::-webkit-outer-spin-button,
.hr-calc-count::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.hr-calc-count:hover,
.hr-calc-count:focus {
  border-color: var(--rule-strong);
  background: #FFFFFF;
}
.hr-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.hr-presets button {
  height: 44px;
  min-width: 52px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: #FFFFFF;
  font-size: 14px;
}
.hr-presets button[aria-pressed="true"] {
  border-color: var(--ink);
  font-weight: 600;
}
.hr-billing {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
}
.hr-billing button {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.hr-billing button[aria-pressed="true"] {
  background: var(--ink);
  color: #FFFFFF;
}

/* ---- Pricing: comparison table ------------------------------------------ */
.hr-panel {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.hr-panel-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
}
.hr-table-scroll {
  overflow-x: auto;
}
.hr-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.hr-table th,
.hr-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: middle;
}
.hr-table thead th {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--paper);
  border-bottom-color: var(--rule);
}
.hr-table tbody th {
  font-weight: 600;
  width: 40%;
}
.hr-table td:nth-child(3) {
  font-weight: 600;
}
.hr-table tbody tr:last-child th,
.hr-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---- Questions ---------------------------------------------------------- */
.hr-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.hr-faq details {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.hr-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.hr-faq summary::-webkit-details-marker {
  display: none;
}
.hr-faq summary::after {
  content: '+';
  color: var(--stamp);
  font-weight: 400;
}
.hr-faq details[open] summary::after {
  content: '−';
}
.hr-faq p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---- Closing call ------------------------------------------------------- */
.hr-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hr-cta .hr-actions {
  justify-content: center;
  margin-top: 8px;
}

/* ---- Security ----------------------------------------------------------- */
.hr-rows {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}
.hr-rows div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.hr-rows dt {
  font-size: 14px;
  color: var(--ink-3);
}
.hr-rows dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.hr-h2--sm {
  font-size: 26px;
  line-height: 1.2;
}

/* ---- Demo form ---------------------------------------------------------- */
.hr-demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.hr-form-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px;
}
.hr-form-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
}
.hr-form-card .demo-form {
  gap: 14px;
}
.hr-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.hr .ff label {
  color: var(--ink-2);
}
.hr .ff input,
.hr .ff textarea,
.hr .ff select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 15px;
  color: var(--ink);
}
.hr .ff select:focus {
  outline: none;
  border-color: var(--stamp);
  box-shadow: 0 0 0 3px var(--stamp-light);
}
.hr .ff textarea {
  resize: vertical;
}
.hr .ff-check {
  font-size: 14px;
  color: var(--ink);
}
.hr .ff-check input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--stamp);
  flex-shrink: 0;
}
.hr-email {
  font-size: 14px;
  color: var(--ink-3);
}

/* ---- Plain document pages (account deletion) ---------------------------- */
.hr-prose {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}
.hr-prose h2 {
  margin-top: 20px;
}
.hr-prose ol,
.hr-prose ul {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hr-prose strong {
  color: var(--ink);
  font-weight: 600;
}
.hr-prose a {
  text-decoration: underline;
}
.hr-callout {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--wait-light);
  color: var(--ink);
}

/* ---- Narrower screens --------------------------------------------------- */
@media (max-width: 1080px) {
  .hr-hero,
  .hr-split,
  .hr-demo,
  .hr-faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hr-hero-visual {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
  .hr-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hr-plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .hr-nav,
  .hr-signin {
    display: none;
  }
  .hr-header-actions {
    gap: 10px;
  }
  .hr-main {
    padding-top: 68px;
  }
  .hr-header .nav-toggle {
    background: #FFFFFF;
    border-color: var(--rule-strong);
    border-radius: 8px;
  }
}
@media (max-width: 640px) {
  .hr-header .header-brand .product-switch {
    display: none;
  }
  .hr-only-wide {
    display: none;
  }
  .hr-only-narrow {
    display: inline;
  }
  .hr-header .hr-btn--sm {
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
  .hr-wrap {
    padding: 48px 20px;
  }
  .hr-wrap--hero {
    padding: 32px 20px 40px;
  }
  .hr-wrap--tight {
    padding: 24px 20px;
  }
  .hr-head {
    margin-bottom: 28px;
  }
  .hr-actions .hr-btn {
    width: 100%;
  }
  /* The phone alone, as on the mobile design: the rota card does not fit. */
  .hr-hero-visual {
    height: 300px;
    border-radius: 20px;
    background: var(--paper);
    overflow: hidden;
  }
  .hr-rota {
    display: none;
  }
  .hr-phone {
    left: 50%;
    right: auto;
    top: 24px;
    margin-left: -95px;
    width: 190px;
    height: 360px;
    border-radius: 30px;
    padding: 8px;
  }
  .hr-phone-screen {
    border-radius: 22px;
    background: #FFFFFF;
  }
  .hr-clock-btn {
    margin-top: 10px;
    width: 100px;
    height: 100px;
    font-size: 16px;
    box-shadow: none;
  }
  .hr-trust {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
  .hr-cards,
  .hr-points,
  .hr-form-row {
    grid-template-columns: 1fr;
  }
  .hr-stat strong {
    font-size: 26px;
  }
  .hr-calc {
    padding: 16px;
    gap: 14px;
  }
  .hr-form-card {
    padding: 22px 18px;
  }
  .hr-rows div {
    flex-direction: column;
    gap: 2px;
  }
  .hr-rows dd {
    text-align: left;
  }
}
