@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ===== design system: colors_and_type.css ===== */
/* ============================================================================
   Advanced Kiosks — Colors & Type Foundations
   Self-service kiosk hardware + software for government & public service.
   ============================================================================ */

:root {
  /* BRAND — the amber → orange signature gradient + charcoal ink */
  --ak-amber: #F79009;
  --ak-amber-bright: #FBB014;
  --ak-orange: #F26309;
  --ak-amber-700: #C9700A;
  --ak-amber-tint: #FDEFD6;
  --ak-amber-tint-2: #FCE3B8;

  --ak-gradient: linear-gradient(150deg, #FBB014 0%, #F58410 52%, #F26309 100%);
  --ak-gradient-soft: linear-gradient(150deg, #FDEFD6 0%, #FCE3B8 100%);

  /* ZAMOK — software product accent (kiosk management). Green mark. */
  --zamok-green: #80B927;
  --zamok-green-700: #5F8C1C;
  --zamok-green-tint: #EEF6DF;

  /* NEUTRALS / INK */
  --ink-900: #1C1F24;
  --ink-800: #2A2E34;
  --ink-700: #3A3E45;
  --ink-600: #4E535B;
  --ink-500: #6B7079;
  --ink-400: #8E939B;
  --ink-300: #B9BDC3;

  --line: #E5E7EA;
  --line-soft: #EFF1F3;
  --surface: #FFFFFF;
  --surface-2: #F6F7F8;
  --surface-3: #EDEFF1;

  --ak-steel: #AEB2B5;

  /* SLATE — professional dark surface */
  --slate-900: #1B2733;
  --slate-800: #243240;
  --slate-700: #33475B;

  /* SEMANTIC */
  --success: #2E7D32;
  --success-tint: #E6F2E7;
  --warning: #F79009;
  --warning-tint: #FDEFD6;
  --danger: #C0392B;
  --danger-tint: #FBE7E4;
  --info: #2D6FB0;
  --info-tint: #E5EEF6;

  --focus-ring: 0 0 0 3px rgba(247, 144, 9, 0.40);

  /* TYPOGRAPHY */
  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --fs-display: clamp(40px, 5vw, 64px);
  --fs-h1: clamp(32px, 4vw, 48px);
  --fs-h2: clamp(26px, 3vw, 34px);
  --fs-h3: 22px;
  --fs-h4: 18px;
  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 12.5px;
  --fs-eyebrow: 13px;

  --lh-tight: 1.12;
  --lh-snug: 1.28;
  --lh-body: 1.6;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-x: 800;

  /* SPACING / RADII / ELEVATION */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(28, 31, 36, 0.06), 0 1px 3px rgba(28, 31, 36, 0.08);
  --shadow-md: 0 4px 10px rgba(28, 31, 36, 0.07), 0 2px 4px rgba(28, 31, 36, 0.05);
  --shadow-lg: 0 14px 32px rgba(28, 31, 36, 0.12), 0 4px 10px rgba(28, 31, 36, 0.06);
  --shadow-amber: 0 10px 24px rgba(242, 99, 9, 0.30);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 180ms;
}

/* SEMANTIC ELEMENT STYLES */
.ak-prose,
.ak-type {
  font-family: var(--font-body);
  color: var(--ink-600);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.ak-prose h1,
.ak-h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-x);
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
}

.ak-prose h2,
.ak-h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
}

.ak-prose h3,
.ak-h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  color: var(--ink-800);
  margin: 0 0 .4em;
}

.ak-prose h4,
.ak-h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  font-size: var(--fs-h4);
  color: var(--ink-800);
  margin: 0 0 .4em;
}

.ak-prose p,
.ak-p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.ak-display {
  font-family: var(--font-display);
  font-weight: var(--fw-x);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.ak-eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ak-orange);
}

.ak-lead {
  font-size: var(--fs-body-lg);
  color: var(--ink-500);
  line-height: var(--lh-body);
}

.ak-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.ak-prose a,
.ak-link {
  color: var(--ak-amber-700);
  text-decoration: none;
  font-weight: var(--fw-semi);
}

.ak-prose a:hover,
.ak-link:hover {
  color: var(--ak-orange);
  text-decoration: underline;
}

/* ===== base ===== */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: block;
  background: var(--surface-2);
  font-family: var(--font-body);
  color: var(--ink-600);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ak-amber-700);
  text-decoration: none;
}

a:hover {
  color: var(--ak-orange);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

/* ===== Zamok Kiosk Management Guide — page styles ===== */

/* --- buttons (design-system spec) --- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all .18s var(--ease);
}

.btn:active {
  transform: scale(.98);
}

.btn-primary {
  background: var(--ak-gradient);
  color: #fff;
  box-shadow: var(--shadow-amber);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--ink-700);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--ak-amber);
  color: var(--ak-amber-700);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

/* --- scrollbars --- */
#mainScroll::-webkit-scrollbar {
  width: 11px;
}

#mainScroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
  border: 3px solid var(--surface-2);
}

#mainScroll::-webkit-scrollbar-thumb:hover {
  background: var(--ink-300);
}

.navsb::-webkit-scrollbar {
  width: 8px;
}

.navsb::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .14);
  border-radius: 8px;
}

/* --- sidebar nav --- */
.navgroup {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #61707e;
  padding: 16px 10px 6px;
}

.navgroup:first-child {
  padding-top: 6px;
}

.navlink {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #aebccb;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.3;
  transition: all .15s var(--ease);
}

.navlink:hover {
  background: rgba(255, 255, 255, .06);
  color: #e6edf3;
}

.navlink.on {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-weight: 600;
}

.navlink .navnum {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: #8295a4;
  font-family: var(--font-mono);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s var(--ease);
}

.navlink.on .navnum {
  background: var(--ak-gradient);
  color: #fff;
}

.aklink {
  display: block;
  font-size: 12px;
  color: #8295a4;
  padding: 5px 0;
}

.aklink:hover {
  color: #cfe0a6;
}

#wrap-up {
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  border-radius: 0px;
  margin-bottom: 10px;
}

#ak-logo {
  width: 70%;
}

/* --- section layout --- */
.sec {
  padding: 52px 64px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 0;
}

.sec-soft {
  background: var(--surface-2);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ak-orange);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec>.ak-lead {
  max-width: 62ch;
  margin: 0 0 24px;
}

/* --- checklists --- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 78ch;
}

.checklist.cols2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 40px;
  max-width: 1060px;
}

.checklist li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-600);
  line-height: 1.6;
}

.checklist li i {
  color: var(--zamok-green);
  font-size: 13px;
  margin-top: 6px;
  flex: none;
}

.checklist li b {
  color: var(--ink-900);
  font-weight: 700;
}

/* --- screenshot in a browser-chrome card --- */
.shot {
  margin: 0 0 26px;
  max-width: 1060px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 2px 6px;
}

.shot-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-3);
}

.shot-chrome .url {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-400);
}

.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  line-height: 0;
  position: relative;
  border-radius: 8px;
}

.shot-btn img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.shot-btn::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(27, 39, 51, .78);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .18s var(--ease);
}

.shot:hover .shot-btn::after,
.shot-btn:focus-visible::after {
  opacity: 1;
}

.shot figcaption {
  font-size: 11.5px;
  color: var(--ink-400);
  padding: 10px 6px 2px;
  line-height: 1.5;
}

/* --- cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all .18s var(--ease);
}

.card:hover {
  border-color: var(--ak-amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card .tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ak-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  box-shadow: var(--shadow-amber);
  margin-bottom: 14px;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
  margin: 0 0 6px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* --- step cards --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all .18s var(--ease);
}

.step:hover {
  border-color: var(--ak-amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step .n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ak-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-amber);
  margin-bottom: 13px;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink-900);
  margin: 0 0 5px;
}

.step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* --- role cards --- */
.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.role {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.role .pill {
  display: inline-block;
  border-radius: 999px;
  background: var(--zamok-green-tint);
  color: var(--zamok-green-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 11px;
  margin-bottom: 10px;
}

.role p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.55;
}

/* --- callout --- */
.callout {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--ak-amber-tint);
  border-left: 3px solid var(--ak-amber);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 22px;
  max-width: 760px;
}

.callout i {
  color: var(--ak-amber-700);
  font-size: 16px;
  margin-top: 3px;
  flex: none;
}

.callout .ct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.callout p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-700);
  line-height: 1.55;
}

/* --- chips --- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  border-radius: 999px;
  background: #fff;
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  padding: 6px 14px;
  border: 1px solid var(--line);
}

/* --- stat strip --- */
.stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink-900);
  line-height: 1;
}

.stat .lbl {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 5px;
}

/* --- next-steps grid --- */
.nextgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.nextcard {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all .18s var(--ease);
}

.nextcard:hover {
  border-color: var(--ak-amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.nextcard .t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 3px;
}

.nextcard .d {
  font-size: 12.5px;
  color: var(--ink-500);
}

/* --- reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

/* --- lightbox --- */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(27, 39, 51, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s;
}

#lightbox[hidden] {
  display: none;
}

#lightbox.open {
  opacity: 1;
  visibility: visible;
}

#lightbox img {
  width: 100%;
  height: auto;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.lb-inner {
  max-width: 1400px;
  width: 100%;
}

.lb-cap {
  color: #cfd6dd;
  font-size: 13px;
  text-align: center;
  margin: 12px 0 0;
}

.lb-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s var(--ease);
}

.lb-close:hover {
  background: rgba(255, 255, 255, .2);
}

/* --- responsive --- */
@media (max-width: 1100px) {
  .checklist.cols2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    position: fixed !important;
    left: 0;
    top: 0;
    z-index: 60;
    transform: translateX(-100%);
    transition: transform .25s var(--ease);
    box-shadow: var(--shadow-lg);
  }

  #app.navopen .sidebar {
    transform: translateX(0);
  }

  .mobar {
    display: flex !important;
  }

  .sec {
    padding: 40px 22px !important;
  }

  #scrim {
    display: none;
  }

  #app.navopen #scrim {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- print --- */
@media print {

  .sidebar,
  .mobar,
  #scrim,
  #lightbox,
  #toTop {
    display: none !important;
  }

  #app {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  #mainScroll {
    height: auto !important;
    overflow: visible !important;
  }

  .sec {
    padding: 24px 0 !important;
    break-inside: avoid;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}