/* ==========================================================================
   STAS website home (v636)
   One bold element: the four documents these businesses print - a till
   receipt, a clinic appointment card, a school fee voucher, a bus ticket - laid
   on top of each other in the hero, in the same white-paper language as the POS
   receipt column (v630). Everything else stays quiet: navy surfaces, ruled
   lists rather than a wall of identical cards, one accent.
   ========================================================================== */
.sh {
  --sh-bg:     #0b1626;
  --sh-panel:  #102037;
  --sh-rule:   rgba(255, 255, 255, .12);
  --sh-text:   #e8eef6;
  --sh-muted:  #a9b8cc;
  --sh-accent: #34b3a5;
  --sh-paper:  #ffffff;
  --sh-ink:    #16191f;
  --sh-mono:   ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  color: var(--sh-text);
}
.sh a { color: inherit; }
.sh-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---- hero ---------------------------------------------------------------- */
.sh-hero { padding: 64px 0 56px; background: var(--sh-bg); }
.sh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.sh-hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 750; margin: 0 0 18px; max-width: 18ch; }
.sh-hero p.sh-lede { font-size: 1.125rem; line-height: 1.6; color: var(--sh-muted); max-width: 56ch; margin: 0 0 28px; }
.sh-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sh-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid transparent; }
.sh-btn--primary { background: var(--sh-accent); color: #04211d !important; }
.sh-btn--primary:hover { background: #46c6b8; }
.sh-btn--quiet { border-color: var(--sh-rule); color: var(--sh-text) !important; }
.sh-btn--quiet:hover { border-color: var(--sh-muted); }
.sh-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sh-signin { margin: 18px 0 0; color: var(--sh-muted); font-size: .95rem; }
.sh-signin a { text-decoration: underline; text-underline-offset: 3px; }

/* the four documents */
.sh-slips { position: relative; height: 420px; }
.sh-slip {
  position: absolute; width: 230px; padding: 16px 16px 18px; background: var(--sh-paper); color: var(--sh-ink);
  border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  font-family: var(--sh-mono); font-size: .78rem; line-height: 1.5;
}
.sh-slip::before {   /* the perforated tear, as on the POS receipt */
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 8px;
  background: radial-gradient(circle at 7px 8px, transparent 5px, var(--sh-paper) 5.5px) 0 0 / 14px 8px repeat-x;
}
.sh .sh-slip h3 { font: 700 .82rem/1.3 system-ui, sans-serif; margin: 0 0 8px; letter-spacing: 0; color: var(--sh-ink) !important; } /* the site's heading colour is white - the titles vanished on the paper */
.sh-slip dl { margin: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 10px; }
.sh-slip dt { font-weight: 400; } .sh-slip dd { margin: 0; text-align: right; }
.sh-slip .sh-total { border-top: 1.5px dashed #b9bfc9; margin-top: 8px; padding-top: 6px; font-weight: 700; }
.sh-slip small { display: block; margin-top: 8px; color: #59606d; font-family: system-ui, sans-serif; }
.sh-slip { width: min(230px, 46%); }
/* laid out so the papers touch only at their tilted corners - the overlapping fan hid the fee voucher's figures */
.sh-slip--receipt { left: 0;   top: 14px;  transform: rotate(-5deg); z-index: 1; }
.sh-slip--clinic  { left: 52%; top: 0;     transform: rotate(3deg);  z-index: 2; }
.sh-slip--school  { left: 3%;  top: 222px; transform: rotate(3deg);  z-index: 3; }
.sh-slip--ticket  { left: 51%; top: 206px; transform: rotate(-3deg); z-index: 4; }
.sh-ticket-code { letter-spacing: .12em; font-weight: 700; }

/* ---- sections below ------------------------------------------------------ */
.sh-sec { padding: 56px 0; border-top: 1px solid var(--sh-rule); background: var(--sh-bg); }
.sh-sec h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -.01em; margin: 0 0 8px; font-weight: 720; }
.sh-sec .sh-intro { color: var(--sh-muted); max-width: 64ch; margin: 0 0 28px; line-height: 1.6; }
.sh-erps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--sh-accent); }
.sh-erp { padding: 18px 20px 6px 0; }
.sh-erp + .sh-erp { padding-left: 20px; border-left: 1px solid var(--sh-rule); }
.sh-erp h3 { font-size: 1.1rem; margin: 0 0 4px; font-weight: 700; }
.sh-erp p { color: var(--sh-muted); margin: 0 0 10px; font-size: .95rem; line-height: 1.5; }
.sh-erp ul { margin: 0; padding-left: 1.1em; line-height: 1.7; font-size: .95rem; }
.sh-every { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.sh-every li { padding: 14px 0; border-bottom: 1px solid var(--sh-rule); line-height: 1.55; }
.sh-every strong { display: block; font-weight: 680; margin-bottom: 2px; }
.sh-every span { color: var(--sh-muted); }
.sh-plans { width: 100%; border-collapse: collapse; }
.sh-plans th, .sh-plans td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--sh-rule); text-align: left; vertical-align: top; }
.sh-plans th { color: var(--sh-muted); font-weight: 600; font-size: .9rem; }
.sh-plans .sh-price { font-family: var(--sh-mono); font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.sh-plans .sh-sub { display: block; color: var(--sh-muted); font-size: .85rem; font-family: system-ui, sans-serif; font-weight: 400; }
.sh-empty { color: var(--sh-muted); }

/* ---- tablet and phone ---------------------------------------------------- */
@media (max-width: 991.98px) {
  .sh-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sh-erps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-erp:nth-child(3) { padding-left: 0; border-left: 0; }
  .sh-erp:nth-child(n+3) { border-top: 1px solid var(--sh-rule); }
}
@media (max-width: 575.98px) {
  .sh-hero { padding: 40px 0 40px; }
  /* the slips stop overlapping: a 2 x 2 set, upright, so every line reads */
  .sh-slips { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sh-slip { position: relative; left: auto !important; top: auto !important; transform: none !important; width: auto; font-size: .72rem; padding: 12px; }
  .sh-erps { grid-template-columns: minmax(0, 1fr); }
  .sh-erp, .sh-erp + .sh-erp { padding-left: 0; border-left: 0; }
  .sh-erp + .sh-erp { border-top: 1px solid var(--sh-rule); }
  .sh-every { grid-template-columns: minmax(0, 1fr); }
  .sh-plans thead { display: none; }
  .sh-plans tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--sh-rule); padding: 10px 0; }
  .sh-plans td { border: 0; padding: 2px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .sh-slip { transition: transform .25s ease; }
  .sh-slips:hover .sh-slip--ticket { transform: rotate(-1deg) translateY(-6px); }
}
