/* UNSHA TECH - unshatech.com */
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --pine: #0a2c29;
  --pine-2: #0f3d38;
  --teal: #0f766e;
  --teal-deep: #0b5f58;
  --mint: #e7f2f0;
  --paper: #fbfdfc;
  --line: #d3e3e0;
  --ink: #1b2f31;
  --muted: #4f6568;
  --gold: #f4b63d;
  --gold-deep: #5a3b00;
  --display: "Bricolage", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--teal-deep);
}
a:hover {
  color: var(--pine);
}
:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.dark :focus-visible {
  outline-color: var(--gold);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--pine);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 50;
}
.skip:focus {
  top: 12px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--pine);
  margin: 0;
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  font-weight: 750;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.sect {
  padding: 76px 0;
}
.sect-tint {
  background: var(--mint);
}
.intro {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.15rem;
  margin-top: 14px;
}

/* ---------- Header ---------- */
.site-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--pine);
  text-decoration: none;
}
.brand-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.brand-dots i {
  display: block;
  border-radius: 50%;
  background: var(--teal);
}
.brand-dots i:nth-child(1) {
  width: 10px;
  height: 10px;
}
.brand-dots i:nth-child(2),
.brand-dots i:nth-child(3) {
  width: 7px;
  height: 7px;
}
.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
}
.nav a:hover {
  background: var(--mint);
}
.nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--gold);
  border-radius: 0;
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  color: var(--pine);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
}
.btn-ghost {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--mint);
  color: var(--pine);
}
.btn-light {
  background: #fff;
  color: var(--teal-deep);
}
.btn-light:hover {
  background: var(--mint);
  color: var(--pine);
}
.btn-soon {
  border: 2px dashed var(--muted);
  color: var(--muted);
  background: transparent;
  cursor: default;
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 64px;
  align-items: center;
}
.maker {
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 16px;
}
.lede {
  font-size: 1.22rem;
  color: var(--muted);
  max-width: 34rem;
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-note {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Queue board: the one memorable element */
.board {
  background: var(--pine);
  color: #fff;
  border-radius: 24px;
  padding: 24px 24px 22px;
  box-shadow: 0 34px 60px -34px rgba(10, 44, 41, 0.6);
}
.board-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #b9d6d1;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.board-now {
  margin-top: 20px;
}
.board-label {
  font-weight: 600;
  color: #b9d6d1;
  font-size: 0.98rem;
}
.board-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5.5rem, 12vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.board-next {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 62px;
}
.ticket {
  position: relative;
  background: #14504a;
  border-radius: 10px;
  padding: 9px 20px;
  min-width: 74px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--pine);
}
.ticket::before {
  left: -6px;
}
.ticket::after {
  right: -6px;
}
.ticket small {
  display: block;
  font-family: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
}
.ticket-mine {
  background: var(--gold);
  color: var(--gold-deep);
}
.board-foot {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.28);
  color: #dcebe8;
  min-height: 2.2em;
}
.board.is-turn .board-foot {
  color: var(--gold);
  font-weight: 700;
}
.board-cap {
  margin: 14px 4px 0;
  font-size: 0.88rem;
  color: var(--muted);
}
@keyframes tick {
  from {
    transform: translateY(-14px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .board-num.tick {
    animation: tick 0.5s ease-out;
  }
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.steps li {
  position: relative;
  padding-top: 66px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
}
.steps li::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 66px;
  right: -20px;
  border-top: 2px dashed var(--line);
}
.steps li:last-child::after {
  display: none;
}
.steps h3 {
  margin-bottom: 8px;
}
.steps p {
  color: var(--muted);
  margin: 0;
}
.fine {
  margin-top: 30px;
  padding: 14px 18px;
  border-left: 5px solid var(--gold);
  background: #fff;
  max-width: 44rem;
  font-size: 0.98rem;
}

/* ---------- Roles ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
}
.role {
  padding: 4px 32px 4px 28px;
  border-left: 3px solid var(--teal);
}
.role + .role {
  border-left-color: var(--teal);
}
.role h3 {
  margin-bottom: 10px;
}
.role p {
  color: var(--ink);
  margin: 0;
}
.more {
  margin-top: 36px;
}

/* ---------- Health ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.feature-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.feature-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(15, 118, 110, 0.25);
}
.feature-list li:last-child {
  border-bottom: 1px solid rgba(15, 118, 110, 0.25);
}
.feature-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--pine);
}
.scale-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px 22px;
}
.scale-title {
  font-family: var(--display);
  font-weight: 700;
  color: var(--pine);
  font-size: 1.1rem;
}
.scale-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--teal-deep);
  margin: 6px 0 22px;
}
.scale-wrap {
  position: relative;
  padding-top: 12px;
}
.scale {
  display: flex;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.s-under {
  flex: 3.5;
  background: #e0a93b;
}
.s-ok {
  flex: 4.5;
  background: #2e9d6b;
}
.s-over {
  flex: 2;
  background: #e0a93b;
}
.s-obese {
  flex: 10;
  background: #c8503f;
}
.marker {
  position: absolute;
  top: 0;
  left: 32.5%;
  width: 6px;
  height: 40px;
  margin-left: -3px;
  border-radius: 3px;
  background: var(--pine);
  border: 2px solid #fff;
}
.scale-labels {
  display: flex;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}
.scale-labels span:nth-child(1) {
  flex: 3.5;
}
.scale-labels span:nth-child(2) {
  flex: 4.5;
}
.scale-labels span:nth-child(3) {
  flex: 2;
}
.scale-labels span:nth-child(4) {
  flex: 10;
}
.scale-cap {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Trust ---------- */
.plain {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  max-width: 44rem;
}
.plain li {
  padding: 14px 0 14px 34px;
  border-top: 1px solid var(--line);
  position: relative;
}
.plain li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}
.plain li:last-child {
  border-bottom: 1px solid var(--line);
}
.plain strong {
  color: var(--pine);
}

/* ---------- Call to action band ---------- */
.cta {
  background: var(--teal);
  color: #fff;
  padding: 64px 0;
}
.cta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 {
  color: #fff;
  max-width: 22ch;
}
.cta p {
  color: #d8efec;
  margin: 12px 0 0;
  max-width: 36rem;
}

/* ---------- Inner pages ---------- */
.page-head {
  background: var(--mint);
  padding: 56px 0 46px;
}
.page-head h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
}
.page-head .intro {
  margin-bottom: 0;
}
.prose {
  max-width: 44rem;
}
.prose h2 {
  margin: 44px 0 12px;
  font-size: 1.7rem;
}
.prose h3 {
  margin: 26px 0 8px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin-bottom: 0.5em;
}
.panel {
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 22px 0;
}
.panel h2,
.panel h3 {
  margin-top: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}
.doc-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  background: #fff;
}
.doc-table th,
.doc-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 0.97rem;
}
.doc-table th {
  background: var(--mint);
  color: var(--pine);
}
.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.rows {
  margin: 28px 0 0;
  padding: 0;
  max-width: 48rem;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.row:last-child {
  border-bottom: 1px solid var(--line);
}
.row dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pine);
}
.row dd {
  margin: 4px 0 0;
  color: var(--muted);
}
.address {
  font-style: normal;
}

.numbered {
  list-style: none;
  counter-reset: n;
  padding: 0;
  margin: 24px 0 0;
}
.numbered li {
  counter-increment: n;
  position: relative;
  padding: 0 0 22px 62px;
  margin: 0;
}
.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: 9px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
}
.numbered strong {
  display: block;
  color: var(--pine);
  font-family: var(--display);
  font-size: 1.15rem;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--pine);
  color: #cfe3df;
  padding: 56px 0 30px;
  font-size: 0.98rem;
}
.site-foot a {
  color: #fff;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.foot-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 10px;
}
.foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-list li {
  margin-bottom: 8px;
}
.foot-title {
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.foot-small {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  color: #a9c7c1;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .steps li::after {
    display: none;
  }
  .roles {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .sect {
    padding: 56px 0;
  }
  .nav-toggle {
    display: inline-block;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    z-index: 20;
  }
  .nav.open {
    display: flex;
  }
  .site-head {
    position: relative;
  }
  .nav a[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--gold);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 36px 0 56px;
  }
  .board {
    padding: 20px 18px;
  }
  .cta-in .btn {
    width: 100%;
  }
}
