/* eFarmWorks — site styles */
:root {
  /* Brand — matched to efarmworks.com and the eFarmWorks logo */
  --navy-900: #0E2240;   /* footer */
  --navy-800: #132C51;   /* header, dark sections */
  --navy-700: #1E3A66;   /* lines and tints on navy */
  --blue: #3775D9;       /* buttons, links, accents */
  --blue-hover: #2A5FB8;
  --blue-100: #E8F0FB;   /* icon tiles, soft fills */
  --logo-blue: #0C447C;  /* the "e" and pulse in the logo */
  --accent: #97BAEB;     /* light blue accents on navy */
  --soon-bg: #FFF2DE;
  --soon-ink: #7A4A06;
  --ink: #172948;        /* headings and text */
  --muted: #5F7087;      /* secondary text */
  --on-dark: #DDE7F4;
  --on-dark-2: #A9BEDB;
  --line: #DDE4EE;
  --line-soft: #EEF2F8;
  --field: #B4C1D3;
  --dash: #8FA0B8;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FD;
  --radius: 16px;
  --radius-lg: 20px;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; line-height: 1.12; letter-spacing: -0.02em; color: inherit; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
p, ul { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 860px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-sm { padding-top: 56px; padding-bottom: 56px; }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--navy-800); color: #fff; }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-40 { gap: 40px; }
.center { text-align: center; align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split.reverse { flex-wrap: wrap-reverse; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2w { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.eyebrow { color: var(--blue); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.bg-dark .eyebrow { color: var(--accent); }
.h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.h1-sm { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 3.6vw, 40px); }
.h2-sm { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.12; }
.h3 { font-size: 22px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); max-width: 680px; }
.bg-dark .lead { color: var(--on-dark); }
.muted { color: var(--muted); }
.body-copy { font-size: 17px; line-height: 1.65; color: var(--muted); }
.max-720 { max-width: 720px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: var(--blue-hover); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-100); color: var(--blue-hover); }
.btn-ghost-dark { border-color: #5A7BA8; color: #fff; }
.btn-ghost-dark:hover { background: var(--navy-700); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* UAT banner */
.uat-banner { background: #7A1F1F; color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }

/* Header */
.site-header { background: var(--navy-800); border-bottom: 1px solid var(--navy-700); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; text-decoration: none; color: #fff; flex: 0 0 auto; }
.brand svg { display: block; height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; padding: 0; display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.main-nav a.nav-link { color: var(--on-dark); text-decoration: none; padding: 8px 0; }
.main-nav a.nav-link:hover { color: #fff; }
.main-nav a.nav-link[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.main-nav .btn { border-radius: 999px; }
.site-header :focus-visible, .bg-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid #5A7BA8; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-800); border-bottom: 1px solid var(--navy-700); flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 24px 20px; }
  .site-header.open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a.nav-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--navy-700); font-size: 17px; }
  .site-header { position: relative; }
}
@media (max-width: 420px) { .brand svg { height: 42px; } }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 96px; }
.pill { align-self: flex-start; background: var(--navy-700); color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.hero-note { font-size: 14px; color: var(--on-dark-2); }
.hero .lead { max-width: 560px; }

/* Dashboard preview */
.preview-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.preview-kicker { font-size: 12px; color: var(--muted); font-weight: 500; }
.preview-title { font-family: var(--display); font-size: 20px; font-weight: 700; }
.chip { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 500; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--bg-soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { font-size: 24px; font-weight: 600; }
.activity { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.activity li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.activity li:last-child { border-bottom: 0; }
.activity .who { color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .activity li { flex-direction: column; gap: 2px; } }

/* Cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.card p { color: var(--muted); line-height: 1.6; }
.card-soft { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card-soft p { color: var(--muted); line-height: 1.6; }
.card-white { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card-white p { color: var(--muted); line-height: 1.6; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.step-num { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
a.tag:hover { border-color: var(--blue); color: var(--blue); }
.tag-future { background: transparent; border-style: dashed; border-color: var(--dash); color: var(--muted); }
.tags-label { font-size: 14px; color: var(--muted); font-weight: 500; margin-right: 6px; }

.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { flex: 0 0 auto; margin-top: 2px; }

.placeholder { border-radius: var(--radius-lg); background: var(--blue-100); border: 1px dashed var(--dash); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; font-weight: 500; text-align: center; padding: 24px; min-height: 380px; }
.bg-soft .placeholder { background: #fff; }

.notice { border: 1px dashed var(--dash); border-radius: var(--radius); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.notice-solid { border-style: solid; border-color: var(--line); }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band .text { flex: 1 1 420px; }

/* Forms */
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { min-height: 48px; border: 1px solid var(--field); border-radius: 10px; padding: 0 14px; font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; width: 100%; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.form-status { font-size: 15px; font-weight: 500; border-radius: 10px; padding: 12px 14px; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--blue-100); color: var(--navy-800); }
.form-status.err { background: #FBE9E7; color: #7A1F1F; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.inline-form .field { flex: 1 1 240px; color: var(--blue-100); }
.inline-form .field input { border: 0; min-height: 52px; }
.inline-form .form-status { flex-basis: 100%; }

/* Pricing */
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.plan.featured { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.plan.featured .muted { color: var(--on-dark); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.badge { background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price-amount { font-family: var(--display); font-size: 40px; font-weight: 700; }
.limits { font-weight: 600; font-size: 15px; background: var(--bg-soft); border-radius: 10px; padding: 10px 14px; }
.plan.featured .limits { background: var(--navy-700); }
.plan .checklist { flex-grow: 1; font-size: 15px; gap: 10px; }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; }
.compare thead tr { background: var(--bg-soft); }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 500; }
.compare .no { color: var(--muted); }
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style-position: outside; }
details.faq p { margin-top: 10px; color: var(--muted); line-height: 1.6; }

/* About */
.value { border-top: 3px solid var(--blue); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.value p { color: var(--muted); line-height: 1.6; }
.person { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.person .placeholder { min-height: 200px; border-radius: 12px; font-size: 14px; }
.contact-list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }

/* Demo tour */
.tour { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.tour-steps { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; }
.tour-step { display: flex; gap: 16px; align-items: flex-start; width: 100%; padding: 20px; border-radius: var(--radius); cursor: pointer; font-family: inherit; text-align: left; background: transparent; border: 2px solid var(--line); color: var(--ink); }
.tour-step:hover { border-color: var(--dash); }
.tour-step[aria-selected="true"] { background: #fff; border-color: var(--blue); }
.tour-num { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; background: var(--blue-100); color: var(--blue); }
.tour-step[aria-selected="true"] .tour-num { background: var(--blue); color: #fff; }
.tour-title { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; }
.tour-text { display: block; font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.tour-view { flex: 2 1 560px; min-width: 0; background: #fff; border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 40px rgba(15,61,38,0.10); }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.tour-panel { min-height: 440px; border-radius: 12px; background: var(--blue-100); border: 1px dashed var(--dash); display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; color: var(--muted); text-align: center; padding: 24px; }
.tour-panel[hidden] { display: none; }
.tour-panel strong { color: var(--ink); font-size: 17px; }
.video-slot { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--navy-800); color: var(--on-dark); display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }

/* Resources */
.res-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.res-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status-ready { background: var(--blue-100); color: #1F57B0; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.status-soon { background: var(--soon-bg); color: var(--soon-ink); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.res-link { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; font-weight: 500; }
.res-link:hover { color: var(--blue); }
.bullets { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-dark); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-brand svg { display: block; height: 56px; width: auto; margin-bottom: 4px; align-self: flex-start; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-family: var(--body); font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--navy-700); margin-top: 40px; padding: 24px 0 32px; font-size: 13px; color: var(--on-dark-2); }

/* Legal / simple pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 32px; margin-bottom: 8px; }
.prose p { line-height: 1.7; color: var(--muted); margin-bottom: 12px; }

@media (max-width: 640px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .form-card { padding: 22px; }
  .plan { padding: 24px; }
  .card, .card-soft, .card-white { padding: 22px; }
  .placeholder { min-height: 240px; }
  .tour-panel { min-height: 260px; }
}
.inline-form .cf-turnstile, .form-card .cf-turnstile { flex-basis: 100%; min-height: 65px; }

/* Pulse line and the "Your farm has a pulse." band */
.pulse-line { display: block; width: 100%; max-width: 900px; height: auto; color: var(--accent); margin: 12px 0; }
.pulse-title { font-size: clamp(44px, 7.5vw, 92px); line-height: 1.02; letter-spacing: -0.03em; color: #fff; }
.pulse-band .lead { color: var(--on-dark); }

/* App screenshots */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 40px rgba(19, 44, 81, 0.10); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); }
.shots-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.tour-panel.has-img { padding: 0; min-height: 0; display: block; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.tour-panel.has-img img { display: block; width: 100%; height: auto; }
.tour-caption { font-size: 14px; color: var(--muted); padding: 0 4px; }
.shot a { display: block; cursor: zoom-in; }
.shot a:focus-visible { outline-offset: -3px; }
.tour-panel.has-img[hidden] { display: none; }

/* Screenshot viewer */
html.lightbox-open { overflow: hidden; }
.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(10, 22, 40, 0.88); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #fff; }
.lightbox-caption { flex: 1; min-width: 0; font-size: 14px; color: var(--on-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox-bar button { min-height: 44px; border-radius: 999px; border: 1px solid #5A7BA8; background: rgba(255,255,255,0.08); color: #fff; font: 600 15px var(--body); padding: 0 18px; cursor: pointer; }
.lightbox-bar button:hover { background: rgba(255,255,255,0.18); }
.lightbox-bar .lightbox-close { width: 44px; padding: 0; font-size: 18px; }
.lightbox-bar :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lightbox-stage { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 0 16px 16px; }
.lightbox-stage img { max-width: 100%; max-height: 100%; height: auto; width: auto; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.45); cursor: zoom-in; }
.lightbox.zoomed .lightbox-stage { align-items: flex-start; justify-content: flex-start; }
.lightbox.zoomed .lightbox-stage img { max-width: none; max-height: none; cursor: zoom-out; }
@media (max-width: 640px) { .lightbox-caption { display: none; } }

/* Livestock / Poultry tabs on the Features page */
.vtabs-bar { background: var(--navy-800); position: sticky; top: 80px; z-index: 40; border-bottom: 1px solid var(--navy-700); box-shadow: 0 6px 18px rgba(10, 22, 40, 0.18); }
.vtabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 0; }
.vtab { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px; border-radius: 14px; border: 2px solid var(--navy-700); background: var(--navy-700); color: #fff; font-family: inherit; text-align: left; cursor: pointer; }
.vtab:hover { border-color: var(--accent); }
.vtab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.vtab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.vtab-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); color: var(--accent); }
.vtab[aria-selected="true"] .vtab-icon { background: var(--blue-100); color: var(--blue); }
.vtab-text { display: flex; flex-direction: column; min-width: 0; }
.vtab-title { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.vtab-sub { font-size: 14px; color: var(--on-dark-2); }
.vtab[aria-selected="true"] .vtab-sub { color: var(--muted); }
.vpanel[hidden] { display: none; }
.vpanel:focus { outline: none; }
.tag-strong { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 600; }
a.tag-strong:hover { background: var(--blue-hover); color: #fff; border-color: var(--blue-hover); }
/* Header is not sticky on small screens, so the tabs stick to the very top there */
@media (max-width: 900px) { .vtabs-bar { top: 0; } }
@media (max-width: 560px) {
  .vtabs { gap: 8px; padding: 10px 0; }
  .vtab { padding: 8px 10px; gap: 10px; min-height: 56px; }
  .vtab-icon { width: 36px; height: 36px; }
  .vtab-title { font-size: 17px; }
  .vtab-sub { display: none; }
}
/* Leave room for the sticky header (and the tabs) when jumping to a section */
section[id] { scroll-margin-top: 90px; }
.vpanel section[id] { scroll-margin-top: 180px; }
@media (max-width: 900px) { section[id] { scroll-margin-top: 0; } .vpanel section[id] { scroll-margin-top: 90px; } }

/* Demo page: tours with many steps */
.tour-compact .tour-steps { gap: 8px; }
.tour-compact .tour-step { padding: 12px 16px; gap: 12px; }
.tour-compact .tour-num { width: 30px; height: 30px; font-size: 14px; }
.tour-compact .tour-title { font-size: 17px; }
.tour-compact .tour-text { font-size: 14px; }
.tour-compact .tour-panel.has-img { background: var(--soft, #F5F8FD); }
.tour-compact .tour-panel.has-img a { display: block; }
.tour-compact .tour-panel.has-img img { width: auto; max-width: 100%; max-height: 640px; margin: 0 auto; }
@media (min-width: 1000px) { .tour-compact .tour-view { position: sticky; top: 190px; } }

/* Features: ERP module strip */
.erp-strip { padding-top: 28px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.erp-label { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.erp-modules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.erp-modules li { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.erp-name { color: #fff; font-weight: 700; font-size: 15px; }
.erp-sub { color: var(--on-dark-2); font-size: 13px; }

/* About: team */
.person-avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--navy-800); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: .02em; box-shadow: 0 0 0 6px var(--blue-100); }
.person-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--blue-100); }
.person-role { font-size: 14px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }

/* About: beliefs */
.belief { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.belief-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.belief-title { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.2; color: #fff; }
.belief p { color: var(--on-dark-2); line-height: 1.6; }
.footer-brand a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-list a { color: var(--blue); font-weight: 600; }
.prose ul { margin: 0 0 12px; padding-left: 22px; color: var(--muted); line-height: 1.7; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); font-weight: 600; }
.lead-sm { font-size: 19px; line-height: 1.6; color: var(--ink) !important; margin-bottom: 8px !important; }

/* Demo page: booking calendar */
.booker { gap: 20px; }
.bk-step { display: flex; flex-direction: column; gap: 10px; }
.bk-step[hidden], .bk-form[hidden] { display: none; }
.bk-label { font-weight: 700; color: var(--ink); }
.bk-lengths { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-len, .bk-day, .bk-time { font-family: inherit; cursor: pointer; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; }
.bk-len { min-height: 48px; font-weight: 600; font-size: 16px; }
.bk-len[aria-checked="true"], .bk-day[aria-pressed="true"], .bk-time[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.bk-len:hover, .bk-day:hover, .bk-time:hover { border-color: var(--blue); }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.bk-day { flex: 0 0 auto; min-width: 72px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bk-day-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.bk-day-num { font-size: 16px; font-weight: 700; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bk-time { min-height: 44px; font-weight: 600; font-size: 15px; }
.bk-tz { font-size: 13px; color: var(--muted); }
.bk-empty { color: var(--muted); }
.bk-form { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.bk-chosen { font-weight: 700; color: var(--blue); }
.bk-len:focus-visible, .bk-day:focus-visible, .bk-time:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Demo page: overview video */
.video-frame { max-width: 1040px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); box-shadow: 0 18px 50px rgba(15, 40, 80, 0.18); }
.video-frame video { display: block; width: 100%; height: auto; }
.video-frame { position: relative; }
.video-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; background: rgba(14, 34, 64, 0.88); color: #fff; animation: vcta-in .4s ease; }
.video-cta[hidden] { display: none; }
.video-cta-title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 34px); }
.video-cta-links { font-size: 15px; color: var(--on-dark-2); }
.video-cta-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.video-replay { background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
@keyframes vcta-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 560px) { .video-cta { gap: 10px; } .video-cta .btn { min-height: 44px; padding: 0 18px; font-size: 15px; } }
.video-lang { display: flex; justify-content: center; gap: 8px; margin: 0 auto 16px; }
.video-lang-btn { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.video-lang-btn[lang="ur"] { font-size: 18px; }
.video-lang-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
