/* Paperless Pro — start / landing page (split-screen desktop, video bg mobile) */

body.is-start-page {
  background: #000;
  overflow-x: hidden;
}

body.is-start-page #mail-overlay {
  display: none;
}

.start-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.start-media {
  position: relative;
  flex: 1 1 50%;
  min-height: 100vh;
  overflow: hidden;
  background: #111;
}

.start-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.start-video--mobile {
  display: none;
}

.start-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.start-panel {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  padding: 48px 32px;
  min-height: 100vh;
}

.start-panel-inner {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.start-logo {
  width: auto;
  height: 72px;
  margin-bottom: 40px;
  object-fit: contain;
}

.start-logo--light {
  display: none;
}

.start-heading {
  margin: 0 0 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
}

.start-heading-line {
  display: block;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}

.start-heading-accent {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.start-sub {
  margin: 0 0 36px;
  font-size: 14px;
  line-height: 1.55;
  color: #9aa0a6;
  max-width: 320px;
}

.start-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: #2b2b2b;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.start-google-btn:hover {
  background: #3a3a3a;
}

.start-google-btn:active {
  background: #222;
}

.start-google-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.start-legal {
  margin: auto 0 0;
  padding-top: 48px;
  font-size: 11px;
  line-height: 1.6;
  color: #6b7280;
  max-width: 340px;
}

.start-legal a {
  color: #6ea8fe;
  text-decoration: none;
}

.start-legal a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .start-shell {
    position: relative;
    flex-direction: column;
    min-height: 100vh;
  }

  .start-media {
    position: fixed;
    inset: 0;
    flex: none;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 0;
  }

  .start-video--desktop {
    display: none;
  }

  .start-video--mobile {
    display: block;
  }

  .start-media-overlay {
    background: rgba(0, 0, 0, 0.55);
  }

  .start-panel {
    position: relative;
    z-index: 1;
    flex: 1;
    background: transparent;
    min-height: 100vh;
    padding: 48px 24px 32px;
  }

  .start-panel-inner {
    flex: 1;
    justify-content: center;
    max-width: 360px;
  }

  .start-logo {
    height: 64px;
    margin-bottom: 32px;
  }

  .start-heading-line {
    font-size: 20px;
  }

  .start-heading-accent {
    font-size: 24px;
  }

  .start-legal {
    padding-top: 32px;
  }
}

@media (prefers-color-scheme: light) {
  .start-panel--light .start-logo--dark {
    display: none;
  }

  .start-panel--light .start-logo--light {
    display: block;
  }
}
