/* RaktHR public site — premium teal, balanced & minimal */
:root {
  --brand: #027886;
  --brand-dark: #015f6b;
  --brand-deep: #014851;
  --ink: #0f1720;
  --body: #4b5966;
  --muted: #6b7a88;
  --line: #e4ebef;
  --paper: #f6f9fa;
  --white: #ffffff;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "DM Sans", var(--font);
  --pad: clamp(1.35rem, 4vw, 3.25rem);
  --max: 1080px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 45, 55, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
.site-body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(920px 480px at 12% -12%, rgba(2, 120, 134, 0.13), transparent 58%),
    radial-gradient(700px 420px at 100% 0%, rgba(1, 72, 81, 0.06), transparent 55%),
    var(--paper);
}
a { color: inherit; text-decoration: none; }
main { display: block; }

.site-wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: 1.15rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.site-brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: block;
}
.site-nav nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.site-nav nav a {
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--body);
}
.site-nav nav a:hover { color: var(--brand-dark); }
.site-cta {
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff !important;
  font-weight: 650 !important;
}
.site-cta:hover { background: var(--brand-dark); }

/* —— Buttons —— */
.site-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 650;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.site-btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(1, 72, 81, 0.22);
}
.site-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.site-btn-ghost:hover { border-color: rgba(2, 120, 134, 0.35); }

/* —— Shared type —— */
.site-eyebrow,
.site-kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.site-lede {
  margin: 1.15rem 0 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 36rem;
}

/* —— Hero —— */
.site-hero {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.75rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.site-hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}
.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.55rem;
}

.viz-pulse {
  background: linear-gradient(165deg, #102026 0%, #0b1418 100%);
  color: #e8eef1;
  border-radius: 22px;
  padding: 1.15rem 1.15rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  animation: site-rise 0.7s ease both;
}
.viz-pulse-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8aa0ab;
  margin-bottom: 0.95rem;
}
.viz-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fdd8a;
  box-shadow: 0 0 0 4px rgba(47, 221, 138, 0.18);
  animation: site-pulse 1.8s ease infinite;
}
.viz-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.viz-kpi {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.7rem 0.65rem;
}
.viz-kpi b {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.viz-kpi span {
  font-size: 0.68rem;
  color: #8aa0ab;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.viz-feed {
  list-style: none;
  margin: 0;
  padding: 0;
}
.viz-feed li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.62rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.viz-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(2, 120, 134, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.viz-feed strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  color: #f2f6f8;
}
.viz-feed small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: #8aa0ab;
}
.viz-feed em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}
.viz-feed em.ok {
  color: #1f9a62;
  background: rgba(47, 221, 138, 0.12);
}
.viz-feed em.late {
  color: #d97757;
  background: rgba(255, 155, 122, 0.14);
}

/* —— Sections —— */
.site-section {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}
.site-section-soft {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: clamp(3.25rem, 7vw, 5rem);
  padding-bottom: clamp(3.25rem, 7vw, 5rem);
  padding-left: max(var(--pad), calc((100% - var(--max)) / 2));
  padding-right: max(var(--pad), calc((100% - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.site-section-intro {
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.site-section-intro h2,
.site-duo-copy h2,
.site-close h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
.site-section-intro p:last-child {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Flow / how it works */
.site-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}
.site-flow-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.3rem;
  box-shadow: 0 8px 24px rgba(15, 45, 55, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.site-flow-card:hover {
  border-color: rgba(2, 120, 134, 0.28);
  box-shadow: 0 14px 32px rgba(2, 120, 134, 0.08);
  transform: translateY(-2px);
}
.site-flow-num {
  margin: 0.85rem 0 0.35rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.site-flow-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.site-flow-card p:last-child {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.45;
}
.site-flow-join {
  width: 28px;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(2, 120, 134, 0.35), transparent);
}
.site-flow-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(2, 120, 134, 0.1);
  display: grid;
  place-items: center;
  position: relative;
}
.site-flow-ico span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0.9;
}
.site-flow-ico span:nth-child(1) { transform: translate(-6px, -4px); }
.site-flow-ico span:nth-child(2) { transform: translate(6px, -2px); opacity: 0.55; }
.site-flow-ico span:nth-child(3) { transform: translate(0, 6px); opacity: 0.35; width: 10px; height: 10px; }
.site-flow-ico-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding-bottom: 10px;
}
.site-flow-ico-bars i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--brand);
}
.site-flow-ico-bars i:nth-child(1) { height: 10px; opacity: 0.5; }
.site-flow-ico-bars i:nth-child(2) { height: 16px; opacity: 0.75; }
.site-flow-ico-bars i:nth-child(3) { height: 22px; }
.site-flow-ico-ping b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(2, 120, 134, 0.15);
}

/* Duo sections */
.site-duo {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.site-duo-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}
.site-duo-copy .site-lede { max-width: 30rem; }
.site-chips {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.site-chips li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(2, 120, 134, 0.08);
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-weight: 650;
}

/* Device */
.viz-device {
  width: min(100%, 340px);
}
.viz-device-bezel {
  background: #121a1e;
  border-radius: 28px;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}
.viz-device-screen {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(2, 120, 134, 0.32), transparent 50%),
    linear-gradient(165deg, #1a262c, #0c1316);
  display: grid;
  place-content: center;
  text-align: center;
  color: #dce6ea;
  overflow: hidden;
}
.viz-scan {
  position: absolute;
  inset: 16% 20%;
  border: 1px solid rgba(127, 212, 222, 0.55);
  border-radius: 14px;
  animation: site-scan 2.5s ease-in-out infinite;
}
.viz-device-screen p {
  margin: 0;
  position: relative;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: #8aa0ab;
}
.viz-device-screen strong {
  position: relative;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: #7fd4de;
  margin-top: 0.2rem;
}
.viz-device-screen small {
  position: relative;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #8aa0ab;
}
.viz-device-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.viz-device-caps span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(2, 120, 134, 0.08);
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 650;
}

/* Close */
.site-close {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(2.75rem, 6vw, 3.75rem);
}
.site-close-inner {
  background: linear-gradient(135deg, #0e1c22, #12333a 55%, #0f4a52);
  color: #e8eef1;
  border-radius: 24px;
  padding: clamp(1.6rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow);
}
.site-close .site-kicker { color: #7fd4de; }
.site-close h2 { color: #fff; max-width: 18ch; }
.site-close p {
  margin: 0.55rem 0 1.25rem;
  color: #a8b8c0;
  max-width: 36ch;
}
.site-close .site-btn-primary {
  background: #fff;
  color: var(--brand-deep);
}
.site-close .site-btn-primary:hover {
  background: #eef6f7;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.site-demo-note {
  margin: 0.85rem 0 0 !important;
  font-size: 0.85rem;
  color: rgba(168, 184, 192, 0.85) !important;
}

/* Footer */
.site-foot {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: 1.25rem 0 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.site-foot-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.site-foot-brand img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.site-foot-brand strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
}
.site-foot a:hover { color: var(--brand-dark); }

.site-foot-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.site-foot-links a:hover { color: var(--brand-dark); }

/* —— Blog —— */
.blog-hero,
.blog-grid-wrap,
.blog-article,
.blog-related,
.site-blog-teaser {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
}
.blog-hero {
  padding: clamp(2rem, 4.5vw, 2.75rem) 0 1.75rem;
}
.blog-hero .site-kicker {
  margin-bottom: 1.15rem;
}
.blog-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.blog-hero .site-lede {
  margin-top: 1.25rem;
  max-width: 40rem;
}
.blog-search {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
  max-width: 34rem;
}
.blog-search input {
  flex: 1;
  min-width: 12rem;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 1rem;
  font: inherit;
  background: #fff;
}
.blog-search input:focus {
  outline: none;
  border-color: rgba(2, 120, 134, 0.5);
  box-shadow: 0 0 0 3px rgba(2, 120, 134, 0.12);
}
.blog-grid-wrap { padding: 0.5rem 0 clamp(2.5rem, 6vw, 4rem); }
.blog-result-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 8px 24px rgba(15, 45, 55, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.blog-card:hover {
  border-color: rgba(2, 120, 134, 0.28);
  box-shadow: 0 14px 32px rgba(2, 120, 134, 0.08);
  transform: translateY(-2px);
}
.blog-card-date {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.blog-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.blog-card h2 a:hover { color: var(--brand-dark); }
.blog-card p {
  margin: 0;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.45;
  flex: 1;
}
.blog-card-link {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-deep);
}
.site-blog-teaser {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 4.5rem);
}
.site-blog-more {
  margin: 1.25rem 0 0;
}
.site-blog-more a {
  font-weight: 700;
  color: var(--brand-deep);
}
.blog-article {
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 2rem;
  max-width: 720px;
}
.blog-article-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.blog-article-meta {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.blog-article-excerpt {
  margin: 1rem 0 0;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.5;
}
.blog-article-body {
  margin-top: 1.75rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}
.blog-article-body p { margin: 0 0 1rem; }
.blog-related {
  padding: 1rem 0 clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.blog-related h2 {
  margin: 0 0 1.15rem;
  font-family: var(--display);
  font-size: 1.25rem;
}

/* —— Unified content blocks —— */
.site-block {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(2.75rem, 5vw, 3.75rem) 0;
}
.site-block-soft {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(var(--pad), calc((100% - var(--max)) / 2));
  padding-right: max(var(--pad), calc((100% - var(--max)) / 2));
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.site-block-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}
.site-block-head .site-kicker {
  margin-bottom: 1.05rem;
}
.site-block-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.site-block-head p:not(.site-kicker) {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1rem;
  max-width: 38rem;
}
.site-block-head-tight {
  margin-bottom: 0;
}
.site-block-head-tight .site-kicker {
  margin-bottom: 1.05rem;
}
.site-block-head-tight .site-lede {
  margin-top: 1.1rem;
}
.site-wa-copy .site-kicker {
  margin-bottom: 1.05rem;
}
.site-wa-copy .site-lede {
  margin-top: 1.1rem;
}
.site-close .site-kicker {
  margin-bottom: 1.05rem;
}
.site-close h2 {
  margin-top: 0;
}
.site-close p {
  margin-top: 1rem;
}

.site-panel-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

/* Daily WhatsApp — side-by-side phone */
.site-wa {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}
.site-wa-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
.site-wa-copy .site-lede {
  margin-top: 0.85rem;
}
.viz-phone {
  width: min(100%, 300px);
  justify-self: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 45, 55, 0.1);
}

.viz-phone-bar {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.75rem;
  background: #075e54;
  color: #fff;
}
.viz-phone-who {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.viz-phone-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.viz-phone-who strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
}
.viz-phone-who small {
  display: block;
  font-size: 0.62rem;
  opacity: 0.75;
}
.viz-phone-body {
  padding: 0.75rem;
  background: #ece5dd;
}
.viz-phone.viz-phone-sm {
  width: min(100%, 300px);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 45, 55, 0.1);
}
.viz-phone-body-sm {
  min-height: 0;
  overflow: visible;
  padding: 0.85rem 0.75rem;
  background:
    linear-gradient(rgba(236, 229, 221, 0.92), rgba(236, 229, 221, 0.92)),
    repeating-linear-gradient(
      -12deg,
      transparent 0 18px,
      rgba(0, 0, 0, 0.015) 18px 19px
    );
}
.wa-msg {
  margin: 0;
  background: #fff;
  border-radius: 4px 12px 12px 12px;
  padding: 0.8rem 0.85rem 0.55rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #111b21;
  box-shadow: 0 1px 1.5px rgba(11, 20, 26, 0.12);
}
.wa-msg-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111b21;
  letter-spacing: -0.01em;
}
.wa-msg-date {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  color: #667781;
}
.wa-msg-summary {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: #3b4a54;
}
.wa-msg-summary b {
  color: #111b21;
  font-weight: 700;
}
.wa-msg-divider {
  height: 1px;
  margin: 0.65rem 0 0.55rem;
  background: #e9edef;
}
.wa-msg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.wa-msg-list li {
  display: grid;
  gap: 0.1rem;
}
.wa-msg-list strong {
  font-size: 0.74rem;
  font-weight: 700;
  color: #111b21;
}
.wa-msg-list span {
  font-size: 0.68rem;
  color: #667781;
}
.wa-msg-foot {
  margin: 0.65rem 0 0;
  font-size: 0.6rem;
  color: #8696a0;
  text-align: right;
}

/* Remote enroll visual */
.site-panel-row-flip {
  grid-template-columns: 1fr 1fr;
}
.viz-enroll { justify-self: end; width: min(100%, 420px); }
.viz-enroll-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.45rem 1.35rem;
  box-shadow: 0 16px 40px rgba(15, 45, 55, 0.1);
}
.viz-enroll-label {
  margin: 0 0 0.95rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.viz-enroll-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.viz-enroll-person .viz-av {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}
.viz-enroll-person strong {
  display: block;
  font-size: 1.08rem;
}
.viz-enroll-person small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.viz-enroll-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.viz-enroll-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}
.viz-enroll-btn.ghost {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid rgba(2, 120, 134, 0.28);
}
.viz-enroll-note {
  margin: 1.05rem 0 0;
  font-size: 0.82rem;
  color: var(--brand-dark);
  font-weight: 650;
}

/* Attendance sheet preview */
.viz-sheet {
  display: grid;
  gap: 0.85rem;
}
.viz-sheet-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.viz-sheet-metrics > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
.viz-sheet-metrics span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.viz-sheet-metrics b {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.viz-sheet-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 45, 55, 0.06);
}
.viz-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.viz-sheet-head strong {
  font-size: 0.95rem;
}
.viz-sheet-head span {
  font-size: 0.75rem;
  color: var(--muted);
}
.viz-sheet-wrap { overflow-x: auto; }
.viz-sheet-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.78rem;
}
.viz-sheet-table th,
.viz-sheet-table td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid #eef2f5;
  white-space: nowrap;
}
.viz-sheet-table thead th {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f8fafc;
  font-weight: 700;
}
.viz-sheet-table td strong {
  display: block;
  font-size: 0.8rem;
}
.viz-sheet-table td small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.68rem;
}
.viz-sheet-table td.bad { color: #c0364a; font-weight: 700; }
.viz-sheet-table .pct {
  display: inline-flex;
  min-width: 2.5rem;
  justify-content: center;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
}
.viz-sheet-table .pct.ok { background: rgba(21, 154, 90, 0.12); color: #15803d; }
.viz-sheet-table .pct.mid { background: rgba(217, 119, 6, 0.12); color: #b45309; }

.site-hero {
  padding-bottom: 2.25rem;
}

@media (max-width: 900px) {
  .site-panel-row,
  .site-panel-row-flip,
  .site-wa { grid-template-columns: 1fr; }
  .viz-phone,
  .viz-phone-sm,
  .viz-enroll { justify-self: start; width: min(100%, 420px); }
  .viz-sheet-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* legacy wide chat kept unused */
.wa-chat { display: none; }

/* Auth */
.auth-body {
  min-height: 100vh;
  font-family: var(--font);
  background: #0b1418;
  color: #e8eef1;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.auth-aside {
  padding: 2rem var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(600px 320px at 18% 22%, rgba(2, 120, 134, 0.35), transparent 60%),
    #0b1418;
}
.auth-brand { color: #fff; margin-bottom: 2rem; }
.auth-aside h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.auth-aside p {
  margin: 0.9rem 0 0;
  color: #8aa0ab;
  max-width: 32ch;
  line-height: 1.5;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem var(--pad);
  background: var(--paper);
  color: var(--ink);
}
.auth-card {
  width: min(100%, 400px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.4rem 1.35rem;
  box-shadow: 0 12px 32px rgba(15, 45, 55, 0.06);
}
.auth-card-lg {
  width: min(100%, 460px);
  padding: 2rem 1.75rem 1.65rem;
  border-radius: 20px;
}
.auth-card-lg h2 { font-size: 1.55rem; }
.auth-card-lg .auth-input { height: 46px; font-size: 0.95rem; }
.auth-card-lg .auth-submit { margin-top: 1.35rem; padding: 0.85rem 1.25rem; }
.auth-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.auth-sub {
  margin: 0.25rem 0 1rem;
  color: var(--muted);
  font-size: 0.84rem;
}
.auth-error {
  background: rgba(192, 54, 74, 0.1);
  color: #c0364a;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}
.auth-flash-stack { margin-bottom: 0.85rem; }
.auth-flash {
  background: rgba(2, 120, 134, 0.1);
  color: var(--brand-deep);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.82rem;
}
.auth-form label {
  display: block;
  font-size: 0.74rem;
  font-weight: 650;
  color: var(--body);
  margin: 0.55rem 0 0.28rem;
}
.auth-input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 0.75rem;
  font-size: 0.9rem;
  font-family: var(--font);
}
.auth-input:focus {
  outline: none;
  border-color: rgba(2, 120, 134, 0.55);
  box-shadow: 0 0 0 3px rgba(2, 120, 134, 0.12);
}
.auth-submit { width: 100%; margin-top: 1.15rem; }
.auth-foot {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.auth-foot a { color: var(--brand-dark); font-weight: 650; }

@keyframes site-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes site-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(47, 221, 138, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(47, 221, 138, 0.06); }
}
@keyframes site-scan {
  0%, 100% { opacity: 0.4; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .site-hero,
  .site-duo,
  .site-duo-reverse,
  .site-wa,
  .site-flow,
  .site-panel-row,
  .blog-grid,
  .auth-shell { grid-template-columns: 1fr; }
  .site-flow-join { display: none; }
  .viz-phone,
  .viz-device,
  .wa-chat { justify-self: start; width: 100%; max-width: 720px; }
  .site-nav nav a:not(.site-cta) { display: none; }
  .auth-aside { padding: 1.5rem; min-height: auto; }
}
