:root {
  --bg: #f7f7f8;
  --ink: #0b0b0c;
  --muted: #8a8f98;
  --line: #e5e7eb;
  --accent: #1e2a38;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 247, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 148px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 5.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
}

.lead {
  color: #1a1a1d;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.primary:hover {
  background: #202022;
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.button.secondary:hover {
  border-color: #cdd2d9;
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 4px 22px rgba(11, 11, 12, 0.04);
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section {
  padding: 4.2rem 0;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem;
}

.contact-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.contact-form,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.contact-form input,
.contact-form textarea,
.scheduler-form input,
.scheduler-form textarea {
  width: 100%;
  border: 1px solid #d7dce3;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.scheduler-form input:focus,
.scheduler-form textarea:focus {
  outline: 2px solid rgba(30, 42, 56, 0.2);
  border-color: var(--accent);
}

.contact-form button {
  margin-top: 0.7rem;
}

.contact-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.contact-card li {
  margin-bottom: 0.45rem;
}

.muted {
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 40;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: min(700px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.icon-button {
  border: 1px solid var(--line);
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.smart-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1rem 0;
}

.slot-chip {
  border: 1px solid #d7dce3;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.slot-chip:hover {
  border-color: var(--accent);
}

.slot-chip.active {
  border-color: var(--accent);
  background: #eef1f5;
}

.slot-chip strong,
.slot-chip span {
  display: block;
}

.slot-chip span {
  color: var(--muted);
  font-size: 0.86rem;
}

.scheduler-form {
  display: grid;
  gap: 0.5rem;
}

.scheduler-form label {
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

blockquote {
  margin: 1.5rem 0 0;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: #29303a;
  font-weight: 500;
}

.video-wrap {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.video-wrap video {
  width: 100%;
  display: block;
  max-height: 560px;
}

.mobile-demo-wrap {
  background: transparent;
  border: none;
  display: flex;
  justify-content: center;
}

.mobile-frame {
  width: min(320px, 100%);
  background: #0b0b0c;
  border: 2px solid #1b1f26;
  border-radius: 28px;
  padding: 10px 10px 12px;
  box-shadow: 0 16px 30px rgba(11, 11, 12, 0.25);
}

.mobile-notch {
  width: 38%;
  height: 14px;
  margin: 2px auto 10px;
  border-radius: 0 0 12px 12px;
  background: #14171d;
}

.mobile-frame video {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 20px;
  max-height: none;
  background: #000;
}

.solution-video-block {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.media-card {
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(11, 11, 12, 0.04);
}

.media-card img {
  display: block;
  width: 100%;
  height: auto;
}

.after-capture-title {
  margin-top: 2.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.footer-brand {
  display: grid;
  gap: 0.35rem;
}

.footer-wrap img {
  width: 124px;
}

.footer-wrap p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.partners-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: capitalize;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.partners-logos img {
  width: auto;
  height: 26px;
  object-fit: contain;
}

.partners-separator {
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.9rem 0;
    gap: 0.7rem;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .smart-slots {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-partners {
    justify-content: flex-start;
  }
}
