@import url('./tokens.css');
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--app-surface); color: var(--app-text-strong); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p { color: var(--app-text-main); line-height: 1.7; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; background: white; padding: 14px; z-index: 10; }
.skip-link:focus { top: 8px; }
.site-header { border-bottom: 1px solid var(--app-border); background: white; }
.header-inner { min-height: 60px; display: flex; align-items: center; gap: 40px; }
.wordmark { width: 178px; }
nav { display: flex; gap: 30px; margin-left: auto; }
nav a, .login-link { font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--brand-teal); }
.login-link { padding-left: 26px; border-left: 1px solid var(--app-border); white-space: nowrap; }
.login-link:hover { color: var(--brand-teal); }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 70px; padding-block: 38.76px 64px; }
.eyebrow { color: var(--brand-teal); font-size: 11px; font-weight: 700; letter-spacing: 2px; margin: 0 0 24px; }
h1 { font-size: clamp(44px, 4.7vw, 66px); font-weight: 600; letter-spacing: -3px; line-height: 1.1; margin: 0 0 26px; }
.hero-description { font-size: 18px; max-width: 485px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { border-radius: 7px; padding: 16px 22px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 24px; }
.primary { background: var(--app-primary); color: white; }
.primary:hover { background: var(--app-primary-hover); }
.secondary { border: 1px solid var(--app-border); background: white; }
.secondary:hover { background: var(--app-bg); }
.hero-note { display: flex; align-items: center; gap: 16px; margin: 28px 0 0; transform: translateX(80px); }
.hero-note p { margin: 0; color: #426f73; font-family: "Segoe UI", Arial, sans-serif; font-style: italic; font-size: 14px; font-weight: 400; line-height: 1.65; }
.note-line { height: 1px; width: 32px; background: var(--brand-teal); }
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; }
.hero-copy { align-self: start; padding-top: 56px; }
.hero-copy > .eyebrow { position: relative; top: -16px; font-size: 20px; letter-spacing: 1px; margin-bottom: 12px; }
.hero-copy { container-type: inline-size; }
.hero-copy h1 { font-size: clamp(20px, 6.1cqw, 34px); letter-spacing: -.8px; line-height: 1.2; margin-bottom: 10px; white-space: nowrap; }
.hero-copy .hero-description { font-size: clamp(17px, 5.1cqw, 28px); font-weight: 500; letter-spacing: -.5px; line-height: 1.25; color: #526174; margin-bottom: 20px; white-space: nowrap; }
.hero-summary { font-size: 16px; line-height: 1.75; color: var(--app-text-main); margin: 0 0 28px; max-width: 520px; }
@media (max-width: 700px) { .hero-copy h1 { font-size: 6.1cqw; } .hero-copy .hero-description { font-size: 5.1cqw; } }
.analytics-figure { margin: 0; min-width: 0; }
.analytics-stack { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; align-items: start; container-type: inline-size; }
.analytics-panel { position: relative; min-width: 0; background: var(--app-bg); border: 1px solid #cbd5e1; border-radius: 5px; overflow: hidden; box-shadow: 0 12px 25px rgb(15 23 42 / .1); font-size: 1.65cqw; }
.overview-panel { grid-column: 1 / -1; grid-row: 2; width: 80%; justify-self: center; margin-top: -12px; z-index: 2; }
.fees-panel { grid-column: 1; grid-row: 1; z-index: 1; }
.attendance-panel { grid-column: 2; grid-row: 1; z-index: 1; }
.fees-panel .preview-appbar > span:nth-child(2), .attendance-panel .preview-appbar > span:nth-child(2) { display: none; }
.fees-panel .preview-appbar .preview-avatar, .attendance-panel .preview-appbar .preview-avatar { margin-left: auto; }
.fees-panel .preview-body, .attendance-panel .preview-body { padding: 8px; }
.fees-panel .preview-stats, .attendance-panel .preview-stats { gap: 4px; }
.fees-panel .preview-stats > div, .attendance-panel .preview-stats > div { padding: 7px 4px; }
.fees-panel .preview-stats strong, .attendance-panel .preview-stats strong { font-size: 2.3cqw; }
.fees-panel .preview-stats span, .attendance-panel .preview-stats span { font-size: 1.25cqw; }
.fees-panel .preview-stats small { font-size: 1.15cqw; }
.fees-panel .fee-breakdown strong { font-size: 1.45cqw; }
.attendance-panel .batch-attendance > div { grid-template-columns: 37% 1fr 13%; gap: 5px; }
.attendance-panel .attendance-summary { flex-wrap: wrap; }
.preview-appbar { height: 34px; display: flex; align-items: center; gap: 10px; background: white; border-bottom: 1px solid var(--app-border); padding: 8px 12px; }
.preview-appbar img { width: 67px; }
.preview-appbar > span:nth-child(2) { font-weight: 600; margin-left: auto; }
.preview-avatar { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid var(--app-border); border-radius: 4px; font-size: 7px; }
.preview-layout { display: grid; grid-template-columns: 74px 1fr; }
.preview-sidebar { background: white; border-right: 1px solid var(--app-border); padding: 10px 6px; display: flex; flex-direction: column; gap: 3px; color: var(--app-text-main); }
.preview-sidebar span { padding: 4px 5px; border-radius: 3px; line-height: 1.35; }
.preview-sidebar .selected { background: var(--app-primary); color: white; }
.preview-body { padding: 12px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.preview-heading h3 { font-size: 2.6cqw; margin: 0; letter-spacing: -.2px; }
.preview-heading > span { font-size: 1.5cqw; color: var(--app-text-muted); }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 10px; }
.preview-stats > div { border: 1px solid var(--app-border); border-radius: 4px; background: white; padding: 9px 7px; }
.preview-stats span, .preview-stats small { display: block; color: var(--app-text-muted); font-size: 1.55cqw; }
.preview-stats strong { display: block; font-size: 3cqw; font-weight: 600; margin: 5px 0; white-space: nowrap; }
.preview-stats small { font-size: 1.4cqw; }
.overview-charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-bottom: 10px; }
.chart-card { background: white; border: 1px solid var(--app-border); border-radius: 4px; padding: 10px; }
.chart-card h4 { font-size: 1.8cqw; margin: 0 0 9px; font-weight: 600; }
.preview-bars { display: flex; gap: 9px; height: 78px; align-items: end; padding-top: 5px; background: repeating-linear-gradient(to top, transparent 0 23px, #edf1f5 23px 24px); }
.preview-bars > div { height: 100%; flex: 1; display: flex; justify-content: end; flex-direction: column; align-items: center; gap: 4px; }
.preview-bars i { display: block; height: calc(var(--bar) * .8); width: 75%; background: #72afb4; border-radius: 2px 2px 0 0; }
.preview-bars span { font-size: 1.3cqw; color: var(--app-text-muted); }
.attendance-donut { width: 68px; height: 68px; border-radius: 50%; background: conic-gradient(#2c8c95 0 89%, #e2e8f0 89% 100%); margin: auto; padding: 8px; }
.attendance-donut strong { border-radius: 50%; background: white; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 3cqw; }
.attendance-donut small { color: var(--app-text-muted); font-size: 1.25cqw; font-weight: 400; }
.chart-legend { display: flex; gap: 7px; justify-content: center; font-size: 1.2cqw; margin-top: 6px; color: var(--brand-teal); }
.chart-legend span:last-child { color: #94a3b8; }
.preview-table { background: white; border: 1px solid var(--app-border); border-radius: 4px; overflow: hidden; }
.preview-table-title { padding: 8px; font-weight: 600; display: flex; justify-content: space-between; }
.preview-table-title span { color: var(--app-text-muted); font-weight: 400; }
.preview-table table { width: 100%; border-collapse: collapse; font-size: 1.5cqw; text-align: left; }
.preview-table th, .preview-table td { padding: 6px 8px; border-top: 1px solid var(--app-border); }
.preview-table th { background: var(--app-bg); color: var(--app-text-muted); font-weight: 500; }
.preview-status { background: var(--app-success-soft); color: var(--app-success-text); border-radius: 3px; padding: 2px 5px; }
.preview-stats .amount-warning { color: #a16207; }
.collection-chart { display: block; width: 100%; height: 85px; }
.chart-grid { fill: none; stroke: #e2e8f0; stroke-width: 1; }
.chart-axis { font-size: 9px; fill: #64748b; }
.fee-breakdown { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-inline: 4px; }
.fee-breakdown span { color: var(--app-text-muted); display: block; margin-bottom: 4px; }
.fee-breakdown strong { font-size: 1.9cqw; font-weight: 600; }
.batch-attendance { display: grid; gap: 10px; }
.batch-attendance > div { display: grid; grid-template-columns: 27% 1fr 10%; gap: 8px; align-items: center; font-size: 1.6cqw; }
.batch-attendance i { height: 7px; border-radius: 2px; background: linear-gradient(to right, #72afb4 var(--progress), #edf2f7 var(--progress)); }
.batch-attendance strong { font-size: 1.6cqw; }
.attendance-summary { display: flex; justify-content: space-between; gap: 7px; margin-top: 10px; font-size: 1.6cqw; color: var(--app-text-muted); }
.attendance-summary strong { color: var(--app-text-main); margin-left: 5px; }
.analytics-figure figcaption { justify-content: center; margin-top: 14px; line-height: 1.5; text-align: center; }
@media (min-width: 701px) and (max-width: 1000px) { .preview-layout { grid-template-columns: 55px 1fr; } .preview-appbar { padding-inline: 7px; } .preview-appbar img { width: 52px; } .preview-body { padding: 8px; } }
@media (max-width: 700px) { .analytics-stack { display: flex; flex-direction: column; gap: 14px; } .analytics-panel { width: 100%; font-size: 2cqw; } .overview-panel { order: 3; margin-top: 0; } .fees-panel { order: 1; } .attendance-panel { order: 2; } .preview-heading h3 { font-size: 3.2cqw; } .preview-stats strong, .fees-panel .preview-stats strong, .attendance-panel .preview-stats strong { font-size: 3.6cqw; } .preview-stats span, .fees-panel .preview-stats span, .attendance-panel .preview-stats span { font-size: 1.8cqw; } .preview-stats small, .fees-panel .preview-stats small { font-size: 1.65cqw; } .fees-panel .fee-breakdown strong { font-size: 2cqw; } .chart-card h4 { font-size: 2.2cqw; } .preview-table table { font-size: 1.8cqw; } .batch-attendance > div, .batch-attendance strong, .attendance-summary { font-size: 2cqw; } }
.monitor-figure { margin: 0; display: flex; flex-direction: column; align-items: center; padding: 0 28px; }
.attendance-showcase { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; width: min(100%, 324px); padding: 0; margin-top: -128px; }
.student-attendance-copy { grid-column: 2; grid-row: 2; align-self: start; margin-top: 0; min-width: 0; }
.student-attendance-copy > .eyebrow { font-size: 18px; font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; }
.student-attendance-copy h2 { font-size: clamp(26px, 2.3vw, 32px); letter-spacing: -.7px; }
.attendance-intro { font-size: 16px; margin: 18px 0 20px; }
.attendance-flow { list-style: none; counter-reset: attendance-step; padding: 0; margin: 0; display: grid; gap: 14px; }
.attendance-flow li { counter-increment: attendance-step; position: relative; padding-left: 36px; }
.attendance-flow li::before { content: counter(attendance-step, decimal-leading-zero); position: absolute; left: 0; top: 3px; color: var(--brand-teal); font-size: 12px; font-weight: 600; }
.attendance-flow h3 { font-size: 17px; margin: 0 0 4px; letter-spacing: -.2px; }
.attendance-flow p { font-size: 14px; margin: 0; line-height: 1.65; }
.exit-attendance-highlight { font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-teal); text-underline-offset: 3px; }
@media (max-width: 700px) { .student-attendance-copy { grid-column: 1; grid-row: auto; margin-top: 0; } }
@media (max-width: 700px) { .attendance-showcase { grid-row: auto; margin-top: 0; } }
.monitor-frame { position: relative; z-index: 1; width: min(100%, 324px); padding: 6px 6px 0; background: #22272c; border-radius: 5px; box-shadow: inset 0 0 0 1px #41484f, 3px 4px 0 #15191d, 0 15px 35px rgb(15 23 42 / .12); }
.monitor-screen { position: relative; aspect-ratio: 9 / 16; container-type: inline-size; background: #f6fafb; border-radius: 0; overflow: hidden; }
.monitor-chin { position: relative; height: 18px; }
.monitor-power-light { position: absolute; right: 10px; top: 8px; width: 3px; height: 3px; border-radius: 50%; background: #90bda9; }
.monitor-stand { width: min(48%, 170px); display: flex; flex-direction: column; align-items: center; }
.monitor-neck { width: 27%; height: 33px; background: linear-gradient(90deg, #30363d, #515960 50%, #343b42); }
.monitor-base { width: 100%; height: 12px; border-radius: 50% 50% 3px 3px; background: #343b42; box-shadow: inset 0 2px 0 #596168, 0 7px 12px rgb(15 23 42 / .14); }
.monitor-screen::before { content: ''; position: absolute; inset: 0; background: #e57f83; clip-path: polygon(0 18%, 64% 18%, 5% 100%, 0 100%); }
.monitor-screen::after { content: ''; position: absolute; inset: 0; background: #084792; clip-path: polygon(88% 18%, 100% 18%, 100% 100%, 30% 100%); }
.monitor-screen > * { z-index: 1; }
.monitor-brand { position: absolute; top: 6%; left: 10%; width: 80%; text-align: center; }
.monitor-brand img { width: 61%; margin: auto; }
.monitor-brand p { font-size: 2.6cqw; letter-spacing: 1.5px; margin: 10px 0; color: var(--brand-teal); }
/* Photo, detail and result positions follow AttendanceProjectionPage.jsx's 9:16 template. */
.student-avatar { position: absolute; top: 18.75%; left: 23%; width: 54%; height: 30.375%; border: 5px solid white; border-radius: 50%; background: #d9e8ea; display: grid; place-items: center; color: var(--brand-teal); font-size: 18cqw; font-weight: 600; }
.student-avatar { overflow: hidden; }
.student-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.student-details { position: absolute; top: 52%; left: 9.2593%; width: 81.4815%; height: 16.5%; margin: 0; background: white; padding: 4% 3%; border-radius: 7px; border: 1px solid var(--app-border); display: flex; flex-direction: column; justify-content: center; gap: 1.6cqw; }
.student-details div { display: grid; grid-template-columns: 35% 65%; align-items: baseline; font-size: 3.1cqw; text-align: center; }
dt { color: var(--app-text-muted); font-weight: 600; } dd { margin: 0; font-weight: 600; }
.student-details div:first-child dd { font-size: 4.4cqw; font-weight: 700; }
.attendance-result { position: absolute; top: 72%; left: 9.2593%; width: 81.4815%; min-height: 17%; background: #fffdf5; border: 0; border-radius: 7px; padding: 5% 4%; }
.attendance-result strong { font-size: 4cqw; color: var(--app-success-text); line-height: 1.25; display: block; white-space: nowrap; margin-top: 5cqw; }
.fee-reminder { font-size: calc(3.2cqw + 2px); font-weight: 500; line-height: 1.4; color: #85704c; margin: 2.4cqw 0 0; }
.punch-time { position: absolute; top: 12%; right: 4%; font-size: 2.7cqw; font-weight: 600; color: var(--app-text-muted); }
figcaption { margin-top: 20px; font-size: 10px; color: var(--app-text-muted); display: flex; align-items: center; gap: 7px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--app-success); }
.caption-separator { color: #cbd5e1; }
.product-section { background: var(--app-bg); padding-block: 76px; border-block: 1px solid var(--app-border); }
.staff-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-block: 28px 80px; }
.whatsapp-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 24px 80px; }
.whatsapp-copy > .eyebrow { font-size: 18px; letter-spacing: 1px; margin-bottom: 16px; }
.whatsapp-copy h2 { font-size: clamp(26px, 2.3vw, 32px); letter-spacing: -.7px; }
.whatsapp-intro { font-size: 16px; margin: 18px 0 24px; }
.whatsapp-figure { margin: 0; min-width: 0; container-type: inline-size; }
.whatsapp-preview { background: var(--app-bg); border: 1px solid #cbd5e1; border-radius: 9px; box-shadow: 0 15px 35px rgb(15 23 42 / .1); overflow: hidden; font-size: 1.55cqw; }
.wa-module-header { background: white; border-bottom: 1px solid var(--app-border); padding: 14px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wa-module-header > strong { font-size: 2.5cqw; }
.wa-module-header > div { display: flex; gap: 4px; }
.wa-module-header > div span { padding: 6px 5px; border-radius: 4px; background: #f1f5f9; font-size: 1.25cqw; }
.wa-workspace { display: grid; grid-template-columns: 24% 44% 32%; min-height: 420px; }
.wa-chat-list { background: white; border-right: 1px solid var(--app-border); }
.wa-list-heading { display: flex; justify-content: space-between; align-items: center; padding: 10px 7px; gap: 5px; }
.wa-list-heading strong { font-size: 2cqw; }
.wa-list-heading > span { background: var(--app-primary); color: white; border-radius: 4px; padding: 4px; font-size: 1.2cqw; }
.wa-search { background: #f1f5f9; border-radius: 5px; margin: 0 7px 8px; padding: 8px 5px; color: #8797ab; font-size: 1.2cqw; }
.wa-filters { display: flex; gap: 4px; padding: 0 7px 10px; font-size: 1.2cqw; }
.wa-filters span { padding: 5px; background: #f1f5f9; border-radius: 15px; color: var(--app-text-muted); }
.wa-filters .active { color: var(--app-text-strong); }
.wa-contact { display: flex; gap: 6px; padding: 13px 6px; border-top: 1px solid var(--app-border); }
.wa-contact.selected { background: #f1f5f9; }
.wa-contact > div { min-width: 0; }
.wa-contact strong { display: block; font-size: 1.45cqw; }
.wa-contact small { display: block; font-size: 1.2cqw; color: var(--app-text-muted); margin-top: 5px; }
.wa-contact p { font-size: 1.3cqw; color: var(--app-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 8px 0 0; }
.wa-avatar { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #bfd9f9; color: #245c9c; background: #dbeafe; font-size: 1.4cqw; }
.wa-avatar.mint { background: #dcfce7; border-color: #b8ebce; color: #287958; }
.wa-avatar.amber { background: #fff2ce; border-color: #f2df9c; color: #8d681d; }
.wa-conversation { display: flex; flex-direction: column; min-width: 0; }
.wa-conversation-header { display: flex; align-items: center; gap: 8px; padding: 10px; background: white; border-bottom: 1px solid var(--app-border); }
.wa-conversation-header strong { font-size: 1.7cqw; }
.wa-conversation-header small { display: block; margin-top: 5px; color: var(--app-text-muted); font-size: 1.35cqw; }
.wa-messages { display: flex; flex-direction: column; align-items: start; gap: 12px; padding: 12px 9px; flex: 1; }
.wa-day { align-self: center; padding: 4px 9px; background: white; border: 1px solid var(--app-border); border-radius: 12px; color: var(--app-text-muted); font-size: 1.2cqw; }
.wa-message { border: 1px solid var(--app-border); border-radius: 8px; padding: 9px; max-width: 95%; background: white; }
.wa-message.outgoing { align-self: end; background: #f0f6f5; }
.wa-message-type { display: block; color: #327c65; font-size: 1.3cqw; font-weight: 600; margin-bottom: 5px; }
.wa-message p { font-size: 1.5cqw; line-height: 1.6; margin: 0; }
.wa-message small { display: block; text-align: right; margin-top: 5px; font-size: 1.1cqw; color: var(--app-text-muted); }
.wa-message small > span { color: #218454; margin-left: 3px; }
.wa-composer { display: flex; align-items: center; gap: 7px; background: white; border: 1px solid var(--app-border); border-radius: 20px; margin: 0 8px 10px; padding: 7px; color: #8899b0; font-size: 1.2cqw; }
.wa-composer > span:first-child { font-size: 18px; }
.wa-send { margin-left: auto; width: 23px; height: 23px; display: grid; place-items: center; background: #87cfab; color: white; border-radius: 50%; }
.wa-profile { border-left: 1px solid var(--app-border); background: white; min-width: 0; }
.wa-profile-tabs { display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--app-border); padding: 9px 5px; font-size: 1.1cqw; min-height: 49px; }
.wa-profile-tabs .active { background: var(--app-primary); color: white; padding: 5px; border-radius: 4px; }
.wa-profile-person { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 5px; }
.wa-profile-person .wa-avatar { width: 42px; height: 42px; font-size: 2cqw; }
.wa-profile-person strong { font-size: 1.7cqw; }
.wa-profile-person small { color: var(--app-text-muted); font-size: 1.25cqw; }
.wa-profile-label { font-size: 1.1cqw; color: var(--app-text-muted); padding: 0 8px; margin: 0 0 8px; }
.wa-enrollment { background: var(--app-bg); border-radius: 6px; margin: 0 7px 10px; padding: 10px 8px; }
.wa-enrollment > strong { font-size: 1.7cqw; }
.wa-enrollment p { margin: 7px 0; font-size: 1.25cqw; color: var(--app-text-muted); }
.wa-enrollment-status { color: #287958; font-size: 1.2cqw; }
.wa-enrollment dl { margin: 14px 0; display: grid; gap: 9px; }
.wa-enrollment dl > div { display: grid; gap: 4px; font-size: 1.25cqw; }
.wa-enrollment dt { font-weight: 400; }
.wa-enrollment dd { font-weight: 500; }
.wa-attendance-history { display: flex; gap: 3px; margin-bottom: 12px; }
.wa-attendance-history span { padding: 3px; border: 1px solid #b8e5c9; color: #218454; background: #edf8f1; border-radius: 3px; font-size: 1.2cqw; }
.wa-attendance-history .late { color: #a16207; border-color: #f0d6a8; background: #fff8e9; }
.wa-attendance-history .absent { color: #b45353; border-color: #f2c6c6; background: #fff3f3; }
.wa-view-enrollment { display: block; width: fit-content; margin-left: auto; background: var(--app-primary); color: white; border-radius: 4px; padding: 6px; font-size: 1.2cqw; }
.wa-automation-strip { border-top: 1px solid var(--app-border); background: white; display: flex; align-items: center; gap: 9px; padding: 11px 9px; font-size: 1.25cqw; color: var(--app-text-muted); }
.wa-automation-strip strong { color: var(--app-text-main); font-weight: 600; }
.wa-connected-dot { width: 5px; height: 5px; border-radius: 50%; background: #218454; flex-shrink: 0; }
@media (max-width: 1000px) { .whatsapp-section { grid-template-columns: 1fr; gap: 36px; } .whatsapp-figure { max-width: 700px; width: 100%; } }
@media (max-width: 700px) { .whatsapp-section { padding-block: 12px 48px; } .whatsapp-copy > .eyebrow { font-size: 16px; } .wa-workspace { grid-template-columns: 57% 43%; min-height: 0; } .wa-chat-list { display: none; } .whatsapp-preview { font-size: 2.3cqw; } .wa-module-header > strong { font-size: 3.4cqw; } .wa-module-header > div { flex-wrap: wrap; justify-content: end; } .wa-module-header > div span { font-size: 1.7cqw; padding: 4px; } .wa-conversation-header strong, .wa-profile-person strong, .wa-enrollment > strong { font-size: 2.5cqw; } .wa-conversation-header small, .wa-profile-person small, .wa-enrollment p, .wa-enrollment-status, .wa-enrollment dl > div, .wa-attendance-history span { font-size: 2cqw; } .wa-message p { font-size: 2.4cqw; } .wa-message-type, .wa-composer, .wa-view-enrollment, .wa-automation-strip { font-size: 2cqw; } .wa-message small, .wa-day, .wa-profile-label, .wa-profile-tabs { font-size: 1.8cqw; } .wa-automation-strip { flex-wrap: wrap; gap: 6px; } }
.staff-copy > .eyebrow { font-size: 18px; font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; }
.staff-copy h2 { font-size: clamp(26px, 2.3vw, 32px); letter-spacing: -.7px; }
.staff-intro { font-size: 16px; margin: 18px 0 24px; }
.biometric-figure { margin: 0; display: flex; justify-content: center; min-width: 0; }
.biometric-machine { width: min(100%, 310px); padding: 0 16px; border-radius: 28px; background: linear-gradient(110deg, #30363b, #101419 35%, #1c2228); border: 2px solid #aab2b8; box-shadow: inset 0 0 0 3px #080b0e, 4px 5px 0 #252c32, 0 20px 40px rgb(15 23 42 / .14); }
.biometric-camera-bar { height: 56px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.camera-light { width: 38px; height: 9px; background: #e8edef; border-radius: 10px; box-shadow: inset 0 0 3px #929ba1; }
.camera-lens { width: 15px; height: 15px; border: 3px solid #4a555f; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8ea9bb 0 12%, #1a2b3d 20% 45%, #070c11 55%); box-shadow: 0 0 0 2px #111; }
.camera-sensor { width: 8px; height: 8px; border-radius: 50%; background: #3f4a52; }
.biometric-screen { background: #fff url('/images/biometric-pattern.svg') center / cover no-repeat; border: 1px solid #454f57; padding: 12px 16px 0; text-align: center; overflow: hidden; }
.biometric-status { display: flex; justify-content: space-between; align-items: center; font-size: 9px; color: #526174; min-height: 34px; margin: -12px -16px 23px; padding: 8px 12px; background: #f8fafc; border-bottom: 1px solid #dce3e9; }
.biometric-clock { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #334155; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.biometric-clock > span { font-size: 10px; font-weight: 500; }
.biometric-connections { display: flex; align-items: center; gap: 4px; }
.biometric-connections svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.biometric-connections .network-connected, .biometric-connections .database-connected-tick { color: #218454; }
.biometric-connections .database-connected-tick { width: 12px; height: 12px; stroke-width: 2.2; }
.biometric-connections .connection-dot { fill: currentColor; stroke: none; }
.biometric-wordmark { width: 125px; margin-inline: auto; }
.biometric-institute { font-size: 7px; letter-spacing: 1.2px; color: var(--brand-teal); margin: 8px 0 20px; }
.staff-photo { width: 145px; height: 155px; margin: auto; position: relative; overflow: hidden; border-radius: 8px; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 15%; transform: scale(1.25); transform-origin: 65% 15%; }
.biometric-staff-name { display: block; font-size: 20px; margin-top: 16px; }
.biometric-employee-code { font-size: 12px; margin: 6px 0 18px; color: #526174; }
.biometric-employee-code > span { font-size: 13px; font-weight: 400; }
.biometric-employee-code strong { color: var(--app-text-strong); margin-left: 5px; }
.biometric-result { position: relative; background: #e7f5ed; color: #177346; border-radius: 8px; padding: 32px 12px 18px; text-align: left; }
.biometric-result-time { position: absolute; top: 10px; right: 12px; font-size: 9px; font-weight: 500; color: var(--app-text-muted); }
.biometric-result strong { display: block; font-size: 12.5px; line-height: 1.35; letter-spacing: -.2px; }
.biometric-result-place { margin: 9px 0 0; font-size: 12px; line-height: 1.5; color: var(--app-text-main); }
.biometric-methods { display: flex; justify-content: center; gap: 14px; padding-block: 17px; font-size: 11px; color: #627284; }
.biometric-hardware { height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #b2bec7; }
.biometric-card-reader { width: 34px; text-align: center; font-size: 7px; }
.biometric-card-reader svg { width: 32px; stroke: #9aaebd; stroke-width: 1.8; }
.biometric-device-label { font-size: 7px; letter-spacing: 1px; }
.fingerprint-scanner { width: 49px; height: 49px; padding: 6px; border-radius: 9px; background: linear-gradient(145deg, #131d25, #284334); border: 3px solid #79868e; box-shadow: inset 0 0 6px #000, 0 0 0 2px #080c10; }
.fingerprint-scanner svg { width: 100%; height: 100%; stroke: #83b298; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 1000px) { .staff-section { gap: 24px; } }
@media (max-width: 700px) { .staff-section { grid-template-columns: 1fr; gap: 32px; padding-block: 16px 48px; } .biometric-figure { order: -1; } .staff-copy > .eyebrow { font-size: 16px; } }
.section-heading { max-width: 680px; }
.modules-section { padding-block: 24px 80px; }
.features-heading h2 { font-size: 28px; letter-spacing: -.5px; }
.features-heading p { font-size: 16px; margin: 12px 0 0; max-width: 720px; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.module-card { padding: 26px; border: 1px solid #d9e7e8; border-radius: 22px; background: white; min-width: 0; }
.module-tag { display: block; width: fit-content; padding: 4px 10px; font-size: 10px; font-weight: 600; letter-spacing: .5px; color: #287f87; background: #f0f8f8; border: 1px solid #deeeee; border-radius: 14px; }
.module-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-top: 18px; background: #edf6f6; border: 1px solid #d5e9e9; border-radius: 12px; color: var(--brand-teal); }
.module-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.module-card h3 { font-size: 19px; margin: 22px 0 14px; padding-bottom: 13px; border-bottom: 1px solid #e2eded; }
.module-card p { font-size: 14px; line-height: 1.65; margin: 0 0 14px; }
.module-card ul { padding-left: 16px; margin: 0; color: var(--app-text-muted); font-size: 13px; line-height: 1.65; }
.module-card li { padding-left: 2px; margin-top: 6px; }
.module-card li::marker { color: var(--brand-teal); }
@media (max-width: 1000px) { .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 700px) { .modules-section { padding-block: 12px 48px; } .module-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; } .module-card { padding: 24px; } }
h2 { margin: 0; font-size: clamp(29px, 3vw, 40px); font-weight: 600; letter-spacing: -1.3px; line-height: 1.2; }
.section-heading p:last-child { font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 44px; }
.feature-grid article { border-top: 2px solid #cadfe0; padding-top: 22px; }
.feature-number { font-size: 10px; letter-spacing: 1.4px; color: var(--brand-teal); font-weight: 700; }
h3 { font-size: 19px; line-height: 1.4; margin: 18px 0 10px; letter-spacing: -.3px; }
.feature-grid p { font-size: 14px; margin: 0; }
.direction-section { padding-block: 80px; }
.direction-section > p:last-child { max-width: 600px; font-size: 16px; }
.contact-section { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; border-top: 1px solid var(--app-border); padding-block: 50px 64px; }
.contact-section h2 { font-size: 30px; }
.contact-section p { font-size: 14px; }
.contact-pending { align-self: center; border-left: 2px solid #cadfe0; padding-left: 24px; }
.contact-pending strong { font-size: 15px; }
.contact-pending a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { padding-block: 26px; border-top: 1px solid var(--app-border); display: flex; align-items: center; gap: 25px; }
.site-footer img { width: 115px; }
.site-footer p, .site-footer span { font-size: 12px; color: var(--app-text-muted); }
.site-footer span { margin-left: auto; }
@media (max-width: 1000px) { .container { width: calc(100% - 56px); } .hero { gap: 24px; } nav { gap: 18px; } .header-inner { gap: 24px; } .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); } .header-inner { min-height: 83px; flex-wrap: wrap; gap: 16px; padding-block: 15px; } .wordmark { width: 145px; }
  nav { order: 3; width: 100%; gap: 22px; padding-top: 12px; border-top: 1px solid var(--app-border); } nav a { font-size: 12px; } .login-link { margin-left: auto; padding-left: 15px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 48px; gap: 40px; } h1 { font-size: 48px; letter-spacing: -2px; } .hero-description { font-size: 16px; } .hero-note { margin-top: 26px; } .monitor-figure { padding: 0; } .monitor-frame { width: min(80%, 310px); }
  .product-section { padding-block: 48px; } .eyebrow { font-size: 10px; letter-spacing: 1.6px; margin-bottom: 20px; } .feature-grid { gap: 28px 20px; margin-top: 30px; } h3 { font-size: 17px; } .feature-grid p { font-size: 13px; }
  .direction-section { padding-block: 48px; } .contact-section { grid-template-columns: 1fr; gap: 22px; padding-block: 40px; } .site-footer { flex-wrap: wrap; gap: 12px 20px; } .site-footer p { margin: 0; } .site-footer span { margin-left: 0; width: 100%; }
}
@media (max-width: 380px) { .feature-grid { grid-template-columns: 1fr; } h1 { font-size: 42px; } .button { padding: 14px 16px; } figcaption { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.website-footer { background: #28333a; color: #fff; padding-block: 50px 24px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 16px; }
.footer-brand img { width: 180px; }
.footer-brand p { color: #c0cbd2; font-size: 14px; max-width: 320px; }
.footer-paperless-line { white-space: nowrap; }
@media (max-width: 800px) { .footer-paperless-line { white-space: normal; } }
.footer-column h2 { font-size: 12px; letter-spacing: 1.2px; margin: 0 0 20px; }
.footer-column a { display: block; font-size: 14px; color: #d4dce2; margin-block: 12px; }
.website-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid #49545c; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-bottom p { color: #c0cbd2; font-size: 12px; margin: 0; }
.footer-bottom nav { margin: 0; gap: 22px; }
.footer-bottom nav a { font-size: 12px; font-weight: 400; color: #d4dce2; }
.legal-page { padding-block: 54px 80px; }
.legal-heading { border-bottom: 1px solid var(--app-border); padding-bottom: 30px; }
.legal-heading h1 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -1.5px; }
.legal-heading > p { max-width: 760px; }
.policy-date { font-size: 13px; color: var(--app-text-muted); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; margin-top: 40px; }
.legal-contents { align-self: start; position: sticky; top: 24px; }
.legal-contents > p { font-size: 10px; letter-spacing: 1.5px; font-weight: 700; }
.legal-contents nav { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.legal-contents nav a { font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--app-text-main); }
.legal-copy { max-width: 760px; }
.legal-copy section { margin-bottom: 38px; scroll-margin-top: 25px; }
.legal-copy h2 { font-size: 22px; letter-spacing: -.4px; }
.legal-copy p, .legal-copy li { font-size: 15px; line-height: 1.8; color: var(--app-text-main); }
.legal-copy li { margin-block: 10px; }
.legal-copy ul { padding-left: 22px; }
.legal-copy a, .policy-footer a { text-decoration: underline; text-underline-offset: 3px; }
.policy-footer { background: var(--app-bg); border-top: 1px solid var(--app-border); padding-block: 28px; font-size: 13px; }
.policy-footer .container { display: flex; flex-wrap: wrap; gap: 20px 35px; align-items: center; }
.policy-footer nav { margin: 0; flex-wrap: wrap; }
.policy-footer nav a { font-size: 13px; font-weight: 400; }
.policy-footer p { margin: 0; }
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: start; } .footer-bottom nav { flex-wrap: wrap; width: auto; border: 0; padding: 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; } .legal-contents { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--app-border); }
  .legal-contents nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; border: 0; padding: 0; }
  .policy-footer nav { padding: 0; border: 0; width: auto; }
}

/* Small screens need their own spacing and readable previews, without shifting
   content beyond the viewport or hiding horizontal overflow. */
@media (max-width: 1000px) {
  .hero-note { transform: none; }
  .hero-note p, .staff-copy, .whatsapp-copy, .footer-column, .legal-copy { min-width: 0; }
  .note-line { flex-shrink: 0; }
  .hero-copy h1, .hero-copy .hero-description { white-space: normal; }
  .footer-column a, .legal-copy a { overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
  .hero { padding-block: 28px 48px; gap: 32px; }
  .hero-copy { padding-top: 0; }
  .hero-copy > .eyebrow { top: 0; font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
  .hero-copy h1 { font-size: clamp(28px, 8vw, 36px); letter-spacing: -.8px; }
  .hero-copy .hero-description { font-size: 21px; line-height: 1.35; margin-bottom: 20px; }
  .hero-summary { font-size: 16px; line-height: 1.7; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .button { justify-content: center; min-height: 48px; }
  .hero-note { gap: 12px; margin-top: 24px; }
  .hero-note p { font-size: 14px; }
  .hero-note br { display: none; }
  .attendance-showcase { justify-self: center; }
  .attendance-showcase .monitor-frame { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand { grid-column: auto; }
  .footer-column h2 { margin-bottom: 12px; }
  .footer-bottom nav { gap: 14px 20px; }
  .legal-contents nav { grid-template-columns: 1fr; }

  .analytics-panel { font-size: 11px; }
  .preview-heading { flex-wrap: wrap; gap: 6px; }
  .preview-heading h3 { font-size: 16px; }
  .preview-heading > span { font-size: 10px; }
  .preview-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .preview-stats > div { padding: 8px 4px; }
  .preview-stats strong, .fees-panel .preview-stats strong, .attendance-panel .preview-stats strong { font-size: 16px; }
  .preview-stats span, .fees-panel .preview-stats span, .attendance-panel .preview-stats span { font-size: 9px; }
  .preview-stats small, .fees-panel .preview-stats small { font-size: 8px; }
  .fees-panel .fee-breakdown strong { font-size: 11px; }
  .chart-card h4 { font-size: 12px; }
  .batch-attendance > div, .batch-attendance strong, .attendance-summary { font-size: 10px; }
  .overview-panel { font-size: 9px; }
  .overview-panel .preview-layout { grid-template-columns: 58px minmax(0, 1fr); }
  .overview-panel .preview-sidebar { padding: 8px 3px; }
  .overview-panel .preview-sidebar span { padding: 4px 2px; font-size: 8px; }
  .overview-panel .preview-body { padding: 8px; }
  .overview-panel .preview-stats strong { font-size: clamp(11px, 3.4vw, 14px); }
  .overview-panel .preview-stats span { font-size: 8px; }
  .overview-panel .preview-stats small { font-size: 7px; }
  .overview-charts { grid-template-columns: minmax(0, 1fr); }
  .preview-bars span, .attendance-donut small, .chart-legend { font-size: 9px; }
  .attendance-donut strong { font-size: 20px; }
  .preview-table table { font-size: 8px; }
  .preview-table th, .preview-table td { padding: 6px 3px; }

  .wa-workspace { grid-template-columns: minmax(0, 1fr); }
  .wa-module-header { flex-wrap: wrap; }
  .wa-module-header > strong { font-size: 16px; }
  .wa-module-header > div { justify-content: start; }
  .wa-module-header > div span { font-size: 9px; }
  .wa-conversation-header strong, .wa-profile-person strong, .wa-enrollment > strong { font-size: 14px; }
  .wa-conversation-header small, .wa-profile-person small, .wa-enrollment p, .wa-enrollment-status, .wa-enrollment dl > div { font-size: 11px; }
  .wa-message p { font-size: 12px; }
  .wa-message-type, .wa-composer, .wa-view-enrollment, .wa-automation-strip { font-size: 11px; }
  .wa-message small, .wa-day, .wa-profile-label, .wa-profile-tabs, .wa-attendance-history span { font-size: 10px; }
  .wa-profile { border-left: 0; border-top: 1px solid var(--app-border); }
  .wa-profile-tabs { min-height: 40px; gap: 10px; padding: 8px; flex-wrap: wrap; }
  .wa-profile-person { padding: 12px; }
  .wa-avatar, .wa-profile-person .wa-avatar { font-size: 12px; }
}
