:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef4fb;
  --ink: #101828;
  --muted: #5d6b82;
  --line: #d9e2ef;
  --brand: #185abc;
  --brand-2: #0f766e;
  --accent: #f59e0b;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --container: 1160px;
}

[data-theme="dark"] {
  --bg: #08111f;
  --surface: #101b2d;
  --surface-2: #0d1728;
  --ink: #eef4ff;
  --muted: #aab8cc;
  --line: #263750;
  --brand: #7db2ff;
  --brand-2: #5eead4;
  --accent: #fbbf24;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  background: #ffffff;
  border: 2px solid var(--brand);
  border-radius: 6px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid rgba(217, 226, 239, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #185abc);
  box-shadow: 0 12px 30px rgba(24, 90, 188, 0.28);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
}

.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-picker::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-62%) rotate(45deg);
}

.language-picker select {
  min-width: 72px;
  height: 36px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  appearance: none;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.language-picker select:hover,
.language-picker select:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
  outline: none;
}

.language-picker:hover::after,
.language-picker:focus-within::after {
  color: var(--brand);
}

.theme-toggle {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
  outline: none;
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-moon,
[data-theme="dark"] .theme-sun {
  display: none;
}

[data-theme="dark"] .theme-moon {
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--ink);
}

.section {
  padding: 88px 0;
}

.hero {
  padding-top: 94px;
}

.hero-grid,
.two-col,
.demo-grid,
.security-grid,
.pricing-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.hero-grid {
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-media-actions {
  justify-content: center;
  margin: 20px 0 10px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #123f84;
  border-color: #123f84;
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--brand);
}

.trust-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.trust-strip div,
.module-card,
.pricing-card,
.video-card,
.security-list article,
.contact-form,
.screenshot-grid figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-strip div {
  position: relative;
  overflow: hidden;
  padding: 22px;
  text-align: center;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.trust-strip div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
}

.trust-strip div:hover {
  border-color: color-mix(in srgb, var(--brand) 44%, var(--line));
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.13);
  transform: translateY(-2px);
}

.trust-strip dt {
  display: grid;
  gap: 12px;
  justify-items: center;
  font-weight: 900;
}

.trust-strip dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--brand);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  margin: 0 auto;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-icon {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.venue-icon {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

.browser-frame {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.screenshot-browser {
  background: var(--surface-2);
}

.screenshot-browser a {
  display: block;
}

.hero-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.app-preview {
  min-height: 430px;
  display: grid;
  grid-template-columns: 92px 1fr;
}

.preview-sidebar {
  padding: 18px 14px;
  display: grid;
  align-content: start;
  gap: 16px;
  background: #0f172a;
}

.preview-sidebar strong {
  color: #ffffff;
}

.preview-sidebar span {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.preview-main {
  padding: 22px;
}

.preview-topline,
.preview-kpis span,
.preview-calendar span {
  border-radius: 6px;
  background: #e2e8f0;
}

.preview-topline {
  height: 42px;
  margin-bottom: 16px;
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.preview-kpis span {
  height: 74px;
}

.preview-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.preview-calendar span {
  aspect-ratio: 1;
}

.preview-calendar .busy {
  background: #bfdbfe;
}

.preview-calendar .reserved {
  background: #fde68a;
}

.media-note,
.video-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.problem {
  background: var(--surface);
}

.text-stack p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.module-grid,
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-card {
  padding: 24px;
  text-align: center;
}

.module-card .icon {
  margin-left: auto;
  margin-right: auto;
}

.module-card p,
.pricing-card li,
.security-list span,
.contact p,
.pricing p {
  color: var(--muted);
}

.icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--brand);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contract-icon {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.invoice-icon {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

.admin-icon {
  color: #4f46e5;
  background: #eef2ff;
  border-color: #c7d2fe;
}

.plan-icon {
  color: #be123c;
  background: #fff1f2;
  border-color: #fecdd3;
}

.stream-icon {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.demo-section,
.pricing {
  background: var(--surface-2);
}

.check-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(-45deg);
}

.video-card {
  padding: 14px;
}

.video-placeholder {
  overflow: hidden;
  border-radius: 6px;
  background: #0f172a;
}

.video-placeholder img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0f172a;
}

.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
}

.screenshot-grid a {
  display: block;
}

.screenshot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: var(--surface-2);
}

.screenshot-grid img.screenshot-tall {
  object-position: top left;
}

.screenshot-grid figcaption {
  padding: 12px 14px;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.livestream-section {
  background: var(--surface);
}

.livestream-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: center;
}

.premium-shot {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.premium-shot a {
  display: block;
}

.premium-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  background: var(--surface-2);
}

.premium-shot figcaption {
  padding: 12px 14px;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-topbar,
.lightbox-caption {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lightbox-title {
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}

.lightbox-close,
.lightbox-nav,
.lightbox-tool {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-tool:hover,
.lightbox-tool:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.lightbox-tools {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

.lightbox-tool[data-lightbox-zoom-reset] {
  width: 58px;
  font-size: 12px;
  font-weight: 900;
}

.lightbox-stage {
  position: relative;
  width: min(1180px, 100%);
  min-height: 0;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 0 54px;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  transition: transform 160ms ease;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav-prev {
  left: 0;
}

.lightbox-nav-next {
  right: 0;
}

.lightbox-caption {
  color: #dbeafe;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.is-lightbox-open {
  overflow: hidden;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #ffffff;
  background: var(--brand);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  cursor: pointer;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security {
  background: #0f172a;
  color: #ffffff;
}

.security .eyebrow,
.security h2 {
  color: #ffffff;
}

.security-list {
  display: grid;
  gap: 12px;
}

.security-list article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.security-list strong,
.security-list span {
  display: block;
}

.security-list span {
  margin-top: 4px;
  color: #cbd5e1;
}

.pricing-card {
  padding: 28px;
  box-shadow: var(--shadow);
}

.pricing-card > span {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card > strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 32px;
}

.pricing-card ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(24, 90, 188, 0.18);
  border-color: var(--brand);
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 600 !important;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0;
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  padding: 34px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a,
.contact-details a {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

[data-theme="dark"] .site-header {
  border-bottom-color: rgba(38, 55, 80, 0.9);
}

[data-theme="dark"] .nav-links a {
  color: #dbeafe;
}

[data-theme="dark"] .scroll-top {
  color: #08111f !important;
}

[data-theme="dark"] .browser-bar span {
  background: #475569;
}

[data-theme="dark"] .screenshot-grid figcaption,
[data-theme="dark"] .premium-shot figcaption {
  color: #dbeafe;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
  border-color: #334155;
}

[data-theme="dark"] .security {
  background: #050b14;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 74px 16px auto;
    display: none;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-tools {
    justify-content: space-between;
  }

  .hero-grid,
  .two-col,
  .demo-grid,
  .livestream-grid,
  .security-grid,
  .pricing-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .module-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 70px;
  }
}

@media (max-width: 620px) {
  .container,
  .nav-shell {
    width: min(100% - 22px, var(--container));
  }

  main {
    padding-top: 30px;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: 40px;
  }

  .app-preview {
    min-height: 330px;
    grid-template-columns: 68px 1fr;
  }

  .preview-main {
    padding: 14px;
  }

  .lightbox-stage {
    padding: 0;
  }

  .lightbox-tools {
    gap: 4px;
  }

  .lightbox-tool,
  .lightbox-close,
  .lightbox-nav {
    width: 38px;
    height: 38px;
  }
}
