/* Pockets Solutions — homepage. Light theme in the Pockets ICT logo colours (blue #018ada, green #03ce10). */
:root {
  color-scheme: light;
  --bg: #f5f9fc;
  --bg-elev: #ffffff;
  --card: #ffffff;
  --card-2: #eef4f9;
  --line: #e1e9f0;
  --text: #102030;
  --muted: #576b7d;
  /* "yellow" tokens now carry the logo blue (kept names so the rules below stay unchanged) */
  --yellow: #0a7fd0;
  --yellow-ink: #ffffff;
  --yellow-soft: #e3f2fc;
  --brand-blue: #018ada;
  --brand-green: #03ce10;
  --brand-green-ink: #0b8a17;
  --green-soft: #e4f9e6;
  --blue: #018ada;
  --green: #0b8a17;
  --danger: #c2333d;
  --danger-soft: #fdecee;
  --ok-soft: #e6f6ed;
  --ink: #0e1014;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.brand img { height: 54px; width: auto; }
.site-header .wrap { height: 76px; }
section[id], .panel[id] { scroll-margin-top: 88px; }
@media (max-width: 760px) { .nav { top: 76px; } .brand img { height: 46px; } }
.site-header { background: color-mix(in srgb, #ffffff 92%, transparent); }
.eyebrow { background: var(--green-soft); color: var(--brand-green-ink); }
.eyebrow i { background: var(--brand-green); }
.pill { background: var(--green-soft); color: var(--brand-green-ink); }
.card.featured { border-color: var(--brand-blue); }
.card .more { color: var(--yellow); }
.site-footer .footer-logo { height: 34px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 11px;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--yellow-ink); }
.btn-primary:hover { filter: brightness(0.95); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card-2); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-soft); color: var(--text);
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.03em; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--brand-blue); }
.hero h1 em b { color: var(--brand-green); font-weight: inherit; }
.nav .nav-signin { display: none; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; color: var(--muted); font-size: 14px; }
.hero .facts b { display: block; color: var(--text); font-size: 22px; }

/* Till mock in hero */
.till {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 18px;
}
.till-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.till-head b { color: var(--text); font-size: 15px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--green); }
.till-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.till-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.till-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.till-total b { font-size: 28px; font-variant-numeric: tabular-nums; }
.till-foot { display: flex; gap: 8px; margin-top: 14px; }
.till-foot span { flex: 1; text-align: center; padding: 9px; border-radius: 10px; background: var(--card-2); font-size: 13px; font-weight: 700; }
.till-foot span.on { background: var(--yellow); color: var(--yellow-ink); }

/* Sections */
section.block { padding: 72px 0; }
section[id], .panel[id] { scroll-margin-top: 80px; }
section.alt { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.card h3 { margin: 4px 0 0; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.card ul li { margin: 3px 0; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .more:hover { text-decoration: underline; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--yellow-soft); color: var(--text);
}
.icon svg { width: 22px; height: 22px; }
.card.featured { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--card-2); color: var(--muted); }

/* Hero: all solutions */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sol {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center;
  padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); text-decoration: none;
}
.sol .icon { grid-row: span 2; }
.sol b { font-size: 16px; line-height: 1.2; }
.sol span:last-child { font-size: 13px; color: var(--muted); }
.sol:nth-child(odd) .icon { background: var(--yellow-soft); color: var(--brand-blue); }
.sol:nth-child(even) .icon { background: var(--green-soft); color: var(--brand-green-ink); }
.sol:hover { border-color: var(--brand-blue); }
@media (max-width: 560px) { .solutions { grid-template-columns: 1fr 1fr; gap: 10px; } .sol { grid-template-columns: 1fr; row-gap: 8px; padding: 14px; } .sol .icon { grid-row: auto; } }

/* Our websites (replaces the old "CLICK HERE TO VISIT..." list) */
section.sites { padding-top: 8px; }
.site-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.site-link {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  text-decoration: none; position: relative; padding-right: 40px;
}
.site-link::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--brand-blue); font-weight: 700; }
.site-link b { font-size: 16px; }
.site-link span { font-size: 13px; color: var(--muted); }
.site-link:hover { border-color: var(--brand-blue); box-shadow: 0 0 0 3px var(--yellow-soft); }
.site-link.primary { background: var(--brand-blue); border-color: var(--brand-blue); }
.site-link.primary b, .site-link.primary span, .site-link.primary::after { color: #fff; }
@media (max-width: 980px) { .site-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .site-links { grid-template-columns: 1fr; } }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.client {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 86px; padding: 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); text-decoration: none;
}
.client b { font-size: 15.5px; }
.client span { font-size: 13px; color: var(--muted); }
.client:hover { border-color: var(--yellow); }

/* Testimonials */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; }
.quote p { margin: 0 0 16px; font-size: 16px; }
.quote footer { font-size: 14px; color: var(--muted); }
.quote footer b { color: var(--text); display: block; }

/* Sign-in + contact */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.panel h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.02em; }
.panel > p { margin: 0 0 22px; color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--text); font: inherit;
}
.field input:focus { outline: 3px solid var(--yellow-soft); border-color: var(--yellow); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -4px 0 20px; font-size: 14px; }
.row-between label { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.row-between a { color: var(--muted); }
.panel .btn-primary { width: 100%; }
.panel .small { margin: 16px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.panel .small a { color: var(--text); font-weight: 700; }
.alert { padding: 12px 14px; border-radius: 11px; font-size: 14.5px; font-weight: 600; margin-bottom: 18px; }
.alert-ok { background: var(--ok-soft); color: var(--green); }
.alert-bad { background: var(--danger-soft); color: var(--danger); }
.other-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); align-items: center; }

.contact-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 40px; height: 40px; flex: none; }
.contact-list b { display: block; font-size: 14px; }
.contact-list span, .contact-list a { color: var(--muted); font-size: 15px; text-decoration: none; }
.contact-list a:hover { color: var(--text); text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 48px; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-elev); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav .nav-signin { display: block; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: grid; place-items: center; }
  .site-header .btn-sm { display: none; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  section.block { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .panel { padding: 22px; }
  .hero .actions .btn { flex: 1 1 100%; }
}
